2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ViennaRNA 2.1.2.
5 # Report bugs to <rna@tbi.univie.ac.at>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: rna@tbi.univie.ac.at about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='ViennaRNA'
562 PACKAGE_TARNAME='ViennaRNA'
563 PACKAGE_VERSION='2.1.2'
564 PACKAGE_STRING='ViennaRNA 2.1.2'
565 PACKAGE_BUGREPORT='rna@tbi.univie.ac.at'
566 PACKAGE_URL='http://www.tbi.univie.ac.a/~ivo/RNA'
568 # Factoring default headers for most tests.
569 ac_includes_default="\
571 #ifdef HAVE_SYS_TYPES_H
572 # include <sys/types.h>
574 #ifdef HAVE_SYS_STAT_H
575 # include <sys/stat.h>
581 # ifdef HAVE_STDLIB_H
586 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
591 #ifdef HAVE_STRINGS_H
592 # include <strings.h>
594 #ifdef HAVE_INTTYPES_H
595 # include <inttypes.h>
604 enable_option_checking=no
605 ac_subst_vars='am__EXEEXT_FALSE
608 WITH_REFERENCE_MANUAL_HTML_FALSE
609 WITH_REFERENCE_MANUAL_HTML_TRUE
610 WITH_REFERENCE_MANUAL_PDF_FALSE
611 WITH_REFERENCE_MANUAL_PDF_TRUE
612 WITH_REFERENCE_MANUAL_BUILD_FALSE
613 WITH_REFERENCE_MANUAL_BUILD_TRUE
614 WITH_REFERENCE_MANUAL_FALSE
615 WITH_REFERENCE_MANUAL_TRUE
616 REFERENCE_MANUAL_TAGFILE
617 REFERENCE_MANUAL_PDF_NAME
618 DOXYGEN_GENERATE_LATEX
619 DOXYGEN_GENERATE_HTML
620 DOXYGEN_WITH_PDFLATEX
622 DOXYGEN_CMD_MAKEINDEX
703 INSTALL_STRIP_PROGRAM
749 program_transform_name
762 enable_option_checking
765 enable_dependency_tracking
778 ac_precious_vars='build_alias
793 ac_subdirs_all='Kinfold
796 # Initialize some variables set by options.
798 ac_init_version=false
799 ac_unrecognized_opts=
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
810 program_transform_name=s,x,x,
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
856 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861 # Accept the important Cygnus configure options, so we can diagnose typos.
863 case $ac_dashdash$ac_option in
867 -bindir | --bindir | --bindi | --bind | --bin | --bi)
869 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
872 -build | --build | --buil | --bui | --bu)
873 ac_prev=build_alias ;;
874 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
875 build_alias=$ac_optarg ;;
877 -cache-file | --cache-file | --cache-fil | --cache-fi \
878 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
879 ac_prev=cache_file ;;
880 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
881 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
882 cache_file=$ac_optarg ;;
885 cache_file=config.cache ;;
887 -datadir | --datadir | --datadi | --datad)
889 -datadir=* | --datadir=* | --datadi=* | --datad=*)
890 datadir=$ac_optarg ;;
892 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
893 | --dataroo | --dataro | --datar)
894 ac_prev=datarootdir ;;
895 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
896 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
897 datarootdir=$ac_optarg ;;
899 -disable-* | --disable-*)
900 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903 as_fn_error $? "invalid feature name: $ac_useropt"
904 ac_useropt_orig=$ac_useropt
905 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
910 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911 ac_unrecognized_sep=', ';;
913 eval enable_$ac_useropt=no ;;
915 -docdir | --docdir | --docdi | --doc | --do)
917 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
920 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
925 -enable-* | --enable-*)
926 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927 # Reject names that are not valid shell variable names.
928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929 as_fn_error $? "invalid feature name: $ac_useropt"
930 ac_useropt_orig=$ac_useropt
931 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
936 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937 ac_unrecognized_sep=', ';;
939 eval enable_$ac_useropt=\$ac_optarg ;;
941 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
942 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
943 | --exec | --exe | --ex)
944 ac_prev=exec_prefix ;;
945 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
946 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
947 | --exec=* | --exe=* | --ex=*)
948 exec_prefix=$ac_optarg ;;
950 -gas | --gas | --ga | --g)
951 # Obsolete; use --with-gas.
954 -help | --help | --hel | --he | -h)
956 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
957 ac_init_help=recursive ;;
958 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
959 ac_init_help=short ;;
961 -host | --host | --hos | --ho)
962 ac_prev=host_alias ;;
963 -host=* | --host=* | --hos=* | --ho=*)
964 host_alias=$ac_optarg ;;
966 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
968 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
970 htmldir=$ac_optarg ;;
972 -includedir | --includedir | --includedi | --included | --include \
973 | --includ | --inclu | --incl | --inc)
974 ac_prev=includedir ;;
975 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
976 | --includ=* | --inclu=* | --incl=* | --inc=*)
977 includedir=$ac_optarg ;;
979 -infodir | --infodir | --infodi | --infod | --info | --inf)
981 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
982 infodir=$ac_optarg ;;
984 -libdir | --libdir | --libdi | --libd)
986 -libdir=* | --libdir=* | --libdi=* | --libd=*)
989 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
990 | --libexe | --libex | --libe)
991 ac_prev=libexecdir ;;
992 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
993 | --libexe=* | --libex=* | --libe=*)
994 libexecdir=$ac_optarg ;;
996 -localedir | --localedir | --localedi | --localed | --locale)
998 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
999 localedir=$ac_optarg ;;
1001 -localstatedir | --localstatedir | --localstatedi | --localstated \
1002 | --localstate | --localstat | --localsta | --localst | --locals)
1003 ac_prev=localstatedir ;;
1004 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1005 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1006 localstatedir=$ac_optarg ;;
1008 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1010 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1011 mandir=$ac_optarg ;;
1013 -nfp | --nfp | --nf)
1014 # Obsolete; use --without-fp.
1017 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1018 | --no-cr | --no-c | -n)
1021 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1022 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1025 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1026 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1027 | --oldin | --oldi | --old | --ol | --o)
1028 ac_prev=oldincludedir ;;
1029 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1030 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1031 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1032 oldincludedir=$ac_optarg ;;
1034 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1036 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1037 prefix=$ac_optarg ;;
1039 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1040 | --program-pre | --program-pr | --program-p)
1041 ac_prev=program_prefix ;;
1042 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1043 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1044 program_prefix=$ac_optarg ;;
1046 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1047 | --program-suf | --program-su | --program-s)
1048 ac_prev=program_suffix ;;
1049 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1050 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1051 program_suffix=$ac_optarg ;;
1053 -program-transform-name | --program-transform-name \
1054 | --program-transform-nam | --program-transform-na \
1055 | --program-transform-n | --program-transform- \
1056 | --program-transform | --program-transfor \
1057 | --program-transfo | --program-transf \
1058 | --program-trans | --program-tran \
1059 | --progr-tra | --program-tr | --program-t)
1060 ac_prev=program_transform_name ;;
1061 -program-transform-name=* | --program-transform-name=* \
1062 | --program-transform-nam=* | --program-transform-na=* \
1063 | --program-transform-n=* | --program-transform-=* \
1064 | --program-transform=* | --program-transfor=* \
1065 | --program-transfo=* | --program-transf=* \
1066 | --program-trans=* | --program-tran=* \
1067 | --progr-tra=* | --program-tr=* | --program-t=*)
1068 program_transform_name=$ac_optarg ;;
1070 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1072 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1073 pdfdir=$ac_optarg ;;
1075 -psdir | --psdir | --psdi | --psd | --ps)
1077 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081 | -silent | --silent | --silen | --sile | --sil)
1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1088 sbindir=$ac_optarg ;;
1090 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1091 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1092 | --sharedst | --shareds | --shared | --share | --shar \
1094 ac_prev=sharedstatedir ;;
1095 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1096 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1097 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1099 sharedstatedir=$ac_optarg ;;
1101 -site | --site | --sit)
1103 -site=* | --site=* | --sit=*)
1106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1109 srcdir=$ac_optarg ;;
1111 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1112 | --syscon | --sysco | --sysc | --sys | --sy)
1113 ac_prev=sysconfdir ;;
1114 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1115 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1116 sysconfdir=$ac_optarg ;;
1118 -target | --target | --targe | --targ | --tar | --ta | --t)
1119 ac_prev=target_alias ;;
1120 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1121 target_alias=$ac_optarg ;;
1123 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1126 -version | --version | --versio | --versi | --vers | -V)
1127 ac_init_version=: ;;
1130 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133 as_fn_error $? "invalid package name: $ac_useropt"
1134 ac_useropt_orig=$ac_useropt
1135 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141 ac_unrecognized_sep=', ';;
1143 eval with_$ac_useropt=\$ac_optarg ;;
1145 -without-* | --without-*)
1146 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149 as_fn_error $? "invalid package name: $ac_useropt"
1150 ac_useropt_orig=$ac_useropt
1151 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152 case $ac_user_opts in
1156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157 ac_unrecognized_sep=', ';;
1159 eval with_$ac_useropt=no ;;
1162 # Obsolete; use --with-x.
1165 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1166 | --x-incl | --x-inc | --x-in | --x-i)
1167 ac_prev=x_includes ;;
1168 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1169 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1170 x_includes=$ac_optarg ;;
1172 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1173 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1174 ac_prev=x_libraries ;;
1175 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1176 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1177 x_libraries=$ac_optarg ;;
1179 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1180 Try \`$0 --help' for more information"
1184 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1185 # Reject names that are not valid shell variable names.
1186 case $ac_envvar in #(
1187 '' | [0-9]* | *[!_$as_cr_alnum]* )
1188 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1190 eval $ac_envvar=\$ac_optarg
1191 export $ac_envvar ;;
1194 # FIXME: should be removed in autoconf 3.0.
1195 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204 if test -n "$ac_prev"; then
1205 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1206 as_fn_error $? "missing argument to $ac_option"
1209 if test -n "$ac_unrecognized_opts"; then
1210 case $enable_option_checking in
1212 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1213 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1217 # Check all directory arguments for consistency.
1218 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219 datadir sysconfdir sharedstatedir localstatedir includedir \
1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221 libdir localedir mandir
1223 eval ac_val=\$$ac_var
1224 # Remove trailing slashes.
1227 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228 eval $ac_var=\$ac_val;;
1230 # Be sure to have absolute directory names.
1232 [\\/$]* | ?:[\\/]* ) continue;;
1233 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1235 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1238 # There might be people who depend on the old broken behavior: `$host'
1239 # used to hold the argument of --host etc.
1240 # FIXME: To remove some day.
1243 target=$target_alias
1245 # FIXME: To remove some day.
1246 if test "x$host_alias" != x; then
1247 if test "x$build_alias" = x; then
1248 cross_compiling=maybe
1249 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1250 If a cross compiler is detected then cross compile mode will be used" >&2
1251 elif test "x$build_alias" != "x$host_alias"; then
1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1259 test "$silent" = yes && exec 6>/dev/null
1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di=`ls -di .` &&
1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1265 as_fn_error $? "working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267 as_fn_error $? "pwd does not report name of working directory"
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272 ac_srcdir_defaulted=yes
1273 # Try the directory containing this script, then the parent directory.
1274 ac_confdir=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276 X"$as_myself" : 'X\(//\)[^/]' \| \
1277 X"$as_myself" : 'X\(//\)$' \| \
1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1302 ac_srcdir_defaulted=no
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1306 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 for ac_var in $ac_precious_vars; do
1323 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1324 eval ac_env_${ac_var}_value=\$${ac_var}
1325 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1326 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1330 # Report the --help message.
1332 if test "$ac_init_help" = "long"; then
1333 # Omit some internal or obsolete options to make the list less imposing.
1334 # This message is too long to be a string in the A/UX 3.1 sh.
1336 \`configure' configures ViennaRNA 2.1.2 to adapt to many kinds of systems.
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE. See below for descriptions of some of the useful variables.
1343 Defaults for the options are specified in brackets.
1346 -h, --help display this help and exit
1347 --help=short display options specific to this package
1348 --help=recursive display the short help of all the included packages
1349 -V, --version display version information and exit
1350 -q, --quiet, --silent do not print \`checking ...' messages
1351 --cache-file=FILE cache test results in FILE [disabled]
1352 -C, --config-cache alias for \`--cache-file=config.cache'
1353 -n, --no-create do not create output files
1354 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1356 Installation directories:
1357 --prefix=PREFIX install architecture-independent files in PREFIX
1358 [$ac_default_prefix]
1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1367 For better control, use the options below.
1369 Fine tuning of the installation directories:
1370 --bindir=DIR user executables [EPREFIX/bin]
1371 --sbindir=DIR system admin executables [EPREFIX/sbin]
1372 --libexecdir=DIR program executables [EPREFIX/libexec]
1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376 --libdir=DIR object code libraries [EPREFIX/lib]
1377 --includedir=DIR C header files [PREFIX/include]
1378 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1379 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1380 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1381 --infodir=DIR info documentation [DATAROOTDIR/info]
1382 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1383 --mandir=DIR man documentation [DATAROOTDIR/man]
1384 --docdir=DIR documentation root [DATAROOTDIR/doc/ViennaRNA]
1385 --htmldir=DIR html documentation [DOCDIR]
1386 --dvidir=DIR dvi documentation [DOCDIR]
1387 --pdfdir=DIR pdf documentation [DOCDIR]
1388 --psdir=DIR ps documentation [DOCDIR]
1394 --program-prefix=PREFIX prepend PREFIX to installed program names
1395 --program-suffix=SUFFIX append SUFFIX to installed program names
1396 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1399 --build=BUILD configure for building on BUILD [guessed]
1400 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1404 if test -n "$ac_init_help"; then
1405 case $ac_init_help in
1406 short | recursive ) echo "Configuration of ViennaRNA 2.1.2:";;
1411 --disable-option-checking ignore unrecognized --enable/--with options
1412 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1413 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1414 --enable-silent-rules less verbose build output (undo: `make V=1')
1415 --disable-silent-rules verbose build output (undo: `make V=0')
1416 --disable-dependency-tracking speeds up one-time build
1417 --enable-dependency-tracking do not reject slow dependency extractors
1418 --disable-openmp do not use OpenMP
1421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1423 --with-dmalloc use dmalloc, as in http://www.dmalloc.com
1424 --without-perl do not build | install Perl interface
1425 --with-python build | install Python interface
1426 --with-ruby build | install Ruby interface
1427 --without-kinfold do not build | install Kinfold program
1428 --without-forester do not build | install RNAforester program
1429 --with-cluster build | install AnalyseSeqs and AnalyseDists
1430 --without-svm do not build | install svm classifiers
1431 --without-doc-pdf do not build | install PDF RNAlib reference manual
1432 --without-doc-html do not build | install HTML RNAlib reference manual
1433 --without-doc do not build | install RNAlib reference manual
1435 Some influential environment variables:
1436 PERLPREFIX Prefix for installation of the Perl module. By default the perl
1437 module is installed wherever Perl thinks it belongs, ignoring
1438 the $prefix used by configure
1439 CXX C++ compiler command
1440 CXXFLAGS C++ compiler flags
1441 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1442 nonstandard directory <lib dir>
1443 LIBS libraries to pass to the linker, e.g. -l<library>
1444 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1445 you have headers in a nonstandard directory <include dir>
1446 CXXCPP C++ preprocessor
1447 CC C compiler command
1448 CFLAGS C compiler flags
1450 FPIC compiler flag for generating PIC code that can be used in a
1453 Use these variables to override the choices made by `configure' or to help
1454 it to find libraries and programs with nonstandard names/locations.
1456 Report bugs to <rna@tbi.univie.ac.at>.
1457 ViennaRNA home page: <http://www.tbi.univie.ac.a/~ivo/RNA>.
1462 if test "$ac_init_help" = "recursive"; then
1463 # If there are subdirs, report their specific --help.
1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465 test -d "$ac_dir" ||
1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474 # A ".." for each directory in $ac_dir_suffix.
1475 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476 case $ac_top_builddir_sub in
1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1481 ac_abs_top_builddir=$ac_pwd
1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483 # for backward compatibility:
1484 ac_top_builddir=$ac_top_build_prefix
1487 .) # We are building in place.
1489 ac_top_srcdir=$ac_top_builddir_sub
1490 ac_abs_top_srcdir=$ac_pwd ;;
1491 [\\/]* | ?:[\\/]* ) # Absolute name.
1492 ac_srcdir=$srcdir$ac_dir_suffix;
1493 ac_top_srcdir=$srcdir
1494 ac_abs_top_srcdir=$srcdir ;;
1496 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497 ac_top_srcdir=$ac_top_build_prefix$srcdir
1498 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1502 cd "$ac_dir" || { ac_status=$?; continue; }
1503 # Check for guested configure.
1504 if test -f "$ac_srcdir/configure.gnu"; then
1506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507 elif test -f "$ac_srcdir/configure"; then
1509 $SHELL "$ac_srcdir/configure" --help=recursive
1511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1513 cd "$ac_pwd" || { ac_status=$?; break; }
1517 test -n "$ac_init_help" && exit $ac_status
1518 if $ac_init_version; then
1520 ViennaRNA configure 2.1.2
1521 generated by GNU Autoconf 2.68
1523 Copyright (C) 2010 Free Software Foundation, Inc.
1524 This configure script is free software; the Free Software Foundation
1525 gives unlimited permission to copy, distribute and modify it.
1530 ## ------------------------ ##
1531 ## Autoconf initialization. ##
1532 ## ------------------------ ##
1534 # ac_fn_cxx_try_compile LINENO
1535 # ----------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_cxx_try_compile ()
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 rm -f conftest.$ac_objext
1541 if { { ac_try="$ac_compile"
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_compile") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_cxx_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest.$ac_objext; then :
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status $ac_retval
1570 } # ac_fn_cxx_try_compile
1572 # ac_fn_cxx_try_cpp LINENO
1573 # ------------------------
1574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1575 ac_fn_cxx_try_cpp ()
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 if { { ac_try="$ac_cpp conftest.$ac_ext"
1580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1581 *) ac_try_echo=$ac_try;;
1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1587 if test -s conftest.err; then
1588 grep -v '^ *+' conftest.err >conftest.er1
1589 cat conftest.er1 >&5
1590 mv -f conftest.er1 conftest.err
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; } > conftest.i && {
1594 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1595 test ! -s conftest.err
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status $ac_retval
1607 } # ac_fn_cxx_try_cpp
1609 # ac_fn_c_try_compile LINENO
1610 # --------------------------
1611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1612 ac_fn_c_try_compile ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 rm -f conftest.$ac_objext
1616 if { { ac_try="$ac_compile"
1618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_compile") 2>conftest.err
1625 if test -s conftest.err; then
1626 grep -v '^ *+' conftest.err >conftest.er1
1627 cat conftest.er1 >&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } && {
1632 test -z "$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1634 } && test -s conftest.$ac_objext; then :
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1645 } # ac_fn_c_try_compile
1647 # ac_fn_c_try_cpp LINENO
1648 # ----------------------
1649 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 if { { ac_try="$ac_cpp conftest.$ac_ext"
1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } > conftest.i && {
1669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1684 # ac_fn_c_try_link LINENO
1685 # -----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext conftest$ac_exeext
1691 if { { ac_try="$ac_link"
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_link") 2>conftest.err
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest$ac_exeext && {
1710 test "$cross_compiling" = yes ||
1711 $as_test_x conftest$ac_exeext
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1720 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1721 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1722 # interfere with the next link command; also delete a directory that is
1723 # left behind by Apple's compiler. We do this before executing the actions.
1724 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status $ac_retval
1728 } # ac_fn_c_try_link
1730 # ac_fn_c_try_run LINENO
1731 # ----------------------
1732 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1733 # that executables *can* be run.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 if { { ac_try="$ac_link"
1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_link") 2>&5
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1748 { { case "(($ac_try" in
1749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750 *) ac_try_echo=$ac_try;;
1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_try") 2>&5
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; }; }; then :
1760 $as_echo "$as_me: program exited with status $ac_status" >&5
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1764 ac_retval=$ac_status
1766 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 as_fn_set_status $ac_retval
1772 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1773 # -------------------------------------------
1774 # Tests whether TYPE exists after having included INCLUDES, setting cache
1775 # variable VAR accordingly.
1776 ac_fn_c_check_type ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \${$3+:} false; then :
1782 $as_echo_n "(cached) " >&6
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1797 if ac_fn_c_try_compile "$LINENO"; then :
1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1810 if ac_fn_c_try_compile "$LINENO"; then :
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 } # ac_fn_c_check_type
1826 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827 # -------------------------------------------------------
1828 # Tests whether HEADER exists and can be compiled using the include files in
1829 # INCLUDES, setting the cache variable VAR accordingly.
1830 ac_fn_c_check_header_compile ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if eval \${$3+:} false; then :
1836 $as_echo_n "(cached) " >&6
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1843 if ac_fn_c_try_compile "$LINENO"; then :
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_header_compile
1857 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1860 # the include files in INCLUDES and setting the cache variable VAR
1862 ac_fn_c_check_header_mongrel ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 if eval \${$3+:} false; then :
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867 $as_echo_n "checking for $2... " >&6; }
1868 if eval \${$3+:} false; then :
1869 $as_echo_n "(cached) " >&6
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1875 # Is the header compilable?
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1877 $as_echo_n "checking $2 usability... " >&6; }
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1883 if ac_fn_c_try_compile "$LINENO"; then :
1884 ac_header_compiler=yes
1886 ac_header_compiler=no
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1890 $as_echo "$ac_header_compiler" >&6; }
1892 # Is the header present?
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1894 $as_echo_n "checking $2 presence... " >&6; }
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1899 if ac_fn_c_try_cpp "$LINENO"; then :
1900 ac_header_preproc=yes
1902 ac_header_preproc=no
1904 rm -f conftest.err conftest.i conftest.$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1906 $as_echo "$ac_header_preproc" >&6; }
1908 # So? What about this header?
1909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1912 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1914 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1918 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1920 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1922 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1924 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1926 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1927 ( $as_echo "## ----------------------------------- ##
1928 ## Report this to rna@tbi.univie.ac.at ##
1929 ## ----------------------------------- ##"
1930 ) | sed "s/^/$as_me: WARNING: /" >&2
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1934 $as_echo_n "checking for $2... " >&6; }
1935 if eval \${$3+:} false; then :
1936 $as_echo_n "(cached) " >&6
1938 eval "$3=\$ac_header_compiler"
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 } # ac_fn_c_check_header_mongrel
1948 # ac_fn_c_check_func LINENO FUNC VAR
1949 # ----------------------------------
1950 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1951 ac_fn_c_check_func ()
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if eval \${$3+:} false; then :
1957 $as_echo_n "(cached) " >&6
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1961 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1963 #define $2 innocuous_$2
1965 /* System header to define __stub macros and hopefully few prototypes,
1966 which can conflict with char $2 (); below.
1967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1968 <limits.h> exists even on freestanding compilers. */
1971 # include <limits.h>
1973 # include <assert.h>
1978 /* Override any GCC internal prototype to avoid an error.
1979 Use char because int might match the return type of a GCC
1980 builtin and then its argument prototype would still apply. */
1985 /* The GNU C library defines this for functions which it implements
1986 to always fail with ENOSYS. Some functions are actually named
1987 something starting with __ and the normal name is an alias. */
1988 #if defined __stub_$2 || defined __stub___$2
2000 if ac_fn_c_try_link "$LINENO"; then :
2005 rm -f core conftest.err conftest.$ac_objext \
2006 conftest$ac_exeext conftest.$ac_ext
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 } # ac_fn_c_check_func
2014 cat >config.log <<_ACEOF
2015 This file contains any messages produced by compilers while
2016 running configure, to aid debugging if configure makes a mistake.
2018 It was created by ViennaRNA $as_me 2.1.2, which was
2019 generated by GNU Autoconf 2.68. Invocation command line was
2031 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2032 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2033 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2034 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2035 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2037 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2038 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2040 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2041 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2042 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2043 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2044 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2045 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2046 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir=.
2055 $as_echo "PATH: $as_dir"
2071 # Keep a trace of the command line.
2072 # Strip out --no-create and --no-recursion so they do not pile up.
2073 # Strip out --silent because we don't want to record it for future runs.
2074 # Also quote any args containing shell meta-characters.
2075 # Make two passes to allow for proper duplicate-argument suppression.
2079 ac_must_keep_next=false
2085 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2087 | -silent | --silent | --silen | --sile | --sil)
2090 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2093 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2095 as_fn_append ac_configure_args1 " '$ac_arg'"
2096 if test $ac_must_keep_next = true; then
2097 ac_must_keep_next=false # Got value, back to normal.
2100 *=* | --config-cache | -C | -disable-* | --disable-* \
2101 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2102 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2103 | -with-* | --with-* | -without-* | --without-* | --x)
2104 case "$ac_configure_args0 " in
2105 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2108 -* ) ac_must_keep_next=true ;;
2111 as_fn_append ac_configure_args " '$ac_arg'"
2116 { ac_configure_args0=; unset ac_configure_args0;}
2117 { ac_configure_args1=; unset ac_configure_args1;}
2119 # When interrupted or exit'd, cleanup temporary files, and complete
2120 # config.log. We remove comments because anyway the quotes in there
2121 # would cause problems or look ugly.
2122 # WARNING: Use '\'' to represent an apostrophe within the trap.
2123 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2124 trap 'exit_status=$?
2125 # Save into config.log some information that might help in debugging.
2129 $as_echo "## ---------------- ##
2130 ## Cache variables. ##
2131 ## ---------------- ##"
2133 # The following way of writing the cache mishandles newlines in values,
2135 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2136 eval ac_val=\$$ac_var
2140 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2141 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2144 _ | IFS | as_nl) ;; #(
2145 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2146 *) { eval $ac_var=; unset $ac_var;} ;;
2151 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2152 *${as_nl}ac_space=\ *)
2154 "s/'\''/'\''\\\\'\'''\''/g;
2155 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2158 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2165 $as_echo "## ----------------- ##
2166 ## Output variables. ##
2167 ## ----------------- ##"
2169 for ac_var in $ac_subst_vars
2171 eval ac_val=\$$ac_var
2173 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2175 $as_echo "$ac_var='\''$ac_val'\''"
2179 if test -n "$ac_subst_files"; then
2180 $as_echo "## ------------------- ##
2181 ## File substitutions. ##
2182 ## ------------------- ##"
2184 for ac_var in $ac_subst_files
2186 eval ac_val=\$$ac_var
2188 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 $as_echo "$ac_var='\''$ac_val'\''"
2195 if test -s confdefs.h; then
2196 $as_echo "## ----------- ##
2203 test "$ac_signal" != 0 &&
2204 $as_echo "$as_me: caught signal $ac_signal"
2205 $as_echo "$as_me: exit $exit_status"
2207 rm -f core *.core core.conftest.* &&
2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2211 for ac_signal in 1 2 13 15; do
2212 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2217 rm -f -r conftest* confdefs.h
2219 $as_echo "/* confdefs.h */" > confdefs.h
2221 # Predefined preprocessor variables.
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_NAME "$PACKAGE_NAME"
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_STRING "$PACKAGE_STRING"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_URL "$PACKAGE_URL"
2248 # Let the site file select an alternate cache file if it wants to.
2249 # Prefer an explicitly selected file to automatically selected ones.
2252 if test -n "$CONFIG_SITE"; then
2253 # We do not want a PATH search for config.site.
2254 case $CONFIG_SITE in #((
2255 -*) ac_site_file1=./$CONFIG_SITE;;
2256 */*) ac_site_file1=$CONFIG_SITE;;
2257 *) ac_site_file1=./$CONFIG_SITE;;
2259 elif test "x$prefix" != xNONE; then
2260 ac_site_file1=$prefix/share/config.site
2261 ac_site_file2=$prefix/etc/config.site
2263 ac_site_file1=$ac_default_prefix/share/config.site
2264 ac_site_file2=$ac_default_prefix/etc/config.site
2266 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2268 test "x$ac_site_file" = xNONE && continue
2269 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2271 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2272 sed 's/^/| /' "$ac_site_file" >&5
2274 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2276 as_fn_error $? "failed to load site script $ac_site_file
2277 See \`config.log' for more details" "$LINENO" 5; }
2281 if test -r "$cache_file"; then
2282 # Some versions of bash will fail to source /dev/null (special files
2283 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2284 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2286 $as_echo "$as_me: loading cache $cache_file" >&6;}
2288 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2289 *) . "./$cache_file";;
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2294 $as_echo "$as_me: creating cache $cache_file" >&6;}
2298 # Check that the precious variables saved in the cache have kept the same
2300 ac_cache_corrupted=false
2301 for ac_var in $ac_precious_vars; do
2302 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2303 eval ac_new_set=\$ac_env_${ac_var}_set
2304 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2305 eval ac_new_val=\$ac_env_${ac_var}_value
2306 case $ac_old_set,$ac_new_set in
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2309 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2310 ac_cache_corrupted=: ;;
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2313 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2314 ac_cache_corrupted=: ;;
2317 if test "x$ac_old_val" != "x$ac_new_val"; then
2318 # differences in whitespace do not lead to failure.
2319 ac_old_val_w=`echo x $ac_old_val`
2320 ac_new_val_w=`echo x $ac_new_val`
2321 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2323 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2324 ac_cache_corrupted=:
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2327 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2328 eval $ac_var=\$ac_old_val
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2331 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2333 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2336 # Pass precious variables to config.status.
2337 if test "$ac_new_set" = set; then
2339 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2340 *) ac_arg=$ac_var=$ac_new_val ;;
2342 case " $ac_configure_args " in
2343 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2344 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2348 if $ac_cache_corrupted; then
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2352 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2353 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2355 ## -------------------- ##
2356 ## Main body of script. ##
2357 ## -------------------- ##
2360 ac_cpp='$CPP $CPPFLAGS'
2361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 for ac_dir in config "$srcdir"/config; do
2369 if test -f "$ac_dir/install-sh"; then
2371 ac_install_sh="$ac_aux_dir/install-sh -c"
2373 elif test -f "$ac_dir/install.sh"; then
2375 ac_install_sh="$ac_aux_dir/install.sh -c"
2377 elif test -f "$ac_dir/shtool"; then
2379 ac_install_sh="$ac_aux_dir/shtool install -c"
2383 if test -z "$ac_aux_dir"; then
2384 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2387 # These three variables are undocumented and unsupported,
2388 # and are intended to be withdrawn in a future Autoconf release.
2389 # They can cause serious problems if a builder's source tree is in a directory
2390 # whose full name contains unusual characters.
2391 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2392 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2393 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2399 # This file is part of Autoconf. -*- Autoconf -*-
2401 # ViennaRNA Package 2011 Ronny Lorenz
2404 ##-----------------##
2405 ## Private macros. ##
2406 ##-----------------##
2413 # AC_RNA_ADD_PACKAGE( package-name,
2414 # package-description,
2416 # [action-if-not-default],
2417 # [action-if-default],
2418 # [files to check for])
2420 # This macro handles additional package inclusion
2422 # package-name: a lowercase name of the optional package
2423 # which is used for $with_package_name variables
2424 # and --with[out]-package-name options in
2426 # The package_name must consist of alphanumeric
2427 # characters including the dash only! Every
2428 # occuring dash will be replaced by a '-' char
2429 # in the --with[out]-package-name option
2431 # package-desciption: a very brief description used for the package
2432 # specific help output in configure script
2434 # default-on: package build | installed by default
2435 # Values: "yes" or "no"
2437 # Example: AC_RNA_ADD_PACKAGE([foo], [the incredible Foo program], [yes], [with_foo=no], [with_foo=yes], [file1 file2])
2443 # AC_RNA_DOCUMENTATION_INIT(PROJECT_NAME, [config-file], [documentation-output-directory])
2448 ##----------------##
2449 ## Public macros. ##
2450 ##----------------##
2461 # Check whether --enable-silent-rules was given.
2462 if test "${enable_silent_rules+set}" = set; then :
2463 enableval=$enable_silent_rules;
2466 case $enable_silent_rules in
2467 yes) AM_DEFAULT_VERBOSITY=0;;
2468 no) AM_DEFAULT_VERBOSITY=1;;
2469 *) AM_DEFAULT_VERBOSITY=0;;
2471 am_make=${MAKE-make}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2473 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2474 if ${am_cv_make_support_nested_variables+:} false; then :
2475 $as_echo_n "(cached) " >&6
2477 if $as_echo 'TRUE=$(BAR$(V))
2483 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2484 am_cv_make_support_nested_variables=yes
2486 am_cv_make_support_nested_variables=no
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2490 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2491 if test $am_cv_make_support_nested_variables = yes; then
2493 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2495 AM_V=$AM_DEFAULT_VERBOSITY
2496 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2500 am__api_version='1.11'
2502 # Find a good install program. We prefer a C program (faster),
2503 # so one script is as good as another. But avoid the broken or
2504 # incompatible versions:
2505 # SysV /etc/install, /usr/sbin/install
2506 # SunOS /usr/etc/install
2507 # IRIX /sbin/install
2509 # AmigaOS /C/install, which installs bootblocks on floppy discs
2510 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2511 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2512 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2513 # OS/2's system install, which has a completely different semantic
2514 # ./install, which can be erroneously created by make from ./install.sh.
2515 # Reject install programs that cannot install multiple files.
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2517 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2518 if test -z "$INSTALL"; then
2519 if ${ac_cv_path_install+:} false; then :
2520 $as_echo_n "(cached) " >&6
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 test -z "$as_dir" && as_dir=.
2527 # Account for people who put trailing slashes in PATH elements.
2528 case $as_dir/ in #((
2529 ./ | .// | /[cC]/* | \
2530 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2531 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2534 # OSF1 and SCO ODT 3.0 have their own names for install.
2535 # Don't use installbsd from OSF since it installs stuff as root
2537 for ac_prog in ginstall scoinst install; do
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2540 if test $ac_prog = install &&
2541 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2542 # AIX install. It has an incompatible calling convention.
2544 elif test $ac_prog = install &&
2545 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2546 # program-specific install script used by HP pwplus--don't use.
2549 rm -rf conftest.one conftest.two conftest.dir
2550 echo one > conftest.one
2551 echo two > conftest.two
2553 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2554 test -s conftest.one && test -s conftest.two &&
2555 test -s conftest.dir/conftest.one &&
2556 test -s conftest.dir/conftest.two
2558 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2571 rm -rf conftest.one conftest.two conftest.dir
2574 if test "${ac_cv_path_install+set}" = set; then
2575 INSTALL=$ac_cv_path_install
2577 # As a last resort, use the slow shell script. Don't cache a
2578 # value for INSTALL within a source directory, because that will
2579 # break other packages using the cache if that directory is
2580 # removed, or if the value is a relative name.
2581 INSTALL=$ac_install_sh
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2585 $as_echo "$INSTALL" >&6; }
2587 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2588 # It thinks the first close brace ends the variable substitution.
2589 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2591 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2593 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2596 $as_echo_n "checking whether build environment is sane... " >&6; }
2599 echo timestamp > conftest.file
2600 # Reject unsafe characters in $srcdir or the absolute working directory
2601 # name. Accept space and tab only in the latter.
2605 *[\\\"\#\$\&\'\`$am_lf]*)
2606 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2609 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2610 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2613 # Do `set' in a subshell so we don't clobber the current shell's
2614 # arguments. Must try -L first in case configure is actually a
2615 # symlink; some systems play weird games with the mod time of symlinks
2616 # (eg FreeBSD returns the mod time of the symlink's containing
2619 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2620 if test "$*" = "X"; then
2622 set X `ls -t "$srcdir/configure" conftest.file`
2625 if test "$*" != "X $srcdir/configure conftest.file" \
2626 && test "$*" != "X conftest.file $srcdir/configure"; then
2628 # If neither matched, then we have a broken ls. This can happen
2629 # if, for instance, CONFIG_SHELL is bash and it inherits a
2630 # broken ls alias from the environment. This has actually
2631 # happened. Such a system could not be considered "sane".
2632 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2633 alias in your environment" "$LINENO" 5
2636 test "$2" = conftest.file
2642 as_fn_error $? "newly created file is older than distributed files!
2643 Check your system clock" "$LINENO" 5
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2646 $as_echo "yes" >&6; }
2647 test "$program_prefix" != NONE &&
2648 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2649 # Use a double $ so make ignores it.
2650 test "$program_suffix" != NONE &&
2651 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2652 # Double any \ or $.
2653 # By default was `s,x,x', remove it if useless.
2654 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2655 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2657 # expand $ac_aux_dir to an absolute path
2658 am_aux_dir=`cd $ac_aux_dir && pwd`
2660 if test x"${MISSING+set}" != xset; then
2663 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2665 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2668 # Use eval to expand $SHELL
2669 if eval "$MISSING --run true"; then
2670 am_missing_run="$MISSING --run "
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2674 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2677 if test x"${install_sh}" != xset; then
2680 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2682 install_sh="\${SHELL} $am_aux_dir/install-sh"
2686 # Installed binaries are usually stripped using `strip' when the user
2687 # run `make install-strip'. However `strip' might not be the right
2688 # tool to use in cross-compilation environments, therefore Automake
2689 # will honor the `STRIP' environment variable to overrule this program.
2690 if test "$cross_compiling" != no; then
2691 if test -n "$ac_tool_prefix"; then
2692 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2693 set dummy ${ac_tool_prefix}strip; ac_word=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if ${ac_cv_prog_STRIP+:} false; then :
2697 $as_echo_n "(cached) " >&6
2699 if test -n "$STRIP"; then
2700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 STRIP=$ac_cv_prog_STRIP
2720 if test -n "$STRIP"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2722 $as_echo "$STRIP" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2730 if test -z "$ac_cv_prog_STRIP"; then
2732 # Extract the first word of "strip", so it can be a program name with args.
2733 set dummy strip; ac_word=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$ac_ct_STRIP"; then
2740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_ac_ct_STRIP="strip"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2760 if test -n "$ac_ct_STRIP"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2762 $as_echo "$ac_ct_STRIP" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2768 if test "x$ac_ct_STRIP" = x; then
2771 case $cross_compiling:$ac_tool_warned in
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2775 ac_tool_warned=yes ;;
2780 STRIP="$ac_cv_prog_STRIP"
2784 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2787 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2788 if test -z "$MKDIR_P"; then
2789 if ${ac_cv_path_mkdir+:} false; then :
2790 $as_echo_n "(cached) " >&6
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2796 test -z "$as_dir" && as_dir=.
2797 for ac_prog in mkdir gmkdir; do
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2800 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2801 'mkdir (GNU coreutils) '* | \
2802 'mkdir (coreutils) '* | \
2803 'mkdir (fileutils) '4.1*)
2804 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2814 test -d ./--version && rmdir ./--version
2815 if test "${ac_cv_path_mkdir+set}" = set; then
2816 MKDIR_P="$ac_cv_path_mkdir -p"
2818 # As a last resort, use the slow shell script. Don't cache a
2819 # value for MKDIR_P within a source directory, because that will
2820 # break other packages using the cache if that directory is
2821 # removed, or if the value is a relative name.
2822 MKDIR_P="$ac_install_sh -d"
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2826 $as_echo "$MKDIR_P" >&6; }
2830 [\\/$]* | ?:[\\/]*) ;;
2831 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2834 for ac_prog in gawk mawk nawk awk
2836 # Extract the first word of "$ac_prog", so it can be a program name with args.
2837 set dummy $ac_prog; ac_word=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if ${ac_cv_prog_AWK+:} false; then :
2841 $as_echo_n "(cached) " >&6
2843 if test -n "$AWK"; then
2844 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2853 ac_cv_prog_AWK="$ac_prog"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 if test -n "$AWK"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2866 $as_echo "$AWK" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2873 test -n "$AWK" && break
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2877 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2879 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2880 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 cat >conftest.make <<\_ACEOF
2886 @echo '@@@%%%=$(MAKE)=@@@%%%'
2888 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2889 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2891 eval ac_cv_prog_make_${ac_make}_set=yes;;
2893 eval ac_cv_prog_make_${ac_make}_set=no;;
2897 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2899 $as_echo "yes" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2904 SET_MAKE="MAKE=${MAKE-make}"
2907 rm -rf .tst 2>/dev/null
2908 mkdir .tst 2>/dev/null
2909 if test -d .tst; then
2914 rmdir .tst 2>/dev/null
2916 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2917 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2918 # is not polluted with repeated "-I."
2919 am__isrc=' -I$(srcdir)'
2920 # test to see if srcdir already configured
2921 if test -f $srcdir/config.status; then
2922 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2926 # test whether we have cygpath
2927 if test -z "$CYGPATH_W"; then
2928 if (cygpath --version) >/dev/null 2>/dev/null; then
2929 CYGPATH_W='cygpath -w'
2936 # Define the identity of the package.
2941 cat >>confdefs.h <<_ACEOF
2942 #define PACKAGE "$PACKAGE"
2946 cat >>confdefs.h <<_ACEOF
2947 #define VERSION "$VERSION"
2950 # Some tools Automake needs.
2952 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2955 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2958 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2961 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2964 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2966 # We need awk for the "check" target. The system "awk" is bad on
2968 # Always define AMTAR for backward compatibility. Yes, it's still used
2969 # in the wild :-( We should find a proper way to deprecate it ...
2972 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2979 ac_config_headers="$ac_config_headers config.h"
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
2983 $as_echo_n "checking if malloc debugging is wanted... " >&6; }
2985 # Check whether --with-dmalloc was given.
2986 if test "${with_dmalloc+set}" = set; then :
2987 withval=$with_dmalloc; if test "$withval" = yes; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2989 $as_echo "yes" >&6; }
2991 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
2993 LIBS="$LIBS -ldmalloc"
2994 LDFLAGS="$LDFLAGS -g"
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3009 ISODATE=`date +%Y-%m-%d`
3012 # Make sure we can run config.sub.
3013 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3014 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3017 $as_echo_n "checking build system type... " >&6; }
3018 if ${ac_cv_build+:} false; then :
3019 $as_echo_n "(cached) " >&6
3021 ac_build_alias=$build_alias
3022 test "x$ac_build_alias" = x &&
3023 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3024 test "x$ac_build_alias" = x &&
3025 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3026 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3027 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3031 $as_echo "$ac_cv_build" >&6; }
3032 case $ac_cv_build in
3034 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3037 ac_save_IFS=$IFS; IFS='-'
3043 # Remember, the first character of IFS is used to create $*,
3044 # except with old shells:
3047 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3051 $as_echo_n "checking host system type... " >&6; }
3052 if ${ac_cv_host+:} false; then :
3053 $as_echo_n "(cached) " >&6
3055 if test "x$host_alias" = x; then
3056 ac_cv_host=$ac_cv_build
3058 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3059 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3064 $as_echo "$ac_cv_host" >&6; }
3067 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3070 ac_save_IFS=$IFS; IFS='-'
3076 # Remember, the first character of IFS is used to create $*,
3077 # except with old shells:
3080 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3085 ac_cpp='$CXXCPP $CPPFLAGS'
3086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3089 if test -z "$CXX"; then
3090 if test -n "$CCC"; then
3093 if test -n "$ac_tool_prefix"; then
3094 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3097 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if ${ac_cv_prog_CXX+:} false; then :
3101 $as_echo_n "(cached) " >&6
3103 if test -n "$CXX"; then
3104 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir=.
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 if test -n "$CXX"; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3126 $as_echo "$CXX" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3133 test -n "$CXX" && break
3136 if test -z "$CXX"; then
3138 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3140 # Extract the first word of "$ac_prog", so it can be a program name with args.
3141 set dummy $ac_prog; ac_word=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143 $as_echo_n "checking for $ac_word... " >&6; }
3144 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3145 $as_echo_n "(cached) " >&6
3147 if test -n "$ac_ct_CXX"; then
3148 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir=.
3155 for ac_exec_ext in '' $ac_executable_extensions; do
3156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3157 ac_cv_prog_ac_ct_CXX="$ac_prog"
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3168 if test -n "$ac_ct_CXX"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3170 $as_echo "$ac_ct_CXX" >&6; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3177 test -n "$ac_ct_CXX" && break
3180 if test "x$ac_ct_CXX" = x; then
3183 case $cross_compiling:$ac_tool_warned in
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3187 ac_tool_warned=yes ;;
3195 # Provide some information about the compiler.
3196 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3199 for ac_option in --version -v -V -qversion; do
3200 { { ac_try="$ac_compiler $ac_option >&5"
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3209 if test -s conftest.err; then
3211 ... rest of stderr output deleted ...
3212 10q' conftest.err >conftest.er1
3213 cat conftest.er1 >&5
3215 rm -f conftest.er1 conftest.err
3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217 test $ac_status = 0; }
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3231 ac_clean_files_save=$ac_clean_files
3232 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3233 # Try to create an executable without -o first, disregard a.out.
3234 # It will help us diagnose broken compilers, and finding out an intuition
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3237 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3238 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3240 # The possible output files:
3241 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3244 for ac_file in $ac_files
3247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3248 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3253 if { { ac_try="$ac_link_default"
3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3259 $as_echo "$ac_try_echo"; } >&5
3260 (eval "$ac_link_default") 2>&5
3262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3263 test $ac_status = 0; }; then :
3264 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3265 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3266 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3267 # so that the user can short-circuit this test for compilers unknown to
3269 for ac_file in $ac_files ''
3271 test -f "$ac_file" || continue
3273 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3276 # We found the default executable, but exeext='' is most
3280 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3282 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3284 # We set ac_cv_exeext here because the later test for it is not
3285 # safe: cross compilers may not add the suffix if given an `-o'
3286 # argument, so we may need to know it at that point already.
3287 # Even if this section looks crufty: it has the advantage of
3294 test "$ac_cv_exeext" = no && ac_cv_exeext=
3299 if test -z "$ac_file"; then :
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3302 $as_echo "$as_me: failed program was:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3307 as_fn_error 77 "C++ compiler cannot create executables
3308 See \`config.log' for more details" "$LINENO" 5; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3311 $as_echo "yes" >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3314 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3316 $as_echo "$ac_file" >&6; }
3317 ac_exeext=$ac_cv_exeext
3319 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3320 ac_clean_files=$ac_clean_files_save
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3322 $as_echo_n "checking for suffix of executables... " >&6; }
3323 if { { ac_try="$ac_link"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_link") 2>&5
3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333 test $ac_status = 0; }; then :
3334 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3335 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3336 # work properly (i.e., refer to `conftest.exe'), while it won't with
3338 for ac_file in conftest.exe conftest conftest.*; do
3339 test -f "$ac_file" || continue
3341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3342 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3351 See \`config.log' for more details" "$LINENO" 5; }
3353 rm -f conftest conftest$ac_cv_exeext
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3355 $as_echo "$ac_cv_exeext" >&6; }
3357 rm -f conftest.$ac_ext
3358 EXEEXT=$ac_cv_exeext
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3366 FILE *f = fopen ("conftest.out", "w");
3367 return ferror (f) || fclose (f) != 0;
3373 ac_clean_files="$ac_clean_files conftest.out"
3374 # Check that the compiler produces executables we can run. If not, either
3375 # the compiler is broken, or we cross compile.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3377 $as_echo_n "checking whether we are cross compiling... " >&6; }
3378 if test "$cross_compiling" != yes; then
3379 { { ac_try="$ac_link"
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 $as_echo "$ac_try_echo"; } >&5
3386 (eval "$ac_link") 2>&5
3388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 test $ac_status = 0; }
3390 if { ac_try='./conftest$ac_cv_exeext'
3391 { { case "(($ac_try" in
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3396 $as_echo "$ac_try_echo"; } >&5
3397 (eval "$ac_try") 2>&5
3399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3400 test $ac_status = 0; }; }; then
3403 if test "$cross_compiling" = maybe; then
3406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408 as_fn_error $? "cannot run C++ compiled programs.
3409 If you meant to cross compile, use \`--host'.
3410 See \`config.log' for more details" "$LINENO" 5; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3415 $as_echo "$cross_compiling" >&6; }
3417 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3418 ac_clean_files=$ac_clean_files_save
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3420 $as_echo_n "checking for suffix of object files... " >&6; }
3421 if ${ac_cv_objext+:} false; then :
3422 $as_echo_n "(cached) " >&6
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3435 rm -f conftest.o conftest.obj
3436 if { { ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3442 $as_echo "$ac_try_echo"; } >&5
3443 (eval "$ac_compile") 2>&5
3445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3446 test $ac_status = 0; }; then :
3447 for ac_file in conftest.o conftest.obj conftest.*; do
3448 test -f "$ac_file" || continue;
3450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3456 $as_echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.$ac_ext >&5
3459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3461 as_fn_error $? "cannot compute suffix of object files: cannot compile
3462 See \`config.log' for more details" "$LINENO" 5; }
3464 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3467 $as_echo "$ac_cv_objext" >&6; }
3468 OBJEXT=$ac_cv_objext
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3471 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3472 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3473 $as_echo_n "(cached) " >&6
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3489 if ac_fn_cxx_try_compile "$LINENO"; then :
3494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3495 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3499 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3500 if test $ac_compiler_gnu = yes; then
3505 ac_test_CXXFLAGS=${CXXFLAGS+set}
3506 ac_save_CXXFLAGS=$CXXFLAGS
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3508 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3509 if ${ac_cv_prog_cxx_g+:} false; then :
3510 $as_echo_n "(cached) " >&6
3512 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3513 ac_cxx_werror_flag=yes
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3527 if ac_fn_cxx_try_compile "$LINENO"; then :
3528 ac_cv_prog_cxx_g=yes
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3542 if ac_fn_cxx_try_compile "$LINENO"; then :
3545 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3558 if ac_fn_cxx_try_compile "$LINENO"; then :
3559 ac_cv_prog_cxx_g=yes
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3569 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3570 if test "$ac_test_CXXFLAGS" = set; then
3571 CXXFLAGS=$ac_save_CXXFLAGS
3572 elif test $ac_cv_prog_cxx_g = yes; then
3573 if test "$GXX" = yes; then
3579 if test "$GXX" = yes; then
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3590 DEPDIR="${am__leading_dot}deps"
3592 ac_config_commands="$ac_config_commands depfiles"
3595 am_make=${MAKE-make}
3596 cat > confinc << 'END'
3598 @echo this is the am__doit target
3601 # If we don't find an include directive, just comment out the code.
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3603 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3607 # First try GNU make style include.
3608 echo "include confinc" > confmf
3609 # Ignore all kinds of additional output from `make'.
3610 case `$am_make -s -f confmf 2> /dev/null` in #(
3611 *the\ am__doit\ target*)
3617 # Now try BSD make style include.
3618 if test "$am__include" = "#"; then
3619 echo '.include "confinc"' > confmf
3620 case `$am_make -s -f confmf 2> /dev/null` in #(
3621 *the\ am__doit\ target*)
3622 am__include=.include
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3631 $as_echo "$_am_result" >&6; }
3632 rm -f confinc confmf
3634 # Check whether --enable-dependency-tracking was given.
3635 if test "${enable_dependency_tracking+set}" = set; then :
3636 enableval=$enable_dependency_tracking;
3639 if test "x$enable_dependency_tracking" != xno; then
3640 am_depcomp="$ac_aux_dir/depcomp"
3644 if test "x$enable_dependency_tracking" != xno; then
3654 depcc="$CXX" am_compiler_list=
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3657 $as_echo_n "checking dependency style of $depcc... " >&6; }
3658 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3659 $as_echo_n "(cached) " >&6
3661 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3662 # We make a subdir and do the tests there. Otherwise we can end up
3663 # making bogus files that we don't know about and never remove. For
3664 # instance it was reported that on HP-UX the gcc test will end up
3665 # making a dummy file named `D' -- because `-MD' means `put the output
3669 # Copy depcomp to subdir because otherwise we won't find it if we're
3670 # using a relative directory.
3671 cp "$am_depcomp" conftest.dir
3673 # We will build objects and dependencies in a subdirectory because
3674 # it helps to detect inapplicable dependency modes. For instance
3675 # both Tru64's cc and ICC support -MD to output dependencies as a
3676 # side effect of compilation, but ICC will put the dependencies in
3677 # the current directory while Tru64 will put them in the object
3681 am_cv_CXX_dependencies_compiler_type=none
3682 if test "$am_compiler_list" = ""; then
3683 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3686 case " $depcc " in #(
3687 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3690 for depmode in $am_compiler_list; do
3691 # Setup a source with many dependencies, because some compilers
3692 # like to wrap large dependency lists on column 80 (with \), and
3693 # we should not choose a depcomp mode which is confused by this.
3695 # We need to recreate these files for each test, as the compiler may
3696 # overwrite some of them when testing with obscure command lines.
3697 # This happens at least with the AIX C compiler.
3699 for i in 1 2 3 4 5 6; do
3700 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3701 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3702 # Solaris 8's {/usr,}/bin/sh.
3703 touch sub/conftst$i.h
3705 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3707 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3708 # mode. It turns out that the SunPro C++ compiler does not properly
3709 # handle `-M -o', and we need to detect this. Also, some Intel
3710 # versions had trouble with output in subdirs
3711 am__obj=sub/conftest.${OBJEXT-o}
3712 am__minus_obj="-o $am__obj"
3715 # This depmode causes a compiler race in universal mode.
3716 test "$am__universal" = false || continue
3719 # after this tag, mechanisms are not by side-effect, so they'll
3720 # only be used when explicitly requested
3721 if test "x$enable_dependency_tracking" = xyes; then
3727 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3728 # This compiler won't grok `-c -o', but also, the minuso test has
3729 # not run yet. These depmodes are late enough in the game, and
3730 # so weak that their functioning should not be impacted.
3731 am__obj=conftest.${OBJEXT-o}
3736 if depmode=$depmode \
3737 source=sub/conftest.c object=$am__obj \
3738 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3739 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3740 >/dev/null 2>conftest.err &&
3741 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3742 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3743 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3744 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3745 # icc doesn't choke on unknown options, it will just issue warnings
3746 # or remarks (even with -Werror). So we grep stderr for any message
3747 # that says an option was ignored or not supported.
3748 # When given -MP, icc 7.0 and 7.1 complain thusly:
3749 # icc: Command line warning: ignoring option '-M'; no argument required
3750 # The diagnosis changed in icc 8.0:
3751 # icc: Command line remark: option '-MP' not supported
3752 if (grep 'ignoring option' conftest.err ||
3753 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3754 am_cv_CXX_dependencies_compiler_type=$depmode
3763 am_cv_CXX_dependencies_compiler_type=none
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3768 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3769 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3772 test "x$enable_dependency_tracking" != xno \
3773 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3774 am__fastdepCXX_TRUE=
3775 am__fastdepCXX_FALSE='#'
3777 am__fastdepCXX_TRUE='#'
3778 am__fastdepCXX_FALSE=
3783 ac_cpp='$CXXCPP $CPPFLAGS'
3784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3788 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3789 if test -z "$CXXCPP"; then
3790 if ${ac_cv_prog_CXXCPP+:} false; then :
3791 $as_echo_n "(cached) " >&6
3793 # Double quotes because CXXCPP needs to be expanded
3794 for CXXCPP in "$CXX -E" "/lib/cpp"
3797 for ac_cxx_preproc_warn_flag in '' yes
3799 # Use a header file that comes with gcc, so configuring glibc
3800 # with a fresh cross-compiler works.
3801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3802 # <limits.h> exists even on freestanding compilers.
3803 # On the NeXT, cc -E runs the code through the compiler's parser,
3804 # not just through cpp. "Syntax error" is here to catch this case.
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3808 # include <limits.h>
3810 # include <assert.h>
3814 if ac_fn_cxx_try_cpp "$LINENO"; then :
3817 # Broken: fails on valid input.
3820 rm -f conftest.err conftest.i conftest.$ac_ext
3822 # OK, works on sane cases. Now check whether nonexistent headers
3823 # can be detected and how.
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3826 #include <ac_nonexistent.h>
3828 if ac_fn_cxx_try_cpp "$LINENO"; then :
3829 # Broken: success on invalid input.
3832 # Passes both tests.
3836 rm -f conftest.err conftest.i conftest.$ac_ext
3839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3840 rm -f conftest.i conftest.err conftest.$ac_ext
3841 if $ac_preproc_ok; then :
3846 ac_cv_prog_CXXCPP=$CXXCPP
3849 CXXCPP=$ac_cv_prog_CXXCPP
3851 ac_cv_prog_CXXCPP=$CXXCPP
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3854 $as_echo "$CXXCPP" >&6; }
3856 for ac_cxx_preproc_warn_flag in '' yes
3858 # Use a header file that comes with gcc, so configuring glibc
3859 # with a fresh cross-compiler works.
3860 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3861 # <limits.h> exists even on freestanding compilers.
3862 # On the NeXT, cc -E runs the code through the compiler's parser,
3863 # not just through cpp. "Syntax error" is here to catch this case.
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3867 # include <limits.h>
3869 # include <assert.h>
3873 if ac_fn_cxx_try_cpp "$LINENO"; then :
3876 # Broken: fails on valid input.
3879 rm -f conftest.err conftest.i conftest.$ac_ext
3881 # OK, works on sane cases. Now check whether nonexistent headers
3882 # can be detected and how.
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3885 #include <ac_nonexistent.h>
3887 if ac_fn_cxx_try_cpp "$LINENO"; then :
3888 # Broken: success on invalid input.
3891 # Passes both tests.
3895 rm -f conftest.err conftest.i conftest.$ac_ext
3898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3899 rm -f conftest.i conftest.err conftest.$ac_ext
3900 if $ac_preproc_ok; then :
3903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3905 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3906 See \`config.log' for more details" "$LINENO" 5; }
3910 ac_cpp='$CPP $CPPFLAGS'
3911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916 ac_cpp='$CPP $CPPFLAGS'
3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 if test -n "$ac_tool_prefix"; then
3921 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3922 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_CC+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$CC"; then
3929 ac_cv_prog_CC="$CC" # Let the user override the test.
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3938 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 if test -n "$CC"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3951 $as_echo "$CC" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3959 if test -z "$ac_cv_prog_CC"; then
3961 # Extract the first word of "gcc", so it can be a program name with args.
3962 set dummy gcc; ac_word=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -n "$ac_ct_CC"; then
3969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir=.
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3978 ac_cv_prog_ac_ct_CC="gcc"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3989 if test -n "$ac_ct_CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3991 $as_echo "$ac_ct_CC" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3997 if test "x$ac_ct_CC" = x; then
4000 case $cross_compiling:$ac_tool_warned in
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4004 ac_tool_warned=yes ;;
4012 if test -z "$CC"; then
4013 if test -n "$ac_tool_prefix"; then
4014 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4015 set dummy ${ac_tool_prefix}cc; ac_word=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if ${ac_cv_prog_CC+:} false; then :
4019 $as_echo_n "(cached) " >&6
4021 if test -n "$CC"; then
4022 ac_cv_prog_CC="$CC" # Let the user override the test.
4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir=.
4029 for ac_exec_ext in '' $ac_executable_extensions; do
4030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4031 ac_cv_prog_CC="${ac_tool_prefix}cc"
4032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 if test -n "$CC"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4044 $as_echo "$CC" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4053 if test -z "$CC"; then
4054 # Extract the first word of "cc", so it can be a program name with args.
4055 set dummy cc; ac_word=$2
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057 $as_echo_n "checking for $ac_word... " >&6; }
4058 if ${ac_cv_prog_CC+:} false; then :
4059 $as_echo_n "(cached) " >&6
4061 if test -n "$CC"; then
4062 ac_cv_prog_CC="$CC" # Let the user override the test.
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4072 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4073 ac_prog_rejected=yes
4077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084 if test $ac_prog_rejected = yes; then
4085 # We found a bogon in the path, so make sure we never use it.
4086 set dummy $ac_cv_prog_CC
4088 if test $# != 0; then
4089 # We chose a different compiler from the bogus one.
4090 # However, it has the same basename, so the bogon will be chosen
4091 # first if we set CC to just the basename; use the full file name.
4093 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4099 if test -n "$CC"; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4101 $as_echo "$CC" >&6; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104 $as_echo "no" >&6; }
4109 if test -z "$CC"; then
4110 if test -n "$ac_tool_prefix"; then
4111 for ac_prog in cl.exe
4113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if ${ac_cv_prog_CC+:} false; then :
4118 $as_echo_n "(cached) " >&6
4120 if test -n "$CC"; then
4121 ac_cv_prog_CC="$CC" # Let the user override the test.
4123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir=.
4128 for ac_exec_ext in '' $ac_executable_extensions; do
4129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4130 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 if test -n "$CC"; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4143 $as_echo "$CC" >&6; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4150 test -n "$CC" && break
4153 if test -z "$CC"; then
4155 for ac_prog in cl.exe
4157 # Extract the first word of "$ac_prog", so it can be a program name with args.
4158 set dummy $ac_prog; ac_word=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -n "$ac_ct_CC"; then
4165 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174 ac_cv_prog_ac_ct_CC="$ac_prog"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4185 if test -n "$ac_ct_CC"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4187 $as_echo "$ac_ct_CC" >&6; }
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4194 test -n "$ac_ct_CC" && break
4197 if test "x$ac_ct_CC" = x; then
4200 case $cross_compiling:$ac_tool_warned in
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4204 ac_tool_warned=yes ;;
4213 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4215 as_fn_error $? "no acceptable C compiler found in \$PATH
4216 See \`config.log' for more details" "$LINENO" 5; }
4218 # Provide some information about the compiler.
4219 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4222 for ac_option in --version -v -V -qversion; do
4223 { { ac_try="$ac_compiler $ac_option >&5"
4225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4229 $as_echo "$ac_try_echo"; } >&5
4230 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4232 if test -s conftest.err; then
4234 ... rest of stderr output deleted ...
4235 10q' conftest.err >conftest.er1
4236 cat conftest.er1 >&5
4238 rm -f conftest.er1 conftest.err
4239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4240 test $ac_status = 0; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4244 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4245 if ${ac_cv_c_compiler_gnu+:} false; then :
4246 $as_echo_n "(cached) " >&6
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4262 if ac_fn_c_try_compile "$LINENO"; then :
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4272 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4273 if test $ac_compiler_gnu = yes; then
4278 ac_test_CFLAGS=${CFLAGS+set}
4279 ac_save_CFLAGS=$CFLAGS
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4281 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4282 if ${ac_cv_prog_cc_g+:} false; then :
4283 $as_echo_n "(cached) " >&6
4285 ac_save_c_werror_flag=$ac_c_werror_flag
4286 ac_c_werror_flag=yes
4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4300 if ac_fn_c_try_compile "$LINENO"; then :
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4315 if ac_fn_c_try_compile "$LINENO"; then :
4318 ac_c_werror_flag=$ac_save_c_werror_flag
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4331 if ac_fn_c_try_compile "$LINENO"; then :
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339 ac_c_werror_flag=$ac_save_c_werror_flag
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4342 $as_echo "$ac_cv_prog_cc_g" >&6; }
4343 if test "$ac_test_CFLAGS" = set; then
4344 CFLAGS=$ac_save_CFLAGS
4345 elif test $ac_cv_prog_cc_g = yes; then
4346 if test "$GCC" = yes; then
4352 if test "$GCC" = yes; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4359 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4360 if ${ac_cv_prog_cc_c89+:} false; then :
4361 $as_echo_n "(cached) " >&6
4363 ac_cv_prog_cc_c89=no
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4369 #include <sys/types.h>
4370 #include <sys/stat.h>
4371 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4372 struct buf { int x; };
4373 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4374 static char *e (p, i)
4380 static char *f (char * (*g) (char **, int), char **p, ...)
4385 s = g (p, va_arg (v,int));
4390 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4391 function prototypes and stuff, but not '\xHH' hex character constants.
4392 These don't provoke an error unfortunately, instead are silently treated
4393 as 'x'. The following induces an error, until -std is added to get
4394 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4395 array size at least. It's necessary to write '\x00'==0 to get something
4396 that's true only with -std. */
4397 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4399 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4400 inside strings and character constants. */
4402 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4404 int test (int i, double x);
4405 struct s1 {int (*f) (int a);};
4406 struct s2 {int (*f) (double a);};
4407 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4413 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4418 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4419 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4421 CC="$ac_save_CC $ac_arg"
4422 if ac_fn_c_try_compile "$LINENO"; then :
4423 ac_cv_prog_cc_c89=$ac_arg
4425 rm -f core conftest.err conftest.$ac_objext
4426 test "x$ac_cv_prog_cc_c89" != "xno" && break
4428 rm -f conftest.$ac_ext
4433 case "x$ac_cv_prog_cc_c89" in
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4436 $as_echo "none needed" >&6; } ;;
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4439 $as_echo "unsupported" >&6; } ;;
4441 CC="$CC $ac_cv_prog_cc_c89"
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4443 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4445 if test "x$ac_cv_prog_cc_c89" != xno; then :
4450 ac_cpp='$CPP $CPPFLAGS'
4451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455 depcc="$CC" am_compiler_list=
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4458 $as_echo_n "checking dependency style of $depcc... " >&6; }
4459 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4463 # We make a subdir and do the tests there. Otherwise we can end up
4464 # making bogus files that we don't know about and never remove. For
4465 # instance it was reported that on HP-UX the gcc test will end up
4466 # making a dummy file named `D' -- because `-MD' means `put the output
4470 # Copy depcomp to subdir because otherwise we won't find it if we're
4471 # using a relative directory.
4472 cp "$am_depcomp" conftest.dir
4474 # We will build objects and dependencies in a subdirectory because
4475 # it helps to detect inapplicable dependency modes. For instance
4476 # both Tru64's cc and ICC support -MD to output dependencies as a
4477 # side effect of compilation, but ICC will put the dependencies in
4478 # the current directory while Tru64 will put them in the object
4482 am_cv_CC_dependencies_compiler_type=none
4483 if test "$am_compiler_list" = ""; then
4484 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4487 case " $depcc " in #(
4488 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4491 for depmode in $am_compiler_list; do
4492 # Setup a source with many dependencies, because some compilers
4493 # like to wrap large dependency lists on column 80 (with \), and
4494 # we should not choose a depcomp mode which is confused by this.
4496 # We need to recreate these files for each test, as the compiler may
4497 # overwrite some of them when testing with obscure command lines.
4498 # This happens at least with the AIX C compiler.
4500 for i in 1 2 3 4 5 6; do
4501 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4502 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4503 # Solaris 8's {/usr,}/bin/sh.
4504 touch sub/conftst$i.h
4506 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4508 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4509 # mode. It turns out that the SunPro C++ compiler does not properly
4510 # handle `-M -o', and we need to detect this. Also, some Intel
4511 # versions had trouble with output in subdirs
4512 am__obj=sub/conftest.${OBJEXT-o}
4513 am__minus_obj="-o $am__obj"
4516 # This depmode causes a compiler race in universal mode.
4517 test "$am__universal" = false || continue
4520 # after this tag, mechanisms are not by side-effect, so they'll
4521 # only be used when explicitly requested
4522 if test "x$enable_dependency_tracking" = xyes; then
4528 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4529 # This compiler won't grok `-c -o', but also, the minuso test has
4530 # not run yet. These depmodes are late enough in the game, and
4531 # so weak that their functioning should not be impacted.
4532 am__obj=conftest.${OBJEXT-o}
4537 if depmode=$depmode \
4538 source=sub/conftest.c object=$am__obj \
4539 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4540 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4541 >/dev/null 2>conftest.err &&
4542 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4543 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4544 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4545 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4546 # icc doesn't choke on unknown options, it will just issue warnings
4547 # or remarks (even with -Werror). So we grep stderr for any message
4548 # that says an option was ignored or not supported.
4549 # When given -MP, icc 7.0 and 7.1 complain thusly:
4550 # icc: Command line warning: ignoring option '-M'; no argument required
4551 # The diagnosis changed in icc 8.0:
4552 # icc: Command line remark: option '-MP' not supported
4553 if (grep 'ignoring option' conftest.err ||
4554 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4555 am_cv_CC_dependencies_compiler_type=$depmode
4564 am_cv_CC_dependencies_compiler_type=none
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4569 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4570 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4573 test "x$enable_dependency_tracking" != xno \
4574 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4576 am__fastdepCC_FALSE='#'
4578 am__fastdepCC_TRUE='#'
4579 am__fastdepCC_FALSE=
4584 ac_cpp='$CPP $CPPFLAGS'
4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4589 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4590 # On Suns, sometimes $CPP names a directory.
4591 if test -n "$CPP" && test -d "$CPP"; then
4594 if test -z "$CPP"; then
4595 if ${ac_cv_prog_CPP+:} false; then :
4596 $as_echo_n "(cached) " >&6
4598 # Double quotes because CPP needs to be expanded
4599 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4602 for ac_c_preproc_warn_flag in '' yes
4604 # Use a header file that comes with gcc, so configuring glibc
4605 # with a fresh cross-compiler works.
4606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4607 # <limits.h> exists even on freestanding compilers.
4608 # On the NeXT, cc -E runs the code through the compiler's parser,
4609 # not just through cpp. "Syntax error" is here to catch this case.
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4613 # include <limits.h>
4615 # include <assert.h>
4619 if ac_fn_c_try_cpp "$LINENO"; then :
4622 # Broken: fails on valid input.
4625 rm -f conftest.err conftest.i conftest.$ac_ext
4627 # OK, works on sane cases. Now check whether nonexistent headers
4628 # can be detected and how.
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4631 #include <ac_nonexistent.h>
4633 if ac_fn_c_try_cpp "$LINENO"; then :
4634 # Broken: success on invalid input.
4637 # Passes both tests.
4641 rm -f conftest.err conftest.i conftest.$ac_ext
4644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4645 rm -f conftest.i conftest.err conftest.$ac_ext
4646 if $ac_preproc_ok; then :
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4659 $as_echo "$CPP" >&6; }
4661 for ac_c_preproc_warn_flag in '' yes
4663 # Use a header file that comes with gcc, so configuring glibc
4664 # with a fresh cross-compiler works.
4665 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4666 # <limits.h> exists even on freestanding compilers.
4667 # On the NeXT, cc -E runs the code through the compiler's parser,
4668 # not just through cpp. "Syntax error" is here to catch this case.
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4672 # include <limits.h>
4674 # include <assert.h>
4678 if ac_fn_c_try_cpp "$LINENO"; then :
4681 # Broken: fails on valid input.
4684 rm -f conftest.err conftest.i conftest.$ac_ext
4686 # OK, works on sane cases. Now check whether nonexistent headers
4687 # can be detected and how.
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4690 #include <ac_nonexistent.h>
4692 if ac_fn_c_try_cpp "$LINENO"; then :
4693 # Broken: success on invalid input.
4696 # Passes both tests.
4700 rm -f conftest.err conftest.i conftest.$ac_ext
4703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4704 rm -f conftest.i conftest.err conftest.$ac_ext
4705 if $ac_preproc_ok; then :
4708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4710 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4711 See \`config.log' for more details" "$LINENO" 5; }
4715 ac_cpp='$CPP $CPPFLAGS'
4716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4720 ac_test_CFLAGS=${CFLAGS+set}
4721 ac_save_CFLAGS=$CFLAGS
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fpic" >&5
4724 $as_echo_n "checking whether $CC accepts -fpic... " >&6; }
4725 if ${ac_cv_prog_cc_fpic+:} false; then :
4726 $as_echo_n "(cached) " >&6
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4739 if ac_fn_c_try_compile "$LINENO"; then :
4740 ac_cv_prog_cc_fpic=yes
4742 ac_cv_prog_cc_fpic=no
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_fpic" >&5
4747 $as_echo "$ac_cv_prog_cc_fpic" >&6; }
4748 CFLAGS="$ac_save_CFLAGS"
4749 if test $ac_cv_prog_cc_fpic = yes; then
4756 if test "$GCC" = yes; then
4758 $as_echo "#define UNUSED __attribute__ ((unused))" >>confdefs.h
4762 $as_echo "#define UNUSED /**/" >>confdefs.h
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4769 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if ${ac_cv_prog_RANLIB+:} false; then :
4773 $as_echo_n "(cached) " >&6
4775 if test -n "$RANLIB"; then
4776 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 test -z "$as_dir" && as_dir=.
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4785 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 RANLIB=$ac_cv_prog_RANLIB
4796 if test -n "$RANLIB"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4798 $as_echo "$RANLIB" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4806 if test -z "$ac_cv_prog_RANLIB"; then
4807 ac_ct_RANLIB=$RANLIB
4808 # Extract the first word of "ranlib", so it can be a program name with args.
4809 set dummy ranlib; ac_word=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4813 $as_echo_n "(cached) " >&6
4815 if test -n "$ac_ct_RANLIB"; then
4816 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4825 ac_cv_prog_ac_ct_RANLIB="ranlib"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4836 if test -n "$ac_ct_RANLIB"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4838 $as_echo "$ac_ct_RANLIB" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4844 if test "x$ac_ct_RANLIB" = x; then
4847 case $cross_compiling:$ac_tool_warned in
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4851 ac_tool_warned=yes ;;
4853 RANLIB=$ac_ct_RANLIB
4856 RANLIB="$ac_cv_prog_RANLIB"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4860 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4862 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4863 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 cat >conftest.make <<\_ACEOF
4869 @echo '@@@%%%=$(MAKE)=@@@%%%'
4871 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4872 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4874 eval ac_cv_prog_make_${ac_make}_set=yes;;
4876 eval ac_cv_prog_make_${ac_make}_set=no;;
4880 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4887 SET_MAKE="MAKE=${MAKE-make}"
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4891 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4892 if ${ac_cv_path_GREP+:} false; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -z "$GREP"; then
4896 ac_path_GREP_found=false
4897 # Loop through the user's path and test for each of PROGNAME-LIST
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4899 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4902 test -z "$as_dir" && as_dir=.
4903 for ac_prog in grep ggrep; do
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4906 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4907 # Check for GNU ac_path_GREP and select it if it is found.
4908 # Check for GNU $ac_path_GREP
4909 case `"$ac_path_GREP" --version 2>&1` in
4911 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4914 $as_echo_n 0123456789 >"conftest.in"
4917 cat "conftest.in" "conftest.in" >"conftest.tmp"
4918 mv "conftest.tmp" "conftest.in"
4919 cp "conftest.in" "conftest.nl"
4920 $as_echo 'GREP' >> "conftest.nl"
4921 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4922 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4923 as_fn_arith $ac_count + 1 && ac_count=$as_val
4924 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4925 # Best one so far, save it but keep looking for a better one
4926 ac_cv_path_GREP="$ac_path_GREP"
4927 ac_path_GREP_max=$ac_count
4929 # 10*(2^10) chars as input seems more than enough
4930 test $ac_count -gt 10 && break
4932 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4935 $ac_path_GREP_found && break 3
4940 if test -z "$ac_cv_path_GREP"; then
4941 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4944 ac_cv_path_GREP=$GREP
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4949 $as_echo "$ac_cv_path_GREP" >&6; }
4950 GREP="$ac_cv_path_GREP"
4953 if test "x$CC" != xcc; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4955 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4958 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4960 set dummy $CC; ac_cc=`$as_echo "$2" |
4961 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4962 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4963 $as_echo_n "(cached) " >&6
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4976 # Make sure it works both with $CC and with simple cc.
4977 # We do the test twice because some compilers refuse to overwrite an
4978 # existing .o file with -o, though they will create one.
4979 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4981 if { { case "(($ac_try" in
4982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4986 $as_echo "$ac_try_echo"; } >&5
4987 (eval "$ac_try") 2>&5
4989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4990 test $ac_status = 0; } &&
4991 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4993 *) ac_try_echo=$ac_try;;
4995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4996 $as_echo "$ac_try_echo"; } >&5
4997 (eval "$ac_try") 2>&5
4999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5000 test $ac_status = 0; };
5002 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5003 if test "x$CC" != xcc; then
5004 # Test first that cc exists at all.
5005 if { ac_try='cc -c conftest.$ac_ext >&5'
5006 { { case "(($ac_try" in
5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5011 $as_echo "$ac_try_echo"; } >&5
5012 (eval "$ac_try") 2>&5
5014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5015 test $ac_status = 0; }; }; then
5016 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5018 if { { case "(($ac_try" in
5019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5020 *) ac_try_echo=$ac_try;;
5022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5023 $as_echo "$ac_try_echo"; } >&5
5024 (eval "$ac_try") 2>&5
5026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5027 test $ac_status = 0; } &&
5028 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5033 $as_echo "$ac_try_echo"; } >&5
5034 (eval "$ac_try") 2>&5
5036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5037 test $ac_status = 0; };
5042 # cc exists but doesn't like -o.
5043 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5048 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5050 rm -f core conftest*
5053 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5055 $as_echo "yes" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5060 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5064 # FIXME: we rely on the cache variable name because
5065 # there is no other way.
5067 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5068 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5069 if test "$am_t" != yes; then
5070 # Losing compiler, so override with the script.
5071 # FIXME: It is wrong to rewrite CC.
5072 # But if we don't then we get into trouble of one sort or another.
5073 # A longer-term fix would be to have automake use am__CC in this case,
5074 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5075 CC="$am_aux_dir/compile $CC"
5084 # Check whether --enable-openmp was given.
5085 if test "${enable_openmp+set}" = set; then :
5086 enableval=$enable_openmp;
5089 if test "$enable_openmp" != no; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to support OpenMP" >&5
5091 $as_echo_n "checking for $CC option to support OpenMP... " >&6; }
5092 if ${ac_cv_prog_c_openmp+:} false; then :
5093 $as_echo_n "(cached) " >&6
5095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5102 int main () { return omp_get_num_threads (); }
5105 if ac_fn_c_try_link "$LINENO"; then :
5106 ac_cv_prog_c_openmp='none needed'
5108 ac_cv_prog_c_openmp='unsupported'
5109 for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp; do
5110 ac_save_CFLAGS=$CFLAGS
5111 CFLAGS="$CFLAGS $ac_option"
5112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5119 int main () { return omp_get_num_threads (); }
5122 if ac_fn_c_try_link "$LINENO"; then :
5123 ac_cv_prog_c_openmp=$ac_option
5125 rm -f core conftest.err conftest.$ac_objext \
5126 conftest$ac_exeext conftest.$ac_ext
5127 CFLAGS=$ac_save_CFLAGS
5128 if test "$ac_cv_prog_c_openmp" != unsupported; then
5133 rm -f core conftest.err conftest.$ac_objext \
5134 conftest$ac_exeext conftest.$ac_ext
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_c_openmp" >&5
5137 $as_echo "$ac_cv_prog_c_openmp" >&6; }
5138 case $ac_cv_prog_c_openmp in #(
5139 "none needed" | unsupported)
5142 OPENMP_CFLAGS=$ac_cv_prog_c_openmp ;;
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
5150 $as_echo_n "checking for exp in -lm... " >&6; }
5151 if ${ac_cv_lib_m_exp+:} false; then :
5152 $as_echo_n "(cached) " >&6
5154 ac_check_lib_save_LIBS=$LIBS
5156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5157 /* end confdefs.h. */
5159 /* Override any GCC internal prototype to avoid an error.
5160 Use char because int might match the return type of a GCC
5161 builtin and then its argument prototype would still apply. */
5174 if ac_fn_c_try_link "$LINENO"; then :
5179 rm -f core conftest.err conftest.$ac_objext \
5180 conftest$ac_exeext conftest.$ac_ext
5181 LIBS=$ac_check_lib_save_LIBS
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
5184 $as_echo "$ac_cv_lib_m_exp" >&6; }
5185 if test "x$ac_cv_lib_m_exp" = xyes; then :
5186 cat >>confdefs.h <<_ACEOF
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5197 $as_echo_n "checking for egrep... " >&6; }
5198 if ${ac_cv_path_EGREP+:} false; then :
5199 $as_echo_n "(cached) " >&6
5201 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5202 then ac_cv_path_EGREP="$GREP -E"
5204 if test -z "$EGREP"; then
5205 ac_path_EGREP_found=false
5206 # Loop through the user's path and test for each of PROGNAME-LIST
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5211 test -z "$as_dir" && as_dir=.
5212 for ac_prog in egrep; do
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5215 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5216 # Check for GNU ac_path_EGREP and select it if it is found.
5217 # Check for GNU $ac_path_EGREP
5218 case `"$ac_path_EGREP" --version 2>&1` in
5220 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5223 $as_echo_n 0123456789 >"conftest.in"
5226 cat "conftest.in" "conftest.in" >"conftest.tmp"
5227 mv "conftest.tmp" "conftest.in"
5228 cp "conftest.in" "conftest.nl"
5229 $as_echo 'EGREP' >> "conftest.nl"
5230 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5231 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5232 as_fn_arith $ac_count + 1 && ac_count=$as_val
5233 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5234 # Best one so far, save it but keep looking for a better one
5235 ac_cv_path_EGREP="$ac_path_EGREP"
5236 ac_path_EGREP_max=$ac_count
5238 # 10*(2^10) chars as input seems more than enough
5239 test $ac_count -gt 10 && break
5241 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5244 $ac_path_EGREP_found && break 3
5249 if test -z "$ac_cv_path_EGREP"; then
5250 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5253 ac_cv_path_EGREP=$EGREP
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5259 $as_echo "$ac_cv_path_EGREP" >&6; }
5260 EGREP="$ac_cv_path_EGREP"
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5264 $as_echo_n "checking for ANSI C header files... " >&6; }
5265 if ${ac_cv_header_stdc+:} false; then :
5266 $as_echo_n "(cached) " >&6
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5283 if ac_fn_c_try_compile "$LINENO"; then :
5284 ac_cv_header_stdc=yes
5286 ac_cv_header_stdc=no
5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5290 if test $ac_cv_header_stdc = yes; then
5291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5293 /* end confdefs.h. */
5297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5298 $EGREP "memchr" >/dev/null 2>&1; then :
5301 ac_cv_header_stdc=no
5307 if test $ac_cv_header_stdc = yes; then
5308 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5315 $EGREP "free" >/dev/null 2>&1; then :
5318 ac_cv_header_stdc=no
5324 if test $ac_cv_header_stdc = yes; then
5325 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5326 if test "$cross_compiling" = yes; then :
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5333 #if ((' ' & 0x0FF) == 0x020)
5334 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5335 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5337 # define ISLOWER(c) \
5338 (('a' <= (c) && (c) <= 'i') \
5339 || ('j' <= (c) && (c) <= 'r') \
5340 || ('s' <= (c) && (c) <= 'z'))
5341 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5344 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5349 for (i = 0; i < 256; i++)
5350 if (XOR (islower (i), ISLOWER (i))
5351 || toupper (i) != TOUPPER (i))
5356 if ac_fn_c_try_run "$LINENO"; then :
5359 ac_cv_header_stdc=no
5361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5362 conftest.$ac_objext conftest.beam conftest.$ac_ext
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5368 $as_echo "$ac_cv_header_stdc" >&6; }
5369 if test $ac_cv_header_stdc = yes; then
5371 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5375 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5376 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5377 inttypes.h stdint.h unistd.h
5379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5380 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5383 cat >>confdefs.h <<_ACEOF
5384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5393 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5394 if ${ac_cv_header_stdbool_h+:} false; then :
5395 $as_echo_n "(cached) " >&6
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5400 #include <stdbool.h>
5402 "error: bool is not defined"
5405 "error: false is not defined"
5408 "error: false is not 0"
5411 "error: true is not defined"
5414 "error: true is not 1"
5416 #ifndef __bool_true_false_are_defined
5417 "error: __bool_true_false_are_defined is not defined"
5420 struct s { _Bool s: 1; _Bool t; } s;
5422 char a[true == 1 ? 1 : -1];
5423 char b[false == 0 ? 1 : -1];
5424 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5425 char d[(bool) 0.5 == true ? 1 : -1];
5426 /* See body of main program for 'e'. */
5427 char f[(_Bool) 0.0 == false ? 1 : -1];
5429 char h[sizeof (_Bool)];
5431 enum { j = false, k = true, l = false * true, m = true * 256 };
5432 /* The following fails for
5433 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5435 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5436 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5437 /* Catch a bug in an HP-UX C compiler. See
5438 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5439 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5451 /* Refer to every declared value, to avoid compiler optimizations. */
5452 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5453 + !m + !n + !o + !p + !q + !pq);
5459 if ac_fn_c_try_compile "$LINENO"; then :
5460 ac_cv_header_stdbool_h=yes
5462 ac_cv_header_stdbool_h=no
5464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5467 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5468 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5469 if test "x$ac_cv_type__Bool" = xyes; then :
5471 cat >>confdefs.h <<_ACEOF
5472 #define HAVE__BOOL 1
5478 if test $ac_cv_header_stdbool_h = yes; then
5480 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5484 for ac_header in malloc.h float.h limits.h stdlib.h string.h strings.h unistd.h unistd.h math.h
5486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5487 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5489 cat >>confdefs.h <<_ACEOF
5490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5498 for ac_header in stdlib.h
5500 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5501 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5502 cat >>confdefs.h <<_ACEOF
5503 #define HAVE_STDLIB_H 1
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5511 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5512 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5513 $as_echo_n "(cached) " >&6
5515 if test "$cross_compiling" = yes; then :
5516 ac_cv_func_malloc_0_nonnull=no
5518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5519 /* end confdefs.h. */
5520 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5521 # include <stdlib.h>
5529 return ! malloc (0);
5534 if ac_fn_c_try_run "$LINENO"; then :
5535 ac_cv_func_malloc_0_nonnull=yes
5537 ac_cv_func_malloc_0_nonnull=no
5539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5540 conftest.$ac_objext conftest.beam conftest.$ac_ext
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5545 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5546 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5548 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5551 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5553 case " $LIBOBJS " in
5554 *" malloc.$ac_objext "* ) ;;
5555 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5560 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5565 for ac_header in stdlib.h
5567 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5568 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5569 cat >>confdefs.h <<_ACEOF
5570 #define HAVE_STDLIB_H 1
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5578 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5579 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5580 $as_echo_n "(cached) " >&6
5582 if test "$cross_compiling" = yes; then :
5583 ac_cv_func_realloc_0_nonnull=no
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5586 /* end confdefs.h. */
5587 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5588 # include <stdlib.h>
5596 return ! realloc (0, 0);
5601 if ac_fn_c_try_run "$LINENO"; then :
5602 ac_cv_func_realloc_0_nonnull=yes
5604 ac_cv_func_realloc_0_nonnull=no
5606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5607 conftest.$ac_objext conftest.beam conftest.$ac_ext
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5612 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5613 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5615 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5618 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5620 case " $LIBOBJS " in
5621 *" realloc.$ac_objext "* ) ;;
5622 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5627 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
5633 $as_echo_n "checking for working strtod... " >&6; }
5634 if ${ac_cv_func_strtod+:} false; then :
5635 $as_echo_n "(cached) " >&6
5637 if test "$cross_compiling" = yes; then :
5638 ac_cv_func_strtod=no
5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5643 $ac_includes_default
5651 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
5652 char *string = " +69";
5655 value = strtod (string, &term);
5656 if (value != 69 || term != (string + 4))
5661 /* Under Solaris 2.4, strtod returns the wrong value for the
5662 terminating character under some conditions. */
5663 char *string = "NaN";
5665 strtod (string, &term);
5666 if (term != string && *(term - 1) == 0)
5673 if ac_fn_c_try_run "$LINENO"; then :
5674 ac_cv_func_strtod=yes
5676 ac_cv_func_strtod=no
5678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5679 conftest.$ac_objext conftest.beam conftest.$ac_ext
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
5684 $as_echo "$ac_cv_func_strtod" >&6; }
5685 if test $ac_cv_func_strtod = no; then
5686 case " $LIBOBJS " in
5687 *" strtod.$ac_objext "* ) ;;
5688 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
5692 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
5693 if test "x$ac_cv_func_pow" = xyes; then :
5697 if test $ac_cv_func_pow = no; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
5699 $as_echo_n "checking for pow in -lm... " >&6; }
5700 if ${ac_cv_lib_m_pow+:} false; then :
5701 $as_echo_n "(cached) " >&6
5703 ac_check_lib_save_LIBS=$LIBS
5705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5708 /* Override any GCC internal prototype to avoid an error.
5709 Use char because int might match the return type of a GCC
5710 builtin and then its argument prototype would still apply. */
5723 if ac_fn_c_try_link "$LINENO"; then :
5728 rm -f core conftest.err conftest.$ac_objext \
5729 conftest$ac_exeext conftest.$ac_ext
5730 LIBS=$ac_check_lib_save_LIBS
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
5733 $as_echo "$ac_cv_lib_m_pow" >&6; }
5734 if test "x$ac_cv_lib_m_pow" = xyes; then :
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
5738 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
5745 for ac_func in floor strdup strstr strchr strrchr strstr strtol strtoul pow rint sqrt erand48 memset memmove erand48
5747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5749 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5750 cat >>confdefs.h <<_ACEOF
5751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5759 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5760 if ${ac_cv_c_const+:} false; then :
5761 $as_echo_n "(cached) " >&6
5763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5764 /* end confdefs.h. */
5769 /* FIXME: Include the comments suggested by Paul. */
5771 /* Ultrix mips cc rejects this. */
5772 typedef int charset[2];
5774 /* SunOS 4.1.1 cc rejects this. */
5775 char const *const *pcpcc;
5777 /* NEC SVR4.0.2 mips cc rejects this. */
5778 struct point {int x, y;};
5779 static struct point const zero = {0,0};
5780 /* AIX XL C 1.02.0.0 rejects this.
5781 It does not let you subtract one const X* pointer from another in
5782 an arm of an if-expression whose if-part is not a constant
5784 const char *g = "string";
5785 pcpcc = &g + (g ? g-g : 0);
5786 /* HPUX 7.0 cc rejects these. */
5788 ppc = (char**) pcpcc;
5789 pcpcc = (char const *const *) ppc;
5790 { /* SCO 3.2v4 cc rejects this. */
5792 char const *s = 0 ? (char *) 0 : (char const *) 0;
5797 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5799 const int *foo = &x[0];
5802 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5803 typedef const int *iptr;
5807 { /* AIX XL C 1.02.0.0 rejects this saying
5808 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5809 struct s { int j; const int *ap[3]; };
5810 struct s *b; b->j = 5;
5812 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5816 return !cs[0] && !zero.x;
5823 if ac_fn_c_try_compile "$LINENO"; then :
5828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5831 $as_echo "$ac_cv_c_const" >&6; }
5832 if test $ac_cv_c_const = no; then
5834 $as_echo "#define const /**/" >>confdefs.h
5838 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5839 if test "x$ac_cv_type_size_t" = xyes; then :
5843 cat >>confdefs.h <<_ACEOF
5844 #define size_t unsigned int
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5850 $as_echo_n "checking for inline... " >&6; }
5851 if ${ac_cv_c_inline+:} false; then :
5852 $as_echo_n "(cached) " >&6
5855 for ac_kw in inline __inline__ __inline; do
5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h. */
5860 static $ac_kw foo_t static_foo () {return 0; }
5861 $ac_kw foo_t foo () {return 0; }
5865 if ac_fn_c_try_compile "$LINENO"; then :
5866 ac_cv_c_inline=$ac_kw
5868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5869 test "$ac_cv_c_inline" != no && break
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5874 $as_echo "$ac_cv_c_inline" >&6; }
5876 case $ac_cv_c_inline in
5879 case $ac_cv_c_inline in
5881 *) ac_val=$ac_cv_c_inline;;
5883 cat >>confdefs.h <<_ACEOF
5885 #define inline $ac_val
5902 # announce the option to include it in configure script
5904 # Check whether --with-perl was given.
5905 if test "${with_perl+set}" = set; then :
5906 withval=$with_perl; with_perl=no
5912 # check if enabling the package makes sense at configure-time
5913 # and deactivate it if not
5916 if test "x$with_perl" != xno; then
5918 for i in interfaces/Perl/Makefile.am; do
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
5921 $as_echo_n "checking for $i... " >&6; }
5922 if test -f $i ; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5924 $as_echo "yes" >&6; }
5925 with_perl=$with_perl
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5940 # announce the option to include it in configure script
5942 # Check whether --with-python was given.
5943 if test "${with_python+set}" = set; then :
5944 withval=$with_python; with_python=yes
5950 # check if enabling the package makes sense at configure-time
5951 # and deactivate it if not
5954 if test "x$with_python" != xno; then
5956 for i in interfaces/Python/Makefile.am; do
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
5959 $as_echo_n "checking for $i... " >&6; }
5960 if test -f $i ; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5962 $as_echo "yes" >&6; }
5963 with_python=$with_python
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5978 # announce the option to include it in configure script
5980 # Check whether --with-ruby was given.
5981 if test "${with_ruby+set}" = set; then :
5982 withval=$with_ruby; with_ruby=yes
5988 # check if enabling the package makes sense at configure-time
5989 # and deactivate it if not
5992 if test "x$with_ruby" != xno; then
5994 for i in interfaces/Ruby/Makefile.am; do
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
5997 $as_echo_n "checking for $i... " >&6; }
5998 if test -f $i ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6000 $as_echo "yes" >&6; }
6001 with_ruby=$with_ruby
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6016 # announce the option to include it in configure script
6018 # Check whether --with-kinfold was given.
6019 if test "${with_kinfold+set}" = set; then :
6020 withval=$with_kinfold; with_kinfold=no
6026 # check if enabling the package makes sense at configure-time
6027 # and deactivate it if not
6030 if test "x$with_kinfold" != xno; then
6032 for i in Kinfold/Makefile.am; do
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
6035 $as_echo_n "checking for $i... " >&6; }
6036 if test -f $i ; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6038 $as_echo "yes" >&6; }
6039 with_kinfold=$with_kinfold
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6054 # announce the option to include it in configure script
6056 # Check whether --with-forester was given.
6057 if test "${with_forester+set}" = set; then :
6058 withval=$with_forester; with_forester=no
6064 # check if enabling the package makes sense at configure-time
6065 # and deactivate it if not
6068 if test "x$with_forester" != xno; then
6070 for i in RNAforester/Makefile.am; do
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
6073 $as_echo_n "checking for $i... " >&6; }
6074 if test -f $i ; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6076 $as_echo "yes" >&6; }
6077 with_forester=$with_forester
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6092 # announce the option to include it in configure script
6094 # Check whether --with-cluster was given.
6095 if test "${with_cluster+set}" = set; then :
6096 withval=$with_cluster; with_cluster=yes
6102 # check if enabling the package makes sense at configure-time
6103 # and deactivate it if not
6106 if test "x$with_cluster" != xno; then
6108 for i in Cluster/Makefile.am; do
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
6111 $as_echo_n "checking for $i... " >&6; }
6112 if test -f $i ; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6114 $as_echo "yes" >&6; }
6115 with_cluster=$with_cluster
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6130 # announce the option to include it in configure script
6132 # Check whether --with-svm was given.
6133 if test "${with_svm+set}" = set; then :
6134 withval=$with_svm; with_svm=no
6140 # check if enabling the package makes sense at configure-time
6141 # and deactivate it if not
6144 if test "x$with_svm" != xno; then
6146 for i in libsvm-${SVM_VERSION}/svm.cpp libsvm-${SVM_VERSION}/svm.h; do
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
6149 $as_echo_n "checking for $i... " >&6; }
6150 if test -f $i ; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6152 $as_echo "yes" >&6; }
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6168 # announce the option to include it in configure script
6170 # Check whether --with-doc-pdf was given.
6171 if test "${with_doc_pdf+set}" = set; then :
6172 withval=$with_doc_pdf; with_doc_pdf=no
6178 # check if enabling the package makes sense at configure-time
6179 # and deactivate it if not
6182 if test "x$with_doc_pdf" != xno; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
6187 $as_echo_n "checking for $i... " >&6; }
6188 if test -f $i ; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6190 $as_echo "yes" >&6; }
6191 with_doc_pdf=$with_doc_pdf
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194 $as_echo "no" >&6; }
6206 # announce the option to include it in configure script
6208 # Check whether --with-doc-html was given.
6209 if test "${with_doc_html+set}" = set; then :
6210 withval=$with_doc_html; with_doc_html=no
6216 # check if enabling the package makes sense at configure-time
6217 # and deactivate it if not
6220 if test "x$with_doc_html" != xno; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
6225 $as_echo_n "checking for $i... " >&6; }
6226 if test -f $i ; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6228 $as_echo "yes" >&6; }
6229 with_doc_html=$with_doc_html
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6244 # announce the option to include it in configure script
6246 # Check whether --with-doc was given.
6247 if test "${with_doc+set}" = set; then :
6248 withval=$with_doc; with_doc=no
6256 # check if enabling the package makes sense at configure-time
6257 # and deactivate it if not
6260 if test "x$with_doc" != xno; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i" >&5
6265 $as_echo_n "checking for $i... " >&6; }
6266 if test -f $i ; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6268 $as_echo "yes" >&6; }
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272 $as_echo "no" >&6; }
6283 ## begin with initialization according to configure-time specific options
6285 ## The following test ensures the right type for FLT_OR_DBL in the SWIG RNAlib interface
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether float precision is used for partition function arrays instead of double precision" >&5
6287 $as_echo_n "checking whether float precision is used for partition function arrays instead of double precision... " >&6; }
6288 bla=`${GREP} "^#define LARGE_PF" H/data_structures.h`
6289 if test "x$bla" = "x";
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pf_float" >&5
6294 $as_echo "$with_pf_float" >&6; }
6296 # check prerequisites for Perl interface
6297 # Extract the first word of "perl", so it can be a program name with args.
6298 set dummy perl; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_path_PerlCmd+:} false; then :
6302 $as_echo_n "(cached) " >&6
6306 ac_cv_path_PerlCmd="$PerlCmd" # Let the user override the test with a path.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316 ac_cv_path_PerlCmd="$as_dir/$ac_word$ac_exec_ext"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 PerlCmd=$ac_cv_path_PerlCmd
6328 if test -n "$PerlCmd"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PerlCmd" >&5
6330 $as_echo "$PerlCmd" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6338 if $PerlCmd -e 'require 5.004'; then :
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need Perl version 5.004 or higher for the Perl module" >&5
6341 $as_echo "$as_me: WARNING: You need Perl version 5.004 or higher for the Perl module" >&2;}
6347 # prepare all files for perl interface
6349 if test "x$with_perl" != xno; then
6352 $as_echo "#define WITH_PERL_INTERFACE 1" >>confdefs.h
6356 ac_config_files="$ac_config_files interfaces/Perl/Makefile interfaces/Perl/Makefile.PL"
6362 # check prerequisites for Python interface
6363 # Extract the first word of "python", so it can be a program name with args.
6364 set dummy python; ac_word=$2
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366 $as_echo_n "checking for $ac_word... " >&6; }
6367 if ${ac_cv_path_PythonCmd+:} false; then :
6368 $as_echo_n "(cached) " >&6
6372 ac_cv_path_PythonCmd="$PythonCmd" # Let the user override the test with a path.
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir=.
6380 for ac_exec_ext in '' $ac_executable_extensions; do
6381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6382 ac_cv_path_PythonCmd="$as_dir/$ac_word$ac_exec_ext"
6383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 PythonCmd=$ac_cv_path_PythonCmd
6394 if test -n "$PythonCmd"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PythonCmd" >&5
6396 $as_echo "$PythonCmd" >&6; }
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6404 version_test=`$PythonCmd interfaces/Python/version_test.py`
6405 if test "x$version_test" = "xok"; then :
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need Python >= 2.5 and < 3.0 to build the Python extension" >&5
6408 $as_echo "$as_me: WARNING: You need Python >= 2.5 and < 3.0 to build the Python extension" >&2;}
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may set the PythonCmd environment variable to point to
6410 a suitable python binary" >&5
6411 $as_echo "$as_me: WARNING: You may set the PythonCmd environment variable to point to
6412 a suitable python binary" >&2;}
6417 # prepare all files for python interface
6419 if test "x$with_python" != xno; then
6422 $as_echo "#define WITH_PYTHON_INTERFACE 1" >>confdefs.h
6424 PYTHON_INTERFACE=Python
6426 ac_config_files="$ac_config_files interfaces/Python/Makefile interfaces/Python/setup.py"
6434 if test "x$with_kinfold" != xno; then
6436 subdirs="$subdirs Kinfold"
6443 if test "x$with_forester" != xno; then
6445 subdirs="$subdirs RNAforester"
6452 if test "x$with_cluster" != xno; then
6455 $as_echo "#define WITH_CLUSTER 1" >>confdefs.h
6459 ac_config_files="$ac_config_files Cluster/Makefile"
6466 if test "x$with_svm" != xno; then
6468 LIBSVM_DIR=libsvm-${SVM_VERSION}
6471 # this is rather a hack for RNALfold.c linking correctly
6473 $as_echo "#define USE_SVM 1" >>confdefs.h
6479 if test "$with_pf_float" != "yes"; then
6481 WITH_LARGE_PF_FALSE='#'
6483 WITH_LARGE_PF_TRUE='#'
6484 WITH_LARGE_PF_FALSE=
6487 if test "$with_kinfold" != "no"; then
6489 MAKE_KINFOLD_FALSE='#'
6491 MAKE_KINFOLD_TRUE='#'
6495 if test "$with_forester" != "no"; then
6497 MAKE_FORESTER_FALSE='#'
6499 MAKE_FORESTER_TRUE='#'
6500 MAKE_FORESTER_FALSE=
6503 if test "$with_cluster" = "yes"; then
6505 MAKE_CLUSTER_FALSE='#'
6507 MAKE_CLUSTER_TRUE='#'
6511 if test "$with_svm" != "no"; then
6513 WITH_LIBSVM_FALSE='#'
6515 WITH_LIBSVM_TRUE='#'
6522 # Extract the first word of "doxygen", so it can be a program name with args.
6523 set dummy doxygen; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if ${ac_cv_path_doxygen+:} false; then :
6527 $as_echo_n "(cached) " >&6
6531 ac_cv_path_doxygen="$doxygen" # Let the user override the test with a path.
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541 ac_cv_path_doxygen="$as_dir/$ac_word$ac_exec_ext"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 test -z "$ac_cv_path_doxygen" && ac_cv_path_doxygen="no"
6553 doxygen=$ac_cv_path_doxygen
6554 if test -n "$doxygen"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doxygen" >&5
6556 $as_echo "$doxygen" >&6; }
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6563 # Extract the first word of "pdflatex", so it can be a program name with args.
6564 set dummy pdflatex; ac_word=$2
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6566 $as_echo_n "checking for $ac_word... " >&6; }
6567 if ${ac_cv_path_pdflatex+:} false; then :
6568 $as_echo_n "(cached) " >&6
6572 ac_cv_path_pdflatex="$pdflatex" # Let the user override the test with a path.
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582 ac_cv_path_pdflatex="$as_dir/$ac_word$ac_exec_ext"
6583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 test -z "$ac_cv_path_pdflatex" && ac_cv_path_pdflatex="no"
6594 pdflatex=$ac_cv_path_pdflatex
6595 if test -n "$pdflatex"; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pdflatex" >&5
6597 $as_echo "$pdflatex" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 $as_echo "no" >&6; }
6604 # Extract the first word of "latex", so it can be a program name with args.
6605 set dummy latex; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 $as_echo_n "checking for $ac_word... " >&6; }
6608 if ${ac_cv_path_latex+:} false; then :
6609 $as_echo_n "(cached) " >&6
6613 ac_cv_path_latex="$latex" # Let the user override the test with a path.
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6623 ac_cv_path_latex="$as_dir/$ac_word$ac_exec_ext"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 test -z "$ac_cv_path_latex" && ac_cv_path_latex="no"
6635 latex=$ac_cv_path_latex
6636 if test -n "$latex"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $latex" >&5
6638 $as_echo "$latex" >&6; }
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 $as_echo "no" >&6; }
6645 # Extract the first word of "makeindex", so it can be a program name with args.
6646 set dummy makeindex; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if ${ac_cv_path_makeindex+:} false; then :
6650 $as_echo_n "(cached) " >&6
6654 ac_cv_path_makeindex="$makeindex" # Let the user override the test with a path.
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_path_makeindex="$as_dir/$ac_word$ac_exec_ext"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672 test -z "$ac_cv_path_makeindex" && ac_cv_path_makeindex="no"
6676 makeindex=$ac_cv_path_makeindex
6677 if test -n "$makeindex"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $makeindex" >&5
6679 $as_echo "$makeindex" >&6; }
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6686 # Extract the first word of "dot", so it can be a program name with args.
6687 set dummy dot; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_path_dot+:} false; then :
6691 $as_echo_n "(cached) " >&6
6695 ac_cv_path_dot="$dot" # Let the user override the test with a path.
6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705 ac_cv_path_dot="$as_dir/$ac_word$ac_exec_ext"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6713 test -z "$ac_cv_path_dot" && ac_cv_path_dot="no"
6718 if test -n "$dot"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dot" >&5
6720 $as_echo "$dot" >&6; }
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 $as_echo "no" >&6; }
6727 # Extract the first word of "egrep", so it can be a program name with args.
6728 set dummy egrep; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if ${ac_cv_path_egrep+:} false; then :
6732 $as_echo_n "(cached) " >&6
6736 ac_cv_path_egrep="$egrep" # Let the user override the test with a path.
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6746 ac_cv_path_egrep="$as_dir/$ac_word$ac_exec_ext"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 test -z "$ac_cv_path_egrep" && ac_cv_path_egrep="no"
6758 egrep=$ac_cv_path_egrep
6759 if test -n "$egrep"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $egrep" >&5
6761 $as_echo "$egrep" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6768 # Extract the first word of "perl", so it can be a program name with args.
6769 set dummy perl; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_path_perl+:} false; then :
6773 $as_echo_n "(cached) " >&6
6777 ac_cv_path_perl="$perl" # Let the user override the test with a path.
6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6784 test -z "$as_dir" && as_dir=.
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6787 ac_cv_path_perl="$as_dir/$ac_word$ac_exec_ext"
6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 test -z "$ac_cv_path_perl" && ac_cv_path_perl="no"
6799 perl=$ac_cv_path_perl
6800 if test -n "$perl"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl" >&5
6802 $as_echo "$perl" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6810 DOXYGEN_PDFLATEX_WORKARROUND=yes
6812 # check whether we are able to generate the doxygen documentation
6814 if test "x$with_doc" != xno; then
6816 if test "x$doxygen" != xno;
6818 # test for programs necessary in order to use doxygen
6820 if test "x$DOXYGEN_PDFLATEX_WORKARROUND" = xno;
6822 # this is a workarround for older versions of doxygen as installed e.g. in fc12 where
6823 # pdflatex usage does not work
6825 if test "x$pdflatex" = xno;
6827 if test "x$latex" = xno;
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither latex or pdflatex exists on your system!" >&5
6830 $as_echo "$as_me: WARNING: neither latex or pdflatex exists on your system!" >&2;}
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: deactivating automatic (re)generation of reference manual!" >&5
6832 $as_echo "$as_me: WARNING: deactivating automatic (re)generation of reference manual!" >&2;}
6838 _latex_cmd=$pdflatex
6841 if test "x$latex" = xno;
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither latex or pdflatex exists on your system!" >&5
6844 $as_echo "$as_me: WARNING: neither latex or pdflatex exists on your system!" >&2;}
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: deactivating automatic (re)generation of reference manual!" >&5
6846 $as_echo "$as_me: WARNING: deactivating automatic (re)generation of reference manual!" >&2;}
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: due to a bug in older versions of doxygen, latex will be used for reference manual generation even if pdflatex is available" >&5
6851 $as_echo "$as_me: WARNING: due to a bug in older versions of doxygen, latex will be used for reference manual generation even if pdflatex is available" >&2;}
6857 if test "x$makeindex" = xno;
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex command not found on your system!" >&5
6860 $as_echo "$as_me: WARNING: makeindex command not found on your system!" >&2;}
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: deactivating automatic (re)generation of reference manual!" >&5
6862 $as_echo "$as_me: WARNING: deactivating automatic (re)generation of reference manual!" >&2;}
6866 if test "x$egrep" = xno;
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep command not found on your system!" >&5
6869 $as_echo "$as_me: WARNING: egrep command not found on your system!" >&2;}
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: deactivating automatic (re)generation of reference manual!" >&5
6871 $as_echo "$as_me: WARNING: deactivating automatic (re)generation of reference manual!" >&2;}
6875 if test "x$dot" = xno;
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot command not found on your system!" >&5
6878 $as_echo "$as_me: WARNING: dot command not found on your system!" >&2;}
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: deactivating graph output in reference manual!" >&5
6880 $as_echo "$as_me: WARNING: deactivating graph output in reference manual!" >&2;}
6883 if test "x$perl" = xno;
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl command not found on your system!" >&5
6886 $as_echo "$as_me: WARNING: perl command not found on your system!" >&2;}
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: deactivating automatic (re)generation of reference manual!" >&5
6888 $as_echo "$as_me: WARNING: deactivating automatic (re)generation of reference manual!" >&2;}
6898 # setup everything in order to generate the doxygen configfile
6901 if test "x$with_doc" != xno; then
6904 DOXYGEN_PROJECT_NAME=RNAlib-$PACKAGE_VERSION
6906 DOXYGEN_SRCDIR=$srcdir
6910 DOXYGEN_CONF=doxygen.conf
6914 # prepare the config file for doxygen if we are able to generate a reference manual
6915 if test "x$doxygen" != xno;
6918 DOXYGEN_CMD_LATEX=$_latex_cmd
6920 DOXYGEN_CMD_MAKEINDEX=$makeindex
6922 DOXYGEN_HAVE_DOT=YES
6924 DOXYGEN_WITH_PDFLATEX=YES
6926 DOXYGEN_GENERATE_HTML=YES
6928 DOXYGEN_GENERATE_LATEX=YES
6931 ac_config_files="$ac_config_files ${DOXYGEN_DOCDIR}/${DOXYGEN_CONF}"
6936 # otherwise check if a generated reference manual already exists
6939 if test "x$with_doc_pdf" != xno; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $DOXYGEN_DOCDIR/$DOXYGEN_PROJECT_NAME.pdf" >&5
6943 $as_echo_n "checking for $DOXYGEN_DOCDIR/$DOXYGEN_PROJECT_NAME.pdf... " >&6; }
6944 if test -f $DOXYGEN_DOCDIR/$DOXYGEN_PROJECT_NAME.pdf ; then
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6946 $as_echo "yes" >&6; }
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950 $as_echo "no" >&6; }
6958 if test "x$with_doc_html" != xno; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $DOXYGEN_DOCDIR/html/index.html" >&5
6962 $as_echo_n "checking for $DOXYGEN_DOCDIR/html/index.html... " >&6; }
6963 if test -f $DOXYGEN_DOCDIR/html/index.html ; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6965 $as_echo "yes" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
6976 if test "x$with_doc_pdf" = "x$with_doc_html";
6978 if test "x$with_doc_pdf" = xno;
6988 REFERENCE_MANUAL_PDF_NAME=$DOXYGEN_PROJECT_NAME.pdf
6990 REFERENCE_MANUAL_TAGFILE=$DOXYGEN_PROJECT_NAME.tag
6994 # setup variables used in Makefile.am
6995 if test "x$with_doc" != xno; then
6996 WITH_REFERENCE_MANUAL_TRUE=
6997 WITH_REFERENCE_MANUAL_FALSE='#'
6999 WITH_REFERENCE_MANUAL_TRUE='#'
7000 WITH_REFERENCE_MANUAL_FALSE=
7003 if test "x$doxygen" != xno; then
7004 WITH_REFERENCE_MANUAL_BUILD_TRUE=
7005 WITH_REFERENCE_MANUAL_BUILD_FALSE='#'
7007 WITH_REFERENCE_MANUAL_BUILD_TRUE='#'
7008 WITH_REFERENCE_MANUAL_BUILD_FALSE=
7011 if test "x$with_doc_pdf" != xno; then
7012 WITH_REFERENCE_MANUAL_PDF_TRUE=
7013 WITH_REFERENCE_MANUAL_PDF_FALSE='#'
7015 WITH_REFERENCE_MANUAL_PDF_TRUE='#'
7016 WITH_REFERENCE_MANUAL_PDF_FALSE=
7019 if test "x$with_doc_html" != xno; then
7020 WITH_REFERENCE_MANUAL_HTML_TRUE=
7021 WITH_REFERENCE_MANUAL_HTML_FALSE='#'
7023 WITH_REFERENCE_MANUAL_HTML_TRUE='#'
7024 WITH_REFERENCE_MANUAL_HTML_FALSE=
7030 ac_config_files="$ac_config_files misc/Makefile misc/ViennaRNA.spec misc/PKGBUILD"
7032 ac_config_files="$ac_config_files interfaces/Makefile"
7034 ac_config_files="$ac_config_files Makefile RNAlib2.pc Utils/Makefile Progs/Makefile lib/Makefile man/Makefile H/Makefile doc/Makefile"
7037 ac_config_files="$ac_config_files man/cmdlopt.sh"
7042 cat >confcache <<\_ACEOF
7043 # This file is a shell script that caches the results of configure
7044 # tests run on this system so they can be shared between configure
7045 # scripts and configure runs, see configure's option --config-cache.
7046 # It is not useful on other systems. If it contains results you don't
7047 # want to keep, you may remove or edit it.
7049 # config.status only pays attention to the cache file if you give it
7050 # the --recheck option to rerun configure.
7052 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7053 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7058 # The following way of writing the cache mishandles newlines in values,
7059 # but we know of no workaround that is simple, portable, and efficient.
7060 # So, we kill variables containing newlines.
7061 # Ultrix sh set writes to stderr and can't be redirected directly,
7062 # and sets the high bit in the cache file unless we assign to the vars.
7064 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7065 eval ac_val=\$$ac_var
7069 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7070 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7073 _ | IFS | as_nl) ;; #(
7074 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7075 *) { eval $ac_var=; unset $ac_var;} ;;
7081 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7082 *${as_nl}ac_space=\ *)
7083 # `set' does not quote correctly, so add quotes: double-quote
7084 # substitution turns \\\\ into \\, and sed turns \\ into \.
7087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7090 # `set' quotes correctly as required by POSIX, so do not add quotes.
7091 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7102 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7104 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7105 if test -w "$cache_file"; then
7106 if test "x$cache_file" != "x/dev/null"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7108 $as_echo "$as_me: updating cache $cache_file" >&6;}
7109 if test ! -f "$cache_file" || test -h "$cache_file"; then
7110 cat confcache >"$cache_file"
7112 case $cache_file in #(
7114 mv -f confcache "$cache_file"$$ &&
7115 mv -f "$cache_file"$$ "$cache_file" ;; #(
7117 mv -f confcache "$cache_file" ;;
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7123 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7128 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7129 # Let make expand exec_prefix.
7130 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7132 DEFS=-DHAVE_CONFIG_H
7137 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7138 # 1. Remove the extension, and $U if already installed.
7139 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7140 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7141 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7142 # will be set to the directory where LIBOBJS objects are built.
7143 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7144 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7148 LTLIBOBJS=$ac_ltlibobjs
7151 if test -n "$EXEEXT"; then
7153 am__EXEEXT_FALSE='#'
7159 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7160 as_fn_error $? "conditional \"AMDEP\" was never defined.
7161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7163 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7164 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7167 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7168 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7171 if test -z "${WITH_LARGE_PF_TRUE}" && test -z "${WITH_LARGE_PF_FALSE}"; then
7172 as_fn_error $? "conditional \"WITH_LARGE_PF\" was never defined.
7173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7175 if test -z "${MAKE_KINFOLD_TRUE}" && test -z "${MAKE_KINFOLD_FALSE}"; then
7176 as_fn_error $? "conditional \"MAKE_KINFOLD\" was never defined.
7177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7179 if test -z "${MAKE_FORESTER_TRUE}" && test -z "${MAKE_FORESTER_FALSE}"; then
7180 as_fn_error $? "conditional \"MAKE_FORESTER\" was never defined.
7181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7183 if test -z "${MAKE_CLUSTER_TRUE}" && test -z "${MAKE_CLUSTER_FALSE}"; then
7184 as_fn_error $? "conditional \"MAKE_CLUSTER\" was never defined.
7185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7187 if test -z "${WITH_LIBSVM_TRUE}" && test -z "${WITH_LIBSVM_FALSE}"; then
7188 as_fn_error $? "conditional \"WITH_LIBSVM\" was never defined.
7189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7191 if test -z "${WITH_REFERENCE_MANUAL_TRUE}" && test -z "${WITH_REFERENCE_MANUAL_FALSE}"; then
7192 as_fn_error $? "conditional \"WITH_REFERENCE_MANUAL\" was never defined.
7193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7195 if test -z "${WITH_REFERENCE_MANUAL_BUILD_TRUE}" && test -z "${WITH_REFERENCE_MANUAL_BUILD_FALSE}"; then
7196 as_fn_error $? "conditional \"WITH_REFERENCE_MANUAL_BUILD\" was never defined.
7197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7199 if test -z "${WITH_REFERENCE_MANUAL_PDF_TRUE}" && test -z "${WITH_REFERENCE_MANUAL_PDF_FALSE}"; then
7200 as_fn_error $? "conditional \"WITH_REFERENCE_MANUAL_PDF\" was never defined.
7201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7203 if test -z "${WITH_REFERENCE_MANUAL_HTML_TRUE}" && test -z "${WITH_REFERENCE_MANUAL_HTML_FALSE}"; then
7204 as_fn_error $? "conditional \"WITH_REFERENCE_MANUAL_HTML\" was never defined.
7205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7208 : "${CONFIG_STATUS=./config.status}"
7210 ac_clean_files_save=$ac_clean_files
7211 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7213 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7215 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7217 # Generated by $as_me.
7218 # Run this file to recreate the current configuration.
7219 # Compiler output produced by configure, useful for debugging
7220 # configure, is in config.log if it exists.
7226 SHELL=\${CONFIG_SHELL-$SHELL}
7229 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7230 ## -------------------- ##
7231 ## M4sh Initialization. ##
7232 ## -------------------- ##
7234 # Be more Bourne compatible
7235 DUALCASE=1; export DUALCASE # for MKS sh
7236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7239 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7240 # is contrary to our usage. Disable this feature.
7241 alias -g '${1+"$@"}'='"$@"'
7242 setopt NO_GLOB_SUBST
7244 case `(set -o) 2>/dev/null` in #(
7256 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7257 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7258 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7259 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7260 # Prefer a ksh shell builtin over an external printf program on Solaris,
7261 # but without wasting forks for bash or zsh.
7262 if test -z "$BASH_VERSION$ZSH_VERSION" \
7263 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7264 as_echo='print -r --'
7265 as_echo_n='print -rn --'
7266 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7267 as_echo='printf %s\n'
7268 as_echo_n='printf %s'
7270 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7271 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7272 as_echo_n='/usr/ucb/echo -n'
7274 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7275 as_echo_n_body='eval
7279 expr "X$arg" : "X\\(.*\\)$as_nl";
7280 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7282 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7284 export as_echo_n_body
7285 as_echo_n='sh -c $as_echo_n_body as_echo'
7288 as_echo='sh -c $as_echo_body as_echo'
7291 # The user is always right.
7292 if test "${PATH_SEPARATOR+set}" != set; then
7294 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7295 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7302 # We need space, tab and new line, in precisely that order. Quoting is
7303 # there to prevent editors from complaining about space-tab.
7304 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7305 # splitting by setting IFS to empty value.)
7308 # Find who we are. Look in the path if we contain no directory separator.
7311 *[\\/]* ) as_myself=$0 ;;
7312 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 test -z "$as_dir" && as_dir=.
7317 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7323 # We did not find ourselves, most probably we were run as `sh COMMAND'
7324 # in which case we are not to be found in the path.
7325 if test "x$as_myself" = x; then
7328 if test ! -f "$as_myself"; then
7329 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7333 # Unset variables that we do not need and which cause bugs (e.g. in
7334 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7335 # suppresses any "Segmentation fault" message there. '((' could
7336 # trigger a bug in pdksh 5.2.14.
7337 for as_var in BASH_ENV ENV MAIL MAILPATH
7338 do eval test x\${$as_var+set} = xset \
7339 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7352 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7355 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7356 # ----------------------------------------
7357 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7358 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7359 # script with STATUS, using 1 if that was 0.
7362 as_status=$1; test $as_status -eq 0 && as_status=1
7364 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7365 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7367 $as_echo "$as_me: error: $2" >&2
7368 as_fn_exit $as_status
7372 # as_fn_set_status STATUS
7373 # -----------------------
7374 # Set $? to STATUS, without forking.
7378 } # as_fn_set_status
7382 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7392 # Portably unset VAR.
7395 { eval $1=; unset $1;}
7397 as_unset=as_fn_unset
7398 # as_fn_append VAR VALUE
7399 # ----------------------
7400 # Append the text in VALUE to the end of the definition contained in VAR. Take
7401 # advantage of any shell optimizations that allow amortized linear growth over
7402 # repeated appends, instead of the typical quadratic growth present in naive
7404 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7405 eval 'as_fn_append ()
7416 # as_fn_arith ARG...
7417 # ------------------
7418 # Perform arithmetic evaluation on the ARGs, and store the result in the
7419 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7420 # must be portable across $(()) and expr.
7421 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7422 eval 'as_fn_arith ()
7429 as_val=`expr "$@" || test $? -eq 1`
7434 if expr a : '\(a\)' >/dev/null 2>&1 &&
7435 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7441 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7442 as_basename=basename
7447 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7453 as_me=`$as_basename -- "$0" ||
7454 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7455 X"$0" : 'X\(//\)$' \| \
7456 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7458 sed '/^.*\/\([^/][^/]*\)\/*$/{
7472 # Avoid depending upon Character Ranges.
7473 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7474 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7475 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7476 as_cr_digits='0123456789'
7477 as_cr_alnum=$as_cr_Letters$as_cr_digits
7479 ECHO_C= ECHO_N= ECHO_T=
7480 case `echo -n x` in #(((((
7482 case `echo 'xy\c'` in
7483 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7485 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7492 rm -f conf$$ conf$$.exe conf$$.file
7493 if test -d conf$$.dir; then
7494 rm -f conf$$.dir/conf$$.file
7497 mkdir conf$$.dir 2>/dev/null
7499 if (echo >conf$$.file) 2>/dev/null; then
7500 if ln -s conf$$.file conf$$ 2>/dev/null; then
7502 # ... but there are two gotchas:
7503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7505 # In both cases, we have to default to `cp -p'.
7506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7508 elif ln conf$$.file conf$$ 2>/dev/null; then
7516 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7517 rmdir conf$$.dir 2>/dev/null
7522 # Create "$as_dir" as a directory, including parents if necessary.
7527 -*) as_dir=./$as_dir;;
7529 test -d "$as_dir" || eval $as_mkdir_p || {
7533 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7534 *) as_qdir=$as_dir;;
7536 as_dirs="'$as_qdir' $as_dirs"
7537 as_dir=`$as_dirname -- "$as_dir" ||
7538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7539 X"$as_dir" : 'X\(//\)[^/]' \| \
7540 X"$as_dir" : 'X\(//\)$' \| \
7541 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7542 $as_echo X"$as_dir" |
7543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7560 test -d "$as_dir" && break
7562 test -z "$as_dirs" || eval "mkdir $as_dirs"
7563 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7567 if mkdir -p . 2>/dev/null; then
7568 as_mkdir_p='mkdir -p "$as_dir"'
7570 test -d ./-p && rmdir ./-p
7574 if test -x / >/dev/null 2>&1; then
7577 if ls -dL / >/dev/null 2>&1; then
7584 if test -d "$1"; then
7590 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7591 ???[sx]*):;;*)false;;esac;fi
7595 as_executable_p=$as_test_x
7597 # Sed expression to map a string onto a valid CPP name.
7598 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7600 # Sed expression to map a string onto a valid variable name.
7601 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7605 ## ----------------------------------- ##
7606 ## Main body of $CONFIG_STATUS script. ##
7607 ## ----------------------------------- ##
7609 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7612 # Save the log message, to keep $0 and so on meaningful, and to
7613 # report actual input values of CONFIG_FILES etc. instead of their
7614 # values after options handling.
7616 This file was extended by ViennaRNA $as_me 2.1.2, which was
7617 generated by GNU Autoconf 2.68. Invocation command line was
7619 CONFIG_FILES = $CONFIG_FILES
7620 CONFIG_HEADERS = $CONFIG_HEADERS
7621 CONFIG_LINKS = $CONFIG_LINKS
7622 CONFIG_COMMANDS = $CONFIG_COMMANDS
7625 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7630 case $ac_config_files in *"
7631 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7634 case $ac_config_headers in *"
7635 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7640 # Files that config.status was made for.
7641 config_files="$ac_config_files"
7642 config_headers="$ac_config_headers"
7643 config_commands="$ac_config_commands"
7647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7649 \`$as_me' instantiates files and other configuration actions
7650 from templates according to the current configuration. Unless the files
7651 and actions are specified as TAGs, all are instantiated by default.
7653 Usage: $0 [OPTION]... [TAG]...
7655 -h, --help print this help, then exit
7656 -V, --version print version number and configuration settings, then exit
7657 --config print configuration, then exit
7658 -q, --quiet, --silent
7659 do not print progress messages
7660 -d, --debug don't remove temporary files
7661 --recheck update $as_me by reconfiguring in the same conditions
7662 --file=FILE[:TEMPLATE]
7663 instantiate the configuration file FILE
7664 --header=FILE[:TEMPLATE]
7665 instantiate the configuration header FILE
7667 Configuration files:
7670 Configuration headers:
7673 Configuration commands:
7676 Report bugs to <rna@tbi.univie.ac.at>.
7677 ViennaRNA home page: <http://www.tbi.univie.ac.a/~ivo/RNA>."
7680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7681 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7683 ViennaRNA config.status 2.1.2
7684 configured by $0, generated by GNU Autoconf 2.68,
7685 with options \\"\$ac_cs_config\\"
7687 Copyright (C) 2010 Free Software Foundation, Inc.
7688 This config.status script is free software; the Free Software Foundation
7689 gives unlimited permission to copy, distribute and modify it."
7696 test -n "\$AWK" || AWK=awk
7699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7700 # The default lists apply if the user does not specify any file.
7706 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7707 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7711 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7723 # Handling of the options.
7724 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7726 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7727 $as_echo "$ac_cs_version"; exit ;;
7728 --config | --confi | --conf | --con | --co | --c )
7729 $as_echo "$ac_cs_config"; exit ;;
7730 --debug | --debu | --deb | --de | --d | -d )
7732 --file | --fil | --fi | --f )
7735 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7736 '') as_fn_error $? "missing file argument" ;;
7738 as_fn_append CONFIG_FILES " '$ac_optarg'"
7739 ac_need_defaults=false;;
7740 --header | --heade | --head | --hea )
7743 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7745 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7746 ac_need_defaults=false;;
7748 # Conflict between --help and --header
7749 as_fn_error $? "ambiguous option: \`$1'
7750 Try \`$0 --help' for more information.";;
7751 --help | --hel | -h )
7752 $as_echo "$ac_cs_usage"; exit ;;
7753 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7754 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7758 -*) as_fn_error $? "unrecognized option: \`$1'
7759 Try \`$0 --help' for more information." ;;
7761 *) as_fn_append ac_config_targets " $1"
7762 ac_need_defaults=false ;;
7768 ac_configure_extra_args=
7770 if $ac_cs_silent; then
7772 ac_configure_extra_args="$ac_configure_extra_args --silent"
7776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7777 if \$ac_cs_recheck; then
7778 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7780 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7781 CONFIG_SHELL='$SHELL'
7787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7791 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7792 ## Running $as_me. ##
7798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7802 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7808 # Handling of arguments.
7809 for ac_config_target in $ac_config_targets
7811 case $ac_config_target in
7812 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7813 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7814 "interfaces/Perl/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Perl/Makefile" ;;
7815 "interfaces/Perl/Makefile.PL") CONFIG_FILES="$CONFIG_FILES interfaces/Perl/Makefile.PL" ;;
7816 "interfaces/Python/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Python/Makefile" ;;
7817 "interfaces/Python/setup.py") CONFIG_FILES="$CONFIG_FILES interfaces/Python/setup.py" ;;
7818 "Cluster/Makefile") CONFIG_FILES="$CONFIG_FILES Cluster/Makefile" ;;
7819 "${DOXYGEN_DOCDIR}/${DOXYGEN_CONF}") CONFIG_FILES="$CONFIG_FILES ${DOXYGEN_DOCDIR}/${DOXYGEN_CONF}" ;;
7820 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
7821 "misc/ViennaRNA.spec") CONFIG_FILES="$CONFIG_FILES misc/ViennaRNA.spec" ;;
7822 "misc/PKGBUILD") CONFIG_FILES="$CONFIG_FILES misc/PKGBUILD" ;;
7823 "interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Makefile" ;;
7824 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7825 "RNAlib2.pc") CONFIG_FILES="$CONFIG_FILES RNAlib2.pc" ;;
7826 "Utils/Makefile") CONFIG_FILES="$CONFIG_FILES Utils/Makefile" ;;
7827 "Progs/Makefile") CONFIG_FILES="$CONFIG_FILES Progs/Makefile" ;;
7828 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
7829 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
7830 "H/Makefile") CONFIG_FILES="$CONFIG_FILES H/Makefile" ;;
7831 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7832 "man/cmdlopt.sh") CONFIG_FILES="$CONFIG_FILES man/cmdlopt.sh" ;;
7834 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7839 # If the user did not use the arguments to specify the items to instantiate,
7840 # then the envvar interface is used. Set only those that are not.
7841 # We use the long form for the default assignment because of an extremely
7842 # bizarre bug on SunOS 4.1.3.
7843 if $ac_need_defaults; then
7844 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7845 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7846 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7849 # Have a temporary directory for convenience. Make it in the build tree
7850 # simply because there is no reason against having it here, and in addition,
7851 # creating and moving files from /tmp can sometimes cause problems.
7852 # Hook for its removal unless debugging.
7853 # Note that there is a small window in which the directory will not be cleaned:
7854 # after its creation but before its name has been assigned to `$tmp'.
7858 trap 'exit_status=$?
7860 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7862 trap 'as_fn_exit 1' 1 2 13 15
7864 # Create a (secure) tmp directory for tmp files.
7867 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7871 tmp=./conf$$-$RANDOM
7872 (umask 077 && mkdir "$tmp")
7873 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7876 # Set up the scripts for CONFIG_FILES section.
7877 # No need to generate them if there are no CONFIG_FILES.
7878 # This happens for instance with `./config.status config.h'.
7879 if test -n "$CONFIG_FILES"; then
7882 ac_cr=`echo X | tr X '\015'`
7883 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7884 # But we know of no other shell where ac_cr would be empty at this
7885 # point, so we can use a bashism as a fallback.
7886 if test "x$ac_cr" = x; then
7887 eval ac_cr=\$\'\\r\'
7889 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7890 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7896 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7901 echo "cat >conf$$subs.awk <<_ACEOF" &&
7902 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7905 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7906 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7908 for ac_last_try in false false false false false :; do
7909 . ./conf$$subs.sh ||
7910 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7912 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7913 if test $ac_delim_n = $ac_delim_num; then
7915 elif $ac_last_try; then
7916 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7918 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7924 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7928 s/^/S["/; s/!.*/"]=/
7938 s/\(.\{148\}\)..*/\1/
7940 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7945 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7952 s/\(.\{148\}\)..*/\1/
7954 s/["\\]/\\&/g; s/^/"/; s/$/"/
7958 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7963 ' <conf$$subs.awk | sed '
7968 ' >>$CONFIG_STATUS || ac_write_fail=1
7969 rm -f conf$$subs.awk
7970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7972 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7973 for (key in S) S_is_set[key] = 1
7979 nfields = split(line, field, "@")
7981 len = length(field[1])
7982 for (i = 2; i < nfields; i++) {
7984 keylen = length(key)
7985 if (S_is_set[key]) {
7987 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7988 len += length(value) + length(field[++i])
7999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8000 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8001 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8004 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8005 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8008 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8009 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8010 # trailing colons and then remove the whole line if VPATH becomes empty
8011 # (actually we leave an empty line to preserve line numbers).
8012 if test "x$srcdir" = x.; then
8013 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8032 fi # test -n "$CONFIG_FILES"
8034 # Set up the scripts for CONFIG_HEADERS section.
8035 # No need to generate them if there are no CONFIG_HEADERS.
8036 # This happens for instance with `./config.status Makefile'.
8037 if test -n "$CONFIG_HEADERS"; then
8038 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8042 # Transform confdefs.h into an awk script `defines.awk', embedded as
8043 # here-document in config.status, that substitutes the proper values into
8044 # config.h.in to produce config.h.
8046 # Create a delimiter string that does not exist in confdefs.h, to ease
8047 # handling of long lines.
8049 for ac_last_try in false false :; do
8050 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8051 if test -z "$ac_tt"; then
8053 elif $ac_last_try; then
8054 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8056 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8060 # For the awk script, D is an array of macro values keyed by name,
8061 # likewise P contains macro parameters if any. Preserve backslash
8062 # newline sequences.
8064 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8066 s/.\{148\}/&'"$ac_delim"'/g
8069 s/^[ ]*#[ ]*define[ ][ ]*/ /
8076 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8078 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8082 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8083 D["\1"]=" \3\\\\\\n"\\/p
8085 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8090 s/.\{148\}/&'"$ac_delim"'/g
8095 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8098 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8100 ' <confdefs.h | sed '
8101 s/'"$ac_delim"'/"\\\
8102 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8105 for (key in D) D_is_set[key] = 1
8108 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8110 split(line, arg, " ")
8111 if (arg[1] == "#") {
8115 defundef = substr(arg[1], 2)
8118 split(mac1, mac2, "(") #)
8120 prefix = substr(line, 1, index(line, defundef) - 1)
8121 if (D_is_set[macro]) {
8122 # Preserve the white space surrounding the "#".
8123 print prefix "define", macro P[macro] D[macro]
8126 # Replace #undef with comments. This is necessary, for example,
8127 # in the case of _POSIX_SOURCE, which is predefined and required
8128 # on some systems where configure will not decide to define it.
8129 if (defundef == "undef") {
8130 print "/*", prefix defundef, macro, "*/"
8138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8139 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8140 fi # test -n "$CONFIG_HEADERS"
8143 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8148 :[FHLC]) ac_mode=$ac_tag; continue;;
8150 case $ac_mode$ac_tag in
8152 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8153 :[FH]-) ac_tag=-:-;;
8154 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8171 -) ac_f="$ac_tmp/stdin";;
8172 *) # Look for the file first in the build tree, then in the source tree
8173 # (if the path is not absolute). The absolute path cannot be DOS-style,
8174 # because $ac_f cannot contain `:'.
8178 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8180 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8182 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8183 as_fn_append ac_file_inputs " '$ac_f'"
8186 # Let's still pretend it is `configure' which instantiates (i.e., don't
8187 # use $as_me), people would be surprised to read:
8188 # /* config.h. Generated by config.status. */
8189 configure_input='Generated from '`
8190 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8192 if test x"$ac_file" != x-; then
8193 configure_input="$ac_file. $configure_input"
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8195 $as_echo "$as_me: creating $ac_file" >&6;}
8197 # Neutralize special characters interpreted by sed in replacement strings.
8198 case $configure_input in #(
8199 *\&* | *\|* | *\\* )
8200 ac_sed_conf_input=`$as_echo "$configure_input" |
8201 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8202 *) ac_sed_conf_input=$configure_input;;
8206 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8207 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8212 ac_dir=`$as_dirname -- "$ac_file" ||
8213 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8214 X"$ac_file" : 'X\(//\)[^/]' \| \
8215 X"$ac_file" : 'X\(//\)$' \| \
8216 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8217 $as_echo X"$ac_file" |
8218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8235 as_dir="$ac_dir"; as_fn_mkdir_p
8239 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8241 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8242 # A ".." for each directory in $ac_dir_suffix.
8243 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8244 case $ac_top_builddir_sub in
8245 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8246 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8249 ac_abs_top_builddir=$ac_pwd
8250 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8251 # for backward compatibility:
8252 ac_top_builddir=$ac_top_build_prefix
8255 .) # We are building in place.
8257 ac_top_srcdir=$ac_top_builddir_sub
8258 ac_abs_top_srcdir=$ac_pwd ;;
8259 [\\/]* | ?:[\\/]* ) # Absolute name.
8260 ac_srcdir=$srcdir$ac_dir_suffix;
8261 ac_top_srcdir=$srcdir
8262 ac_abs_top_srcdir=$srcdir ;;
8264 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8265 ac_top_srcdir=$ac_top_build_prefix$srcdir
8266 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8268 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8278 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8279 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8283 [\\/$]* | ?:[\\/]* ) ;;
8284 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8289 # If the template does not know about datarootdir, expand it.
8290 # FIXME: This hack should be removed a few years after 2.60.
8291 ac_datarootdir_hack=; ac_datarootdir_seen=
8302 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8303 *datarootdir*) ac_datarootdir_seen=yes;;
8304 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8306 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8309 ac_datarootdir_hack='
8310 s&@datadir@&$datadir&g
8311 s&@docdir@&$docdir&g
8312 s&@infodir@&$infodir&g
8313 s&@localedir@&$localedir&g
8314 s&@mandir@&$mandir&g
8315 s&\\\${datarootdir}&$datarootdir&g' ;;
8319 # Neutralize VPATH when `$srcdir' = `.'.
8320 # Shell code in configure.ac might set extrasub.
8321 # FIXME: do we really want to maintain this feature?
8322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8323 ac_sed_extra="$ac_vpsub
8326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8328 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8329 s|@configure_input@|$ac_sed_conf_input|;t t
8330 s&@top_builddir@&$ac_top_builddir_sub&;t t
8331 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8332 s&@srcdir@&$ac_srcdir&;t t
8333 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8334 s&@top_srcdir@&$ac_top_srcdir&;t t
8335 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8336 s&@builddir@&$ac_builddir&;t t
8337 s&@abs_builddir@&$ac_abs_builddir&;t t
8338 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8339 s&@INSTALL@&$ac_INSTALL&;t t
8340 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8341 $ac_datarootdir_hack
8343 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8344 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8346 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8347 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8348 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8349 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8351 which seems to be undefined. Please make sure it is defined" >&5
8352 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8353 which seems to be undefined. Please make sure it is defined" >&2;}
8355 rm -f "$ac_tmp/stdin"
8357 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8358 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8360 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8366 if test x"$ac_file" != x-; then
8368 $as_echo "/* $configure_input */" \
8369 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8370 } >"$ac_tmp/config.h" \
8371 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8372 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8374 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8377 mv "$ac_tmp/config.h" "$ac_file" \
8378 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8381 $as_echo "/* $configure_input */" \
8382 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8383 || as_fn_error $? "could not create -" "$LINENO" 5
8385 # Compute "$ac_file"'s index in $config_headers.
8388 for _am_header in $config_headers :; do
8390 $_am_arg | $_am_arg:* )
8393 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8396 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8397 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8398 X"$_am_arg" : 'X\(//\)[^/]' \| \
8399 X"$_am_arg" : 'X\(//\)$' \| \
8400 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8401 $as_echo X"$_am_arg" |
8402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8418 s/.*/./; q'`/stamp-h$_am_stamp_count
8421 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8422 $as_echo "$as_me: executing $ac_file commands" >&6;}
8427 case $ac_file$ac_mode in
8428 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8429 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8430 # are listed without --file. Let's play safe and only enable the eval
8431 # if we detect the quoting.
8432 case $CONFIG_FILES in
8433 *\'*) eval set x "$CONFIG_FILES" ;;
8434 *) set x $CONFIG_FILES ;;
8439 # Strip MF so we end up with the name of the file.
8440 mf=`echo "$mf" | sed -e 's/:.*$//'`
8441 # Check whether this is an Automake generated Makefile or not.
8442 # We used to match only the files named `Makefile.in', but
8443 # some people rename them; so instead we look at the file content.
8444 # Grep'ing the first line is not enough: some people post-process
8445 # each Makefile.in and add a new line on top of each file to say so.
8446 # Grep'ing the whole file is not good either: AIX grep has a line
8447 # limit of 2048, but all sed's we know have understand at least 4000.
8448 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8449 dirpart=`$as_dirname -- "$mf" ||
8450 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8451 X"$mf" : 'X\(//\)[^/]' \| \
8452 X"$mf" : 'X\(//\)$' \| \
8453 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8475 # Extract the definition of DEPDIR, am__include, and am__quote
8476 # from the Makefile without running `make'.
8477 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8478 test -z "$DEPDIR" && continue
8479 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8480 test -z "am__include" && continue
8481 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8482 # When using ansi2knr, U may be empty or an underscore; expand it
8483 U=`sed -n 's/^U = //p' < "$mf"`
8484 # Find all dependency output files, they are included files with
8485 # $(DEPDIR) in their names. We invoke sed twice because it is the
8486 # simplest approach to changing $(DEPDIR) to its actual value in the
8488 for file in `sed -n "
8489 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8490 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8491 # Make sure the directory exists.
8492 test -f "$dirpart/$file" && continue
8493 fdir=`$as_dirname -- "$file" ||
8494 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8495 X"$file" : 'X\(//\)[^/]' \| \
8496 X"$file" : 'X\(//\)$' \| \
8497 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8516 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8517 # echo "creating $dirpart/$file"
8518 echo '# dummy' > "$dirpart/$file"
8523 "man/cmdlopt.sh":F) chmod +x man/cmdlopt.sh ;;
8531 ac_clean_files=$ac_clean_files_save
8533 test $ac_write_fail = 0 ||
8534 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8537 # configure is writing to config.log, and then calls config.status.
8538 # config.status does its own redirection, appending to config.log.
8539 # Unfortunately, on DOS this fails, as config.log is still kept open
8540 # by configure, so config.status won't be able to write to it; its
8541 # output is simply discarded. So we exec the FD to /dev/null,
8542 # effectively closing config.log, so it can be properly (re)opened and
8543 # appended to by config.status. When coming back to configure, we
8544 # need to make the FD available again.
8545 if test "$no_create" != yes; then
8547 ac_config_status_args=
8548 test "$silent" = yes &&
8549 ac_config_status_args="$ac_config_status_args --quiet"
8551 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8553 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8554 # would make configure fail if this is the last instruction.
8555 $ac_cs_success || as_fn_exit 1
8559 # CONFIG_SUBDIRS section.
8561 if test "$no_recursion" != yes; then
8563 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8564 # so they do not pile up.
8565 ac_sub_configure_args=
8567 eval "set x $ac_configure_args"
8571 if test -n "$ac_prev"; then
8576 -cache-file | --cache-file | --cache-fil | --cache-fi \
8577 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8578 ac_prev=cache_file ;;
8579 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8580 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8583 --config-cache | -C)
8585 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8587 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8589 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
8591 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
8593 --disable-option-checking)
8597 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8599 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
8603 # Always prepend --prefix to ensure using the same prefix
8604 # in subdir configurations.
8605 ac_arg="--prefix=$prefix"
8607 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8609 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
8612 if test "$silent" = yes; then
8613 ac_sub_configure_args="--silent $ac_sub_configure_args"
8616 # Always prepend --disable-option-checking to silence warnings, since
8617 # different subdirs can have different --enable and --with options.
8618 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
8621 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
8623 # Do not complain, so a configure script can configure whichever
8624 # parts of a large source tree are present.
8625 test -d "$srcdir/$ac_dir" || continue
8627 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8628 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8629 $as_echo "$ac_msg" >&6
8630 as_dir="$ac_dir"; as_fn_mkdir_p
8634 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8636 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8637 # A ".." for each directory in $ac_dir_suffix.
8638 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8639 case $ac_top_builddir_sub in
8640 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8641 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8644 ac_abs_top_builddir=$ac_pwd
8645 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8646 # for backward compatibility:
8647 ac_top_builddir=$ac_top_build_prefix
8650 .) # We are building in place.
8652 ac_top_srcdir=$ac_top_builddir_sub
8653 ac_abs_top_srcdir=$ac_pwd ;;
8654 [\\/]* | ?:[\\/]* ) # Absolute name.
8655 ac_srcdir=$srcdir$ac_dir_suffix;
8656 ac_top_srcdir=$srcdir
8657 ac_abs_top_srcdir=$srcdir ;;
8659 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8660 ac_top_srcdir=$ac_top_build_prefix$srcdir
8661 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8663 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8668 # Check for guested configure; otherwise get Cygnus style configure.
8669 if test -f "$ac_srcdir/configure.gnu"; then
8670 ac_sub_configure=$ac_srcdir/configure.gnu
8671 elif test -f "$ac_srcdir/configure"; then
8672 ac_sub_configure=$ac_srcdir/configure
8673 elif test -f "$ac_srcdir/configure.in"; then
8674 # This should be Cygnus configure.
8675 ac_sub_configure=$ac_aux_dir/configure
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8678 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8682 # The recursion is here.
8683 if test -n "$ac_sub_configure"; then
8684 # Make the cache file name correct relative to the subdirectory.
8686 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
8688 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
8691 { $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
8692 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8693 # The eval makes quoting arguments work.
8694 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8695 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8696 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8702 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8704 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8710 # get directory paths
8712 eval _bindir=$(eval printf "%s" $bindir)
8713 eval _libdir=$(eval printf "%s" $libdir)
8714 eval _includedir=$(eval printf "%s" $includedir)
8715 eval _datadir=$(eval printf "%s" $datadir)
8716 eval _mandir=$(eval printf "%s" $mandir)
8717 eval _docdir=$(eval printf "%s" $docdir)
8718 eval _htmldir=$(eval printf "%s" $htmldir)
8719 eval _pdfdir=$(eval printf "%s" $pdfdir)
8723 { $as_echo "$as_me:${as_lineno-$LINENO}:
8724 Configure successful with the following options:
8727 Perl Interface: ${with_perl:-yes}
8728 Python Interface: ${with_python:-yes}
8729 Ruby Interface: ${with_ruby:-yes}
8732 Analyse{Dists,Seqs}: ${with_cluster:-no}
8733 Kinfold: ${with_kinfold:-yes}
8734 RNAforester: ${with_forester:-yes}
8737 SVM: ${with_svm:-yes}
8738 Documentation: ${with_doc:-no}
8739 (HTML): ${with_doc_html:-no}
8740 (PDF): ${with_doc_pdf:-no}
8742 Files will be installed in the following directories:
8744 Executables: $_bindir
8746 Header files: $_includedir
8747 Extra Data: $_datadir
8749 Documentation: $_docdir
8750 (HTML): $(eval printf \"%s\" $_htmldir)/html
8751 (PDF): $(eval printf \"%s\" $_pdfdir)
8754 Configure successful with the following options:
8757 Perl Interface: ${with_perl:-yes}
8758 Python Interface: ${with_python:-yes}
8759 Ruby Interface: ${with_ruby:-yes}
8762 Analyse{Dists,Seqs}: ${with_cluster:-no}
8763 Kinfold: ${with_kinfold:-yes}
8764 RNAforester: ${with_forester:-yes}
8767 SVM: ${with_svm:-yes}
8768 Documentation: ${with_doc:-no}
8769 (HTML): ${with_doc_html:-no}
8770 (PDF): ${with_doc_pdf:-no}
8772 Files will be installed in the following directories:
8774 Executables: $_bindir
8776 Header files: $_includedir
8777 Extra Data: $_datadir
8779 Documentation: $_docdir
8780 (HTML): $(eval printf \"%s\" $_htmldir)/html
8781 (PDF): $(eval printf \"%s\" $_pdfdir)