2 # From configure.ac Revision: 1.13 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for RNAforester 1.5.
6 # Report bugs to <mhoechsm@techfak.uni-bielefeld.de>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179 if (eval "$as_required") 2>/dev/null; then :
184 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
189 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 test -z "$as_dir" && as_dir=.
196 for as_base in sh bash ksh sh5; do
197 # Try only shells that exist, to save several forks.
198 as_shell=$as_dir/$as_base
199 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 CONFIG_SHELL=$as_shell as_have_required=yes
202 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212 CONFIG_SHELL=$SHELL as_have_required=yes
217 if test "x$CONFIG_SHELL" != x; then :
218 # We cannot yet assume a decent shell, so we have to provide a
219 # neutralization value for shells without unset; and this also
220 # works around shells that cannot unset nonexistent variables.
221 # Preserve -v and -x to the replacement shell.
224 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 *v*x* | *x*v* ) as_opts=-vx ;;
232 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
235 if test x$as_have_required = xno; then :
236 $as_echo "$0: This script requires a shell more modern than all"
237 $as_echo "$0: the shells that I found on your system."
238 if test x${ZSH_VERSION+set} = xset ; then
239 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
242 $as_echo "$0: Please tell bug-autoconf@gnu.org and
243 $0: mhoechsm@techfak.uni-bielefeld.de about your system,
244 $0: including any error possibly output before this
245 $0: message. Then install a modern shell, or manually run
246 $0: the script under such a shell if you do have one."
252 SHELL=${CONFIG_SHELL-/bin/sh}
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
263 # Portably unset VAR.
266 { eval $1=; unset $1;}
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290 # Create "$as_dir" as a directory, including parents if necessary.
295 -*) as_dir=./$as_dir;;
297 test -d "$as_dir" || eval $as_mkdir_p || {
301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304 as_dirs="'$as_qdir' $as_dirs"
305 as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328 test -d "$as_dir" && break
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342 eval 'as_fn_append ()
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 as_val=`expr "$@" || test $? -eq 1`
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
378 as_status=$1; test $as_status -eq 0 && as_status=1
380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit $as_status
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001; then
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
433 as_lineno_1=$LINENO as_lineno_1a=$LINENO
434 as_lineno_2=$LINENO as_lineno_2a=$LINENO
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the
458 # original and so on. Autoconf is especially sensitive to this).
460 # Exit status is that of the last command.
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
467 case `echo 'xy\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479 rm -f conf$$.dir/conf$$.file
482 mkdir conf$$.dir 2>/dev/null
484 if (echo >conf$$.file) 2>/dev/null; then
485 if ln -s conf$$.file conf$$ 2>/dev/null; then
487 # ... but there are two gotchas:
488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490 # In both cases, we have to default to `cp -p'.
491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
493 elif ln conf$$.file conf$$ 2>/dev/null; then
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
504 if mkdir -p . 2>/dev/null; then
505 as_mkdir_p='mkdir -p "$as_dir"'
507 test -d ./-p && rmdir ./-p
511 if test -x / >/dev/null 2>&1; then
514 if ls -dL / >/dev/null 2>&1; then
521 if test -d "$1"; then
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
532 as_executable_p=$as_test_x
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 test -n "$DJDIR" || exec 7<&0 </dev/null
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
552 ac_default_prefix=/usr/local
554 ac_config_libobj_dir=.
561 # Identity of this package.
562 PACKAGE_NAME='RNAforester'
563 PACKAGE_TARNAME='RNAforester'
564 PACKAGE_VERSION='1.5'
565 PACKAGE_STRING='RNAforester 1.5'
566 PACKAGE_BUGREPORT='mhoechsm@techfak.uni-bielefeld.de'
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 enable_option_checking=no
606 ac_subst_vars='am__EXEEXT_FALSE
646 INSTALL_STRIP_PROGRAM
692 program_transform_name
705 enable_option_checking
707 enable_dependency_tracking
713 ac_precious_vars='build_alias
725 ac_subdirs_all='g2-0.70'
727 # Initialize some variables set by options.
729 ac_init_version=false
730 ac_unrecognized_opts=
732 # The variables have the same names as the options, with
733 # dashes changed to underlines.
741 program_transform_name=s,x,x,
749 # Installation directory options.
750 # These are left unexpanded so users can "make install exec_prefix=/foo"
751 # and all the variables that are supposed to be based on exec_prefix
752 # by default will actually change.
753 # Use braces instead of parens because sh, perl, etc. also accept them.
754 # (The list follows the same order as the GNU Coding Standards.)
755 bindir='${exec_prefix}/bin'
756 sbindir='${exec_prefix}/sbin'
757 libexecdir='${exec_prefix}/libexec'
758 datarootdir='${prefix}/share'
759 datadir='${datarootdir}'
760 sysconfdir='${prefix}/etc'
761 sharedstatedir='${prefix}/com'
762 localstatedir='${prefix}/var'
763 includedir='${prefix}/include'
764 oldincludedir='/usr/include'
765 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
766 infodir='${datarootdir}/info'
771 libdir='${exec_prefix}/lib'
772 localedir='${datarootdir}/locale'
773 mandir='${datarootdir}/man'
779 # If the previous option needs an argument, assign it.
780 if test -n "$ac_prev"; then
781 eval $ac_prev=\$ac_option
787 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 # Accept the important Cygnus configure options, so we can diagnose typos.
794 case $ac_dashdash$ac_option in
798 -bindir | --bindir | --bindi | --bind | --bin | --bi)
800 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
803 -build | --build | --buil | --bui | --bu)
804 ac_prev=build_alias ;;
805 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
806 build_alias=$ac_optarg ;;
808 -cache-file | --cache-file | --cache-fil | --cache-fi \
809 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
810 ac_prev=cache_file ;;
811 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
812 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
813 cache_file=$ac_optarg ;;
816 cache_file=config.cache ;;
818 -datadir | --datadir | --datadi | --datad)
820 -datadir=* | --datadir=* | --datadi=* | --datad=*)
821 datadir=$ac_optarg ;;
823 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
824 | --dataroo | --dataro | --datar)
825 ac_prev=datarootdir ;;
826 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
827 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
828 datarootdir=$ac_optarg ;;
830 -disable-* | --disable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error $? "invalid feature name: $ac_useropt"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
844 eval enable_$ac_useropt=no ;;
846 -docdir | --docdir | --docdi | --doc | --do)
848 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
851 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
853 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
856 -enable-* | --enable-*)
857 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860 as_fn_error $? "invalid feature name: $ac_useropt"
861 ac_useropt_orig=$ac_useropt
862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
868 ac_unrecognized_sep=', ';;
870 eval enable_$ac_useropt=\$ac_optarg ;;
872 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
873 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
874 | --exec | --exe | --ex)
875 ac_prev=exec_prefix ;;
876 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
877 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
878 | --exec=* | --exe=* | --ex=*)
879 exec_prefix=$ac_optarg ;;
881 -gas | --gas | --ga | --g)
882 # Obsolete; use --with-gas.
885 -help | --help | --hel | --he | -h)
887 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
888 ac_init_help=recursive ;;
889 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
890 ac_init_help=short ;;
892 -host | --host | --hos | --ho)
893 ac_prev=host_alias ;;
894 -host=* | --host=* | --hos=* | --ho=*)
895 host_alias=$ac_optarg ;;
897 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
899 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
901 htmldir=$ac_optarg ;;
903 -includedir | --includedir | --includedi | --included | --include \
904 | --includ | --inclu | --incl | --inc)
905 ac_prev=includedir ;;
906 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
907 | --includ=* | --inclu=* | --incl=* | --inc=*)
908 includedir=$ac_optarg ;;
910 -infodir | --infodir | --infodi | --infod | --info | --inf)
912 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
913 infodir=$ac_optarg ;;
915 -libdir | --libdir | --libdi | --libd)
917 -libdir=* | --libdir=* | --libdi=* | --libd=*)
920 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
921 | --libexe | --libex | --libe)
922 ac_prev=libexecdir ;;
923 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
924 | --libexe=* | --libex=* | --libe=*)
925 libexecdir=$ac_optarg ;;
927 -localedir | --localedir | --localedi | --localed | --locale)
929 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
930 localedir=$ac_optarg ;;
932 -localstatedir | --localstatedir | --localstatedi | --localstated \
933 | --localstate | --localstat | --localsta | --localst | --locals)
934 ac_prev=localstatedir ;;
935 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
936 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
937 localstatedir=$ac_optarg ;;
939 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
941 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
945 # Obsolete; use --without-fp.
948 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
949 | --no-cr | --no-c | -n)
952 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
953 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
956 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
957 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
958 | --oldin | --oldi | --old | --ol | --o)
959 ac_prev=oldincludedir ;;
960 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
961 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
962 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
963 oldincludedir=$ac_optarg ;;
965 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
967 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
970 -program-prefix | --program-prefix | --program-prefi | --program-pref \
971 | --program-pre | --program-pr | --program-p)
972 ac_prev=program_prefix ;;
973 -program-prefix=* | --program-prefix=* | --program-prefi=* \
974 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
975 program_prefix=$ac_optarg ;;
977 -program-suffix | --program-suffix | --program-suffi | --program-suff \
978 | --program-suf | --program-su | --program-s)
979 ac_prev=program_suffix ;;
980 -program-suffix=* | --program-suffix=* | --program-suffi=* \
981 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
982 program_suffix=$ac_optarg ;;
984 -program-transform-name | --program-transform-name \
985 | --program-transform-nam | --program-transform-na \
986 | --program-transform-n | --program-transform- \
987 | --program-transform | --program-transfor \
988 | --program-transfo | --program-transf \
989 | --program-trans | --program-tran \
990 | --progr-tra | --program-tr | --program-t)
991 ac_prev=program_transform_name ;;
992 -program-transform-name=* | --program-transform-name=* \
993 | --program-transform-nam=* | --program-transform-na=* \
994 | --program-transform-n=* | --program-transform-=* \
995 | --program-transform=* | --program-transfor=* \
996 | --program-transfo=* | --program-transf=* \
997 | --program-trans=* | --program-tran=* \
998 | --progr-tra=* | --program-tr=* | --program-t=*)
999 program_transform_name=$ac_optarg ;;
1001 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1003 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1004 pdfdir=$ac_optarg ;;
1006 -psdir | --psdir | --psdi | --psd | --ps)
1008 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012 | -silent | --silent | --silen | --sile | --sil)
1015 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1017 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1019 sbindir=$ac_optarg ;;
1021 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1022 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1023 | --sharedst | --shareds | --shared | --share | --shar \
1025 ac_prev=sharedstatedir ;;
1026 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1027 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1028 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1030 sharedstatedir=$ac_optarg ;;
1032 -site | --site | --sit)
1034 -site=* | --site=* | --sit=*)
1037 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1039 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1040 srcdir=$ac_optarg ;;
1042 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1043 | --syscon | --sysco | --sysc | --sys | --sy)
1044 ac_prev=sysconfdir ;;
1045 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1046 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1047 sysconfdir=$ac_optarg ;;
1049 -target | --target | --targe | --targ | --tar | --ta | --t)
1050 ac_prev=target_alias ;;
1051 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1052 target_alias=$ac_optarg ;;
1054 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1057 -version | --version | --versio | --versi | --vers | -V)
1058 ac_init_version=: ;;
1061 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 as_fn_error $? "invalid package name: $ac_useropt"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1074 eval with_$ac_useropt=\$ac_optarg ;;
1076 -without-* | --without-*)
1077 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error $? "invalid package name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1090 eval with_$ac_useropt=no ;;
1093 # Obsolete; use --with-x.
1096 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1097 | --x-incl | --x-inc | --x-in | --x-i)
1098 ac_prev=x_includes ;;
1099 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1100 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1101 x_includes=$ac_optarg ;;
1103 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1104 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1105 ac_prev=x_libraries ;;
1106 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1107 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1108 x_libraries=$ac_optarg ;;
1110 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1111 Try \`$0 --help' for more information"
1115 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1116 # Reject names that are not valid shell variable names.
1117 case $ac_envvar in #(
1118 '' | [0-9]* | *[!_$as_cr_alnum]* )
1119 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1121 eval $ac_envvar=\$ac_optarg
1122 export $ac_envvar ;;
1125 # FIXME: should be removed in autoconf 3.0.
1126 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1127 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1128 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1129 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1135 if test -n "$ac_prev"; then
1136 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1137 as_fn_error $? "missing argument to $ac_option"
1140 if test -n "$ac_unrecognized_opts"; then
1141 case $enable_option_checking in
1143 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1144 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1148 # Check all directory arguments for consistency.
1149 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1150 datadir sysconfdir sharedstatedir localstatedir includedir \
1151 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1152 libdir localedir mandir
1154 eval ac_val=\$$ac_var
1155 # Remove trailing slashes.
1158 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1159 eval $ac_var=\$ac_val;;
1161 # Be sure to have absolute directory names.
1163 [\\/$]* | ?:[\\/]* ) continue;;
1164 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1166 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1169 # There might be people who depend on the old broken behavior: `$host'
1170 # used to hold the argument of --host etc.
1171 # FIXME: To remove some day.
1174 target=$target_alias
1176 # FIXME: To remove some day.
1177 if test "x$host_alias" != x; then
1178 if test "x$build_alias" = x; then
1179 cross_compiling=maybe
1180 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1181 If a cross compiler is detected then cross compile mode will be used" >&2
1182 elif test "x$build_alias" != "x$host_alias"; then
1188 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1190 test "$silent" = yes && exec 6>/dev/null
1193 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1194 ac_ls_di=`ls -di .` &&
1195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1196 as_fn_error $? "working directory cannot be determined"
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198 as_fn_error $? "pwd does not report name of working directory"
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203 ac_srcdir_defaulted=yes
1204 # Try the directory containing this script, then the parent directory.
1205 ac_confdir=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1208 X"$as_myself" : 'X\(//\)$' \| \
1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1233 ac_srcdir_defaulted=no
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1243 # When building in place, set srcdir=.
1244 if test "$ac_abs_confdir" = "$ac_pwd"; then
1247 # Remove unnecessary trailing slashes from srcdir.
1248 # Double slashes in file names in object file debugging info
1249 # mess up M-x gdb in Emacs.
1251 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1253 for ac_var in $ac_precious_vars; do
1254 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_env_${ac_var}_value=\$${ac_var}
1256 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1261 # Report the --help message.
1263 if test "$ac_init_help" = "long"; then
1264 # Omit some internal or obsolete options to make the list less imposing.
1265 # This message is too long to be a string in the A/UX 3.1 sh.
1267 \`configure' configures RNAforester 1.5 to adapt to many kinds of systems.
1269 Usage: $0 [OPTION]... [VAR=VALUE]...
1271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1272 VAR=VALUE. See below for descriptions of some of the useful variables.
1274 Defaults for the options are specified in brackets.
1277 -h, --help display this help and exit
1278 --help=short display options specific to this package
1279 --help=recursive display the short help of all the included packages
1280 -V, --version display version information and exit
1281 -q, --quiet, --silent do not print \`checking ...' messages
1282 --cache-file=FILE cache test results in FILE [disabled]
1283 -C, --config-cache alias for \`--cache-file=config.cache'
1284 -n, --no-create do not create output files
1285 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1287 Installation directories:
1288 --prefix=PREFIX install architecture-independent files in PREFIX
1289 [$ac_default_prefix]
1290 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1293 By default, \`make install' will install all the files in
1294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1296 for instance \`--prefix=\$HOME'.
1298 For better control, use the options below.
1300 Fine tuning of the installation directories:
1301 --bindir=DIR user executables [EPREFIX/bin]
1302 --sbindir=DIR system admin executables [EPREFIX/sbin]
1303 --libexecdir=DIR program executables [EPREFIX/libexec]
1304 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1305 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1306 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1307 --libdir=DIR object code libraries [EPREFIX/lib]
1308 --includedir=DIR C header files [PREFIX/include]
1309 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1310 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1311 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1312 --infodir=DIR info documentation [DATAROOTDIR/info]
1313 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1314 --mandir=DIR man documentation [DATAROOTDIR/man]
1315 --docdir=DIR documentation root [DATAROOTDIR/doc/RNAforester]
1316 --htmldir=DIR html documentation [DOCDIR]
1317 --dvidir=DIR dvi documentation [DOCDIR]
1318 --pdfdir=DIR pdf documentation [DOCDIR]
1319 --psdir=DIR ps documentation [DOCDIR]
1325 --program-prefix=PREFIX prepend PREFIX to installed program names
1326 --program-suffix=SUFFIX append SUFFIX to installed program names
1327 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1331 if test -n "$ac_init_help"; then
1332 case $ac_init_help in
1333 short | recursive ) echo "Configuration of RNAforester 1.5:";;
1338 --disable-option-checking ignore unrecognized --enable/--with options
1339 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1340 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1341 --enable-silent-rules less verbose build output (undo: `make V=1')
1342 --disable-silent-rules verbose build output (undo: `make V=0')
1343 --disable-dependency-tracking speeds up one-time build
1344 --enable-dependency-tracking do not reject slow dependency extractors
1345 --disable-openmp do not use OpenMP
1348 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1349 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1350 --with-ViennaRNA-lib where to search for libRNA.a
1351 --with-xml2-lib where to search for libxml2.so
1352 --with-xmlplusplus-lib where to search for libxml++-1.0.so
1354 Some influential environment variables:
1355 CXX C++ compiler command
1356 CXXFLAGS C++ compiler flags
1357 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1358 nonstandard directory <lib dir>
1359 LIBS libraries to pass to the linker, e.g. -l<library>
1360 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1361 you have headers in a nonstandard directory <include dir>
1362 CC C compiler command
1363 CFLAGS C compiler flags
1364 CXXCPP C++ preprocessor
1366 Use these variables to override the choices made by `configure' or to help
1367 it to find libraries and programs with nonstandard names/locations.
1369 Report bugs to <mhoechsm@techfak.uni-bielefeld.de>.
1374 if test "$ac_init_help" = "recursive"; then
1375 # If there are subdirs, report their specific --help.
1376 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1377 test -d "$ac_dir" ||
1378 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1383 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1386 # A ".." for each directory in $ac_dir_suffix.
1387 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1388 case $ac_top_builddir_sub in
1389 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1390 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1393 ac_abs_top_builddir=$ac_pwd
1394 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1395 # for backward compatibility:
1396 ac_top_builddir=$ac_top_build_prefix
1399 .) # We are building in place.
1401 ac_top_srcdir=$ac_top_builddir_sub
1402 ac_abs_top_srcdir=$ac_pwd ;;
1403 [\\/]* | ?:[\\/]* ) # Absolute name.
1404 ac_srcdir=$srcdir$ac_dir_suffix;
1405 ac_top_srcdir=$srcdir
1406 ac_abs_top_srcdir=$srcdir ;;
1408 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1409 ac_top_srcdir=$ac_top_build_prefix$srcdir
1410 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1412 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1414 cd "$ac_dir" || { ac_status=$?; continue; }
1415 # Check for guested configure.
1416 if test -f "$ac_srcdir/configure.gnu"; then
1418 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1419 elif test -f "$ac_srcdir/configure"; then
1421 $SHELL "$ac_srcdir/configure" --help=recursive
1423 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1425 cd "$ac_pwd" || { ac_status=$?; break; }
1429 test -n "$ac_init_help" && exit $ac_status
1430 if $ac_init_version; then
1432 RNAforester configure 1.5
1433 generated by GNU Autoconf 2.68
1435 Copyright (C) 2010 Free Software Foundation, Inc.
1436 This configure script is free software; the Free Software Foundation
1437 gives unlimited permission to copy, distribute and modify it.
1442 ## ------------------------ ##
1443 ## Autoconf initialization. ##
1444 ## ------------------------ ##
1446 # ac_fn_cxx_try_compile LINENO
1447 # ----------------------------
1448 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1449 ac_fn_cxx_try_compile ()
1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1452 rm -f conftest.$ac_objext
1453 if { { ac_try="$ac_compile"
1455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_compile") 2>conftest.err
1462 if test -s conftest.err; then
1463 grep -v '^ *+' conftest.err >conftest.er1
1464 cat conftest.er1 >&5
1465 mv -f conftest.er1 conftest.err
1467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468 test $ac_status = 0; } && {
1469 test -z "$ac_cxx_werror_flag" ||
1470 test ! -s conftest.err
1471 } && test -s conftest.$ac_objext; then :
1474 $as_echo "$as_me: failed program was:" >&5
1475 sed 's/^/| /' conftest.$ac_ext >&5
1479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1480 as_fn_set_status $ac_retval
1482 } # ac_fn_cxx_try_compile
1484 # ac_fn_c_try_compile LINENO
1485 # --------------------------
1486 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1487 ac_fn_c_try_compile ()
1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490 rm -f conftest.$ac_objext
1491 if { { ac_try="$ac_compile"
1493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1494 *) ac_try_echo=$ac_try;;
1496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 $as_echo "$ac_try_echo"; } >&5
1498 (eval "$ac_compile") 2>conftest.err
1500 if test -s conftest.err; then
1501 grep -v '^ *+' conftest.err >conftest.er1
1502 cat conftest.er1 >&5
1503 mv -f conftest.er1 conftest.err
1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1506 test $ac_status = 0; } && {
1507 test -z "$ac_c_werror_flag" ||
1508 test ! -s conftest.err
1509 } && test -s conftest.$ac_objext; then :
1512 $as_echo "$as_me: failed program was:" >&5
1513 sed 's/^/| /' conftest.$ac_ext >&5
1517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1518 as_fn_set_status $ac_retval
1520 } # ac_fn_c_try_compile
1522 # ac_fn_cxx_try_link LINENO
1523 # -------------------------
1524 # Try to link conftest.$ac_ext, and return whether this succeeded.
1525 ac_fn_cxx_try_link ()
1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1528 rm -f conftest.$ac_objext conftest$ac_exeext
1529 if { { ac_try="$ac_link"
1531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1532 *) ac_try_echo=$ac_try;;
1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1535 $as_echo "$ac_try_echo"; } >&5
1536 (eval "$ac_link") 2>conftest.err
1538 if test -s conftest.err; then
1539 grep -v '^ *+' conftest.err >conftest.er1
1540 cat conftest.er1 >&5
1541 mv -f conftest.er1 conftest.err
1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1544 test $ac_status = 0; } && {
1545 test -z "$ac_cxx_werror_flag" ||
1546 test ! -s conftest.err
1547 } && test -s conftest$ac_exeext && {
1548 test "$cross_compiling" = yes ||
1549 $as_test_x conftest$ac_exeext
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1558 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1559 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1560 # interfere with the next link command; also delete a directory that is
1561 # left behind by Apple's compiler. We do this before executing the actions.
1562 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564 as_fn_set_status $ac_retval
1566 } # ac_fn_cxx_try_link
1568 # ac_fn_cxx_try_cpp LINENO
1569 # ------------------------
1570 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1571 ac_fn_cxx_try_cpp ()
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { { ac_try="$ac_cpp conftest.$ac_ext"
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1583 if test -s conftest.err; then
1584 grep -v '^ *+' conftest.err >conftest.er1
1585 cat conftest.er1 >&5
1586 mv -f conftest.er1 conftest.err
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } > conftest.i && {
1590 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1591 test ! -s conftest.err
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601 as_fn_set_status $ac_retval
1603 } # ac_fn_cxx_try_cpp
1605 # ac_fn_cxx_try_run LINENO
1606 # ------------------------
1607 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1608 # that executables *can* be run.
1609 ac_fn_cxx_try_run ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { { ac_try="$ac_link"
1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_link") 2>&5
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1623 { { case "(($ac_try" in
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_try") 2>&5
1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 test $ac_status = 0; }; }; then :
1635 $as_echo "$as_me: program exited with status $ac_status" >&5
1636 $as_echo "$as_me: failed program was:" >&5
1637 sed 's/^/| /' conftest.$ac_ext >&5
1639 ac_retval=$ac_status
1641 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1645 } # ac_fn_cxx_try_run
1647 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1648 # ---------------------------------------------------------
1649 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1650 # the include files in INCLUDES and setting the cache variable VAR
1652 ac_fn_cxx_check_header_mongrel ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 if eval \${$3+:} false; then :
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657 $as_echo_n "checking for $2... " >&6; }
1658 if eval \${$3+:} false; then :
1659 $as_echo_n "(cached) " >&6
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1665 # Is the header compilable?
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1667 $as_echo_n "checking $2 usability... " >&6; }
1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1669 /* end confdefs.h. */
1673 if ac_fn_cxx_try_compile "$LINENO"; then :
1674 ac_header_compiler=yes
1676 ac_header_compiler=no
1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1680 $as_echo "$ac_header_compiler" >&6; }
1682 # Is the header present?
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1684 $as_echo_n "checking $2 presence... " >&6; }
1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1689 if ac_fn_cxx_try_cpp "$LINENO"; then :
1690 ac_header_preproc=yes
1692 ac_header_preproc=no
1694 rm -f conftest.err conftest.i conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1696 $as_echo "$ac_header_preproc" >&6; }
1698 # So? What about this header?
1699 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1702 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1708 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1710 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1712 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1714 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1717 ( $as_echo "## ------------------------------------------------ ##
1718 ## Report this to mhoechsm@techfak.uni-bielefeld.de ##
1719 ## ------------------------------------------------ ##"
1720 ) | sed "s/^/$as_me: WARNING: /" >&2
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1724 $as_echo_n "checking for $2... " >&6; }
1725 if eval \${$3+:} false; then :
1726 $as_echo_n "(cached) " >&6
1728 eval "$3=\$ac_header_compiler"
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732 $as_echo "$ac_res" >&6; }
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 } # ac_fn_cxx_check_header_mongrel
1738 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1739 # ---------------------------------------------------------
1740 # Tests whether HEADER exists and can be compiled using the include files in
1741 # INCLUDES, setting the cache variable VAR accordingly.
1742 ac_fn_cxx_check_header_compile ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 $as_echo_n "checking for $2... " >&6; }
1747 if eval \${$3+:} false; then :
1748 $as_echo_n "(cached) " >&6
1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1755 if ac_fn_cxx_try_compile "$LINENO"; then :
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 } # ac_fn_cxx_check_header_compile
1769 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1770 # ---------------------------------------------
1771 # Tests whether TYPE exists after having included INCLUDES, setting cache
1772 # variable VAR accordingly.
1773 ac_fn_cxx_check_type ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if eval \${$3+:} false; then :
1779 $as_echo_n "(cached) " >&6
1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1794 if ac_fn_cxx_try_compile "$LINENO"; then :
1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h. */
1807 if ac_fn_cxx_try_compile "$LINENO"; then :
1812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 } # ac_fn_cxx_check_type
1822 cat >config.log <<_ACEOF
1823 This file contains any messages produced by compilers while
1824 running configure, to aid debugging if configure makes a mistake.
1826 It was created by RNAforester $as_me 1.5, which was
1827 generated by GNU Autoconf 2.68. Invocation command line was
1839 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1840 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1841 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1842 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1843 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1845 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1846 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1848 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1849 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1850 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1851 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1852 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1853 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1854 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1862 test -z "$as_dir" && as_dir=.
1863 $as_echo "PATH: $as_dir"
1879 # Keep a trace of the command line.
1880 # Strip out --no-create and --no-recursion so they do not pile up.
1881 # Strip out --silent because we don't want to record it for future runs.
1882 # Also quote any args containing shell meta-characters.
1883 # Make two passes to allow for proper duplicate-argument suppression.
1887 ac_must_keep_next=false
1893 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1894 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1895 | -silent | --silent | --silen | --sile | --sil)
1898 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1901 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1903 as_fn_append ac_configure_args1 " '$ac_arg'"
1904 if test $ac_must_keep_next = true; then
1905 ac_must_keep_next=false # Got value, back to normal.
1908 *=* | --config-cache | -C | -disable-* | --disable-* \
1909 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1910 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1911 | -with-* | --with-* | -without-* | --without-* | --x)
1912 case "$ac_configure_args0 " in
1913 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1916 -* ) ac_must_keep_next=true ;;
1919 as_fn_append ac_configure_args " '$ac_arg'"
1924 { ac_configure_args0=; unset ac_configure_args0;}
1925 { ac_configure_args1=; unset ac_configure_args1;}
1927 # When interrupted or exit'd, cleanup temporary files, and complete
1928 # config.log. We remove comments because anyway the quotes in there
1929 # would cause problems or look ugly.
1930 # WARNING: Use '\'' to represent an apostrophe within the trap.
1931 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1932 trap 'exit_status=$?
1933 # Save into config.log some information that might help in debugging.
1937 $as_echo "## ---------------- ##
1938 ## Cache variables. ##
1939 ## ---------------- ##"
1941 # The following way of writing the cache mishandles newlines in values,
1943 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1944 eval ac_val=\$$ac_var
1948 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1949 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1952 _ | IFS | as_nl) ;; #(
1953 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1954 *) { eval $ac_var=; unset $ac_var;} ;;
1959 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1960 *${as_nl}ac_space=\ *)
1962 "s/'\''/'\''\\\\'\'''\''/g;
1963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1966 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1973 $as_echo "## ----------------- ##
1974 ## Output variables. ##
1975 ## ----------------- ##"
1977 for ac_var in $ac_subst_vars
1979 eval ac_val=\$$ac_var
1981 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1983 $as_echo "$ac_var='\''$ac_val'\''"
1987 if test -n "$ac_subst_files"; then
1988 $as_echo "## ------------------- ##
1989 ## File substitutions. ##
1990 ## ------------------- ##"
1992 for ac_var in $ac_subst_files
1994 eval ac_val=\$$ac_var
1996 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1998 $as_echo "$ac_var='\''$ac_val'\''"
2003 if test -s confdefs.h; then
2004 $as_echo "## ----------- ##
2011 test "$ac_signal" != 0 &&
2012 $as_echo "$as_me: caught signal $ac_signal"
2013 $as_echo "$as_me: exit $exit_status"
2015 rm -f core *.core core.conftest.* &&
2016 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2019 for ac_signal in 1 2 13 15; do
2020 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2025 rm -f -r conftest* confdefs.h
2027 $as_echo "/* confdefs.h */" > confdefs.h
2029 # Predefined preprocessor variables.
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_NAME "$PACKAGE_NAME"
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_STRING "$PACKAGE_STRING"
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_URL "$PACKAGE_URL"
2056 # Let the site file select an alternate cache file if it wants to.
2057 # Prefer an explicitly selected file to automatically selected ones.
2060 if test -n "$CONFIG_SITE"; then
2061 # We do not want a PATH search for config.site.
2062 case $CONFIG_SITE in #((
2063 -*) ac_site_file1=./$CONFIG_SITE;;
2064 */*) ac_site_file1=$CONFIG_SITE;;
2065 *) ac_site_file1=./$CONFIG_SITE;;
2067 elif test "x$prefix" != xNONE; then
2068 ac_site_file1=$prefix/share/config.site
2069 ac_site_file2=$prefix/etc/config.site
2071 ac_site_file1=$ac_default_prefix/share/config.site
2072 ac_site_file2=$ac_default_prefix/etc/config.site
2074 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2076 test "x$ac_site_file" = xNONE && continue
2077 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2080 sed 's/^/| /' "$ac_site_file" >&5
2082 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2084 as_fn_error $? "failed to load site script $ac_site_file
2085 See \`config.log' for more details" "$LINENO" 5; }
2089 if test -r "$cache_file"; then
2090 # Some versions of bash will fail to source /dev/null (special files
2091 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2092 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2094 $as_echo "$as_me: loading cache $cache_file" >&6;}
2096 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2097 *) . "./$cache_file";;
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2102 $as_echo "$as_me: creating cache $cache_file" >&6;}
2106 # Check that the precious variables saved in the cache have kept the same
2108 ac_cache_corrupted=false
2109 for ac_var in $ac_precious_vars; do
2110 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2111 eval ac_new_set=\$ac_env_${ac_var}_set
2112 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2113 eval ac_new_val=\$ac_env_${ac_var}_value
2114 case $ac_old_set,$ac_new_set in
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2117 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2118 ac_cache_corrupted=: ;;
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2121 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2122 ac_cache_corrupted=: ;;
2125 if test "x$ac_old_val" != "x$ac_new_val"; then
2126 # differences in whitespace do not lead to failure.
2127 ac_old_val_w=`echo x $ac_old_val`
2128 ac_new_val_w=`echo x $ac_new_val`
2129 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2132 ac_cache_corrupted=:
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2136 eval $ac_var=\$ac_old_val
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2139 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2141 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2144 # Pass precious variables to config.status.
2145 if test "$ac_new_set" = set; then
2147 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2148 *) ac_arg=$ac_var=$ac_new_val ;;
2150 case " $ac_configure_args " in
2151 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2152 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2156 if $ac_cache_corrupted; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2161 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2163 ## -------------------- ##
2164 ## Main body of script. ##
2165 ## -------------------- ##
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2176 # Check whether --enable-silent-rules was given.
2177 if test "${enable_silent_rules+set}" = set; then :
2178 enableval=$enable_silent_rules;
2181 case $enable_silent_rules in
2182 yes) AM_DEFAULT_VERBOSITY=0;;
2183 no) AM_DEFAULT_VERBOSITY=1;;
2184 *) AM_DEFAULT_VERBOSITY=0;;
2186 am_make=${MAKE-make}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2188 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2189 if ${am_cv_make_support_nested_variables+:} false; then :
2190 $as_echo_n "(cached) " >&6
2192 if $as_echo 'TRUE=$(BAR$(V))
2198 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2199 am_cv_make_support_nested_variables=yes
2201 am_cv_make_support_nested_variables=no
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2205 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2206 if test $am_cv_make_support_nested_variables = yes; then
2208 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2210 AM_V=$AM_DEFAULT_VERBOSITY
2211 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2215 am__api_version='1.11'
2218 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2219 if test -f "$ac_dir/install-sh"; then
2221 ac_install_sh="$ac_aux_dir/install-sh -c"
2223 elif test -f "$ac_dir/install.sh"; then
2225 ac_install_sh="$ac_aux_dir/install.sh -c"
2227 elif test -f "$ac_dir/shtool"; then
2229 ac_install_sh="$ac_aux_dir/shtool install -c"
2233 if test -z "$ac_aux_dir"; then
2234 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2237 # These three variables are undocumented and unsupported,
2238 # and are intended to be withdrawn in a future Autoconf release.
2239 # They can cause serious problems if a builder's source tree is in a directory
2240 # whose full name contains unusual characters.
2241 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2242 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2243 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2246 # Find a good install program. We prefer a C program (faster),
2247 # so one script is as good as another. But avoid the broken or
2248 # incompatible versions:
2249 # SysV /etc/install, /usr/sbin/install
2250 # SunOS /usr/etc/install
2251 # IRIX /sbin/install
2253 # AmigaOS /C/install, which installs bootblocks on floppy discs
2254 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2257 # OS/2's system install, which has a completely different semantic
2258 # ./install, which can be erroneously created by make from ./install.sh.
2259 # Reject install programs that cannot install multiple files.
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2261 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2262 if test -z "$INSTALL"; then
2263 if ${ac_cv_path_install+:} false; then :
2264 $as_echo_n "(cached) " >&6
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir=.
2271 # Account for people who put trailing slashes in PATH elements.
2272 case $as_dir/ in #((
2273 ./ | .// | /[cC]/* | \
2274 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2275 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2278 # OSF1 and SCO ODT 3.0 have their own names for install.
2279 # Don't use installbsd from OSF since it installs stuff as root
2281 for ac_prog in ginstall scoinst install; do
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2284 if test $ac_prog = install &&
2285 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2286 # AIX install. It has an incompatible calling convention.
2288 elif test $ac_prog = install &&
2289 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2290 # program-specific install script used by HP pwplus--don't use.
2293 rm -rf conftest.one conftest.two conftest.dir
2294 echo one > conftest.one
2295 echo two > conftest.two
2297 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2298 test -s conftest.one && test -s conftest.two &&
2299 test -s conftest.dir/conftest.one &&
2300 test -s conftest.dir/conftest.two
2302 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2315 rm -rf conftest.one conftest.two conftest.dir
2318 if test "${ac_cv_path_install+set}" = set; then
2319 INSTALL=$ac_cv_path_install
2321 # As a last resort, use the slow shell script. Don't cache a
2322 # value for INSTALL within a source directory, because that will
2323 # break other packages using the cache if that directory is
2324 # removed, or if the value is a relative name.
2325 INSTALL=$ac_install_sh
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2329 $as_echo "$INSTALL" >&6; }
2331 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2332 # It thinks the first close brace ends the variable substitution.
2333 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2335 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2337 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2340 $as_echo_n "checking whether build environment is sane... " >&6; }
2343 echo timestamp > conftest.file
2344 # Reject unsafe characters in $srcdir or the absolute working directory
2345 # name. Accept space and tab only in the latter.
2349 *[\\\"\#\$\&\'\`$am_lf]*)
2350 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2353 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2354 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2357 # Do `set' in a subshell so we don't clobber the current shell's
2358 # arguments. Must try -L first in case configure is actually a
2359 # symlink; some systems play weird games with the mod time of symlinks
2360 # (eg FreeBSD returns the mod time of the symlink's containing
2363 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2364 if test "$*" = "X"; then
2366 set X `ls -t "$srcdir/configure" conftest.file`
2369 if test "$*" != "X $srcdir/configure conftest.file" \
2370 && test "$*" != "X conftest.file $srcdir/configure"; then
2372 # If neither matched, then we have a broken ls. This can happen
2373 # if, for instance, CONFIG_SHELL is bash and it inherits a
2374 # broken ls alias from the environment. This has actually
2375 # happened. Such a system could not be considered "sane".
2376 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2377 alias in your environment" "$LINENO" 5
2380 test "$2" = conftest.file
2386 as_fn_error $? "newly created file is older than distributed files!
2387 Check your system clock" "$LINENO" 5
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2390 $as_echo "yes" >&6; }
2391 test "$program_prefix" != NONE &&
2392 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2393 # Use a double $ so make ignores it.
2394 test "$program_suffix" != NONE &&
2395 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2396 # Double any \ or $.
2397 # By default was `s,x,x', remove it if useless.
2398 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2399 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2401 # expand $ac_aux_dir to an absolute path
2402 am_aux_dir=`cd $ac_aux_dir && pwd`
2404 if test x"${MISSING+set}" != xset; then
2407 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2409 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2412 # Use eval to expand $SHELL
2413 if eval "$MISSING --run true"; then
2414 am_missing_run="$MISSING --run "
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2418 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2421 if test x"${install_sh}" != xset; then
2424 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2426 install_sh="\${SHELL} $am_aux_dir/install-sh"
2430 # Installed binaries are usually stripped using `strip' when the user
2431 # run `make install-strip'. However `strip' might not be the right
2432 # tool to use in cross-compilation environments, therefore Automake
2433 # will honor the `STRIP' environment variable to overrule this program.
2434 if test "$cross_compiling" != no; then
2435 if test -n "$ac_tool_prefix"; then
2436 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2437 set dummy ${ac_tool_prefix}strip; ac_word=$2
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2439 $as_echo_n "checking for $ac_word... " >&6; }
2440 if ${ac_cv_prog_STRIP+:} false; then :
2441 $as_echo_n "(cached) " >&6
2443 if test -n "$STRIP"; then
2444 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir=.
2451 for ac_exec_ext in '' $ac_executable_extensions; do
2452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2453 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 STRIP=$ac_cv_prog_STRIP
2464 if test -n "$STRIP"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2466 $as_echo "$STRIP" >&6; }
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2469 $as_echo "no" >&6; }
2474 if test -z "$ac_cv_prog_STRIP"; then
2476 # Extract the first word of "strip", so it can be a program name with args.
2477 set dummy strip; ac_word=$2
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2479 $as_echo_n "checking for $ac_word... " >&6; }
2480 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2481 $as_echo_n "(cached) " >&6
2483 if test -n "$ac_ct_STRIP"; then
2484 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir=.
2491 for ac_exec_ext in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 ac_cv_prog_ac_ct_STRIP="strip"
2494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2504 if test -n "$ac_ct_STRIP"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2506 $as_echo "$ac_ct_STRIP" >&6; }
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2509 $as_echo "no" >&6; }
2512 if test "x$ac_ct_STRIP" = x; then
2515 case $cross_compiling:$ac_tool_warned in
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2519 ac_tool_warned=yes ;;
2524 STRIP="$ac_cv_prog_STRIP"
2528 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2531 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2532 if test -z "$MKDIR_P"; then
2533 if ${ac_cv_path_mkdir+:} false; then :
2534 $as_echo_n "(cached) " >&6
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2540 test -z "$as_dir" && as_dir=.
2541 for ac_prog in mkdir gmkdir; do
2542 for ac_exec_ext in '' $ac_executable_extensions; do
2543 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2544 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2545 'mkdir (GNU coreutils) '* | \
2546 'mkdir (coreutils) '* | \
2547 'mkdir (fileutils) '4.1*)
2548 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2558 test -d ./--version && rmdir ./--version
2559 if test "${ac_cv_path_mkdir+set}" = set; then
2560 MKDIR_P="$ac_cv_path_mkdir -p"
2562 # As a last resort, use the slow shell script. Don't cache a
2563 # value for MKDIR_P within a source directory, because that will
2564 # break other packages using the cache if that directory is
2565 # removed, or if the value is a relative name.
2566 MKDIR_P="$ac_install_sh -d"
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2570 $as_echo "$MKDIR_P" >&6; }
2574 [\\/$]* | ?:[\\/]*) ;;
2575 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2578 for ac_prog in gawk mawk nawk awk
2580 # Extract the first word of "$ac_prog", so it can be a program name with args.
2581 set dummy $ac_prog; ac_word=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if ${ac_cv_prog_AWK+:} false; then :
2585 $as_echo_n "(cached) " >&6
2587 if test -n "$AWK"; then
2588 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir=.
2595 for ac_exec_ext in '' $ac_executable_extensions; do
2596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597 ac_cv_prog_AWK="$ac_prog"
2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 if test -n "$AWK"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2610 $as_echo "$AWK" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2617 test -n "$AWK" && break
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2621 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2623 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2624 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2625 $as_echo_n "(cached) " >&6
2627 cat >conftest.make <<\_ACEOF
2630 @echo '@@@%%%=$(MAKE)=@@@%%%'
2632 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2633 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2635 eval ac_cv_prog_make_${ac_make}_set=yes;;
2637 eval ac_cv_prog_make_${ac_make}_set=no;;
2641 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2643 $as_echo "yes" >&6; }
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2648 SET_MAKE="MAKE=${MAKE-make}"
2651 rm -rf .tst 2>/dev/null
2652 mkdir .tst 2>/dev/null
2653 if test -d .tst; then
2658 rmdir .tst 2>/dev/null
2660 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2661 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2662 # is not polluted with repeated "-I."
2663 am__isrc=' -I$(srcdir)'
2664 # test to see if srcdir already configured
2665 if test -f $srcdir/config.status; then
2666 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2670 # test whether we have cygpath
2671 if test -z "$CYGPATH_W"; then
2672 if (cygpath --version) >/dev/null 2>/dev/null; then
2673 CYGPATH_W='cygpath -w'
2680 # Define the identity of the package.
2681 PACKAGE='RNAforester'
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE "$PACKAGE"
2690 cat >>confdefs.h <<_ACEOF
2691 #define VERSION "$VERSION"
2694 # Some tools Automake needs.
2696 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2699 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2702 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2705 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2708 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2710 # We need awk for the "check" target. The system "awk" is bad on
2712 # Always define AMTAR for backward compatibility. Yes, it's still used
2713 # in the wild :-( We should find a proper way to deprecate it ...
2716 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2723 ac_config_headers="$ac_config_headers config.h"
2727 ac_cpp='$CXXCPP $CPPFLAGS'
2728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2731 if test -z "$CXX"; then
2732 if test -n "$CCC"; then
2735 if test -n "$ac_tool_prefix"; then
2736 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if ${ac_cv_prog_CXX+:} false; then :
2743 $as_echo_n "(cached) " >&6
2745 if test -n "$CXX"; then
2746 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 if test -n "$CXX"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2768 $as_echo "$CXX" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2775 test -n "$CXX" && break
2778 if test -z "$CXX"; then
2780 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2782 # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$ac_ct_CXX"; then
2790 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_ac_ct_CXX="$ac_prog"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2810 if test -n "$ac_ct_CXX"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2812 $as_echo "$ac_ct_CXX" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2819 test -n "$ac_ct_CXX" && break
2822 if test "x$ac_ct_CXX" = x; then
2825 case $cross_compiling:$ac_tool_warned in
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2829 ac_tool_warned=yes ;;
2837 # Provide some information about the compiler.
2838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2841 for ac_option in --version -v -V -qversion; do
2842 { { ac_try="$ac_compiler $ac_option >&5"
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2851 if test -s conftest.err; then
2853 ... rest of stderr output deleted ...
2854 10q' conftest.err >conftest.er1
2855 cat conftest.er1 >&5
2857 rm -f conftest.er1 conftest.err
2858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859 test $ac_status = 0; }
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2873 ac_clean_files_save=$ac_clean_files
2874 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2875 # Try to create an executable without -o first, disregard a.out.
2876 # It will help us diagnose broken compilers, and finding out an intuition
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2879 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2880 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2882 # The possible output files:
2883 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2886 for ac_file in $ac_files
2889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2890 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2895 if { { ac_try="$ac_link_default"
2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 $as_echo "$ac_try_echo"; } >&5
2902 (eval "$ac_link_default") 2>&5
2904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; }; then :
2906 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2907 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2908 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2909 # so that the user can short-circuit this test for compilers unknown to
2911 for ac_file in $ac_files ''
2913 test -f "$ac_file" || continue
2915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2918 # We found the default executable, but exeext='' is most
2922 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2924 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2926 # We set ac_cv_exeext here because the later test for it is not
2927 # safe: cross compilers may not add the suffix if given an `-o'
2928 # argument, so we may need to know it at that point already.
2929 # Even if this section looks crufty: it has the advantage of
2936 test "$ac_cv_exeext" = no && ac_cv_exeext=
2941 if test -z "$ac_file"; then :
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943 $as_echo "no" >&6; }
2944 $as_echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 as_fn_error 77 "C++ compiler cannot create executables
2950 See \`config.log' for more details" "$LINENO" 5; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2953 $as_echo "yes" >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2956 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2958 $as_echo "$ac_file" >&6; }
2959 ac_exeext=$ac_cv_exeext
2961 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2962 ac_clean_files=$ac_clean_files_save
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2964 $as_echo_n "checking for suffix of executables... " >&6; }
2965 if { { ac_try="$ac_link"
2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2971 $as_echo "$ac_try_echo"; } >&5
2972 (eval "$ac_link") 2>&5
2974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; }; then :
2976 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2977 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2978 # work properly (i.e., refer to `conftest.exe'), while it won't with
2980 for ac_file in conftest.exe conftest conftest.*; do
2981 test -f "$ac_file" || continue
2983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2984 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2993 See \`config.log' for more details" "$LINENO" 5; }
2995 rm -f conftest conftest$ac_cv_exeext
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2997 $as_echo "$ac_cv_exeext" >&6; }
2999 rm -f conftest.$ac_ext
3000 EXEEXT=$ac_cv_exeext
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3008 FILE *f = fopen ("conftest.out", "w");
3009 return ferror (f) || fclose (f) != 0;
3015 ac_clean_files="$ac_clean_files conftest.out"
3016 # Check that the compiler produces executables we can run. If not, either
3017 # the compiler is broken, or we cross compile.
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3019 $as_echo_n "checking whether we are cross compiling... " >&6; }
3020 if test "$cross_compiling" != yes; then
3021 { { ac_try="$ac_link"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028 (eval "$ac_link") 2>&5
3030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3031 test $ac_status = 0; }
3032 if { ac_try='./conftest$ac_cv_exeext'
3033 { { case "(($ac_try" in
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_try") 2>&5
3041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042 test $ac_status = 0; }; }; then
3045 if test "$cross_compiling" = maybe; then
3048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error $? "cannot run C++ compiled programs.
3051 If you meant to cross compile, use \`--host'.
3052 See \`config.log' for more details" "$LINENO" 5; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3057 $as_echo "$cross_compiling" >&6; }
3059 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3060 ac_clean_files=$ac_clean_files_save
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3062 $as_echo_n "checking for suffix of object files... " >&6; }
3063 if ${ac_cv_objext+:} false; then :
3064 $as_echo_n "(cached) " >&6
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3077 rm -f conftest.o conftest.obj
3078 if { { ac_try="$ac_compile"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_compile") 2>&5
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; }; then :
3089 for ac_file in conftest.o conftest.obj conftest.*; do
3090 test -f "$ac_file" || continue;
3092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3093 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 as_fn_error $? "cannot compute suffix of object files: cannot compile
3104 See \`config.log' for more details" "$LINENO" 5; }
3106 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3109 $as_echo "$ac_cv_objext" >&6; }
3110 OBJEXT=$ac_cv_objext
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3113 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3114 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3115 $as_echo_n "(cached) " >&6
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3131 if ac_fn_cxx_try_compile "$LINENO"; then :
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3141 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3142 if test $ac_compiler_gnu = yes; then
3147 ac_test_CXXFLAGS=${CXXFLAGS+set}
3148 ac_save_CXXFLAGS=$CXXFLAGS
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3150 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3151 if ${ac_cv_prog_cxx_g+:} false; then :
3152 $as_echo_n "(cached) " >&6
3154 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3155 ac_cxx_werror_flag=yes
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3169 if ac_fn_cxx_try_compile "$LINENO"; then :
3170 ac_cv_prog_cxx_g=yes
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3184 if ac_fn_cxx_try_compile "$LINENO"; then :
3187 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 if ac_fn_cxx_try_compile "$LINENO"; then :
3201 ac_cv_prog_cxx_g=yes
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3211 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3212 if test "$ac_test_CXXFLAGS" = set; then
3213 CXXFLAGS=$ac_save_CXXFLAGS
3214 elif test $ac_cv_prog_cxx_g = yes; then
3215 if test "$GXX" = yes; then
3221 if test "$GXX" = yes; then
3228 ac_cpp='$CPP $CPPFLAGS'
3229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232 DEPDIR="${am__leading_dot}deps"
3234 ac_config_commands="$ac_config_commands depfiles"
3237 am_make=${MAKE-make}
3238 cat > confinc << 'END'
3240 @echo this is the am__doit target
3243 # If we don't find an include directive, just comment out the code.
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3245 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3249 # First try GNU make style include.
3250 echo "include confinc" > confmf
3251 # Ignore all kinds of additional output from `make'.
3252 case `$am_make -s -f confmf 2> /dev/null` in #(
3253 *the\ am__doit\ target*)
3259 # Now try BSD make style include.
3260 if test "$am__include" = "#"; then
3261 echo '.include "confinc"' > confmf
3262 case `$am_make -s -f confmf 2> /dev/null` in #(
3263 *the\ am__doit\ target*)
3264 am__include=.include
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3273 $as_echo "$_am_result" >&6; }
3274 rm -f confinc confmf
3276 # Check whether --enable-dependency-tracking was given.
3277 if test "${enable_dependency_tracking+set}" = set; then :
3278 enableval=$enable_dependency_tracking;
3281 if test "x$enable_dependency_tracking" != xno; then
3282 am_depcomp="$ac_aux_dir/depcomp"
3286 if test "x$enable_dependency_tracking" != xno; then
3296 depcc="$CXX" am_compiler_list=
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3299 $as_echo_n "checking dependency style of $depcc... " >&6; }
3300 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3301 $as_echo_n "(cached) " >&6
3303 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3304 # We make a subdir and do the tests there. Otherwise we can end up
3305 # making bogus files that we don't know about and never remove. For
3306 # instance it was reported that on HP-UX the gcc test will end up
3307 # making a dummy file named `D' -- because `-MD' means `put the output
3311 # Copy depcomp to subdir because otherwise we won't find it if we're
3312 # using a relative directory.
3313 cp "$am_depcomp" conftest.dir
3315 # We will build objects and dependencies in a subdirectory because
3316 # it helps to detect inapplicable dependency modes. For instance
3317 # both Tru64's cc and ICC support -MD to output dependencies as a
3318 # side effect of compilation, but ICC will put the dependencies in
3319 # the current directory while Tru64 will put them in the object
3323 am_cv_CXX_dependencies_compiler_type=none
3324 if test "$am_compiler_list" = ""; then
3325 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3328 case " $depcc " in #(
3329 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3332 for depmode in $am_compiler_list; do
3333 # Setup a source with many dependencies, because some compilers
3334 # like to wrap large dependency lists on column 80 (with \), and
3335 # we should not choose a depcomp mode which is confused by this.
3337 # We need to recreate these files for each test, as the compiler may
3338 # overwrite some of them when testing with obscure command lines.
3339 # This happens at least with the AIX C compiler.
3341 for i in 1 2 3 4 5 6; do
3342 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3343 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3344 # Solaris 8's {/usr,}/bin/sh.
3345 touch sub/conftst$i.h
3347 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3349 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3350 # mode. It turns out that the SunPro C++ compiler does not properly
3351 # handle `-M -o', and we need to detect this. Also, some Intel
3352 # versions had trouble with output in subdirs
3353 am__obj=sub/conftest.${OBJEXT-o}
3354 am__minus_obj="-o $am__obj"
3357 # This depmode causes a compiler race in universal mode.
3358 test "$am__universal" = false || continue
3361 # after this tag, mechanisms are not by side-effect, so they'll
3362 # only be used when explicitly requested
3363 if test "x$enable_dependency_tracking" = xyes; then
3369 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3370 # This compiler won't grok `-c -o', but also, the minuso test has
3371 # not run yet. These depmodes are late enough in the game, and
3372 # so weak that their functioning should not be impacted.
3373 am__obj=conftest.${OBJEXT-o}
3378 if depmode=$depmode \
3379 source=sub/conftest.c object=$am__obj \
3380 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3381 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3382 >/dev/null 2>conftest.err &&
3383 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3384 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3385 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3386 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3387 # icc doesn't choke on unknown options, it will just issue warnings
3388 # or remarks (even with -Werror). So we grep stderr for any message
3389 # that says an option was ignored or not supported.
3390 # When given -MP, icc 7.0 and 7.1 complain thusly:
3391 # icc: Command line warning: ignoring option '-M'; no argument required
3392 # The diagnosis changed in icc 8.0:
3393 # icc: Command line remark: option '-MP' not supported
3394 if (grep 'ignoring option' conftest.err ||
3395 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3396 am_cv_CXX_dependencies_compiler_type=$depmode
3405 am_cv_CXX_dependencies_compiler_type=none
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3410 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3411 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3414 test "x$enable_dependency_tracking" != xno \
3415 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3416 am__fastdepCXX_TRUE=
3417 am__fastdepCXX_FALSE='#'
3419 am__fastdepCXX_TRUE='#'
3420 am__fastdepCXX_FALSE=
3425 ac_cpp='$CPP $CPPFLAGS'
3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 if test -n "$ac_tool_prefix"; then
3430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if ${ac_cv_prog_CC+:} false; then :
3435 $as_echo_n "(cached) " >&6
3437 if test -n "$CC"; then
3438 ac_cv_prog_CC="$CC" # Let the user override the test.
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 test -z "$as_dir" && as_dir=.
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 if test -n "$CC"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3460 $as_echo "$CC" >&6; }
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3468 if test -z "$ac_cv_prog_CC"; then
3470 # Extract the first word of "gcc", so it can be a program name with args.
3471 set dummy gcc; ac_word=$2
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473 $as_echo_n "checking for $ac_word... " >&6; }
3474 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3475 $as_echo_n "(cached) " >&6
3477 if test -n "$ac_ct_CC"; then
3478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484 test -z "$as_dir" && as_dir=.
3485 for ac_exec_ext in '' $ac_executable_extensions; do
3486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3487 ac_cv_prog_ac_ct_CC="gcc"
3488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3498 if test -n "$ac_ct_CC"; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3500 $as_echo "$ac_ct_CC" >&6; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3506 if test "x$ac_ct_CC" = x; then
3509 case $cross_compiling:$ac_tool_warned in
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3513 ac_tool_warned=yes ;;
3521 if test -z "$CC"; then
3522 if test -n "$ac_tool_prefix"; then
3523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3524 set dummy ${ac_tool_prefix}cc; ac_word=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if ${ac_cv_prog_CC+:} false; then :
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$CC"; then
3531 ac_cv_prog_CC="$CC" # Let the user override the test.
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_prog_CC="${ac_tool_prefix}cc"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if test -n "$CC"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3553 $as_echo "$CC" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3562 if test -z "$CC"; then
3563 # Extract the first word of "cc", so it can be a program name with args.
3564 set dummy cc; ac_word=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if ${ac_cv_prog_CC+:} false; then :
3568 $as_echo_n "(cached) " >&6
3570 if test -n "$CC"; then
3571 ac_cv_prog_CC="$CC" # Let the user override the test.
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3582 ac_prog_rejected=yes
3586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 if test $ac_prog_rejected = yes; then
3594 # We found a bogon in the path, so make sure we never use it.
3595 set dummy $ac_cv_prog_CC
3597 if test $# != 0; then
3598 # We chose a different compiler from the bogus one.
3599 # However, it has the same basename, so the bogon will be chosen
3600 # first if we set CC to just the basename; use the full file name.
3602 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3608 if test -n "$CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3618 if test -z "$CC"; then
3619 if test -n "$ac_tool_prefix"; then
3620 for ac_prog in cl.exe
3622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_CC+:} false; then :
3627 $as_echo_n "(cached) " >&6
3629 if test -n "$CC"; then
3630 ac_cv_prog_CC="$CC" # Let the user override the test.
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3639 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 if test -n "$CC"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3652 $as_echo "$CC" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3659 test -n "$CC" && break
3662 if test -z "$CC"; then
3664 for ac_prog in cl.exe
3666 # Extract the first word of "$ac_prog", so it can be a program name with args.
3667 set dummy $ac_prog; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3671 $as_echo_n "(cached) " >&6
3673 if test -n "$ac_ct_CC"; then
3674 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683 ac_cv_prog_ac_ct_CC="$ac_prog"
3684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3694 if test -n "$ac_ct_CC"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3696 $as_echo "$ac_ct_CC" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3703 test -n "$ac_ct_CC" && break
3706 if test "x$ac_ct_CC" = x; then
3709 case $cross_compiling:$ac_tool_warned in
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned=yes ;;
3722 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error $? "no acceptable C compiler found in \$PATH
3725 See \`config.log' for more details" "$LINENO" 5; }
3727 # Provide some information about the compiler.
3728 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3731 for ac_option in --version -v -V -qversion; do
3732 { { ac_try="$ac_compiler $ac_option >&5"
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3738 $as_echo "$ac_try_echo"; } >&5
3739 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3741 if test -s conftest.err; then
3743 ... rest of stderr output deleted ...
3744 10q' conftest.err >conftest.er1
3745 cat conftest.er1 >&5
3747 rm -f conftest.er1 conftest.err
3748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749 test $ac_status = 0; }
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3753 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3754 if ${ac_cv_c_compiler_gnu+:} false; then :
3755 $as_echo_n "(cached) " >&6
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3771 if ac_fn_c_try_compile "$LINENO"; then :
3776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3777 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3781 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3782 if test $ac_compiler_gnu = yes; then
3787 ac_test_CFLAGS=${CFLAGS+set}
3788 ac_save_CFLAGS=$CFLAGS
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3790 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3791 if ${ac_cv_prog_cc_g+:} false; then :
3792 $as_echo_n "(cached) " >&6
3794 ac_save_c_werror_flag=$ac_c_werror_flag
3795 ac_c_werror_flag=yes
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3809 if ac_fn_c_try_compile "$LINENO"; then :
3813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h. */
3824 if ac_fn_c_try_compile "$LINENO"; then :
3827 ac_c_werror_flag=$ac_save_c_werror_flag
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3840 if ac_fn_c_try_compile "$LINENO"; then :
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848 ac_c_werror_flag=$ac_save_c_werror_flag
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3851 $as_echo "$ac_cv_prog_cc_g" >&6; }
3852 if test "$ac_test_CFLAGS" = set; then
3853 CFLAGS=$ac_save_CFLAGS
3854 elif test $ac_cv_prog_cc_g = yes; then
3855 if test "$GCC" = yes; then
3861 if test "$GCC" = yes; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3868 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3869 if ${ac_cv_prog_cc_c89+:} false; then :
3870 $as_echo_n "(cached) " >&6
3872 ac_cv_prog_cc_c89=no
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3878 #include <sys/types.h>
3879 #include <sys/stat.h>
3880 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3881 struct buf { int x; };
3882 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3883 static char *e (p, i)
3889 static char *f (char * (*g) (char **, int), char **p, ...)
3894 s = g (p, va_arg (v,int));
3899 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3900 function prototypes and stuff, but not '\xHH' hex character constants.
3901 These don't provoke an error unfortunately, instead are silently treated
3902 as 'x'. The following induces an error, until -std is added to get
3903 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3904 array size at least. It's necessary to write '\x00'==0 to get something
3905 that's true only with -std. */
3906 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3908 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3909 inside strings and character constants. */
3911 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3913 int test (int i, double x);
3914 struct s1 {int (*f) (int a);};
3915 struct s2 {int (*f) (double a);};
3916 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3922 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3927 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3928 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3930 CC="$ac_save_CC $ac_arg"
3931 if ac_fn_c_try_compile "$LINENO"; then :
3932 ac_cv_prog_cc_c89=$ac_arg
3934 rm -f core conftest.err conftest.$ac_objext
3935 test "x$ac_cv_prog_cc_c89" != "xno" && break
3937 rm -f conftest.$ac_ext
3942 case "x$ac_cv_prog_cc_c89" in
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3945 $as_echo "none needed" >&6; } ;;
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3948 $as_echo "unsupported" >&6; } ;;
3950 CC="$CC $ac_cv_prog_cc_c89"
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3952 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3954 if test "x$ac_cv_prog_cc_c89" != xno; then :
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964 depcc="$CC" am_compiler_list=
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3967 $as_echo_n "checking dependency style of $depcc... " >&6; }
3968 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3969 $as_echo_n "(cached) " >&6
3971 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3972 # We make a subdir and do the tests there. Otherwise we can end up
3973 # making bogus files that we don't know about and never remove. For
3974 # instance it was reported that on HP-UX the gcc test will end up
3975 # making a dummy file named `D' -- because `-MD' means `put the output
3979 # Copy depcomp to subdir because otherwise we won't find it if we're
3980 # using a relative directory.
3981 cp "$am_depcomp" conftest.dir
3983 # We will build objects and dependencies in a subdirectory because
3984 # it helps to detect inapplicable dependency modes. For instance
3985 # both Tru64's cc and ICC support -MD to output dependencies as a
3986 # side effect of compilation, but ICC will put the dependencies in
3987 # the current directory while Tru64 will put them in the object
3991 am_cv_CC_dependencies_compiler_type=none
3992 if test "$am_compiler_list" = ""; then
3993 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3996 case " $depcc " in #(
3997 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4000 for depmode in $am_compiler_list; do
4001 # Setup a source with many dependencies, because some compilers
4002 # like to wrap large dependency lists on column 80 (with \), and
4003 # we should not choose a depcomp mode which is confused by this.
4005 # We need to recreate these files for each test, as the compiler may
4006 # overwrite some of them when testing with obscure command lines.
4007 # This happens at least with the AIX C compiler.
4009 for i in 1 2 3 4 5 6; do
4010 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4011 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4012 # Solaris 8's {/usr,}/bin/sh.
4013 touch sub/conftst$i.h
4015 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4017 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4018 # mode. It turns out that the SunPro C++ compiler does not properly
4019 # handle `-M -o', and we need to detect this. Also, some Intel
4020 # versions had trouble with output in subdirs
4021 am__obj=sub/conftest.${OBJEXT-o}
4022 am__minus_obj="-o $am__obj"
4025 # This depmode causes a compiler race in universal mode.
4026 test "$am__universal" = false || continue
4029 # after this tag, mechanisms are not by side-effect, so they'll
4030 # only be used when explicitly requested
4031 if test "x$enable_dependency_tracking" = xyes; then
4037 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4038 # This compiler won't grok `-c -o', but also, the minuso test has
4039 # not run yet. These depmodes are late enough in the game, and
4040 # so weak that their functioning should not be impacted.
4041 am__obj=conftest.${OBJEXT-o}
4046 if depmode=$depmode \
4047 source=sub/conftest.c object=$am__obj \
4048 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4049 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4050 >/dev/null 2>conftest.err &&
4051 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4052 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4053 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4054 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4055 # icc doesn't choke on unknown options, it will just issue warnings
4056 # or remarks (even with -Werror). So we grep stderr for any message
4057 # that says an option was ignored or not supported.
4058 # When given -MP, icc 7.0 and 7.1 complain thusly:
4059 # icc: Command line warning: ignoring option '-M'; no argument required
4060 # The diagnosis changed in icc 8.0:
4061 # icc: Command line remark: option '-MP' not supported
4062 if (grep 'ignoring option' conftest.err ||
4063 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4064 am_cv_CC_dependencies_compiler_type=$depmode
4073 am_cv_CC_dependencies_compiler_type=none
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4078 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4079 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4082 test "x$enable_dependency_tracking" != xno \
4083 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4085 am__fastdepCC_FALSE='#'
4087 am__fastdepCC_TRUE='#'
4088 am__fastdepCC_FALSE=
4093 ac_cpp='$CXXCPP $CPPFLAGS'
4094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4103 # Check whether --enable-openmp was given.
4104 if test "${enable_openmp+set}" = set; then :
4105 enableval=$enable_openmp;
4108 if test "$enable_openmp" != no; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to support OpenMP" >&5
4110 $as_echo_n "checking for $CXX option to support OpenMP... " >&6; }
4111 if ${ac_cv_prog_cxx_openmp+:} false; then :
4112 $as_echo_n "(cached) " >&6
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4121 int main () { return omp_get_num_threads (); }
4124 if ac_fn_cxx_try_link "$LINENO"; then :
4125 ac_cv_prog_cxx_openmp='none needed'
4127 ac_cv_prog_cxx_openmp='unsupported'
4128 for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp; do
4129 ac_save_CXXFLAGS=$CXXFLAGS
4130 CXXFLAGS="$CXXFLAGS $ac_option"
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4138 int main () { return omp_get_num_threads (); }
4141 if ac_fn_cxx_try_link "$LINENO"; then :
4142 ac_cv_prog_cxx_openmp=$ac_option
4144 rm -f core conftest.err conftest.$ac_objext \
4145 conftest$ac_exeext conftest.$ac_ext
4146 CXXFLAGS=$ac_save_CXXFLAGS
4147 if test "$ac_cv_prog_cxx_openmp" != unsupported; then
4152 rm -f core conftest.err conftest.$ac_objext \
4153 conftest$ac_exeext conftest.$ac_ext
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_openmp" >&5
4156 $as_echo "$ac_cv_prog_cxx_openmp" >&6; }
4157 case $ac_cv_prog_cxx_openmp in #(
4158 "none needed" | unsupported)
4161 OPENMP_CXXFLAGS=$ac_cv_prog_cxx_openmp ;;
4168 # Check whether --with-ViennaRNA-lib was given.
4169 if test "${with_ViennaRNA_lib+set}" = set; then :
4170 withval=$with_ViennaRNA_lib; LIBS="$withval/libRNA.a ${LIBS}" &&
4171 $as_echo "#define HAVE_LIBRNA 1" >>confdefs.h
4173 LDFLAGS="-L$withval -R$withval ${LDFLAGS}"
4175 LDFLAGS="-L../../lib -L../../ViennaRNA ${LDFLAGS} ${OPENMP_CXXFLAGS}"
4176 if test -r "../lib/fold.c"; then
4177 $as_echo "#define HAVE_LIBRNA 1" >>confdefs.h
4179 LIBS="-lRNA ${LIBS}"
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using (to be built) libRNA.a in ../lib" >&5
4181 $as_echo "using (to be built) libRNA.a in ../lib" >&6; }
4183 if test -r "../ViennaRNA/fold.c"; then
4184 $as_echo "#define HAVE_LIBRNA 1" >>confdefs.h
4186 LIBS="-lRNA ${LIBS}"
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using (to be built) libRNA.a in ../ViennaRNA" >&5
4188 $as_echo "using (to be built) libRNA.a in ../ViennaRNA" >&6; }
4196 # Check whether --with-xml2-lib was given.
4197 if test "${with_xml2_lib+set}" = set; then :
4198 withval=$with_xml2_lib; LDFLAGS="-L$withval/lib -R$withval/lib ${LDFLAGS}"
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4200 $as_echo_n "checking for main in -lxml2... " >&6; }
4201 if ${ac_cv_lib_xml2_main+:} false; then :
4202 $as_echo_n "(cached) " >&6
4204 ac_check_lib_save_LIBS=$LIBS
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4218 if ac_fn_cxx_try_link "$LINENO"; then :
4219 ac_cv_lib_xml2_main=yes
4221 ac_cv_lib_xml2_main=no
4223 rm -f core conftest.err conftest.$ac_objext \
4224 conftest$ac_exeext conftest.$ac_ext
4225 LIBS=$ac_check_lib_save_LIBS
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4228 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4229 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4231 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
4234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error $? "--with-xml2-lib was given but test for libxml2 failed
4237 See \`config.log' for more details" "$LINENO" 5; }
4240 LIBS="-lxml2 ${LIBS}"
4241 CPPFLAGS="-I$withval/include/libxml2/ ${CPPFLAGS}"
4246 # Check whether --with-xmlplusplus-lib was given.
4247 if test "${with_xmlplusplus_lib+set}" = set; then :
4248 withval=$with_xmlplusplus_lib; LDFLAGS="-L$withval/lib -R$withval/lib ${LDFLAGS}"
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml++-1.0" >&5
4250 $as_echo_n "checking for main in -lxml++-1.0... " >&6; }
4251 if ${ac_cv_lib_xmlpp_1_0_main+:} false; then :
4252 $as_echo_n "(cached) " >&6
4254 ac_check_lib_save_LIBS=$LIBS
4255 LIBS="-lxml++-1.0 $LIBS"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4268 if ac_fn_cxx_try_link "$LINENO"; then :
4269 ac_cv_lib_xmlpp_1_0_main=yes
4271 ac_cv_lib_xmlpp_1_0_main=no
4273 rm -f core conftest.err conftest.$ac_objext \
4274 conftest$ac_exeext conftest.$ac_ext
4275 LIBS=$ac_check_lib_save_LIBS
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xmlpp_1_0_main" >&5
4278 $as_echo "$ac_cv_lib_xmlpp_1_0_main" >&6; }
4279 if test "x$ac_cv_lib_xmlpp_1_0_main" = xyes; then :
4281 $as_echo "#define HAVE_LIBXMLPLUSPLUS 1" >>confdefs.h
4284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286 as_fn_error $? "--with-xmlplusplus-lib was given but test for libxml++-1.0 failed
4287 See \`config.log' for more details" "$LINENO" 5; }
4290 LIBS="-lxml++-1.0 ${LIBS}"
4291 CPPFLAGS="-I$withval/include/libxml++-1.0/ ${CPPFLAGS}"
4295 save_CPPFLAGS=$CPPFLAGS
4296 CPPFLAGS="-Ig2-0.70/src/ ${CPPFLAGS}"
4300 ac_cpp='$CXXCPP $CPPFLAGS'
4301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4305 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4306 if test -z "$CXXCPP"; then
4307 if ${ac_cv_prog_CXXCPP+:} false; then :
4308 $as_echo_n "(cached) " >&6
4310 # Double quotes because CXXCPP needs to be expanded
4311 for CXXCPP in "$CXX -E" "/lib/cpp"
4314 for ac_cxx_preproc_warn_flag in '' yes
4316 # Use a header file that comes with gcc, so configuring glibc
4317 # with a fresh cross-compiler works.
4318 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4319 # <limits.h> exists even on freestanding compilers.
4320 # On the NeXT, cc -E runs the code through the compiler's parser,
4321 # not just through cpp. "Syntax error" is here to catch this case.
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4325 # include <limits.h>
4327 # include <assert.h>
4331 if ac_fn_cxx_try_cpp "$LINENO"; then :
4334 # Broken: fails on valid input.
4337 rm -f conftest.err conftest.i conftest.$ac_ext
4339 # OK, works on sane cases. Now check whether nonexistent headers
4340 # can be detected and how.
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4343 #include <ac_nonexistent.h>
4345 if ac_fn_cxx_try_cpp "$LINENO"; then :
4346 # Broken: success on invalid input.
4349 # Passes both tests.
4353 rm -f conftest.err conftest.i conftest.$ac_ext
4356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4357 rm -f conftest.i conftest.err conftest.$ac_ext
4358 if $ac_preproc_ok; then :
4363 ac_cv_prog_CXXCPP=$CXXCPP
4366 CXXCPP=$ac_cv_prog_CXXCPP
4368 ac_cv_prog_CXXCPP=$CXXCPP
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4371 $as_echo "$CXXCPP" >&6; }
4373 for ac_cxx_preproc_warn_flag in '' yes
4375 # Use a header file that comes with gcc, so configuring glibc
4376 # with a fresh cross-compiler works.
4377 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4378 # <limits.h> exists even on freestanding compilers.
4379 # On the NeXT, cc -E runs the code through the compiler's parser,
4380 # not just through cpp. "Syntax error" is here to catch this case.
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4384 # include <limits.h>
4386 # include <assert.h>
4390 if ac_fn_cxx_try_cpp "$LINENO"; then :
4393 # Broken: fails on valid input.
4396 rm -f conftest.err conftest.i conftest.$ac_ext
4398 # OK, works on sane cases. Now check whether nonexistent headers
4399 # can be detected and how.
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4402 #include <ac_nonexistent.h>
4404 if ac_fn_cxx_try_cpp "$LINENO"; then :
4405 # Broken: success on invalid input.
4408 # Passes both tests.
4412 rm -f conftest.err conftest.i conftest.$ac_ext
4415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4416 rm -f conftest.i conftest.err conftest.$ac_ext
4417 if $ac_preproc_ok; then :
4420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4423 See \`config.log' for more details" "$LINENO" 5; }
4427 ac_cpp='$CXXCPP $CPPFLAGS'
4428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4434 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4435 if ${ac_cv_path_GREP+:} false; then :
4436 $as_echo_n "(cached) " >&6
4438 if test -z "$GREP"; then
4439 ac_path_GREP_found=false
4440 # Loop through the user's path and test for each of PROGNAME-LIST
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4445 test -z "$as_dir" && as_dir=.
4446 for ac_prog in grep ggrep; do
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4449 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4450 # Check for GNU ac_path_GREP and select it if it is found.
4451 # Check for GNU $ac_path_GREP
4452 case `"$ac_path_GREP" --version 2>&1` in
4454 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4457 $as_echo_n 0123456789 >"conftest.in"
4460 cat "conftest.in" "conftest.in" >"conftest.tmp"
4461 mv "conftest.tmp" "conftest.in"
4462 cp "conftest.in" "conftest.nl"
4463 $as_echo 'GREP' >> "conftest.nl"
4464 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4465 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4466 as_fn_arith $ac_count + 1 && ac_count=$as_val
4467 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4468 # Best one so far, save it but keep looking for a better one
4469 ac_cv_path_GREP="$ac_path_GREP"
4470 ac_path_GREP_max=$ac_count
4472 # 10*(2^10) chars as input seems more than enough
4473 test $ac_count -gt 10 && break
4475 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 $ac_path_GREP_found && break 3
4483 if test -z "$ac_cv_path_GREP"; then
4484 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4487 ac_cv_path_GREP=$GREP
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4492 $as_echo "$ac_cv_path_GREP" >&6; }
4493 GREP="$ac_cv_path_GREP"
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4497 $as_echo_n "checking for egrep... " >&6; }
4498 if ${ac_cv_path_EGREP+:} false; then :
4499 $as_echo_n "(cached) " >&6
4501 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4502 then ac_cv_path_EGREP="$GREP -E"
4504 if test -z "$EGREP"; then
4505 ac_path_EGREP_found=false
4506 # Loop through the user's path and test for each of PROGNAME-LIST
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4511 test -z "$as_dir" && as_dir=.
4512 for ac_prog in egrep; do
4513 for ac_exec_ext in '' $ac_executable_extensions; do
4514 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4515 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4516 # Check for GNU ac_path_EGREP and select it if it is found.
4517 # Check for GNU $ac_path_EGREP
4518 case `"$ac_path_EGREP" --version 2>&1` in
4520 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4523 $as_echo_n 0123456789 >"conftest.in"
4526 cat "conftest.in" "conftest.in" >"conftest.tmp"
4527 mv "conftest.tmp" "conftest.in"
4528 cp "conftest.in" "conftest.nl"
4529 $as_echo 'EGREP' >> "conftest.nl"
4530 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4532 as_fn_arith $ac_count + 1 && ac_count=$as_val
4533 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4534 # Best one so far, save it but keep looking for a better one
4535 ac_cv_path_EGREP="$ac_path_EGREP"
4536 ac_path_EGREP_max=$ac_count
4538 # 10*(2^10) chars as input seems more than enough
4539 test $ac_count -gt 10 && break
4541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4544 $ac_path_EGREP_found && break 3
4549 if test -z "$ac_cv_path_EGREP"; then
4550 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4553 ac_cv_path_EGREP=$EGREP
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4559 $as_echo "$ac_cv_path_EGREP" >&6; }
4560 EGREP="$ac_cv_path_EGREP"
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4564 $as_echo_n "checking for ANSI C header files... " >&6; }
4565 if ${ac_cv_header_stdc+:} false; then :
4566 $as_echo_n "(cached) " >&6
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4583 if ac_fn_cxx_try_compile "$LINENO"; then :
4584 ac_cv_header_stdc=yes
4586 ac_cv_header_stdc=no
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 if test $ac_cv_header_stdc = yes; then
4591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4598 $EGREP "memchr" >/dev/null 2>&1; then :
4601 ac_cv_header_stdc=no
4607 if test $ac_cv_header_stdc = yes; then
4608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4615 $EGREP "free" >/dev/null 2>&1; then :
4618 ac_cv_header_stdc=no
4624 if test $ac_cv_header_stdc = yes; then
4625 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4626 if test "$cross_compiling" = yes; then :
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4633 #if ((' ' & 0x0FF) == 0x020)
4634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4637 # define ISLOWER(c) \
4638 (('a' <= (c) && (c) <= 'i') \
4639 || ('j' <= (c) && (c) <= 'r') \
4640 || ('s' <= (c) && (c) <= 'z'))
4641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4649 for (i = 0; i < 256; i++)
4650 if (XOR (islower (i), ISLOWER (i))
4651 || toupper (i) != TOUPPER (i))
4656 if ac_fn_cxx_try_run "$LINENO"; then :
4659 ac_cv_header_stdc=no
4661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4662 conftest.$ac_objext conftest.beam conftest.$ac_ext
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4668 $as_echo "$ac_cv_header_stdc" >&6; }
4669 if test $ac_cv_header_stdc = yes; then
4671 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4677 inttypes.h stdint.h unistd.h
4679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4680 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4683 cat >>confdefs.h <<_ACEOF
4684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4692 ac_fn_cxx_check_header_mongrel "$LINENO" "g2.h" "ac_cv_header_g2_h" "$ac_includes_default"
4693 if test "x$ac_cv_header_g2_h" = xyes; then :
4695 $as_echo "#define HAVE_LIBG2 1" >>confdefs.h
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without support for graphical output. Install the g2 library that comes with the RNAforester distribution or download the latest version at http://g2.sourceforge.net/" >&5
4699 $as_echo "$as_me: WARNING: Compiling without support for graphical output. Install the g2 library that comes with the RNAforester distribution or download the latest version at http://g2.sourceforge.net/" >&2;}
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4705 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4706 if ${ac_cv_c_const+:} false; then :
4707 $as_echo_n "(cached) " >&6
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4715 /* FIXME: Include the comments suggested by Paul. */
4717 /* Ultrix mips cc rejects this. */
4718 typedef int charset[2];
4720 /* SunOS 4.1.1 cc rejects this. */
4721 char const *const *pcpcc;
4723 /* NEC SVR4.0.2 mips cc rejects this. */
4724 struct point {int x, y;};
4725 static struct point const zero = {0,0};
4726 /* AIX XL C 1.02.0.0 rejects this.
4727 It does not let you subtract one const X* pointer from another in
4728 an arm of an if-expression whose if-part is not a constant
4730 const char *g = "string";
4731 pcpcc = &g + (g ? g-g : 0);
4732 /* HPUX 7.0 cc rejects these. */
4734 ppc = (char**) pcpcc;
4735 pcpcc = (char const *const *) ppc;
4736 { /* SCO 3.2v4 cc rejects this. */
4738 char const *s = 0 ? (char *) 0 : (char const *) 0;
4743 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4745 const int *foo = &x[0];
4748 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4749 typedef const int *iptr;
4753 { /* AIX XL C 1.02.0.0 rejects this saying
4754 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4755 struct s { int j; const int *ap[3]; };
4756 struct s *b; b->j = 5;
4758 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4762 return !cs[0] && !zero.x;
4769 if ac_fn_cxx_try_compile "$LINENO"; then :
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4777 $as_echo "$ac_cv_c_const" >&6; }
4778 if test $ac_cv_c_const = no; then
4780 $as_echo "#define const /**/" >>confdefs.h
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4785 $as_echo_n "checking for inline... " >&6; }
4786 if ${ac_cv_c_inline+:} false; then :
4787 $as_echo_n "(cached) " >&6
4790 for ac_kw in inline __inline__ __inline; do
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4795 static $ac_kw foo_t static_foo () {return 0; }
4796 $ac_kw foo_t foo () {return 0; }
4800 if ac_fn_cxx_try_compile "$LINENO"; then :
4801 ac_cv_c_inline=$ac_kw
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 test "$ac_cv_c_inline" != no && break
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4809 $as_echo "$ac_cv_c_inline" >&6; }
4811 case $ac_cv_c_inline in
4814 case $ac_cv_c_inline in
4816 *) ac_val=$ac_cv_c_inline;;
4818 cat >>confdefs.h <<_ACEOF
4820 #define inline $ac_val
4826 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4827 if test "x$ac_cv_type_size_t" = xyes; then :
4831 cat >>confdefs.h <<_ACEOF
4832 #define size_t unsigned int
4838 CPPFLAGS="$save_CPPFLAGS -I../g2-0.70/include/ "
4839 LDFLAGS="-L../g2-0.70 ${LDFLAGS}"
4841 if ${HAVE_LIBG2}; then
4853 subdirs="$subdirs g2-0.70"
4855 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
4857 cat >confcache <<\_ACEOF
4858 # This file is a shell script that caches the results of configure
4859 # tests run on this system so they can be shared between configure
4860 # scripts and configure runs, see configure's option --config-cache.
4861 # It is not useful on other systems. If it contains results you don't
4862 # want to keep, you may remove or edit it.
4864 # config.status only pays attention to the cache file if you give it
4865 # the --recheck option to rerun configure.
4867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4873 # The following way of writing the cache mishandles newlines in values,
4874 # but we know of no workaround that is simple, portable, and efficient.
4875 # So, we kill variables containing newlines.
4876 # Ultrix sh set writes to stderr and can't be redirected directly,
4877 # and sets the high bit in the cache file unless we assign to the vars.
4879 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4880 eval ac_val=\$$ac_var
4884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4888 _ | IFS | as_nl) ;; #(
4889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4890 *) { eval $ac_var=; unset $ac_var;} ;;
4896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4897 *${as_nl}ac_space=\ *)
4898 # `set' does not quote correctly, so add quotes: double-quote
4899 # substitution turns \\\\ into \\, and sed turns \\ into \.
4902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4905 # `set' quotes correctly as required by POSIX, so do not add quotes.
4906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4919 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4920 if test -w "$cache_file"; then
4921 if test "x$cache_file" != "x/dev/null"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4923 $as_echo "$as_me: updating cache $cache_file" >&6;}
4924 if test ! -f "$cache_file" || test -h "$cache_file"; then
4925 cat confcache >"$cache_file"
4927 case $cache_file in #(
4929 mv -f confcache "$cache_file"$$ &&
4930 mv -f "$cache_file"$$ "$cache_file" ;; #(
4932 mv -f confcache "$cache_file" ;;
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4943 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4944 # Let make expand exec_prefix.
4945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4947 DEFS=-DHAVE_CONFIG_H
4952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4953 # 1. Remove the extension, and $U if already installed.
4954 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4955 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4957 # will be set to the directory where LIBOBJS objects are built.
4958 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4959 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4963 LTLIBOBJS=$ac_ltlibobjs
4966 if test -n "$EXEEXT"; then
4968 am__EXEEXT_FALSE='#'
4974 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4975 as_fn_error $? "conditional \"AMDEP\" was never defined.
4976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4978 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4979 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4982 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4983 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4987 : "${CONFIG_STATUS=./config.status}"
4989 ac_clean_files_save=$ac_clean_files
4990 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4992 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4994 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4996 # Generated by $as_me.
4997 # Run this file to recreate the current configuration.
4998 # Compiler output produced by configure, useful for debugging
4999 # configure, is in config.log if it exists.
5005 SHELL=\${CONFIG_SHELL-$SHELL}
5008 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5009 ## -------------------- ##
5010 ## M4sh Initialization. ##
5011 ## -------------------- ##
5013 # Be more Bourne compatible
5014 DUALCASE=1; export DUALCASE # for MKS sh
5015 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5018 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5019 # is contrary to our usage. Disable this feature.
5020 alias -g '${1+"$@"}'='"$@"'
5021 setopt NO_GLOB_SUBST
5023 case `(set -o) 2>/dev/null` in #(
5035 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5036 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5038 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5039 # Prefer a ksh shell builtin over an external printf program on Solaris,
5040 # but without wasting forks for bash or zsh.
5041 if test -z "$BASH_VERSION$ZSH_VERSION" \
5042 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5043 as_echo='print -r --'
5044 as_echo_n='print -rn --'
5045 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5046 as_echo='printf %s\n'
5047 as_echo_n='printf %s'
5049 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5050 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5051 as_echo_n='/usr/ucb/echo -n'
5053 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5054 as_echo_n_body='eval
5058 expr "X$arg" : "X\\(.*\\)$as_nl";
5059 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5061 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5063 export as_echo_n_body
5064 as_echo_n='sh -c $as_echo_n_body as_echo'
5067 as_echo='sh -c $as_echo_body as_echo'
5070 # The user is always right.
5071 if test "${PATH_SEPARATOR+set}" != set; then
5073 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5074 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5081 # We need space, tab and new line, in precisely that order. Quoting is
5082 # there to prevent editors from complaining about space-tab.
5083 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5084 # splitting by setting IFS to empty value.)
5087 # Find who we are. Look in the path if we contain no directory separator.
5090 *[\\/]* ) as_myself=$0 ;;
5091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir=.
5096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5102 # We did not find ourselves, most probably we were run as `sh COMMAND'
5103 # in which case we are not to be found in the path.
5104 if test "x$as_myself" = x; then
5107 if test ! -f "$as_myself"; then
5108 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5112 # Unset variables that we do not need and which cause bugs (e.g. in
5113 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5114 # suppresses any "Segmentation fault" message there. '((' could
5115 # trigger a bug in pdksh 5.2.14.
5116 for as_var in BASH_ENV ENV MAIL MAILPATH
5117 do eval test x\${$as_var+set} = xset \
5118 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5134 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5135 # ----------------------------------------
5136 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5137 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5138 # script with STATUS, using 1 if that was 0.
5141 as_status=$1; test $as_status -eq 0 && as_status=1
5143 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5144 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5146 $as_echo "$as_me: error: $2" >&2
5147 as_fn_exit $as_status
5151 # as_fn_set_status STATUS
5152 # -----------------------
5153 # Set $? to STATUS, without forking.
5157 } # as_fn_set_status
5161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5171 # Portably unset VAR.
5174 { eval $1=; unset $1;}
5176 as_unset=as_fn_unset
5177 # as_fn_append VAR VALUE
5178 # ----------------------
5179 # Append the text in VALUE to the end of the definition contained in VAR. Take
5180 # advantage of any shell optimizations that allow amortized linear growth over
5181 # repeated appends, instead of the typical quadratic growth present in naive
5183 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5184 eval 'as_fn_append ()
5195 # as_fn_arith ARG...
5196 # ------------------
5197 # Perform arithmetic evaluation on the ARGs, and store the result in the
5198 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5199 # must be portable across $(()) and expr.
5200 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5201 eval 'as_fn_arith ()
5208 as_val=`expr "$@" || test $? -eq 1`
5213 if expr a : '\(a\)' >/dev/null 2>&1 &&
5214 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5220 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5221 as_basename=basename
5226 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5232 as_me=`$as_basename -- "$0" ||
5233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5234 X"$0" : 'X\(//\)$' \| \
5235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5237 sed '/^.*\/\([^/][^/]*\)\/*$/{
5251 # Avoid depending upon Character Ranges.
5252 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5253 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5254 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5255 as_cr_digits='0123456789'
5256 as_cr_alnum=$as_cr_Letters$as_cr_digits
5258 ECHO_C= ECHO_N= ECHO_T=
5259 case `echo -n x` in #(((((
5261 case `echo 'xy\c'` in
5262 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5264 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5271 rm -f conf$$ conf$$.exe conf$$.file
5272 if test -d conf$$.dir; then
5273 rm -f conf$$.dir/conf$$.file
5276 mkdir conf$$.dir 2>/dev/null
5278 if (echo >conf$$.file) 2>/dev/null; then
5279 if ln -s conf$$.file conf$$ 2>/dev/null; then
5281 # ... but there are two gotchas:
5282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5284 # In both cases, we have to default to `cp -p'.
5285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5287 elif ln conf$$.file conf$$ 2>/dev/null; then
5295 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5296 rmdir conf$$.dir 2>/dev/null
5301 # Create "$as_dir" as a directory, including parents if necessary.
5306 -*) as_dir=./$as_dir;;
5308 test -d "$as_dir" || eval $as_mkdir_p || {
5312 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5313 *) as_qdir=$as_dir;;
5315 as_dirs="'$as_qdir' $as_dirs"
5316 as_dir=`$as_dirname -- "$as_dir" ||
5317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5318 X"$as_dir" : 'X\(//\)[^/]' \| \
5319 X"$as_dir" : 'X\(//\)$' \| \
5320 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5321 $as_echo X"$as_dir" |
5322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5339 test -d "$as_dir" && break
5341 test -z "$as_dirs" || eval "mkdir $as_dirs"
5342 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5346 if mkdir -p . 2>/dev/null; then
5347 as_mkdir_p='mkdir -p "$as_dir"'
5349 test -d ./-p && rmdir ./-p
5353 if test -x / >/dev/null 2>&1; then
5356 if ls -dL / >/dev/null 2>&1; then
5363 if test -d "$1"; then
5369 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5370 ???[sx]*):;;*)false;;esac;fi
5374 as_executable_p=$as_test_x
5376 # Sed expression to map a string onto a valid CPP name.
5377 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5379 # Sed expression to map a string onto a valid variable name.
5380 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5384 ## ----------------------------------- ##
5385 ## Main body of $CONFIG_STATUS script. ##
5386 ## ----------------------------------- ##
5388 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5391 # Save the log message, to keep $0 and so on meaningful, and to
5392 # report actual input values of CONFIG_FILES etc. instead of their
5393 # values after options handling.
5395 This file was extended by RNAforester $as_me 1.5, which was
5396 generated by GNU Autoconf 2.68. Invocation command line was
5398 CONFIG_FILES = $CONFIG_FILES
5399 CONFIG_HEADERS = $CONFIG_HEADERS
5400 CONFIG_LINKS = $CONFIG_LINKS
5401 CONFIG_COMMANDS = $CONFIG_COMMANDS
5404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5409 case $ac_config_files in *"
5410 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5413 case $ac_config_headers in *"
5414 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5419 # Files that config.status was made for.
5420 config_files="$ac_config_files"
5421 config_headers="$ac_config_headers"
5422 config_commands="$ac_config_commands"
5426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5428 \`$as_me' instantiates files and other configuration actions
5429 from templates according to the current configuration. Unless the files
5430 and actions are specified as TAGs, all are instantiated by default.
5432 Usage: $0 [OPTION]... [TAG]...
5434 -h, --help print this help, then exit
5435 -V, --version print version number and configuration settings, then exit
5436 --config print configuration, then exit
5437 -q, --quiet, --silent
5438 do not print progress messages
5439 -d, --debug don't remove temporary files
5440 --recheck update $as_me by reconfiguring in the same conditions
5441 --file=FILE[:TEMPLATE]
5442 instantiate the configuration file FILE
5443 --header=FILE[:TEMPLATE]
5444 instantiate the configuration header FILE
5446 Configuration files:
5449 Configuration headers:
5452 Configuration commands:
5455 Report bugs to <mhoechsm@techfak.uni-bielefeld.de>."
5458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5459 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5461 RNAforester config.status 1.5
5462 configured by $0, generated by GNU Autoconf 2.68,
5463 with options \\"\$ac_cs_config\\"
5465 Copyright (C) 2010 Free Software Foundation, Inc.
5466 This config.status script is free software; the Free Software Foundation
5467 gives unlimited permission to copy, distribute and modify it."
5474 test -n "\$AWK" || AWK=awk
5477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5478 # The default lists apply if the user does not specify any file.
5484 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5485 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5501 # Handling of the options.
5502 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5504 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5505 $as_echo "$ac_cs_version"; exit ;;
5506 --config | --confi | --conf | --con | --co | --c )
5507 $as_echo "$ac_cs_config"; exit ;;
5508 --debug | --debu | --deb | --de | --d | -d )
5510 --file | --fil | --fi | --f )
5513 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5514 '') as_fn_error $? "missing file argument" ;;
5516 as_fn_append CONFIG_FILES " '$ac_optarg'"
5517 ac_need_defaults=false;;
5518 --header | --heade | --head | --hea )
5521 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5523 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5524 ac_need_defaults=false;;
5526 # Conflict between --help and --header
5527 as_fn_error $? "ambiguous option: \`$1'
5528 Try \`$0 --help' for more information.";;
5529 --help | --hel | -h )
5530 $as_echo "$ac_cs_usage"; exit ;;
5531 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5532 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5536 -*) as_fn_error $? "unrecognized option: \`$1'
5537 Try \`$0 --help' for more information." ;;
5539 *) as_fn_append ac_config_targets " $1"
5540 ac_need_defaults=false ;;
5546 ac_configure_extra_args=
5548 if $ac_cs_silent; then
5550 ac_configure_extra_args="$ac_configure_extra_args --silent"
5554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5555 if \$ac_cs_recheck; then
5556 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5558 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5559 CONFIG_SHELL='$SHELL'
5565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5569 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5570 ## Running $as_me. ##
5576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5580 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5586 # Handling of arguments.
5587 for ac_config_target in $ac_config_targets
5589 case $ac_config_target in
5590 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5591 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5592 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5593 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5594 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5596 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5601 # If the user did not use the arguments to specify the items to instantiate,
5602 # then the envvar interface is used. Set only those that are not.
5603 # We use the long form for the default assignment because of an extremely
5604 # bizarre bug on SunOS 4.1.3.
5605 if $ac_need_defaults; then
5606 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5607 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5608 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5611 # Have a temporary directory for convenience. Make it in the build tree
5612 # simply because there is no reason against having it here, and in addition,
5613 # creating and moving files from /tmp can sometimes cause problems.
5614 # Hook for its removal unless debugging.
5615 # Note that there is a small window in which the directory will not be cleaned:
5616 # after its creation but before its name has been assigned to `$tmp'.
5620 trap 'exit_status=$?
5622 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5624 trap 'as_fn_exit 1' 1 2 13 15
5626 # Create a (secure) tmp directory for tmp files.
5629 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5633 tmp=./conf$$-$RANDOM
5634 (umask 077 && mkdir "$tmp")
5635 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5638 # Set up the scripts for CONFIG_FILES section.
5639 # No need to generate them if there are no CONFIG_FILES.
5640 # This happens for instance with `./config.status config.h'.
5641 if test -n "$CONFIG_FILES"; then
5644 ac_cr=`echo X | tr X '\015'`
5645 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5646 # But we know of no other shell where ac_cr would be empty at this
5647 # point, so we can use a bashism as a fallback.
5648 if test "x$ac_cr" = x; then
5649 eval ac_cr=\$\'\\r\'
5651 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5652 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5658 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5663 echo "cat >conf$$subs.awk <<_ACEOF" &&
5664 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5667 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5668 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5670 for ac_last_try in false false false false false :; do
5671 . ./conf$$subs.sh ||
5672 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5674 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5675 if test $ac_delim_n = $ac_delim_num; then
5677 elif $ac_last_try; then
5678 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5680 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5686 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5690 s/^/S["/; s/!.*/"]=/
5700 s/\(.\{148\}\)..*/\1/
5702 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5707 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5714 s/\(.\{148\}\)..*/\1/
5716 s/["\\]/\\&/g; s/^/"/; s/$/"/
5720 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5725 ' <conf$$subs.awk | sed '
5730 ' >>$CONFIG_STATUS || ac_write_fail=1
5731 rm -f conf$$subs.awk
5732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5734 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5735 for (key in S) S_is_set[key] = 1
5741 nfields = split(line, field, "@")
5743 len = length(field[1])
5744 for (i = 2; i < nfields; i++) {
5746 keylen = length(key)
5747 if (S_is_set[key]) {
5749 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5750 len += length(value) + length(field[++i])
5761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5762 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5763 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5766 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5767 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5770 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5771 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5772 # trailing colons and then remove the whole line if VPATH becomes empty
5773 # (actually we leave an empty line to preserve line numbers).
5774 if test "x$srcdir" = x.; then
5775 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5794 fi # test -n "$CONFIG_FILES"
5796 # Set up the scripts for CONFIG_HEADERS section.
5797 # No need to generate them if there are no CONFIG_HEADERS.
5798 # This happens for instance with `./config.status Makefile'.
5799 if test -n "$CONFIG_HEADERS"; then
5800 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5804 # Transform confdefs.h into an awk script `defines.awk', embedded as
5805 # here-document in config.status, that substitutes the proper values into
5806 # config.h.in to produce config.h.
5808 # Create a delimiter string that does not exist in confdefs.h, to ease
5809 # handling of long lines.
5811 for ac_last_try in false false :; do
5812 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5813 if test -z "$ac_tt"; then
5815 elif $ac_last_try; then
5816 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5818 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5822 # For the awk script, D is an array of macro values keyed by name,
5823 # likewise P contains macro parameters if any. Preserve backslash
5824 # newline sequences.
5826 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5828 s/.\{148\}/&'"$ac_delim"'/g
5831 s/^[ ]*#[ ]*define[ ][ ]*/ /
5838 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5840 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5845 D["\1"]=" \3\\\\\\n"\\/p
5847 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5852 s/.\{148\}/&'"$ac_delim"'/g
5857 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5860 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5862 ' <confdefs.h | sed '
5863 s/'"$ac_delim"'/"\\\
5864 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5867 for (key in D) D_is_set[key] = 1
5870 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5872 split(line, arg, " ")
5873 if (arg[1] == "#") {
5877 defundef = substr(arg[1], 2)
5880 split(mac1, mac2, "(") #)
5882 prefix = substr(line, 1, index(line, defundef) - 1)
5883 if (D_is_set[macro]) {
5884 # Preserve the white space surrounding the "#".
5885 print prefix "define", macro P[macro] D[macro]
5888 # Replace #undef with comments. This is necessary, for example,
5889 # in the case of _POSIX_SOURCE, which is predefined and required
5890 # on some systems where configure will not decide to define it.
5891 if (defundef == "undef") {
5892 print "/*", prefix defundef, macro, "*/"
5900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5901 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5902 fi # test -n "$CONFIG_HEADERS"
5905 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5910 :[FHLC]) ac_mode=$ac_tag; continue;;
5912 case $ac_mode$ac_tag in
5914 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5915 :[FH]-) ac_tag=-:-;;
5916 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5933 -) ac_f="$ac_tmp/stdin";;
5934 *) # Look for the file first in the build tree, then in the source tree
5935 # (if the path is not absolute). The absolute path cannot be DOS-style,
5936 # because $ac_f cannot contain `:'.
5940 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5942 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5944 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5945 as_fn_append ac_file_inputs " '$ac_f'"
5948 # Let's still pretend it is `configure' which instantiates (i.e., don't
5949 # use $as_me), people would be surprised to read:
5950 # /* config.h. Generated by config.status. */
5951 configure_input='Generated from '`
5952 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5954 if test x"$ac_file" != x-; then
5955 configure_input="$ac_file. $configure_input"
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5957 $as_echo "$as_me: creating $ac_file" >&6;}
5959 # Neutralize special characters interpreted by sed in replacement strings.
5960 case $configure_input in #(
5961 *\&* | *\|* | *\\* )
5962 ac_sed_conf_input=`$as_echo "$configure_input" |
5963 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5964 *) ac_sed_conf_input=$configure_input;;
5968 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5969 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5974 ac_dir=`$as_dirname -- "$ac_file" ||
5975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5976 X"$ac_file" : 'X\(//\)[^/]' \| \
5977 X"$ac_file" : 'X\(//\)$' \| \
5978 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5979 $as_echo X"$ac_file" |
5980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5997 as_dir="$ac_dir"; as_fn_mkdir_p
6001 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6003 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6004 # A ".." for each directory in $ac_dir_suffix.
6005 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6006 case $ac_top_builddir_sub in
6007 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6008 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6011 ac_abs_top_builddir=$ac_pwd
6012 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6013 # for backward compatibility:
6014 ac_top_builddir=$ac_top_build_prefix
6017 .) # We are building in place.
6019 ac_top_srcdir=$ac_top_builddir_sub
6020 ac_abs_top_srcdir=$ac_pwd ;;
6021 [\\/]* | ?:[\\/]* ) # Absolute name.
6022 ac_srcdir=$srcdir$ac_dir_suffix;
6023 ac_top_srcdir=$srcdir
6024 ac_abs_top_srcdir=$srcdir ;;
6026 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6027 ac_top_srcdir=$ac_top_build_prefix$srcdir
6028 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6030 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6040 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6041 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6045 [\\/$]* | ?:[\\/]* ) ;;
6046 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6051 # If the template does not know about datarootdir, expand it.
6052 # FIXME: This hack should be removed a few years after 2.60.
6053 ac_datarootdir_hack=; ac_datarootdir_seen=
6064 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6065 *datarootdir*) ac_datarootdir_seen=yes;;
6066 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6068 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6071 ac_datarootdir_hack='
6072 s&@datadir@&$datadir&g
6073 s&@docdir@&$docdir&g
6074 s&@infodir@&$infodir&g
6075 s&@localedir@&$localedir&g
6076 s&@mandir@&$mandir&g
6077 s&\\\${datarootdir}&$datarootdir&g' ;;
6081 # Neutralize VPATH when `$srcdir' = `.'.
6082 # Shell code in configure.ac might set extrasub.
6083 # FIXME: do we really want to maintain this feature?
6084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6085 ac_sed_extra="$ac_vpsub
6088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6090 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6091 s|@configure_input@|$ac_sed_conf_input|;t t
6092 s&@top_builddir@&$ac_top_builddir_sub&;t t
6093 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6094 s&@srcdir@&$ac_srcdir&;t t
6095 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6096 s&@top_srcdir@&$ac_top_srcdir&;t t
6097 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6098 s&@builddir@&$ac_builddir&;t t
6099 s&@abs_builddir@&$ac_abs_builddir&;t t
6100 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6101 s&@INSTALL@&$ac_INSTALL&;t t
6102 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6103 $ac_datarootdir_hack
6105 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6106 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6108 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6109 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6110 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6111 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6113 which seems to be undefined. Please make sure it is defined" >&5
6114 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6115 which seems to be undefined. Please make sure it is defined" >&2;}
6117 rm -f "$ac_tmp/stdin"
6119 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6120 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6122 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6128 if test x"$ac_file" != x-; then
6130 $as_echo "/* $configure_input */" \
6131 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6132 } >"$ac_tmp/config.h" \
6133 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6134 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6136 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6139 mv "$ac_tmp/config.h" "$ac_file" \
6140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6143 $as_echo "/* $configure_input */" \
6144 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6145 || as_fn_error $? "could not create -" "$LINENO" 5
6147 # Compute "$ac_file"'s index in $config_headers.
6150 for _am_header in $config_headers :; do
6152 $_am_arg | $_am_arg:* )
6155 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6158 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6159 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6160 X"$_am_arg" : 'X\(//\)[^/]' \| \
6161 X"$_am_arg" : 'X\(//\)$' \| \
6162 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6163 $as_echo X"$_am_arg" |
6164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6180 s/.*/./; q'`/stamp-h$_am_stamp_count
6183 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6184 $as_echo "$as_me: executing $ac_file commands" >&6;}
6189 case $ac_file$ac_mode in
6190 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6191 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6192 # are listed without --file. Let's play safe and only enable the eval
6193 # if we detect the quoting.
6194 case $CONFIG_FILES in
6195 *\'*) eval set x "$CONFIG_FILES" ;;
6196 *) set x $CONFIG_FILES ;;
6201 # Strip MF so we end up with the name of the file.
6202 mf=`echo "$mf" | sed -e 's/:.*$//'`
6203 # Check whether this is an Automake generated Makefile or not.
6204 # We used to match only the files named `Makefile.in', but
6205 # some people rename them; so instead we look at the file content.
6206 # Grep'ing the first line is not enough: some people post-process
6207 # each Makefile.in and add a new line on top of each file to say so.
6208 # Grep'ing the whole file is not good either: AIX grep has a line
6209 # limit of 2048, but all sed's we know have understand at least 4000.
6210 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6211 dirpart=`$as_dirname -- "$mf" ||
6212 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6213 X"$mf" : 'X\(//\)[^/]' \| \
6214 X"$mf" : 'X\(//\)$' \| \
6215 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6237 # Extract the definition of DEPDIR, am__include, and am__quote
6238 # from the Makefile without running `make'.
6239 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6240 test -z "$DEPDIR" && continue
6241 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6242 test -z "am__include" && continue
6243 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6244 # When using ansi2knr, U may be empty or an underscore; expand it
6245 U=`sed -n 's/^U = //p' < "$mf"`
6246 # Find all dependency output files, they are included files with
6247 # $(DEPDIR) in their names. We invoke sed twice because it is the
6248 # simplest approach to changing $(DEPDIR) to its actual value in the
6250 for file in `sed -n "
6251 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6252 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6253 # Make sure the directory exists.
6254 test -f "$dirpart/$file" && continue
6255 fdir=`$as_dirname -- "$file" ||
6256 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6257 X"$file" : 'X\(//\)[^/]' \| \
6258 X"$file" : 'X\(//\)$' \| \
6259 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6278 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6279 # echo "creating $dirpart/$file"
6280 echo '# dummy' > "$dirpart/$file"
6292 ac_clean_files=$ac_clean_files_save
6294 test $ac_write_fail = 0 ||
6295 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6298 # configure is writing to config.log, and then calls config.status.
6299 # config.status does its own redirection, appending to config.log.
6300 # Unfortunately, on DOS this fails, as config.log is still kept open
6301 # by configure, so config.status won't be able to write to it; its
6302 # output is simply discarded. So we exec the FD to /dev/null,
6303 # effectively closing config.log, so it can be properly (re)opened and
6304 # appended to by config.status. When coming back to configure, we
6305 # need to make the FD available again.
6306 if test "$no_create" != yes; then
6308 ac_config_status_args=
6309 test "$silent" = yes &&
6310 ac_config_status_args="$ac_config_status_args --quiet"
6312 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6314 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6315 # would make configure fail if this is the last instruction.
6316 $ac_cs_success || as_fn_exit 1
6320 # CONFIG_SUBDIRS section.
6322 if test "$no_recursion" != yes; then
6324 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6325 # so they do not pile up.
6326 ac_sub_configure_args=
6328 eval "set x $ac_configure_args"
6332 if test -n "$ac_prev"; then
6337 -cache-file | --cache-file | --cache-fil | --cache-fi \
6338 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6339 ac_prev=cache_file ;;
6340 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6341 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6344 --config-cache | -C)
6346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6350 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6352 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6354 --disable-option-checking)
6358 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6360 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
6364 # Always prepend --prefix to ensure using the same prefix
6365 # in subdir configurations.
6366 ac_arg="--prefix=$prefix"
6368 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6370 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
6373 if test "$silent" = yes; then
6374 ac_sub_configure_args="--silent $ac_sub_configure_args"
6377 # Always prepend --disable-option-checking to silence warnings, since
6378 # different subdirs can have different --enable and --with options.
6379 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
6382 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6384 # Do not complain, so a configure script can configure whichever
6385 # parts of a large source tree are present.
6386 test -d "$srcdir/$ac_dir" || continue
6388 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6389 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6390 $as_echo "$ac_msg" >&6
6391 as_dir="$ac_dir"; as_fn_mkdir_p
6395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6397 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6398 # A ".." for each directory in $ac_dir_suffix.
6399 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6400 case $ac_top_builddir_sub in
6401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6405 ac_abs_top_builddir=$ac_pwd
6406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6407 # for backward compatibility:
6408 ac_top_builddir=$ac_top_build_prefix
6411 .) # We are building in place.
6413 ac_top_srcdir=$ac_top_builddir_sub
6414 ac_abs_top_srcdir=$ac_pwd ;;
6415 [\\/]* | ?:[\\/]* ) # Absolute name.
6416 ac_srcdir=$srcdir$ac_dir_suffix;
6417 ac_top_srcdir=$srcdir
6418 ac_abs_top_srcdir=$srcdir ;;
6420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6421 ac_top_srcdir=$ac_top_build_prefix$srcdir
6422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6429 # Check for guested configure; otherwise get Cygnus style configure.
6430 if test -f "$ac_srcdir/configure.gnu"; then
6431 ac_sub_configure=$ac_srcdir/configure.gnu
6432 elif test -f "$ac_srcdir/configure"; then
6433 ac_sub_configure=$ac_srcdir/configure
6434 elif test -f "$ac_srcdir/configure.in"; then
6435 # This should be Cygnus configure.
6436 ac_sub_configure=$ac_aux_dir/configure
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6439 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6443 # The recursion is here.
6444 if test -n "$ac_sub_configure"; then
6445 # Make the cache file name correct relative to the subdirectory.
6447 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6449 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
6452 { $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
6453 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6454 # The eval makes quoting arguments work.
6455 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6456 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6457 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}