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="common/bits-tst.c"
554 enable_option_checking=no
555 ac_subst_vars='LTLIBOBJS
599 program_transform_name
612 enable_option_checking
614 ac_precious_vars='build_alias
617 ac_subdirs_all='frv-elf
621 # Initialize some variables set by options.
623 ac_init_version=false
624 ac_unrecognized_opts=
626 # The variables have the same names as the options, with
627 # dashes changed to underlines.
635 program_transform_name=s,x,x,
643 # Installation directory options.
644 # These are left unexpanded so users can "make install exec_prefix=/foo"
645 # and all the variables that are supposed to be based on exec_prefix
646 # by default will actually change.
647 # Use braces instead of parens because sh, perl, etc. also accept them.
648 # (The list follows the same order as the GNU Coding Standards.)
649 bindir='${exec_prefix}/bin'
650 sbindir='${exec_prefix}/sbin'
651 libexecdir='${exec_prefix}/libexec'
652 datarootdir='${prefix}/share'
653 datadir='${datarootdir}'
654 sysconfdir='${prefix}/etc'
655 sharedstatedir='${prefix}/com'
656 localstatedir='${prefix}/var'
657 includedir='${prefix}/include'
658 oldincludedir='/usr/include'
659 docdir='${datarootdir}/doc/${PACKAGE}'
660 infodir='${datarootdir}/info'
665 libdir='${exec_prefix}/lib'
666 localedir='${datarootdir}/locale'
667 mandir='${datarootdir}/man'
673 # If the previous option needs an argument, assign it.
674 if test -n "$ac_prev"; then
675 eval $ac_prev=\$ac_option
681 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
685 # Accept the important Cygnus configure options, so we can diagnose typos.
687 case $ac_dashdash$ac_option in
691 -bindir | --bindir | --bindi | --bind | --bin | --bi)
693 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
696 -build | --build | --buil | --bui | --bu)
697 ac_prev=build_alias ;;
698 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
699 build_alias=$ac_optarg ;;
701 -cache-file | --cache-file | --cache-fil | --cache-fi \
702 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
703 ac_prev=cache_file ;;
704 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
705 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
706 cache_file=$ac_optarg ;;
709 cache_file=config.cache ;;
711 -datadir | --datadir | --datadi | --datad)
713 -datadir=* | --datadir=* | --datadi=* | --datad=*)
714 datadir=$ac_optarg ;;
716 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
717 | --dataroo | --dataro | --datar)
718 ac_prev=datarootdir ;;
719 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
720 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
721 datarootdir=$ac_optarg ;;
723 -disable-* | --disable-*)
724 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
725 # Reject names that are not valid shell variable names.
726 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
727 as_fn_error "invalid feature name: $ac_useropt"
728 ac_useropt_orig=$ac_useropt
729 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
730 case $ac_user_opts in
734 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
735 ac_unrecognized_sep=', ';;
737 eval enable_$ac_useropt=no ;;
739 -docdir | --docdir | --docdi | --doc | --do)
741 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
744 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
746 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
749 -enable-* | --enable-*)
750 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
753 as_fn_error "invalid feature name: $ac_useropt"
754 ac_useropt_orig=$ac_useropt
755 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
756 case $ac_user_opts in
760 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
761 ac_unrecognized_sep=', ';;
763 eval enable_$ac_useropt=\$ac_optarg ;;
765 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767 | --exec | --exe | --ex)
768 ac_prev=exec_prefix ;;
769 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771 | --exec=* | --exe=* | --ex=*)
772 exec_prefix=$ac_optarg ;;
774 -gas | --gas | --ga | --g)
775 # Obsolete; use --with-gas.
778 -help | --help | --hel | --he | -h)
780 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781 ac_init_help=recursive ;;
782 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783 ac_init_help=short ;;
785 -host | --host | --hos | --ho)
786 ac_prev=host_alias ;;
787 -host=* | --host=* | --hos=* | --ho=*)
788 host_alias=$ac_optarg ;;
790 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
792 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
794 htmldir=$ac_optarg ;;
796 -includedir | --includedir | --includedi | --included | --include \
797 | --includ | --inclu | --incl | --inc)
798 ac_prev=includedir ;;
799 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800 | --includ=* | --inclu=* | --incl=* | --inc=*)
801 includedir=$ac_optarg ;;
803 -infodir | --infodir | --infodi | --infod | --info | --inf)
805 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
806 infodir=$ac_optarg ;;
808 -libdir | --libdir | --libdi | --libd)
810 -libdir=* | --libdir=* | --libdi=* | --libd=*)
813 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814 | --libexe | --libex | --libe)
815 ac_prev=libexecdir ;;
816 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817 | --libexe=* | --libex=* | --libe=*)
818 libexecdir=$ac_optarg ;;
820 -localedir | --localedir | --localedi | --localed | --locale)
822 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823 localedir=$ac_optarg ;;
825 -localstatedir | --localstatedir | --localstatedi | --localstated \
826 | --localstate | --localstat | --localsta | --localst | --locals)
827 ac_prev=localstatedir ;;
828 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
829 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
830 localstatedir=$ac_optarg ;;
832 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
834 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
838 # Obsolete; use --without-fp.
841 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
842 | --no-cr | --no-c | -n)
845 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
849 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851 | --oldin | --oldi | --old | --ol | --o)
852 ac_prev=oldincludedir ;;
853 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
856 oldincludedir=$ac_optarg ;;
858 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
860 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
863 -program-prefix | --program-prefix | --program-prefi | --program-pref \
864 | --program-pre | --program-pr | --program-p)
865 ac_prev=program_prefix ;;
866 -program-prefix=* | --program-prefix=* | --program-prefi=* \
867 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
868 program_prefix=$ac_optarg ;;
870 -program-suffix | --program-suffix | --program-suffi | --program-suff \
871 | --program-suf | --program-su | --program-s)
872 ac_prev=program_suffix ;;
873 -program-suffix=* | --program-suffix=* | --program-suffi=* \
874 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
875 program_suffix=$ac_optarg ;;
877 -program-transform-name | --program-transform-name \
878 | --program-transform-nam | --program-transform-na \
879 | --program-transform-n | --program-transform- \
880 | --program-transform | --program-transfor \
881 | --program-transfo | --program-transf \
882 | --program-trans | --program-tran \
883 | --progr-tra | --program-tr | --program-t)
884 ac_prev=program_transform_name ;;
885 -program-transform-name=* | --program-transform-name=* \
886 | --program-transform-nam=* | --program-transform-na=* \
887 | --program-transform-n=* | --program-transform-=* \
888 | --program-transform=* | --program-transfor=* \
889 | --program-transfo=* | --program-transf=* \
890 | --program-trans=* | --program-tran=* \
891 | --progr-tra=* | --program-tr=* | --program-t=*)
892 program_transform_name=$ac_optarg ;;
894 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
896 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
899 -psdir | --psdir | --psdi | --psd | --ps)
901 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905 | -silent | --silent | --silen | --sile | --sil)
908 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
910 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
912 sbindir=$ac_optarg ;;
914 -sharedstatedir | --sharedstatedir | --sharedstatedi \
915 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916 | --sharedst | --shareds | --shared | --share | --shar \
918 ac_prev=sharedstatedir ;;
919 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
923 sharedstatedir=$ac_optarg ;;
925 -site | --site | --sit)
927 -site=* | --site=* | --sit=*)
930 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
932 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
935 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936 | --syscon | --sysco | --sysc | --sys | --sy)
937 ac_prev=sysconfdir ;;
938 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
940 sysconfdir=$ac_optarg ;;
942 -target | --target | --targe | --targ | --tar | --ta | --t)
943 ac_prev=target_alias ;;
944 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
945 target_alias=$ac_optarg ;;
947 -v | -verbose | --verbose | --verbos | --verbo | --verb)
950 -version | --version | --versio | --versi | --vers | -V)
954 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957 as_fn_error "invalid package name: $ac_useropt"
958 ac_useropt_orig=$ac_useropt
959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
965 ac_unrecognized_sep=', ';;
967 eval with_$ac_useropt=\$ac_optarg ;;
969 -without-* | --without-*)
970 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973 as_fn_error "invalid package name: $ac_useropt"
974 ac_useropt_orig=$ac_useropt
975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
981 ac_unrecognized_sep=', ';;
983 eval with_$ac_useropt=no ;;
986 # Obsolete; use --with-x.
989 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
990 | --x-incl | --x-inc | --x-in | --x-i)
991 ac_prev=x_includes ;;
992 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
993 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
994 x_includes=$ac_optarg ;;
996 -x-libraries | --x-libraries | --x-librarie | --x-librari \
997 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
998 ac_prev=x_libraries ;;
999 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1000 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1001 x_libraries=$ac_optarg ;;
1003 -*) as_fn_error "unrecognized option: \`$ac_option'
1004 Try \`$0 --help' for more information."
1008 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1009 # Reject names that are not valid shell variable names.
1010 case $ac_envvar in #(
1011 '' | [0-9]* | *[!_$as_cr_alnum]* )
1012 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1014 eval $ac_envvar=\$ac_optarg
1015 export $ac_envvar ;;
1018 # FIXME: should be removed in autoconf 3.0.
1019 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1020 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1021 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1022 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1028 if test -n "$ac_prev"; then
1029 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1030 as_fn_error "missing argument to $ac_option"
1033 if test -n "$ac_unrecognized_opts"; then
1034 case $enable_option_checking in
1036 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1037 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1041 # Check all directory arguments for consistency.
1042 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1043 datadir sysconfdir sharedstatedir localstatedir includedir \
1044 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1045 libdir localedir mandir
1047 eval ac_val=\$$ac_var
1048 # Remove trailing slashes.
1051 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1052 eval $ac_var=\$ac_val;;
1054 # Be sure to have absolute directory names.
1056 [\\/$]* | ?:[\\/]* ) continue;;
1057 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1059 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1062 # There might be people who depend on the old broken behavior: `$host'
1063 # used to hold the argument of --host etc.
1064 # FIXME: To remove some day.
1067 target=$target_alias
1069 # FIXME: To remove some day.
1070 if test "x$host_alias" != x; then
1071 if test "x$build_alias" = x; then
1072 cross_compiling=maybe
1073 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1074 If a cross compiler is detected then cross compile mode will be used." >&2
1075 elif test "x$build_alias" != "x$host_alias"; then
1081 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1083 test "$silent" = yes && exec 6>/dev/null
1086 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1087 ac_ls_di=`ls -di .` &&
1088 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1089 as_fn_error "working directory cannot be determined"
1090 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1091 as_fn_error "pwd does not report name of working directory"
1094 # Find the source files, if location was not specified.
1095 if test -z "$srcdir"; then
1096 ac_srcdir_defaulted=yes
1097 # Try the directory containing this script, then the parent directory.
1098 ac_confdir=`$as_dirname -- "$as_myself" ||
1099 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1100 X"$as_myself" : 'X\(//\)[^/]' \| \
1101 X"$as_myself" : 'X\(//\)$' \| \
1102 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1103 $as_echo X"$as_myself" |
1104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1122 if test ! -r "$srcdir/$ac_unique_file"; then
1126 ac_srcdir_defaulted=no
1128 if test ! -r "$srcdir/$ac_unique_file"; then
1129 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1130 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1132 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1134 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1136 # When building in place, set srcdir=.
1137 if test "$ac_abs_confdir" = "$ac_pwd"; then
1140 # Remove unnecessary trailing slashes from srcdir.
1141 # Double slashes in file names in object file debugging info
1142 # mess up M-x gdb in Emacs.
1144 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1146 for ac_var in $ac_precious_vars; do
1147 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1148 eval ac_env_${ac_var}_value=\$${ac_var}
1149 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1150 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1154 # Report the --help message.
1156 if test "$ac_init_help" = "long"; then
1157 # Omit some internal or obsolete options to make the list less imposing.
1158 # This message is too long to be a string in the A/UX 3.1 sh.
1160 \`configure' configures this package to adapt to many kinds of systems.
1162 Usage: $0 [OPTION]... [VAR=VALUE]...
1164 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1165 VAR=VALUE. See below for descriptions of some of the useful variables.
1167 Defaults for the options are specified in brackets.
1170 -h, --help display this help and exit
1171 --help=short display options specific to this package
1172 --help=recursive display the short help of all the included packages
1173 -V, --version display version information and exit
1174 -q, --quiet, --silent do not print \`checking...' messages
1175 --cache-file=FILE cache test results in FILE [disabled]
1176 -C, --config-cache alias for \`--cache-file=config.cache'
1177 -n, --no-create do not create output files
1178 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1180 Installation directories:
1181 --prefix=PREFIX install architecture-independent files in PREFIX
1182 [$ac_default_prefix]
1183 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1186 By default, \`make install' will install all the files in
1187 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1188 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1189 for instance \`--prefix=\$HOME'.
1191 For better control, use the options below.
1193 Fine tuning of the installation directories:
1194 --bindir=DIR user executables [EPREFIX/bin]
1195 --sbindir=DIR system admin executables [EPREFIX/sbin]
1196 --libexecdir=DIR program executables [EPREFIX/libexec]
1197 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1198 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1199 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1200 --libdir=DIR object code libraries [EPREFIX/lib]
1201 --includedir=DIR C header files [PREFIX/include]
1202 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1203 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1204 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1205 --infodir=DIR info documentation [DATAROOTDIR/info]
1206 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1207 --mandir=DIR man documentation [DATAROOTDIR/man]
1208 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1209 --htmldir=DIR html documentation [DOCDIR]
1210 --dvidir=DIR dvi documentation [DOCDIR]
1211 --pdfdir=DIR pdf documentation [DOCDIR]
1212 --psdir=DIR ps documentation [DOCDIR]
1218 --build=BUILD configure for building on BUILD [guessed]
1219 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1220 --target=TARGET configure for building compilers for TARGET [HOST]
1224 if test -n "$ac_init_help"; then
1228 Report bugs to the package provider.
1233 if test "$ac_init_help" = "recursive"; then
1234 # If there are subdirs, report their specific --help.
1235 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1236 test -d "$ac_dir" ||
1237 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1242 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1245 # A ".." for each directory in $ac_dir_suffix.
1246 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1247 case $ac_top_builddir_sub in
1248 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1249 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1252 ac_abs_top_builddir=$ac_pwd
1253 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1254 # for backward compatibility:
1255 ac_top_builddir=$ac_top_build_prefix
1258 .) # We are building in place.
1260 ac_top_srcdir=$ac_top_builddir_sub
1261 ac_abs_top_srcdir=$ac_pwd ;;
1262 [\\/]* | ?:[\\/]* ) # Absolute name.
1263 ac_srcdir=$srcdir$ac_dir_suffix;
1264 ac_top_srcdir=$srcdir
1265 ac_abs_top_srcdir=$srcdir ;;
1267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1268 ac_top_srcdir=$ac_top_build_prefix$srcdir
1269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1271 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1273 cd "$ac_dir" || { ac_status=$?; continue; }
1274 # Check for guested configure.
1275 if test -f "$ac_srcdir/configure.gnu"; then
1277 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1278 elif test -f "$ac_srcdir/configure"; then
1280 $SHELL "$ac_srcdir/configure" --help=recursive
1282 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1284 cd "$ac_pwd" || { ac_status=$?; break; }
1288 test -n "$ac_init_help" && exit $ac_status
1289 if $ac_init_version; then
1292 generated by GNU Autoconf 2.64
1294 Copyright (C) 2009 Free Software Foundation, Inc.
1295 This configure script is free software; the Free Software Foundation
1296 gives unlimited permission to copy, distribute and modify it.
1301 ## ------------------------ ##
1302 ## Autoconf initialization. ##
1303 ## ------------------------ ##
1304 cat >config.log <<_ACEOF
1305 This file contains any messages produced by compilers while
1306 running configure, to aid debugging if configure makes a mistake.
1308 It was created by $as_me, which was
1309 generated by GNU Autoconf 2.64. Invocation command line was
1321 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1322 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1323 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1324 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1325 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1327 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1328 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1330 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1331 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1332 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1333 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1334 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1335 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1336 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1344 test -z "$as_dir" && as_dir=.
1345 $as_echo "PATH: $as_dir"
1361 # Keep a trace of the command line.
1362 # Strip out --no-create and --no-recursion so they do not pile up.
1363 # Strip out --silent because we don't want to record it for future runs.
1364 # Also quote any args containing shell meta-characters.
1365 # Make two passes to allow for proper duplicate-argument suppression.
1369 ac_must_keep_next=false
1375 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1377 | -silent | --silent | --silen | --sile | --sil)
1380 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1383 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1385 as_fn_append ac_configure_args1 " '$ac_arg'"
1386 if test $ac_must_keep_next = true; then
1387 ac_must_keep_next=false # Got value, back to normal.
1390 *=* | --config-cache | -C | -disable-* | --disable-* \
1391 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1392 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1393 | -with-* | --with-* | -without-* | --without-* | --x)
1394 case "$ac_configure_args0 " in
1395 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1398 -* ) ac_must_keep_next=true ;;
1401 as_fn_append ac_configure_args " '$ac_arg'"
1406 { ac_configure_args0=; unset ac_configure_args0;}
1407 { ac_configure_args1=; unset ac_configure_args1;}
1409 # When interrupted or exit'd, cleanup temporary files, and complete
1410 # config.log. We remove comments because anyway the quotes in there
1411 # would cause problems or look ugly.
1412 # WARNING: Use '\'' to represent an apostrophe within the trap.
1413 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1414 trap 'exit_status=$?
1415 # Save into config.log some information that might help in debugging.
1420 ## ---------------- ##
1421 ## Cache variables. ##
1422 ## ---------------- ##
1425 # The following way of writing the cache mishandles newlines in values,
1427 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1428 eval ac_val=\$$ac_var
1432 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1433 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1436 _ | IFS | as_nl) ;; #(
1437 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1438 *) { eval $ac_var=; unset $ac_var;} ;;
1443 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1444 *${as_nl}ac_space=\ *)
1446 "s/'\''/'\''\\\\'\'''\''/g;
1447 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1458 ## ----------------- ##
1459 ## Output variables. ##
1460 ## ----------------- ##
1463 for ac_var in $ac_subst_vars
1465 eval ac_val=\$$ac_var
1467 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1469 $as_echo "$ac_var='\''$ac_val'\''"
1473 if test -n "$ac_subst_files"; then
1475 ## ------------------- ##
1476 ## File substitutions. ##
1477 ## ------------------- ##
1480 for ac_var in $ac_subst_files
1482 eval ac_val=\$$ac_var
1484 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1486 $as_echo "$ac_var='\''$ac_val'\''"
1491 if test -s confdefs.h; then
1501 test "$ac_signal" != 0 &&
1502 $as_echo "$as_me: caught signal $ac_signal"
1503 $as_echo "$as_me: exit $exit_status"
1505 rm -f core *.core core.conftest.* &&
1506 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1509 for ac_signal in 1 2 13 15; do
1510 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1514 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1515 rm -f -r conftest* confdefs.h
1517 $as_echo "/* confdefs.h */" > confdefs.h
1519 # Predefined preprocessor variables.
1521 cat >>confdefs.h <<_ACEOF
1522 #define PACKAGE_NAME "$PACKAGE_NAME"
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1529 cat >>confdefs.h <<_ACEOF
1530 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_STRING "$PACKAGE_STRING"
1537 cat >>confdefs.h <<_ACEOF
1538 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_URL "$PACKAGE_URL"
1546 # Let the site file select an alternate cache file if it wants to.
1547 # Prefer an explicitly selected file to automatically selected ones.
1550 if test -n "$CONFIG_SITE"; then
1551 ac_site_file1=$CONFIG_SITE
1552 elif test "x$prefix" != xNONE; then
1553 ac_site_file1=$prefix/share/config.site
1554 ac_site_file2=$prefix/etc/config.site
1556 ac_site_file1=$ac_default_prefix/share/config.site
1557 ac_site_file2=$ac_default_prefix/etc/config.site
1559 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1561 test "x$ac_site_file" = xNONE && continue
1562 if test -r "$ac_site_file"; then
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1564 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1565 sed 's/^/| /' "$ac_site_file" >&5
1570 if test -r "$cache_file"; then
1571 # Some versions of bash will fail to source /dev/null (special
1572 # files actually), so we avoid doing that.
1573 if test -f "$cache_file"; then
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1575 $as_echo "$as_me: loading cache $cache_file" >&6;}
1577 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1578 *) . "./$cache_file";;
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1583 $as_echo "$as_me: creating cache $cache_file" >&6;}
1587 # Check that the precious variables saved in the cache have kept the same
1589 ac_cache_corrupted=false
1590 for ac_var in $ac_precious_vars; do
1591 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1592 eval ac_new_set=\$ac_env_${ac_var}_set
1593 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1594 eval ac_new_val=\$ac_env_${ac_var}_value
1595 case $ac_old_set,$ac_new_set in
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1598 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1599 ac_cache_corrupted=: ;;
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1602 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1603 ac_cache_corrupted=: ;;
1606 if test "x$ac_old_val" != "x$ac_new_val"; then
1607 # differences in whitespace do not lead to failure.
1608 ac_old_val_w=`echo x $ac_old_val`
1609 ac_new_val_w=`echo x $ac_new_val`
1610 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1612 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1613 ac_cache_corrupted=:
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1616 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1617 eval $ac_var=\$ac_old_val
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1620 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1622 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1625 # Pass precious variables to config.status.
1626 if test "$ac_new_set" = set; then
1628 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1629 *) ac_arg=$ac_var=$ac_new_val ;;
1631 case " $ac_configure_args " in
1632 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1633 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1637 if $ac_cache_corrupted; then
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1641 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1642 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1644 ## -------------------- ##
1645 ## Main body of script. ##
1646 ## -------------------- ##
1649 ac_cpp='$CPP $CPPFLAGS'
1650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1659 for ac_dir in `cd $srcdir;pwd`/../.. "$srcdir"/`cd $srcdir;pwd`/../..; do
1660 for ac_t in install-sh install.sh shtool; do
1661 if test -f "$ac_dir/$ac_t"; then
1663 ac_install_sh="$ac_aux_dir/$ac_t -c"
1668 if test -z "$ac_aux_dir"; then
1669 as_fn_error "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../.." "$LINENO" 5
1672 # These three variables are undocumented and unsupported,
1673 # and are intended to be withdrawn in a future Autoconf release.
1674 # They can cause serious problems if a builder's source tree is in a directory
1675 # whose full name contains unusual characters.
1676 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1677 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1678 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1681 # Make sure we can run config.sub.
1682 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1683 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1686 $as_echo_n "checking build system type... " >&6; }
1687 if test "${ac_cv_build+set}" = set; then :
1688 $as_echo_n "(cached) " >&6
1690 ac_build_alias=$build_alias
1691 test "x$ac_build_alias" = x &&
1692 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1693 test "x$ac_build_alias" = x &&
1694 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1695 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1696 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1700 $as_echo "$ac_cv_build" >&6; }
1701 case $ac_cv_build in
1703 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1706 ac_save_IFS=$IFS; IFS='-'
1712 # Remember, the first character of IFS is used to create $*,
1713 # except with old shells:
1716 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1720 $as_echo_n "checking host system type... " >&6; }
1721 if test "${ac_cv_host+set}" = set; then :
1722 $as_echo_n "(cached) " >&6
1724 if test "x$host_alias" = x; then
1725 ac_cv_host=$ac_cv_build
1727 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1728 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1733 $as_echo "$ac_cv_host" >&6; }
1736 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1739 ac_save_IFS=$IFS; IFS='-'
1745 # Remember, the first character of IFS is used to create $*,
1746 # except with old shells:
1749 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1753 $as_echo_n "checking target system type... " >&6; }
1754 if test "${ac_cv_target+set}" = set; then :
1755 $as_echo_n "(cached) " >&6
1757 if test "x$target_alias" = x; then
1758 ac_cv_target=$ac_cv_host
1760 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1761 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1766 $as_echo "$ac_cv_target" >&6; }
1767 case $ac_cv_target in
1769 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1771 target=$ac_cv_target
1772 ac_save_IFS=$IFS; IFS='-'
1778 # Remember, the first character of IFS is used to create $*,
1779 # except with old shells:
1782 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1785 # The aliases save the names the user supplied, while $host etc.
1786 # will get canonicalized.
1787 test -n "$target_alias" &&
1788 test "$program_prefix$program_suffix$program_transform_name" = \
1790 program_prefix=${target_alias}-
1793 # Configure sub-directory for appropriate targets
1798 subdirs="$subdirs frv-elf"
1802 subdirs="$subdirs m32r-elf"
1806 subdirs="$subdirs mips64el-elf"
1812 # WHEN ADDING ENTRIES TO THIS MATRIX:
1814 # Make sure that the left side always has two dashes. Otherwise you
1815 # can get spurious matches. Even for unambiguous cases, do this as a
1816 # convention, else the table becomes a real mess to understand and
1841 cris-*-* | crisv32-*-*)
1871 m68hc11-*-*|m6811-*-*)
1914 sparc-*-rtems*|sparc-*-elf*)
1931 # No simulator subdir, so the subdir "common" isn't needed.
1938 ac_config_files="$ac_config_files Makefile"
1940 cat >confcache <<\_ACEOF
1941 # This file is a shell script that caches the results of configure
1942 # tests run on this system so they can be shared between configure
1943 # scripts and configure runs, see configure's option --config-cache.
1944 # It is not useful on other systems. If it contains results you don't
1945 # want to keep, you may remove or edit it.
1947 # config.status only pays attention to the cache file if you give it
1948 # the --recheck option to rerun configure.
1950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1956 # The following way of writing the cache mishandles newlines in values,
1957 # but we know of no workaround that is simple, portable, and efficient.
1958 # So, we kill variables containing newlines.
1959 # Ultrix sh set writes to stderr and can't be redirected directly,
1960 # and sets the high bit in the cache file unless we assign to the vars.
1962 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1963 eval ac_val=\$$ac_var
1967 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1968 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1971 _ | IFS | as_nl) ;; #(
1972 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1973 *) { eval $ac_var=; unset $ac_var;} ;;
1979 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1980 *${as_nl}ac_space=\ *)
1981 # `set' does not quote correctly, so add quotes: double-quote
1982 # substitution turns \\\\ into \\, and sed turns \\ into \.
1985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1988 # `set' quotes correctly as required by POSIX, so do not add quotes.
1989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2002 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2003 if test -w "$cache_file"; then
2004 test "x$cache_file" != "x/dev/null" &&
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2006 $as_echo "$as_me: updating cache $cache_file" >&6;}
2007 cat confcache >$cache_file
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2010 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2015 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2016 # Let make expand exec_prefix.
2017 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2019 # Transform confdefs.h into DEFS.
2020 # Protect against shell expansion while executing Makefile rules.
2021 # Protect against Makefile macro expansion.
2023 # If the first sed substitution is executed (which looks for macros that
2024 # take arguments), then branch to the quote section. Otherwise,
2025 # look for a macro that doesn't take arguments.
2035 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2037 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2041 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2054 DEFS=`sed -n "$ac_script" confdefs.h`
2059 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2060 # 1. Remove the extension, and $U if already installed.
2061 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2062 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2063 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2064 # will be set to the directory where LIBOBJS objects are built.
2065 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2066 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2070 LTLIBOBJS=$ac_ltlibobjs
2074 : ${CONFIG_STATUS=./config.status}
2076 ac_clean_files_save=$ac_clean_files
2077 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2079 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2081 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2083 # Generated by $as_me.
2084 # Run this file to recreate the current configuration.
2085 # Compiler output produced by configure, useful for debugging
2086 # configure, is in config.log if it exists.
2092 SHELL=\${CONFIG_SHELL-$SHELL}
2095 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2096 ## -------------------- ##
2097 ## M4sh Initialization. ##
2098 ## -------------------- ##
2100 # Be more Bourne compatible
2101 DUALCASE=1; export DUALCASE # for MKS sh
2102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2105 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2106 # is contrary to our usage. Disable this feature.
2107 alias -g '${1+"$@"}'='"$@"'
2108 setopt NO_GLOB_SUBST
2110 case `(set -o) 2>/dev/null` in #(
2122 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2123 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2125 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2126 # Prefer a ksh shell builtin over an external printf program on Solaris,
2127 # but without wasting forks for bash or zsh.
2128 if test -z "$BASH_VERSION$ZSH_VERSION" \
2129 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2130 as_echo='print -r --'
2131 as_echo_n='print -rn --'
2132 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2133 as_echo='printf %s\n'
2134 as_echo_n='printf %s'
2136 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2137 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2138 as_echo_n='/usr/ucb/echo -n'
2140 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2141 as_echo_n_body='eval
2145 expr "X$arg" : "X\\(.*\\)$as_nl";
2146 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2148 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2150 export as_echo_n_body
2151 as_echo_n='sh -c $as_echo_n_body as_echo'
2154 as_echo='sh -c $as_echo_body as_echo'
2157 # The user is always right.
2158 if test "${PATH_SEPARATOR+set}" != set; then
2160 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2161 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2168 # We need space, tab and new line, in precisely that order. Quoting is
2169 # there to prevent editors from complaining about space-tab.
2170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2171 # splitting by setting IFS to empty value.)
2174 # Find who we are. Look in the path if we contain no directory separator.
2176 *[\\/]* ) as_myself=$0 ;;
2177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2188 # We did not find ourselves, most probably we were run as `sh COMMAND'
2189 # in which case we are not to be found in the path.
2190 if test "x$as_myself" = x; then
2193 if test ! -f "$as_myself"; then
2194 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2198 # Unset variables that we do not need and which cause bugs (e.g. in
2199 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2200 # suppresses any "Segmentation fault" message there. '((' could
2201 # trigger a bug in pdksh 5.2.14.
2202 for as_var in BASH_ENV ENV MAIL MAILPATH
2203 do eval test x\${$as_var+set} = xset \
2204 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2217 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2220 # as_fn_error ERROR [LINENO LOG_FD]
2221 # ---------------------------------
2222 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2223 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2224 # script with status $?, using 1 if that was 0.
2227 as_status=$?; test $as_status -eq 0 && as_status=1
2229 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2230 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2232 $as_echo "$as_me: error: $1" >&2
2233 as_fn_exit $as_status
2237 # as_fn_set_status STATUS
2238 # -----------------------
2239 # Set $? to STATUS, without forking.
2243 } # as_fn_set_status
2247 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2257 # Portably unset VAR.
2260 { eval $1=; unset $1;}
2262 as_unset=as_fn_unset
2263 # as_fn_append VAR VALUE
2264 # ----------------------
2265 # Append the text in VALUE to the end of the definition contained in VAR. Take
2266 # advantage of any shell optimizations that allow amortized linear growth over
2267 # repeated appends, instead of the typical quadratic growth present in naive
2269 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2270 eval 'as_fn_append ()
2281 # as_fn_arith ARG...
2282 # ------------------
2283 # Perform arithmetic evaluation on the ARGs, and store the result in the
2284 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2285 # must be portable across $(()) and expr.
2286 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2287 eval 'as_fn_arith ()
2294 as_val=`expr "$@" || test $? -eq 1`
2299 if expr a : '\(a\)' >/dev/null 2>&1 &&
2300 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2306 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2307 as_basename=basename
2312 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2318 as_me=`$as_basename -- "$0" ||
2319 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2320 X"$0" : 'X\(//\)$' \| \
2321 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2323 sed '/^.*\/\([^/][^/]*\)\/*$/{
2337 # Avoid depending upon Character Ranges.
2338 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2339 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2340 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2341 as_cr_digits='0123456789'
2342 as_cr_alnum=$as_cr_Letters$as_cr_digits
2344 ECHO_C= ECHO_N= ECHO_T=
2345 case `echo -n x` in #(((((
2347 case `echo 'xy\c'` in
2348 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2350 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2357 rm -f conf$$ conf$$.exe conf$$.file
2358 if test -d conf$$.dir; then
2359 rm -f conf$$.dir/conf$$.file
2362 mkdir conf$$.dir 2>/dev/null
2364 if (echo >conf$$.file) 2>/dev/null; then
2365 if ln -s conf$$.file conf$$ 2>/dev/null; then
2367 # ... but there are two gotchas:
2368 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2369 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2370 # In both cases, we have to default to `cp -p'.
2371 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2373 elif ln conf$$.file conf$$ 2>/dev/null; then
2381 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2382 rmdir conf$$.dir 2>/dev/null
2387 # Create "$as_dir" as a directory, including parents if necessary.
2392 -*) as_dir=./$as_dir;;
2394 test -d "$as_dir" || eval $as_mkdir_p || {
2398 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2399 *) as_qdir=$as_dir;;
2401 as_dirs="'$as_qdir' $as_dirs"
2402 as_dir=`$as_dirname -- "$as_dir" ||
2403 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2404 X"$as_dir" : 'X\(//\)[^/]' \| \
2405 X"$as_dir" : 'X\(//\)$' \| \
2406 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2407 $as_echo X"$as_dir" |
2408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2425 test -d "$as_dir" && break
2427 test -z "$as_dirs" || eval "mkdir $as_dirs"
2428 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2432 if mkdir -p . 2>/dev/null; then
2433 as_mkdir_p='mkdir -p "$as_dir"'
2435 test -d ./-p && rmdir ./-p
2439 if test -x / >/dev/null 2>&1; then
2442 if ls -dL / >/dev/null 2>&1; then
2449 if test -d "$1"; then
2455 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2456 ???[sx]*):;;*)false;;esac;fi
2460 as_executable_p=$as_test_x
2462 # Sed expression to map a string onto a valid CPP name.
2463 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2465 # Sed expression to map a string onto a valid variable name.
2466 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2470 ## ----------------------------------- ##
2471 ## Main body of $CONFIG_STATUS script. ##
2472 ## ----------------------------------- ##
2474 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2477 # Save the log message, to keep $0 and so on meaningful, and to
2478 # report actual input values of CONFIG_FILES etc. instead of their
2479 # values after options handling.
2481 This file was extended by $as_me, which was
2482 generated by GNU Autoconf 2.64. Invocation command line was
2484 CONFIG_FILES = $CONFIG_FILES
2485 CONFIG_HEADERS = $CONFIG_HEADERS
2486 CONFIG_LINKS = $CONFIG_LINKS
2487 CONFIG_COMMANDS = $CONFIG_COMMANDS
2490 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2495 case $ac_config_files in *"
2496 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2502 # Files that config.status was made for.
2503 config_files="$ac_config_files"
2507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2509 \`$as_me' instantiates files and other configuration actions
2510 from templates according to the current configuration. Unless the files
2511 and actions are specified as TAGs, all are instantiated by default.
2513 Usage: $0 [OPTION]... [TAG]...
2515 -h, --help print this help, then exit
2516 -V, --version print version number and configuration settings, then exit
2517 -q, --quiet, --silent
2518 do not print progress messages
2519 -d, --debug don't remove temporary files
2520 --recheck update $as_me by reconfiguring in the same conditions
2521 --file=FILE[:TEMPLATE]
2522 instantiate the configuration file FILE
2524 Configuration files:
2527 Report bugs to the package provider."
2530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2533 configured by $0, generated by GNU Autoconf 2.64,
2534 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2536 Copyright (C) 2009 Free Software Foundation, Inc.
2537 This config.status script is free software; the Free Software Foundation
2538 gives unlimited permission to copy, distribute and modify it."
2542 test -n "\$AWK" || AWK=awk
2545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2546 # The default lists apply if the user does not specify any file.
2552 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2553 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2564 # Handling of the options.
2565 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2567 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2568 $as_echo "$ac_cs_version"; exit ;;
2569 --debug | --debu | --deb | --de | --d | -d )
2571 --file | --fil | --fi | --f )
2574 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2576 as_fn_append CONFIG_FILES " '$ac_optarg'"
2577 ac_need_defaults=false;;
2578 --he | --h | --help | --hel | -h )
2579 $as_echo "$ac_cs_usage"; exit ;;
2580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2581 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2585 -*) as_fn_error "unrecognized option: \`$1'
2586 Try \`$0 --help' for more information." ;;
2588 *) as_fn_append ac_config_targets " $1"
2589 ac_need_defaults=false ;;
2595 ac_configure_extra_args=
2597 if $ac_cs_silent; then
2599 ac_configure_extra_args="$ac_configure_extra_args --silent"
2603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2604 if \$ac_cs_recheck; then
2605 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2607 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2608 CONFIG_SHELL='$SHELL'
2614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2618 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2619 ## Running $as_me. ##
2625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2630 # Handling of arguments.
2631 for ac_config_target in $ac_config_targets
2633 case $ac_config_target in
2634 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2636 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2641 # If the user did not use the arguments to specify the items to instantiate,
2642 # then the envvar interface is used. Set only those that are not.
2643 # We use the long form for the default assignment because of an extremely
2644 # bizarre bug on SunOS 4.1.3.
2645 if $ac_need_defaults; then
2646 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2649 # Have a temporary directory for convenience. Make it in the build tree
2650 # simply because there is no reason against having it here, and in addition,
2651 # creating and moving files from /tmp can sometimes cause problems.
2652 # Hook for its removal unless debugging.
2653 # Note that there is a small window in which the directory will not be cleaned:
2654 # after its creation but before its name has been assigned to `$tmp'.
2658 trap 'exit_status=$?
2659 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2661 trap 'as_fn_exit 1' 1 2 13 15
2663 # Create a (secure) tmp directory for tmp files.
2666 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2667 test -n "$tmp" && test -d "$tmp"
2670 tmp=./conf$$-$RANDOM
2671 (umask 077 && mkdir "$tmp")
2672 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2674 # Set up the scripts for CONFIG_FILES section.
2675 # No need to generate them if there are no CONFIG_FILES.
2676 # This happens for instance with `./config.status config.h'.
2677 if test -n "$CONFIG_FILES"; then
2680 ac_cr=`echo X | tr X '\015'`
2681 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2682 # But we know of no other shell where ac_cr would be empty at this
2683 # point, so we can use a bashism as a fallback.
2684 if test "x$ac_cr" = x; then
2685 eval ac_cr=\$\'\\r\'
2687 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2688 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2694 echo 'BEGIN {' >"$tmp/subs1.awk" &&
2699 echo "cat >conf$$subs.awk <<_ACEOF" &&
2700 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2703 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2704 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2706 for ac_last_try in false false false false false :; do
2707 . ./conf$$subs.sh ||
2708 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2710 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2711 if test $ac_delim_n = $ac_delim_num; then
2713 elif $ac_last_try; then
2714 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2716 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2722 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2726 s/^/S["/; s/!.*/"]=/
2736 s/\(.\{148\}\).*/\1/
2738 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2743 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2750 s/\(.\{148\}\).*/\1/
2752 s/["\\]/\\&/g; s/^/"/; s/$/"/
2756 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2761 ' <conf$$subs.awk | sed '
2766 ' >>$CONFIG_STATUS || ac_write_fail=1
2767 rm -f conf$$subs.awk
2768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2770 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2771 for (key in S) S_is_set[key] = 1
2777 nfields = split(line, field, "@")
2779 len = length(field[1])
2780 for (i = 2; i < nfields; i++) {
2782 keylen = length(key)
2783 if (S_is_set[key]) {
2785 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2786 len += length(value) + length(field[++i])
2797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2798 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2799 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2802 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2803 || as_fn_error "could not setup config files machinery" "$LINENO" 5
2806 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2807 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2808 # trailing colons and then remove the whole line if VPATH becomes empty
2809 # (actually we leave an empty line to preserve line numbers).
2810 if test "x$srcdir" = x.; then
2811 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2815 s/^\([^=]*=[ ]*\):*/\1/
2821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2822 fi # test -n "$CONFIG_FILES"
2825 eval set X " :F $CONFIG_FILES "
2830 :[FHLC]) ac_mode=$ac_tag; continue;;
2832 case $ac_mode$ac_tag in
2834 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2835 :[FH]-) ac_tag=-:-;;
2836 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2853 -) ac_f="$tmp/stdin";;
2854 *) # Look for the file first in the build tree, then in the source tree
2855 # (if the path is not absolute). The absolute path cannot be DOS-style,
2856 # because $ac_f cannot contain `:'.
2860 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2862 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2864 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2865 as_fn_append ac_file_inputs " '$ac_f'"
2868 # Let's still pretend it is `configure' which instantiates (i.e., don't
2869 # use $as_me), people would be surprised to read:
2870 # /* config.h. Generated by config.status. */
2871 configure_input='Generated from '`
2872 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2874 if test x"$ac_file" != x-; then
2875 configure_input="$ac_file. $configure_input"
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2877 $as_echo "$as_me: creating $ac_file" >&6;}
2879 # Neutralize special characters interpreted by sed in replacement strings.
2880 case $configure_input in #(
2881 *\&* | *\|* | *\\* )
2882 ac_sed_conf_input=`$as_echo "$configure_input" |
2883 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2884 *) ac_sed_conf_input=$configure_input;;
2888 *:-:* | *:-) cat >"$tmp/stdin" \
2889 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2894 ac_dir=`$as_dirname -- "$ac_file" ||
2895 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2896 X"$ac_file" : 'X\(//\)[^/]' \| \
2897 X"$ac_file" : 'X\(//\)$' \| \
2898 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2899 $as_echo X"$ac_file" |
2900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2917 as_dir="$ac_dir"; as_fn_mkdir_p
2921 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2923 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2924 # A ".." for each directory in $ac_dir_suffix.
2925 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2926 case $ac_top_builddir_sub in
2927 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2928 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2931 ac_abs_top_builddir=$ac_pwd
2932 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2933 # for backward compatibility:
2934 ac_top_builddir=$ac_top_build_prefix
2937 .) # We are building in place.
2939 ac_top_srcdir=$ac_top_builddir_sub
2940 ac_abs_top_srcdir=$ac_pwd ;;
2941 [\\/]* | ?:[\\/]* ) # Absolute name.
2942 ac_srcdir=$srcdir$ac_dir_suffix;
2943 ac_top_srcdir=$srcdir
2944 ac_abs_top_srcdir=$srcdir ;;
2946 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2947 ac_top_srcdir=$ac_top_build_prefix$srcdir
2948 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2950 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2962 # If the template does not know about datarootdir, expand it.
2963 # FIXME: This hack should be removed a few years after 2.60.
2964 ac_datarootdir_hack=; ac_datarootdir_seen=
2975 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2976 *datarootdir*) ac_datarootdir_seen=yes;;
2977 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2979 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2982 ac_datarootdir_hack='
2983 s&@datadir@&$datadir&g
2984 s&@docdir@&$docdir&g
2985 s&@infodir@&$infodir&g
2986 s&@localedir@&$localedir&g
2987 s&@mandir@&$mandir&g
2988 s&\\\${datarootdir}&$datarootdir&g' ;;
2992 # Neutralize VPATH when `$srcdir' = `.'.
2993 # Shell code in configure.ac might set extrasub.
2994 # FIXME: do we really want to maintain this feature?
2995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2996 ac_sed_extra="$ac_vpsub
2999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3002 s|@configure_input@|$ac_sed_conf_input|;t t
3003 s&@top_builddir@&$ac_top_builddir_sub&;t t
3004 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3005 s&@srcdir@&$ac_srcdir&;t t
3006 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3007 s&@top_srcdir@&$ac_top_srcdir&;t t
3008 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3009 s&@builddir@&$ac_builddir&;t t
3010 s&@abs_builddir@&$ac_abs_builddir&;t t
3011 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3012 $ac_datarootdir_hack
3014 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3015 || as_fn_error "could not create $ac_file" "$LINENO" 5
3017 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3018 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3019 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3021 which seems to be undefined. Please make sure it is defined." >&5
3022 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3023 which seems to be undefined. Please make sure it is defined." >&2;}
3027 -) cat "$tmp/out" && rm -f "$tmp/out";;
3028 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3030 || as_fn_error "could not create $ac_file" "$LINENO" 5
3042 ac_clean_files=$ac_clean_files_save
3044 test $ac_write_fail = 0 ||
3045 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3048 # configure is writing to config.log, and then calls config.status.
3049 # config.status does its own redirection, appending to config.log.
3050 # Unfortunately, on DOS this fails, as config.log is still kept open
3051 # by configure, so config.status won't be able to write to it; its
3052 # output is simply discarded. So we exec the FD to /dev/null,
3053 # effectively closing config.log, so it can be properly (re)opened and
3054 # appended to by config.status. When coming back to configure, we
3055 # need to make the FD available again.
3056 if test "$no_create" != yes; then
3058 ac_config_status_args=
3059 test "$silent" = yes &&
3060 ac_config_status_args="$ac_config_status_args --quiet"
3062 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3064 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3065 # would make configure fail if this is the last instruction.
3066 $ac_cs_success || as_fn_exit $?
3070 # CONFIG_SUBDIRS section.
3072 if test "$no_recursion" != yes; then
3074 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3075 # so they do not pile up.
3076 ac_sub_configure_args=
3078 eval "set x $ac_configure_args"
3082 if test -n "$ac_prev"; then
3087 -cache-file | --cache-file | --cache-fil | --cache-fi \
3088 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3089 ac_prev=cache_file ;;
3090 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3091 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3094 --config-cache | -C)
3096 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3098 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3100 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3102 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3104 --disable-option-checking)
3108 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3110 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3114 # Always prepend --prefix to ensure using the same prefix
3115 # in subdir configurations.
3116 ac_arg="--prefix=$prefix"
3118 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3120 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3123 if test "$silent" = yes; then
3124 ac_sub_configure_args="--silent $ac_sub_configure_args"
3127 # Always prepend --disable-option-checking to silence warnings, since
3128 # different subdirs can have different --enable and --with options.
3129 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3132 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3134 # Do not complain, so a configure script can configure whichever
3135 # parts of a large source tree are present.
3136 test -d "$srcdir/$ac_dir" || continue
3138 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3140 $as_echo "$ac_msg" >&6
3141 as_dir="$ac_dir"; as_fn_mkdir_p
3145 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3147 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3148 # A ".." for each directory in $ac_dir_suffix.
3149 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3150 case $ac_top_builddir_sub in
3151 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3152 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3155 ac_abs_top_builddir=$ac_pwd
3156 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3157 # for backward compatibility:
3158 ac_top_builddir=$ac_top_build_prefix
3161 .) # We are building in place.
3163 ac_top_srcdir=$ac_top_builddir_sub
3164 ac_abs_top_srcdir=$ac_pwd ;;
3165 [\\/]* | ?:[\\/]* ) # Absolute name.
3166 ac_srcdir=$srcdir$ac_dir_suffix;
3167 ac_top_srcdir=$srcdir
3168 ac_abs_top_srcdir=$srcdir ;;
3170 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3171 ac_top_srcdir=$ac_top_build_prefix$srcdir
3172 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3174 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3179 # Check for guested configure; otherwise get Cygnus style configure.
3180 if test -f "$ac_srcdir/configure.gnu"; then
3181 ac_sub_configure=$ac_srcdir/configure.gnu
3182 elif test -f "$ac_srcdir/configure"; then
3183 ac_sub_configure=$ac_srcdir/configure
3184 elif test -f "$ac_srcdir/configure.in"; then
3185 # This should be Cygnus configure.
3186 ac_sub_configure=$ac_aux_dir/configure
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3189 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3193 # The recursion is here.
3194 if test -n "$ac_sub_configure"; then
3195 # Make the cache file name correct relative to the subdirectory.
3197 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3199 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3203 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3204 # The eval makes quoting arguments work.
3205 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3206 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3207 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3213 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3215 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}