Replace Progs/RNAalifold with x64 binary and add all other programs
[jabaws.git] / binaries / src / ViennaRNA / Kinfold / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for kinfold 1.3.
4 #
5 # Report bugs to <rna@tbi.univie.ac.at>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
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 ## -------------------- ##
18
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 :
22   emulate sh
23   NULLCMD=:
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+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
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
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
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'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
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.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
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
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
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 || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
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 :
141   emulate sh
142   NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
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; }
161
162 exitcode=0
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 :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
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 :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
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 :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
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
212 fi; }
213 IFS=$as_save_IFS
214
215
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.
221         BASH_ENV=/dev/null
222         ENV=/dev/null
223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224         export CONFIG_SHELL
225         case $- in # ((((
226           *v*x* | *x*v* ) as_opts=-vx ;;
227           *v* ) as_opts=-v ;;
228           *x* ) as_opts=-x ;;
229           * ) as_opts= ;;
230         esac
231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
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."
240   else
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."
246   fi
247   exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
264 {
265   { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274   return $1
275 } # as_fn_set_status
276
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282   set +e
283   as_fn_set_status $1
284   exit $1
285 } # as_fn_exit
286
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293   case $as_dir in #(
294   -*) as_dir=./$as_dir;;
295   esac
296   test -d "$as_dir" || eval $as_mkdir_p || {
297     as_dirs=
298     while :; do
299       case $as_dir in #(
300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301       *) as_qdir=$as_dir;;
302       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\/\)[^/].*/{
315             s//\1/
316             q
317           }
318           /^X\(\/\/\)$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\).*/{
323             s//\1/
324             q
325           }
326           s/.*/./; q'`
327       test -d "$as_dir" && break
328     done
329     test -z "$as_dirs" || eval "mkdir $as_dirs"
330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } # as_fn_mkdir_p
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
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341   eval 'as_fn_append ()
342   {
343     eval $1+=\$2
344   }'
345 else
346   as_fn_append ()
347   {
348     eval $1=\$$1\$2
349   }
350 fi # as_fn_append
351
352 # as_fn_arith ARG...
353 # ------------------
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 :
358   eval 'as_fn_arith ()
359   {
360     as_val=$(( $* ))
361   }'
362 else
363   as_fn_arith ()
364   {
365     as_val=`expr "$@" || test $? -eq 1`
366   }
367 fi # as_fn_arith
368
369
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.
375 as_fn_error ()
376 {
377   as_status=$1; test $as_status -eq 0 && as_status=1
378   if test "$4"; then
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
381   fi
382   $as_echo "$as_me: error: $2" >&2
383   as_fn_exit $as_status
384 } # as_fn_error
385
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
388   as_expr=expr
389 else
390   as_expr=false
391 fi
392
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394   as_basename=basename
395 else
396   as_basename=false
397 fi
398
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400   as_dirname=dirname
401 else
402   as_dirname=false
403 fi
404
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407          X"$0" : 'X\(//\)$' \| \
408          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410     sed '/^.*\/\([^/][^/]*\)\/*$/{
411             s//\1/
412             q
413           }
414           /^X\/\(\/\/\)$/{
415             s//\1/
416             q
417           }
418           /^X\/\(\/\).*/{
419             s//\1/
420             q
421           }
422           s/.*/./; q'`
423
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
430
431
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.  :-)
437   sed -n '
438     p
439     /[$]LINENO/=
440   ' <$as_myself |
441     sed '
442       s/[$]LINENO.*/&-/
443       t lineno
444       b
445       :lineno
446       N
447       :loop
448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449       t loop
450       s/-\n.*//
451     ' >$as_me.lineno &&
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; }
454
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).
458   . "./$as_me.lineno"
459   # Exit status is that of the last command.
460   exit
461 }
462
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466   case `echo 'xy\c'` in
467   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
468   xy)  ECHO_C='\c';;
469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
470        ECHO_T=' ';;
471   esac;;
472 *)
473   ECHO_N='-n';;
474 esac
475
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478   rm -f conf$$.dir/conf$$.file
479 else
480   rm -f conf$$.dir
481   mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484   if ln -s conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s='ln -s'
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 ||
491       as_ln_s='cp -p'
492   elif ln conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s=ln
494   else
495     as_ln_s='cp -p'
496   fi
497 else
498   as_ln_s='cp -p'
499 fi
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
502
503 if mkdir -p . 2>/dev/null; then
504   as_mkdir_p='mkdir -p "$as_dir"'
505 else
506   test -d ./-p && rmdir ./-p
507   as_mkdir_p=false
508 fi
509
510 if test -x / >/dev/null 2>&1; then
511   as_test_x='test -x'
512 else
513   if ls -dL / >/dev/null 2>&1; then
514     as_ls_L_option=L
515   else
516     as_ls_L_option=
517   fi
518   as_test_x='
519     eval sh -c '\''
520       if test -d "$1"; then
521         test -d "$1/.";
522       else
523         case $1 in #(
524         -*)set "./$1";;
525         esac;
526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527         ???[sx]*):;;*)false;;esac;fi
528     '\'' sh
529   '
530 fi
531 as_executable_p=$as_test_x
532
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'"
535
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'"
538
539
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
542
543 # Name of the host.
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`
547
548 #
549 # Initializations.
550 #
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
559
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'
566 PACKAGE_URL=''
567
568 ac_unique_file="cache_util.h"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
571 #include <stdio.h>
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
574 #endif
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
577 #endif
578 #ifdef STDC_HEADERS
579 # include <stdlib.h>
580 # include <stddef.h>
581 #else
582 # ifdef HAVE_STDLIB_H
583 #  include <stdlib.h>
584 # endif
585 #endif
586 #ifdef HAVE_STRING_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #  include <memory.h>
589 # endif
590 # include <string.h>
591 #endif
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
594 #endif
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
597 #endif
598 #ifdef HAVE_STDINT_H
599 # include <stdint.h>
600 #endif
601 #ifdef HAVE_UNISTD_H
602 # include <unistd.h>
603 #endif"
604
605 ac_subst_vars='am__EXEEXT_FALSE
606 am__EXEEXT_TRUE
607 LTLIBOBJS
608 LIBOBJS
609 EGREP
610 GREP
611 CPP
612 OPENMP_CFLAGS
613 host_os
614 host_vendor
615 host_cpu
616 host
617 build_os
618 build_vendor
619 build_cpu
620 build
621 ISODATE
622 am__fastdepCC_FALSE
623 am__fastdepCC_TRUE
624 CCDEPMODE
625 am__nodep
626 AMDEPBACKSLASH
627 AMDEP_FALSE
628 AMDEP_TRUE
629 am__quote
630 am__include
631 DEPDIR
632 OBJEXT
633 EXEEXT
634 ac_ct_CC
635 CPPFLAGS
636 LDFLAGS
637 CFLAGS
638 CC
639 am__untar
640 am__tar
641 AMTAR
642 am__leading_dot
643 SET_MAKE
644 AWK
645 mkdir_p
646 MKDIR_P
647 INSTALL_STRIP_PROGRAM
648 STRIP
649 install_sh
650 MAKEINFO
651 AUTOHEADER
652 AUTOMAKE
653 AUTOCONF
654 ACLOCAL
655 VERSION
656 PACKAGE
657 CYGPATH_W
658 am__isrc
659 INSTALL_DATA
660 INSTALL_SCRIPT
661 INSTALL_PROGRAM
662 AM_BACKSLASH
663 AM_DEFAULT_VERBOSITY
664 AM_DEFAULT_V
665 AM_V
666 target_alias
667 host_alias
668 build_alias
669 LIBS
670 ECHO_T
671 ECHO_N
672 ECHO_C
673 DEFS
674 mandir
675 localedir
676 libdir
677 psdir
678 pdfdir
679 dvidir
680 htmldir
681 infodir
682 docdir
683 oldincludedir
684 includedir
685 localstatedir
686 sharedstatedir
687 sysconfdir
688 datadir
689 datarootdir
690 libexecdir
691 sbindir
692 bindir
693 program_transform_name
694 prefix
695 exec_prefix
696 PACKAGE_URL
697 PACKAGE_BUGREPORT
698 PACKAGE_STRING
699 PACKAGE_VERSION
700 PACKAGE_TARNAME
701 PACKAGE_NAME
702 PATH_SEPARATOR
703 SHELL'
704 ac_subst_files=''
705 ac_user_opts='
706 enable_option_checking
707 enable_silent_rules
708 with_dmalloc
709 enable_dependency_tracking
710 with_ViennaRNA_include
711 with_ViennaRNA_lib
712 enable_openmp
713 '
714       ac_precious_vars='build_alias
715 host_alias
716 target_alias
717 CC
718 CFLAGS
719 LDFLAGS
720 LIBS
721 CPPFLAGS
722 CPP'
723
724
725 # Initialize some variables set by options.
726 ac_init_help=
727 ac_init_version=false
728 ac_unrecognized_opts=
729 ac_unrecognized_sep=
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
732 cache_file=/dev/null
733 exec_prefix=NONE
734 no_create=
735 no_recursion=
736 prefix=NONE
737 program_prefix=NONE
738 program_suffix=NONE
739 program_transform_name=s,x,x,
740 silent=
741 site=
742 srcdir=
743 verbose=
744 x_includes=NONE
745 x_libraries=NONE
746
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'
765 htmldir='${docdir}'
766 dvidir='${docdir}'
767 pdfdir='${docdir}'
768 psdir='${docdir}'
769 libdir='${exec_prefix}/lib'
770 localedir='${datarootdir}/locale'
771 mandir='${datarootdir}/man'
772
773 ac_prev=
774 ac_dashdash=
775 for ac_option
776 do
777   # If the previous option needs an argument, assign it.
778   if test -n "$ac_prev"; then
779     eval $ac_prev=\$ac_option
780     ac_prev=
781     continue
782   fi
783
784   case $ac_option in
785   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
786   *=)   ac_optarg= ;;
787   *)    ac_optarg=yes ;;
788   esac
789
790   # Accept the important Cygnus configure options, so we can diagnose typos.
791
792   case $ac_dashdash$ac_option in
793   --)
794     ac_dashdash=yes ;;
795
796   -bindir | --bindir | --bindi | --bind | --bin | --bi)
797     ac_prev=bindir ;;
798   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799     bindir=$ac_optarg ;;
800
801   -build | --build | --buil | --bui | --bu)
802     ac_prev=build_alias ;;
803   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804     build_alias=$ac_optarg ;;
805
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 ;;
812
813   --config-cache | -C)
814     cache_file=config.cache ;;
815
816   -datadir | --datadir | --datadi | --datad)
817     ac_prev=datadir ;;
818   -datadir=* | --datadir=* | --datadi=* | --datad=*)
819     datadir=$ac_optarg ;;
820
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 ;;
827
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
836       *"
837 "enable_$ac_useropt"
838 "*) ;;
839       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840          ac_unrecognized_sep=', ';;
841     esac
842     eval enable_$ac_useropt=no ;;
843
844   -docdir | --docdir | --docdi | --doc | --do)
845     ac_prev=docdir ;;
846   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847     docdir=$ac_optarg ;;
848
849   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850     ac_prev=dvidir ;;
851   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852     dvidir=$ac_optarg ;;
853
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
862       *"
863 "enable_$ac_useropt"
864 "*) ;;
865       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866          ac_unrecognized_sep=', ';;
867     esac
868     eval enable_$ac_useropt=\$ac_optarg ;;
869
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 ;;
878
879   -gas | --gas | --ga | --g)
880     # Obsolete; use --with-gas.
881     with_gas=yes ;;
882
883   -help | --help | --hel | --he | -h)
884     ac_init_help=long ;;
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 ;;
889
890   -host | --host | --hos | --ho)
891     ac_prev=host_alias ;;
892   -host=* | --host=* | --hos=* | --ho=*)
893     host_alias=$ac_optarg ;;
894
895   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896     ac_prev=htmldir ;;
897   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898   | --ht=*)
899     htmldir=$ac_optarg ;;
900
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 ;;
907
908   -infodir | --infodir | --infodi | --infod | --info | --inf)
909     ac_prev=infodir ;;
910   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911     infodir=$ac_optarg ;;
912
913   -libdir | --libdir | --libdi | --libd)
914     ac_prev=libdir ;;
915   -libdir=* | --libdir=* | --libdi=* | --libd=*)
916     libdir=$ac_optarg ;;
917
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 ;;
924
925   -localedir | --localedir | --localedi | --localed | --locale)
926     ac_prev=localedir ;;
927   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928     localedir=$ac_optarg ;;
929
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 ;;
936
937   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938     ac_prev=mandir ;;
939   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940     mandir=$ac_optarg ;;
941
942   -nfp | --nfp | --nf)
943     # Obsolete; use --without-fp.
944     with_fp=no ;;
945
946   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
947   | --no-cr | --no-c | -n)
948     no_create=yes ;;
949
950   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952     no_recursion=yes ;;
953
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 ;;
962
963   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964     ac_prev=prefix ;;
965   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966     prefix=$ac_optarg ;;
967
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 ;;
974
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 ;;
981
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 ;;
998
999   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000     ac_prev=pdfdir ;;
1001   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002     pdfdir=$ac_optarg ;;
1003
1004   -psdir | --psdir | --psdi | --psd | --ps)
1005     ac_prev=psdir ;;
1006   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007     psdir=$ac_optarg ;;
1008
1009   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010   | -silent | --silent | --silen | --sile | --sil)
1011     silent=yes ;;
1012
1013   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014     ac_prev=sbindir ;;
1015   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016   | --sbi=* | --sb=*)
1017     sbindir=$ac_optarg ;;
1018
1019   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1020   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1021   | --sharedst | --shareds | --shared | --share | --shar \
1022   | --sha | --sh)
1023     ac_prev=sharedstatedir ;;
1024   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1025   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1026   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027   | --sha=* | --sh=*)
1028     sharedstatedir=$ac_optarg ;;
1029
1030   -site | --site | --sit)
1031     ac_prev=site ;;
1032   -site=* | --site=* | --sit=*)
1033     site=$ac_optarg ;;
1034
1035   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036     ac_prev=srcdir ;;
1037   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1038     srcdir=$ac_optarg ;;
1039
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 ;;
1046
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 ;;
1051
1052   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1053     verbose=yes ;;
1054
1055   -version | --version | --versio | --versi | --vers | -V)
1056     ac_init_version=: ;;
1057
1058   -with-* | --with-*)
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
1066       *"
1067 "with_$ac_useropt"
1068 "*) ;;
1069       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070          ac_unrecognized_sep=', ';;
1071     esac
1072     eval with_$ac_useropt=\$ac_optarg ;;
1073
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
1082       *"
1083 "with_$ac_useropt"
1084 "*) ;;
1085       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086          ac_unrecognized_sep=', ';;
1087     esac
1088     eval with_$ac_useropt=no ;;
1089
1090   --x)
1091     # Obsolete; use --with-x.
1092     with_x=yes ;;
1093
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 ;;
1100
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 ;;
1107
1108   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1109 Try \`$0 --help' for more information"
1110     ;;
1111
1112   *=*)
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'" ;;
1118     esac
1119     eval $ac_envvar=\$ac_optarg
1120     export $ac_envvar ;;
1121
1122   *)
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}"
1128     ;;
1129
1130   esac
1131 done
1132
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"
1136 fi
1137
1138 if test -n "$ac_unrecognized_opts"; then
1139   case $enable_option_checking in
1140     no) ;;
1141     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1142     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1143   esac
1144 fi
1145
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
1151 do
1152   eval ac_val=\$$ac_var
1153   # Remove trailing slashes.
1154   case $ac_val in
1155     */ )
1156       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157       eval $ac_var=\$ac_val;;
1158   esac
1159   # Be sure to have absolute directory names.
1160   case $ac_val in
1161     [\\/$]* | ?:[\\/]* )  continue;;
1162     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163   esac
1164   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1165 done
1166
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.
1170 build=$build_alias
1171 host=$host_alias
1172 target=$target_alias
1173
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
1181     cross_compiling=yes
1182   fi
1183 fi
1184
1185 ac_tool_prefix=
1186 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1187
1188 test "$silent" = yes && exec 6>/dev/null
1189
1190
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"
1197
1198
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210             s//\1/
1211             q
1212           }
1213           /^X\(\/\/\)[^/].*/{
1214             s//\1/
1215             q
1216           }
1217           /^X\(\/\/\)$/{
1218             s//\1/
1219             q
1220           }
1221           /^X\(\/\).*/{
1222             s//\1/
1223             q
1224           }
1225           s/.*/./; q'`
1226   srcdir=$ac_confdir
1227   if test ! -r "$srcdir/$ac_unique_file"; then
1228     srcdir=..
1229   fi
1230 else
1231   ac_srcdir_defaulted=no
1232 fi
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"
1236 fi
1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1238 ac_abs_confdir=`(
1239         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1240         pwd)`
1241 # When building in place, set srcdir=.
1242 if test "$ac_abs_confdir" = "$ac_pwd"; then
1243   srcdir=.
1244 fi
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.
1248 case $srcdir in
1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1250 esac
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}
1256 done
1257
1258 #
1259 # Report the --help message.
1260 #
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.
1264   cat <<_ACEOF
1265 \`configure' configures kinfold 1.3 to adapt to many kinds of systems.
1266
1267 Usage: $0 [OPTION]... [VAR=VALUE]...
1268
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.
1271
1272 Defaults for the options are specified in brackets.
1273
1274 Configuration:
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 \`..']
1284
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
1289                           [PREFIX]
1290
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'.
1295
1296 For better control, use the options below.
1297
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]
1318 _ACEOF
1319
1320   cat <<\_ACEOF
1321
1322 Program names:
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
1326
1327 System types:
1328   --build=BUILD     configure for building on BUILD [guessed]
1329   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1330 _ACEOF
1331 fi
1332
1333 if test -n "$ac_init_help"; then
1334   case $ac_init_help in
1335      short | recursive ) echo "Configuration of kinfold 1.3:";;
1336    esac
1337   cat <<\_ACEOF
1338
1339 Optional Features:
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
1348
1349 Optional Packages:
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
1355
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>
1364   CPP         C preprocessor
1365
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.
1368
1369 Report bugs to <rna@tbi.univie.ac.at>.
1370 _ACEOF
1371 ac_status=$?
1372 fi
1373
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"; } ||
1379       continue
1380     ac_builddir=.
1381
1382 case "$ac_dir" in
1383 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384 *)
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/ ;;
1391   esac ;;
1392 esac
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
1397
1398 case $srcdir in
1399   .)  # We are building in place.
1400     ac_srcdir=.
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 ;;
1407   *) # Relative name.
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 ;;
1411 esac
1412 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1413
1414     cd "$ac_dir" || { ac_status=$?; continue; }
1415     # Check for guested configure.
1416     if test -f "$ac_srcdir/configure.gnu"; then
1417       echo &&
1418       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1419     elif test -f "$ac_srcdir/configure"; then
1420       echo &&
1421       $SHELL "$ac_srcdir/configure" --help=recursive
1422     else
1423       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1424     fi || ac_status=$?
1425     cd "$ac_pwd" || { ac_status=$?; break; }
1426   done
1427 fi
1428
1429 test -n "$ac_init_help" && exit $ac_status
1430 if $ac_init_version; then
1431   cat <<\_ACEOF
1432 kinfold configure 1.3
1433 generated by GNU Autoconf 2.68
1434
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.
1438 _ACEOF
1439   exit
1440 fi
1441
1442 ## ------------------------ ##
1443 ## Autoconf initialization. ##
1444 ## ------------------------ ##
1445
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 ()
1450 {
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"
1454 case "(($ac_try" in
1455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456   *) ac_try_echo=$ac_try;;
1457 esac
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
1461   ac_status=$?
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
1466   fi
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 :
1472   ac_retval=0
1473 else
1474   $as_echo "$as_me: failed program was:" >&5
1475 sed 's/^/| /' conftest.$ac_ext >&5
1476
1477         ac_retval=1
1478 fi
1479   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1480   as_fn_set_status $ac_retval
1481
1482 } # ac_fn_c_try_compile
1483
1484 # ac_fn_c_try_link LINENO
1485 # -----------------------
1486 # Try to link conftest.$ac_ext, and return whether this succeeded.
1487 ac_fn_c_try_link ()
1488 {
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"
1492 case "(($ac_try" in
1493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1494   *) ac_try_echo=$ac_try;;
1495 esac
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
1499   ac_status=$?
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
1504   fi
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
1512        }; then :
1513   ac_retval=0
1514 else
1515   $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.$ac_ext >&5
1517
1518         ac_retval=1
1519 fi
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
1527
1528 } # ac_fn_c_try_link
1529
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 ()
1534 {
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
1540 else
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
1546
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.  */
1551
1552 #ifdef __STDC__
1553 # include <limits.h>
1554 #else
1555 # include <assert.h>
1556 #endif
1557
1558 #undef $2
1559
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.  */
1563 #ifdef __cplusplus
1564 extern "C"
1565 #endif
1566 char $2 ();
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
1571 choke me
1572 #endif
1573
1574 int
1575 main ()
1576 {
1577 return $2 ();
1578   ;
1579   return 0;
1580 }
1581 _ACEOF
1582 if ac_fn_c_try_link "$LINENO"; then :
1583   eval "$3=yes"
1584 else
1585   eval "$3=no"
1586 fi
1587 rm -f core conftest.err conftest.$ac_objext \
1588     conftest$ac_exeext conftest.$ac_ext
1589 fi
1590 eval ac_res=\$$3
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
1594
1595 } # ac_fn_c_check_func
1596
1597 # ac_fn_c_try_cpp LINENO
1598 # ----------------------
1599 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_c_try_cpp ()
1601 {
1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603   if { { ac_try="$ac_cpp conftest.$ac_ext"
1604 case "(($ac_try" in
1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606   *) ac_try_echo=$ac_try;;
1607 esac
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
1611   ac_status=$?
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
1616   fi
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
1621        }; then :
1622   ac_retval=0
1623 else
1624   $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1626
1627     ac_retval=1
1628 fi
1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630   as_fn_set_status $ac_retval
1631
1632 } # ac_fn_c_try_cpp
1633
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.
1638 ac_fn_c_try_run ()
1639 {
1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641   if { { ac_try="$ac_link"
1642 case "(($ac_try" in
1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644   *) ac_try_echo=$ac_try;;
1645 esac
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
1649   ac_status=$?
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;;
1655 esac
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
1659   ac_status=$?
1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661   test $ac_status = 0; }; }; then :
1662   ac_retval=0
1663 else
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
1667
1668        ac_retval=$ac_status
1669 fi
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
1673
1674 } # ac_fn_c_try_run
1675
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
1680 # accordingly.
1681 ac_fn_c_check_header_mongrel ()
1682 {
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
1689 fi
1690 eval ac_res=\$$3
1691                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 else
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.  */
1699 $4
1700 #include <$2>
1701 _ACEOF
1702 if ac_fn_c_try_compile "$LINENO"; then :
1703   ac_header_compiler=yes
1704 else
1705   ac_header_compiler=no
1706 fi
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; }
1710
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.  */
1716 #include <$2>
1717 _ACEOF
1718 if ac_fn_c_try_cpp "$LINENO"; then :
1719   ac_header_preproc=yes
1720 else
1721   ac_header_preproc=no
1722 fi
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; }
1726
1727 # So?  What about this header?
1728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1729   yes:no: )
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;}
1734     ;;
1735   no:yes:* )
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
1750     ;;
1751 esac
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
1756 else
1757   eval "$3=\$ac_header_compiler"
1758 fi
1759 eval ac_res=\$$3
1760                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 fi
1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764
1765 } # ac_fn_c_check_header_mongrel
1766
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 ()
1772 {
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
1778 else
1779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h.  */
1781 $4
1782 #include <$2>
1783 _ACEOF
1784 if ac_fn_c_try_compile "$LINENO"; then :
1785   eval "$3=yes"
1786 else
1787   eval "$3=no"
1788 fi
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1790 fi
1791 eval ac_res=\$$3
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
1795
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.
1800
1801 It was created by kinfold $as_me 1.3, which was
1802 generated by GNU Autoconf 2.68.  Invocation command line was
1803
1804   $ $0 $@
1805
1806 _ACEOF
1807 exec 5>>config.log
1808 {
1809 cat <<_ASUNAME
1810 ## --------- ##
1811 ## Platform. ##
1812 ## --------- ##
1813
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`
1819
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`
1822
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`
1830
1831 _ASUNAME
1832
1833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 for as_dir in $PATH
1835 do
1836   IFS=$as_save_IFS
1837   test -z "$as_dir" && as_dir=.
1838     $as_echo "PATH: $as_dir"
1839   done
1840 IFS=$as_save_IFS
1841
1842 } >&5
1843
1844 cat >&5 <<_ACEOF
1845
1846
1847 ## ----------- ##
1848 ## Core tests. ##
1849 ## ----------- ##
1850
1851 _ACEOF
1852
1853
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.
1859 ac_configure_args=
1860 ac_configure_args0=
1861 ac_configure_args1=
1862 ac_must_keep_next=false
1863 for ac_pass in 1 2
1864 do
1865   for ac_arg
1866   do
1867     case $ac_arg in
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)
1871       continue ;;
1872     *\'*)
1873       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1874     esac
1875     case $ac_pass in
1876     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1877     2)
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.
1881       else
1882         case $ac_arg in
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 ;;
1889             esac
1890             ;;
1891           -* ) ac_must_keep_next=true ;;
1892         esac
1893       fi
1894       as_fn_append ac_configure_args " '$ac_arg'"
1895       ;;
1896     esac
1897   done
1898 done
1899 { ac_configure_args0=; unset ac_configure_args0;}
1900 { ac_configure_args1=; unset ac_configure_args1;}
1901
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.
1909   {
1910     echo
1911
1912     $as_echo "## ---------------- ##
1913 ## Cache variables. ##
1914 ## ---------------- ##"
1915     echo
1916     # The following way of writing the cache mishandles newlines in values,
1917 (
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
1920     case $ac_val in #(
1921     *${as_nl}*)
1922       case $ac_var in #(
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;} ;;
1925       esac
1926       case $ac_var in #(
1927       _ | IFS | as_nl) ;; #(
1928       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1929       *) { eval $ac_var=; unset $ac_var;} ;;
1930       esac ;;
1931     esac
1932   done
1933   (set) 2>&1 |
1934     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1935     *${as_nl}ac_space=\ *)
1936       sed -n \
1937         "s/'\''/'\''\\\\'\'''\''/g;
1938           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1939       ;; #(
1940     *)
1941       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1942       ;;
1943     esac |
1944     sort
1945 )
1946     echo
1947
1948     $as_echo "## ----------------- ##
1949 ## Output variables. ##
1950 ## ----------------- ##"
1951     echo
1952     for ac_var in $ac_subst_vars
1953     do
1954       eval ac_val=\$$ac_var
1955       case $ac_val in
1956       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1957       esac
1958       $as_echo "$ac_var='\''$ac_val'\''"
1959     done | sort
1960     echo
1961
1962     if test -n "$ac_subst_files"; then
1963       $as_echo "## ------------------- ##
1964 ## File substitutions. ##
1965 ## ------------------- ##"
1966       echo
1967       for ac_var in $ac_subst_files
1968       do
1969         eval ac_val=\$$ac_var
1970         case $ac_val in
1971         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972         esac
1973         $as_echo "$ac_var='\''$ac_val'\''"
1974       done | sort
1975       echo
1976     fi
1977
1978     if test -s confdefs.h; then
1979       $as_echo "## ----------- ##
1980 ## confdefs.h. ##
1981 ## ----------- ##"
1982       echo
1983       cat confdefs.h
1984       echo
1985     fi
1986     test "$ac_signal" != 0 &&
1987       $as_echo "$as_me: caught signal $ac_signal"
1988     $as_echo "$as_me: exit $exit_status"
1989   } >&5
1990   rm -f core *.core core.conftest.* &&
1991     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1992     exit $exit_status
1993 ' 0
1994 for ac_signal in 1 2 13 15; do
1995   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1996 done
1997 ac_signal=0
1998
1999 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2000 rm -f -r conftest* confdefs.h
2001
2002 $as_echo "/* confdefs.h */" > confdefs.h
2003
2004 # Predefined preprocessor variables.
2005
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_NAME "$PACKAGE_NAME"
2008 _ACEOF
2009
2010 cat >>confdefs.h <<_ACEOF
2011 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2012 _ACEOF
2013
2014 cat >>confdefs.h <<_ACEOF
2015 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2016 _ACEOF
2017
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_STRING "$PACKAGE_STRING"
2020 _ACEOF
2021
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2024 _ACEOF
2025
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_URL "$PACKAGE_URL"
2028 _ACEOF
2029
2030
2031 # Let the site file select an alternate cache file if it wants to.
2032 # Prefer an explicitly selected file to automatically selected ones.
2033 ac_site_file1=NONE
2034 ac_site_file2=NONE
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;;
2041   esac
2042 elif test "x$prefix" != xNONE; then
2043   ac_site_file1=$prefix/share/config.site
2044   ac_site_file2=$prefix/etc/config.site
2045 else
2046   ac_site_file1=$ac_default_prefix/share/config.site
2047   ac_site_file2=$ac_default_prefix/etc/config.site
2048 fi
2049 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2050 do
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
2056     . "$ac_site_file" \
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; }
2061   fi
2062 done
2063
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;}
2070     case $cache_file in
2071       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2072       *)                      . "./$cache_file";;
2073     esac
2074   fi
2075 else
2076   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2077 $as_echo "$as_me: creating cache $cache_file" >&6;}
2078   >$cache_file
2079 fi
2080
2081 # Check that the precious variables saved in the cache have kept the same
2082 # value.
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
2090     set,)
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=: ;;
2094     ,set)
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=: ;;
2098     ,);;
2099     *)
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=:
2108         else
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
2112         fi
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;}
2117       fi;;
2118   esac
2119   # Pass precious variables to config.status.
2120   if test "$ac_new_set" = set; then
2121     case $ac_new_val in
2122     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2123     *) ac_arg=$ac_var=$ac_new_val ;;
2124     esac
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'" ;;
2128     esac
2129   fi
2130 done
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
2137 fi
2138 ## -------------------- ##
2139 ## Main body of script. ##
2140 ## -------------------- ##
2141
2142 ac_ext=c
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
2147
2148
2149
2150
2151 # Check whether --enable-silent-rules was given.
2152 if test "${enable_silent_rules+set}" = set; then :
2153   enableval=$enable_silent_rules;
2154 fi
2155
2156 case $enable_silent_rules in
2157 yes) AM_DEFAULT_VERBOSITY=0;;
2158 no)  AM_DEFAULT_VERBOSITY=1;;
2159 *)   AM_DEFAULT_VERBOSITY=0;;
2160 esac
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
2166 else
2167   if $as_echo 'TRUE=$(BAR$(V))
2168 BAR0=false
2169 BAR1=true
2170 V=1
2171 am__doit:
2172         @$(TRUE)
2173 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2174   am_cv_make_support_nested_variables=yes
2175 else
2176   am_cv_make_support_nested_variables=no
2177 fi
2178 fi
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
2182     AM_V='$(V)'
2183   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2184 else
2185   AM_V=$AM_DEFAULT_VERBOSITY
2186   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2187 fi
2188 AM_BACKSLASH='\'
2189
2190 am__api_version='1.11'
2191
2192 ac_aux_dir=
2193 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2194   if test -f "$ac_dir/install-sh"; then
2195     ac_aux_dir=$ac_dir
2196     ac_install_sh="$ac_aux_dir/install-sh -c"
2197     break
2198   elif test -f "$ac_dir/install.sh"; then
2199     ac_aux_dir=$ac_dir
2200     ac_install_sh="$ac_aux_dir/install.sh -c"
2201     break
2202   elif test -f "$ac_dir/shtool"; then
2203     ac_aux_dir=$ac_dir
2204     ac_install_sh="$ac_aux_dir/shtool install -c"
2205     break
2206   fi
2207 done
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
2210 fi
2211
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.
2219
2220
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
2227 # AIX /bin/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
2240 else
2241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 for as_dir in $PATH
2243 do
2244   IFS=$as_save_IFS
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[\\/]* | \
2251   /usr/ucb/* ) ;;
2252   *)
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
2255     # by default.
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.
2262             :
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.
2266             :
2267           else
2268             rm -rf conftest.one conftest.two conftest.dir
2269             echo one > conftest.one
2270             echo two > conftest.two
2271             mkdir conftest.dir
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
2276             then
2277               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2278               break 3
2279             fi
2280           fi
2281         fi
2282       done
2283     done
2284     ;;
2285 esac
2286
2287   done
2288 IFS=$as_save_IFS
2289
2290 rm -rf conftest.one conftest.two conftest.dir
2291
2292 fi
2293   if test "${ac_cv_path_install+set}" = set; then
2294     INSTALL=$ac_cv_path_install
2295   else
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
2301   fi
2302 fi
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2304 $as_echo "$INSTALL" >&6; }
2305
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}'
2309
2310 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2311
2312 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2313
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; }
2316 # Just in case
2317 sleep 1
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.
2321 am_lf='
2322 '
2323 case `pwd` in
2324   *[\\\"\#\$\&\'\`$am_lf]*)
2325     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2326 esac
2327 case $srcdir in
2328   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2329     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2330 esac
2331
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
2336 # directory).
2337 if (
2338    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2339    if test "$*" = "X"; then
2340       # -L didn't work.
2341       set X `ls -t "$srcdir/configure" conftest.file`
2342    fi
2343    rm -f conftest.file
2344    if test "$*" != "X $srcdir/configure conftest.file" \
2345       && test "$*" != "X conftest.file $srcdir/configure"; then
2346
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
2353    fi
2354
2355    test "$2" = conftest.file
2356    )
2357 then
2358    # Ok.
2359    :
2360 else
2361    as_fn_error $? "newly created file is older than distributed files!
2362 Check your system clock" "$LINENO" 5
2363 fi
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"`
2375
2376 # expand $ac_aux_dir to an absolute path
2377 am_aux_dir=`cd $ac_aux_dir && pwd`
2378
2379 if test x"${MISSING+set}" != xset; then
2380   case $am_aux_dir in
2381   *\ * | *\     *)
2382     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2383   *)
2384     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2385   esac
2386 fi
2387 # Use eval to expand $SHELL
2388 if eval "$MISSING --run true"; then
2389   am_missing_run="$MISSING --run "
2390 else
2391   am_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;}
2394 fi
2395
2396 if test x"${install_sh}" != xset; then
2397   case $am_aux_dir in
2398   *\ * | *\     *)
2399     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2400   *)
2401     install_sh="\${SHELL} $am_aux_dir/install-sh"
2402   esac
2403 fi
2404
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
2417 else
2418   if test -n "$STRIP"; then
2419   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2420 else
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 for as_dir in $PATH
2423 do
2424   IFS=$as_save_IFS
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
2430     break 2
2431   fi
2432 done
2433   done
2434 IFS=$as_save_IFS
2435
2436 fi
2437 fi
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; }
2442 else
2443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2444 $as_echo "no" >&6; }
2445 fi
2446
2447
2448 fi
2449 if test -z "$ac_cv_prog_STRIP"; then
2450   ac_ct_STRIP=$STRIP
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
2457 else
2458   if test -n "$ac_ct_STRIP"; then
2459   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2460 else
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 for as_dir in $PATH
2463 do
2464   IFS=$as_save_IFS
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
2470     break 2
2471   fi
2472 done
2473   done
2474 IFS=$as_save_IFS
2475
2476 fi
2477 fi
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; }
2482 else
2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2485 fi
2486
2487   if test "x$ac_ct_STRIP" = x; then
2488     STRIP=":"
2489   else
2490     case $cross_compiling:$ac_tool_warned in
2491 yes:)
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 ;;
2495 esac
2496     STRIP=$ac_ct_STRIP
2497   fi
2498 else
2499   STRIP="$ac_cv_prog_STRIP"
2500 fi
2501
2502 fi
2503 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2504
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
2510 else
2511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2513 do
2514   IFS=$as_save_IFS
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
2524                break 3;;
2525            esac
2526          done
2527        done
2528   done
2529 IFS=$as_save_IFS
2530
2531 fi
2532
2533   test -d ./--version && rmdir ./--version
2534   if test "${ac_cv_path_mkdir+set}" = set; then
2535     MKDIR_P="$ac_cv_path_mkdir -p"
2536   else
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"
2542   fi
2543 fi
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2545 $as_echo "$MKDIR_P" >&6; }
2546
2547 mkdir_p="$MKDIR_P"
2548 case $mkdir_p in
2549   [\\/$]* | ?:[\\/]*) ;;
2550   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2551 esac
2552
2553 for ac_prog in gawk mawk nawk awk
2554 do
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
2561 else
2562   if test -n "$AWK"; then
2563   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2564 else
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 for as_dir in $PATH
2567 do
2568   IFS=$as_save_IFS
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
2574     break 2
2575   fi
2576 done
2577   done
2578 IFS=$as_save_IFS
2579
2580 fi
2581 fi
2582 AWK=$ac_cv_prog_AWK
2583 if test -n "$AWK"; then
2584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2585 $as_echo "$AWK" >&6; }
2586 else
2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2589 fi
2590
2591
2592   test -n "$AWK" && break
2593 done
2594
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; }
2597 set x ${MAKE-make}
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
2601 else
2602   cat >conftest.make <<\_ACEOF
2603 SHELL = /bin/sh
2604 all:
2605         @echo '@@@%%%=$(MAKE)=@@@%%%'
2606 _ACEOF
2607 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2609   *@@@%%%=?*=@@@%%%*)
2610     eval ac_cv_prog_make_${ac_make}_set=yes;;
2611   *)
2612     eval ac_cv_prog_make_${ac_make}_set=no;;
2613 esac
2614 rm -f conftest.make
2615 fi
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; }
2619   SET_MAKE=
2620 else
2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2623   SET_MAKE="MAKE=${MAKE-make}"
2624 fi
2625
2626 rm -rf .tst 2>/dev/null
2627 mkdir .tst 2>/dev/null
2628 if test -d .tst; then
2629   am__leading_dot=.
2630 else
2631   am__leading_dot=_
2632 fi
2633 rmdir .tst 2>/dev/null
2634
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
2642   fi
2643 fi
2644
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'
2649   else
2650     CYGPATH_W=echo
2651   fi
2652 fi
2653
2654
2655 # Define the identity of the package.
2656  PACKAGE='Kinfold'
2657  VERSION='1.3'
2658
2659
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE "$PACKAGE"
2662 _ACEOF
2663
2664
2665 cat >>confdefs.h <<_ACEOF
2666 #define VERSION "$VERSION"
2667 _ACEOF
2668
2669 # Some tools Automake needs.
2670
2671 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2672
2673
2674 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2675
2676
2677 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2678
2679
2680 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2681
2682
2683 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2684
2685 # We need awk for the "check" target.  The system "awk" is bad on
2686 # some platforms.
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 ...
2689 AMTAR='$${TAR-tar}'
2690
2691 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2692
2693
2694
2695
2696
2697
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; }
2700
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; }
2706
2707 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
2708
2709   LIBS="$LIBS -ldmalloc"
2710   LDFLAGS="$LDFLAGS -g"
2711 else
2712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2714 fi
2715 else
2716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2718 fi
2719
2720
2721
2722 ac_ext=c
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
2734 else
2735   if test -n "$CC"; then
2736   ac_cv_prog_CC="$CC" # Let the user override the test.
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2740 do
2741   IFS=$as_save_IFS
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
2747     break 2
2748   fi
2749 done
2750   done
2751 IFS=$as_save_IFS
2752
2753 fi
2754 fi
2755 CC=$ac_cv_prog_CC
2756 if test -n "$CC"; then
2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2759 else
2760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2762 fi
2763
2764
2765 fi
2766 if test -z "$ac_cv_prog_CC"; then
2767   ac_ct_CC=$CC
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
2774 else
2775   if test -n "$ac_ct_CC"; then
2776   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2777 else
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH
2780 do
2781   IFS=$as_save_IFS
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
2787     break 2
2788   fi
2789 done
2790   done
2791 IFS=$as_save_IFS
2792
2793 fi
2794 fi
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; }
2799 else
2800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2802 fi
2803
2804   if test "x$ac_ct_CC" = x; then
2805     CC=""
2806   else
2807     case $cross_compiling:$ac_tool_warned in
2808 yes:)
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 ;;
2812 esac
2813     CC=$ac_ct_CC
2814   fi
2815 else
2816   CC="$ac_cv_prog_CC"
2817 fi
2818
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
2827 else
2828   if test -n "$CC"; then
2829   ac_cv_prog_CC="$CC" # Let the user override the test.
2830 else
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2833 do
2834   IFS=$as_save_IFS
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
2840     break 2
2841   fi
2842 done
2843   done
2844 IFS=$as_save_IFS
2845
2846 fi
2847 fi
2848 CC=$ac_cv_prog_CC
2849 if test -n "$CC"; then
2850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2852 else
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2855 fi
2856
2857
2858   fi
2859 fi
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
2867 else
2868   if test -n "$CC"; then
2869   ac_cv_prog_CC="$CC" # Let the user override the test.
2870 else
2871   ac_prog_rejected=no
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 for as_dir in $PATH
2874 do
2875   IFS=$as_save_IFS
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
2881        continue
2882      fi
2883     ac_cv_prog_CC="cc"
2884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885     break 2
2886   fi
2887 done
2888   done
2889 IFS=$as_save_IFS
2890
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
2894   shift
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.
2899     shift
2900     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2901   fi
2902 fi
2903 fi
2904 fi
2905 CC=$ac_cv_prog_CC
2906 if test -n "$CC"; then
2907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2909 else
2910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2912 fi
2913
2914
2915 fi
2916 if test -z "$CC"; then
2917   if test -n "$ac_tool_prefix"; then
2918   for ac_prog in cl.exe
2919   do
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
2926 else
2927   if test -n "$CC"; then
2928   ac_cv_prog_CC="$CC" # Let the user override the test.
2929 else
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 for as_dir in $PATH
2932 do
2933   IFS=$as_save_IFS
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
2939     break 2
2940   fi
2941 done
2942   done
2943 IFS=$as_save_IFS
2944
2945 fi
2946 fi
2947 CC=$ac_cv_prog_CC
2948 if test -n "$CC"; then
2949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950 $as_echo "$CC" >&6; }
2951 else
2952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2954 fi
2955
2956
2957     test -n "$CC" && break
2958   done
2959 fi
2960 if test -z "$CC"; then
2961   ac_ct_CC=$CC
2962   for ac_prog in cl.exe
2963 do
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
2970 else
2971   if test -n "$ac_ct_CC"; then
2972   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2973 else
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 for as_dir in $PATH
2976 do
2977   IFS=$as_save_IFS
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
2983     break 2
2984   fi
2985 done
2986   done
2987 IFS=$as_save_IFS
2988
2989 fi
2990 fi
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; }
2995 else
2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
2998 fi
2999
3000
3001   test -n "$ac_ct_CC" && break
3002 done
3003
3004   if test "x$ac_ct_CC" = x; then
3005     CC=""
3006   else
3007     case $cross_compiling:$ac_tool_warned in
3008 yes:)
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 ;;
3012 esac
3013     CC=$ac_ct_CC
3014   fi
3015 fi
3016
3017 fi
3018
3019
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; }
3024
3025 # Provide some information about the compiler.
3026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3027 set X $ac_compile
3028 ac_compiler=$2
3029 for ac_option in --version -v -V -qversion; do
3030   { { ac_try="$ac_compiler $ac_option >&5"
3031 case "(($ac_try" in
3032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033   *) ac_try_echo=$ac_try;;
3034 esac
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
3038   ac_status=$?
3039   if test -s conftest.err; then
3040     sed '10a\
3041 ... rest of stderr output deleted ...
3042          10q' conftest.err >conftest.er1
3043     cat conftest.er1 >&5
3044   fi
3045   rm -f conftest.er1 conftest.err
3046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047   test $ac_status = 0; }
3048 done
3049
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h.  */
3052
3053 int
3054 main ()
3055 {
3056
3057   ;
3058   return 0;
3059 }
3060 _ACEOF
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
3065 # of exeext.
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[^ ]*//'`
3069
3070 # The possible output files:
3071 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3072
3073 ac_rmfiles=
3074 for ac_file in $ac_files
3075 do
3076   case $ac_file in
3077     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3078     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3079   esac
3080 done
3081 rm -f $ac_rmfiles
3082
3083 if { { ac_try="$ac_link_default"
3084 case "(($ac_try" in
3085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086   *) ac_try_echo=$ac_try;;
3087 esac
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
3091   ac_status=$?
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
3098 # Autoconf.
3099 for ac_file in $ac_files ''
3100 do
3101   test -f "$ac_file" || continue
3102   case $ac_file in
3103     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3104         ;;
3105     [ab].out )
3106         # We found the default executable, but exeext='' is most
3107         # certainly right.
3108         break;;
3109     *.* )
3110         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3111         then :; else
3112            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3113         fi
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
3118         # actually working.
3119         break;;
3120     * )
3121         break;;
3122   esac
3123 done
3124 test "$ac_cv_exeext" = no && ac_cv_exeext=
3125
3126 else
3127   ac_file=''
3128 fi
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
3134
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; }
3139 else
3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141 $as_echo "yes" >&6; }
3142 fi
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
3148
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"
3154 case "(($ac_try" in
3155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156   *) ac_try_echo=$ac_try;;
3157 esac
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
3161   ac_status=$?
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
3167 # `rm'.
3168 for ac_file in conftest.exe conftest conftest.*; do
3169   test -f "$ac_file" || continue
3170   case $ac_file in
3171     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3172     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173           break;;
3174     * ) break;;
3175   esac
3176 done
3177 else
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; }
3182 fi
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; }
3186
3187 rm -f conftest.$ac_ext
3188 EXEEXT=$ac_cv_exeext
3189 ac_exeext=$EXEEXT
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h.  */
3192 #include <stdio.h>
3193 int
3194 main ()
3195 {
3196 FILE *f = fopen ("conftest.out", "w");
3197  return ferror (f) || fclose (f) != 0;
3198
3199   ;
3200   return 0;
3201 }
3202 _ACEOF
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"
3210 case "(($ac_try" in
3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212   *) ac_try_echo=$ac_try;;
3213 esac
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
3217   ac_status=$?
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;;
3224 esac
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
3228   ac_status=$?
3229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230   test $ac_status = 0; }; }; then
3231     cross_compiling=no
3232   else
3233     if test "$cross_compiling" = maybe; then
3234         cross_compiling=yes
3235     else
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; }
3241     fi
3242   fi
3243 fi
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3245 $as_echo "$cross_compiling" >&6; }
3246
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
3253 else
3254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h.  */
3256
3257 int
3258 main ()
3259 {
3260
3261   ;
3262   return 0;
3263 }
3264 _ACEOF
3265 rm -f conftest.o conftest.obj
3266 if { { ac_try="$ac_compile"
3267 case "(($ac_try" in
3268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269   *) ac_try_echo=$ac_try;;
3270 esac
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
3274   ac_status=$?
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;
3279   case $ac_file in
3280     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3281     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3282        break;;
3283   esac
3284 done
3285 else
3286   $as_echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3288
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; }
3293 fi
3294 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3295 fi
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
3299 ac_objext=$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
3304 else
3305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h.  */
3307
3308 int
3309 main ()
3310 {
3311 #ifndef __GNUC__
3312        choke me
3313 #endif
3314
3315   ;
3316   return 0;
3317 }
3318 _ACEOF
3319 if ac_fn_c_try_compile "$LINENO"; then :
3320   ac_compiler_gnu=yes
3321 else
3322   ac_compiler_gnu=no
3323 fi
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3325 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3326
3327 fi
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
3331   GCC=yes
3332 else
3333   GCC=
3334 fi
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
3341 else
3342   ac_save_c_werror_flag=$ac_c_werror_flag
3343    ac_c_werror_flag=yes
3344    ac_cv_prog_cc_g=no
3345    CFLAGS="-g"
3346    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h.  */
3348
3349 int
3350 main ()
3351 {
3352
3353   ;
3354   return 0;
3355 }
3356 _ACEOF
3357 if ac_fn_c_try_compile "$LINENO"; then :
3358   ac_cv_prog_cc_g=yes
3359 else
3360   CFLAGS=""
3361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h.  */
3363
3364 int
3365 main ()
3366 {
3367
3368   ;
3369   return 0;
3370 }
3371 _ACEOF
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373
3374 else
3375   ac_c_werror_flag=$ac_save_c_werror_flag
3376          CFLAGS="-g"
3377          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h.  */
3379
3380 int
3381 main ()
3382 {
3383
3384   ;
3385   return 0;
3386 }
3387 _ACEOF
3388 if ac_fn_c_try_compile "$LINENO"; then :
3389   ac_cv_prog_cc_g=yes
3390 fi
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 fi
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 fi
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396    ac_c_werror_flag=$ac_save_c_werror_flag
3397 fi
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
3404     CFLAGS="-g -O2"
3405   else
3406     CFLAGS="-g"
3407   fi
3408 else
3409   if test "$GCC" = yes; then
3410     CFLAGS="-O2"
3411   else
3412     CFLAGS=
3413   fi
3414 fi
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
3419 else
3420   ac_cv_prog_cc_c89=no
3421 ac_save_CC=$CC
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h.  */
3424 #include <stdarg.h>
3425 #include <stdio.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)
3432      char **p;
3433      int i;
3434 {
3435   return p[i];
3436 }
3437 static char *f (char * (*g) (char **, int), char **p, ...)
3438 {
3439   char *s;
3440   va_list v;
3441   va_start (v,p);
3442   s = g (p, va_arg (v,int));
3443   va_end (v);
3444   return s;
3445 }
3446
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];
3455
3456 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3457    inside strings and character constants.  */
3458 #define FOO(x) 'x'
3459 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3460
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);
3465 int argc;
3466 char **argv;
3467 int
3468 main ()
3469 {
3470 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3471   ;
3472   return 0;
3473 }
3474 _ACEOF
3475 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3476         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3477 do
3478   CC="$ac_save_CC $ac_arg"
3479   if ac_fn_c_try_compile "$LINENO"; then :
3480   ac_cv_prog_cc_c89=$ac_arg
3481 fi
3482 rm -f core conftest.err conftest.$ac_objext
3483   test "x$ac_cv_prog_cc_c89" != "xno" && break
3484 done
3485 rm -f conftest.$ac_ext
3486 CC=$ac_save_CC
3487
3488 fi
3489 # AC_CACHE_VAL
3490 case "x$ac_cv_prog_cc_c89" in
3491   x)
3492     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3493 $as_echo "none needed" >&6; } ;;
3494   xno)
3495     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3496 $as_echo "unsupported" >&6; } ;;
3497   *)
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; } ;;
3501 esac
3502 if test "x$ac_cv_prog_cc_c89" != xno; then :
3503
3504 fi
3505
3506 ac_ext=c
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"
3512
3513 ac_config_commands="$ac_config_commands depfiles"
3514
3515
3516 am_make=${MAKE-make}
3517 cat > confinc << 'END'
3518 am__doit:
3519         @echo this is the am__doit target
3520 .PHONY: am__doit
3521 END
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; }
3525 am__include="#"
3526 am__quote=
3527 _am_result=none
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*)
3533   am__include=include
3534   am__quote=
3535   _am_result=GNU
3536   ;;
3537 esac
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
3544      am__quote="\""
3545      _am_result=BSD
3546      ;;
3547    esac
3548 fi
3549
3550
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3552 $as_echo "$_am_result" >&6; }
3553 rm -f confinc confmf
3554
3555 # Check whether --enable-dependency-tracking was given.
3556 if test "${enable_dependency_tracking+set}" = set; then :
3557   enableval=$enable_dependency_tracking;
3558 fi
3559
3560 if test "x$enable_dependency_tracking" != xno; then
3561   am_depcomp="$ac_aux_dir/depcomp"
3562   AMDEPBACKSLASH='\'
3563   am__nodep='_no'
3564 fi
3565  if test "x$enable_dependency_tracking" != xno; then
3566   AMDEP_TRUE=
3567   AMDEP_FALSE='#'
3568 else
3569   AMDEP_TRUE='#'
3570   AMDEP_FALSE=
3571 fi
3572
3573
3574
3575 depcc="$CC"   am_compiler_list=
3576
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
3581 else
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
3587   # in D'.
3588   rm -rf conftest.dir
3589   mkdir conftest.dir
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
3593   cd 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
3599   # directory.
3600   mkdir sub
3601
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`
3605   fi
3606   am__universal=false
3607   case " $depcc " in #(
3608      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3609      esac
3610
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.
3615     #
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.
3619     : > sub/conftest.c
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
3625     done
3626     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3627
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"
3634     case $depmode in
3635     gcc)
3636       # This depmode causes a compiler race in universal mode.
3637       test "$am__universal" = false || continue
3638       ;;
3639     nosideeffect)
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
3643         continue
3644       else
3645         break
3646       fi
3647       ;;
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}
3653       am__minus_obj=
3654       ;;
3655     none) break ;;
3656     esac
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
3676         break
3677       fi
3678     fi
3679   done
3680
3681   cd ..
3682   rm -rf conftest.dir
3683 else
3684   am_cv_CC_dependencies_compiler_type=none
3685 fi
3686
3687 fi
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
3691
3692  if
3693   test "x$enable_dependency_tracking" != xno \
3694   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3695   am__fastdepCC_TRUE=
3696   am__fastdepCC_FALSE='#'
3697 else
3698   am__fastdepCC_TRUE='#'
3699   am__fastdepCC_FALSE=
3700 fi
3701
3702
3703
3704 ac_config_headers="$ac_config_headers config.h"
3705
3706
3707
3708
3709 ISODATE=`date +%Y-%m-%d`
3710
3711
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
3715
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
3720 else
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
3728
3729 fi
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
3733 *-*-*) ;;
3734 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3735 esac
3736 build=$ac_cv_build
3737 ac_save_IFS=$IFS; IFS='-'
3738 set x $ac_cv_build
3739 shift
3740 build_cpu=$1
3741 build_vendor=$2
3742 shift; shift
3743 # Remember, the first character of IFS is used to create $*,
3744 # except with old shells:
3745 build_os=$*
3746 IFS=$ac_save_IFS
3747 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3748
3749
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
3754 else
3755   if test "x$host_alias" = x; then
3756   ac_cv_host=$ac_cv_build
3757 else
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
3760 fi
3761
3762 fi
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3764 $as_echo "$ac_cv_host" >&6; }
3765 case $ac_cv_host in
3766 *-*-*) ;;
3767 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3768 esac
3769 host=$ac_cv_host
3770 ac_save_IFS=$IFS; IFS='-'
3771 set x $ac_cv_host
3772 shift
3773 host_cpu=$1
3774 host_vendor=$2
3775 shift; shift
3776 # Remember, the first character of IFS is used to create $*,
3777 # except with old shells:
3778 host_os=$*
3779 IFS=$ac_save_IFS
3780 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3781
3782
3783
3784
3785 for ac_func in strdup memset strchr
3786 do :
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
3792 _ACEOF
3793
3794 fi
3795 done
3796
3797
3798
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"
3802 fi
3803
3804
3805
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"
3809 fi
3810
3811
3812   OPENMP_CFLAGS=
3813   # Check whether --enable-openmp was given.
3814 if test "${enable_openmp+set}" = set; then :
3815   enableval=$enable_openmp;
3816 fi
3817
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
3823 else
3824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h.  */
3826
3827 #ifndef _OPENMP
3828  choke me
3829 #endif
3830 #include <omp.h>
3831 int main () { return omp_get_num_threads (); }
3832
3833 _ACEOF
3834 if ac_fn_c_try_link "$LINENO"; then :
3835   ac_cv_prog_c_openmp='none needed'
3836 else
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.  */
3843
3844 #ifndef _OPENMP
3845  choke me
3846 #endif
3847 #include <omp.h>
3848 int main () { return omp_get_num_threads (); }
3849
3850 _ACEOF
3851 if ac_fn_c_try_link "$LINENO"; then :
3852   ac_cv_prog_c_openmp=$ac_option
3853 fi
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
3858               break
3859             fi
3860           done
3861 fi
3862 rm -f core conftest.err conftest.$ac_objext \
3863     conftest$ac_exeext conftest.$ac_ext
3864 fi
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)
3869         ;; #(
3870       *)
3871         OPENMP_CFLAGS=$ac_cv_prog_c_openmp ;;
3872     esac
3873   fi
3874
3875
3876
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
3880   for ac_dir in               \
3881     ../H                      \
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 \
3888     ;\
3889   do
3890     if test -r "$ac_dir/part_func.h"; then
3891       ac_VRNA_includes=$ac_dir
3892       break
3893     fi
3894   done
3895 fi
3896 if test $ac_VRNA_includes; then
3897   CPPFLAGS="$CPPFLAGS -I$ac_VRNA_includes"
3898 fi
3899
3900 if [ -d ../lib ] && [ "$ac_VRNA_includes" = "../H" ]; then
3901   ac_VRNA_lib=../lib
3902 fi
3903
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/` \
3906    /usr/local/lib \
3907    ; \
3908 do
3909   for ac_extension in a so sl; do
3910     if test -r $ac_dir/libRNA.$ac_extension; then
3911       ac_VRNA_lib=$ac_dir
3912       break 2
3913     fi
3914   done
3915 done
3916 fi # $ac_VRNA_lib = NO
3917 if test $ac_VRNA_lib; then
3918   LDFLAGS="-L$ac_VRNA_lib $LDFLAGS"
3919 fi
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; }
3922
3923
3924
3925 ac_ext=c
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
3934   CPP=
3935 fi
3936 if test -z "$CPP"; then
3937   if ${ac_cv_prog_CPP+:} false; then :
3938   $as_echo_n "(cached) " >&6
3939 else
3940       # Double quotes because CPP needs to be expanded
3941     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3942     do
3943       ac_preproc_ok=false
3944 for ac_c_preproc_warn_flag in '' yes
3945 do
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.  */
3954 #ifdef __STDC__
3955 # include <limits.h>
3956 #else
3957 # include <assert.h>
3958 #endif
3959                      Syntax error
3960 _ACEOF
3961 if ac_fn_c_try_cpp "$LINENO"; then :
3962
3963 else
3964   # Broken: fails on valid input.
3965 continue
3966 fi
3967 rm -f conftest.err conftest.i conftest.$ac_ext
3968
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>
3974 _ACEOF
3975 if ac_fn_c_try_cpp "$LINENO"; then :
3976   # Broken: success on invalid input.
3977 continue
3978 else
3979   # Passes both tests.
3980 ac_preproc_ok=:
3981 break
3982 fi
3983 rm -f conftest.err conftest.i conftest.$ac_ext
3984
3985 done
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 :
3989   break
3990 fi
3991
3992     done
3993     ac_cv_prog_CPP=$CPP
3994
3995 fi
3996   CPP=$ac_cv_prog_CPP
3997 else
3998   ac_cv_prog_CPP=$CPP
3999 fi
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4001 $as_echo "$CPP" >&6; }
4002 ac_preproc_ok=false
4003 for ac_c_preproc_warn_flag in '' yes
4004 do
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.  */
4013 #ifdef __STDC__
4014 # include <limits.h>
4015 #else
4016 # include <assert.h>
4017 #endif
4018                      Syntax error
4019 _ACEOF
4020 if ac_fn_c_try_cpp "$LINENO"; then :
4021
4022 else
4023   # Broken: fails on valid input.
4024 continue
4025 fi
4026 rm -f conftest.err conftest.i conftest.$ac_ext
4027
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>
4033 _ACEOF
4034 if ac_fn_c_try_cpp "$LINENO"; then :
4035   # Broken: success on invalid input.
4036 continue
4037 else
4038   # Passes both tests.
4039 ac_preproc_ok=:
4040 break
4041 fi
4042 rm -f conftest.err conftest.i conftest.$ac_ext
4043
4044 done
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 :
4048
4049 else
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; }
4054 fi
4055
4056 ac_ext=c
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
4061
4062
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
4067 else
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
4073 do
4074   IFS=$as_save_IFS
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
4083 *GNU*)
4084   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4085 *)
4086   ac_count=0
4087   $as_echo_n 0123456789 >"conftest.in"
4088   while :
4089   do
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
4101     fi
4102     # 10*(2^10) chars as input seems more than enough
4103     test $ac_count -gt 10 && break
4104   done
4105   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4106 esac
4107
4108       $ac_path_GREP_found && break 3
4109     done
4110   done
4111   done
4112 IFS=$as_save_IFS
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
4115   fi
4116 else
4117   ac_cv_path_GREP=$GREP
4118 fi
4119
4120 fi
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"
4124
4125
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
4130 else
4131   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4132    then ac_cv_path_EGREP="$GREP -E"
4133    else
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
4139 do
4140   IFS=$as_save_IFS
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
4149 *GNU*)
4150   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4151 *)
4152   ac_count=0
4153   $as_echo_n 0123456789 >"conftest.in"
4154   while :
4155   do
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
4167     fi
4168     # 10*(2^10) chars as input seems more than enough
4169     test $ac_count -gt 10 && break
4170   done
4171   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4172 esac
4173
4174       $ac_path_EGREP_found && break 3
4175     done
4176   done
4177   done
4178 IFS=$as_save_IFS
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
4181   fi
4182 else
4183   ac_cv_path_EGREP=$EGREP
4184 fi
4185
4186    fi
4187 fi
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"
4191
4192
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
4197 else
4198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h.  */
4200 #include <stdlib.h>
4201 #include <stdarg.h>
4202 #include <string.h>
4203 #include <float.h>
4204
4205 int
4206 main ()
4207 {
4208
4209   ;
4210   return 0;
4211 }
4212 _ACEOF
4213 if ac_fn_c_try_compile "$LINENO"; then :
4214   ac_cv_header_stdc=yes
4215 else
4216   ac_cv_header_stdc=no
4217 fi
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219
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.  */
4224 #include <string.h>
4225
4226 _ACEOF
4227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4228   $EGREP "memchr" >/dev/null 2>&1; then :
4229
4230 else
4231   ac_cv_header_stdc=no
4232 fi
4233 rm -f conftest*
4234
4235 fi
4236
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.  */
4241 #include <stdlib.h>
4242
4243 _ACEOF
4244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4245   $EGREP "free" >/dev/null 2>&1; then :
4246
4247 else
4248   ac_cv_header_stdc=no
4249 fi
4250 rm -f conftest*
4251
4252 fi
4253
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 :
4257   :
4258 else
4259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h.  */
4261 #include <ctype.h>
4262 #include <stdlib.h>
4263 #if ((' ' & 0x0FF) == 0x020)
4264 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4265 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4266 #else
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))
4272 #endif
4273
4274 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4275 int
4276 main ()
4277 {
4278   int i;
4279   for (i = 0; i < 256; i++)
4280     if (XOR (islower (i), ISLOWER (i))
4281         || toupper (i) != TOUPPER (i))
4282       return 2;
4283   return 0;
4284 }
4285 _ACEOF
4286 if ac_fn_c_try_run "$LINENO"; then :
4287
4288 else
4289   ac_cv_header_stdc=no
4290 fi
4291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4292   conftest.$ac_objext conftest.beam conftest.$ac_ext
4293 fi
4294
4295 fi
4296 fi
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
4300
4301 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4302
4303 fi
4304
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
4308 do :
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
4311 "
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
4315 _ACEOF
4316
4317 fi
4318
4319 done
4320
4321
4322 for ac_header in stdlib.h string.h strings.h unistd.h fold.h
4323 do :
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
4329 _ACEOF
4330
4331 fi
4332
4333 done
4334
4335
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
4340 else
4341   ac_check_lib_save_LIBS=$LIBS
4342 LIBS="-lm  $LIBS"
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h.  */
4345
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.  */
4349 #ifdef __cplusplus
4350 extern "C"
4351 #endif
4352 char exp ();
4353 int
4354 main ()
4355 {
4356 return exp ();
4357   ;
4358   return 0;
4359 }
4360 _ACEOF
4361 if ac_fn_c_try_link "$LINENO"; then :
4362   ac_cv_lib_m_exp=yes
4363 else
4364   ac_cv_lib_m_exp=no
4365 fi
4366 rm -f core conftest.err conftest.$ac_objext \
4367     conftest$ac_exeext conftest.$ac_ext
4368 LIBS=$ac_check_lib_save_LIBS
4369 fi
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
4374 #define HAVE_LIBM 1
4375 _ACEOF
4376
4377   LIBS="-lm $LIBS"
4378
4379 fi
4380
4381 for ac_header in stdlib.h
4382 do :
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
4387 _ACEOF
4388
4389 fi
4390
4391 done
4392
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
4397 else
4398   if test "$cross_compiling" = yes; then :
4399   ac_cv_func_malloc_0_nonnull=no
4400 else
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>
4405 #else
4406 char *malloc ();
4407 #endif
4408
4409 int
4410 main ()
4411 {
4412 return ! malloc (0);
4413   ;
4414   return 0;
4415 }
4416 _ACEOF
4417 if ac_fn_c_try_run "$LINENO"; then :
4418   ac_cv_func_malloc_0_nonnull=yes
4419 else
4420   ac_cv_func_malloc_0_nonnull=no
4421 fi
4422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4423   conftest.$ac_objext conftest.beam conftest.$ac_ext
4424 fi
4425
4426 fi
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 :
4430
4431 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4432
4433 else
4434   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4435
4436    case " $LIBOBJS " in
4437   *" malloc.$ac_objext "* ) ;;
4438   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4439  ;;
4440 esac
4441
4442
4443 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4444
4445 fi
4446
4447
4448 for ac_header in stdlib.h
4449 do :
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
4454 _ACEOF
4455
4456 fi
4457
4458 done
4459
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
4464 else
4465   if test "$cross_compiling" = yes; then :
4466   ac_cv_func_realloc_0_nonnull=no
4467 else
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>
4472 #else
4473 char *realloc ();
4474 #endif
4475
4476 int
4477 main ()
4478 {
4479 return ! realloc (0, 0);
4480   ;
4481   return 0;
4482 }
4483 _ACEOF
4484 if ac_fn_c_try_run "$LINENO"; then :
4485   ac_cv_func_realloc_0_nonnull=yes
4486 else
4487   ac_cv_func_realloc_0_nonnull=no
4488 fi
4489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4490   conftest.$ac_objext conftest.beam conftest.$ac_ext
4491 fi
4492
4493 fi
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 :
4497
4498 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4499
4500 else
4501   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4502
4503    case " $LIBOBJS " in
4504   *" realloc.$ac_objext "* ) ;;
4505   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4506  ;;
4507 esac
4508
4509
4510 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4511
4512 fi
4513
4514
4515
4516 LIBS="-lRNA ${LIBS}"
4517
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
4522 else
4523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h.  */
4525
4526 int
4527 main ()
4528 {
4529 /* FIXME: Include the comments suggested by Paul. */
4530 #ifndef __cplusplus
4531   /* Ultrix mips cc rejects this.  */
4532   typedef int charset[2];
4533   const charset cs;
4534   /* SunOS 4.1.1 cc rejects this.  */
4535   char const *const *pcpcc;
4536   char **ppc;
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
4543      expression */
4544   const char *g = "string";
4545   pcpcc = &g + (g ? g-g : 0);
4546   /* HPUX 7.0 cc rejects these. */
4547   ++pcpcc;
4548   ppc = (char**) pcpcc;
4549   pcpcc = (char const *const *) ppc;
4550   { /* SCO 3.2v4 cc rejects this.  */
4551     char *t;
4552     char const *s = 0 ? (char *) 0 : (char const *) 0;
4553
4554     *t++ = 0;
4555     if (s) return 0;
4556   }
4557   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4558     int x[] = {25, 17};
4559     const int *foo = &x[0];
4560     ++foo;
4561   }
4562   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4563     typedef const int *iptr;
4564     iptr p = 0;
4565     ++p;
4566   }
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;
4571   }
4572   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4573     const int foo = 10;
4574     if (!foo) return 0;
4575   }
4576   return !cs[0] && !zero.x;
4577 #endif
4578
4579   ;
4580   return 0;
4581 }
4582 _ACEOF
4583 if ac_fn_c_try_compile "$LINENO"; then :
4584   ac_cv_c_const=yes
4585 else
4586   ac_cv_c_const=no
4587 fi
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 fi
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
4593
4594 $as_echo "#define const /**/" >>confdefs.h
4595
4596 fi
4597
4598
4599 ac_config_files="$ac_config_files Example/Makefile Makefile"
4600
4601
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.
4608 #
4609 # config.status only pays attention to the cache file if you give it
4610 # the --recheck option to rerun configure.
4611 #
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
4614 # following values.
4615
4616 _ACEOF
4617
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.
4623 (
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
4626     case $ac_val in #(
4627     *${as_nl}*)
4628       case $ac_var in #(
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;} ;;
4631       esac
4632       case $ac_var in #(
4633       _ | IFS | as_nl) ;; #(
4634       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4635       *) { eval $ac_var=; unset $ac_var;} ;;
4636       esac ;;
4637     esac
4638   done
4639
4640   (set) 2>&1 |
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 \.
4645       sed -n \
4646         "s/'/'\\\\''/g;
4647           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4648       ;; #(
4649     *)
4650       # `set' quotes correctly as required by POSIX, so do not add quotes.
4651       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4652       ;;
4653     esac |
4654     sort
4655 ) |
4656   sed '
4657      /^ac_cv_env_/b end
4658      t clear
4659      :clear
4660      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4661      t end
4662      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4663      :end' >>confcache
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"
4671       else
4672         case $cache_file in #(
4673         */* | ?:*)
4674           mv -f confcache "$cache_file"$$ &&
4675           mv -f "$cache_file"$$ "$cache_file" ;; #(
4676         *)
4677           mv -f confcache "$cache_file" ;;
4678         esac
4679       fi
4680     fi
4681   else
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;}
4684   fi
4685 fi
4686 rm -f confcache
4687
4688 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4689 # Let make expand exec_prefix.
4690 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4691
4692 DEFS=-DHAVE_CONFIG_H
4693
4694 ac_libobjs=
4695 ac_ltlibobjs=
4696 U=
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'
4705 done
4706 LIBOBJS=$ac_libobjs
4707
4708 LTLIBOBJS=$ac_ltlibobjs
4709
4710
4711  if test -n "$EXEEXT"; then
4712   am__EXEEXT_TRUE=
4713   am__EXEEXT_FALSE='#'
4714 else
4715   am__EXEEXT_TRUE='#'
4716   am__EXEEXT_FALSE=
4717 fi
4718
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
4722 fi
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
4726 fi
4727
4728 : "${CONFIG_STATUS=./config.status}"
4729 ac_write_fail=0
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;}
4734 as_write_fail=0
4735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4736 #! $SHELL
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.
4741
4742 debug=false
4743 ac_cs_recheck=false
4744 ac_cs_silent=false
4745
4746 SHELL=\${CONFIG_SHELL-$SHELL}
4747 export SHELL
4748 _ASEOF
4749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4750 ## -------------------- ##
4751 ## M4sh Initialization. ##
4752 ## -------------------- ##
4753
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 :
4757   emulate sh
4758   NULLCMD=:
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
4763 else
4764   case `(set -o) 2>/dev/null` in #(
4765   *posix*) :
4766     set -o posix ;; #(
4767   *) :
4768      ;;
4769 esac
4770 fi
4771
4772
4773 as_nl='
4774 '
4775 export as_nl
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'
4789 else
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'
4793   else
4794     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4795     as_echo_n_body='eval
4796       arg=$1;
4797       case $arg in #(
4798       *"$as_nl"*)
4799         expr "X$arg" : "X\\(.*\\)$as_nl";
4800         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4801       esac;
4802       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4803     '
4804     export as_echo_n_body
4805     as_echo_n='sh -c $as_echo_n_body as_echo'
4806   fi
4807   export as_echo_body
4808   as_echo='sh -c $as_echo_body as_echo'
4809 fi
4810
4811 # The user is always right.
4812 if test "${PATH_SEPARATOR+set}" != set; then
4813   PATH_SEPARATOR=:
4814   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4815     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4816       PATH_SEPARATOR=';'
4817   }
4818 fi
4819
4820
4821 # IFS
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.)
4826 IFS=" ""        $as_nl"
4827
4828 # Find who we are.  Look in the path if we contain no directory separator.
4829 as_myself=
4830 case $0 in #((
4831   *[\\/]* ) as_myself=$0 ;;
4832   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH
4834 do
4835   IFS=$as_save_IFS
4836   test -z "$as_dir" && as_dir=.
4837     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4838   done
4839 IFS=$as_save_IFS
4840
4841      ;;
4842 esac
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
4846   as_myself=$0
4847 fi
4848 if test ! -f "$as_myself"; then
4849   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4850   exit 1
4851 fi
4852
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 || :
4860 done
4861 PS1='$ '
4862 PS2='> '
4863 PS4='+ '
4864
4865 # NLS nuisances.
4866 LC_ALL=C
4867 export LC_ALL
4868 LANGUAGE=C
4869 export LANGUAGE
4870
4871 # CDPATH.
4872 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4873
4874
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.
4880 as_fn_error ()
4881 {
4882   as_status=$1; test $as_status -eq 0 && as_status=1
4883   if test "$4"; then
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
4886   fi
4887   $as_echo "$as_me: error: $2" >&2
4888   as_fn_exit $as_status
4889 } # as_fn_error
4890
4891
4892 # as_fn_set_status STATUS
4893 # -----------------------
4894 # Set $? to STATUS, without forking.
4895 as_fn_set_status ()
4896 {
4897   return $1
4898 } # as_fn_set_status
4899
4900 # as_fn_exit STATUS
4901 # -----------------
4902 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4903 as_fn_exit ()
4904 {
4905   set +e
4906   as_fn_set_status $1
4907   exit $1
4908 } # as_fn_exit
4909
4910 # as_fn_unset VAR
4911 # ---------------
4912 # Portably unset VAR.
4913 as_fn_unset ()
4914 {
4915   { eval $1=; unset $1;}
4916 }
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
4923 # implementations.
4924 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4925   eval 'as_fn_append ()
4926   {
4927     eval $1+=\$2
4928   }'
4929 else
4930   as_fn_append ()
4931   {
4932     eval $1=\$$1\$2
4933   }
4934 fi # as_fn_append
4935
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 ()
4943   {
4944     as_val=$(( $* ))
4945   }'
4946 else
4947   as_fn_arith ()
4948   {
4949     as_val=`expr "$@" || test $? -eq 1`
4950   }
4951 fi # as_fn_arith
4952
4953
4954 if expr a : '\(a\)' >/dev/null 2>&1 &&
4955    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4956   as_expr=expr
4957 else
4958   as_expr=false
4959 fi
4960
4961 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4962   as_basename=basename
4963 else
4964   as_basename=false
4965 fi
4966
4967 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4968   as_dirname=dirname
4969 else
4970   as_dirname=false
4971 fi
4972
4973 as_me=`$as_basename -- "$0" ||
4974 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4975          X"$0" : 'X\(//\)$' \| \
4976          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4977 $as_echo X/"$0" |
4978     sed '/^.*\/\([^/][^/]*\)\/*$/{
4979             s//\1/
4980             q
4981           }
4982           /^X\/\(\/\/\)$/{
4983             s//\1/
4984             q
4985           }
4986           /^X\/\(\/\).*/{
4987             s//\1/
4988             q
4989           }
4990           s/.*/./; q'`
4991
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
4998
4999 ECHO_C= ECHO_N= ECHO_T=
5000 case `echo -n x` in #(((((
5001 -n*)
5002   case `echo 'xy\c'` in
5003   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5004   xy)  ECHO_C='\c';;
5005   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5006        ECHO_T=' ';;
5007   esac;;
5008 *)
5009   ECHO_N='-n';;
5010 esac
5011
5012 rm -f conf$$ conf$$.exe conf$$.file
5013 if test -d conf$$.dir; then
5014   rm -f conf$$.dir/conf$$.file
5015 else
5016   rm -f conf$$.dir
5017   mkdir conf$$.dir 2>/dev/null
5018 fi
5019 if (echo >conf$$.file) 2>/dev/null; then
5020   if ln -s conf$$.file conf$$ 2>/dev/null; then
5021     as_ln_s='ln -s'
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 ||
5027       as_ln_s='cp -p'
5028   elif ln conf$$.file conf$$ 2>/dev/null; then
5029     as_ln_s=ln
5030   else
5031     as_ln_s='cp -p'
5032   fi
5033 else
5034   as_ln_s='cp -p'
5035 fi
5036 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5037 rmdir conf$$.dir 2>/dev/null
5038
5039
5040 # as_fn_mkdir_p
5041 # -------------
5042 # Create "$as_dir" as a directory, including parents if necessary.
5043 as_fn_mkdir_p ()
5044 {
5045
5046   case $as_dir in #(
5047   -*) as_dir=./$as_dir;;
5048   esac
5049   test -d "$as_dir" || eval $as_mkdir_p || {
5050     as_dirs=
5051     while :; do
5052       case $as_dir in #(
5053       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5054       *) as_qdir=$as_dir;;
5055       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5064             s//\1/
5065             q
5066           }
5067           /^X\(\/\/\)[^/].*/{
5068             s//\1/
5069             q
5070           }
5071           /^X\(\/\/\)$/{
5072             s//\1/
5073             q
5074           }
5075           /^X\(\/\).*/{
5076             s//\1/
5077             q
5078           }
5079           s/.*/./; q'`
5080       test -d "$as_dir" && break
5081     done
5082     test -z "$as_dirs" || eval "mkdir $as_dirs"
5083   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5084
5085
5086 } # as_fn_mkdir_p
5087 if mkdir -p . 2>/dev/null; then
5088   as_mkdir_p='mkdir -p "$as_dir"'
5089 else
5090   test -d ./-p && rmdir ./-p
5091   as_mkdir_p=false
5092 fi
5093
5094 if test -x / >/dev/null 2>&1; then
5095   as_test_x='test -x'
5096 else
5097   if ls -dL / >/dev/null 2>&1; then
5098     as_ls_L_option=L
5099   else
5100     as_ls_L_option=
5101   fi
5102   as_test_x='
5103     eval sh -c '\''
5104       if test -d "$1"; then
5105         test -d "$1/.";
5106       else
5107         case $1 in #(
5108         -*)set "./$1";;
5109         esac;
5110         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5111         ???[sx]*):;;*)false;;esac;fi
5112     '\'' sh
5113   '
5114 fi
5115 as_executable_p=$as_test_x
5116
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'"
5119
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'"
5122
5123
5124 exec 6>&1
5125 ## ----------------------------------- ##
5126 ## Main body of $CONFIG_STATUS script. ##
5127 ## ----------------------------------- ##
5128 _ASEOF
5129 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5130
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.
5135 ac_log="
5136 This file was extended by kinfold $as_me 1.3, which was
5137 generated by GNU Autoconf 2.68.  Invocation command line was
5138
5139   CONFIG_FILES    = $CONFIG_FILES
5140   CONFIG_HEADERS  = $CONFIG_HEADERS
5141   CONFIG_LINKS    = $CONFIG_LINKS
5142   CONFIG_COMMANDS = $CONFIG_COMMANDS
5143   $ $0 $@
5144
5145 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5146 "
5147
5148 _ACEOF
5149
5150 case $ac_config_files in *"
5151 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5152 esac
5153
5154 case $ac_config_headers in *"
5155 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5156 esac
5157
5158
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"
5164
5165 _ACEOF
5166
5167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5168 ac_cs_usage="\
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.
5172
5173 Usage: $0 [OPTION]... [TAG]...
5174
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
5186
5187 Configuration files:
5188 $config_files
5189
5190 Configuration headers:
5191 $config_headers
5192
5193 Configuration commands:
5194 $config_commands
5195
5196 Report bugs to <rna@tbi.univie.ac.at>."
5197
5198 _ACEOF
5199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5200 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5201 ac_cs_version="\\
5202 kinfold config.status 1.3
5203 configured by $0, generated by GNU Autoconf 2.68,
5204   with options \\"\$ac_cs_config\\"
5205
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."
5209
5210 ac_pwd='$ac_pwd'
5211 srcdir='$srcdir'
5212 INSTALL='$INSTALL'
5213 MKDIR_P='$MKDIR_P'
5214 AWK='$AWK'
5215 test -n "\$AWK" || AWK=awk
5216 _ACEOF
5217
5218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5219 # The default lists apply if the user does not specify any file.
5220 ac_need_defaults=:
5221 while test $# != 0
5222 do
5223   case $1 in
5224   --*=?*)
5225     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5226     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5227     ac_shift=:
5228     ;;
5229   --*=)
5230     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5231     ac_optarg=
5232     ac_shift=:
5233     ;;
5234   *)
5235     ac_option=$1
5236     ac_optarg=$2
5237     ac_shift=shift
5238     ;;
5239   esac
5240
5241   case $ac_option in
5242   # Handling of the options.
5243   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5244     ac_cs_recheck=: ;;
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 )
5250     debug=: ;;
5251   --file | --fil | --fi | --f )
5252     $ac_shift
5253     case $ac_optarg in
5254     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5255     '') as_fn_error $? "missing file argument" ;;
5256     esac
5257     as_fn_append CONFIG_FILES " '$ac_optarg'"
5258     ac_need_defaults=false;;
5259   --header | --heade | --head | --hea )
5260     $ac_shift
5261     case $ac_optarg in
5262     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5263     esac
5264     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5265     ac_need_defaults=false;;
5266   --he | --h)
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)
5274     ac_cs_silent=: ;;
5275
5276   # This is an error.
5277   -*) as_fn_error $? "unrecognized option: \`$1'
5278 Try \`$0 --help' for more information." ;;
5279
5280   *) as_fn_append ac_config_targets " $1"
5281      ac_need_defaults=false ;;
5282
5283   esac
5284   shift
5285 done
5286
5287 ac_configure_extra_args=
5288
5289 if $ac_cs_silent; then
5290   exec 6>/dev/null
5291   ac_configure_extra_args="$ac_configure_extra_args --silent"
5292 fi
5293
5294 _ACEOF
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
5298   shift
5299   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5300   CONFIG_SHELL='$SHELL'
5301   export CONFIG_SHELL
5302   exec "\$@"
5303 fi
5304
5305 _ACEOF
5306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5307 exec 5>>config.log
5308 {
5309   echo
5310   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5311 ## Running $as_me. ##
5312 _ASBOX
5313   $as_echo "$ac_log"
5314 } >&5
5315
5316 _ACEOF
5317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5318 #
5319 # INIT-COMMANDS
5320 #
5321 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5322
5323 _ACEOF
5324
5325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5326
5327 # Handling of arguments.
5328 for ac_config_target in $ac_config_targets
5329 do
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" ;;
5335
5336   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5337   esac
5338 done
5339
5340
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
5349 fi
5350
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'.
5357 $debug ||
5358 {
5359   tmp= ac_tmp=
5360   trap 'exit_status=$?
5361   : "${ac_tmp:=$tmp}"
5362   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5363 ' 0
5364   trap 'as_fn_exit 1' 1 2 13 15
5365 }
5366 # Create a (secure) tmp directory for tmp files.
5367
5368 {
5369   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5370   test -d "$tmp"
5371 }  ||
5372 {
5373   tmp=./conf$$-$RANDOM
5374   (umask 077 && mkdir "$tmp")
5375 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5376 ac_tmp=$tmp
5377
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
5382
5383
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\'
5390 fi
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
5393   ac_cs_awk_cr='\\r'
5394 else
5395   ac_cs_awk_cr=$ac_cr
5396 fi
5397
5398 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5399 _ACEOF
5400
5401
5402 {
5403   echo "cat >conf$$subs.awk <<_ACEOF" &&
5404   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5405   echo "_ACEOF"
5406 } >conf$$subs.sh ||
5407   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5408 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5409 ac_delim='%!_!# '
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
5413
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
5416     break
5417   elif $ac_last_try; then
5418     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5419   else
5420     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5421   fi
5422 done
5423 rm -f conf$$subs.sh
5424
5425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5426 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5427 _ACEOF
5428 sed -n '
5429 h
5430 s/^/S["/; s/!.*/"]=/
5431 p
5432 g
5433 s/^[^!]*!//
5434 :repl
5435 t repl
5436 s/'"$ac_delim"'$//
5437 t delim
5438 :nl
5439 h
5440 s/\(.\{148\}\)..*/\1/
5441 t more1
5442 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5443 p
5444 n
5445 b repl
5446 :more1
5447 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5448 p
5449 g
5450 s/.\{148\}//
5451 t nl
5452 :delim
5453 h
5454 s/\(.\{148\}\)..*/\1/
5455 t more2
5456 s/["\\]/\\&/g; s/^/"/; s/$/"/
5457 p
5458 b
5459 :more2
5460 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5461 p
5462 g
5463 s/.\{148\}//
5464 t delim
5465 ' <conf$$subs.awk | sed '
5466 /^[^""]/{
5467   N
5468   s/\n//
5469 }
5470 ' >>$CONFIG_STATUS || ac_write_fail=1
5471 rm -f conf$$subs.awk
5472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5473 _ACAWK
5474 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5475   for (key in S) S_is_set[key] = 1
5476   FS = "\a"
5477
5478 }
5479 {
5480   line = $ 0
5481   nfields = split(line, field, "@")
5482   substed = 0
5483   len = length(field[1])
5484   for (i = 2; i < nfields; i++) {
5485     key = field[i]
5486     keylen = length(key)
5487     if (S_is_set[key]) {
5488       value = S[key]
5489       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5490       len += length(value) + length(field[++i])
5491       substed = 1
5492     } else
5493       len += 1 + keylen
5494   }
5495
5496   print line
5497 }
5498
5499 _ACAWK
5500 _ACEOF
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"
5504 else
5505   cat
5506 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5507   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5508 _ACEOF
5509
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[        ]*=[    ]*/{
5516 h
5517 s///
5518 s/^/:/
5519 s/[      ]*$/:/
5520 s/:\$(srcdir):/:/g
5521 s/:\${srcdir}:/:/g
5522 s/:@srcdir@:/:/g
5523 s/^:*//
5524 s/:*$//
5525 x
5526 s/\(=[   ]*\).*/\1/
5527 G
5528 s/\n//
5529 s/^[^=]*=[       ]*$//
5530 }'
5531 fi
5532
5533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5534 fi # test -n "$CONFIG_FILES"
5535
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 ||
5541 BEGIN {
5542 _ACEOF
5543
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.
5547
5548 # Create a delimiter string that does not exist in confdefs.h, to ease
5549 # handling of long lines.
5550 ac_delim='%!_!# '
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
5554     break
5555   elif $ac_last_try; then
5556     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5557   else
5558     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5559   fi
5560 done
5561
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.
5565
5566 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5567 sed -n '
5568 s/.\{148\}/&'"$ac_delim"'/g
5569 t rset
5570 :rset
5571 s/^[     ]*#[    ]*define[       ][      ]*/ /
5572 t def
5573 d
5574 :def
5575 s/\\$//
5576 t bsnl
5577 s/["\\]/\\&/g
5578 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5579 D["\1"]=" \3"/p
5580 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5581 d
5582 :bsnl
5583 s/["\\]/\\&/g
5584 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5585 D["\1"]=" \3\\\\\\n"\\/p
5586 t cont
5587 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5588 t cont
5589 d
5590 :cont
5591 n
5592 s/.\{148\}/&'"$ac_delim"'/g
5593 t clear
5594 :clear
5595 s/\\$//
5596 t bsnlc
5597 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5598 d
5599 :bsnlc
5600 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5601 b cont
5602 ' <confdefs.h | sed '
5603 s/'"$ac_delim"'/"\\\
5604 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5605
5606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5607   for (key in D) D_is_set[key] = 1
5608   FS = "\a"
5609 }
5610 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5611   line = \$ 0
5612   split(line, arg, " ")
5613   if (arg[1] == "#") {
5614     defundef = arg[2]
5615     mac1 = arg[3]
5616   } else {
5617     defundef = substr(arg[1], 2)
5618     mac1 = arg[2]
5619   }
5620   split(mac1, mac2, "(") #)
5621   macro = mac2[1]
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]
5626     next
5627   } else {
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, "*/"
5633       next
5634     }
5635   }
5636 }
5637 { print }
5638 _ACAWK
5639 _ACEOF
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"
5643
5644
5645 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5646 shift
5647 for ac_tag
5648 do
5649   case $ac_tag in
5650   :[FHLC]) ac_mode=$ac_tag; continue;;
5651   esac
5652   case $ac_mode$ac_tag in
5653   :[FHL]*:*);;
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;;
5657   esac
5658   ac_save_IFS=$IFS
5659   IFS=:
5660   set x $ac_tag
5661   IFS=$ac_save_IFS
5662   shift
5663   ac_file=$1
5664   shift
5665
5666   case $ac_mode in
5667   :L) ac_source=$1;;
5668   :[FH])
5669     ac_file_inputs=
5670     for ac_f
5671     do
5672       case $ac_f 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 `:'.
5677          test -f "$ac_f" ||
5678            case $ac_f in
5679            [\\/$]*) false;;
5680            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5681            esac ||
5682            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5683       esac
5684       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5685       as_fn_append ac_file_inputs " '$ac_f'"
5686     done
5687
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'
5693         `' by configure.'
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;}
5698     fi
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;;
5705     esac
5706
5707     case $ac_tag in
5708     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5709       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5710     esac
5711     ;;
5712   esac
5713
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5721             s//\1/
5722             q
5723           }
5724           /^X\(\/\/\)[^/].*/{
5725             s//\1/
5726             q
5727           }
5728           /^X\(\/\/\)$/{
5729             s//\1/
5730             q
5731           }
5732           /^X\(\/\).*/{
5733             s//\1/
5734             q
5735           }
5736           s/.*/./; q'`
5737   as_dir="$ac_dir"; as_fn_mkdir_p
5738   ac_builddir=.
5739
5740 case "$ac_dir" in
5741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5742 *)
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/ ;;
5749   esac ;;
5750 esac
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
5755
5756 case $srcdir in
5757   .)  # We are building in place.
5758     ac_srcdir=.
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 ;;
5765   *) # Relative name.
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 ;;
5769 esac
5770 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5771
5772
5773   case $ac_mode in
5774   :F)
5775   #
5776   # CONFIG_FILE
5777   #
5778
5779   case $INSTALL in
5780   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5781   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5782   esac
5783   ac_MKDIR_P=$MKDIR_P
5784   case $MKDIR_P in
5785   [\\/$]* | ?:[\\/]* ) ;;
5786   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5787   esac
5788 _ACEOF
5789
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=
5794 ac_sed_dataroot='
5795 /datarootdir/ {
5796   p
5797   q
5798 }
5799 /@datadir@/p
5800 /@docdir@/p
5801 /@infodir@/p
5802 /@localedir@/p
5803 /@mandir@/p'
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;}
5809 _ACEOF
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' ;;
5818 esac
5819 _ACEOF
5820
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
5826 $extrasub
5827 _ACEOF
5828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5829 :t
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
5844 "
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
5847
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;}
5856
5857   rm -f "$ac_tmp/stdin"
5858   case $ac_file in
5859   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5860   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5861   esac \
5862   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5863  ;;
5864   :H)
5865   #
5866   # CONFIG_HEADER
5867   #
5868   if test x"$ac_file" != x-; then
5869     {
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;}
5877     else
5878       rm -f "$ac_file"
5879       mv "$ac_tmp/config.h" "$ac_file" \
5880         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5881     fi
5882   else
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
5886   fi
5887 # Compute "$ac_file"'s index in $config_headers.
5888 _am_arg="$ac_file"
5889 _am_stamp_count=1
5890 for _am_header in $config_headers :; do
5891   case $_am_header in
5892     $_am_arg | $_am_arg:* )
5893       break ;;
5894     * )
5895       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5896   esac
5897 done
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5905             s//\1/
5906             q
5907           }
5908           /^X\(\/\/\)[^/].*/{
5909             s//\1/
5910             q
5911           }
5912           /^X\(\/\/\)$/{
5913             s//\1/
5914             q
5915           }
5916           /^X\(\/\).*/{
5917             s//\1/
5918             q
5919           }
5920           s/.*/./; q'`/stamp-h$_am_stamp_count
5921  ;;
5922
5923   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5924 $as_echo "$as_me: executing $ac_file commands" >&6;}
5925  ;;
5926   esac
5927
5928
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 ;;
5937   esac
5938   shift
5939   for mf
5940   do
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 ||
5956 $as_echo X"$mf" |
5957     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5958             s//\1/
5959             q
5960           }
5961           /^X\(\/\/\)[^/].*/{
5962             s//\1/
5963             q
5964           }
5965           /^X\(\/\/\)$/{
5966             s//\1/
5967             q
5968           }
5969           /^X\(\/\).*/{
5970             s//\1/
5971             q
5972           }
5973           s/.*/./; q'`
5974     else
5975       continue
5976     fi
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
5989     # expansion.
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 ||
6000 $as_echo X"$file" |
6001     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6002             s//\1/
6003             q
6004           }
6005           /^X\(\/\/\)[^/].*/{
6006             s//\1/
6007             q
6008           }
6009           /^X\(\/\/\)$/{
6010             s//\1/
6011             q
6012           }
6013           /^X\(\/\).*/{
6014             s//\1/
6015             q
6016           }
6017           s/.*/./; q'`
6018       as_dir=$dirpart/$fdir; as_fn_mkdir_p
6019       # echo "creating $dirpart/$file"
6020       echo '# dummy' > "$dirpart/$file"
6021     done
6022   done
6023 }
6024  ;;
6025
6026   esac
6027 done # for ac_tag
6028
6029
6030 as_fn_exit 0
6031 _ACEOF
6032 ac_clean_files=$ac_clean_files_save
6033
6034 test $ac_write_fail = 0 ||
6035   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6036
6037
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
6047   ac_cs_success=:
6048   ac_config_status_args=
6049   test "$silent" = yes &&
6050     ac_config_status_args="$ac_config_status_args --quiet"
6051   exec 5>/dev/null
6052   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6053   exec 5>>config.log
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
6057 fi
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;}
6061 fi
6062