Replace binaries with one compatible with the dundee cluster
[jabaws.git] / binaries / src / ViennaRNA / RNAforester / configure
1 #! /bin/sh
2 # From configure.ac Revision: 1.13 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for RNAforester 1.5.
5 #
6 # Report bugs to <mhoechsm@techfak.uni-bielefeld.de>.
7 #
8 #
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # Foundation, Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23   emulate sh
24   NULLCMD=:
25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26   # is contrary to our usage.  Disable this feature.
27   alias -g '${1+"$@"}'='"$@"'
28   setopt NO_GLOB_SUBST
29 else
30   case `(set -o) 2>/dev/null` in #(
31   *posix*) :
32     set -o posix ;; #(
33   *) :
34      ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='print -r --'
51   as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53   as_echo='printf %s\n'
54   as_echo_n='printf %s'
55 else
56   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58     as_echo_n='/usr/ucb/echo -n'
59   else
60     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61     as_echo_n_body='eval
62       arg=$1;
63       case $arg in #(
64       *"$as_nl"*)
65         expr "X$arg" : "X\\(.*\\)$as_nl";
66         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67       esac;
68       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69     '
70     export as_echo_n_body
71     as_echo_n='sh -c $as_echo_n_body as_echo'
72   fi
73   export as_echo_body
74   as_echo='sh -c $as_echo_body as_echo'
75 fi
76
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
79   PATH_SEPARATOR=:
80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82       PATH_SEPARATOR=';'
83   }
84 fi
85
86
87 # IFS
88 # We need space, tab and new line, in precisely that order.  Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
92 IFS=" ""        $as_nl"
93
94 # Find who we are.  Look in the path if we contain no directory separator.
95 as_myself=
96 case $0 in #((
97   *[\\/]* ) as_myself=$0 ;;
98   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 for as_dir in $PATH
100 do
101   IFS=$as_save_IFS
102   test -z "$as_dir" && as_dir=.
103     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104   done
105 IFS=$as_save_IFS
106
107      ;;
108 esac
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
112   as_myself=$0
113 fi
114 if test ! -f "$as_myself"; then
115   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116   exit 1
117 fi
118
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there.  '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126 done
127 PS1='$ '
128 PS2='> '
129 PS4='+ '
130
131 # NLS nuisances.
132 LC_ALL=C
133 export LC_ALL
134 LANGUAGE=C
135 export LANGUAGE
136
137 # CDPATH.
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
140 if test "x$CONFIG_SHELL" = x; then
141   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142   emulate sh
143   NULLCMD=:
144   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145   # is contrary to our usage.  Disable this feature.
146   alias -g '\${1+\"\$@\"}'='\"\$@\"'
147   setopt NO_GLOB_SUBST
148 else
149   case \`(set -o) 2>/dev/null\` in #(
150   *posix*) :
151     set -o posix ;; #(
152   *) :
153      ;;
154 esac
155 fi
156 "
157   as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
162
163 exitcode=0
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
170 else
171   exitcode=1; echo positional parameters were not saved.
172 fi
173 test x\$exitcode = x0 || exit 1"
174   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179   if (eval "$as_required") 2>/dev/null; then :
180   as_have_required=yes
181 else
182   as_have_required=no
183 fi
184   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
186 else
187   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 as_found=false
189 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 do
191   IFS=$as_save_IFS
192   test -z "$as_dir" && as_dir=.
193   as_found=:
194   case $as_dir in #(
195          /*)
196            for as_base in sh bash ksh sh5; do
197              # Try only shells that exist, to save several forks.
198              as_shell=$as_dir/$as_base
199              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   CONFIG_SHELL=$as_shell as_have_required=yes
202                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   break 2
204 fi
205 fi
206            done;;
207        esac
208   as_found=false
209 done
210 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212   CONFIG_SHELL=$SHELL as_have_required=yes
213 fi; }
214 IFS=$as_save_IFS
215
216
217       if test "x$CONFIG_SHELL" != x; then :
218   # We cannot yet assume a decent shell, so we have to provide a
219         # neutralization value for shells without unset; and this also
220         # works around shells that cannot unset nonexistent variables.
221         # Preserve -v and -x to the replacement shell.
222         BASH_ENV=/dev/null
223         ENV=/dev/null
224         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225         export CONFIG_SHELL
226         case $- in # ((((
227           *v*x* | *x*v* ) as_opts=-vx ;;
228           *v* ) as_opts=-v ;;
229           *x* ) as_opts=-x ;;
230           * ) as_opts= ;;
231         esac
232         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
233 fi
234
235     if test x$as_have_required = xno; then :
236   $as_echo "$0: This script requires a shell more modern than all"
237   $as_echo "$0: the shells that I found on your system."
238   if test x${ZSH_VERSION+set} = xset ; then
239     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241   else
242     $as_echo "$0: Please tell bug-autoconf@gnu.org and
243 $0: mhoechsm@techfak.uni-bielefeld.de about your system,
244 $0: including any error possibly output before this
245 $0: message. Then install a modern shell, or manually run
246 $0: the script under such a shell if you do have one."
247   fi
248   exit 1
249 fi
250 fi
251 fi
252 SHELL=${CONFIG_SHELL-/bin/sh}
253 export SHELL
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
257
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
261 # as_fn_unset VAR
262 # ---------------
263 # Portably unset VAR.
264 as_fn_unset ()
265 {
266   { eval $1=; unset $1;}
267 }
268 as_unset=as_fn_unset
269
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
273 as_fn_set_status ()
274 {
275   return $1
276 } # as_fn_set_status
277
278 # as_fn_exit STATUS
279 # -----------------
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 as_fn_exit ()
282 {
283   set +e
284   as_fn_set_status $1
285   exit $1
286 } # as_fn_exit
287
288 # as_fn_mkdir_p
289 # -------------
290 # Create "$as_dir" as a directory, including parents if necessary.
291 as_fn_mkdir_p ()
292 {
293
294   case $as_dir in #(
295   -*) as_dir=./$as_dir;;
296   esac
297   test -d "$as_dir" || eval $as_mkdir_p || {
298     as_dirs=
299     while :; do
300       case $as_dir in #(
301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302       *) as_qdir=$as_dir;;
303       esac
304       as_dirs="'$as_qdir' $as_dirs"
305       as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307          X"$as_dir" : 'X\(//\)[^/]' \| \
308          X"$as_dir" : 'X\(//\)$' \| \
309          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\/\)[^/].*/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\).*/{
324             s//\1/
325             q
326           }
327           s/.*/./; q'`
328       test -d "$as_dir" && break
329     done
330     test -z "$as_dirs" || eval "mkdir $as_dirs"
331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332
333
334 } # as_fn_mkdir_p
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
340 # implementations.
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342   eval 'as_fn_append ()
343   {
344     eval $1+=\$2
345   }'
346 else
347   as_fn_append ()
348   {
349     eval $1=\$$1\$2
350   }
351 fi # as_fn_append
352
353 # as_fn_arith ARG...
354 # ------------------
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359   eval 'as_fn_arith ()
360   {
361     as_val=$(( $* ))
362   }'
363 else
364   as_fn_arith ()
365   {
366     as_val=`expr "$@" || test $? -eq 1`
367   }
368 fi # as_fn_arith
369
370
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
376 as_fn_error ()
377 {
378   as_status=$1; test $as_status -eq 0 && as_status=1
379   if test "$4"; then
380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382   fi
383   $as_echo "$as_me: error: $2" >&2
384   as_fn_exit $as_status
385 } # as_fn_error
386
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
389   as_expr=expr
390 else
391   as_expr=false
392 fi
393
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395   as_basename=basename
396 else
397   as_basename=false
398 fi
399
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401   as_dirname=dirname
402 else
403   as_dirname=false
404 fi
405
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408          X"$0" : 'X\(//\)$' \| \
409          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 $as_echo X/"$0" |
411     sed '/^.*\/\([^/][^/]*\)\/*$/{
412             s//\1/
413             q
414           }
415           /^X\/\(\/\/\)$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\).*/{
420             s//\1/
421             q
422           }
423           s/.*/./; q'`
424
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456   # Don't try to exec as it changes $[0], causing all sort of problems
457   # (the dirname of $[0] is not the place where we might find the
458   # original and so on.  Autoconf is especially sensitive to this).
459   . "./$as_me.lineno"
460   # Exit status is that of the last command.
461   exit
462 }
463
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
466 -n*)
467   case `echo 'xy\c'` in
468   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
469   xy)  ECHO_C='\c';;
470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471        ECHO_T=' ';;
472   esac;;
473 *)
474   ECHO_N='-n';;
475 esac
476
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479   rm -f conf$$.dir/conf$$.file
480 else
481   rm -f conf$$.dir
482   mkdir conf$$.dir 2>/dev/null
483 fi
484 if (echo >conf$$.file) 2>/dev/null; then
485   if ln -s conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s='ln -s'
487     # ... but there are two gotchas:
488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490     # In both cases, we have to default to `cp -p'.
491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492       as_ln_s='cp -p'
493   elif ln conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s=ln
495   else
496     as_ln_s='cp -p'
497   fi
498 else
499   as_ln_s='cp -p'
500 fi
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
503
504 if mkdir -p . 2>/dev/null; then
505   as_mkdir_p='mkdir -p "$as_dir"'
506 else
507   test -d ./-p && rmdir ./-p
508   as_mkdir_p=false
509 fi
510
511 if test -x / >/dev/null 2>&1; then
512   as_test_x='test -x'
513 else
514   if ls -dL / >/dev/null 2>&1; then
515     as_ls_L_option=L
516   else
517     as_ls_L_option=
518   fi
519   as_test_x='
520     eval sh -c '\''
521       if test -d "$1"; then
522         test -d "$1/.";
523       else
524         case $1 in #(
525         -*)set "./$1";;
526         esac;
527         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528         ???[sx]*):;;*)false;;esac;fi
529     '\'' sh
530   '
531 fi
532 as_executable_p=$as_test_x
533
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540
541 test -n "$DJDIR" || exec 7<&0 </dev/null
542 exec 6>&1
543
544 # Name of the host.
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
549 #
550 # Initializations.
551 #
552 ac_default_prefix=/usr/local
553 ac_clean_files=
554 ac_config_libobj_dir=.
555 LIBOBJS=
556 cross_compiling=no
557 subdirs=
558 MFLAGS=
559 MAKEFLAGS=
560
561 # Identity of this package.
562 PACKAGE_NAME='RNAforester'
563 PACKAGE_TARNAME='RNAforester'
564 PACKAGE_VERSION='1.5'
565 PACKAGE_STRING='RNAforester 1.5'
566 PACKAGE_BUGREPORT='mhoechsm@techfak.uni-bielefeld.de'
567 PACKAGE_URL=''
568
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 enable_option_checking=no
606 ac_subst_vars='am__EXEEXT_FALSE
607 am__EXEEXT_TRUE
608 LTLIBOBJS
609 LIBOBJS
610 subdirs
611 EGREP
612 GREP
613 CXXCPP
614 OPENMP_CXXFLAGS
615 am__fastdepCC_FALSE
616 am__fastdepCC_TRUE
617 CCDEPMODE
618 ac_ct_CC
619 CFLAGS
620 CC
621 am__fastdepCXX_FALSE
622 am__fastdepCXX_TRUE
623 CXXDEPMODE
624 am__nodep
625 AMDEPBACKSLASH
626 AMDEP_FALSE
627 AMDEP_TRUE
628 am__quote
629 am__include
630 DEPDIR
631 OBJEXT
632 EXEEXT
633 ac_ct_CXX
634 CPPFLAGS
635 LDFLAGS
636 CXXFLAGS
637 CXX
638 am__untar
639 am__tar
640 AMTAR
641 am__leading_dot
642 SET_MAKE
643 AWK
644 mkdir_p
645 MKDIR_P
646 INSTALL_STRIP_PROGRAM
647 STRIP
648 install_sh
649 MAKEINFO
650 AUTOHEADER
651 AUTOMAKE
652 AUTOCONF
653 ACLOCAL
654 VERSION
655 PACKAGE
656 CYGPATH_W
657 am__isrc
658 INSTALL_DATA
659 INSTALL_SCRIPT
660 INSTALL_PROGRAM
661 AM_BACKSLASH
662 AM_DEFAULT_VERBOSITY
663 AM_DEFAULT_V
664 AM_V
665 target_alias
666 host_alias
667 build_alias
668 LIBS
669 ECHO_T
670 ECHO_N
671 ECHO_C
672 DEFS
673 mandir
674 localedir
675 libdir
676 psdir
677 pdfdir
678 dvidir
679 htmldir
680 infodir
681 docdir
682 oldincludedir
683 includedir
684 localstatedir
685 sharedstatedir
686 sysconfdir
687 datadir
688 datarootdir
689 libexecdir
690 sbindir
691 bindir
692 program_transform_name
693 prefix
694 exec_prefix
695 PACKAGE_URL
696 PACKAGE_BUGREPORT
697 PACKAGE_STRING
698 PACKAGE_VERSION
699 PACKAGE_TARNAME
700 PACKAGE_NAME
701 PATH_SEPARATOR
702 SHELL'
703 ac_subst_files=''
704 ac_user_opts='
705 enable_option_checking
706 enable_silent_rules
707 enable_dependency_tracking
708 enable_openmp
709 with_ViennaRNA_lib
710 with_xml2_lib
711 with_xmlplusplus_lib
712 '
713       ac_precious_vars='build_alias
714 host_alias
715 target_alias
716 CXX
717 CXXFLAGS
718 LDFLAGS
719 LIBS
720 CPPFLAGS
721 CCC
722 CC
723 CFLAGS
724 CXXCPP'
725 ac_subdirs_all='g2-0.70'
726
727 # Initialize some variables set by options.
728 ac_init_help=
729 ac_init_version=false
730 ac_unrecognized_opts=
731 ac_unrecognized_sep=
732 # The variables have the same names as the options, with
733 # dashes changed to underlines.
734 cache_file=/dev/null
735 exec_prefix=NONE
736 no_create=
737 no_recursion=
738 prefix=NONE
739 program_prefix=NONE
740 program_suffix=NONE
741 program_transform_name=s,x,x,
742 silent=
743 site=
744 srcdir=
745 verbose=
746 x_includes=NONE
747 x_libraries=NONE
748
749 # Installation directory options.
750 # These are left unexpanded so users can "make install exec_prefix=/foo"
751 # and all the variables that are supposed to be based on exec_prefix
752 # by default will actually change.
753 # Use braces instead of parens because sh, perl, etc. also accept them.
754 # (The list follows the same order as the GNU Coding Standards.)
755 bindir='${exec_prefix}/bin'
756 sbindir='${exec_prefix}/sbin'
757 libexecdir='${exec_prefix}/libexec'
758 datarootdir='${prefix}/share'
759 datadir='${datarootdir}'
760 sysconfdir='${prefix}/etc'
761 sharedstatedir='${prefix}/com'
762 localstatedir='${prefix}/var'
763 includedir='${prefix}/include'
764 oldincludedir='/usr/include'
765 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
766 infodir='${datarootdir}/info'
767 htmldir='${docdir}'
768 dvidir='${docdir}'
769 pdfdir='${docdir}'
770 psdir='${docdir}'
771 libdir='${exec_prefix}/lib'
772 localedir='${datarootdir}/locale'
773 mandir='${datarootdir}/man'
774
775 ac_prev=
776 ac_dashdash=
777 for ac_option
778 do
779   # If the previous option needs an argument, assign it.
780   if test -n "$ac_prev"; then
781     eval $ac_prev=\$ac_option
782     ac_prev=
783     continue
784   fi
785
786   case $ac_option in
787   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788   *=)   ac_optarg= ;;
789   *)    ac_optarg=yes ;;
790   esac
791
792   # Accept the important Cygnus configure options, so we can diagnose typos.
793
794   case $ac_dashdash$ac_option in
795   --)
796     ac_dashdash=yes ;;
797
798   -bindir | --bindir | --bindi | --bind | --bin | --bi)
799     ac_prev=bindir ;;
800   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
801     bindir=$ac_optarg ;;
802
803   -build | --build | --buil | --bui | --bu)
804     ac_prev=build_alias ;;
805   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
806     build_alias=$ac_optarg ;;
807
808   -cache-file | --cache-file | --cache-fil | --cache-fi \
809   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
810     ac_prev=cache_file ;;
811   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
812   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
813     cache_file=$ac_optarg ;;
814
815   --config-cache | -C)
816     cache_file=config.cache ;;
817
818   -datadir | --datadir | --datadi | --datad)
819     ac_prev=datadir ;;
820   -datadir=* | --datadir=* | --datadi=* | --datad=*)
821     datadir=$ac_optarg ;;
822
823   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
824   | --dataroo | --dataro | --datar)
825     ac_prev=datarootdir ;;
826   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
827   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
828     datarootdir=$ac_optarg ;;
829
830   -disable-* | --disable-*)
831     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
832     # Reject names that are not valid shell variable names.
833     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834       as_fn_error $? "invalid feature name: $ac_useropt"
835     ac_useropt_orig=$ac_useropt
836     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837     case $ac_user_opts in
838       *"
839 "enable_$ac_useropt"
840 "*) ;;
841       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
842          ac_unrecognized_sep=', ';;
843     esac
844     eval enable_$ac_useropt=no ;;
845
846   -docdir | --docdir | --docdi | --doc | --do)
847     ac_prev=docdir ;;
848   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849     docdir=$ac_optarg ;;
850
851   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
852     ac_prev=dvidir ;;
853   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854     dvidir=$ac_optarg ;;
855
856   -enable-* | --enable-*)
857     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858     # Reject names that are not valid shell variable names.
859     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860       as_fn_error $? "invalid feature name: $ac_useropt"
861     ac_useropt_orig=$ac_useropt
862     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863     case $ac_user_opts in
864       *"
865 "enable_$ac_useropt"
866 "*) ;;
867       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
868          ac_unrecognized_sep=', ';;
869     esac
870     eval enable_$ac_useropt=\$ac_optarg ;;
871
872   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
873   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
874   | --exec | --exe | --ex)
875     ac_prev=exec_prefix ;;
876   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
877   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
878   | --exec=* | --exe=* | --ex=*)
879     exec_prefix=$ac_optarg ;;
880
881   -gas | --gas | --ga | --g)
882     # Obsolete; use --with-gas.
883     with_gas=yes ;;
884
885   -help | --help | --hel | --he | -h)
886     ac_init_help=long ;;
887   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
888     ac_init_help=recursive ;;
889   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
890     ac_init_help=short ;;
891
892   -host | --host | --hos | --ho)
893     ac_prev=host_alias ;;
894   -host=* | --host=* | --hos=* | --ho=*)
895     host_alias=$ac_optarg ;;
896
897   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
898     ac_prev=htmldir ;;
899   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
900   | --ht=*)
901     htmldir=$ac_optarg ;;
902
903   -includedir | --includedir | --includedi | --included | --include \
904   | --includ | --inclu | --incl | --inc)
905     ac_prev=includedir ;;
906   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
907   | --includ=* | --inclu=* | --incl=* | --inc=*)
908     includedir=$ac_optarg ;;
909
910   -infodir | --infodir | --infodi | --infod | --info | --inf)
911     ac_prev=infodir ;;
912   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
913     infodir=$ac_optarg ;;
914
915   -libdir | --libdir | --libdi | --libd)
916     ac_prev=libdir ;;
917   -libdir=* | --libdir=* | --libdi=* | --libd=*)
918     libdir=$ac_optarg ;;
919
920   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
921   | --libexe | --libex | --libe)
922     ac_prev=libexecdir ;;
923   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
924   | --libexe=* | --libex=* | --libe=*)
925     libexecdir=$ac_optarg ;;
926
927   -localedir | --localedir | --localedi | --localed | --locale)
928     ac_prev=localedir ;;
929   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
930     localedir=$ac_optarg ;;
931
932   -localstatedir | --localstatedir | --localstatedi | --localstated \
933   | --localstate | --localstat | --localsta | --localst | --locals)
934     ac_prev=localstatedir ;;
935   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
936   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
937     localstatedir=$ac_optarg ;;
938
939   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
940     ac_prev=mandir ;;
941   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
942     mandir=$ac_optarg ;;
943
944   -nfp | --nfp | --nf)
945     # Obsolete; use --without-fp.
946     with_fp=no ;;
947
948   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
949   | --no-cr | --no-c | -n)
950     no_create=yes ;;
951
952   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
953   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
954     no_recursion=yes ;;
955
956   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
957   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
958   | --oldin | --oldi | --old | --ol | --o)
959     ac_prev=oldincludedir ;;
960   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
961   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
962   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
963     oldincludedir=$ac_optarg ;;
964
965   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
966     ac_prev=prefix ;;
967   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
968     prefix=$ac_optarg ;;
969
970   -program-prefix | --program-prefix | --program-prefi | --program-pref \
971   | --program-pre | --program-pr | --program-p)
972     ac_prev=program_prefix ;;
973   -program-prefix=* | --program-prefix=* | --program-prefi=* \
974   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
975     program_prefix=$ac_optarg ;;
976
977   -program-suffix | --program-suffix | --program-suffi | --program-suff \
978   | --program-suf | --program-su | --program-s)
979     ac_prev=program_suffix ;;
980   -program-suffix=* | --program-suffix=* | --program-suffi=* \
981   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
982     program_suffix=$ac_optarg ;;
983
984   -program-transform-name | --program-transform-name \
985   | --program-transform-nam | --program-transform-na \
986   | --program-transform-n | --program-transform- \
987   | --program-transform | --program-transfor \
988   | --program-transfo | --program-transf \
989   | --program-trans | --program-tran \
990   | --progr-tra | --program-tr | --program-t)
991     ac_prev=program_transform_name ;;
992   -program-transform-name=* | --program-transform-name=* \
993   | --program-transform-nam=* | --program-transform-na=* \
994   | --program-transform-n=* | --program-transform-=* \
995   | --program-transform=* | --program-transfor=* \
996   | --program-transfo=* | --program-transf=* \
997   | --program-trans=* | --program-tran=* \
998   | --progr-tra=* | --program-tr=* | --program-t=*)
999     program_transform_name=$ac_optarg ;;
1000
1001   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1002     ac_prev=pdfdir ;;
1003   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1004     pdfdir=$ac_optarg ;;
1005
1006   -psdir | --psdir | --psdi | --psd | --ps)
1007     ac_prev=psdir ;;
1008   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1009     psdir=$ac_optarg ;;
1010
1011   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012   | -silent | --silent | --silen | --sile | --sil)
1013     silent=yes ;;
1014
1015   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1016     ac_prev=sbindir ;;
1017   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1018   | --sbi=* | --sb=*)
1019     sbindir=$ac_optarg ;;
1020
1021   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1022   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1023   | --sharedst | --shareds | --shared | --share | --shar \
1024   | --sha | --sh)
1025     ac_prev=sharedstatedir ;;
1026   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1027   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1028   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1029   | --sha=* | --sh=*)
1030     sharedstatedir=$ac_optarg ;;
1031
1032   -site | --site | --sit)
1033     ac_prev=site ;;
1034   -site=* | --site=* | --sit=*)
1035     site=$ac_optarg ;;
1036
1037   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1038     ac_prev=srcdir ;;
1039   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1040     srcdir=$ac_optarg ;;
1041
1042   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1043   | --syscon | --sysco | --sysc | --sys | --sy)
1044     ac_prev=sysconfdir ;;
1045   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1046   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1047     sysconfdir=$ac_optarg ;;
1048
1049   -target | --target | --targe | --targ | --tar | --ta | --t)
1050     ac_prev=target_alias ;;
1051   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1052     target_alias=$ac_optarg ;;
1053
1054   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1055     verbose=yes ;;
1056
1057   -version | --version | --versio | --versi | --vers | -V)
1058     ac_init_version=: ;;
1059
1060   -with-* | --with-*)
1061     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1062     # Reject names that are not valid shell variable names.
1063     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064       as_fn_error $? "invalid package name: $ac_useropt"
1065     ac_useropt_orig=$ac_useropt
1066     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067     case $ac_user_opts in
1068       *"
1069 "with_$ac_useropt"
1070 "*) ;;
1071       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1072          ac_unrecognized_sep=', ';;
1073     esac
1074     eval with_$ac_useropt=\$ac_optarg ;;
1075
1076   -without-* | --without-*)
1077     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1078     # Reject names that are not valid shell variable names.
1079     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080       as_fn_error $? "invalid package name: $ac_useropt"
1081     ac_useropt_orig=$ac_useropt
1082     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083     case $ac_user_opts in
1084       *"
1085 "with_$ac_useropt"
1086 "*) ;;
1087       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1088          ac_unrecognized_sep=', ';;
1089     esac
1090     eval with_$ac_useropt=no ;;
1091
1092   --x)
1093     # Obsolete; use --with-x.
1094     with_x=yes ;;
1095
1096   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1097   | --x-incl | --x-inc | --x-in | --x-i)
1098     ac_prev=x_includes ;;
1099   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1100   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1101     x_includes=$ac_optarg ;;
1102
1103   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1104   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1105     ac_prev=x_libraries ;;
1106   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1107   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1108     x_libraries=$ac_optarg ;;
1109
1110   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1111 Try \`$0 --help' for more information"
1112     ;;
1113
1114   *=*)
1115     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1116     # Reject names that are not valid shell variable names.
1117     case $ac_envvar in #(
1118       '' | [0-9]* | *[!_$as_cr_alnum]* )
1119       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1120     esac
1121     eval $ac_envvar=\$ac_optarg
1122     export $ac_envvar ;;
1123
1124   *)
1125     # FIXME: should be removed in autoconf 3.0.
1126     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1127     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1128       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1129     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1130     ;;
1131
1132   esac
1133 done
1134
1135 if test -n "$ac_prev"; then
1136   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1137   as_fn_error $? "missing argument to $ac_option"
1138 fi
1139
1140 if test -n "$ac_unrecognized_opts"; then
1141   case $enable_option_checking in
1142     no) ;;
1143     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1144     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1145   esac
1146 fi
1147
1148 # Check all directory arguments for consistency.
1149 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1150                 datadir sysconfdir sharedstatedir localstatedir includedir \
1151                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1152                 libdir localedir mandir
1153 do
1154   eval ac_val=\$$ac_var
1155   # Remove trailing slashes.
1156   case $ac_val in
1157     */ )
1158       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1159       eval $ac_var=\$ac_val;;
1160   esac
1161   # Be sure to have absolute directory names.
1162   case $ac_val in
1163     [\\/$]* | ?:[\\/]* )  continue;;
1164     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1165   esac
1166   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1167 done
1168
1169 # There might be people who depend on the old broken behavior: `$host'
1170 # used to hold the argument of --host etc.
1171 # FIXME: To remove some day.
1172 build=$build_alias
1173 host=$host_alias
1174 target=$target_alias
1175
1176 # FIXME: To remove some day.
1177 if test "x$host_alias" != x; then
1178   if test "x$build_alias" = x; then
1179     cross_compiling=maybe
1180     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1181     If a cross compiler is detected then cross compile mode will be used" >&2
1182   elif test "x$build_alias" != "x$host_alias"; then
1183     cross_compiling=yes
1184   fi
1185 fi
1186
1187 ac_tool_prefix=
1188 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1189
1190 test "$silent" = yes && exec 6>/dev/null
1191
1192
1193 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1194 ac_ls_di=`ls -di .` &&
1195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1196   as_fn_error $? "working directory cannot be determined"
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198   as_fn_error $? "pwd does not report name of working directory"
1199
1200
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203   ac_srcdir_defaulted=yes
1204   # Try the directory containing this script, then the parent directory.
1205   ac_confdir=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207          X"$as_myself" : 'X\(//\)[^/]' \| \
1208          X"$as_myself" : 'X\(//\)$' \| \
1209          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212             s//\1/
1213             q
1214           }
1215           /^X\(\/\/\)[^/].*/{
1216             s//\1/
1217             q
1218           }
1219           /^X\(\/\/\)$/{
1220             s//\1/
1221             q
1222           }
1223           /^X\(\/\).*/{
1224             s//\1/
1225             q
1226           }
1227           s/.*/./; q'`
1228   srcdir=$ac_confdir
1229   if test ! -r "$srcdir/$ac_unique_file"; then
1230     srcdir=..
1231   fi
1232 else
1233   ac_srcdir_defaulted=no
1234 fi
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1238 fi
1239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1240 ac_abs_confdir=`(
1241         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1242         pwd)`
1243 # When building in place, set srcdir=.
1244 if test "$ac_abs_confdir" = "$ac_pwd"; then
1245   srcdir=.
1246 fi
1247 # Remove unnecessary trailing slashes from srcdir.
1248 # Double slashes in file names in object file debugging info
1249 # mess up M-x gdb in Emacs.
1250 case $srcdir in
1251 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1252 esac
1253 for ac_var in $ac_precious_vars; do
1254   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1255   eval ac_env_${ac_var}_value=\$${ac_var}
1256   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1257   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1258 done
1259
1260 #
1261 # Report the --help message.
1262 #
1263 if test "$ac_init_help" = "long"; then
1264   # Omit some internal or obsolete options to make the list less imposing.
1265   # This message is too long to be a string in the A/UX 3.1 sh.
1266   cat <<_ACEOF
1267 \`configure' configures RNAforester 1.5 to adapt to many kinds of systems.
1268
1269 Usage: $0 [OPTION]... [VAR=VALUE]...
1270
1271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1272 VAR=VALUE.  See below for descriptions of some of the useful variables.
1273
1274 Defaults for the options are specified in brackets.
1275
1276 Configuration:
1277   -h, --help              display this help and exit
1278       --help=short        display options specific to this package
1279       --help=recursive    display the short help of all the included packages
1280   -V, --version           display version information and exit
1281   -q, --quiet, --silent   do not print \`checking ...' messages
1282       --cache-file=FILE   cache test results in FILE [disabled]
1283   -C, --config-cache      alias for \`--cache-file=config.cache'
1284   -n, --no-create         do not create output files
1285       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1286
1287 Installation directories:
1288   --prefix=PREFIX         install architecture-independent files in PREFIX
1289                           [$ac_default_prefix]
1290   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1291                           [PREFIX]
1292
1293 By default, \`make install' will install all the files in
1294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1296 for instance \`--prefix=\$HOME'.
1297
1298 For better control, use the options below.
1299
1300 Fine tuning of the installation directories:
1301   --bindir=DIR            user executables [EPREFIX/bin]
1302   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1303   --libexecdir=DIR        program executables [EPREFIX/libexec]
1304   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1305   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1306   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1307   --libdir=DIR            object code libraries [EPREFIX/lib]
1308   --includedir=DIR        C header files [PREFIX/include]
1309   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1310   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1311   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1312   --infodir=DIR           info documentation [DATAROOTDIR/info]
1313   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1314   --mandir=DIR            man documentation [DATAROOTDIR/man]
1315   --docdir=DIR            documentation root [DATAROOTDIR/doc/RNAforester]
1316   --htmldir=DIR           html documentation [DOCDIR]
1317   --dvidir=DIR            dvi documentation [DOCDIR]
1318   --pdfdir=DIR            pdf documentation [DOCDIR]
1319   --psdir=DIR             ps documentation [DOCDIR]
1320 _ACEOF
1321
1322   cat <<\_ACEOF
1323
1324 Program names:
1325   --program-prefix=PREFIX            prepend PREFIX to installed program names
1326   --program-suffix=SUFFIX            append SUFFIX to installed program names
1327   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1328 _ACEOF
1329 fi
1330
1331 if test -n "$ac_init_help"; then
1332   case $ac_init_help in
1333      short | recursive ) echo "Configuration of RNAforester 1.5:";;
1334    esac
1335   cat <<\_ACEOF
1336
1337 Optional Features:
1338   --disable-option-checking  ignore unrecognized --enable/--with options
1339   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1340   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1341   --enable-silent-rules          less verbose build output (undo: `make V=1')
1342   --disable-silent-rules         verbose build output (undo: `make V=0')
1343   --disable-dependency-tracking  speeds up one-time build
1344   --enable-dependency-tracking   do not reject slow dependency extractors
1345   --disable-openmp        do not use OpenMP
1346
1347 Optional Packages:
1348   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1349   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1350 --with-ViennaRNA-lib        where to search for libRNA.a
1351   --with-xml2-lib         where to search for libxml2.so
1352   --with-xmlplusplus-lib  where to search for libxml++-1.0.so
1353
1354 Some influential environment variables:
1355   CXX         C++ compiler command
1356   CXXFLAGS    C++ compiler flags
1357   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1358               nonstandard directory <lib dir>
1359   LIBS        libraries to pass to the linker, e.g. -l<library>
1360   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1361               you have headers in a nonstandard directory <include dir>
1362   CC          C compiler command
1363   CFLAGS      C compiler flags
1364   CXXCPP      C++ preprocessor
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 <mhoechsm@techfak.uni-bielefeld.de>.
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 RNAforester configure 1.5
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_cxx_try_compile LINENO
1447 # ----------------------------
1448 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1449 ac_fn_cxx_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_cxx_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_cxx_try_compile
1483
1484 # ac_fn_c_try_compile LINENO
1485 # --------------------------
1486 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1487 ac_fn_c_try_compile ()
1488 {
1489   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490   rm -f conftest.$ac_objext
1491   if { { ac_try="$ac_compile"
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_compile") 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_objext; then :
1510   ac_retval=0
1511 else
1512   $as_echo "$as_me: failed program was:" >&5
1513 sed 's/^/| /' conftest.$ac_ext >&5
1514
1515         ac_retval=1
1516 fi
1517   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1518   as_fn_set_status $ac_retval
1519
1520 } # ac_fn_c_try_compile
1521
1522 # ac_fn_cxx_try_link LINENO
1523 # -------------------------
1524 # Try to link conftest.$ac_ext, and return whether this succeeded.
1525 ac_fn_cxx_try_link ()
1526 {
1527   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1528   rm -f conftest.$ac_objext conftest$ac_exeext
1529   if { { ac_try="$ac_link"
1530 case "(($ac_try" in
1531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1532   *) ac_try_echo=$ac_try;;
1533 esac
1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1535 $as_echo "$ac_try_echo"; } >&5
1536   (eval "$ac_link") 2>conftest.err
1537   ac_status=$?
1538   if test -s conftest.err; then
1539     grep -v '^ *+' conftest.err >conftest.er1
1540     cat conftest.er1 >&5
1541     mv -f conftest.er1 conftest.err
1542   fi
1543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1544   test $ac_status = 0; } && {
1545          test -z "$ac_cxx_werror_flag" ||
1546          test ! -s conftest.err
1547        } && test -s conftest$ac_exeext && {
1548          test "$cross_compiling" = yes ||
1549          $as_test_x conftest$ac_exeext
1550        }; then :
1551   ac_retval=0
1552 else
1553   $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1555
1556         ac_retval=1
1557 fi
1558   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1559   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1560   # interfere with the next link command; also delete a directory that is
1561   # left behind by Apple's compiler.  We do this before executing the actions.
1562   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1563   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564   as_fn_set_status $ac_retval
1565
1566 } # ac_fn_cxx_try_link
1567
1568 # ac_fn_cxx_try_cpp LINENO
1569 # ------------------------
1570 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1571 ac_fn_cxx_try_cpp ()
1572 {
1573   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574   if { { ac_try="$ac_cpp conftest.$ac_ext"
1575 case "(($ac_try" in
1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577   *) ac_try_echo=$ac_try;;
1578 esac
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1582   ac_status=$?
1583   if test -s conftest.err; then
1584     grep -v '^ *+' conftest.err >conftest.er1
1585     cat conftest.er1 >&5
1586     mv -f conftest.er1 conftest.err
1587   fi
1588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589   test $ac_status = 0; } > conftest.i && {
1590          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1591          test ! -s conftest.err
1592        }; then :
1593   ac_retval=0
1594 else
1595   $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1597
1598     ac_retval=1
1599 fi
1600   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601   as_fn_set_status $ac_retval
1602
1603 } # ac_fn_cxx_try_cpp
1604
1605 # ac_fn_cxx_try_run LINENO
1606 # ------------------------
1607 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1608 # that executables *can* be run.
1609 ac_fn_cxx_try_run ()
1610 {
1611   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612   if { { ac_try="$ac_link"
1613 case "(($ac_try" in
1614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615   *) ac_try_echo=$ac_try;;
1616 esac
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619   (eval "$ac_link") 2>&5
1620   ac_status=$?
1621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1623   { { case "(($ac_try" in
1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625   *) ac_try_echo=$ac_try;;
1626 esac
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629   (eval "$ac_try") 2>&5
1630   ac_status=$?
1631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632   test $ac_status = 0; }; }; then :
1633   ac_retval=0
1634 else
1635   $as_echo "$as_me: program exited with status $ac_status" >&5
1636        $as_echo "$as_me: failed program was:" >&5
1637 sed 's/^/| /' conftest.$ac_ext >&5
1638
1639        ac_retval=$ac_status
1640 fi
1641   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1642   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643   as_fn_set_status $ac_retval
1644
1645 } # ac_fn_cxx_try_run
1646
1647 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1648 # ---------------------------------------------------------
1649 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1650 # the include files in INCLUDES and setting the cache variable VAR
1651 # accordingly.
1652 ac_fn_cxx_check_header_mongrel ()
1653 {
1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655   if eval \${$3+:} false; then :
1656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657 $as_echo_n "checking for $2... " >&6; }
1658 if eval \${$3+:} false; then :
1659   $as_echo_n "(cached) " >&6
1660 fi
1661 eval ac_res=\$$3
1662                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1664 else
1665   # Is the header compilable?
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1667 $as_echo_n "checking $2 usability... " >&6; }
1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1669 /* end confdefs.h.  */
1670 $4
1671 #include <$2>
1672 _ACEOF
1673 if ac_fn_cxx_try_compile "$LINENO"; then :
1674   ac_header_compiler=yes
1675 else
1676   ac_header_compiler=no
1677 fi
1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1680 $as_echo "$ac_header_compiler" >&6; }
1681
1682 # Is the header present?
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1684 $as_echo_n "checking $2 presence... " >&6; }
1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h.  */
1687 #include <$2>
1688 _ACEOF
1689 if ac_fn_cxx_try_cpp "$LINENO"; then :
1690   ac_header_preproc=yes
1691 else
1692   ac_header_preproc=no
1693 fi
1694 rm -f conftest.err conftest.i conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1696 $as_echo "$ac_header_preproc" >&6; }
1697
1698 # So?  What about this header?
1699 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1700   yes:no: )
1701     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1702 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1703     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1705     ;;
1706   no:yes:* )
1707     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1708 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1709     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1710 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1711     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1712 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1713     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1714 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1715     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1717 ( $as_echo "## ------------------------------------------------ ##
1718 ## Report this to mhoechsm@techfak.uni-bielefeld.de ##
1719 ## ------------------------------------------------ ##"
1720      ) | sed "s/^/$as_me: WARNING:     /" >&2
1721     ;;
1722 esac
1723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1724 $as_echo_n "checking for $2... " >&6; }
1725 if eval \${$3+:} false; then :
1726   $as_echo_n "(cached) " >&6
1727 else
1728   eval "$3=\$ac_header_compiler"
1729 fi
1730 eval ac_res=\$$3
1731                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732 $as_echo "$ac_res" >&6; }
1733 fi
1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735
1736 } # ac_fn_cxx_check_header_mongrel
1737
1738 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1739 # ---------------------------------------------------------
1740 # Tests whether HEADER exists and can be compiled using the include files in
1741 # INCLUDES, setting the cache variable VAR accordingly.
1742 ac_fn_cxx_check_header_compile ()
1743 {
1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 $as_echo_n "checking for $2... " >&6; }
1747 if eval \${$3+:} false; then :
1748   $as_echo_n "(cached) " >&6
1749 else
1750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h.  */
1752 $4
1753 #include <$2>
1754 _ACEOF
1755 if ac_fn_cxx_try_compile "$LINENO"; then :
1756   eval "$3=yes"
1757 else
1758   eval "$3=no"
1759 fi
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 fi
1762 eval ac_res=\$$3
1763                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766
1767 } # ac_fn_cxx_check_header_compile
1768
1769 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1770 # ---------------------------------------------
1771 # Tests whether TYPE exists after having included INCLUDES, setting cache
1772 # variable VAR accordingly.
1773 ac_fn_cxx_check_type ()
1774 {
1775   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if eval \${$3+:} false; then :
1779   $as_echo_n "(cached) " >&6
1780 else
1781   eval "$3=no"
1782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h.  */
1784 $4
1785 int
1786 main ()
1787 {
1788 if (sizeof ($2))
1789          return 0;
1790   ;
1791   return 0;
1792 }
1793 _ACEOF
1794 if ac_fn_cxx_try_compile "$LINENO"; then :
1795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h.  */
1797 $4
1798 int
1799 main ()
1800 {
1801 if (sizeof (($2)))
1802             return 0;
1803   ;
1804   return 0;
1805 }
1806 _ACEOF
1807 if ac_fn_cxx_try_compile "$LINENO"; then :
1808
1809 else
1810   eval "$3=yes"
1811 fi
1812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813 fi
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 fi
1816 eval ac_res=\$$3
1817                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820
1821 } # ac_fn_cxx_check_type
1822 cat >config.log <<_ACEOF
1823 This file contains any messages produced by compilers while
1824 running configure, to aid debugging if configure makes a mistake.
1825
1826 It was created by RNAforester $as_me 1.5, which was
1827 generated by GNU Autoconf 2.68.  Invocation command line was
1828
1829   $ $0 $@
1830
1831 _ACEOF
1832 exec 5>>config.log
1833 {
1834 cat <<_ASUNAME
1835 ## --------- ##
1836 ## Platform. ##
1837 ## --------- ##
1838
1839 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1840 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1841 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1842 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1843 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1844
1845 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1846 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1847
1848 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1849 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1850 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1851 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1852 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1853 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1854 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1855
1856 _ASUNAME
1857
1858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 for as_dir in $PATH
1860 do
1861   IFS=$as_save_IFS
1862   test -z "$as_dir" && as_dir=.
1863     $as_echo "PATH: $as_dir"
1864   done
1865 IFS=$as_save_IFS
1866
1867 } >&5
1868
1869 cat >&5 <<_ACEOF
1870
1871
1872 ## ----------- ##
1873 ## Core tests. ##
1874 ## ----------- ##
1875
1876 _ACEOF
1877
1878
1879 # Keep a trace of the command line.
1880 # Strip out --no-create and --no-recursion so they do not pile up.
1881 # Strip out --silent because we don't want to record it for future runs.
1882 # Also quote any args containing shell meta-characters.
1883 # Make two passes to allow for proper duplicate-argument suppression.
1884 ac_configure_args=
1885 ac_configure_args0=
1886 ac_configure_args1=
1887 ac_must_keep_next=false
1888 for ac_pass in 1 2
1889 do
1890   for ac_arg
1891   do
1892     case $ac_arg in
1893     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1894     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1895     | -silent | --silent | --silen | --sile | --sil)
1896       continue ;;
1897     *\'*)
1898       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1899     esac
1900     case $ac_pass in
1901     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1902     2)
1903       as_fn_append ac_configure_args1 " '$ac_arg'"
1904       if test $ac_must_keep_next = true; then
1905         ac_must_keep_next=false # Got value, back to normal.
1906       else
1907         case $ac_arg in
1908           *=* | --config-cache | -C | -disable-* | --disable-* \
1909           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1910           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1911           | -with-* | --with-* | -without-* | --without-* | --x)
1912             case "$ac_configure_args0 " in
1913               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1914             esac
1915             ;;
1916           -* ) ac_must_keep_next=true ;;
1917         esac
1918       fi
1919       as_fn_append ac_configure_args " '$ac_arg'"
1920       ;;
1921     esac
1922   done
1923 done
1924 { ac_configure_args0=; unset ac_configure_args0;}
1925 { ac_configure_args1=; unset ac_configure_args1;}
1926
1927 # When interrupted or exit'd, cleanup temporary files, and complete
1928 # config.log.  We remove comments because anyway the quotes in there
1929 # would cause problems or look ugly.
1930 # WARNING: Use '\'' to represent an apostrophe within the trap.
1931 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1932 trap 'exit_status=$?
1933   # Save into config.log some information that might help in debugging.
1934   {
1935     echo
1936
1937     $as_echo "## ---------------- ##
1938 ## Cache variables. ##
1939 ## ---------------- ##"
1940     echo
1941     # The following way of writing the cache mishandles newlines in values,
1942 (
1943   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1944     eval ac_val=\$$ac_var
1945     case $ac_val in #(
1946     *${as_nl}*)
1947       case $ac_var in #(
1948       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1949 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1950       esac
1951       case $ac_var in #(
1952       _ | IFS | as_nl) ;; #(
1953       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1954       *) { eval $ac_var=; unset $ac_var;} ;;
1955       esac ;;
1956     esac
1957   done
1958   (set) 2>&1 |
1959     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1960     *${as_nl}ac_space=\ *)
1961       sed -n \
1962         "s/'\''/'\''\\\\'\'''\''/g;
1963           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1964       ;; #(
1965     *)
1966       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1967       ;;
1968     esac |
1969     sort
1970 )
1971     echo
1972
1973     $as_echo "## ----------------- ##
1974 ## Output variables. ##
1975 ## ----------------- ##"
1976     echo
1977     for ac_var in $ac_subst_vars
1978     do
1979       eval ac_val=\$$ac_var
1980       case $ac_val in
1981       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1982       esac
1983       $as_echo "$ac_var='\''$ac_val'\''"
1984     done | sort
1985     echo
1986
1987     if test -n "$ac_subst_files"; then
1988       $as_echo "## ------------------- ##
1989 ## File substitutions. ##
1990 ## ------------------- ##"
1991       echo
1992       for ac_var in $ac_subst_files
1993       do
1994         eval ac_val=\$$ac_var
1995         case $ac_val in
1996         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1997         esac
1998         $as_echo "$ac_var='\''$ac_val'\''"
1999       done | sort
2000       echo
2001     fi
2002
2003     if test -s confdefs.h; then
2004       $as_echo "## ----------- ##
2005 ## confdefs.h. ##
2006 ## ----------- ##"
2007       echo
2008       cat confdefs.h
2009       echo
2010     fi
2011     test "$ac_signal" != 0 &&
2012       $as_echo "$as_me: caught signal $ac_signal"
2013     $as_echo "$as_me: exit $exit_status"
2014   } >&5
2015   rm -f core *.core core.conftest.* &&
2016     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2017     exit $exit_status
2018 ' 0
2019 for ac_signal in 1 2 13 15; do
2020   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2021 done
2022 ac_signal=0
2023
2024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2025 rm -f -r conftest* confdefs.h
2026
2027 $as_echo "/* confdefs.h */" > confdefs.h
2028
2029 # Predefined preprocessor variables.
2030
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_NAME "$PACKAGE_NAME"
2033 _ACEOF
2034
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2037 _ACEOF
2038
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2041 _ACEOF
2042
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_STRING "$PACKAGE_STRING"
2045 _ACEOF
2046
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2049 _ACEOF
2050
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_URL "$PACKAGE_URL"
2053 _ACEOF
2054
2055
2056 # Let the site file select an alternate cache file if it wants to.
2057 # Prefer an explicitly selected file to automatically selected ones.
2058 ac_site_file1=NONE
2059 ac_site_file2=NONE
2060 if test -n "$CONFIG_SITE"; then
2061   # We do not want a PATH search for config.site.
2062   case $CONFIG_SITE in #((
2063     -*)  ac_site_file1=./$CONFIG_SITE;;
2064     */*) ac_site_file1=$CONFIG_SITE;;
2065     *)   ac_site_file1=./$CONFIG_SITE;;
2066   esac
2067 elif test "x$prefix" != xNONE; then
2068   ac_site_file1=$prefix/share/config.site
2069   ac_site_file2=$prefix/etc/config.site
2070 else
2071   ac_site_file1=$ac_default_prefix/share/config.site
2072   ac_site_file2=$ac_default_prefix/etc/config.site
2073 fi
2074 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2075 do
2076   test "x$ac_site_file" = xNONE && continue
2077   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2078     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2080     sed 's/^/| /' "$ac_site_file" >&5
2081     . "$ac_site_file" \
2082       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2084 as_fn_error $? "failed to load site script $ac_site_file
2085 See \`config.log' for more details" "$LINENO" 5; }
2086   fi
2087 done
2088
2089 if test -r "$cache_file"; then
2090   # Some versions of bash will fail to source /dev/null (special files
2091   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2092   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2093     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2094 $as_echo "$as_me: loading cache $cache_file" >&6;}
2095     case $cache_file in
2096       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2097       *)                      . "./$cache_file";;
2098     esac
2099   fi
2100 else
2101   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2102 $as_echo "$as_me: creating cache $cache_file" >&6;}
2103   >$cache_file
2104 fi
2105
2106 # Check that the precious variables saved in the cache have kept the same
2107 # value.
2108 ac_cache_corrupted=false
2109 for ac_var in $ac_precious_vars; do
2110   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2111   eval ac_new_set=\$ac_env_${ac_var}_set
2112   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2113   eval ac_new_val=\$ac_env_${ac_var}_value
2114   case $ac_old_set,$ac_new_set in
2115     set,)
2116       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2117 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2118       ac_cache_corrupted=: ;;
2119     ,set)
2120       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2121 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2122       ac_cache_corrupted=: ;;
2123     ,);;
2124     *)
2125       if test "x$ac_old_val" != "x$ac_new_val"; then
2126         # differences in whitespace do not lead to failure.
2127         ac_old_val_w=`echo x $ac_old_val`
2128         ac_new_val_w=`echo x $ac_new_val`
2129         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2130           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2132           ac_cache_corrupted=:
2133         else
2134           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2136           eval $ac_var=\$ac_old_val
2137         fi
2138         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2139 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2140         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2141 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2142       fi;;
2143   esac
2144   # Pass precious variables to config.status.
2145   if test "$ac_new_set" = set; then
2146     case $ac_new_val in
2147     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2148     *) ac_arg=$ac_var=$ac_new_val ;;
2149     esac
2150     case " $ac_configure_args " in
2151       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2152       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2153     esac
2154   fi
2155 done
2156 if $ac_cache_corrupted; then
2157   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2161   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2162 fi
2163 ## -------------------- ##
2164 ## Main body of script. ##
2165 ## -------------------- ##
2166
2167 ac_ext=c
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2172
2173
2174
2175
2176 # Check whether --enable-silent-rules was given.
2177 if test "${enable_silent_rules+set}" = set; then :
2178   enableval=$enable_silent_rules;
2179 fi
2180
2181 case $enable_silent_rules in
2182 yes) AM_DEFAULT_VERBOSITY=0;;
2183 no)  AM_DEFAULT_VERBOSITY=1;;
2184 *)   AM_DEFAULT_VERBOSITY=0;;
2185 esac
2186 am_make=${MAKE-make}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2188 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2189 if ${am_cv_make_support_nested_variables+:} false; then :
2190   $as_echo_n "(cached) " >&6
2191 else
2192   if $as_echo 'TRUE=$(BAR$(V))
2193 BAR0=false
2194 BAR1=true
2195 V=1
2196 am__doit:
2197         @$(TRUE)
2198 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2199   am_cv_make_support_nested_variables=yes
2200 else
2201   am_cv_make_support_nested_variables=no
2202 fi
2203 fi
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2205 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2206 if test $am_cv_make_support_nested_variables = yes; then
2207     AM_V='$(V)'
2208   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2209 else
2210   AM_V=$AM_DEFAULT_VERBOSITY
2211   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2212 fi
2213 AM_BACKSLASH='\'
2214
2215 am__api_version='1.11'
2216
2217 ac_aux_dir=
2218 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2219   if test -f "$ac_dir/install-sh"; then
2220     ac_aux_dir=$ac_dir
2221     ac_install_sh="$ac_aux_dir/install-sh -c"
2222     break
2223   elif test -f "$ac_dir/install.sh"; then
2224     ac_aux_dir=$ac_dir
2225     ac_install_sh="$ac_aux_dir/install.sh -c"
2226     break
2227   elif test -f "$ac_dir/shtool"; then
2228     ac_aux_dir=$ac_dir
2229     ac_install_sh="$ac_aux_dir/shtool install -c"
2230     break
2231   fi
2232 done
2233 if test -z "$ac_aux_dir"; then
2234   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2235 fi
2236
2237 # These three variables are undocumented and unsupported,
2238 # and are intended to be withdrawn in a future Autoconf release.
2239 # They can cause serious problems if a builder's source tree is in a directory
2240 # whose full name contains unusual characters.
2241 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2242 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2243 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2244
2245
2246 # Find a good install program.  We prefer a C program (faster),
2247 # so one script is as good as another.  But avoid the broken or
2248 # incompatible versions:
2249 # SysV /etc/install, /usr/sbin/install
2250 # SunOS /usr/etc/install
2251 # IRIX /sbin/install
2252 # AIX /bin/install
2253 # AmigaOS /C/install, which installs bootblocks on floppy discs
2254 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2257 # OS/2's system install, which has a completely different semantic
2258 # ./install, which can be erroneously created by make from ./install.sh.
2259 # Reject install programs that cannot install multiple files.
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2261 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2262 if test -z "$INSTALL"; then
2263 if ${ac_cv_path_install+:} false; then :
2264   $as_echo_n "(cached) " >&6
2265 else
2266   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 for as_dir in $PATH
2268 do
2269   IFS=$as_save_IFS
2270   test -z "$as_dir" && as_dir=.
2271     # Account for people who put trailing slashes in PATH elements.
2272 case $as_dir/ in #((
2273   ./ | .// | /[cC]/* | \
2274   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2275   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2276   /usr/ucb/* ) ;;
2277   *)
2278     # OSF1 and SCO ODT 3.0 have their own names for install.
2279     # Don't use installbsd from OSF since it installs stuff as root
2280     # by default.
2281     for ac_prog in ginstall scoinst install; do
2282       for ac_exec_ext in '' $ac_executable_extensions; do
2283         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2284           if test $ac_prog = install &&
2285             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2286             # AIX install.  It has an incompatible calling convention.
2287             :
2288           elif test $ac_prog = install &&
2289             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2290             # program-specific install script used by HP pwplus--don't use.
2291             :
2292           else
2293             rm -rf conftest.one conftest.two conftest.dir
2294             echo one > conftest.one
2295             echo two > conftest.two
2296             mkdir conftest.dir
2297             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2298               test -s conftest.one && test -s conftest.two &&
2299               test -s conftest.dir/conftest.one &&
2300               test -s conftest.dir/conftest.two
2301             then
2302               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2303               break 3
2304             fi
2305           fi
2306         fi
2307       done
2308     done
2309     ;;
2310 esac
2311
2312   done
2313 IFS=$as_save_IFS
2314
2315 rm -rf conftest.one conftest.two conftest.dir
2316
2317 fi
2318   if test "${ac_cv_path_install+set}" = set; then
2319     INSTALL=$ac_cv_path_install
2320   else
2321     # As a last resort, use the slow shell script.  Don't cache a
2322     # value for INSTALL within a source directory, because that will
2323     # break other packages using the cache if that directory is
2324     # removed, or if the value is a relative name.
2325     INSTALL=$ac_install_sh
2326   fi
2327 fi
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2329 $as_echo "$INSTALL" >&6; }
2330
2331 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2332 # It thinks the first close brace ends the variable substitution.
2333 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2334
2335 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2336
2337 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2338
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2340 $as_echo_n "checking whether build environment is sane... " >&6; }
2341 # Just in case
2342 sleep 1
2343 echo timestamp > conftest.file
2344 # Reject unsafe characters in $srcdir or the absolute working directory
2345 # name.  Accept space and tab only in the latter.
2346 am_lf='
2347 '
2348 case `pwd` in
2349   *[\\\"\#\$\&\'\`$am_lf]*)
2350     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2351 esac
2352 case $srcdir in
2353   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2354     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2355 esac
2356
2357 # Do `set' in a subshell so we don't clobber the current shell's
2358 # arguments.  Must try -L first in case configure is actually a
2359 # symlink; some systems play weird games with the mod time of symlinks
2360 # (eg FreeBSD returns the mod time of the symlink's containing
2361 # directory).
2362 if (
2363    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2364    if test "$*" = "X"; then
2365       # -L didn't work.
2366       set X `ls -t "$srcdir/configure" conftest.file`
2367    fi
2368    rm -f conftest.file
2369    if test "$*" != "X $srcdir/configure conftest.file" \
2370       && test "$*" != "X conftest.file $srcdir/configure"; then
2371
2372       # If neither matched, then we have a broken ls.  This can happen
2373       # if, for instance, CONFIG_SHELL is bash and it inherits a
2374       # broken ls alias from the environment.  This has actually
2375       # happened.  Such a system could not be considered "sane".
2376       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2377 alias in your environment" "$LINENO" 5
2378    fi
2379
2380    test "$2" = conftest.file
2381    )
2382 then
2383    # Ok.
2384    :
2385 else
2386    as_fn_error $? "newly created file is older than distributed files!
2387 Check your system clock" "$LINENO" 5
2388 fi
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2390 $as_echo "yes" >&6; }
2391 test "$program_prefix" != NONE &&
2392   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2393 # Use a double $ so make ignores it.
2394 test "$program_suffix" != NONE &&
2395   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2396 # Double any \ or $.
2397 # By default was `s,x,x', remove it if useless.
2398 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2399 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2400
2401 # expand $ac_aux_dir to an absolute path
2402 am_aux_dir=`cd $ac_aux_dir && pwd`
2403
2404 if test x"${MISSING+set}" != xset; then
2405   case $am_aux_dir in
2406   *\ * | *\     *)
2407     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2408   *)
2409     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2410   esac
2411 fi
2412 # Use eval to expand $SHELL
2413 if eval "$MISSING --run true"; then
2414   am_missing_run="$MISSING --run "
2415 else
2416   am_missing_run=
2417   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2418 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2419 fi
2420
2421 if test x"${install_sh}" != xset; then
2422   case $am_aux_dir in
2423   *\ * | *\     *)
2424     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2425   *)
2426     install_sh="\${SHELL} $am_aux_dir/install-sh"
2427   esac
2428 fi
2429
2430 # Installed binaries are usually stripped using `strip' when the user
2431 # run `make install-strip'.  However `strip' might not be the right
2432 # tool to use in cross-compilation environments, therefore Automake
2433 # will honor the `STRIP' environment variable to overrule this program.
2434 if test "$cross_compiling" != no; then
2435   if test -n "$ac_tool_prefix"; then
2436   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2437 set dummy ${ac_tool_prefix}strip; ac_word=$2
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2439 $as_echo_n "checking for $ac_word... " >&6; }
2440 if ${ac_cv_prog_STRIP+:} false; then :
2441   $as_echo_n "(cached) " >&6
2442 else
2443   if test -n "$STRIP"; then
2444   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2445 else
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 for as_dir in $PATH
2448 do
2449   IFS=$as_save_IFS
2450   test -z "$as_dir" && as_dir=.
2451     for ac_exec_ext in '' $ac_executable_extensions; do
2452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2453     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2455     break 2
2456   fi
2457 done
2458   done
2459 IFS=$as_save_IFS
2460
2461 fi
2462 fi
2463 STRIP=$ac_cv_prog_STRIP
2464 if test -n "$STRIP"; then
2465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2466 $as_echo "$STRIP" >&6; }
2467 else
2468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2469 $as_echo "no" >&6; }
2470 fi
2471
2472
2473 fi
2474 if test -z "$ac_cv_prog_STRIP"; then
2475   ac_ct_STRIP=$STRIP
2476   # Extract the first word of "strip", so it can be a program name with args.
2477 set dummy strip; ac_word=$2
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2479 $as_echo_n "checking for $ac_word... " >&6; }
2480 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2481   $as_echo_n "(cached) " >&6
2482 else
2483   if test -n "$ac_ct_STRIP"; then
2484   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2485 else
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 for as_dir in $PATH
2488 do
2489   IFS=$as_save_IFS
2490   test -z "$as_dir" && as_dir=.
2491     for ac_exec_ext in '' $ac_executable_extensions; do
2492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493     ac_cv_prog_ac_ct_STRIP="strip"
2494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2495     break 2
2496   fi
2497 done
2498   done
2499 IFS=$as_save_IFS
2500
2501 fi
2502 fi
2503 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2504 if test -n "$ac_ct_STRIP"; then
2505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2506 $as_echo "$ac_ct_STRIP" >&6; }
2507 else
2508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2509 $as_echo "no" >&6; }
2510 fi
2511
2512   if test "x$ac_ct_STRIP" = x; then
2513     STRIP=":"
2514   else
2515     case $cross_compiling:$ac_tool_warned in
2516 yes:)
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2519 ac_tool_warned=yes ;;
2520 esac
2521     STRIP=$ac_ct_STRIP
2522   fi
2523 else
2524   STRIP="$ac_cv_prog_STRIP"
2525 fi
2526
2527 fi
2528 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2529
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2531 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2532 if test -z "$MKDIR_P"; then
2533   if ${ac_cv_path_mkdir+:} false; then :
2534   $as_echo_n "(cached) " >&6
2535 else
2536   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2538 do
2539   IFS=$as_save_IFS
2540   test -z "$as_dir" && as_dir=.
2541     for ac_prog in mkdir gmkdir; do
2542          for ac_exec_ext in '' $ac_executable_extensions; do
2543            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2544            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2545              'mkdir (GNU coreutils) '* | \
2546              'mkdir (coreutils) '* | \
2547              'mkdir (fileutils) '4.1*)
2548                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2549                break 3;;
2550            esac
2551          done
2552        done
2553   done
2554 IFS=$as_save_IFS
2555
2556 fi
2557
2558   test -d ./--version && rmdir ./--version
2559   if test "${ac_cv_path_mkdir+set}" = set; then
2560     MKDIR_P="$ac_cv_path_mkdir -p"
2561   else
2562     # As a last resort, use the slow shell script.  Don't cache a
2563     # value for MKDIR_P within a source directory, because that will
2564     # break other packages using the cache if that directory is
2565     # removed, or if the value is a relative name.
2566     MKDIR_P="$ac_install_sh -d"
2567   fi
2568 fi
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2570 $as_echo "$MKDIR_P" >&6; }
2571
2572 mkdir_p="$MKDIR_P"
2573 case $mkdir_p in
2574   [\\/$]* | ?:[\\/]*) ;;
2575   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2576 esac
2577
2578 for ac_prog in gawk mawk nawk awk
2579 do
2580   # Extract the first word of "$ac_prog", so it can be a program name with args.
2581 set dummy $ac_prog; ac_word=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if ${ac_cv_prog_AWK+:} false; then :
2585   $as_echo_n "(cached) " >&6
2586 else
2587   if test -n "$AWK"; then
2588   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2589 else
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 for as_dir in $PATH
2592 do
2593   IFS=$as_save_IFS
2594   test -z "$as_dir" && as_dir=.
2595     for ac_exec_ext in '' $ac_executable_extensions; do
2596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597     ac_cv_prog_AWK="$ac_prog"
2598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599     break 2
2600   fi
2601 done
2602   done
2603 IFS=$as_save_IFS
2604
2605 fi
2606 fi
2607 AWK=$ac_cv_prog_AWK
2608 if test -n "$AWK"; then
2609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2610 $as_echo "$AWK" >&6; }
2611 else
2612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2614 fi
2615
2616
2617   test -n "$AWK" && break
2618 done
2619
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2621 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2622 set x ${MAKE-make}
2623 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2624 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2625   $as_echo_n "(cached) " >&6
2626 else
2627   cat >conftest.make <<\_ACEOF
2628 SHELL = /bin/sh
2629 all:
2630         @echo '@@@%%%=$(MAKE)=@@@%%%'
2631 _ACEOF
2632 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2633 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2634   *@@@%%%=?*=@@@%%%*)
2635     eval ac_cv_prog_make_${ac_make}_set=yes;;
2636   *)
2637     eval ac_cv_prog_make_${ac_make}_set=no;;
2638 esac
2639 rm -f conftest.make
2640 fi
2641 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2643 $as_echo "yes" >&6; }
2644   SET_MAKE=
2645 else
2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2648   SET_MAKE="MAKE=${MAKE-make}"
2649 fi
2650
2651 rm -rf .tst 2>/dev/null
2652 mkdir .tst 2>/dev/null
2653 if test -d .tst; then
2654   am__leading_dot=.
2655 else
2656   am__leading_dot=_
2657 fi
2658 rmdir .tst 2>/dev/null
2659
2660 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2661   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2662   # is not polluted with repeated "-I."
2663   am__isrc=' -I$(srcdir)'
2664   # test to see if srcdir already configured
2665   if test -f $srcdir/config.status; then
2666     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2667   fi
2668 fi
2669
2670 # test whether we have cygpath
2671 if test -z "$CYGPATH_W"; then
2672   if (cygpath --version) >/dev/null 2>/dev/null; then
2673     CYGPATH_W='cygpath -w'
2674   else
2675     CYGPATH_W=echo
2676   fi
2677 fi
2678
2679
2680 # Define the identity of the package.
2681  PACKAGE='RNAforester'
2682  VERSION='1.5'
2683
2684
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE "$PACKAGE"
2687 _ACEOF
2688
2689
2690 cat >>confdefs.h <<_ACEOF
2691 #define VERSION "$VERSION"
2692 _ACEOF
2693
2694 # Some tools Automake needs.
2695
2696 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2697
2698
2699 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2700
2701
2702 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2703
2704
2705 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2706
2707
2708 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2709
2710 # We need awk for the "check" target.  The system "awk" is bad on
2711 # some platforms.
2712 # Always define AMTAR for backward compatibility.  Yes, it's still used
2713 # in the wild :-(  We should find a proper way to deprecate it ...
2714 AMTAR='$${TAR-tar}'
2715
2716 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2717
2718
2719
2720
2721
2722
2723 ac_config_headers="$ac_config_headers config.h"
2724
2725
2726 ac_ext=cpp
2727 ac_cpp='$CXXCPP $CPPFLAGS'
2728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2731 if test -z "$CXX"; then
2732   if test -n "$CCC"; then
2733     CXX=$CCC
2734   else
2735     if test -n "$ac_tool_prefix"; then
2736   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2737   do
2738     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if ${ac_cv_prog_CXX+:} false; then :
2743   $as_echo_n "(cached) " >&6
2744 else
2745   if test -n "$CXX"; then
2746   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2747 else
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH
2750 do
2751   IFS=$as_save_IFS
2752   test -z "$as_dir" && as_dir=.
2753     for ac_exec_ext in '' $ac_executable_extensions; do
2754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757     break 2
2758   fi
2759 done
2760   done
2761 IFS=$as_save_IFS
2762
2763 fi
2764 fi
2765 CXX=$ac_cv_prog_CXX
2766 if test -n "$CXX"; then
2767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2768 $as_echo "$CXX" >&6; }
2769 else
2770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2772 fi
2773
2774
2775     test -n "$CXX" && break
2776   done
2777 fi
2778 if test -z "$CXX"; then
2779   ac_ct_CXX=$CXX
2780   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2781 do
2782   # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2787   $as_echo_n "(cached) " >&6
2788 else
2789   if test -n "$ac_ct_CXX"; then
2790   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2791 else
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2794 do
2795   IFS=$as_save_IFS
2796   test -z "$as_dir" && as_dir=.
2797     for ac_exec_ext in '' $ac_executable_extensions; do
2798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799     ac_cv_prog_ac_ct_CXX="$ac_prog"
2800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801     break 2
2802   fi
2803 done
2804   done
2805 IFS=$as_save_IFS
2806
2807 fi
2808 fi
2809 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2810 if test -n "$ac_ct_CXX"; then
2811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2812 $as_echo "$ac_ct_CXX" >&6; }
2813 else
2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2816 fi
2817
2818
2819   test -n "$ac_ct_CXX" && break
2820 done
2821
2822   if test "x$ac_ct_CXX" = x; then
2823     CXX="g++"
2824   else
2825     case $cross_compiling:$ac_tool_warned in
2826 yes:)
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2829 ac_tool_warned=yes ;;
2830 esac
2831     CXX=$ac_ct_CXX
2832   fi
2833 fi
2834
2835   fi
2836 fi
2837 # Provide some information about the compiler.
2838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2839 set X $ac_compile
2840 ac_compiler=$2
2841 for ac_option in --version -v -V -qversion; do
2842   { { ac_try="$ac_compiler $ac_option >&5"
2843 case "(($ac_try" in
2844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845   *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2850   ac_status=$?
2851   if test -s conftest.err; then
2852     sed '10a\
2853 ... rest of stderr output deleted ...
2854          10q' conftest.err >conftest.er1
2855     cat conftest.er1 >&5
2856   fi
2857   rm -f conftest.er1 conftest.err
2858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859   test $ac_status = 0; }
2860 done
2861
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h.  */
2864
2865 int
2866 main ()
2867 {
2868
2869   ;
2870   return 0;
2871 }
2872 _ACEOF
2873 ac_clean_files_save=$ac_clean_files
2874 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2875 # Try to create an executable without -o first, disregard a.out.
2876 # It will help us diagnose broken compilers, and finding out an intuition
2877 # of exeext.
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2879 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2880 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2881
2882 # The possible output files:
2883 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2884
2885 ac_rmfiles=
2886 for ac_file in $ac_files
2887 do
2888   case $ac_file in
2889     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2890     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2891   esac
2892 done
2893 rm -f $ac_rmfiles
2894
2895 if { { ac_try="$ac_link_default"
2896 case "(($ac_try" in
2897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898   *) ac_try_echo=$ac_try;;
2899 esac
2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 $as_echo "$ac_try_echo"; } >&5
2902   (eval "$ac_link_default") 2>&5
2903   ac_status=$?
2904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905   test $ac_status = 0; }; then :
2906   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2907 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2908 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2909 # so that the user can short-circuit this test for compilers unknown to
2910 # Autoconf.
2911 for ac_file in $ac_files ''
2912 do
2913   test -f "$ac_file" || continue
2914   case $ac_file in
2915     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2916         ;;
2917     [ab].out )
2918         # We found the default executable, but exeext='' is most
2919         # certainly right.
2920         break;;
2921     *.* )
2922         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2923         then :; else
2924            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2925         fi
2926         # We set ac_cv_exeext here because the later test for it is not
2927         # safe: cross compilers may not add the suffix if given an `-o'
2928         # argument, so we may need to know it at that point already.
2929         # Even if this section looks crufty: it has the advantage of
2930         # actually working.
2931         break;;
2932     * )
2933         break;;
2934   esac
2935 done
2936 test "$ac_cv_exeext" = no && ac_cv_exeext=
2937
2938 else
2939   ac_file=''
2940 fi
2941 if test -z "$ac_file"; then :
2942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943 $as_echo "no" >&6; }
2944 $as_echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2946
2947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 as_fn_error 77 "C++ compiler cannot create executables
2950 See \`config.log' for more details" "$LINENO" 5; }
2951 else
2952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2953 $as_echo "yes" >&6; }
2954 fi
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2956 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2958 $as_echo "$ac_file" >&6; }
2959 ac_exeext=$ac_cv_exeext
2960
2961 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2962 ac_clean_files=$ac_clean_files_save
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2964 $as_echo_n "checking for suffix of executables... " >&6; }
2965 if { { ac_try="$ac_link"
2966 case "(($ac_try" in
2967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968   *) ac_try_echo=$ac_try;;
2969 esac
2970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2971 $as_echo "$ac_try_echo"; } >&5
2972   (eval "$ac_link") 2>&5
2973   ac_status=$?
2974   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975   test $ac_status = 0; }; then :
2976   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2977 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2978 # work properly (i.e., refer to `conftest.exe'), while it won't with
2979 # `rm'.
2980 for ac_file in conftest.exe conftest conftest.*; do
2981   test -f "$ac_file" || continue
2982   case $ac_file in
2983     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2984     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2985           break;;
2986     * ) break;;
2987   esac
2988 done
2989 else
2990   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2993 See \`config.log' for more details" "$LINENO" 5; }
2994 fi
2995 rm -f conftest conftest$ac_cv_exeext
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2997 $as_echo "$ac_cv_exeext" >&6; }
2998
2999 rm -f conftest.$ac_ext
3000 EXEEXT=$ac_cv_exeext
3001 ac_exeext=$EXEEXT
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h.  */
3004 #include <stdio.h>
3005 int
3006 main ()
3007 {
3008 FILE *f = fopen ("conftest.out", "w");
3009  return ferror (f) || fclose (f) != 0;
3010
3011   ;
3012   return 0;
3013 }
3014 _ACEOF
3015 ac_clean_files="$ac_clean_files conftest.out"
3016 # Check that the compiler produces executables we can run.  If not, either
3017 # the compiler is broken, or we cross compile.
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3019 $as_echo_n "checking whether we are cross compiling... " >&6; }
3020 if test "$cross_compiling" != yes; then
3021   { { ac_try="$ac_link"
3022 case "(($ac_try" in
3023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024   *) ac_try_echo=$ac_try;;
3025 esac
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028   (eval "$ac_link") 2>&5
3029   ac_status=$?
3030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3031   test $ac_status = 0; }
3032   if { ac_try='./conftest$ac_cv_exeext'
3033   { { case "(($ac_try" in
3034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035   *) ac_try_echo=$ac_try;;
3036 esac
3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039   (eval "$ac_try") 2>&5
3040   ac_status=$?
3041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042   test $ac_status = 0; }; }; then
3043     cross_compiling=no
3044   else
3045     if test "$cross_compiling" = maybe; then
3046         cross_compiling=yes
3047     else
3048         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error $? "cannot run C++ compiled programs.
3051 If you meant to cross compile, use \`--host'.
3052 See \`config.log' for more details" "$LINENO" 5; }
3053     fi
3054   fi
3055 fi
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3057 $as_echo "$cross_compiling" >&6; }
3058
3059 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3060 ac_clean_files=$ac_clean_files_save
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3062 $as_echo_n "checking for suffix of object files... " >&6; }
3063 if ${ac_cv_objext+:} false; then :
3064   $as_echo_n "(cached) " >&6
3065 else
3066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h.  */
3068
3069 int
3070 main ()
3071 {
3072
3073   ;
3074   return 0;
3075 }
3076 _ACEOF
3077 rm -f conftest.o conftest.obj
3078 if { { ac_try="$ac_compile"
3079 case "(($ac_try" in
3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081   *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085   (eval "$ac_compile") 2>&5
3086   ac_status=$?
3087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088   test $ac_status = 0; }; then :
3089   for ac_file in conftest.o conftest.obj conftest.*; do
3090   test -f "$ac_file" || continue;
3091   case $ac_file in
3092     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3093     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3094        break;;
3095   esac
3096 done
3097 else
3098   $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3100
3101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 as_fn_error $? "cannot compute suffix of object files: cannot compile
3104 See \`config.log' for more details" "$LINENO" 5; }
3105 fi
3106 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3107 fi
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3109 $as_echo "$ac_cv_objext" >&6; }
3110 OBJEXT=$ac_cv_objext
3111 ac_objext=$OBJEXT
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3113 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3114 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3115   $as_echo_n "(cached) " >&6
3116 else
3117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h.  */
3119
3120 int
3121 main ()
3122 {
3123 #ifndef __GNUC__
3124        choke me
3125 #endif
3126
3127   ;
3128   return 0;
3129 }
3130 _ACEOF
3131 if ac_fn_cxx_try_compile "$LINENO"; then :
3132   ac_compiler_gnu=yes
3133 else
3134   ac_compiler_gnu=no
3135 fi
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3138
3139 fi
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3141 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3142 if test $ac_compiler_gnu = yes; then
3143   GXX=yes
3144 else
3145   GXX=
3146 fi
3147 ac_test_CXXFLAGS=${CXXFLAGS+set}
3148 ac_save_CXXFLAGS=$CXXFLAGS
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3150 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3151 if ${ac_cv_prog_cxx_g+:} false; then :
3152   $as_echo_n "(cached) " >&6
3153 else
3154   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3155    ac_cxx_werror_flag=yes
3156    ac_cv_prog_cxx_g=no
3157    CXXFLAGS="-g"
3158    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h.  */
3160
3161 int
3162 main ()
3163 {
3164
3165   ;
3166   return 0;
3167 }
3168 _ACEOF
3169 if ac_fn_cxx_try_compile "$LINENO"; then :
3170   ac_cv_prog_cxx_g=yes
3171 else
3172   CXXFLAGS=""
3173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h.  */
3175
3176 int
3177 main ()
3178 {
3179
3180   ;
3181   return 0;
3182 }
3183 _ACEOF
3184 if ac_fn_cxx_try_compile "$LINENO"; then :
3185
3186 else
3187   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3188          CXXFLAGS="-g"
3189          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h.  */
3191
3192 int
3193 main ()
3194 {
3195
3196   ;
3197   return 0;
3198 }
3199 _ACEOF
3200 if ac_fn_cxx_try_compile "$LINENO"; then :
3201   ac_cv_prog_cxx_g=yes
3202 fi
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 fi
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 fi
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3209 fi
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3211 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3212 if test "$ac_test_CXXFLAGS" = set; then
3213   CXXFLAGS=$ac_save_CXXFLAGS
3214 elif test $ac_cv_prog_cxx_g = yes; then
3215   if test "$GXX" = yes; then
3216     CXXFLAGS="-g -O2"
3217   else
3218     CXXFLAGS="-g"
3219   fi
3220 else
3221   if test "$GXX" = yes; then
3222     CXXFLAGS="-O2"
3223   else
3224     CXXFLAGS=
3225   fi
3226 fi
3227 ac_ext=c
3228 ac_cpp='$CPP $CPPFLAGS'
3229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232 DEPDIR="${am__leading_dot}deps"
3233
3234 ac_config_commands="$ac_config_commands depfiles"
3235
3236
3237 am_make=${MAKE-make}
3238 cat > confinc << 'END'
3239 am__doit:
3240         @echo this is the am__doit target
3241 .PHONY: am__doit
3242 END
3243 # If we don't find an include directive, just comment out the code.
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3245 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3246 am__include="#"
3247 am__quote=
3248 _am_result=none
3249 # First try GNU make style include.
3250 echo "include confinc" > confmf
3251 # Ignore all kinds of additional output from `make'.
3252 case `$am_make -s -f confmf 2> /dev/null` in #(
3253 *the\ am__doit\ target*)
3254   am__include=include
3255   am__quote=
3256   _am_result=GNU
3257   ;;
3258 esac
3259 # Now try BSD make style include.
3260 if test "$am__include" = "#"; then
3261    echo '.include "confinc"' > confmf
3262    case `$am_make -s -f confmf 2> /dev/null` in #(
3263    *the\ am__doit\ target*)
3264      am__include=.include
3265      am__quote="\""
3266      _am_result=BSD
3267      ;;
3268    esac
3269 fi
3270
3271
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3273 $as_echo "$_am_result" >&6; }
3274 rm -f confinc confmf
3275
3276 # Check whether --enable-dependency-tracking was given.
3277 if test "${enable_dependency_tracking+set}" = set; then :
3278   enableval=$enable_dependency_tracking;
3279 fi
3280
3281 if test "x$enable_dependency_tracking" != xno; then
3282   am_depcomp="$ac_aux_dir/depcomp"
3283   AMDEPBACKSLASH='\'
3284   am__nodep='_no'
3285 fi
3286  if test "x$enable_dependency_tracking" != xno; then
3287   AMDEP_TRUE=
3288   AMDEP_FALSE='#'
3289 else
3290   AMDEP_TRUE='#'
3291   AMDEP_FALSE=
3292 fi
3293
3294
3295
3296 depcc="$CXX"  am_compiler_list=
3297
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3299 $as_echo_n "checking dependency style of $depcc... " >&6; }
3300 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3301   $as_echo_n "(cached) " >&6
3302 else
3303   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3304   # We make a subdir and do the tests there.  Otherwise we can end up
3305   # making bogus files that we don't know about and never remove.  For
3306   # instance it was reported that on HP-UX the gcc test will end up
3307   # making a dummy file named `D' -- because `-MD' means `put the output
3308   # in D'.
3309   rm -rf conftest.dir
3310   mkdir conftest.dir
3311   # Copy depcomp to subdir because otherwise we won't find it if we're
3312   # using a relative directory.
3313   cp "$am_depcomp" conftest.dir
3314   cd conftest.dir
3315   # We will build objects and dependencies in a subdirectory because
3316   # it helps to detect inapplicable dependency modes.  For instance
3317   # both Tru64's cc and ICC support -MD to output dependencies as a
3318   # side effect of compilation, but ICC will put the dependencies in
3319   # the current directory while Tru64 will put them in the object
3320   # directory.
3321   mkdir sub
3322
3323   am_cv_CXX_dependencies_compiler_type=none
3324   if test "$am_compiler_list" = ""; then
3325      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3326   fi
3327   am__universal=false
3328   case " $depcc " in #(
3329      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3330      esac
3331
3332   for depmode in $am_compiler_list; do
3333     # Setup a source with many dependencies, because some compilers
3334     # like to wrap large dependency lists on column 80 (with \), and
3335     # we should not choose a depcomp mode which is confused by this.
3336     #
3337     # We need to recreate these files for each test, as the compiler may
3338     # overwrite some of them when testing with obscure command lines.
3339     # This happens at least with the AIX C compiler.
3340     : > sub/conftest.c
3341     for i in 1 2 3 4 5 6; do
3342       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3343       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3344       # Solaris 8's {/usr,}/bin/sh.
3345       touch sub/conftst$i.h
3346     done
3347     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3348
3349     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3350     # mode.  It turns out that the SunPro C++ compiler does not properly
3351     # handle `-M -o', and we need to detect this.  Also, some Intel
3352     # versions had trouble with output in subdirs
3353     am__obj=sub/conftest.${OBJEXT-o}
3354     am__minus_obj="-o $am__obj"
3355     case $depmode in
3356     gcc)
3357       # This depmode causes a compiler race in universal mode.
3358       test "$am__universal" = false || continue
3359       ;;
3360     nosideeffect)
3361       # after this tag, mechanisms are not by side-effect, so they'll
3362       # only be used when explicitly requested
3363       if test "x$enable_dependency_tracking" = xyes; then
3364         continue
3365       else
3366         break
3367       fi
3368       ;;
3369     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3370       # This compiler won't grok `-c -o', but also, the minuso test has
3371       # not run yet.  These depmodes are late enough in the game, and
3372       # so weak that their functioning should not be impacted.
3373       am__obj=conftest.${OBJEXT-o}
3374       am__minus_obj=
3375       ;;
3376     none) break ;;
3377     esac
3378     if depmode=$depmode \
3379        source=sub/conftest.c object=$am__obj \
3380        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3381        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3382          >/dev/null 2>conftest.err &&
3383        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3384        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3385        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3386        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3387       # icc doesn't choke on unknown options, it will just issue warnings
3388       # or remarks (even with -Werror).  So we grep stderr for any message
3389       # that says an option was ignored or not supported.
3390       # When given -MP, icc 7.0 and 7.1 complain thusly:
3391       #   icc: Command line warning: ignoring option '-M'; no argument required
3392       # The diagnosis changed in icc 8.0:
3393       #   icc: Command line remark: option '-MP' not supported
3394       if (grep 'ignoring option' conftest.err ||
3395           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3396         am_cv_CXX_dependencies_compiler_type=$depmode
3397         break
3398       fi
3399     fi
3400   done
3401
3402   cd ..
3403   rm -rf conftest.dir
3404 else
3405   am_cv_CXX_dependencies_compiler_type=none
3406 fi
3407
3408 fi
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3410 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3411 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3412
3413  if
3414   test "x$enable_dependency_tracking" != xno \
3415   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3416   am__fastdepCXX_TRUE=
3417   am__fastdepCXX_FALSE='#'
3418 else
3419   am__fastdepCXX_TRUE='#'
3420   am__fastdepCXX_FALSE=
3421 fi
3422
3423
3424 ac_ext=c
3425 ac_cpp='$CPP $CPPFLAGS'
3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 if test -n "$ac_tool_prefix"; then
3430   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if ${ac_cv_prog_CC+:} false; then :
3435   $as_echo_n "(cached) " >&6
3436 else
3437   if test -n "$CC"; then
3438   ac_cv_prog_CC="$CC" # Let the user override the test.
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3442 do
3443   IFS=$as_save_IFS
3444   test -z "$as_dir" && as_dir=.
3445     for ac_exec_ext in '' $ac_executable_extensions; do
3446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449     break 2
3450   fi
3451 done
3452   done
3453 IFS=$as_save_IFS
3454
3455 fi
3456 fi
3457 CC=$ac_cv_prog_CC
3458 if test -n "$CC"; then
3459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3460 $as_echo "$CC" >&6; }
3461 else
3462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3464 fi
3465
3466
3467 fi
3468 if test -z "$ac_cv_prog_CC"; then
3469   ac_ct_CC=$CC
3470   # Extract the first word of "gcc", so it can be a program name with args.
3471 set dummy gcc; ac_word=$2
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473 $as_echo_n "checking for $ac_word... " >&6; }
3474 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3475   $as_echo_n "(cached) " >&6
3476 else
3477   if test -n "$ac_ct_CC"; then
3478   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3479 else
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 for as_dir in $PATH
3482 do
3483   IFS=$as_save_IFS
3484   test -z "$as_dir" && as_dir=.
3485     for ac_exec_ext in '' $ac_executable_extensions; do
3486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3487     ac_cv_prog_ac_ct_CC="gcc"
3488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489     break 2
3490   fi
3491 done
3492   done
3493 IFS=$as_save_IFS
3494
3495 fi
3496 fi
3497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3498 if test -n "$ac_ct_CC"; then
3499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3500 $as_echo "$ac_ct_CC" >&6; }
3501 else
3502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3504 fi
3505
3506   if test "x$ac_ct_CC" = x; then
3507     CC=""
3508   else
3509     case $cross_compiling:$ac_tool_warned in
3510 yes:)
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3513 ac_tool_warned=yes ;;
3514 esac
3515     CC=$ac_ct_CC
3516   fi
3517 else
3518   CC="$ac_cv_prog_CC"
3519 fi
3520
3521 if test -z "$CC"; then
3522           if test -n "$ac_tool_prefix"; then
3523     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3524 set dummy ${ac_tool_prefix}cc; ac_word=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if ${ac_cv_prog_CC+:} false; then :
3528   $as_echo_n "(cached) " >&6
3529 else
3530   if test -n "$CC"; then
3531   ac_cv_prog_CC="$CC" # Let the user override the test.
3532 else
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 for as_dir in $PATH
3535 do
3536   IFS=$as_save_IFS
3537   test -z "$as_dir" && as_dir=.
3538     for ac_exec_ext in '' $ac_executable_extensions; do
3539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540     ac_cv_prog_CC="${ac_tool_prefix}cc"
3541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3542     break 2
3543   fi
3544 done
3545   done
3546 IFS=$as_save_IFS
3547
3548 fi
3549 fi
3550 CC=$ac_cv_prog_CC
3551 if test -n "$CC"; then
3552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3553 $as_echo "$CC" >&6; }
3554 else
3555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3557 fi
3558
3559
3560   fi
3561 fi
3562 if test -z "$CC"; then
3563   # Extract the first word of "cc", so it can be a program name with args.
3564 set dummy cc; ac_word=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if ${ac_cv_prog_CC+:} false; then :
3568   $as_echo_n "(cached) " >&6
3569 else
3570   if test -n "$CC"; then
3571   ac_cv_prog_CC="$CC" # Let the user override the test.
3572 else
3573   ac_prog_rejected=no
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3576 do
3577   IFS=$as_save_IFS
3578   test -z "$as_dir" && as_dir=.
3579     for ac_exec_ext in '' $ac_executable_extensions; do
3580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3582        ac_prog_rejected=yes
3583        continue
3584      fi
3585     ac_cv_prog_CC="cc"
3586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587     break 2
3588   fi
3589 done
3590   done
3591 IFS=$as_save_IFS
3592
3593 if test $ac_prog_rejected = yes; then
3594   # We found a bogon in the path, so make sure we never use it.
3595   set dummy $ac_cv_prog_CC
3596   shift
3597   if test $# != 0; then
3598     # We chose a different compiler from the bogus one.
3599     # However, it has the same basename, so the bogon will be chosen
3600     # first if we set CC to just the basename; use the full file name.
3601     shift
3602     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3603   fi
3604 fi
3605 fi
3606 fi
3607 CC=$ac_cv_prog_CC
3608 if test -n "$CC"; then
3609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3611 else
3612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 fi
3615
3616
3617 fi
3618 if test -z "$CC"; then
3619   if test -n "$ac_tool_prefix"; then
3620   for ac_prog in cl.exe
3621   do
3622     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_CC+:} false; then :
3627   $as_echo_n "(cached) " >&6
3628 else
3629   if test -n "$CC"; then
3630   ac_cv_prog_CC="$CC" # Let the user override the test.
3631 else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3634 do
3635   IFS=$as_save_IFS
3636   test -z "$as_dir" && as_dir=.
3637     for ac_exec_ext in '' $ac_executable_extensions; do
3638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3639     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641     break 2
3642   fi
3643 done
3644   done
3645 IFS=$as_save_IFS
3646
3647 fi
3648 fi
3649 CC=$ac_cv_prog_CC
3650 if test -n "$CC"; then
3651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3652 $as_echo "$CC" >&6; }
3653 else
3654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3656 fi
3657
3658
3659     test -n "$CC" && break
3660   done
3661 fi
3662 if test -z "$CC"; then
3663   ac_ct_CC=$CC
3664   for ac_prog in cl.exe
3665 do
3666   # Extract the first word of "$ac_prog", so it can be a program name with args.
3667 set dummy $ac_prog; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3671   $as_echo_n "(cached) " >&6
3672 else
3673   if test -n "$ac_ct_CC"; then
3674   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3675 else
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677 for as_dir in $PATH
3678 do
3679   IFS=$as_save_IFS
3680   test -z "$as_dir" && as_dir=.
3681     for ac_exec_ext in '' $ac_executable_extensions; do
3682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683     ac_cv_prog_ac_ct_CC="$ac_prog"
3684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3685     break 2
3686   fi
3687 done
3688   done
3689 IFS=$as_save_IFS
3690
3691 fi
3692 fi
3693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3694 if test -n "$ac_ct_CC"; then
3695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3696 $as_echo "$ac_ct_CC" >&6; }
3697 else
3698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3700 fi
3701
3702
3703   test -n "$ac_ct_CC" && break
3704 done
3705
3706   if test "x$ac_ct_CC" = x; then
3707     CC=""
3708   else
3709     case $cross_compiling:$ac_tool_warned in
3710 yes:)
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned=yes ;;
3714 esac
3715     CC=$ac_ct_CC
3716   fi
3717 fi
3718
3719 fi
3720
3721
3722 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error $? "no acceptable C compiler found in \$PATH
3725 See \`config.log' for more details" "$LINENO" 5; }
3726
3727 # Provide some information about the compiler.
3728 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3729 set X $ac_compile
3730 ac_compiler=$2
3731 for ac_option in --version -v -V -qversion; do
3732   { { ac_try="$ac_compiler $ac_option >&5"
3733 case "(($ac_try" in
3734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735   *) ac_try_echo=$ac_try;;
3736 esac
3737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3738 $as_echo "$ac_try_echo"; } >&5
3739   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3740   ac_status=$?
3741   if test -s conftest.err; then
3742     sed '10a\
3743 ... rest of stderr output deleted ...
3744          10q' conftest.err >conftest.er1
3745     cat conftest.er1 >&5
3746   fi
3747   rm -f conftest.er1 conftest.err
3748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749   test $ac_status = 0; }
3750 done
3751
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3753 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3754 if ${ac_cv_c_compiler_gnu+:} false; then :
3755   $as_echo_n "(cached) " >&6
3756 else
3757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h.  */
3759
3760 int
3761 main ()
3762 {
3763 #ifndef __GNUC__
3764        choke me
3765 #endif
3766
3767   ;
3768   return 0;
3769 }
3770 _ACEOF
3771 if ac_fn_c_try_compile "$LINENO"; then :
3772   ac_compiler_gnu=yes
3773 else
3774   ac_compiler_gnu=no
3775 fi
3776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3777 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3778
3779 fi
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3781 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3782 if test $ac_compiler_gnu = yes; then
3783   GCC=yes
3784 else
3785   GCC=
3786 fi
3787 ac_test_CFLAGS=${CFLAGS+set}
3788 ac_save_CFLAGS=$CFLAGS
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3790 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3791 if ${ac_cv_prog_cc_g+:} false; then :
3792   $as_echo_n "(cached) " >&6
3793 else
3794   ac_save_c_werror_flag=$ac_c_werror_flag
3795    ac_c_werror_flag=yes
3796    ac_cv_prog_cc_g=no
3797    CFLAGS="-g"
3798    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h.  */
3800
3801 int
3802 main ()
3803 {
3804
3805   ;
3806   return 0;
3807 }
3808 _ACEOF
3809 if ac_fn_c_try_compile "$LINENO"; then :
3810   ac_cv_prog_cc_g=yes
3811 else
3812   CFLAGS=""
3813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h.  */
3815
3816 int
3817 main ()
3818 {
3819
3820   ;
3821   return 0;
3822 }
3823 _ACEOF
3824 if ac_fn_c_try_compile "$LINENO"; then :
3825
3826 else
3827   ac_c_werror_flag=$ac_save_c_werror_flag
3828          CFLAGS="-g"
3829          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h.  */
3831
3832 int
3833 main ()
3834 {
3835
3836   ;
3837   return 0;
3838 }
3839 _ACEOF
3840 if ac_fn_c_try_compile "$LINENO"; then :
3841   ac_cv_prog_cc_g=yes
3842 fi
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 fi
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 fi
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848    ac_c_werror_flag=$ac_save_c_werror_flag
3849 fi
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3851 $as_echo "$ac_cv_prog_cc_g" >&6; }
3852 if test "$ac_test_CFLAGS" = set; then
3853   CFLAGS=$ac_save_CFLAGS
3854 elif test $ac_cv_prog_cc_g = yes; then
3855   if test "$GCC" = yes; then
3856     CFLAGS="-g -O2"
3857   else
3858     CFLAGS="-g"
3859   fi
3860 else
3861   if test "$GCC" = yes; then
3862     CFLAGS="-O2"
3863   else
3864     CFLAGS=
3865   fi
3866 fi
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3868 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3869 if ${ac_cv_prog_cc_c89+:} false; then :
3870   $as_echo_n "(cached) " >&6
3871 else
3872   ac_cv_prog_cc_c89=no
3873 ac_save_CC=$CC
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h.  */
3876 #include <stdarg.h>
3877 #include <stdio.h>
3878 #include <sys/types.h>
3879 #include <sys/stat.h>
3880 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3881 struct buf { int x; };
3882 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3883 static char *e (p, i)
3884      char **p;
3885      int i;
3886 {
3887   return p[i];
3888 }
3889 static char *f (char * (*g) (char **, int), char **p, ...)
3890 {
3891   char *s;
3892   va_list v;
3893   va_start (v,p);
3894   s = g (p, va_arg (v,int));
3895   va_end (v);
3896   return s;
3897 }
3898
3899 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3900    function prototypes and stuff, but not '\xHH' hex character constants.
3901    These don't provoke an error unfortunately, instead are silently treated
3902    as 'x'.  The following induces an error, until -std is added to get
3903    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3904    array size at least.  It's necessary to write '\x00'==0 to get something
3905    that's true only with -std.  */
3906 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3907
3908 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3909    inside strings and character constants.  */
3910 #define FOO(x) 'x'
3911 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3912
3913 int test (int i, double x);
3914 struct s1 {int (*f) (int a);};
3915 struct s2 {int (*f) (double a);};
3916 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3917 int argc;
3918 char **argv;
3919 int
3920 main ()
3921 {
3922 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3923   ;
3924   return 0;
3925 }
3926 _ACEOF
3927 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3928         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3929 do
3930   CC="$ac_save_CC $ac_arg"
3931   if ac_fn_c_try_compile "$LINENO"; then :
3932   ac_cv_prog_cc_c89=$ac_arg
3933 fi
3934 rm -f core conftest.err conftest.$ac_objext
3935   test "x$ac_cv_prog_cc_c89" != "xno" && break
3936 done
3937 rm -f conftest.$ac_ext
3938 CC=$ac_save_CC
3939
3940 fi
3941 # AC_CACHE_VAL
3942 case "x$ac_cv_prog_cc_c89" in
3943   x)
3944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3945 $as_echo "none needed" >&6; } ;;
3946   xno)
3947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3948 $as_echo "unsupported" >&6; } ;;
3949   *)
3950     CC="$CC $ac_cv_prog_cc_c89"
3951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3952 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3953 esac
3954 if test "x$ac_cv_prog_cc_c89" != xno; then :
3955
3956 fi
3957
3958 ac_ext=c
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963
3964 depcc="$CC"   am_compiler_list=
3965
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3967 $as_echo_n "checking dependency style of $depcc... " >&6; }
3968 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3969   $as_echo_n "(cached) " >&6
3970 else
3971   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3972   # We make a subdir and do the tests there.  Otherwise we can end up
3973   # making bogus files that we don't know about and never remove.  For
3974   # instance it was reported that on HP-UX the gcc test will end up
3975   # making a dummy file named `D' -- because `-MD' means `put the output
3976   # in D'.
3977   rm -rf conftest.dir
3978   mkdir conftest.dir
3979   # Copy depcomp to subdir because otherwise we won't find it if we're
3980   # using a relative directory.
3981   cp "$am_depcomp" conftest.dir
3982   cd conftest.dir
3983   # We will build objects and dependencies in a subdirectory because
3984   # it helps to detect inapplicable dependency modes.  For instance
3985   # both Tru64's cc and ICC support -MD to output dependencies as a
3986   # side effect of compilation, but ICC will put the dependencies in
3987   # the current directory while Tru64 will put them in the object
3988   # directory.
3989   mkdir sub
3990
3991   am_cv_CC_dependencies_compiler_type=none
3992   if test "$am_compiler_list" = ""; then
3993      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3994   fi
3995   am__universal=false
3996   case " $depcc " in #(
3997      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3998      esac
3999
4000   for depmode in $am_compiler_list; do
4001     # Setup a source with many dependencies, because some compilers
4002     # like to wrap large dependency lists on column 80 (with \), and
4003     # we should not choose a depcomp mode which is confused by this.
4004     #
4005     # We need to recreate these files for each test, as the compiler may
4006     # overwrite some of them when testing with obscure command lines.
4007     # This happens at least with the AIX C compiler.
4008     : > sub/conftest.c
4009     for i in 1 2 3 4 5 6; do
4010       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4011       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4012       # Solaris 8's {/usr,}/bin/sh.
4013       touch sub/conftst$i.h
4014     done
4015     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4016
4017     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4018     # mode.  It turns out that the SunPro C++ compiler does not properly
4019     # handle `-M -o', and we need to detect this.  Also, some Intel
4020     # versions had trouble with output in subdirs
4021     am__obj=sub/conftest.${OBJEXT-o}
4022     am__minus_obj="-o $am__obj"
4023     case $depmode in
4024     gcc)
4025       # This depmode causes a compiler race in universal mode.
4026       test "$am__universal" = false || continue
4027       ;;
4028     nosideeffect)
4029       # after this tag, mechanisms are not by side-effect, so they'll
4030       # only be used when explicitly requested
4031       if test "x$enable_dependency_tracking" = xyes; then
4032         continue
4033       else
4034         break
4035       fi
4036       ;;
4037     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4038       # This compiler won't grok `-c -o', but also, the minuso test has
4039       # not run yet.  These depmodes are late enough in the game, and
4040       # so weak that their functioning should not be impacted.
4041       am__obj=conftest.${OBJEXT-o}
4042       am__minus_obj=
4043       ;;
4044     none) break ;;
4045     esac
4046     if depmode=$depmode \
4047        source=sub/conftest.c object=$am__obj \
4048        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4049        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4050          >/dev/null 2>conftest.err &&
4051        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4052        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4053        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4054        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4055       # icc doesn't choke on unknown options, it will just issue warnings
4056       # or remarks (even with -Werror).  So we grep stderr for any message
4057       # that says an option was ignored or not supported.
4058       # When given -MP, icc 7.0 and 7.1 complain thusly:
4059       #   icc: Command line warning: ignoring option '-M'; no argument required
4060       # The diagnosis changed in icc 8.0:
4061       #   icc: Command line remark: option '-MP' not supported
4062       if (grep 'ignoring option' conftest.err ||
4063           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4064         am_cv_CC_dependencies_compiler_type=$depmode
4065         break
4066       fi
4067     fi
4068   done
4069
4070   cd ..
4071   rm -rf conftest.dir
4072 else
4073   am_cv_CC_dependencies_compiler_type=none
4074 fi
4075
4076 fi
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4078 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4079 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4080
4081  if
4082   test "x$enable_dependency_tracking" != xno \
4083   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4084   am__fastdepCC_TRUE=
4085   am__fastdepCC_FALSE='#'
4086 else
4087   am__fastdepCC_TRUE='#'
4088   am__fastdepCC_FALSE=
4089 fi
4090
4091
4092 ac_ext=cpp
4093 ac_cpp='$CXXCPP $CPPFLAGS'
4094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4097
4098
4099
4100
4101
4102   OPENMP_CXXFLAGS=
4103   # Check whether --enable-openmp was given.
4104 if test "${enable_openmp+set}" = set; then :
4105   enableval=$enable_openmp;
4106 fi
4107
4108   if test "$enable_openmp" != no; then
4109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to support OpenMP" >&5
4110 $as_echo_n "checking for $CXX option to support OpenMP... " >&6; }
4111 if ${ac_cv_prog_cxx_openmp+:} false; then :
4112   $as_echo_n "(cached) " >&6
4113 else
4114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h.  */
4116
4117 #ifndef _OPENMP
4118  choke me
4119 #endif
4120 #include <omp.h>
4121 int main () { return omp_get_num_threads (); }
4122
4123 _ACEOF
4124 if ac_fn_cxx_try_link "$LINENO"; then :
4125   ac_cv_prog_cxx_openmp='none needed'
4126 else
4127   ac_cv_prog_cxx_openmp='unsupported'
4128                                                                                                           for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp; do
4129             ac_save_CXXFLAGS=$CXXFLAGS
4130             CXXFLAGS="$CXXFLAGS $ac_option"
4131             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h.  */
4133
4134 #ifndef _OPENMP
4135  choke me
4136 #endif
4137 #include <omp.h>
4138 int main () { return omp_get_num_threads (); }
4139
4140 _ACEOF
4141 if ac_fn_cxx_try_link "$LINENO"; then :
4142   ac_cv_prog_cxx_openmp=$ac_option
4143 fi
4144 rm -f core conftest.err conftest.$ac_objext \
4145     conftest$ac_exeext conftest.$ac_ext
4146             CXXFLAGS=$ac_save_CXXFLAGS
4147             if test "$ac_cv_prog_cxx_openmp" != unsupported; then
4148               break
4149             fi
4150           done
4151 fi
4152 rm -f core conftest.err conftest.$ac_objext \
4153     conftest$ac_exeext conftest.$ac_ext
4154 fi
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_openmp" >&5
4156 $as_echo "$ac_cv_prog_cxx_openmp" >&6; }
4157     case $ac_cv_prog_cxx_openmp in #(
4158       "none needed" | unsupported)
4159         ;; #(
4160       *)
4161         OPENMP_CXXFLAGS=$ac_cv_prog_cxx_openmp ;;
4162     esac
4163   fi
4164
4165
4166
4167
4168 # Check whether --with-ViennaRNA-lib was given.
4169 if test "${with_ViennaRNA_lib+set}" = set; then :
4170   withval=$with_ViennaRNA_lib; LIBS="$withval/libRNA.a ${LIBS}" &&
4171 $as_echo "#define HAVE_LIBRNA 1" >>confdefs.h
4172
4173   LDFLAGS="-L$withval -R$withval ${LDFLAGS}"
4174 else
4175   LDFLAGS="-L../../lib -L../../ViennaRNA ${LDFLAGS} ${OPENMP_CXXFLAGS}"
4176   if test -r "../lib/fold.c"; then
4177     $as_echo "#define HAVE_LIBRNA 1" >>confdefs.h
4178
4179     LIBS="-lRNA ${LIBS}"
4180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: using (to be built) libRNA.a in ../lib" >&5
4181 $as_echo "using (to be built) libRNA.a in ../lib" >&6; }
4182   else
4183     if test -r "../ViennaRNA/fold.c"; then
4184       $as_echo "#define HAVE_LIBRNA 1" >>confdefs.h
4185
4186       LIBS="-lRNA ${LIBS}"
4187       { $as_echo "$as_me:${as_lineno-$LINENO}: result: using (to be built) libRNA.a in ../ViennaRNA" >&5
4188 $as_echo "using (to be built) libRNA.a in ../ViennaRNA" >&6; }
4189     fi
4190   fi
4191
4192 fi
4193
4194
4195
4196 # Check whether --with-xml2-lib was given.
4197 if test "${with_xml2_lib+set}" = set; then :
4198   withval=$with_xml2_lib; LDFLAGS="-L$withval/lib -R$withval/lib ${LDFLAGS}"
4199             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4200 $as_echo_n "checking for main in -lxml2... " >&6; }
4201 if ${ac_cv_lib_xml2_main+:} false; then :
4202   $as_echo_n "(cached) " >&6
4203 else
4204   ac_check_lib_save_LIBS=$LIBS
4205 LIBS="-lxml2  $LIBS"
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h.  */
4208
4209
4210 int
4211 main ()
4212 {
4213 return main ();
4214   ;
4215   return 0;
4216 }
4217 _ACEOF
4218 if ac_fn_cxx_try_link "$LINENO"; then :
4219   ac_cv_lib_xml2_main=yes
4220 else
4221   ac_cv_lib_xml2_main=no
4222 fi
4223 rm -f core conftest.err conftest.$ac_objext \
4224     conftest$ac_exeext conftest.$ac_ext
4225 LIBS=$ac_check_lib_save_LIBS
4226 fi
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4228 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4229 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4230
4231 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
4232
4233 else
4234   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error $? "--with-xml2-lib was given but test for libxml2 failed
4237 See \`config.log' for more details" "$LINENO" 5; }
4238 fi
4239
4240             LIBS="-lxml2 ${LIBS}"
4241             CPPFLAGS="-I$withval/include/libxml2/ ${CPPFLAGS}"
4242 fi
4243
4244
4245
4246 # Check whether --with-xmlplusplus-lib was given.
4247 if test "${with_xmlplusplus_lib+set}" = set; then :
4248   withval=$with_xmlplusplus_lib; LDFLAGS="-L$withval/lib -R$withval/lib ${LDFLAGS}"
4249             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml++-1.0" >&5
4250 $as_echo_n "checking for main in -lxml++-1.0... " >&6; }
4251 if ${ac_cv_lib_xmlpp_1_0_main+:} false; then :
4252   $as_echo_n "(cached) " >&6
4253 else
4254   ac_check_lib_save_LIBS=$LIBS
4255 LIBS="-lxml++-1.0  $LIBS"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h.  */
4258
4259
4260 int
4261 main ()
4262 {
4263 return main ();
4264   ;
4265   return 0;
4266 }
4267 _ACEOF
4268 if ac_fn_cxx_try_link "$LINENO"; then :
4269   ac_cv_lib_xmlpp_1_0_main=yes
4270 else
4271   ac_cv_lib_xmlpp_1_0_main=no
4272 fi
4273 rm -f core conftest.err conftest.$ac_objext \
4274     conftest$ac_exeext conftest.$ac_ext
4275 LIBS=$ac_check_lib_save_LIBS
4276 fi
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xmlpp_1_0_main" >&5
4278 $as_echo "$ac_cv_lib_xmlpp_1_0_main" >&6; }
4279 if test "x$ac_cv_lib_xmlpp_1_0_main" = xyes; then :
4280
4281 $as_echo "#define HAVE_LIBXMLPLUSPLUS 1" >>confdefs.h
4282
4283 else
4284   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286 as_fn_error $? "--with-xmlplusplus-lib was given but test for libxml++-1.0 failed
4287 See \`config.log' for more details" "$LINENO" 5; }
4288 fi
4289
4290             LIBS="-lxml++-1.0 ${LIBS}"
4291             CPPFLAGS="-I$withval/include/libxml++-1.0/ ${CPPFLAGS}"
4292 fi
4293
4294
4295 save_CPPFLAGS=$CPPFLAGS
4296 CPPFLAGS="-Ig2-0.70/src/ ${CPPFLAGS}"
4297
4298
4299 ac_ext=cpp
4300 ac_cpp='$CXXCPP $CPPFLAGS'
4301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4305 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4306 if test -z "$CXXCPP"; then
4307   if ${ac_cv_prog_CXXCPP+:} false; then :
4308   $as_echo_n "(cached) " >&6
4309 else
4310       # Double quotes because CXXCPP needs to be expanded
4311     for CXXCPP in "$CXX -E" "/lib/cpp"
4312     do
4313       ac_preproc_ok=false
4314 for ac_cxx_preproc_warn_flag in '' yes
4315 do
4316   # Use a header file that comes with gcc, so configuring glibc
4317   # with a fresh cross-compiler works.
4318   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4319   # <limits.h> exists even on freestanding compilers.
4320   # On the NeXT, cc -E runs the code through the compiler's parser,
4321   # not just through cpp. "Syntax error" is here to catch this case.
4322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h.  */
4324 #ifdef __STDC__
4325 # include <limits.h>
4326 #else
4327 # include <assert.h>
4328 #endif
4329                      Syntax error
4330 _ACEOF
4331 if ac_fn_cxx_try_cpp "$LINENO"; then :
4332
4333 else
4334   # Broken: fails on valid input.
4335 continue
4336 fi
4337 rm -f conftest.err conftest.i conftest.$ac_ext
4338
4339   # OK, works on sane cases.  Now check whether nonexistent headers
4340   # can be detected and how.
4341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h.  */
4343 #include <ac_nonexistent.h>
4344 _ACEOF
4345 if ac_fn_cxx_try_cpp "$LINENO"; then :
4346   # Broken: success on invalid input.
4347 continue
4348 else
4349   # Passes both tests.
4350 ac_preproc_ok=:
4351 break
4352 fi
4353 rm -f conftest.err conftest.i conftest.$ac_ext
4354
4355 done
4356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4357 rm -f conftest.i conftest.err conftest.$ac_ext
4358 if $ac_preproc_ok; then :
4359   break
4360 fi
4361
4362     done
4363     ac_cv_prog_CXXCPP=$CXXCPP
4364
4365 fi
4366   CXXCPP=$ac_cv_prog_CXXCPP
4367 else
4368   ac_cv_prog_CXXCPP=$CXXCPP
4369 fi
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4371 $as_echo "$CXXCPP" >&6; }
4372 ac_preproc_ok=false
4373 for ac_cxx_preproc_warn_flag in '' yes
4374 do
4375   # Use a header file that comes with gcc, so configuring glibc
4376   # with a fresh cross-compiler works.
4377   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4378   # <limits.h> exists even on freestanding compilers.
4379   # On the NeXT, cc -E runs the code through the compiler's parser,
4380   # not just through cpp. "Syntax error" is here to catch this case.
4381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h.  */
4383 #ifdef __STDC__
4384 # include <limits.h>
4385 #else
4386 # include <assert.h>
4387 #endif
4388                      Syntax error
4389 _ACEOF
4390 if ac_fn_cxx_try_cpp "$LINENO"; then :
4391
4392 else
4393   # Broken: fails on valid input.
4394 continue
4395 fi
4396 rm -f conftest.err conftest.i conftest.$ac_ext
4397
4398   # OK, works on sane cases.  Now check whether nonexistent headers
4399   # can be detected and how.
4400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h.  */
4402 #include <ac_nonexistent.h>
4403 _ACEOF
4404 if ac_fn_cxx_try_cpp "$LINENO"; then :
4405   # Broken: success on invalid input.
4406 continue
4407 else
4408   # Passes both tests.
4409 ac_preproc_ok=:
4410 break
4411 fi
4412 rm -f conftest.err conftest.i conftest.$ac_ext
4413
4414 done
4415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4416 rm -f conftest.i conftest.err conftest.$ac_ext
4417 if $ac_preproc_ok; then :
4418
4419 else
4420   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4423 See \`config.log' for more details" "$LINENO" 5; }
4424 fi
4425
4426 ac_ext=cpp
4427 ac_cpp='$CXXCPP $CPPFLAGS'
4428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4431
4432
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4434 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4435 if ${ac_cv_path_GREP+:} false; then :
4436   $as_echo_n "(cached) " >&6
4437 else
4438   if test -z "$GREP"; then
4439   ac_path_GREP_found=false
4440   # Loop through the user's path and test for each of PROGNAME-LIST
4441   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4443 do
4444   IFS=$as_save_IFS
4445   test -z "$as_dir" && as_dir=.
4446     for ac_prog in grep ggrep; do
4447     for ac_exec_ext in '' $ac_executable_extensions; do
4448       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4449       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4450 # Check for GNU ac_path_GREP and select it if it is found.
4451   # Check for GNU $ac_path_GREP
4452 case `"$ac_path_GREP" --version 2>&1` in
4453 *GNU*)
4454   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4455 *)
4456   ac_count=0
4457   $as_echo_n 0123456789 >"conftest.in"
4458   while :
4459   do
4460     cat "conftest.in" "conftest.in" >"conftest.tmp"
4461     mv "conftest.tmp" "conftest.in"
4462     cp "conftest.in" "conftest.nl"
4463     $as_echo 'GREP' >> "conftest.nl"
4464     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4465     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4466     as_fn_arith $ac_count + 1 && ac_count=$as_val
4467     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4468       # Best one so far, save it but keep looking for a better one
4469       ac_cv_path_GREP="$ac_path_GREP"
4470       ac_path_GREP_max=$ac_count
4471     fi
4472     # 10*(2^10) chars as input seems more than enough
4473     test $ac_count -gt 10 && break
4474   done
4475   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4476 esac
4477
4478       $ac_path_GREP_found && break 3
4479     done
4480   done
4481   done
4482 IFS=$as_save_IFS
4483   if test -z "$ac_cv_path_GREP"; then
4484     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4485   fi
4486 else
4487   ac_cv_path_GREP=$GREP
4488 fi
4489
4490 fi
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4492 $as_echo "$ac_cv_path_GREP" >&6; }
4493  GREP="$ac_cv_path_GREP"
4494
4495
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4497 $as_echo_n "checking for egrep... " >&6; }
4498 if ${ac_cv_path_EGREP+:} false; then :
4499   $as_echo_n "(cached) " >&6
4500 else
4501   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4502    then ac_cv_path_EGREP="$GREP -E"
4503    else
4504      if test -z "$EGREP"; then
4505   ac_path_EGREP_found=false
4506   # Loop through the user's path and test for each of PROGNAME-LIST
4507   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4509 do
4510   IFS=$as_save_IFS
4511   test -z "$as_dir" && as_dir=.
4512     for ac_prog in egrep; do
4513     for ac_exec_ext in '' $ac_executable_extensions; do
4514       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4515       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4516 # Check for GNU ac_path_EGREP and select it if it is found.
4517   # Check for GNU $ac_path_EGREP
4518 case `"$ac_path_EGREP" --version 2>&1` in
4519 *GNU*)
4520   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4521 *)
4522   ac_count=0
4523   $as_echo_n 0123456789 >"conftest.in"
4524   while :
4525   do
4526     cat "conftest.in" "conftest.in" >"conftest.tmp"
4527     mv "conftest.tmp" "conftest.in"
4528     cp "conftest.in" "conftest.nl"
4529     $as_echo 'EGREP' >> "conftest.nl"
4530     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4531     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4532     as_fn_arith $ac_count + 1 && ac_count=$as_val
4533     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4534       # Best one so far, save it but keep looking for a better one
4535       ac_cv_path_EGREP="$ac_path_EGREP"
4536       ac_path_EGREP_max=$ac_count
4537     fi
4538     # 10*(2^10) chars as input seems more than enough
4539     test $ac_count -gt 10 && break
4540   done
4541   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4542 esac
4543
4544       $ac_path_EGREP_found && break 3
4545     done
4546   done
4547   done
4548 IFS=$as_save_IFS
4549   if test -z "$ac_cv_path_EGREP"; then
4550     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4551   fi
4552 else
4553   ac_cv_path_EGREP=$EGREP
4554 fi
4555
4556    fi
4557 fi
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4559 $as_echo "$ac_cv_path_EGREP" >&6; }
4560  EGREP="$ac_cv_path_EGREP"
4561
4562
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4564 $as_echo_n "checking for ANSI C header files... " >&6; }
4565 if ${ac_cv_header_stdc+:} false; then :
4566   $as_echo_n "(cached) " >&6
4567 else
4568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h.  */
4570 #include <stdlib.h>
4571 #include <stdarg.h>
4572 #include <string.h>
4573 #include <float.h>
4574
4575 int
4576 main ()
4577 {
4578
4579   ;
4580   return 0;
4581 }
4582 _ACEOF
4583 if ac_fn_cxx_try_compile "$LINENO"; then :
4584   ac_cv_header_stdc=yes
4585 else
4586   ac_cv_header_stdc=no
4587 fi
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589
4590 if test $ac_cv_header_stdc = yes; then
4591   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h.  */
4594 #include <string.h>
4595
4596 _ACEOF
4597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4598   $EGREP "memchr" >/dev/null 2>&1; then :
4599
4600 else
4601   ac_cv_header_stdc=no
4602 fi
4603 rm -f conftest*
4604
4605 fi
4606
4607 if test $ac_cv_header_stdc = yes; then
4608   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h.  */
4611 #include <stdlib.h>
4612
4613 _ACEOF
4614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4615   $EGREP "free" >/dev/null 2>&1; then :
4616
4617 else
4618   ac_cv_header_stdc=no
4619 fi
4620 rm -f conftest*
4621
4622 fi
4623
4624 if test $ac_cv_header_stdc = yes; then
4625   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4626   if test "$cross_compiling" = yes; then :
4627   :
4628 else
4629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h.  */
4631 #include <ctype.h>
4632 #include <stdlib.h>
4633 #if ((' ' & 0x0FF) == 0x020)
4634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4636 #else
4637 # define ISLOWER(c) \
4638                    (('a' <= (c) && (c) <= 'i') \
4639                      || ('j' <= (c) && (c) <= 'r') \
4640                      || ('s' <= (c) && (c) <= 'z'))
4641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4642 #endif
4643
4644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4645 int
4646 main ()
4647 {
4648   int i;
4649   for (i = 0; i < 256; i++)
4650     if (XOR (islower (i), ISLOWER (i))
4651         || toupper (i) != TOUPPER (i))
4652       return 2;
4653   return 0;
4654 }
4655 _ACEOF
4656 if ac_fn_cxx_try_run "$LINENO"; then :
4657
4658 else
4659   ac_cv_header_stdc=no
4660 fi
4661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4662   conftest.$ac_objext conftest.beam conftest.$ac_ext
4663 fi
4664
4665 fi
4666 fi
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4668 $as_echo "$ac_cv_header_stdc" >&6; }
4669 if test $ac_cv_header_stdc = yes; then
4670
4671 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4672
4673 fi
4674
4675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4677                   inttypes.h stdint.h unistd.h
4678 do :
4679   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4680 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4681 "
4682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4683   cat >>confdefs.h <<_ACEOF
4684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4685 _ACEOF
4686
4687 fi
4688
4689 done
4690
4691
4692 ac_fn_cxx_check_header_mongrel "$LINENO" "g2.h" "ac_cv_header_g2_h" "$ac_includes_default"
4693 if test "x$ac_cv_header_g2_h" = xyes; then :
4694
4695 $as_echo "#define HAVE_LIBG2 1" >>confdefs.h
4696
4697 else
4698   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without support for graphical output. Install the g2 library that comes with the RNAforester distribution or download the latest version at http://g2.sourceforge.net/" >&5
4699 $as_echo "$as_me: WARNING: Compiling without support for graphical output. Install the g2 library that comes with the RNAforester distribution or download the latest version at http://g2.sourceforge.net/" >&2;}
4700 fi
4701
4702
4703
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4705 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4706 if ${ac_cv_c_const+:} false; then :
4707   $as_echo_n "(cached) " >&6
4708 else
4709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h.  */
4711
4712 int
4713 main ()
4714 {
4715 /* FIXME: Include the comments suggested by Paul. */
4716 #ifndef __cplusplus
4717   /* Ultrix mips cc rejects this.  */
4718   typedef int charset[2];
4719   const charset cs;
4720   /* SunOS 4.1.1 cc rejects this.  */
4721   char const *const *pcpcc;
4722   char **ppc;
4723   /* NEC SVR4.0.2 mips cc rejects this.  */
4724   struct point {int x, y;};
4725   static struct point const zero = {0,0};
4726   /* AIX XL C 1.02.0.0 rejects this.
4727      It does not let you subtract one const X* pointer from another in
4728      an arm of an if-expression whose if-part is not a constant
4729      expression */
4730   const char *g = "string";
4731   pcpcc = &g + (g ? g-g : 0);
4732   /* HPUX 7.0 cc rejects these. */
4733   ++pcpcc;
4734   ppc = (char**) pcpcc;
4735   pcpcc = (char const *const *) ppc;
4736   { /* SCO 3.2v4 cc rejects this.  */
4737     char *t;
4738     char const *s = 0 ? (char *) 0 : (char const *) 0;
4739
4740     *t++ = 0;
4741     if (s) return 0;
4742   }
4743   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4744     int x[] = {25, 17};
4745     const int *foo = &x[0];
4746     ++foo;
4747   }
4748   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4749     typedef const int *iptr;
4750     iptr p = 0;
4751     ++p;
4752   }
4753   { /* AIX XL C 1.02.0.0 rejects this saying
4754        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4755     struct s { int j; const int *ap[3]; };
4756     struct s *b; b->j = 5;
4757   }
4758   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4759     const int foo = 10;
4760     if (!foo) return 0;
4761   }
4762   return !cs[0] && !zero.x;
4763 #endif
4764
4765   ;
4766   return 0;
4767 }
4768 _ACEOF
4769 if ac_fn_cxx_try_compile "$LINENO"; then :
4770   ac_cv_c_const=yes
4771 else
4772   ac_cv_c_const=no
4773 fi
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 fi
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4777 $as_echo "$ac_cv_c_const" >&6; }
4778 if test $ac_cv_c_const = no; then
4779
4780 $as_echo "#define const /**/" >>confdefs.h
4781
4782 fi
4783
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4785 $as_echo_n "checking for inline... " >&6; }
4786 if ${ac_cv_c_inline+:} false; then :
4787   $as_echo_n "(cached) " >&6
4788 else
4789   ac_cv_c_inline=no
4790 for ac_kw in inline __inline__ __inline; do
4791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h.  */
4793 #ifndef __cplusplus
4794 typedef int foo_t;
4795 static $ac_kw foo_t static_foo () {return 0; }
4796 $ac_kw foo_t foo () {return 0; }
4797 #endif
4798
4799 _ACEOF
4800 if ac_fn_cxx_try_compile "$LINENO"; then :
4801   ac_cv_c_inline=$ac_kw
4802 fi
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804   test "$ac_cv_c_inline" != no && break
4805 done
4806
4807 fi
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4809 $as_echo "$ac_cv_c_inline" >&6; }
4810
4811 case $ac_cv_c_inline in
4812   inline | yes) ;;
4813   *)
4814     case $ac_cv_c_inline in
4815       no) ac_val=;;
4816       *) ac_val=$ac_cv_c_inline;;
4817     esac
4818     cat >>confdefs.h <<_ACEOF
4819 #ifndef __cplusplus
4820 #define inline $ac_val
4821 #endif
4822 _ACEOF
4823     ;;
4824 esac
4825
4826 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4827 if test "x$ac_cv_type_size_t" = xyes; then :
4828
4829 else
4830
4831 cat >>confdefs.h <<_ACEOF
4832 #define size_t unsigned int
4833 _ACEOF
4834
4835 fi
4836
4837
4838 CPPFLAGS="$save_CPPFLAGS -I../g2-0.70/include/ "
4839 LDFLAGS="-L../g2-0.70 ${LDFLAGS}"
4840
4841 if ${HAVE_LIBG2}; then
4842   LIBS="-lg2 ${LIBS}"
4843 fi
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853 subdirs="$subdirs g2-0.70"
4854
4855 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
4856
4857 cat >confcache <<\_ACEOF
4858 # This file is a shell script that caches the results of configure
4859 # tests run on this system so they can be shared between configure
4860 # scripts and configure runs, see configure's option --config-cache.
4861 # It is not useful on other systems.  If it contains results you don't
4862 # want to keep, you may remove or edit it.
4863 #
4864 # config.status only pays attention to the cache file if you give it
4865 # the --recheck option to rerun configure.
4866 #
4867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4869 # following values.
4870
4871 _ACEOF
4872
4873 # The following way of writing the cache mishandles newlines in values,
4874 # but we know of no workaround that is simple, portable, and efficient.
4875 # So, we kill variables containing newlines.
4876 # Ultrix sh set writes to stderr and can't be redirected directly,
4877 # and sets the high bit in the cache file unless we assign to the vars.
4878 (
4879   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4880     eval ac_val=\$$ac_var
4881     case $ac_val in #(
4882     *${as_nl}*)
4883       case $ac_var in #(
4884       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4886       esac
4887       case $ac_var in #(
4888       _ | IFS | as_nl) ;; #(
4889       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4890       *) { eval $ac_var=; unset $ac_var;} ;;
4891       esac ;;
4892     esac
4893   done
4894
4895   (set) 2>&1 |
4896     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4897     *${as_nl}ac_space=\ *)
4898       # `set' does not quote correctly, so add quotes: double-quote
4899       # substitution turns \\\\ into \\, and sed turns \\ into \.
4900       sed -n \
4901         "s/'/'\\\\''/g;
4902           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4903       ;; #(
4904     *)
4905       # `set' quotes correctly as required by POSIX, so do not add quotes.
4906       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4907       ;;
4908     esac |
4909     sort
4910 ) |
4911   sed '
4912      /^ac_cv_env_/b end
4913      t clear
4914      :clear
4915      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4916      t end
4917      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4918      :end' >>confcache
4919 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4920   if test -w "$cache_file"; then
4921     if test "x$cache_file" != "x/dev/null"; then
4922       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4923 $as_echo "$as_me: updating cache $cache_file" >&6;}
4924       if test ! -f "$cache_file" || test -h "$cache_file"; then
4925         cat confcache >"$cache_file"
4926       else
4927         case $cache_file in #(
4928         */* | ?:*)
4929           mv -f confcache "$cache_file"$$ &&
4930           mv -f "$cache_file"$$ "$cache_file" ;; #(
4931         *)
4932           mv -f confcache "$cache_file" ;;
4933         esac
4934       fi
4935     fi
4936   else
4937     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4939   fi
4940 fi
4941 rm -f confcache
4942
4943 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4944 # Let make expand exec_prefix.
4945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4946
4947 DEFS=-DHAVE_CONFIG_H
4948
4949 ac_libobjs=
4950 ac_ltlibobjs=
4951 U=
4952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4953   # 1. Remove the extension, and $U if already installed.
4954   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4955   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4956   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4957   #    will be set to the directory where LIBOBJS objects are built.
4958   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4959   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4960 done
4961 LIBOBJS=$ac_libobjs
4962
4963 LTLIBOBJS=$ac_ltlibobjs
4964
4965
4966  if test -n "$EXEEXT"; then
4967   am__EXEEXT_TRUE=
4968   am__EXEEXT_FALSE='#'
4969 else
4970   am__EXEEXT_TRUE='#'
4971   am__EXEEXT_FALSE=
4972 fi
4973
4974 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4975   as_fn_error $? "conditional \"AMDEP\" was never defined.
4976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4977 fi
4978 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4979   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4981 fi
4982 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4983   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4985 fi
4986
4987 : "${CONFIG_STATUS=./config.status}"
4988 ac_write_fail=0
4989 ac_clean_files_save=$ac_clean_files
4990 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4992 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4993 as_write_fail=0
4994 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4995 #! $SHELL
4996 # Generated by $as_me.
4997 # Run this file to recreate the current configuration.
4998 # Compiler output produced by configure, useful for debugging
4999 # configure, is in config.log if it exists.
5000
5001 debug=false
5002 ac_cs_recheck=false
5003 ac_cs_silent=false
5004
5005 SHELL=\${CONFIG_SHELL-$SHELL}
5006 export SHELL
5007 _ASEOF
5008 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5009 ## -------------------- ##
5010 ## M4sh Initialization. ##
5011 ## -------------------- ##
5012
5013 # Be more Bourne compatible
5014 DUALCASE=1; export DUALCASE # for MKS sh
5015 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5016   emulate sh
5017   NULLCMD=:
5018   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5019   # is contrary to our usage.  Disable this feature.
5020   alias -g '${1+"$@"}'='"$@"'
5021   setopt NO_GLOB_SUBST
5022 else
5023   case `(set -o) 2>/dev/null` in #(
5024   *posix*) :
5025     set -o posix ;; #(
5026   *) :
5027      ;;
5028 esac
5029 fi
5030
5031
5032 as_nl='
5033 '
5034 export as_nl
5035 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5036 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5038 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5039 # Prefer a ksh shell builtin over an external printf program on Solaris,
5040 # but without wasting forks for bash or zsh.
5041 if test -z "$BASH_VERSION$ZSH_VERSION" \
5042     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5043   as_echo='print -r --'
5044   as_echo_n='print -rn --'
5045 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5046   as_echo='printf %s\n'
5047   as_echo_n='printf %s'
5048 else
5049   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5050     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5051     as_echo_n='/usr/ucb/echo -n'
5052   else
5053     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5054     as_echo_n_body='eval
5055       arg=$1;
5056       case $arg in #(
5057       *"$as_nl"*)
5058         expr "X$arg" : "X\\(.*\\)$as_nl";
5059         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5060       esac;
5061       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5062     '
5063     export as_echo_n_body
5064     as_echo_n='sh -c $as_echo_n_body as_echo'
5065   fi
5066   export as_echo_body
5067   as_echo='sh -c $as_echo_body as_echo'
5068 fi
5069
5070 # The user is always right.
5071 if test "${PATH_SEPARATOR+set}" != set; then
5072   PATH_SEPARATOR=:
5073   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5074     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5075       PATH_SEPARATOR=';'
5076   }
5077 fi
5078
5079
5080 # IFS
5081 # We need space, tab and new line, in precisely that order.  Quoting is
5082 # there to prevent editors from complaining about space-tab.
5083 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5084 # splitting by setting IFS to empty value.)
5085 IFS=" ""        $as_nl"
5086
5087 # Find who we are.  Look in the path if we contain no directory separator.
5088 as_myself=
5089 case $0 in #((
5090   *[\\/]* ) as_myself=$0 ;;
5091   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5093 do
5094   IFS=$as_save_IFS
5095   test -z "$as_dir" && as_dir=.
5096     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5097   done
5098 IFS=$as_save_IFS
5099
5100      ;;
5101 esac
5102 # We did not find ourselves, most probably we were run as `sh COMMAND'
5103 # in which case we are not to be found in the path.
5104 if test "x$as_myself" = x; then
5105   as_myself=$0
5106 fi
5107 if test ! -f "$as_myself"; then
5108   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5109   exit 1
5110 fi
5111
5112 # Unset variables that we do not need and which cause bugs (e.g. in
5113 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5114 # suppresses any "Segmentation fault" message there.  '((' could
5115 # trigger a bug in pdksh 5.2.14.
5116 for as_var in BASH_ENV ENV MAIL MAILPATH
5117 do eval test x\${$as_var+set} = xset \
5118   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5119 done
5120 PS1='$ '
5121 PS2='> '
5122 PS4='+ '
5123
5124 # NLS nuisances.
5125 LC_ALL=C
5126 export LC_ALL
5127 LANGUAGE=C
5128 export LANGUAGE
5129
5130 # CDPATH.
5131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5132
5133
5134 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5135 # ----------------------------------------
5136 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5137 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5138 # script with STATUS, using 1 if that was 0.
5139 as_fn_error ()
5140 {
5141   as_status=$1; test $as_status -eq 0 && as_status=1
5142   if test "$4"; then
5143     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5144     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5145   fi
5146   $as_echo "$as_me: error: $2" >&2
5147   as_fn_exit $as_status
5148 } # as_fn_error
5149
5150
5151 # as_fn_set_status STATUS
5152 # -----------------------
5153 # Set $? to STATUS, without forking.
5154 as_fn_set_status ()
5155 {
5156   return $1
5157 } # as_fn_set_status
5158
5159 # as_fn_exit STATUS
5160 # -----------------
5161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5162 as_fn_exit ()
5163 {
5164   set +e
5165   as_fn_set_status $1
5166   exit $1
5167 } # as_fn_exit
5168
5169 # as_fn_unset VAR
5170 # ---------------
5171 # Portably unset VAR.
5172 as_fn_unset ()
5173 {
5174   { eval $1=; unset $1;}
5175 }
5176 as_unset=as_fn_unset
5177 # as_fn_append VAR VALUE
5178 # ----------------------
5179 # Append the text in VALUE to the end of the definition contained in VAR. Take
5180 # advantage of any shell optimizations that allow amortized linear growth over
5181 # repeated appends, instead of the typical quadratic growth present in naive
5182 # implementations.
5183 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5184   eval 'as_fn_append ()
5185   {
5186     eval $1+=\$2
5187   }'
5188 else
5189   as_fn_append ()
5190   {
5191     eval $1=\$$1\$2
5192   }
5193 fi # as_fn_append
5194
5195 # as_fn_arith ARG...
5196 # ------------------
5197 # Perform arithmetic evaluation on the ARGs, and store the result in the
5198 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5199 # must be portable across $(()) and expr.
5200 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5201   eval 'as_fn_arith ()
5202   {
5203     as_val=$(( $* ))
5204   }'
5205 else
5206   as_fn_arith ()
5207   {
5208     as_val=`expr "$@" || test $? -eq 1`
5209   }
5210 fi # as_fn_arith
5211
5212
5213 if expr a : '\(a\)' >/dev/null 2>&1 &&
5214    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5215   as_expr=expr
5216 else
5217   as_expr=false
5218 fi
5219
5220 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5221   as_basename=basename
5222 else
5223   as_basename=false
5224 fi
5225
5226 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5227   as_dirname=dirname
5228 else
5229   as_dirname=false
5230 fi
5231
5232 as_me=`$as_basename -- "$0" ||
5233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5234          X"$0" : 'X\(//\)$' \| \
5235          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5236 $as_echo X/"$0" |
5237     sed '/^.*\/\([^/][^/]*\)\/*$/{
5238             s//\1/
5239             q
5240           }
5241           /^X\/\(\/\/\)$/{
5242             s//\1/
5243             q
5244           }
5245           /^X\/\(\/\).*/{
5246             s//\1/
5247             q
5248           }
5249           s/.*/./; q'`
5250
5251 # Avoid depending upon Character Ranges.
5252 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5253 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5254 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5255 as_cr_digits='0123456789'
5256 as_cr_alnum=$as_cr_Letters$as_cr_digits
5257
5258 ECHO_C= ECHO_N= ECHO_T=
5259 case `echo -n x` in #(((((
5260 -n*)
5261   case `echo 'xy\c'` in
5262   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5263   xy)  ECHO_C='\c';;
5264   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5265        ECHO_T=' ';;
5266   esac;;
5267 *)
5268   ECHO_N='-n';;
5269 esac
5270
5271 rm -f conf$$ conf$$.exe conf$$.file
5272 if test -d conf$$.dir; then
5273   rm -f conf$$.dir/conf$$.file
5274 else
5275   rm -f conf$$.dir
5276   mkdir conf$$.dir 2>/dev/null
5277 fi
5278 if (echo >conf$$.file) 2>/dev/null; then
5279   if ln -s conf$$.file conf$$ 2>/dev/null; then
5280     as_ln_s='ln -s'
5281     # ... but there are two gotchas:
5282     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5283     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5284     # In both cases, we have to default to `cp -p'.
5285     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5286       as_ln_s='cp -p'
5287   elif ln conf$$.file conf$$ 2>/dev/null; then
5288     as_ln_s=ln
5289   else
5290     as_ln_s='cp -p'
5291   fi
5292 else
5293   as_ln_s='cp -p'
5294 fi
5295 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5296 rmdir conf$$.dir 2>/dev/null
5297
5298
5299 # as_fn_mkdir_p
5300 # -------------
5301 # Create "$as_dir" as a directory, including parents if necessary.
5302 as_fn_mkdir_p ()
5303 {
5304
5305   case $as_dir in #(
5306   -*) as_dir=./$as_dir;;
5307   esac
5308   test -d "$as_dir" || eval $as_mkdir_p || {
5309     as_dirs=
5310     while :; do
5311       case $as_dir in #(
5312       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5313       *) as_qdir=$as_dir;;
5314       esac
5315       as_dirs="'$as_qdir' $as_dirs"
5316       as_dir=`$as_dirname -- "$as_dir" ||
5317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5318          X"$as_dir" : 'X\(//\)[^/]' \| \
5319          X"$as_dir" : 'X\(//\)$' \| \
5320          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5321 $as_echo X"$as_dir" |
5322     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5323             s//\1/
5324             q
5325           }
5326           /^X\(\/\/\)[^/].*/{
5327             s//\1/
5328             q
5329           }
5330           /^X\(\/\/\)$/{
5331             s//\1/
5332             q
5333           }
5334           /^X\(\/\).*/{
5335             s//\1/
5336             q
5337           }
5338           s/.*/./; q'`
5339       test -d "$as_dir" && break
5340     done
5341     test -z "$as_dirs" || eval "mkdir $as_dirs"
5342   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5343
5344
5345 } # as_fn_mkdir_p
5346 if mkdir -p . 2>/dev/null; then
5347   as_mkdir_p='mkdir -p "$as_dir"'
5348 else
5349   test -d ./-p && rmdir ./-p
5350   as_mkdir_p=false
5351 fi
5352
5353 if test -x / >/dev/null 2>&1; then
5354   as_test_x='test -x'
5355 else
5356   if ls -dL / >/dev/null 2>&1; then
5357     as_ls_L_option=L
5358   else
5359     as_ls_L_option=
5360   fi
5361   as_test_x='
5362     eval sh -c '\''
5363       if test -d "$1"; then
5364         test -d "$1/.";
5365       else
5366         case $1 in #(
5367         -*)set "./$1";;
5368         esac;
5369         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5370         ???[sx]*):;;*)false;;esac;fi
5371     '\'' sh
5372   '
5373 fi
5374 as_executable_p=$as_test_x
5375
5376 # Sed expression to map a string onto a valid CPP name.
5377 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5378
5379 # Sed expression to map a string onto a valid variable name.
5380 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5381
5382
5383 exec 6>&1
5384 ## ----------------------------------- ##
5385 ## Main body of $CONFIG_STATUS script. ##
5386 ## ----------------------------------- ##
5387 _ASEOF
5388 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5389
5390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5391 # Save the log message, to keep $0 and so on meaningful, and to
5392 # report actual input values of CONFIG_FILES etc. instead of their
5393 # values after options handling.
5394 ac_log="
5395 This file was extended by RNAforester $as_me 1.5, which was
5396 generated by GNU Autoconf 2.68.  Invocation command line was
5397
5398   CONFIG_FILES    = $CONFIG_FILES
5399   CONFIG_HEADERS  = $CONFIG_HEADERS
5400   CONFIG_LINKS    = $CONFIG_LINKS
5401   CONFIG_COMMANDS = $CONFIG_COMMANDS
5402   $ $0 $@
5403
5404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5405 "
5406
5407 _ACEOF
5408
5409 case $ac_config_files in *"
5410 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5411 esac
5412
5413 case $ac_config_headers in *"
5414 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5415 esac
5416
5417
5418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5419 # Files that config.status was made for.
5420 config_files="$ac_config_files"
5421 config_headers="$ac_config_headers"
5422 config_commands="$ac_config_commands"
5423
5424 _ACEOF
5425
5426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5427 ac_cs_usage="\
5428 \`$as_me' instantiates files and other configuration actions
5429 from templates according to the current configuration.  Unless the files
5430 and actions are specified as TAGs, all are instantiated by default.
5431
5432 Usage: $0 [OPTION]... [TAG]...
5433
5434   -h, --help       print this help, then exit
5435   -V, --version    print version number and configuration settings, then exit
5436       --config     print configuration, then exit
5437   -q, --quiet, --silent
5438                    do not print progress messages
5439   -d, --debug      don't remove temporary files
5440       --recheck    update $as_me by reconfiguring in the same conditions
5441       --file=FILE[:TEMPLATE]
5442                    instantiate the configuration file FILE
5443       --header=FILE[:TEMPLATE]
5444                    instantiate the configuration header FILE
5445
5446 Configuration files:
5447 $config_files
5448
5449 Configuration headers:
5450 $config_headers
5451
5452 Configuration commands:
5453 $config_commands
5454
5455 Report bugs to <mhoechsm@techfak.uni-bielefeld.de>."
5456
5457 _ACEOF
5458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5459 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5460 ac_cs_version="\\
5461 RNAforester config.status 1.5
5462 configured by $0, generated by GNU Autoconf 2.68,
5463   with options \\"\$ac_cs_config\\"
5464
5465 Copyright (C) 2010 Free Software Foundation, Inc.
5466 This config.status script is free software; the Free Software Foundation
5467 gives unlimited permission to copy, distribute and modify it."
5468
5469 ac_pwd='$ac_pwd'
5470 srcdir='$srcdir'
5471 INSTALL='$INSTALL'
5472 MKDIR_P='$MKDIR_P'
5473 AWK='$AWK'
5474 test -n "\$AWK" || AWK=awk
5475 _ACEOF
5476
5477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5478 # The default lists apply if the user does not specify any file.
5479 ac_need_defaults=:
5480 while test $# != 0
5481 do
5482   case $1 in
5483   --*=?*)
5484     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5485     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5486     ac_shift=:
5487     ;;
5488   --*=)
5489     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5490     ac_optarg=
5491     ac_shift=:
5492     ;;
5493   *)
5494     ac_option=$1
5495     ac_optarg=$2
5496     ac_shift=shift
5497     ;;
5498   esac
5499
5500   case $ac_option in
5501   # Handling of the options.
5502   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5503     ac_cs_recheck=: ;;
5504   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5505     $as_echo "$ac_cs_version"; exit ;;
5506   --config | --confi | --conf | --con | --co | --c )
5507     $as_echo "$ac_cs_config"; exit ;;
5508   --debug | --debu | --deb | --de | --d | -d )
5509     debug=: ;;
5510   --file | --fil | --fi | --f )
5511     $ac_shift
5512     case $ac_optarg in
5513     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5514     '') as_fn_error $? "missing file argument" ;;
5515     esac
5516     as_fn_append CONFIG_FILES " '$ac_optarg'"
5517     ac_need_defaults=false;;
5518   --header | --heade | --head | --hea )
5519     $ac_shift
5520     case $ac_optarg in
5521     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5522     esac
5523     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5524     ac_need_defaults=false;;
5525   --he | --h)
5526     # Conflict between --help and --header
5527     as_fn_error $? "ambiguous option: \`$1'
5528 Try \`$0 --help' for more information.";;
5529   --help | --hel | -h )
5530     $as_echo "$ac_cs_usage"; exit ;;
5531   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5532   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5533     ac_cs_silent=: ;;
5534
5535   # This is an error.
5536   -*) as_fn_error $? "unrecognized option: \`$1'
5537 Try \`$0 --help' for more information." ;;
5538
5539   *) as_fn_append ac_config_targets " $1"
5540      ac_need_defaults=false ;;
5541
5542   esac
5543   shift
5544 done
5545
5546 ac_configure_extra_args=
5547
5548 if $ac_cs_silent; then
5549   exec 6>/dev/null
5550   ac_configure_extra_args="$ac_configure_extra_args --silent"
5551 fi
5552
5553 _ACEOF
5554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5555 if \$ac_cs_recheck; then
5556   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5557   shift
5558   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5559   CONFIG_SHELL='$SHELL'
5560   export CONFIG_SHELL
5561   exec "\$@"
5562 fi
5563
5564 _ACEOF
5565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5566 exec 5>>config.log
5567 {
5568   echo
5569   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5570 ## Running $as_me. ##
5571 _ASBOX
5572   $as_echo "$ac_log"
5573 } >&5
5574
5575 _ACEOF
5576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5577 #
5578 # INIT-COMMANDS
5579 #
5580 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5581
5582 _ACEOF
5583
5584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5585
5586 # Handling of arguments.
5587 for ac_config_target in $ac_config_targets
5588 do
5589   case $ac_config_target in
5590     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5591     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5592     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5593     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5594     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5595
5596   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5597   esac
5598 done
5599
5600
5601 # If the user did not use the arguments to specify the items to instantiate,
5602 # then the envvar interface is used.  Set only those that are not.
5603 # We use the long form for the default assignment because of an extremely
5604 # bizarre bug on SunOS 4.1.3.
5605 if $ac_need_defaults; then
5606   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5607   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5608   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5609 fi
5610
5611 # Have a temporary directory for convenience.  Make it in the build tree
5612 # simply because there is no reason against having it here, and in addition,
5613 # creating and moving files from /tmp can sometimes cause problems.
5614 # Hook for its removal unless debugging.
5615 # Note that there is a small window in which the directory will not be cleaned:
5616 # after its creation but before its name has been assigned to `$tmp'.
5617 $debug ||
5618 {
5619   tmp= ac_tmp=
5620   trap 'exit_status=$?
5621   : "${ac_tmp:=$tmp}"
5622   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5623 ' 0
5624   trap 'as_fn_exit 1' 1 2 13 15
5625 }
5626 # Create a (secure) tmp directory for tmp files.
5627
5628 {
5629   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5630   test -d "$tmp"
5631 }  ||
5632 {
5633   tmp=./conf$$-$RANDOM
5634   (umask 077 && mkdir "$tmp")
5635 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5636 ac_tmp=$tmp
5637
5638 # Set up the scripts for CONFIG_FILES section.
5639 # No need to generate them if there are no CONFIG_FILES.
5640 # This happens for instance with `./config.status config.h'.
5641 if test -n "$CONFIG_FILES"; then
5642
5643
5644 ac_cr=`echo X | tr X '\015'`
5645 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5646 # But we know of no other shell where ac_cr would be empty at this
5647 # point, so we can use a bashism as a fallback.
5648 if test "x$ac_cr" = x; then
5649   eval ac_cr=\$\'\\r\'
5650 fi
5651 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5652 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5653   ac_cs_awk_cr='\\r'
5654 else
5655   ac_cs_awk_cr=$ac_cr
5656 fi
5657
5658 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5659 _ACEOF
5660
5661
5662 {
5663   echo "cat >conf$$subs.awk <<_ACEOF" &&
5664   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5665   echo "_ACEOF"
5666 } >conf$$subs.sh ||
5667   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5668 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5669 ac_delim='%!_!# '
5670 for ac_last_try in false false false false false :; do
5671   . ./conf$$subs.sh ||
5672     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5673
5674   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5675   if test $ac_delim_n = $ac_delim_num; then
5676     break
5677   elif $ac_last_try; then
5678     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5679   else
5680     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5681   fi
5682 done
5683 rm -f conf$$subs.sh
5684
5685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5686 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5687 _ACEOF
5688 sed -n '
5689 h
5690 s/^/S["/; s/!.*/"]=/
5691 p
5692 g
5693 s/^[^!]*!//
5694 :repl
5695 t repl
5696 s/'"$ac_delim"'$//
5697 t delim
5698 :nl
5699 h
5700 s/\(.\{148\}\)..*/\1/
5701 t more1
5702 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5703 p
5704 n
5705 b repl
5706 :more1
5707 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5708 p
5709 g
5710 s/.\{148\}//
5711 t nl
5712 :delim
5713 h
5714 s/\(.\{148\}\)..*/\1/
5715 t more2
5716 s/["\\]/\\&/g; s/^/"/; s/$/"/
5717 p
5718 b
5719 :more2
5720 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5721 p
5722 g
5723 s/.\{148\}//
5724 t delim
5725 ' <conf$$subs.awk | sed '
5726 /^[^""]/{
5727   N
5728   s/\n//
5729 }
5730 ' >>$CONFIG_STATUS || ac_write_fail=1
5731 rm -f conf$$subs.awk
5732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5733 _ACAWK
5734 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5735   for (key in S) S_is_set[key] = 1
5736   FS = "\a"
5737
5738 }
5739 {
5740   line = $ 0
5741   nfields = split(line, field, "@")
5742   substed = 0
5743   len = length(field[1])
5744   for (i = 2; i < nfields; i++) {
5745     key = field[i]
5746     keylen = length(key)
5747     if (S_is_set[key]) {
5748       value = S[key]
5749       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5750       len += length(value) + length(field[++i])
5751       substed = 1
5752     } else
5753       len += 1 + keylen
5754   }
5755
5756   print line
5757 }
5758
5759 _ACAWK
5760 _ACEOF
5761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5762 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5763   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5764 else
5765   cat
5766 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5767   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5768 _ACEOF
5769
5770 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5771 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5772 # trailing colons and then remove the whole line if VPATH becomes empty
5773 # (actually we leave an empty line to preserve line numbers).
5774 if test "x$srcdir" = x.; then
5775   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5776 h
5777 s///
5778 s/^/:/
5779 s/[      ]*$/:/
5780 s/:\$(srcdir):/:/g
5781 s/:\${srcdir}:/:/g
5782 s/:@srcdir@:/:/g
5783 s/^:*//
5784 s/:*$//
5785 x
5786 s/\(=[   ]*\).*/\1/
5787 G
5788 s/\n//
5789 s/^[^=]*=[       ]*$//
5790 }'
5791 fi
5792
5793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5794 fi # test -n "$CONFIG_FILES"
5795
5796 # Set up the scripts for CONFIG_HEADERS section.
5797 # No need to generate them if there are no CONFIG_HEADERS.
5798 # This happens for instance with `./config.status Makefile'.
5799 if test -n "$CONFIG_HEADERS"; then
5800 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5801 BEGIN {
5802 _ACEOF
5803
5804 # Transform confdefs.h into an awk script `defines.awk', embedded as
5805 # here-document in config.status, that substitutes the proper values into
5806 # config.h.in to produce config.h.
5807
5808 # Create a delimiter string that does not exist in confdefs.h, to ease
5809 # handling of long lines.
5810 ac_delim='%!_!# '
5811 for ac_last_try in false false :; do
5812   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5813   if test -z "$ac_tt"; then
5814     break
5815   elif $ac_last_try; then
5816     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5817   else
5818     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5819   fi
5820 done
5821
5822 # For the awk script, D is an array of macro values keyed by name,
5823 # likewise P contains macro parameters if any.  Preserve backslash
5824 # newline sequences.
5825
5826 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5827 sed -n '
5828 s/.\{148\}/&'"$ac_delim"'/g
5829 t rset
5830 :rset
5831 s/^[     ]*#[    ]*define[       ][      ]*/ /
5832 t def
5833 d
5834 :def
5835 s/\\$//
5836 t bsnl
5837 s/["\\]/\\&/g
5838 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5839 D["\1"]=" \3"/p
5840 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5841 d
5842 :bsnl
5843 s/["\\]/\\&/g
5844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5845 D["\1"]=" \3\\\\\\n"\\/p
5846 t cont
5847 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5848 t cont
5849 d
5850 :cont
5851 n
5852 s/.\{148\}/&'"$ac_delim"'/g
5853 t clear
5854 :clear
5855 s/\\$//
5856 t bsnlc
5857 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5858 d
5859 :bsnlc
5860 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5861 b cont
5862 ' <confdefs.h | sed '
5863 s/'"$ac_delim"'/"\\\
5864 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5865
5866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5867   for (key in D) D_is_set[key] = 1
5868   FS = "\a"
5869 }
5870 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5871   line = \$ 0
5872   split(line, arg, " ")
5873   if (arg[1] == "#") {
5874     defundef = arg[2]
5875     mac1 = arg[3]
5876   } else {
5877     defundef = substr(arg[1], 2)
5878     mac1 = arg[2]
5879   }
5880   split(mac1, mac2, "(") #)
5881   macro = mac2[1]
5882   prefix = substr(line, 1, index(line, defundef) - 1)
5883   if (D_is_set[macro]) {
5884     # Preserve the white space surrounding the "#".
5885     print prefix "define", macro P[macro] D[macro]
5886     next
5887   } else {
5888     # Replace #undef with comments.  This is necessary, for example,
5889     # in the case of _POSIX_SOURCE, which is predefined and required
5890     # on some systems where configure will not decide to define it.
5891     if (defundef == "undef") {
5892       print "/*", prefix defundef, macro, "*/"
5893       next
5894     }
5895   }
5896 }
5897 { print }
5898 _ACAWK
5899 _ACEOF
5900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5901   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5902 fi # test -n "$CONFIG_HEADERS"
5903
5904
5905 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5906 shift
5907 for ac_tag
5908 do
5909   case $ac_tag in
5910   :[FHLC]) ac_mode=$ac_tag; continue;;
5911   esac
5912   case $ac_mode$ac_tag in
5913   :[FHL]*:*);;
5914   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5915   :[FH]-) ac_tag=-:-;;
5916   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5917   esac
5918   ac_save_IFS=$IFS
5919   IFS=:
5920   set x $ac_tag
5921   IFS=$ac_save_IFS
5922   shift
5923   ac_file=$1
5924   shift
5925
5926   case $ac_mode in
5927   :L) ac_source=$1;;
5928   :[FH])
5929     ac_file_inputs=
5930     for ac_f
5931     do
5932       case $ac_f in
5933       -) ac_f="$ac_tmp/stdin";;
5934       *) # Look for the file first in the build tree, then in the source tree
5935          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5936          # because $ac_f cannot contain `:'.
5937          test -f "$ac_f" ||
5938            case $ac_f in
5939            [\\/$]*) false;;
5940            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5941            esac ||
5942            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5943       esac
5944       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5945       as_fn_append ac_file_inputs " '$ac_f'"
5946     done
5947
5948     # Let's still pretend it is `configure' which instantiates (i.e., don't
5949     # use $as_me), people would be surprised to read:
5950     #    /* config.h.  Generated by config.status.  */
5951     configure_input='Generated from '`
5952           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5953         `' by configure.'
5954     if test x"$ac_file" != x-; then
5955       configure_input="$ac_file.  $configure_input"
5956       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5957 $as_echo "$as_me: creating $ac_file" >&6;}
5958     fi
5959     # Neutralize special characters interpreted by sed in replacement strings.
5960     case $configure_input in #(
5961     *\&* | *\|* | *\\* )
5962        ac_sed_conf_input=`$as_echo "$configure_input" |
5963        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5964     *) ac_sed_conf_input=$configure_input;;
5965     esac
5966
5967     case $ac_tag in
5968     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5969       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5970     esac
5971     ;;
5972   esac
5973
5974   ac_dir=`$as_dirname -- "$ac_file" ||
5975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5976          X"$ac_file" : 'X\(//\)[^/]' \| \
5977          X"$ac_file" : 'X\(//\)$' \| \
5978          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5979 $as_echo X"$ac_file" |
5980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5981             s//\1/
5982             q
5983           }
5984           /^X\(\/\/\)[^/].*/{
5985             s//\1/
5986             q
5987           }
5988           /^X\(\/\/\)$/{
5989             s//\1/
5990             q
5991           }
5992           /^X\(\/\).*/{
5993             s//\1/
5994             q
5995           }
5996           s/.*/./; q'`
5997   as_dir="$ac_dir"; as_fn_mkdir_p
5998   ac_builddir=.
5999
6000 case "$ac_dir" in
6001 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6002 *)
6003   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6004   # A ".." for each directory in $ac_dir_suffix.
6005   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6006   case $ac_top_builddir_sub in
6007   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6008   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6009   esac ;;
6010 esac
6011 ac_abs_top_builddir=$ac_pwd
6012 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6013 # for backward compatibility:
6014 ac_top_builddir=$ac_top_build_prefix
6015
6016 case $srcdir in
6017   .)  # We are building in place.
6018     ac_srcdir=.
6019     ac_top_srcdir=$ac_top_builddir_sub
6020     ac_abs_top_srcdir=$ac_pwd ;;
6021   [\\/]* | ?:[\\/]* )  # Absolute name.
6022     ac_srcdir=$srcdir$ac_dir_suffix;
6023     ac_top_srcdir=$srcdir
6024     ac_abs_top_srcdir=$srcdir ;;
6025   *) # Relative name.
6026     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6027     ac_top_srcdir=$ac_top_build_prefix$srcdir
6028     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6029 esac
6030 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6031
6032
6033   case $ac_mode in
6034   :F)
6035   #
6036   # CONFIG_FILE
6037   #
6038
6039   case $INSTALL in
6040   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6041   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6042   esac
6043   ac_MKDIR_P=$MKDIR_P
6044   case $MKDIR_P in
6045   [\\/$]* | ?:[\\/]* ) ;;
6046   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6047   esac
6048 _ACEOF
6049
6050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6051 # If the template does not know about datarootdir, expand it.
6052 # FIXME: This hack should be removed a few years after 2.60.
6053 ac_datarootdir_hack=; ac_datarootdir_seen=
6054 ac_sed_dataroot='
6055 /datarootdir/ {
6056   p
6057   q
6058 }
6059 /@datadir@/p
6060 /@docdir@/p
6061 /@infodir@/p
6062 /@localedir@/p
6063 /@mandir@/p'
6064 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6065 *datarootdir*) ac_datarootdir_seen=yes;;
6066 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6068 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6069 _ACEOF
6070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6071   ac_datarootdir_hack='
6072   s&@datadir@&$datadir&g
6073   s&@docdir@&$docdir&g
6074   s&@infodir@&$infodir&g
6075   s&@localedir@&$localedir&g
6076   s&@mandir@&$mandir&g
6077   s&\\\${datarootdir}&$datarootdir&g' ;;
6078 esac
6079 _ACEOF
6080
6081 # Neutralize VPATH when `$srcdir' = `.'.
6082 # Shell code in configure.ac might set extrasub.
6083 # FIXME: do we really want to maintain this feature?
6084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6085 ac_sed_extra="$ac_vpsub
6086 $extrasub
6087 _ACEOF
6088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6089 :t
6090 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6091 s|@configure_input@|$ac_sed_conf_input|;t t
6092 s&@top_builddir@&$ac_top_builddir_sub&;t t
6093 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6094 s&@srcdir@&$ac_srcdir&;t t
6095 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6096 s&@top_srcdir@&$ac_top_srcdir&;t t
6097 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6098 s&@builddir@&$ac_builddir&;t t
6099 s&@abs_builddir@&$ac_abs_builddir&;t t
6100 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6101 s&@INSTALL@&$ac_INSTALL&;t t
6102 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6103 $ac_datarootdir_hack
6104 "
6105 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6106   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6107
6108 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6109   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6110   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
6111       "$ac_tmp/out"`; test -z "$ac_out"; } &&
6112   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6113 which seems to be undefined.  Please make sure it is defined" >&5
6114 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6115 which seems to be undefined.  Please make sure it is defined" >&2;}
6116
6117   rm -f "$ac_tmp/stdin"
6118   case $ac_file in
6119   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6120   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6121   esac \
6122   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6123  ;;
6124   :H)
6125   #
6126   # CONFIG_HEADER
6127   #
6128   if test x"$ac_file" != x-; then
6129     {
6130       $as_echo "/* $configure_input  */" \
6131       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6132     } >"$ac_tmp/config.h" \
6133       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6134     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6135       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6136 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6137     else
6138       rm -f "$ac_file"
6139       mv "$ac_tmp/config.h" "$ac_file" \
6140         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6141     fi
6142   else
6143     $as_echo "/* $configure_input  */" \
6144       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6145       || as_fn_error $? "could not create -" "$LINENO" 5
6146   fi
6147 # Compute "$ac_file"'s index in $config_headers.
6148 _am_arg="$ac_file"
6149 _am_stamp_count=1
6150 for _am_header in $config_headers :; do
6151   case $_am_header in
6152     $_am_arg | $_am_arg:* )
6153       break ;;
6154     * )
6155       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6156   esac
6157 done
6158 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6159 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6160          X"$_am_arg" : 'X\(//\)[^/]' \| \
6161          X"$_am_arg" : 'X\(//\)$' \| \
6162          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6163 $as_echo X"$_am_arg" |
6164     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6165             s//\1/
6166             q
6167           }
6168           /^X\(\/\/\)[^/].*/{
6169             s//\1/
6170             q
6171           }
6172           /^X\(\/\/\)$/{
6173             s//\1/
6174             q
6175           }
6176           /^X\(\/\).*/{
6177             s//\1/
6178             q
6179           }
6180           s/.*/./; q'`/stamp-h$_am_stamp_count
6181  ;;
6182
6183   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6184 $as_echo "$as_me: executing $ac_file commands" >&6;}
6185  ;;
6186   esac
6187
6188
6189   case $ac_file$ac_mode in
6190     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6191   # Autoconf 2.62 quotes --file arguments for eval, but not when files
6192   # are listed without --file.  Let's play safe and only enable the eval
6193   # if we detect the quoting.
6194   case $CONFIG_FILES in
6195   *\'*) eval set x "$CONFIG_FILES" ;;
6196   *)   set x $CONFIG_FILES ;;
6197   esac
6198   shift
6199   for mf
6200   do
6201     # Strip MF so we end up with the name of the file.
6202     mf=`echo "$mf" | sed -e 's/:.*$//'`
6203     # Check whether this is an Automake generated Makefile or not.
6204     # We used to match only the files named `Makefile.in', but
6205     # some people rename them; so instead we look at the file content.
6206     # Grep'ing the first line is not enough: some people post-process
6207     # each Makefile.in and add a new line on top of each file to say so.
6208     # Grep'ing the whole file is not good either: AIX grep has a line
6209     # limit of 2048, but all sed's we know have understand at least 4000.
6210     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6211       dirpart=`$as_dirname -- "$mf" ||
6212 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6213          X"$mf" : 'X\(//\)[^/]' \| \
6214          X"$mf" : 'X\(//\)$' \| \
6215          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6216 $as_echo X"$mf" |
6217     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6218             s//\1/
6219             q
6220           }
6221           /^X\(\/\/\)[^/].*/{
6222             s//\1/
6223             q
6224           }
6225           /^X\(\/\/\)$/{
6226             s//\1/
6227             q
6228           }
6229           /^X\(\/\).*/{
6230             s//\1/
6231             q
6232           }
6233           s/.*/./; q'`
6234     else
6235       continue
6236     fi
6237     # Extract the definition of DEPDIR, am__include, and am__quote
6238     # from the Makefile without running `make'.
6239     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6240     test -z "$DEPDIR" && continue
6241     am__include=`sed -n 's/^am__include = //p' < "$mf"`
6242     test -z "am__include" && continue
6243     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6244     # When using ansi2knr, U may be empty or an underscore; expand it
6245     U=`sed -n 's/^U = //p' < "$mf"`
6246     # Find all dependency output files, they are included files with
6247     # $(DEPDIR) in their names.  We invoke sed twice because it is the
6248     # simplest approach to changing $(DEPDIR) to its actual value in the
6249     # expansion.
6250     for file in `sed -n "
6251       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6252          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6253       # Make sure the directory exists.
6254       test -f "$dirpart/$file" && continue
6255       fdir=`$as_dirname -- "$file" ||
6256 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6257          X"$file" : 'X\(//\)[^/]' \| \
6258          X"$file" : 'X\(//\)$' \| \
6259          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6260 $as_echo X"$file" |
6261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6262             s//\1/
6263             q
6264           }
6265           /^X\(\/\/\)[^/].*/{
6266             s//\1/
6267             q
6268           }
6269           /^X\(\/\/\)$/{
6270             s//\1/
6271             q
6272           }
6273           /^X\(\/\).*/{
6274             s//\1/
6275             q
6276           }
6277           s/.*/./; q'`
6278       as_dir=$dirpart/$fdir; as_fn_mkdir_p
6279       # echo "creating $dirpart/$file"
6280       echo '# dummy' > "$dirpart/$file"
6281     done
6282   done
6283 }
6284  ;;
6285
6286   esac
6287 done # for ac_tag
6288
6289
6290 as_fn_exit 0
6291 _ACEOF
6292 ac_clean_files=$ac_clean_files_save
6293
6294 test $ac_write_fail = 0 ||
6295   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6296
6297
6298 # configure is writing to config.log, and then calls config.status.
6299 # config.status does its own redirection, appending to config.log.
6300 # Unfortunately, on DOS this fails, as config.log is still kept open
6301 # by configure, so config.status won't be able to write to it; its
6302 # output is simply discarded.  So we exec the FD to /dev/null,
6303 # effectively closing config.log, so it can be properly (re)opened and
6304 # appended to by config.status.  When coming back to configure, we
6305 # need to make the FD available again.
6306 if test "$no_create" != yes; then
6307   ac_cs_success=:
6308   ac_config_status_args=
6309   test "$silent" = yes &&
6310     ac_config_status_args="$ac_config_status_args --quiet"
6311   exec 5>/dev/null
6312   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6313   exec 5>>config.log
6314   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6315   # would make configure fail if this is the last instruction.
6316   $ac_cs_success || as_fn_exit 1
6317 fi
6318
6319 #
6320 # CONFIG_SUBDIRS section.
6321 #
6322 if test "$no_recursion" != yes; then
6323
6324   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6325   # so they do not pile up.
6326   ac_sub_configure_args=
6327   ac_prev=
6328   eval "set x $ac_configure_args"
6329   shift
6330   for ac_arg
6331   do
6332     if test -n "$ac_prev"; then
6333       ac_prev=
6334       continue
6335     fi
6336     case $ac_arg in
6337     -cache-file | --cache-file | --cache-fil | --cache-fi \
6338     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6339       ac_prev=cache_file ;;
6340     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6341     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6342     | --c=*)
6343       ;;
6344     --config-cache | -C)
6345       ;;
6346     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6347       ac_prev=srcdir ;;
6348     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6349       ;;
6350     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6351       ac_prev=prefix ;;
6352     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6353       ;;
6354     --disable-option-checking)
6355       ;;
6356     *)
6357       case $ac_arg in
6358       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6359       esac
6360       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
6361     esac
6362   done
6363
6364   # Always prepend --prefix to ensure using the same prefix
6365   # in subdir configurations.
6366   ac_arg="--prefix=$prefix"
6367   case $ac_arg in
6368   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6369   esac
6370   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
6371
6372   # Pass --silent
6373   if test "$silent" = yes; then
6374     ac_sub_configure_args="--silent $ac_sub_configure_args"
6375   fi
6376
6377   # Always prepend --disable-option-checking to silence warnings, since
6378   # different subdirs can have different --enable and --with options.
6379   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
6380
6381   ac_popdir=`pwd`
6382   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6383
6384     # Do not complain, so a configure script can configure whichever
6385     # parts of a large source tree are present.
6386     test -d "$srcdir/$ac_dir" || continue
6387
6388     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6389     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6390     $as_echo "$ac_msg" >&6
6391     as_dir="$ac_dir"; as_fn_mkdir_p
6392     ac_builddir=.
6393
6394 case "$ac_dir" in
6395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6396 *)
6397   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6398   # A ".." for each directory in $ac_dir_suffix.
6399   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6400   case $ac_top_builddir_sub in
6401   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6402   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6403   esac ;;
6404 esac
6405 ac_abs_top_builddir=$ac_pwd
6406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6407 # for backward compatibility:
6408 ac_top_builddir=$ac_top_build_prefix
6409
6410 case $srcdir in
6411   .)  # We are building in place.
6412     ac_srcdir=.
6413     ac_top_srcdir=$ac_top_builddir_sub
6414     ac_abs_top_srcdir=$ac_pwd ;;
6415   [\\/]* | ?:[\\/]* )  # Absolute name.
6416     ac_srcdir=$srcdir$ac_dir_suffix;
6417     ac_top_srcdir=$srcdir
6418     ac_abs_top_srcdir=$srcdir ;;
6419   *) # Relative name.
6420     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6421     ac_top_srcdir=$ac_top_build_prefix$srcdir
6422     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6423 esac
6424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6425
6426
6427     cd "$ac_dir"
6428
6429     # Check for guested configure; otherwise get Cygnus style configure.
6430     if test -f "$ac_srcdir/configure.gnu"; then
6431       ac_sub_configure=$ac_srcdir/configure.gnu
6432     elif test -f "$ac_srcdir/configure"; then
6433       ac_sub_configure=$ac_srcdir/configure
6434     elif test -f "$ac_srcdir/configure.in"; then
6435       # This should be Cygnus configure.
6436       ac_sub_configure=$ac_aux_dir/configure
6437     else
6438       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6439 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6440       ac_sub_configure=
6441     fi
6442
6443     # The recursion is here.
6444     if test -n "$ac_sub_configure"; then
6445       # Make the cache file name correct relative to the subdirectory.
6446       case $cache_file in
6447       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6448       *) # Relative name.
6449         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
6450       esac
6451
6452       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6453 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6454       # The eval makes quoting arguments work.
6455       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6456            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6457         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6458     fi
6459
6460     cd "$ac_popdir"
6461   done
6462 fi
6463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6464   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6466 fi
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481