2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for kinfold 1.3.
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='kinfold'
562 PACKAGE_TARNAME='Kinfold'
563 PACKAGE_VERSION='1.3'
564 PACKAGE_STRING='kinfold 1.3'
565 PACKAGE_BUGREPORT='rna@tbi.univie.ac.at'
568 ac_unique_file="cache_util.h"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='am__EXEEXT_FALSE
647 INSTALL_STRIP_PROGRAM
693 program_transform_name
706 enable_option_checking
709 enable_dependency_tracking
710 with_ViennaRNA_include
714 ac_precious_vars='build_alias
725 # Initialize some variables set by options.
727 ac_init_version=false
728 ac_unrecognized_opts=
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
739 program_transform_name=s,x,x,
747 # Installation directory options.
748 # These are left unexpanded so users can "make install exec_prefix=/foo"
749 # and all the variables that are supposed to be based on exec_prefix
750 # by default will actually change.
751 # Use braces instead of parens because sh, perl, etc. also accept them.
752 # (The list follows the same order as the GNU Coding Standards.)
753 bindir='${exec_prefix}/bin'
754 sbindir='${exec_prefix}/sbin'
755 libexecdir='${exec_prefix}/libexec'
756 datarootdir='${prefix}/share'
757 datadir='${datarootdir}'
758 sysconfdir='${prefix}/etc'
759 sharedstatedir='${prefix}/com'
760 localstatedir='${prefix}/var'
761 includedir='${prefix}/include'
762 oldincludedir='/usr/include'
763 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
764 infodir='${datarootdir}/info'
769 libdir='${exec_prefix}/lib'
770 localedir='${datarootdir}/locale'
771 mandir='${datarootdir}/man'
777 # If the previous option needs an argument, assign it.
778 if test -n "$ac_prev"; then
779 eval $ac_prev=\$ac_option
785 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
790 # Accept the important Cygnus configure options, so we can diagnose typos.
792 case $ac_dashdash$ac_option in
796 -bindir | --bindir | --bindi | --bind | --bin | --bi)
798 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
801 -build | --build | --buil | --bui | --bu)
802 ac_prev=build_alias ;;
803 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804 build_alias=$ac_optarg ;;
806 -cache-file | --cache-file | --cache-fil | --cache-fi \
807 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808 ac_prev=cache_file ;;
809 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811 cache_file=$ac_optarg ;;
814 cache_file=config.cache ;;
816 -datadir | --datadir | --datadi | --datad)
818 -datadir=* | --datadir=* | --datadi=* | --datad=*)
819 datadir=$ac_optarg ;;
821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822 | --dataroo | --dataro | --datar)
823 ac_prev=datarootdir ;;
824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826 datarootdir=$ac_optarg ;;
828 -disable-* | --disable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: $ac_useropt"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
842 eval enable_$ac_useropt=no ;;
844 -docdir | --docdir | --docdi | --doc | --do)
846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854 -enable-* | --enable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: $ac_useropt"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
868 eval enable_$ac_useropt=\$ac_optarg ;;
870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
871 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
872 | --exec | --exe | --ex)
873 ac_prev=exec_prefix ;;
874 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
875 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
876 | --exec=* | --exe=* | --ex=*)
877 exec_prefix=$ac_optarg ;;
879 -gas | --gas | --ga | --g)
880 # Obsolete; use --with-gas.
883 -help | --help | --hel | --he | -h)
885 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
886 ac_init_help=recursive ;;
887 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
888 ac_init_help=short ;;
890 -host | --host | --hos | --ho)
891 ac_prev=host_alias ;;
892 -host=* | --host=* | --hos=* | --ho=*)
893 host_alias=$ac_optarg ;;
895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
899 htmldir=$ac_optarg ;;
901 -includedir | --includedir | --includedi | --included | --include \
902 | --includ | --inclu | --incl | --inc)
903 ac_prev=includedir ;;
904 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
905 | --includ=* | --inclu=* | --incl=* | --inc=*)
906 includedir=$ac_optarg ;;
908 -infodir | --infodir | --infodi | --infod | --info | --inf)
910 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911 infodir=$ac_optarg ;;
913 -libdir | --libdir | --libdi | --libd)
915 -libdir=* | --libdir=* | --libdi=* | --libd=*)
918 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
919 | --libexe | --libex | --libe)
920 ac_prev=libexecdir ;;
921 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
922 | --libexe=* | --libex=* | --libe=*)
923 libexecdir=$ac_optarg ;;
925 -localedir | --localedir | --localedi | --localed | --locale)
927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928 localedir=$ac_optarg ;;
930 -localstatedir | --localstatedir | --localstatedi | --localstated \
931 | --localstate | --localstat | --localsta | --localst | --locals)
932 ac_prev=localstatedir ;;
933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
935 localstatedir=$ac_optarg ;;
937 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
939 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
943 # Obsolete; use --without-fp.
946 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
947 | --no-cr | --no-c | -n)
950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
954 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
955 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
956 | --oldin | --oldi | --old | --ol | --o)
957 ac_prev=oldincludedir ;;
958 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
959 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
960 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
961 oldincludedir=$ac_optarg ;;
963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
968 -program-prefix | --program-prefix | --program-prefi | --program-pref \
969 | --program-pre | --program-pr | --program-p)
970 ac_prev=program_prefix ;;
971 -program-prefix=* | --program-prefix=* | --program-prefi=* \
972 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
973 program_prefix=$ac_optarg ;;
975 -program-suffix | --program-suffix | --program-suffi | --program-suff \
976 | --program-suf | --program-su | --program-s)
977 ac_prev=program_suffix ;;
978 -program-suffix=* | --program-suffix=* | --program-suffi=* \
979 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
980 program_suffix=$ac_optarg ;;
982 -program-transform-name | --program-transform-name \
983 | --program-transform-nam | --program-transform-na \
984 | --program-transform-n | --program-transform- \
985 | --program-transform | --program-transfor \
986 | --program-transfo | --program-transf \
987 | --program-trans | --program-tran \
988 | --progr-tra | --program-tr | --program-t)
989 ac_prev=program_transform_name ;;
990 -program-transform-name=* | --program-transform-name=* \
991 | --program-transform-nam=* | --program-transform-na=* \
992 | --program-transform-n=* | --program-transform-=* \
993 | --program-transform=* | --program-transfor=* \
994 | --program-transfo=* | --program-transf=* \
995 | --program-trans=* | --program-tran=* \
996 | --progr-tra=* | --program-tr=* | --program-t=*)
997 program_transform_name=$ac_optarg ;;
999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002 pdfdir=$ac_optarg ;;
1004 -psdir | --psdir | --psdi | --psd | --ps)
1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010 | -silent | --silent | --silen | --sile | --sil)
1013 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1015 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1017 sbindir=$ac_optarg ;;
1019 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1020 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1021 | --sharedst | --shareds | --shared | --share | --shar \
1023 ac_prev=sharedstatedir ;;
1024 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1025 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1026 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1028 sharedstatedir=$ac_optarg ;;
1030 -site | --site | --sit)
1032 -site=* | --site=* | --sit=*)
1035 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1037 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1038 srcdir=$ac_optarg ;;
1040 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1041 | --syscon | --sysco | --sysc | --sys | --sy)
1042 ac_prev=sysconfdir ;;
1043 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1044 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1045 sysconfdir=$ac_optarg ;;
1047 -target | --target | --targe | --targ | --tar | --ta | --t)
1048 ac_prev=target_alias ;;
1049 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1050 target_alias=$ac_optarg ;;
1052 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1055 -version | --version | --versio | --versi | --vers | -V)
1056 ac_init_version=: ;;
1059 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid package name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval with_$ac_useropt=\$ac_optarg ;;
1074 -without-* | --without-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1088 eval with_$ac_useropt=no ;;
1091 # Obsolete; use --with-x.
1094 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1095 | --x-incl | --x-inc | --x-in | --x-i)
1096 ac_prev=x_includes ;;
1097 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1098 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1099 x_includes=$ac_optarg ;;
1101 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1102 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1103 ac_prev=x_libraries ;;
1104 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1105 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1106 x_libraries=$ac_optarg ;;
1108 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1109 Try \`$0 --help' for more information"
1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114 # Reject names that are not valid shell variable names.
1115 case $ac_envvar in #(
1116 '' | [0-9]* | *[!_$as_cr_alnum]* )
1117 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1119 eval $ac_envvar=\$ac_optarg
1120 export $ac_envvar ;;
1123 # FIXME: should be removed in autoconf 3.0.
1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1133 if test -n "$ac_prev"; then
1134 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1135 as_fn_error $? "missing argument to $ac_option"
1138 if test -n "$ac_unrecognized_opts"; then
1139 case $enable_option_checking in
1141 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146 # Check all directory arguments for consistency.
1147 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148 datadir sysconfdir sharedstatedir localstatedir includedir \
1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150 libdir localedir mandir
1152 eval ac_val=\$$ac_var
1153 # Remove trailing slashes.
1156 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157 eval $ac_var=\$ac_val;;
1159 # Be sure to have absolute directory names.
1161 [\\/$]* | ?:[\\/]* ) continue;;
1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1164 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
1169 # FIXME: To remove some day.
1172 target=$target_alias
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x; then
1176 if test "x$build_alias" = x; then
1177 cross_compiling=maybe
1178 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1179 If a cross compiler is detected then cross compile mode will be used" >&2
1180 elif test "x$build_alias" != "x$host_alias"; then
1186 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188 test "$silent" = yes && exec 6>/dev/null
1191 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192 ac_ls_di=`ls -di .` &&
1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194 as_fn_error $? "working directory cannot be determined"
1195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1196 as_fn_error $? "pwd does not report name of working directory"
1199 # Find the source files, if location was not specified.
1200 if test -z "$srcdir"; then
1201 ac_srcdir_defaulted=yes
1202 # Try the directory containing this script, then the parent directory.
1203 ac_confdir=`$as_dirname -- "$as_myself" ||
1204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205 X"$as_myself" : 'X\(//\)[^/]' \| \
1206 X"$as_myself" : 'X\(//\)$' \| \
1207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1208 $as_echo X"$as_myself" |
1209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1231 ac_srcdir_defaulted=no
1233 if test ! -r "$srcdir/$ac_unique_file"; then
1234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1235 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1241 # When building in place, set srcdir=.
1242 if test "$ac_abs_confdir" = "$ac_pwd"; then
1245 # Remove unnecessary trailing slashes from srcdir.
1246 # Double slashes in file names in object file debugging info
1247 # mess up M-x gdb in Emacs.
1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1251 for ac_var in $ac_precious_vars; do
1252 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1253 eval ac_env_${ac_var}_value=\$${ac_var}
1254 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1259 # Report the --help message.
1261 if test "$ac_init_help" = "long"; then
1262 # Omit some internal or obsolete options to make the list less imposing.
1263 # This message is too long to be a string in the A/UX 3.1 sh.
1265 \`configure' configures kinfold 1.3 to adapt to many kinds of systems.
1267 Usage: $0 [OPTION]... [VAR=VALUE]...
1269 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1270 VAR=VALUE. See below for descriptions of some of the useful variables.
1272 Defaults for the options are specified in brackets.
1275 -h, --help display this help and exit
1276 --help=short display options specific to this package
1277 --help=recursive display the short help of all the included packages
1278 -V, --version display version information and exit
1279 -q, --quiet, --silent do not print \`checking ...' messages
1280 --cache-file=FILE cache test results in FILE [disabled]
1281 -C, --config-cache alias for \`--cache-file=config.cache'
1282 -n, --no-create do not create output files
1283 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1285 Installation directories:
1286 --prefix=PREFIX install architecture-independent files in PREFIX
1287 [$ac_default_prefix]
1288 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1291 By default, \`make install' will install all the files in
1292 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1293 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1294 for instance \`--prefix=\$HOME'.
1296 For better control, use the options below.
1298 Fine tuning of the installation directories:
1299 --bindir=DIR user executables [EPREFIX/bin]
1300 --sbindir=DIR system admin executables [EPREFIX/sbin]
1301 --libexecdir=DIR program executables [EPREFIX/libexec]
1302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1304 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1305 --libdir=DIR object code libraries [EPREFIX/lib]
1306 --includedir=DIR C header files [PREFIX/include]
1307 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1310 --infodir=DIR info documentation [DATAROOTDIR/info]
1311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1312 --mandir=DIR man documentation [DATAROOTDIR/man]
1313 --docdir=DIR documentation root [DATAROOTDIR/doc/Kinfold]
1314 --htmldir=DIR html documentation [DOCDIR]
1315 --dvidir=DIR dvi documentation [DOCDIR]
1316 --pdfdir=DIR pdf documentation [DOCDIR]
1317 --psdir=DIR ps documentation [DOCDIR]
1323 --program-prefix=PREFIX prepend PREFIX to installed program names
1324 --program-suffix=SUFFIX append SUFFIX to installed program names
1325 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1328 --build=BUILD configure for building on BUILD [guessed]
1329 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1333 if test -n "$ac_init_help"; then
1334 case $ac_init_help in
1335 short | recursive ) echo "Configuration of kinfold 1.3:";;
1340 --disable-option-checking ignore unrecognized --enable/--with options
1341 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1342 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1343 --enable-silent-rules less verbose build output (undo: `make V=1')
1344 --disable-silent-rules verbose build output (undo: `make V=0')
1345 --disable-dependency-tracking speeds up one-time build
1346 --enable-dependency-tracking do not reject slow dependency extractors
1347 --disable-openmp do not use OpenMP
1350 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1351 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1352 --with-dmalloc use dmalloc, as in http://www.dmalloc.com
1353 --with-ViennaRNA-include where to search for ViennaRNA header files
1354 --with-ViennaRNA-lib where to search for libRNA.a
1356 Some influential environment variables:
1357 CC C compiler command
1358 CFLAGS C compiler flags
1359 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1360 nonstandard directory <lib dir>
1361 LIBS libraries to pass to the linker, e.g. -l<library>
1362 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1363 you have headers in a nonstandard directory <include dir>
1366 Use these variables to override the choices made by `configure' or to help
1367 it to find libraries and programs with nonstandard names/locations.
1369 Report bugs to <rna@tbi.univie.ac.at>.
1374 if test "$ac_init_help" = "recursive"; then
1375 # If there are subdirs, report their specific --help.
1376 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1377 test -d "$ac_dir" ||
1378 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1383 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1386 # A ".." for each directory in $ac_dir_suffix.
1387 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1388 case $ac_top_builddir_sub in
1389 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1390 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1393 ac_abs_top_builddir=$ac_pwd
1394 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1395 # for backward compatibility:
1396 ac_top_builddir=$ac_top_build_prefix
1399 .) # We are building in place.
1401 ac_top_srcdir=$ac_top_builddir_sub
1402 ac_abs_top_srcdir=$ac_pwd ;;
1403 [\\/]* | ?:[\\/]* ) # Absolute name.
1404 ac_srcdir=$srcdir$ac_dir_suffix;
1405 ac_top_srcdir=$srcdir
1406 ac_abs_top_srcdir=$srcdir ;;
1408 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1409 ac_top_srcdir=$ac_top_build_prefix$srcdir
1410 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1412 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1414 cd "$ac_dir" || { ac_status=$?; continue; }
1415 # Check for guested configure.
1416 if test -f "$ac_srcdir/configure.gnu"; then
1418 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1419 elif test -f "$ac_srcdir/configure"; then
1421 $SHELL "$ac_srcdir/configure" --help=recursive
1423 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1425 cd "$ac_pwd" || { ac_status=$?; break; }
1429 test -n "$ac_init_help" && exit $ac_status
1430 if $ac_init_version; then
1432 kinfold configure 1.3
1433 generated by GNU Autoconf 2.68
1435 Copyright (C) 2010 Free Software Foundation, Inc.
1436 This configure script is free software; the Free Software Foundation
1437 gives unlimited permission to copy, distribute and modify it.
1442 ## ------------------------ ##
1443 ## Autoconf initialization. ##
1444 ## ------------------------ ##
1446 # ac_fn_c_try_compile LINENO
1447 # --------------------------
1448 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1449 ac_fn_c_try_compile ()
1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1452 rm -f conftest.$ac_objext
1453 if { { ac_try="$ac_compile"
1455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_compile") 2>conftest.err
1462 if test -s conftest.err; then
1463 grep -v '^ *+' conftest.err >conftest.er1
1464 cat conftest.er1 >&5
1465 mv -f conftest.er1 conftest.err
1467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468 test $ac_status = 0; } && {
1469 test -z "$ac_c_werror_flag" ||
1470 test ! -s conftest.err
1471 } && test -s conftest.$ac_objext; then :
1474 $as_echo "$as_me: failed program was:" >&5
1475 sed 's/^/| /' conftest.$ac_ext >&5
1479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1480 as_fn_set_status $ac_retval
1482 } # ac_fn_c_try_compile
1484 # ac_fn_c_try_link LINENO
1485 # -----------------------
1486 # Try to link conftest.$ac_ext, and return whether this succeeded.
1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490 rm -f conftest.$ac_objext conftest$ac_exeext
1491 if { { ac_try="$ac_link"
1493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1494 *) ac_try_echo=$ac_try;;
1496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 $as_echo "$ac_try_echo"; } >&5
1498 (eval "$ac_link") 2>conftest.err
1500 if test -s conftest.err; then
1501 grep -v '^ *+' conftest.err >conftest.er1
1502 cat conftest.er1 >&5
1503 mv -f conftest.er1 conftest.err
1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1506 test $ac_status = 0; } && {
1507 test -z "$ac_c_werror_flag" ||
1508 test ! -s conftest.err
1509 } && test -s conftest$ac_exeext && {
1510 test "$cross_compiling" = yes ||
1511 $as_test_x conftest$ac_exeext
1515 $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.$ac_ext >&5
1520 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1521 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1522 # interfere with the next link command; also delete a directory that is
1523 # left behind by Apple's compiler. We do this before executing the actions.
1524 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1526 as_fn_set_status $ac_retval
1528 } # ac_fn_c_try_link
1530 # ac_fn_c_check_func LINENO FUNC VAR
1531 # ----------------------------------
1532 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1533 ac_fn_c_check_func ()
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1537 $as_echo_n "checking for $2... " >&6; }
1538 if eval \${$3+:} false; then :
1539 $as_echo_n "(cached) " >&6
1541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1542 /* end confdefs.h. */
1543 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1545 #define $2 innocuous_$2
1547 /* System header to define __stub macros and hopefully few prototypes,
1548 which can conflict with char $2 (); below.
1549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1550 <limits.h> exists even on freestanding compilers. */
1553 # include <limits.h>
1555 # include <assert.h>
1560 /* Override any GCC internal prototype to avoid an error.
1561 Use char because int might match the return type of a GCC
1562 builtin and then its argument prototype would still apply. */
1567 /* The GNU C library defines this for functions which it implements
1568 to always fail with ENOSYS. Some functions are actually named
1569 something starting with __ and the normal name is an alias. */
1570 #if defined __stub_$2 || defined __stub___$2
1582 if ac_fn_c_try_link "$LINENO"; then :
1587 rm -f core conftest.err conftest.$ac_objext \
1588 conftest$ac_exeext conftest.$ac_ext
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1595 } # ac_fn_c_check_func
1597 # ac_fn_c_try_cpp LINENO
1598 # ----------------------
1599 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 if { { ac_try="$ac_cpp conftest.$ac_ext"
1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606 *) ac_try_echo=$ac_try;;
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1612 if test -s conftest.err; then
1613 grep -v '^ *+' conftest.err >conftest.er1
1614 cat conftest.er1 >&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } > conftest.i && {
1619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630 as_fn_set_status $ac_retval
1634 # ac_fn_c_try_run LINENO
1635 # ----------------------
1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1637 # that executables *can* be run.
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 if { { ac_try="$ac_link"
1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_link") 2>&5
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1652 { { case "(($ac_try" in
1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_try") 2>&5
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; }; }; then :
1664 $as_echo "$as_me: program exited with status $ac_status" >&5
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1668 ac_retval=$ac_status
1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 as_fn_set_status $ac_retval
1676 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1677 # -------------------------------------------------------
1678 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1679 # the include files in INCLUDES and setting the cache variable VAR
1681 ac_fn_c_check_header_mongrel ()
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if eval \${$3+:} false; then :
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \${$3+:} false; then :
1688 $as_echo_n "(cached) " >&6
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1694 # Is the header compilable?
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1696 $as_echo_n "checking $2 usability... " >&6; }
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1702 if ac_fn_c_try_compile "$LINENO"; then :
1703 ac_header_compiler=yes
1705 ac_header_compiler=no
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1709 $as_echo "$ac_header_compiler" >&6; }
1711 # Is the header present?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1713 $as_echo_n "checking $2 presence... " >&6; }
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1718 if ac_fn_c_try_cpp "$LINENO"; then :
1719 ac_header_preproc=yes
1721 ac_header_preproc=no
1723 rm -f conftest.err conftest.i conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1725 $as_echo "$ac_header_preproc" >&6; }
1727 # So? What about this header?
1728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1731 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1733 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1737 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1739 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1741 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1743 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1746 ( $as_echo "## ----------------------------------- ##
1747 ## Report this to rna@tbi.univie.ac.at ##
1748 ## ----------------------------------- ##"
1749 ) | sed "s/^/$as_me: WARNING: /" >&2
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1757 eval "$3=\$ac_header_compiler"
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_header_mongrel
1767 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1768 # -------------------------------------------------------
1769 # Tests whether HEADER exists and can be compiled using the include files in
1770 # INCLUDES, setting the cache variable VAR accordingly.
1771 ac_fn_c_check_header_compile ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775 $as_echo_n "checking for $2... " >&6; }
1776 if eval \${$3+:} false; then :
1777 $as_echo_n "(cached) " >&6
1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h. */
1784 if ac_fn_c_try_compile "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 } # ac_fn_c_check_header_compile
1797 cat >config.log <<_ACEOF
1798 This file contains any messages produced by compilers while
1799 running configure, to aid debugging if configure makes a mistake.
1801 It was created by kinfold $as_me 1.3, which was
1802 generated by GNU Autoconf 2.68. Invocation command line was
1814 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1815 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1816 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1817 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1818 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1820 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1821 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1823 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1824 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1825 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1826 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1827 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1828 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1829 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 test -z "$as_dir" && as_dir=.
1838 $as_echo "PATH: $as_dir"
1854 # Keep a trace of the command line.
1855 # Strip out --no-create and --no-recursion so they do not pile up.
1856 # Strip out --silent because we don't want to record it for future runs.
1857 # Also quote any args containing shell meta-characters.
1858 # Make two passes to allow for proper duplicate-argument suppression.
1862 ac_must_keep_next=false
1868 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1870 | -silent | --silent | --silen | --sile | --sil)
1873 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1876 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1878 as_fn_append ac_configure_args1 " '$ac_arg'"
1879 if test $ac_must_keep_next = true; then
1880 ac_must_keep_next=false # Got value, back to normal.
1883 *=* | --config-cache | -C | -disable-* | --disable-* \
1884 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1885 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1886 | -with-* | --with-* | -without-* | --without-* | --x)
1887 case "$ac_configure_args0 " in
1888 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1891 -* ) ac_must_keep_next=true ;;
1894 as_fn_append ac_configure_args " '$ac_arg'"
1899 { ac_configure_args0=; unset ac_configure_args0;}
1900 { ac_configure_args1=; unset ac_configure_args1;}
1902 # When interrupted or exit'd, cleanup temporary files, and complete
1903 # config.log. We remove comments because anyway the quotes in there
1904 # would cause problems or look ugly.
1905 # WARNING: Use '\'' to represent an apostrophe within the trap.
1906 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1907 trap 'exit_status=$?
1908 # Save into config.log some information that might help in debugging.
1912 $as_echo "## ---------------- ##
1913 ## Cache variables. ##
1914 ## ---------------- ##"
1916 # The following way of writing the cache mishandles newlines in values,
1918 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1919 eval ac_val=\$$ac_var
1923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1927 _ | IFS | as_nl) ;; #(
1928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1929 *) { eval $ac_var=; unset $ac_var;} ;;
1934 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1935 *${as_nl}ac_space=\ *)
1937 "s/'\''/'\''\\\\'\'''\''/g;
1938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1941 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1948 $as_echo "## ----------------- ##
1949 ## Output variables. ##
1950 ## ----------------- ##"
1952 for ac_var in $ac_subst_vars
1954 eval ac_val=\$$ac_var
1956 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1958 $as_echo "$ac_var='\''$ac_val'\''"
1962 if test -n "$ac_subst_files"; then
1963 $as_echo "## ------------------- ##
1964 ## File substitutions. ##
1965 ## ------------------- ##"
1967 for ac_var in $ac_subst_files
1969 eval ac_val=\$$ac_var
1971 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1973 $as_echo "$ac_var='\''$ac_val'\''"
1978 if test -s confdefs.h; then
1979 $as_echo "## ----------- ##
1986 test "$ac_signal" != 0 &&
1987 $as_echo "$as_me: caught signal $ac_signal"
1988 $as_echo "$as_me: exit $exit_status"
1990 rm -f core *.core core.conftest.* &&
1991 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1994 for ac_signal in 1 2 13 15; do
1995 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1999 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2000 rm -f -r conftest* confdefs.h
2002 $as_echo "/* confdefs.h */" > confdefs.h
2004 # Predefined preprocessor variables.
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_NAME "$PACKAGE_NAME"
2010 cat >>confdefs.h <<_ACEOF
2011 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2014 cat >>confdefs.h <<_ACEOF
2015 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_STRING "$PACKAGE_STRING"
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_URL "$PACKAGE_URL"
2031 # Let the site file select an alternate cache file if it wants to.
2032 # Prefer an explicitly selected file to automatically selected ones.
2035 if test -n "$CONFIG_SITE"; then
2036 # We do not want a PATH search for config.site.
2037 case $CONFIG_SITE in #((
2038 -*) ac_site_file1=./$CONFIG_SITE;;
2039 */*) ac_site_file1=$CONFIG_SITE;;
2040 *) ac_site_file1=./$CONFIG_SITE;;
2042 elif test "x$prefix" != xNONE; then
2043 ac_site_file1=$prefix/share/config.site
2044 ac_site_file2=$prefix/etc/config.site
2046 ac_site_file1=$ac_default_prefix/share/config.site
2047 ac_site_file2=$ac_default_prefix/etc/config.site
2049 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2051 test "x$ac_site_file" = xNONE && continue
2052 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2054 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2055 sed 's/^/| /' "$ac_site_file" >&5
2057 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2059 as_fn_error $? "failed to load site script $ac_site_file
2060 See \`config.log' for more details" "$LINENO" 5; }
2064 if test -r "$cache_file"; then
2065 # Some versions of bash will fail to source /dev/null (special files
2066 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2067 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2069 $as_echo "$as_me: loading cache $cache_file" >&6;}
2071 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2072 *) . "./$cache_file";;
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2077 $as_echo "$as_me: creating cache $cache_file" >&6;}
2081 # Check that the precious variables saved in the cache have kept the same
2083 ac_cache_corrupted=false
2084 for ac_var in $ac_precious_vars; do
2085 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2086 eval ac_new_set=\$ac_env_${ac_var}_set
2087 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2088 eval ac_new_val=\$ac_env_${ac_var}_value
2089 case $ac_old_set,$ac_new_set in
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2092 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2093 ac_cache_corrupted=: ;;
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2096 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2097 ac_cache_corrupted=: ;;
2100 if test "x$ac_old_val" != "x$ac_new_val"; then
2101 # differences in whitespace do not lead to failure.
2102 ac_old_val_w=`echo x $ac_old_val`
2103 ac_new_val_w=`echo x $ac_new_val`
2104 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2106 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2107 ac_cache_corrupted=:
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2110 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2111 eval $ac_var=\$ac_old_val
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2114 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2116 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2119 # Pass precious variables to config.status.
2120 if test "$ac_new_set" = set; then
2122 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2123 *) ac_arg=$ac_var=$ac_new_val ;;
2125 case " $ac_configure_args " in
2126 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2127 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2131 if $ac_cache_corrupted; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2135 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2136 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2138 ## -------------------- ##
2139 ## Main body of script. ##
2140 ## -------------------- ##
2143 ac_cpp='$CPP $CPPFLAGS'
2144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2151 # Check whether --enable-silent-rules was given.
2152 if test "${enable_silent_rules+set}" = set; then :
2153 enableval=$enable_silent_rules;
2156 case $enable_silent_rules in
2157 yes) AM_DEFAULT_VERBOSITY=0;;
2158 no) AM_DEFAULT_VERBOSITY=1;;
2159 *) AM_DEFAULT_VERBOSITY=0;;
2161 am_make=${MAKE-make}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2163 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2164 if ${am_cv_make_support_nested_variables+:} false; then :
2165 $as_echo_n "(cached) " >&6
2167 if $as_echo 'TRUE=$(BAR$(V))
2173 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2174 am_cv_make_support_nested_variables=yes
2176 am_cv_make_support_nested_variables=no
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2180 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2181 if test $am_cv_make_support_nested_variables = yes; then
2183 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2185 AM_V=$AM_DEFAULT_VERBOSITY
2186 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2190 am__api_version='1.11'
2193 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2194 if test -f "$ac_dir/install-sh"; then
2196 ac_install_sh="$ac_aux_dir/install-sh -c"
2198 elif test -f "$ac_dir/install.sh"; then
2200 ac_install_sh="$ac_aux_dir/install.sh -c"
2202 elif test -f "$ac_dir/shtool"; then
2204 ac_install_sh="$ac_aux_dir/shtool install -c"
2208 if test -z "$ac_aux_dir"; then
2209 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2212 # These three variables are undocumented and unsupported,
2213 # and are intended to be withdrawn in a future Autoconf release.
2214 # They can cause serious problems if a builder's source tree is in a directory
2215 # whose full name contains unusual characters.
2216 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2217 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2218 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2221 # Find a good install program. We prefer a C program (faster),
2222 # so one script is as good as another. But avoid the broken or
2223 # incompatible versions:
2224 # SysV /etc/install, /usr/sbin/install
2225 # SunOS /usr/etc/install
2226 # IRIX /sbin/install
2228 # AmigaOS /C/install, which installs bootblocks on floppy discs
2229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2232 # OS/2's system install, which has a completely different semantic
2233 # ./install, which can be erroneously created by make from ./install.sh.
2234 # Reject install programs that cannot install multiple files.
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2236 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2237 if test -z "$INSTALL"; then
2238 if ${ac_cv_path_install+:} false; then :
2239 $as_echo_n "(cached) " >&6
2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 test -z "$as_dir" && as_dir=.
2246 # Account for people who put trailing slashes in PATH elements.
2247 case $as_dir/ in #((
2248 ./ | .// | /[cC]/* | \
2249 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2250 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2253 # OSF1 and SCO ODT 3.0 have their own names for install.
2254 # Don't use installbsd from OSF since it installs stuff as root
2256 for ac_prog in ginstall scoinst install; do
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2259 if test $ac_prog = install &&
2260 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2261 # AIX install. It has an incompatible calling convention.
2263 elif test $ac_prog = install &&
2264 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2265 # program-specific install script used by HP pwplus--don't use.
2268 rm -rf conftest.one conftest.two conftest.dir
2269 echo one > conftest.one
2270 echo two > conftest.two
2272 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2273 test -s conftest.one && test -s conftest.two &&
2274 test -s conftest.dir/conftest.one &&
2275 test -s conftest.dir/conftest.two
2277 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2290 rm -rf conftest.one conftest.two conftest.dir
2293 if test "${ac_cv_path_install+set}" = set; then
2294 INSTALL=$ac_cv_path_install
2296 # As a last resort, use the slow shell script. Don't cache a
2297 # value for INSTALL within a source directory, because that will
2298 # break other packages using the cache if that directory is
2299 # removed, or if the value is a relative name.
2300 INSTALL=$ac_install_sh
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2304 $as_echo "$INSTALL" >&6; }
2306 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2307 # It thinks the first close brace ends the variable substitution.
2308 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2310 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2312 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2315 $as_echo_n "checking whether build environment is sane... " >&6; }
2318 echo timestamp > conftest.file
2319 # Reject unsafe characters in $srcdir or the absolute working directory
2320 # name. Accept space and tab only in the latter.
2324 *[\\\"\#\$\&\'\`$am_lf]*)
2325 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2328 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2329 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2332 # Do `set' in a subshell so we don't clobber the current shell's
2333 # arguments. Must try -L first in case configure is actually a
2334 # symlink; some systems play weird games with the mod time of symlinks
2335 # (eg FreeBSD returns the mod time of the symlink's containing
2338 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2339 if test "$*" = "X"; then
2341 set X `ls -t "$srcdir/configure" conftest.file`
2344 if test "$*" != "X $srcdir/configure conftest.file" \
2345 && test "$*" != "X conftest.file $srcdir/configure"; then
2347 # If neither matched, then we have a broken ls. This can happen
2348 # if, for instance, CONFIG_SHELL is bash and it inherits a
2349 # broken ls alias from the environment. This has actually
2350 # happened. Such a system could not be considered "sane".
2351 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2352 alias in your environment" "$LINENO" 5
2355 test "$2" = conftest.file
2361 as_fn_error $? "newly created file is older than distributed files!
2362 Check your system clock" "$LINENO" 5
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2365 $as_echo "yes" >&6; }
2366 test "$program_prefix" != NONE &&
2367 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2368 # Use a double $ so make ignores it.
2369 test "$program_suffix" != NONE &&
2370 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2371 # Double any \ or $.
2372 # By default was `s,x,x', remove it if useless.
2373 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2374 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2376 # expand $ac_aux_dir to an absolute path
2377 am_aux_dir=`cd $ac_aux_dir && pwd`
2379 if test x"${MISSING+set}" != xset; then
2382 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2384 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2387 # Use eval to expand $SHELL
2388 if eval "$MISSING --run true"; then
2389 am_missing_run="$MISSING --run "
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2393 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2396 if test x"${install_sh}" != xset; then
2399 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2401 install_sh="\${SHELL} $am_aux_dir/install-sh"
2405 # Installed binaries are usually stripped using `strip' when the user
2406 # run `make install-strip'. However `strip' might not be the right
2407 # tool to use in cross-compilation environments, therefore Automake
2408 # will honor the `STRIP' environment variable to overrule this program.
2409 if test "$cross_compiling" != no; then
2410 if test -n "$ac_tool_prefix"; then
2411 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2412 set dummy ${ac_tool_prefix}strip; ac_word=$2
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if ${ac_cv_prog_STRIP+:} false; then :
2416 $as_echo_n "(cached) " >&6
2418 if test -n "$STRIP"; then
2419 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 STRIP=$ac_cv_prog_STRIP
2439 if test -n "$STRIP"; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2441 $as_echo "$STRIP" >&6; }
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2444 $as_echo "no" >&6; }
2449 if test -z "$ac_cv_prog_STRIP"; then
2451 # Extract the first word of "strip", so it can be a program name with args.
2452 set dummy strip; ac_word=$2
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2456 $as_echo_n "(cached) " >&6
2458 if test -n "$ac_ct_STRIP"; then
2459 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_ac_ct_STRIP="strip"
2469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2479 if test -n "$ac_ct_STRIP"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2481 $as_echo "$ac_ct_STRIP" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2487 if test "x$ac_ct_STRIP" = x; then
2490 case $cross_compiling:$ac_tool_warned in
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2494 ac_tool_warned=yes ;;
2499 STRIP="$ac_cv_prog_STRIP"
2503 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2506 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2507 if test -z "$MKDIR_P"; then
2508 if ${ac_cv_path_mkdir+:} false; then :
2509 $as_echo_n "(cached) " >&6
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2515 test -z "$as_dir" && as_dir=.
2516 for ac_prog in mkdir gmkdir; do
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2519 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2520 'mkdir (GNU coreutils) '* | \
2521 'mkdir (coreutils) '* | \
2522 'mkdir (fileutils) '4.1*)
2523 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2533 test -d ./--version && rmdir ./--version
2534 if test "${ac_cv_path_mkdir+set}" = set; then
2535 MKDIR_P="$ac_cv_path_mkdir -p"
2537 # As a last resort, use the slow shell script. Don't cache a
2538 # value for MKDIR_P within a source directory, because that will
2539 # break other packages using the cache if that directory is
2540 # removed, or if the value is a relative name.
2541 MKDIR_P="$ac_install_sh -d"
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2545 $as_echo "$MKDIR_P" >&6; }
2549 [\\/$]* | ?:[\\/]*) ;;
2550 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2553 for ac_prog in gawk mawk nawk awk
2555 # Extract the first word of "$ac_prog", so it can be a program name with args.
2556 set dummy $ac_prog; ac_word=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if ${ac_cv_prog_AWK+:} false; then :
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$AWK"; then
2563 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir=.
2570 for ac_exec_ext in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_AWK="$ac_prog"
2573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 if test -n "$AWK"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2585 $as_echo "$AWK" >&6; }
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2592 test -n "$AWK" && break
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2596 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2598 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2599 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2600 $as_echo_n "(cached) " >&6
2602 cat >conftest.make <<\_ACEOF
2605 @echo '@@@%%%=$(MAKE)=@@@%%%'
2607 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2610 eval ac_cv_prog_make_${ac_make}_set=yes;;
2612 eval ac_cv_prog_make_${ac_make}_set=no;;
2616 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2618 $as_echo "yes" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2623 SET_MAKE="MAKE=${MAKE-make}"
2626 rm -rf .tst 2>/dev/null
2627 mkdir .tst 2>/dev/null
2628 if test -d .tst; then
2633 rmdir .tst 2>/dev/null
2635 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2636 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2637 # is not polluted with repeated "-I."
2638 am__isrc=' -I$(srcdir)'
2639 # test to see if srcdir already configured
2640 if test -f $srcdir/config.status; then
2641 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2645 # test whether we have cygpath
2646 if test -z "$CYGPATH_W"; then
2647 if (cygpath --version) >/dev/null 2>/dev/null; then
2648 CYGPATH_W='cygpath -w'
2655 # Define the identity of the package.
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE "$PACKAGE"
2665 cat >>confdefs.h <<_ACEOF
2666 #define VERSION "$VERSION"
2669 # Some tools Automake needs.
2671 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2674 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2677 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2680 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2683 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2685 # We need awk for the "check" target. The system "awk" is bad on
2687 # Always define AMTAR for backward compatibility. Yes, it's still used
2688 # in the wild :-( We should find a proper way to deprecate it ...
2691 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
2699 $as_echo_n "checking if malloc debugging is wanted... " >&6; }
2701 # Check whether --with-dmalloc was given.
2702 if test "${with_dmalloc+set}" = set; then :
2703 withval=$with_dmalloc; if test "$withval" = yes; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2705 $as_echo "yes" >&6; }
2707 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
2709 LIBS="$LIBS -ldmalloc"
2710 LDFLAGS="$LDFLAGS -g"
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2723 ac_cpp='$CPP $CPPFLAGS'
2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2727 if test -n "$ac_tool_prefix"; then
2728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if ${ac_cv_prog_CC+:} false; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC="$CC" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2766 if test -z "$ac_cv_prog_CC"; then
2768 # Extract the first word of "gcc", so it can be a program name with args.
2769 set dummy gcc; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_ac_ct_CC="gcc"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2804 if test "x$ac_ct_CC" = x; then
2807 case $cross_compiling:$ac_tool_warned in
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811 ac_tool_warned=yes ;;
2819 if test -z "$CC"; then
2820 if test -n "$ac_tool_prefix"; then
2821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2822 set dummy ${ac_tool_prefix}cc; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_CC+:} false; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir=.
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 ac_cv_prog_CC="${ac_tool_prefix}cc"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2860 if test -z "$CC"; then
2861 # Extract the first word of "cc", so it can be a program name with args.
2862 set dummy cc; ac_word=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if ${ac_cv_prog_CC+:} false; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$CC"; then
2869 ac_cv_prog_CC="$CC" # Let the user override the test.
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir=.
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2880 ac_prog_rejected=yes
2884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 if test $ac_prog_rejected = yes; then
2892 # We found a bogon in the path, so make sure we never use it.
2893 set dummy $ac_cv_prog_CC
2895 if test $# != 0; then
2896 # We chose a different compiler from the bogus one.
2897 # However, it has the same basename, so the bogon will be chosen
2898 # first if we set CC to just the basename; use the full file name.
2900 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2916 if test -z "$CC"; then
2917 if test -n "$ac_tool_prefix"; then
2918 for ac_prog in cl.exe
2920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_CC+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC="$CC" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$CC"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950 $as_echo "$CC" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2957 test -n "$CC" && break
2960 if test -z "$CC"; then
2962 for ac_prog in cl.exe
2964 # Extract the first word of "$ac_prog", so it can be a program name with args.
2965 set dummy $ac_prog; ac_word=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$ac_ct_CC"; then
2972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir=.
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_ac_ct_CC="$ac_prog"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2992 if test -n "$ac_ct_CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2994 $as_echo "$ac_ct_CC" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3001 test -n "$ac_ct_CC" && break
3004 if test "x$ac_ct_CC" = x; then
3007 case $cross_compiling:$ac_tool_warned in
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3011 ac_tool_warned=yes ;;
3020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 as_fn_error $? "no acceptable C compiler found in \$PATH
3023 See \`config.log' for more details" "$LINENO" 5; }
3025 # Provide some information about the compiler.
3026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3029 for ac_option in --version -v -V -qversion; do
3030 { { ac_try="$ac_compiler $ac_option >&5"
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3039 if test -s conftest.err; then
3041 ... rest of stderr output deleted ...
3042 10q' conftest.err >conftest.er1
3043 cat conftest.er1 >&5
3045 rm -f conftest.er1 conftest.err
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3061 ac_clean_files_save=$ac_clean_files
3062 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3063 # Try to create an executable without -o first, disregard a.out.
3064 # It will help us diagnose broken compilers, and finding out an intuition
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3067 $as_echo_n "checking whether the C compiler works... " >&6; }
3068 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3070 # The possible output files:
3071 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3074 for ac_file in $ac_files
3077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3078 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3083 if { { ac_try="$ac_link_default"
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_link_default") 2>&5
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; }; then :
3094 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3095 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3096 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3097 # so that the user can short-circuit this test for compilers unknown to
3099 for ac_file in $ac_files ''
3101 test -f "$ac_file" || continue
3103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3106 # We found the default executable, but exeext='' is most
3110 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3112 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3114 # We set ac_cv_exeext here because the later test for it is not
3115 # safe: cross compilers may not add the suffix if given an `-o'
3116 # argument, so we may need to know it at that point already.
3117 # Even if this section looks crufty: it has the advantage of
3124 test "$ac_cv_exeext" = no && ac_cv_exeext=
3129 if test -z "$ac_file"; then :
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 as_fn_error 77 "C compiler cannot create executables
3138 See \`config.log' for more details" "$LINENO" 5; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141 $as_echo "yes" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3144 $as_echo_n "checking for C compiler default output file name... " >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3146 $as_echo "$ac_file" >&6; }
3147 ac_exeext=$ac_cv_exeext
3149 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3150 ac_clean_files=$ac_clean_files_save
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3152 $as_echo_n "checking for suffix of executables... " >&6; }
3153 if { { ac_try="$ac_link"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3159 $as_echo "$ac_try_echo"; } >&5
3160 (eval "$ac_link") 2>&5
3162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163 test $ac_status = 0; }; then :
3164 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3165 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3166 # work properly (i.e., refer to `conftest.exe'), while it won't with
3168 for ac_file in conftest.exe conftest conftest.*; do
3169 test -f "$ac_file" || continue
3171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3172 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3180 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3181 See \`config.log' for more details" "$LINENO" 5; }
3183 rm -f conftest conftest$ac_cv_exeext
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3185 $as_echo "$ac_cv_exeext" >&6; }
3187 rm -f conftest.$ac_ext
3188 EXEEXT=$ac_cv_exeext
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h. */
3196 FILE *f = fopen ("conftest.out", "w");
3197 return ferror (f) || fclose (f) != 0;
3203 ac_clean_files="$ac_clean_files conftest.out"
3204 # Check that the compiler produces executables we can run. If not, either
3205 # the compiler is broken, or we cross compile.
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3207 $as_echo_n "checking whether we are cross compiling... " >&6; }
3208 if test "$cross_compiling" != yes; then
3209 { { ac_try="$ac_link"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_link") 2>&5
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }
3220 if { ac_try='./conftest$ac_cv_exeext'
3221 { { case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_try") 2>&5
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }; }; then
3233 if test "$cross_compiling" = maybe; then
3236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3238 as_fn_error $? "cannot run C compiled programs.
3239 If you meant to cross compile, use \`--host'.
3240 See \`config.log' for more details" "$LINENO" 5; }
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3245 $as_echo "$cross_compiling" >&6; }
3247 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3248 ac_clean_files=$ac_clean_files_save
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3250 $as_echo_n "checking for suffix of object files... " >&6; }
3251 if ${ac_cv_objext+:} false; then :
3252 $as_echo_n "(cached) " >&6
3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h. */
3265 rm -f conftest.o conftest.obj
3266 if { { ac_try="$ac_compile"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
3273 (eval "$ac_compile") 2>&5
3275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3276 test $ac_status = 0; }; then :
3277 for ac_file in conftest.o conftest.obj conftest.*; do
3278 test -f "$ac_file" || continue;
3280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3281 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3286 $as_echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $? "cannot compute suffix of object files: cannot compile
3292 See \`config.log' for more details" "$LINENO" 5; }
3294 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3297 $as_echo "$ac_cv_objext" >&6; }
3298 OBJEXT=$ac_cv_objext
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3301 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3302 if ${ac_cv_c_compiler_gnu+:} false; then :
3303 $as_echo_n "(cached) " >&6
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3319 if ac_fn_c_try_compile "$LINENO"; then :
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3325 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3329 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3330 if test $ac_compiler_gnu = yes; then
3335 ac_test_CFLAGS=${CFLAGS+set}
3336 ac_save_CFLAGS=$CFLAGS
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3338 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3339 if ${ac_cv_prog_cc_g+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 ac_save_c_werror_flag=$ac_c_werror_flag
3343 ac_c_werror_flag=yes
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3357 if ac_fn_c_try_compile "$LINENO"; then :
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3372 if ac_fn_c_try_compile "$LINENO"; then :
3375 ac_c_werror_flag=$ac_save_c_werror_flag
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3388 if ac_fn_c_try_compile "$LINENO"; then :
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_c_werror_flag=$ac_save_c_werror_flag
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3399 $as_echo "$ac_cv_prog_cc_g" >&6; }
3400 if test "$ac_test_CFLAGS" = set; then
3401 CFLAGS=$ac_save_CFLAGS
3402 elif test $ac_cv_prog_cc_g = yes; then
3403 if test "$GCC" = yes; then
3409 if test "$GCC" = yes; then
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3416 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3417 if ${ac_cv_prog_cc_c89+:} false; then :
3418 $as_echo_n "(cached) " >&6
3420 ac_cv_prog_cc_c89=no
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3426 #include <sys/types.h>
3427 #include <sys/stat.h>
3428 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3429 struct buf { int x; };
3430 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3431 static char *e (p, i)
3437 static char *f (char * (*g) (char **, int), char **p, ...)
3442 s = g (p, va_arg (v,int));
3447 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3448 function prototypes and stuff, but not '\xHH' hex character constants.
3449 These don't provoke an error unfortunately, instead are silently treated
3450 as 'x'. The following induces an error, until -std is added to get
3451 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3452 array size at least. It's necessary to write '\x00'==0 to get something
3453 that's true only with -std. */
3454 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3456 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3457 inside strings and character constants. */
3459 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3461 int test (int i, double x);
3462 struct s1 {int (*f) (int a);};
3463 struct s2 {int (*f) (double a);};
3464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3470 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3475 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3476 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3478 CC="$ac_save_CC $ac_arg"
3479 if ac_fn_c_try_compile "$LINENO"; then :
3480 ac_cv_prog_cc_c89=$ac_arg
3482 rm -f core conftest.err conftest.$ac_objext
3483 test "x$ac_cv_prog_cc_c89" != "xno" && break
3485 rm -f conftest.$ac_ext
3490 case "x$ac_cv_prog_cc_c89" in
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3493 $as_echo "none needed" >&6; } ;;
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3496 $as_echo "unsupported" >&6; } ;;
3498 CC="$CC $ac_cv_prog_cc_c89"
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3500 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3502 if test "x$ac_cv_prog_cc_c89" != xno; then :
3507 ac_cpp='$CPP $CPPFLAGS'
3508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 DEPDIR="${am__leading_dot}deps"
3513 ac_config_commands="$ac_config_commands depfiles"
3516 am_make=${MAKE-make}
3517 cat > confinc << 'END'
3519 @echo this is the am__doit target
3522 # If we don't find an include directive, just comment out the code.
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3524 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3528 # First try GNU make style include.
3529 echo "include confinc" > confmf
3530 # Ignore all kinds of additional output from `make'.
3531 case `$am_make -s -f confmf 2> /dev/null` in #(
3532 *the\ am__doit\ target*)
3538 # Now try BSD make style include.
3539 if test "$am__include" = "#"; then
3540 echo '.include "confinc"' > confmf
3541 case `$am_make -s -f confmf 2> /dev/null` in #(
3542 *the\ am__doit\ target*)
3543 am__include=.include
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3552 $as_echo "$_am_result" >&6; }
3553 rm -f confinc confmf
3555 # Check whether --enable-dependency-tracking was given.
3556 if test "${enable_dependency_tracking+set}" = set; then :
3557 enableval=$enable_dependency_tracking;
3560 if test "x$enable_dependency_tracking" != xno; then
3561 am_depcomp="$ac_aux_dir/depcomp"
3565 if test "x$enable_dependency_tracking" != xno; then
3575 depcc="$CC" am_compiler_list=
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3578 $as_echo_n "checking dependency style of $depcc... " >&6; }
3579 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3580 $as_echo_n "(cached) " >&6
3582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3583 # We make a subdir and do the tests there. Otherwise we can end up
3584 # making bogus files that we don't know about and never remove. For
3585 # instance it was reported that on HP-UX the gcc test will end up
3586 # making a dummy file named `D' -- because `-MD' means `put the output
3590 # Copy depcomp to subdir because otherwise we won't find it if we're
3591 # using a relative directory.
3592 cp "$am_depcomp" conftest.dir
3594 # We will build objects and dependencies in a subdirectory because
3595 # it helps to detect inapplicable dependency modes. For instance
3596 # both Tru64's cc and ICC support -MD to output dependencies as a
3597 # side effect of compilation, but ICC will put the dependencies in
3598 # the current directory while Tru64 will put them in the object
3602 am_cv_CC_dependencies_compiler_type=none
3603 if test "$am_compiler_list" = ""; then
3604 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3607 case " $depcc " in #(
3608 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3611 for depmode in $am_compiler_list; do
3612 # Setup a source with many dependencies, because some compilers
3613 # like to wrap large dependency lists on column 80 (with \), and
3614 # we should not choose a depcomp mode which is confused by this.
3616 # We need to recreate these files for each test, as the compiler may
3617 # overwrite some of them when testing with obscure command lines.
3618 # This happens at least with the AIX C compiler.
3620 for i in 1 2 3 4 5 6; do
3621 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3622 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3623 # Solaris 8's {/usr,}/bin/sh.
3624 touch sub/conftst$i.h
3626 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3628 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3629 # mode. It turns out that the SunPro C++ compiler does not properly
3630 # handle `-M -o', and we need to detect this. Also, some Intel
3631 # versions had trouble with output in subdirs
3632 am__obj=sub/conftest.${OBJEXT-o}
3633 am__minus_obj="-o $am__obj"
3636 # This depmode causes a compiler race in universal mode.
3637 test "$am__universal" = false || continue
3640 # after this tag, mechanisms are not by side-effect, so they'll
3641 # only be used when explicitly requested
3642 if test "x$enable_dependency_tracking" = xyes; then
3648 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3649 # This compiler won't grok `-c -o', but also, the minuso test has
3650 # not run yet. These depmodes are late enough in the game, and
3651 # so weak that their functioning should not be impacted.
3652 am__obj=conftest.${OBJEXT-o}
3657 if depmode=$depmode \
3658 source=sub/conftest.c object=$am__obj \
3659 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3660 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3661 >/dev/null 2>conftest.err &&
3662 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3663 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3664 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3665 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3666 # icc doesn't choke on unknown options, it will just issue warnings
3667 # or remarks (even with -Werror). So we grep stderr for any message
3668 # that says an option was ignored or not supported.
3669 # When given -MP, icc 7.0 and 7.1 complain thusly:
3670 # icc: Command line warning: ignoring option '-M'; no argument required
3671 # The diagnosis changed in icc 8.0:
3672 # icc: Command line remark: option '-MP' not supported
3673 if (grep 'ignoring option' conftest.err ||
3674 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3675 am_cv_CC_dependencies_compiler_type=$depmode
3684 am_cv_CC_dependencies_compiler_type=none
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3689 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3690 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3693 test "x$enable_dependency_tracking" != xno \
3694 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3696 am__fastdepCC_FALSE='#'
3698 am__fastdepCC_TRUE='#'
3699 am__fastdepCC_FALSE=
3704 ac_config_headers="$ac_config_headers config.h"
3709 ISODATE=`date +%Y-%m-%d`
3712 # Make sure we can run config.sub.
3713 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3714 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3717 $as_echo_n "checking build system type... " >&6; }
3718 if ${ac_cv_build+:} false; then :
3719 $as_echo_n "(cached) " >&6
3721 ac_build_alias=$build_alias
3722 test "x$ac_build_alias" = x &&
3723 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3724 test "x$ac_build_alias" = x &&
3725 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3726 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3727 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3731 $as_echo "$ac_cv_build" >&6; }
3732 case $ac_cv_build in
3734 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3737 ac_save_IFS=$IFS; IFS='-'
3743 # Remember, the first character of IFS is used to create $*,
3744 # except with old shells:
3747 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3751 $as_echo_n "checking host system type... " >&6; }
3752 if ${ac_cv_host+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 if test "x$host_alias" = x; then
3756 ac_cv_host=$ac_cv_build
3758 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3759 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3764 $as_echo "$ac_cv_host" >&6; }
3767 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3770 ac_save_IFS=$IFS; IFS='-'
3776 # Remember, the first character of IFS is used to create $*,
3777 # except with old shells:
3780 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3785 for ac_func in strdup memset strchr
3787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3789 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3790 cat >>confdefs.h <<_ACEOF
3791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3799 # Check whether --with-ViennaRNA-include was given.
3800 if test "${with_ViennaRNA_include+set}" = set; then :
3801 withval=$with_ViennaRNA_include; ac_VRNA_includes="$withval"
3806 # Check whether --with-ViennaRNA-lib was given.
3807 if test "${with_ViennaRNA_lib+set}" = set; then :
3808 withval=$with_ViennaRNA_lib; ac_VRNA_lib="$withval"
3813 # Check whether --enable-openmp was given.
3814 if test "${enable_openmp+set}" = set; then :
3815 enableval=$enable_openmp;
3818 if test "$enable_openmp" != no; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to support OpenMP" >&5
3820 $as_echo_n "checking for $CC option to support OpenMP... " >&6; }
3821 if ${ac_cv_prog_c_openmp+:} false; then :
3822 $as_echo_n "(cached) " >&6
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3831 int main () { return omp_get_num_threads (); }
3834 if ac_fn_c_try_link "$LINENO"; then :
3835 ac_cv_prog_c_openmp='none needed'
3837 ac_cv_prog_c_openmp='unsupported'
3838 for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp; do
3839 ac_save_CFLAGS=$CFLAGS
3840 CFLAGS="$CFLAGS $ac_option"
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3848 int main () { return omp_get_num_threads (); }
3851 if ac_fn_c_try_link "$LINENO"; then :
3852 ac_cv_prog_c_openmp=$ac_option
3854 rm -f core conftest.err conftest.$ac_objext \
3855 conftest$ac_exeext conftest.$ac_ext
3856 CFLAGS=$ac_save_CFLAGS
3857 if test "$ac_cv_prog_c_openmp" != unsupported; then
3862 rm -f core conftest.err conftest.$ac_objext \
3863 conftest$ac_exeext conftest.$ac_ext
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_c_openmp" >&5
3866 $as_echo "$ac_cv_prog_c_openmp" >&6; }
3867 case $ac_cv_prog_c_openmp in #(
3868 "none needed" | unsupported)
3871 OPENMP_CFLAGS=$ac_cv_prog_c_openmp ;;
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ViennaRNA package" >&5
3878 $as_echo_n "checking for ViennaRNA package... " >&6; }
3879 if test -z "$ac_VRNA_includes"; then
3882 /usr/local/include/ViennaRNA \
3883 /usr/local/include \
3884 /usr/include/ViennaRNA \
3885 /usr/local/ViennaRNA/H \
3886 /usr/local/share/ViennaRNA/include \
3887 /opt/ViennaRNA/include \
3890 if test -r "$ac_dir/part_func.h"; then
3891 ac_VRNA_includes=$ac_dir
3896 if test $ac_VRNA_includes; then
3897 CPPFLAGS="$CPPFLAGS -I$ac_VRNA_includes"
3900 if [ -d ../lib ] && [ "$ac_VRNA_includes" = "../H" ]; then
3904 if test -z "$ac_VRNA_lib"; then
3905 for ac_dir in `echo "$ac_VRNA_includes" | sed -e s/include/lib/ -e s/H$/lib/` \
3909 for ac_extension in a so sl; do
3910 if test -r $ac_dir/libRNA.$ac_extension; then
3916 fi # $ac_VRNA_lib = NO
3917 if test $ac_VRNA_lib; then
3918 LDFLAGS="-L$ac_VRNA_lib $LDFLAGS"
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: headers in \"$ac_VRNA_includes\" and library... \"$ac_VRNA_lib\"" >&5
3921 $as_echo " headers in \"$ac_VRNA_includes\" and library... \"$ac_VRNA_lib\"" >&6; }
3926 ac_cpp='$CPP $CPPFLAGS'
3927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3931 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3932 # On Suns, sometimes $CPP names a directory.
3933 if test -n "$CPP" && test -d "$CPP"; then
3936 if test -z "$CPP"; then
3937 if ${ac_cv_prog_CPP+:} false; then :
3938 $as_echo_n "(cached) " >&6
3940 # Double quotes because CPP needs to be expanded
3941 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3944 for ac_c_preproc_warn_flag in '' yes
3946 # Use a header file that comes with gcc, so configuring glibc
3947 # with a fresh cross-compiler works.
3948 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3949 # <limits.h> exists even on freestanding compilers.
3950 # On the NeXT, cc -E runs the code through the compiler's parser,
3951 # not just through cpp. "Syntax error" is here to catch this case.
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3955 # include <limits.h>
3957 # include <assert.h>
3961 if ac_fn_c_try_cpp "$LINENO"; then :
3964 # Broken: fails on valid input.
3967 rm -f conftest.err conftest.i conftest.$ac_ext
3969 # OK, works on sane cases. Now check whether nonexistent headers
3970 # can be detected and how.
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3973 #include <ac_nonexistent.h>
3975 if ac_fn_c_try_cpp "$LINENO"; then :
3976 # Broken: success on invalid input.
3979 # Passes both tests.
3983 rm -f conftest.err conftest.i conftest.$ac_ext
3986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3987 rm -f conftest.i conftest.err conftest.$ac_ext
3988 if $ac_preproc_ok; then :
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4001 $as_echo "$CPP" >&6; }
4003 for ac_c_preproc_warn_flag in '' yes
4005 # Use a header file that comes with gcc, so configuring glibc
4006 # with a fresh cross-compiler works.
4007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4008 # <limits.h> exists even on freestanding compilers.
4009 # On the NeXT, cc -E runs the code through the compiler's parser,
4010 # not just through cpp. "Syntax error" is here to catch this case.
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4014 # include <limits.h>
4016 # include <assert.h>
4020 if ac_fn_c_try_cpp "$LINENO"; then :
4023 # Broken: fails on valid input.
4026 rm -f conftest.err conftest.i conftest.$ac_ext
4028 # OK, works on sane cases. Now check whether nonexistent headers
4029 # can be detected and how.
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4032 #include <ac_nonexistent.h>
4034 if ac_fn_c_try_cpp "$LINENO"; then :
4035 # Broken: success on invalid input.
4038 # Passes both tests.
4042 rm -f conftest.err conftest.i conftest.$ac_ext
4045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4046 rm -f conftest.i conftest.err conftest.$ac_ext
4047 if $ac_preproc_ok; then :
4050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4053 See \`config.log' for more details" "$LINENO" 5; }
4057 ac_cpp='$CPP $CPPFLAGS'
4058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4064 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4065 if ${ac_cv_path_GREP+:} false; then :
4066 $as_echo_n "(cached) " >&6
4068 if test -z "$GREP"; then
4069 ac_path_GREP_found=false
4070 # Loop through the user's path and test for each of PROGNAME-LIST
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4075 test -z "$as_dir" && as_dir=.
4076 for ac_prog in grep ggrep; do
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4079 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4080 # Check for GNU ac_path_GREP and select it if it is found.
4081 # Check for GNU $ac_path_GREP
4082 case `"$ac_path_GREP" --version 2>&1` in
4084 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4087 $as_echo_n 0123456789 >"conftest.in"
4090 cat "conftest.in" "conftest.in" >"conftest.tmp"
4091 mv "conftest.tmp" "conftest.in"
4092 cp "conftest.in" "conftest.nl"
4093 $as_echo 'GREP' >> "conftest.nl"
4094 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4096 as_fn_arith $ac_count + 1 && ac_count=$as_val
4097 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4098 # Best one so far, save it but keep looking for a better one
4099 ac_cv_path_GREP="$ac_path_GREP"
4100 ac_path_GREP_max=$ac_count
4102 # 10*(2^10) chars as input seems more than enough
4103 test $ac_count -gt 10 && break
4105 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4108 $ac_path_GREP_found && break 3
4113 if test -z "$ac_cv_path_GREP"; then
4114 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4117 ac_cv_path_GREP=$GREP
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4122 $as_echo "$ac_cv_path_GREP" >&6; }
4123 GREP="$ac_cv_path_GREP"
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4127 $as_echo_n "checking for egrep... " >&6; }
4128 if ${ac_cv_path_EGREP+:} false; then :
4129 $as_echo_n "(cached) " >&6
4131 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4132 then ac_cv_path_EGREP="$GREP -E"
4134 if test -z "$EGREP"; then
4135 ac_path_EGREP_found=false
4136 # Loop through the user's path and test for each of PROGNAME-LIST
4137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4141 test -z "$as_dir" && as_dir=.
4142 for ac_prog in egrep; do
4143 for ac_exec_ext in '' $ac_executable_extensions; do
4144 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4145 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4146 # Check for GNU ac_path_EGREP and select it if it is found.
4147 # Check for GNU $ac_path_EGREP
4148 case `"$ac_path_EGREP" --version 2>&1` in
4150 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4153 $as_echo_n 0123456789 >"conftest.in"
4156 cat "conftest.in" "conftest.in" >"conftest.tmp"
4157 mv "conftest.tmp" "conftest.in"
4158 cp "conftest.in" "conftest.nl"
4159 $as_echo 'EGREP' >> "conftest.nl"
4160 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4162 as_fn_arith $ac_count + 1 && ac_count=$as_val
4163 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4164 # Best one so far, save it but keep looking for a better one
4165 ac_cv_path_EGREP="$ac_path_EGREP"
4166 ac_path_EGREP_max=$ac_count
4168 # 10*(2^10) chars as input seems more than enough
4169 test $ac_count -gt 10 && break
4171 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4174 $ac_path_EGREP_found && break 3
4179 if test -z "$ac_cv_path_EGREP"; then
4180 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4183 ac_cv_path_EGREP=$EGREP
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4189 $as_echo "$ac_cv_path_EGREP" >&6; }
4190 EGREP="$ac_cv_path_EGREP"
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4194 $as_echo_n "checking for ANSI C header files... " >&6; }
4195 if ${ac_cv_header_stdc+:} false; then :
4196 $as_echo_n "(cached) " >&6
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4213 if ac_fn_c_try_compile "$LINENO"; then :
4214 ac_cv_header_stdc=yes
4216 ac_cv_header_stdc=no
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 if test $ac_cv_header_stdc = yes; then
4221 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4228 $EGREP "memchr" >/dev/null 2>&1; then :
4231 ac_cv_header_stdc=no
4237 if test $ac_cv_header_stdc = yes; then
4238 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4245 $EGREP "free" >/dev/null 2>&1; then :
4248 ac_cv_header_stdc=no
4254 if test $ac_cv_header_stdc = yes; then
4255 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4256 if test "$cross_compiling" = yes; then :
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4263 #if ((' ' & 0x0FF) == 0x020)
4264 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4265 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4267 # define ISLOWER(c) \
4268 (('a' <= (c) && (c) <= 'i') \
4269 || ('j' <= (c) && (c) <= 'r') \
4270 || ('s' <= (c) && (c) <= 'z'))
4271 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4274 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4279 for (i = 0; i < 256; i++)
4280 if (XOR (islower (i), ISLOWER (i))
4281 || toupper (i) != TOUPPER (i))
4286 if ac_fn_c_try_run "$LINENO"; then :
4289 ac_cv_header_stdc=no
4291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4292 conftest.$ac_objext conftest.beam conftest.$ac_ext
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4298 $as_echo "$ac_cv_header_stdc" >&6; }
4299 if test $ac_cv_header_stdc = yes; then
4301 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4305 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4306 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4307 inttypes.h stdint.h unistd.h
4309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4310 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4313 cat >>confdefs.h <<_ACEOF
4314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4322 for ac_header in stdlib.h string.h strings.h unistd.h fold.h
4324 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4325 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4326 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4327 cat >>confdefs.h <<_ACEOF
4328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
4337 $as_echo_n "checking for exp in -lm... " >&6; }
4338 if ${ac_cv_lib_m_exp+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 ac_check_lib_save_LIBS=$LIBS
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4346 /* Override any GCC internal prototype to avoid an error.
4347 Use char because int might match the return type of a GCC
4348 builtin and then its argument prototype would still apply. */
4361 if ac_fn_c_try_link "$LINENO"; then :
4366 rm -f core conftest.err conftest.$ac_objext \
4367 conftest$ac_exeext conftest.$ac_ext
4368 LIBS=$ac_check_lib_save_LIBS
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
4371 $as_echo "$ac_cv_lib_m_exp" >&6; }
4372 if test "x$ac_cv_lib_m_exp" = xyes; then :
4373 cat >>confdefs.h <<_ACEOF
4381 for ac_header in stdlib.h
4383 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4384 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4385 cat >>confdefs.h <<_ACEOF
4386 #define HAVE_STDLIB_H 1
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4394 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4395 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4396 $as_echo_n "(cached) " >&6
4398 if test "$cross_compiling" = yes; then :
4399 ac_cv_func_malloc_0_nonnull=no
4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4403 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4404 # include <stdlib.h>
4412 return ! malloc (0);
4417 if ac_fn_c_try_run "$LINENO"; then :
4418 ac_cv_func_malloc_0_nonnull=yes
4420 ac_cv_func_malloc_0_nonnull=no
4422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4423 conftest.$ac_objext conftest.beam conftest.$ac_ext
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4428 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4429 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4431 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4434 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4436 case " $LIBOBJS " in
4437 *" malloc.$ac_objext "* ) ;;
4438 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4443 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4448 for ac_header in stdlib.h
4450 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4451 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4452 cat >>confdefs.h <<_ACEOF
4453 #define HAVE_STDLIB_H 1
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4461 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4462 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
4463 $as_echo_n "(cached) " >&6
4465 if test "$cross_compiling" = yes; then :
4466 ac_cv_func_realloc_0_nonnull=no
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4470 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4471 # include <stdlib.h>
4479 return ! realloc (0, 0);
4484 if ac_fn_c_try_run "$LINENO"; then :
4485 ac_cv_func_realloc_0_nonnull=yes
4487 ac_cv_func_realloc_0_nonnull=no
4489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4490 conftest.$ac_objext conftest.beam conftest.$ac_ext
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4495 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4496 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4498 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4501 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4503 case " $LIBOBJS " in
4504 *" realloc.$ac_objext "* ) ;;
4505 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4510 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4516 LIBS="-lRNA ${LIBS}"
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4519 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4520 if ${ac_cv_c_const+:} false; then :
4521 $as_echo_n "(cached) " >&6
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4529 /* FIXME: Include the comments suggested by Paul. */
4531 /* Ultrix mips cc rejects this. */
4532 typedef int charset[2];
4534 /* SunOS 4.1.1 cc rejects this. */
4535 char const *const *pcpcc;
4537 /* NEC SVR4.0.2 mips cc rejects this. */
4538 struct point {int x, y;};
4539 static struct point const zero = {0,0};
4540 /* AIX XL C 1.02.0.0 rejects this.
4541 It does not let you subtract one const X* pointer from another in
4542 an arm of an if-expression whose if-part is not a constant
4544 const char *g = "string";
4545 pcpcc = &g + (g ? g-g : 0);
4546 /* HPUX 7.0 cc rejects these. */
4548 ppc = (char**) pcpcc;
4549 pcpcc = (char const *const *) ppc;
4550 { /* SCO 3.2v4 cc rejects this. */
4552 char const *s = 0 ? (char *) 0 : (char const *) 0;
4557 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4559 const int *foo = &x[0];
4562 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4563 typedef const int *iptr;
4567 { /* AIX XL C 1.02.0.0 rejects this saying
4568 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4569 struct s { int j; const int *ap[3]; };
4570 struct s *b; b->j = 5;
4572 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4576 return !cs[0] && !zero.x;
4583 if ac_fn_c_try_compile "$LINENO"; then :
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4591 $as_echo "$ac_cv_c_const" >&6; }
4592 if test $ac_cv_c_const = no; then
4594 $as_echo "#define const /**/" >>confdefs.h
4599 ac_config_files="$ac_config_files Example/Makefile Makefile"
4602 cat >confcache <<\_ACEOF
4603 # This file is a shell script that caches the results of configure
4604 # tests run on this system so they can be shared between configure
4605 # scripts and configure runs, see configure's option --config-cache.
4606 # It is not useful on other systems. If it contains results you don't
4607 # want to keep, you may remove or edit it.
4609 # config.status only pays attention to the cache file if you give it
4610 # the --recheck option to rerun configure.
4612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4618 # The following way of writing the cache mishandles newlines in values,
4619 # but we know of no workaround that is simple, portable, and efficient.
4620 # So, we kill variables containing newlines.
4621 # Ultrix sh set writes to stderr and can't be redirected directly,
4622 # and sets the high bit in the cache file unless we assign to the vars.
4624 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4625 eval ac_val=\$$ac_var
4629 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4630 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4633 _ | IFS | as_nl) ;; #(
4634 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4635 *) { eval $ac_var=; unset $ac_var;} ;;
4641 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4642 *${as_nl}ac_space=\ *)
4643 # `set' does not quote correctly, so add quotes: double-quote
4644 # substitution turns \\\\ into \\, and sed turns \\ into \.
4647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4650 # `set' quotes correctly as required by POSIX, so do not add quotes.
4651 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4660 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4662 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4664 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4665 if test -w "$cache_file"; then
4666 if test "x$cache_file" != "x/dev/null"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4668 $as_echo "$as_me: updating cache $cache_file" >&6;}
4669 if test ! -f "$cache_file" || test -h "$cache_file"; then
4670 cat confcache >"$cache_file"
4672 case $cache_file in #(
4674 mv -f confcache "$cache_file"$$ &&
4675 mv -f "$cache_file"$$ "$cache_file" ;; #(
4677 mv -f confcache "$cache_file" ;;
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4683 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4688 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4689 # Let make expand exec_prefix.
4690 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4692 DEFS=-DHAVE_CONFIG_H
4697 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4698 # 1. Remove the extension, and $U if already installed.
4699 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4700 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4701 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4702 # will be set to the directory where LIBOBJS objects are built.
4703 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4704 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4708 LTLIBOBJS=$ac_ltlibobjs
4711 if test -n "$EXEEXT"; then
4713 am__EXEEXT_FALSE='#'
4719 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4720 as_fn_error $? "conditional \"AMDEP\" was never defined.
4721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4723 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4724 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4728 : "${CONFIG_STATUS=./config.status}"
4730 ac_clean_files_save=$ac_clean_files
4731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4733 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4737 # Generated by $as_me.
4738 # Run this file to recreate the current configuration.
4739 # Compiler output produced by configure, useful for debugging
4740 # configure, is in config.log if it exists.
4746 SHELL=\${CONFIG_SHELL-$SHELL}
4749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4750 ## -------------------- ##
4751 ## M4sh Initialization. ##
4752 ## -------------------- ##
4754 # Be more Bourne compatible
4755 DUALCASE=1; export DUALCASE # for MKS sh
4756 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4759 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4760 # is contrary to our usage. Disable this feature.
4761 alias -g '${1+"$@"}'='"$@"'
4762 setopt NO_GLOB_SUBST
4764 case `(set -o) 2>/dev/null` in #(
4776 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4777 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4780 # Prefer a ksh shell builtin over an external printf program on Solaris,
4781 # but without wasting forks for bash or zsh.
4782 if test -z "$BASH_VERSION$ZSH_VERSION" \
4783 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4784 as_echo='print -r --'
4785 as_echo_n='print -rn --'
4786 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4787 as_echo='printf %s\n'
4788 as_echo_n='printf %s'
4790 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4791 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4792 as_echo_n='/usr/ucb/echo -n'
4794 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4795 as_echo_n_body='eval
4799 expr "X$arg" : "X\\(.*\\)$as_nl";
4800 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4802 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4804 export as_echo_n_body
4805 as_echo_n='sh -c $as_echo_n_body as_echo'
4808 as_echo='sh -c $as_echo_body as_echo'
4811 # The user is always right.
4812 if test "${PATH_SEPARATOR+set}" != set; then
4814 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4815 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4822 # We need space, tab and new line, in precisely that order. Quoting is
4823 # there to prevent editors from complaining about space-tab.
4824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4825 # splitting by setting IFS to empty value.)
4828 # Find who we are. Look in the path if we contain no directory separator.
4831 *[\\/]* ) as_myself=$0 ;;
4832 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir=.
4837 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4843 # We did not find ourselves, most probably we were run as `sh COMMAND'
4844 # in which case we are not to be found in the path.
4845 if test "x$as_myself" = x; then
4848 if test ! -f "$as_myself"; then
4849 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4853 # Unset variables that we do not need and which cause bugs (e.g. in
4854 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4855 # suppresses any "Segmentation fault" message there. '((' could
4856 # trigger a bug in pdksh 5.2.14.
4857 for as_var in BASH_ENV ENV MAIL MAILPATH
4858 do eval test x\${$as_var+set} = xset \
4859 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4872 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4875 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4876 # ----------------------------------------
4877 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4878 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4879 # script with STATUS, using 1 if that was 0.
4882 as_status=$1; test $as_status -eq 0 && as_status=1
4884 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4885 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4887 $as_echo "$as_me: error: $2" >&2
4888 as_fn_exit $as_status
4892 # as_fn_set_status STATUS
4893 # -----------------------
4894 # Set $? to STATUS, without forking.
4898 } # as_fn_set_status
4902 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4912 # Portably unset VAR.
4915 { eval $1=; unset $1;}
4917 as_unset=as_fn_unset
4918 # as_fn_append VAR VALUE
4919 # ----------------------
4920 # Append the text in VALUE to the end of the definition contained in VAR. Take
4921 # advantage of any shell optimizations that allow amortized linear growth over
4922 # repeated appends, instead of the typical quadratic growth present in naive
4924 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4925 eval 'as_fn_append ()
4936 # as_fn_arith ARG...
4937 # ------------------
4938 # Perform arithmetic evaluation on the ARGs, and store the result in the
4939 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4940 # must be portable across $(()) and expr.
4941 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4942 eval 'as_fn_arith ()
4949 as_val=`expr "$@" || test $? -eq 1`
4954 if expr a : '\(a\)' >/dev/null 2>&1 &&
4955 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4961 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4962 as_basename=basename
4967 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4973 as_me=`$as_basename -- "$0" ||
4974 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4975 X"$0" : 'X\(//\)$' \| \
4976 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4978 sed '/^.*\/\([^/][^/]*\)\/*$/{
4992 # Avoid depending upon Character Ranges.
4993 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4994 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4995 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4996 as_cr_digits='0123456789'
4997 as_cr_alnum=$as_cr_Letters$as_cr_digits
4999 ECHO_C= ECHO_N= ECHO_T=
5000 case `echo -n x` in #(((((
5002 case `echo 'xy\c'` in
5003 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5005 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5012 rm -f conf$$ conf$$.exe conf$$.file
5013 if test -d conf$$.dir; then
5014 rm -f conf$$.dir/conf$$.file
5017 mkdir conf$$.dir 2>/dev/null
5019 if (echo >conf$$.file) 2>/dev/null; then
5020 if ln -s conf$$.file conf$$ 2>/dev/null; then
5022 # ... but there are two gotchas:
5023 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5024 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5025 # In both cases, we have to default to `cp -p'.
5026 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5028 elif ln conf$$.file conf$$ 2>/dev/null; then
5036 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5037 rmdir conf$$.dir 2>/dev/null
5042 # Create "$as_dir" as a directory, including parents if necessary.
5047 -*) as_dir=./$as_dir;;
5049 test -d "$as_dir" || eval $as_mkdir_p || {
5053 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5054 *) as_qdir=$as_dir;;
5056 as_dirs="'$as_qdir' $as_dirs"
5057 as_dir=`$as_dirname -- "$as_dir" ||
5058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5059 X"$as_dir" : 'X\(//\)[^/]' \| \
5060 X"$as_dir" : 'X\(//\)$' \| \
5061 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5062 $as_echo X"$as_dir" |
5063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5080 test -d "$as_dir" && break
5082 test -z "$as_dirs" || eval "mkdir $as_dirs"
5083 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5087 if mkdir -p . 2>/dev/null; then
5088 as_mkdir_p='mkdir -p "$as_dir"'
5090 test -d ./-p && rmdir ./-p
5094 if test -x / >/dev/null 2>&1; then
5097 if ls -dL / >/dev/null 2>&1; then
5104 if test -d "$1"; then
5110 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5111 ???[sx]*):;;*)false;;esac;fi
5115 as_executable_p=$as_test_x
5117 # Sed expression to map a string onto a valid CPP name.
5118 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5120 # Sed expression to map a string onto a valid variable name.
5121 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5125 ## ----------------------------------- ##
5126 ## Main body of $CONFIG_STATUS script. ##
5127 ## ----------------------------------- ##
5129 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5132 # Save the log message, to keep $0 and so on meaningful, and to
5133 # report actual input values of CONFIG_FILES etc. instead of their
5134 # values after options handling.
5136 This file was extended by kinfold $as_me 1.3, which was
5137 generated by GNU Autoconf 2.68. Invocation command line was
5139 CONFIG_FILES = $CONFIG_FILES
5140 CONFIG_HEADERS = $CONFIG_HEADERS
5141 CONFIG_LINKS = $CONFIG_LINKS
5142 CONFIG_COMMANDS = $CONFIG_COMMANDS
5145 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5150 case $ac_config_files in *"
5151 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5154 case $ac_config_headers in *"
5155 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5160 # Files that config.status was made for.
5161 config_files="$ac_config_files"
5162 config_headers="$ac_config_headers"
5163 config_commands="$ac_config_commands"
5167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5169 \`$as_me' instantiates files and other configuration actions
5170 from templates according to the current configuration. Unless the files
5171 and actions are specified as TAGs, all are instantiated by default.
5173 Usage: $0 [OPTION]... [TAG]...
5175 -h, --help print this help, then exit
5176 -V, --version print version number and configuration settings, then exit
5177 --config print configuration, then exit
5178 -q, --quiet, --silent
5179 do not print progress messages
5180 -d, --debug don't remove temporary files
5181 --recheck update $as_me by reconfiguring in the same conditions
5182 --file=FILE[:TEMPLATE]
5183 instantiate the configuration file FILE
5184 --header=FILE[:TEMPLATE]
5185 instantiate the configuration header FILE
5187 Configuration files:
5190 Configuration headers:
5193 Configuration commands:
5196 Report bugs to <rna@tbi.univie.ac.at>."
5199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5200 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5202 kinfold config.status 1.3
5203 configured by $0, generated by GNU Autoconf 2.68,
5204 with options \\"\$ac_cs_config\\"
5206 Copyright (C) 2010 Free Software Foundation, Inc.
5207 This config.status script is free software; the Free Software Foundation
5208 gives unlimited permission to copy, distribute and modify it."
5215 test -n "\$AWK" || AWK=awk
5218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5219 # The default lists apply if the user does not specify any file.
5225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5230 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5242 # Handling of the options.
5243 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5245 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5246 $as_echo "$ac_cs_version"; exit ;;
5247 --config | --confi | --conf | --con | --co | --c )
5248 $as_echo "$ac_cs_config"; exit ;;
5249 --debug | --debu | --deb | --de | --d | -d )
5251 --file | --fil | --fi | --f )
5254 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5255 '') as_fn_error $? "missing file argument" ;;
5257 as_fn_append CONFIG_FILES " '$ac_optarg'"
5258 ac_need_defaults=false;;
5259 --header | --heade | --head | --hea )
5262 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5264 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5265 ac_need_defaults=false;;
5267 # Conflict between --help and --header
5268 as_fn_error $? "ambiguous option: \`$1'
5269 Try \`$0 --help' for more information.";;
5270 --help | --hel | -h )
5271 $as_echo "$ac_cs_usage"; exit ;;
5272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5273 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5277 -*) as_fn_error $? "unrecognized option: \`$1'
5278 Try \`$0 --help' for more information." ;;
5280 *) as_fn_append ac_config_targets " $1"
5281 ac_need_defaults=false ;;
5287 ac_configure_extra_args=
5289 if $ac_cs_silent; then
5291 ac_configure_extra_args="$ac_configure_extra_args --silent"
5295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5296 if \$ac_cs_recheck; then
5297 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5299 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5300 CONFIG_SHELL='$SHELL'
5306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5311 ## Running $as_me. ##
5317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5321 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5327 # Handling of arguments.
5328 for ac_config_target in $ac_config_targets
5330 case $ac_config_target in
5331 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5332 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5333 "Example/Makefile") CONFIG_FILES="$CONFIG_FILES Example/Makefile" ;;
5334 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5336 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5341 # If the user did not use the arguments to specify the items to instantiate,
5342 # then the envvar interface is used. Set only those that are not.
5343 # We use the long form for the default assignment because of an extremely
5344 # bizarre bug on SunOS 4.1.3.
5345 if $ac_need_defaults; then
5346 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5347 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5348 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5351 # Have a temporary directory for convenience. Make it in the build tree
5352 # simply because there is no reason against having it here, and in addition,
5353 # creating and moving files from /tmp can sometimes cause problems.
5354 # Hook for its removal unless debugging.
5355 # Note that there is a small window in which the directory will not be cleaned:
5356 # after its creation but before its name has been assigned to `$tmp'.
5360 trap 'exit_status=$?
5362 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5364 trap 'as_fn_exit 1' 1 2 13 15
5366 # Create a (secure) tmp directory for tmp files.
5369 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5373 tmp=./conf$$-$RANDOM
5374 (umask 077 && mkdir "$tmp")
5375 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5378 # Set up the scripts for CONFIG_FILES section.
5379 # No need to generate them if there are no CONFIG_FILES.
5380 # This happens for instance with `./config.status config.h'.
5381 if test -n "$CONFIG_FILES"; then
5384 ac_cr=`echo X | tr X '\015'`
5385 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5386 # But we know of no other shell where ac_cr would be empty at this
5387 # point, so we can use a bashism as a fallback.
5388 if test "x$ac_cr" = x; then
5389 eval ac_cr=\$\'\\r\'
5391 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5392 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5398 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5403 echo "cat >conf$$subs.awk <<_ACEOF" &&
5404 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5407 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5408 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5410 for ac_last_try in false false false false false :; do
5411 . ./conf$$subs.sh ||
5412 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5414 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5415 if test $ac_delim_n = $ac_delim_num; then
5417 elif $ac_last_try; then
5418 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5420 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5426 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5430 s/^/S["/; s/!.*/"]=/
5440 s/\(.\{148\}\)..*/\1/
5442 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5447 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5454 s/\(.\{148\}\)..*/\1/
5456 s/["\\]/\\&/g; s/^/"/; s/$/"/
5460 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5465 ' <conf$$subs.awk | sed '
5470 ' >>$CONFIG_STATUS || ac_write_fail=1
5471 rm -f conf$$subs.awk
5472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5474 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5475 for (key in S) S_is_set[key] = 1
5481 nfields = split(line, field, "@")
5483 len = length(field[1])
5484 for (i = 2; i < nfields; i++) {
5486 keylen = length(key)
5487 if (S_is_set[key]) {
5489 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5490 len += length(value) + length(field[++i])
5501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5502 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5503 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5506 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5507 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5510 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5511 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5512 # trailing colons and then remove the whole line if VPATH becomes empty
5513 # (actually we leave an empty line to preserve line numbers).
5514 if test "x$srcdir" = x.; then
5515 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5534 fi # test -n "$CONFIG_FILES"
5536 # Set up the scripts for CONFIG_HEADERS section.
5537 # No need to generate them if there are no CONFIG_HEADERS.
5538 # This happens for instance with `./config.status Makefile'.
5539 if test -n "$CONFIG_HEADERS"; then
5540 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5544 # Transform confdefs.h into an awk script `defines.awk', embedded as
5545 # here-document in config.status, that substitutes the proper values into
5546 # config.h.in to produce config.h.
5548 # Create a delimiter string that does not exist in confdefs.h, to ease
5549 # handling of long lines.
5551 for ac_last_try in false false :; do
5552 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5553 if test -z "$ac_tt"; then
5555 elif $ac_last_try; then
5556 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5558 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5562 # For the awk script, D is an array of macro values keyed by name,
5563 # likewise P contains macro parameters if any. Preserve backslash
5564 # newline sequences.
5566 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5568 s/.\{148\}/&'"$ac_delim"'/g
5571 s/^[ ]*#[ ]*define[ ][ ]*/ /
5578 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5580 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5584 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5585 D["\1"]=" \3\\\\\\n"\\/p
5587 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5592 s/.\{148\}/&'"$ac_delim"'/g
5597 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5600 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5602 ' <confdefs.h | sed '
5603 s/'"$ac_delim"'/"\\\
5604 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5607 for (key in D) D_is_set[key] = 1
5610 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5612 split(line, arg, " ")
5613 if (arg[1] == "#") {
5617 defundef = substr(arg[1], 2)
5620 split(mac1, mac2, "(") #)
5622 prefix = substr(line, 1, index(line, defundef) - 1)
5623 if (D_is_set[macro]) {
5624 # Preserve the white space surrounding the "#".
5625 print prefix "define", macro P[macro] D[macro]
5628 # Replace #undef with comments. This is necessary, for example,
5629 # in the case of _POSIX_SOURCE, which is predefined and required
5630 # on some systems where configure will not decide to define it.
5631 if (defundef == "undef") {
5632 print "/*", prefix defundef, macro, "*/"
5640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5641 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5642 fi # test -n "$CONFIG_HEADERS"
5645 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5650 :[FHLC]) ac_mode=$ac_tag; continue;;
5652 case $ac_mode$ac_tag in
5654 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5655 :[FH]-) ac_tag=-:-;;
5656 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5673 -) ac_f="$ac_tmp/stdin";;
5674 *) # Look for the file first in the build tree, then in the source tree
5675 # (if the path is not absolute). The absolute path cannot be DOS-style,
5676 # because $ac_f cannot contain `:'.
5680 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5682 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5684 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5685 as_fn_append ac_file_inputs " '$ac_f'"
5688 # Let's still pretend it is `configure' which instantiates (i.e., don't
5689 # use $as_me), people would be surprised to read:
5690 # /* config.h. Generated by config.status. */
5691 configure_input='Generated from '`
5692 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5694 if test x"$ac_file" != x-; then
5695 configure_input="$ac_file. $configure_input"
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5697 $as_echo "$as_me: creating $ac_file" >&6;}
5699 # Neutralize special characters interpreted by sed in replacement strings.
5700 case $configure_input in #(
5701 *\&* | *\|* | *\\* )
5702 ac_sed_conf_input=`$as_echo "$configure_input" |
5703 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5704 *) ac_sed_conf_input=$configure_input;;
5708 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5709 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5714 ac_dir=`$as_dirname -- "$ac_file" ||
5715 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5716 X"$ac_file" : 'X\(//\)[^/]' \| \
5717 X"$ac_file" : 'X\(//\)$' \| \
5718 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5719 $as_echo X"$ac_file" |
5720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5737 as_dir="$ac_dir"; as_fn_mkdir_p
5741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5743 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5744 # A ".." for each directory in $ac_dir_suffix.
5745 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5746 case $ac_top_builddir_sub in
5747 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5748 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5751 ac_abs_top_builddir=$ac_pwd
5752 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5753 # for backward compatibility:
5754 ac_top_builddir=$ac_top_build_prefix
5757 .) # We are building in place.
5759 ac_top_srcdir=$ac_top_builddir_sub
5760 ac_abs_top_srcdir=$ac_pwd ;;
5761 [\\/]* | ?:[\\/]* ) # Absolute name.
5762 ac_srcdir=$srcdir$ac_dir_suffix;
5763 ac_top_srcdir=$srcdir
5764 ac_abs_top_srcdir=$srcdir ;;
5766 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5767 ac_top_srcdir=$ac_top_build_prefix$srcdir
5768 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5770 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5780 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5781 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5785 [\\/$]* | ?:[\\/]* ) ;;
5786 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5791 # If the template does not know about datarootdir, expand it.
5792 # FIXME: This hack should be removed a few years after 2.60.
5793 ac_datarootdir_hack=; ac_datarootdir_seen=
5804 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5805 *datarootdir*) ac_datarootdir_seen=yes;;
5806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5808 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5811 ac_datarootdir_hack='
5812 s&@datadir@&$datadir&g
5813 s&@docdir@&$docdir&g
5814 s&@infodir@&$infodir&g
5815 s&@localedir@&$localedir&g
5816 s&@mandir@&$mandir&g
5817 s&\\\${datarootdir}&$datarootdir&g' ;;
5821 # Neutralize VPATH when `$srcdir' = `.'.
5822 # Shell code in configure.ac might set extrasub.
5823 # FIXME: do we really want to maintain this feature?
5824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5825 ac_sed_extra="$ac_vpsub
5828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5831 s|@configure_input@|$ac_sed_conf_input|;t t
5832 s&@top_builddir@&$ac_top_builddir_sub&;t t
5833 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5834 s&@srcdir@&$ac_srcdir&;t t
5835 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5836 s&@top_srcdir@&$ac_top_srcdir&;t t
5837 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5838 s&@builddir@&$ac_builddir&;t t
5839 s&@abs_builddir@&$ac_abs_builddir&;t t
5840 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5841 s&@INSTALL@&$ac_INSTALL&;t t
5842 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5843 $ac_datarootdir_hack
5845 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5846 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5848 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5849 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5850 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5851 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5853 which seems to be undefined. Please make sure it is defined" >&5
5854 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5855 which seems to be undefined. Please make sure it is defined" >&2;}
5857 rm -f "$ac_tmp/stdin"
5859 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5860 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5862 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5868 if test x"$ac_file" != x-; then
5870 $as_echo "/* $configure_input */" \
5871 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5872 } >"$ac_tmp/config.h" \
5873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5874 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5876 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5879 mv "$ac_tmp/config.h" "$ac_file" \
5880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5883 $as_echo "/* $configure_input */" \
5884 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5885 || as_fn_error $? "could not create -" "$LINENO" 5
5887 # Compute "$ac_file"'s index in $config_headers.
5890 for _am_header in $config_headers :; do
5892 $_am_arg | $_am_arg:* )
5895 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5898 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5899 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5900 X"$_am_arg" : 'X\(//\)[^/]' \| \
5901 X"$_am_arg" : 'X\(//\)$' \| \
5902 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5903 $as_echo X"$_am_arg" |
5904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5920 s/.*/./; q'`/stamp-h$_am_stamp_count
5923 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5924 $as_echo "$as_me: executing $ac_file commands" >&6;}
5929 case $ac_file$ac_mode in
5930 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5931 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5932 # are listed without --file. Let's play safe and only enable the eval
5933 # if we detect the quoting.
5934 case $CONFIG_FILES in
5935 *\'*) eval set x "$CONFIG_FILES" ;;
5936 *) set x $CONFIG_FILES ;;
5941 # Strip MF so we end up with the name of the file.
5942 mf=`echo "$mf" | sed -e 's/:.*$//'`
5943 # Check whether this is an Automake generated Makefile or not.
5944 # We used to match only the files named `Makefile.in', but
5945 # some people rename them; so instead we look at the file content.
5946 # Grep'ing the first line is not enough: some people post-process
5947 # each Makefile.in and add a new line on top of each file to say so.
5948 # Grep'ing the whole file is not good either: AIX grep has a line
5949 # limit of 2048, but all sed's we know have understand at least 4000.
5950 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5951 dirpart=`$as_dirname -- "$mf" ||
5952 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5953 X"$mf" : 'X\(//\)[^/]' \| \
5954 X"$mf" : 'X\(//\)$' \| \
5955 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5977 # Extract the definition of DEPDIR, am__include, and am__quote
5978 # from the Makefile without running `make'.
5979 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5980 test -z "$DEPDIR" && continue
5981 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5982 test -z "am__include" && continue
5983 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5984 # When using ansi2knr, U may be empty or an underscore; expand it
5985 U=`sed -n 's/^U = //p' < "$mf"`
5986 # Find all dependency output files, they are included files with
5987 # $(DEPDIR) in their names. We invoke sed twice because it is the
5988 # simplest approach to changing $(DEPDIR) to its actual value in the
5990 for file in `sed -n "
5991 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5992 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5993 # Make sure the directory exists.
5994 test -f "$dirpart/$file" && continue
5995 fdir=`$as_dirname -- "$file" ||
5996 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5997 X"$file" : 'X\(//\)[^/]' \| \
5998 X"$file" : 'X\(//\)$' \| \
5999 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6018 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6019 # echo "creating $dirpart/$file"
6020 echo '# dummy' > "$dirpart/$file"
6032 ac_clean_files=$ac_clean_files_save
6034 test $ac_write_fail = 0 ||
6035 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6038 # configure is writing to config.log, and then calls config.status.
6039 # config.status does its own redirection, appending to config.log.
6040 # Unfortunately, on DOS this fails, as config.log is still kept open
6041 # by configure, so config.status won't be able to write to it; its
6042 # output is simply discarded. So we exec the FD to /dev/null,
6043 # effectively closing config.log, so it can be properly (re)opened and
6044 # appended to by config.status. When coming back to configure, we
6045 # need to make the FD available again.
6046 if test "$no_create" != yes; then
6048 ac_config_status_args=
6049 test "$silent" = yes &&
6050 ac_config_status_args="$ac_config_status_args --quiet"
6052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6055 # would make configure fail if this is the last instruction.
6056 $ac_cs_success || as_fn_exit 1
6058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}