Initial GIT commit
[libg2hec.git] / autom4te.cache / .svn / text-base / output.0.svn-base
blobf279f2f318e28797c45719b47120c33d9646bb16
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.61 for g2hec-lib 0.1.
4 @%:@
5 @%:@ Report bugs to <Ning Shang <nshang@math.purdue.edu>>.
6 @%:@ 
7 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 @%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 @%:@ This configure script is free software; the Free Software Foundation
10 @%:@ gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44   echo "#! /bin/sh" >conf$$.sh
45   echo  "exit 0"   >>conf$$.sh
46   chmod +x conf$$.sh
47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48     PATH_SEPARATOR=';'
49   else
50     PATH_SEPARATOR=:
51   fi
52   rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57   as_unset=unset
58 else
59   as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order.  Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" ""        $as_nl"
72 # Find who we are.  Look in the path if we contain no directory separator.
73 case $0 in
74   *[\\/]* ) as_myself=$0 ;;
75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78   IFS=$as_save_IFS
79   test -z "$as_dir" && as_dir=.
80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
84      ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89   as_myself=$0
91 if test ! -f "$as_myself"; then
92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93   { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108   LC_TELEPHONE LC_TIME
110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111     eval $as_var=C; export $as_var
112   else
113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114   fi
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
120   as_expr=expr
121 else
122   as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126   as_basename=basename
127 else
128   as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135          X"$0" : 'X\(//\)$' \| \
136          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138     sed '/^.*\/\([^/][^/]*\)\/*$/{
139             s//\1/
140             q
141           }
142           /^X\/\(\/\/\)$/{
143             s//\1/
144             q
145           }
146           /^X\/\(\/\).*/{
147             s//\1/
148             q
149           }
150           s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157   if (eval ":") 2>/dev/null; then
158   as_have_required=yes
159 else
160   as_have_required=no
163   if test $as_have_required = yes &&     (eval ":
164 (as_func_return () {
165   (exit \$1)
167 as_func_success () {
168   as_func_return 0
170 as_func_failure () {
171   as_func_return 1
173 as_func_ret_success () {
174   return 0
176 as_func_ret_failure () {
177   return 1
180 exitcode=0
181 if as_func_success; then
182   :
183 else
184   exitcode=1
185   echo as_func_success failed.
188 if as_func_failure; then
189   exitcode=1
190   echo as_func_failure succeeded.
193 if as_func_ret_success; then
194   :
195 else
196   exitcode=1
197   echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201   exitcode=1
202   echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206   :
207 else
208   exitcode=1
209   echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215   as_lineno_1=\$LINENO
216   as_lineno_2=\$LINENO
217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220   :
221 else
222   as_candidate_shells=
223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226   IFS=$as_save_IFS
227   test -z "$as_dir" && as_dir=.
228   case $as_dir in
229          /*)
230            for as_base in sh bash ksh sh5; do
231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232            done;;
233        esac
234 done
235 IFS=$as_save_IFS
238       for as_shell in $as_candidate_shells $SHELL; do
239          # Try only shells that exist, to save several forks.
240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241                 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243   emulate sh
244   NULLCMD=:
245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246   # is contrary to our usage.  Disable this feature.
247   alias -g '${1+"$@"}'='"$@"'
248   setopt NO_GLOB_SUBST
249 else
250   case `(set -o) 2>/dev/null` in
251   *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260   CONFIG_SHELL=$as_shell
261                as_have_required=yes
262                if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264   emulate sh
265   NULLCMD=:
266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267   # is contrary to our usage.  Disable this feature.
268   alias -g '${1+"$@"}'='"$@"'
269   setopt NO_GLOB_SUBST
270 else
271   case `(set -o) 2>/dev/null` in
272   *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280   (exit $1)
282 as_func_success () {
283   as_func_return 0
285 as_func_failure () {
286   as_func_return 1
288 as_func_ret_success () {
289   return 0
291 as_func_ret_failure () {
292   return 1
295 exitcode=0
296 if as_func_success; then
297   :
298 else
299   exitcode=1
300   echo as_func_success failed.
303 if as_func_failure; then
304   exitcode=1
305   echo as_func_failure succeeded.
308 if as_func_ret_success; then
309   :
310 else
311   exitcode=1
312   echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316   exitcode=1
317   echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321   :
322 else
323   exitcode=1
324   echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330   as_lineno_1=$LINENO
331   as_lineno_2=$LINENO
332   test "x$as_lineno_1" != "x$as_lineno_2" &&
333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337   break
342       done
344       if test "x$CONFIG_SHELL" != x; then
345   for as_var in BASH_ENV ENV
346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347         done
348         export CONFIG_SHELL
349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353     if test $as_have_required = no; then
354   echo This script requires a shell more modern than all the
355       echo shells that I found on your system.  Please install a
356       echo modern shell, or manually run the script under such a
357       echo shell if you do have one.
358       { (exit 1); exit 1; }
361     
368 (eval "as_func_return () {
369   (exit \$1)
371 as_func_success () {
372   as_func_return 0
374 as_func_failure () {
375   as_func_return 1
377 as_func_ret_success () {
378   return 0
380 as_func_ret_failure () {
381   return 1
384 exitcode=0
385 if as_func_success; then
386   :
387 else
388   exitcode=1
389   echo as_func_success failed.
392 if as_func_failure; then
393   exitcode=1
394   echo as_func_failure succeeded.
397 if as_func_ret_success; then
398   :
399 else
400   exitcode=1
401   echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405   exitcode=1
406   echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410   :
411 else
412   exitcode=1
413   echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417   echo No shell found that supports shell functions.
418   echo Please tell autoconf@gnu.org about your system,
419   echo including any error possibly output before this
420   echo message
425   as_lineno_1=$LINENO
426   as_lineno_2=$LINENO
427   test "x$as_lineno_1" != "x$as_lineno_2" &&
428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431   # uniformly replaced by the line number.  The first 'sed' inserts a
432   # line-number line after each line using $LINENO; the second 'sed'
433   # does the real work.  The second script uses 'N' to pair each
434   # line-number line with the line containing $LINENO, and appends
435   # trailing '-' during substitution so that $LINENO is not a special
436   # case at line end.
437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
439   # E. McMahon (1931-1989) for sed's syntax.  :-)
440   sed -n '
441     p
442     /[$]LINENO/=
443   ' <$as_myself |
444     sed '
445       s/[$]LINENO.*/&-/
446       t lineno
447       b
448       :lineno
449       N
450       :loop
451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452       t loop
453       s/-\n.*//
454     ' >$as_me.lineno &&
455   chmod +x "$as_me.lineno" ||
456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457    { (exit 1); exit 1; }; }
459   # Don't try to exec as it changes $[0], causing all sort of problems
460   # (the dirname of $[0] is not the place where we might find the
461   # original and so on.  Autoconf is especially sensitive to this).
462   . "./$as_me.lineno"
463   # Exit status is that of the last command.
464   exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469   as_dirname=dirname
470 else
471   as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477   case `echo 'x\c'` in
478   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479   *)   ECHO_C='\c';;
480   esac;;
482   ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
487   as_expr=expr
488 else
489   as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494   rm -f conf$$.dir/conf$$.file
495 else
496   rm -f conf$$.dir
497   mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501   as_ln_s='ln -s'
502   # ... but there are two gotchas:
503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505   # In both cases, we have to default to `cp -p'.
506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507     as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509   as_ln_s=ln
510 else
511   as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517   as_mkdir_p=:
518 else
519   test -d ./-p && rmdir ./-p
520   as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524   as_test_x='test -x'
525 else
526   if ls -dL / >/dev/null 2>&1; then
527     as_ls_L_option=L
528   else
529     as_ls_L_option=
530   fi
531   as_test_x='
532     eval sh -c '\''
533       if test -d "$1"; then
534         test -d "$1/.";
535       else
536         case $1 in
537         -*)set "./$1";;
538         esac;
539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540         ???[sx]*):;;*)false;;esac;fi
541     '\'' sh
542   '
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIB@&t@OBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='g2hec-lib'
576 PACKAGE_TARNAME='g2hec-lib'
577 PACKAGE_VERSION='0.1'
578 PACKAGE_STRING='g2hec-lib 0.1'
579 PACKAGE_BUGREPORT='Ning Shang <nshang@math.purdue.edu>'
581 ac_unique_file="src/divisor_negate.C"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 #  include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 #  include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 INSTALL_PROGRAM
656 INSTALL_SCRIPT
657 INSTALL_DATA
658 am__isrc
659 CYGPATH_W
660 PACKAGE
661 VERSION
662 ACLOCAL
663 AUTOCONF
664 AUTOMAKE
665 AUTOHEADER
666 MAKEINFO
667 install_sh
668 STRIP
669 INSTALL_STRIP_PROGRAM
670 mkdir_p
672 SET_MAKE
673 am__leading_dot
674 AMTAR
675 am__tar
676 am__untar
678 CFLAGS
679 LDFLAGS
680 CPPFLAGS
681 ac_ct_CC
682 EXEEXT
683 OBJEXT
684 DEPDIR
685 am__include
686 am__quote
687 AMDEP_TRUE
688 AMDEP_FALSE
689 AMDEPBACKSLASH
690 CCDEPMODE
691 am__fastdepCC_TRUE
692 am__fastdepCC_FALSE
694 CXXFLAGS
695 ac_ct_CXX
696 CXXDEPMODE
697 am__fastdepCXX_TRUE
698 am__fastdepCXX_FALSE
699 RANLIB
700 CXXCPP
701 GREP
702 EGREP
703 LIB@&t@OBJS
704 LTLIBOBJS'
705 ac_subst_files=''
706       ac_precious_vars='build_alias
707 host_alias
708 target_alias
710 CFLAGS
711 LDFLAGS
712 LIBS
713 CPPFLAGS
715 CXXFLAGS
717 CXXCPP'
720 # Initialize some variables set by options.
721 ac_init_help=
722 ac_init_version=false
723 # The variables have the same names as the options, with
724 # dashes changed to underlines.
725 cache_file=/dev/null
726 exec_prefix=NONE
727 no_create=
728 no_recursion=
729 prefix=NONE
730 program_prefix=NONE
731 program_suffix=NONE
732 program_transform_name=s,x,x,
733 silent=
734 site=
735 srcdir=
736 verbose=
737 x_includes=NONE
738 x_libraries=NONE
740 # Installation directory options.
741 # These are left unexpanded so users can "make install exec_prefix=/foo"
742 # and all the variables that are supposed to be based on exec_prefix
743 # by default will actually change.
744 # Use braces instead of parens because sh, perl, etc. also accept them.
745 # (The list follows the same order as the GNU Coding Standards.)
746 bindir='${exec_prefix}/bin'
747 sbindir='${exec_prefix}/sbin'
748 libexecdir='${exec_prefix}/libexec'
749 datarootdir='${prefix}/share'
750 datadir='${datarootdir}'
751 sysconfdir='${prefix}/etc'
752 sharedstatedir='${prefix}/com'
753 localstatedir='${prefix}/var'
754 includedir='${prefix}/include'
755 oldincludedir='/usr/include'
756 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
757 infodir='${datarootdir}/info'
758 htmldir='${docdir}'
759 dvidir='${docdir}'
760 pdfdir='${docdir}'
761 psdir='${docdir}'
762 libdir='${exec_prefix}/lib'
763 localedir='${datarootdir}/locale'
764 mandir='${datarootdir}/man'
766 ac_prev=
767 ac_dashdash=
768 for ac_option
770   # If the previous option needs an argument, assign it.
771   if test -n "$ac_prev"; then
772     eval $ac_prev=\$ac_option
773     ac_prev=
774     continue
775   fi
777   case $ac_option in
778   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
779   *)    ac_optarg=yes ;;
780   esac
782   # Accept the important Cygnus configure options, so we can diagnose typos.
784   case $ac_dashdash$ac_option in
785   --)
786     ac_dashdash=yes ;;
788   -bindir | --bindir | --bindi | --bind | --bin | --bi)
789     ac_prev=bindir ;;
790   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
791     bindir=$ac_optarg ;;
793   -build | --build | --buil | --bui | --bu)
794     ac_prev=build_alias ;;
795   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
796     build_alias=$ac_optarg ;;
798   -cache-file | --cache-file | --cache-fil | --cache-fi \
799   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
800     ac_prev=cache_file ;;
801   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
802   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
803     cache_file=$ac_optarg ;;
805   --config-cache | -C)
806     cache_file=config.cache ;;
808   -datadir | --datadir | --datadi | --datad)
809     ac_prev=datadir ;;
810   -datadir=* | --datadir=* | --datadi=* | --datad=*)
811     datadir=$ac_optarg ;;
813   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
814   | --dataroo | --dataro | --datar)
815     ac_prev=datarootdir ;;
816   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
817   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
818     datarootdir=$ac_optarg ;;
820   -disable-* | --disable-*)
821     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
822     # Reject names that are not valid shell variable names.
823     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
824       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
825    { (exit 1); exit 1; }; }
826     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
827     eval enable_$ac_feature=no ;;
829   -docdir | --docdir | --docdi | --doc | --do)
830     ac_prev=docdir ;;
831   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
832     docdir=$ac_optarg ;;
834   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
835     ac_prev=dvidir ;;
836   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
837     dvidir=$ac_optarg ;;
839   -enable-* | --enable-*)
840     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
841     # Reject names that are not valid shell variable names.
842     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
843       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
844    { (exit 1); exit 1; }; }
845     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
846     eval enable_$ac_feature=\$ac_optarg ;;
848   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850   | --exec | --exe | --ex)
851     ac_prev=exec_prefix ;;
852   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854   | --exec=* | --exe=* | --ex=*)
855     exec_prefix=$ac_optarg ;;
857   -gas | --gas | --ga | --g)
858     # Obsolete; use --with-gas.
859     with_gas=yes ;;
861   -help | --help | --hel | --he | -h)
862     ac_init_help=long ;;
863   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864     ac_init_help=recursive ;;
865   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866     ac_init_help=short ;;
868   -host | --host | --hos | --ho)
869     ac_prev=host_alias ;;
870   -host=* | --host=* | --hos=* | --ho=*)
871     host_alias=$ac_optarg ;;
873   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874     ac_prev=htmldir ;;
875   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876   | --ht=*)
877     htmldir=$ac_optarg ;;
879   -includedir | --includedir | --includedi | --included | --include \
880   | --includ | --inclu | --incl | --inc)
881     ac_prev=includedir ;;
882   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883   | --includ=* | --inclu=* | --incl=* | --inc=*)
884     includedir=$ac_optarg ;;
886   -infodir | --infodir | --infodi | --infod | --info | --inf)
887     ac_prev=infodir ;;
888   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889     infodir=$ac_optarg ;;
891   -libdir | --libdir | --libdi | --libd)
892     ac_prev=libdir ;;
893   -libdir=* | --libdir=* | --libdi=* | --libd=*)
894     libdir=$ac_optarg ;;
896   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897   | --libexe | --libex | --libe)
898     ac_prev=libexecdir ;;
899   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900   | --libexe=* | --libex=* | --libe=*)
901     libexecdir=$ac_optarg ;;
903   -localedir | --localedir | --localedi | --localed | --locale)
904     ac_prev=localedir ;;
905   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906     localedir=$ac_optarg ;;
908   -localstatedir | --localstatedir | --localstatedi | --localstated \
909   | --localstate | --localstat | --localsta | --localst | --locals)
910     ac_prev=localstatedir ;;
911   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913     localstatedir=$ac_optarg ;;
915   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916     ac_prev=mandir ;;
917   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
918     mandir=$ac_optarg ;;
920   -nfp | --nfp | --nf)
921     # Obsolete; use --without-fp.
922     with_fp=no ;;
924   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925   | --no-cr | --no-c | -n)
926     no_create=yes ;;
928   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930     no_recursion=yes ;;
932   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934   | --oldin | --oldi | --old | --ol | --o)
935     ac_prev=oldincludedir ;;
936   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939     oldincludedir=$ac_optarg ;;
941   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942     ac_prev=prefix ;;
943   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944     prefix=$ac_optarg ;;
946   -program-prefix | --program-prefix | --program-prefi | --program-pref \
947   | --program-pre | --program-pr | --program-p)
948     ac_prev=program_prefix ;;
949   -program-prefix=* | --program-prefix=* | --program-prefi=* \
950   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951     program_prefix=$ac_optarg ;;
953   -program-suffix | --program-suffix | --program-suffi | --program-suff \
954   | --program-suf | --program-su | --program-s)
955     ac_prev=program_suffix ;;
956   -program-suffix=* | --program-suffix=* | --program-suffi=* \
957   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958     program_suffix=$ac_optarg ;;
960   -program-transform-name | --program-transform-name \
961   | --program-transform-nam | --program-transform-na \
962   | --program-transform-n | --program-transform- \
963   | --program-transform | --program-transfor \
964   | --program-transfo | --program-transf \
965   | --program-trans | --program-tran \
966   | --progr-tra | --program-tr | --program-t)
967     ac_prev=program_transform_name ;;
968   -program-transform-name=* | --program-transform-name=* \
969   | --program-transform-nam=* | --program-transform-na=* \
970   | --program-transform-n=* | --program-transform-=* \
971   | --program-transform=* | --program-transfor=* \
972   | --program-transfo=* | --program-transf=* \
973   | --program-trans=* | --program-tran=* \
974   | --progr-tra=* | --program-tr=* | --program-t=*)
975     program_transform_name=$ac_optarg ;;
977   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978     ac_prev=pdfdir ;;
979   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980     pdfdir=$ac_optarg ;;
982   -psdir | --psdir | --psdi | --psd | --ps)
983     ac_prev=psdir ;;
984   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985     psdir=$ac_optarg ;;
987   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988   | -silent | --silent | --silen | --sile | --sil)
989     silent=yes ;;
991   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992     ac_prev=sbindir ;;
993   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994   | --sbi=* | --sb=*)
995     sbindir=$ac_optarg ;;
997   -sharedstatedir | --sharedstatedir | --sharedstatedi \
998   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999   | --sharedst | --shareds | --shared | --share | --shar \
1000   | --sha | --sh)
1001     ac_prev=sharedstatedir ;;
1002   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005   | --sha=* | --sh=*)
1006     sharedstatedir=$ac_optarg ;;
1008   -site | --site | --sit)
1009     ac_prev=site ;;
1010   -site=* | --site=* | --sit=*)
1011     site=$ac_optarg ;;
1013   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014     ac_prev=srcdir ;;
1015   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016     srcdir=$ac_optarg ;;
1018   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019   | --syscon | --sysco | --sysc | --sys | --sy)
1020     ac_prev=sysconfdir ;;
1021   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023     sysconfdir=$ac_optarg ;;
1025   -target | --target | --targe | --targ | --tar | --ta | --t)
1026     ac_prev=target_alias ;;
1027   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028     target_alias=$ac_optarg ;;
1030   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031     verbose=yes ;;
1033   -version | --version | --versio | --versi | --vers | -V)
1034     ac_init_version=: ;;
1036   -with-* | --with-*)
1037     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038     # Reject names that are not valid shell variable names.
1039     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040       { echo "$as_me: error: invalid package name: $ac_package" >&2
1041    { (exit 1); exit 1; }; }
1042     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1043     eval with_$ac_package=\$ac_optarg ;;
1045   -without-* | --without-*)
1046     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1047     # Reject names that are not valid shell variable names.
1048     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049       { echo "$as_me: error: invalid package name: $ac_package" >&2
1050    { (exit 1); exit 1; }; }
1051     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1052     eval with_$ac_package=no ;;
1054   --x)
1055     # Obsolete; use --with-x.
1056     with_x=yes ;;
1058   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059   | --x-incl | --x-inc | --x-in | --x-i)
1060     ac_prev=x_includes ;;
1061   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063     x_includes=$ac_optarg ;;
1065   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067     ac_prev=x_libraries ;;
1068   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070     x_libraries=$ac_optarg ;;
1072   -*) { echo "$as_me: error: unrecognized option: $ac_option
1073 Try \`$0 --help' for more information." >&2
1074    { (exit 1); exit 1; }; }
1075     ;;
1077   *=*)
1078     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079     # Reject names that are not valid shell variable names.
1080     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1081       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1082    { (exit 1); exit 1; }; }
1083     eval $ac_envvar=\$ac_optarg
1084     export $ac_envvar ;;
1086   *)
1087     # FIXME: should be removed in autoconf 3.0.
1088     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092     ;;
1094   esac
1095 done
1097 if test -n "$ac_prev"; then
1098   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099   { echo "$as_me: error: missing argument to $ac_option" >&2
1100    { (exit 1); exit 1; }; }
1103 # Be sure to have absolute directory names.
1104 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105                 datadir sysconfdir sharedstatedir localstatedir includedir \
1106                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107                 libdir localedir mandir
1109   eval ac_val=\$$ac_var
1110   case $ac_val in
1111     [\\/$]* | ?:[\\/]* )  continue;;
1112     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1113   esac
1114   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1115    { (exit 1); exit 1; }; }
1116 done
1118 # There might be people who depend on the old broken behavior: `$host'
1119 # used to hold the argument of --host etc.
1120 # FIXME: To remove some day.
1121 build=$build_alias
1122 host=$host_alias
1123 target=$target_alias
1125 # FIXME: To remove some day.
1126 if test "x$host_alias" != x; then
1127   if test "x$build_alias" = x; then
1128     cross_compiling=maybe
1129     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1130     If a cross compiler is detected then cross compile mode will be used." >&2
1131   elif test "x$build_alias" != "x$host_alias"; then
1132     cross_compiling=yes
1133   fi
1136 ac_tool_prefix=
1137 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1139 test "$silent" = yes && exec 6>/dev/null
1142 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1143 ac_ls_di=`ls -di .` &&
1144 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1145   { echo "$as_me: error: Working directory cannot be determined" >&2
1146    { (exit 1); exit 1; }; }
1147 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1148   { echo "$as_me: error: pwd does not report name of working directory" >&2
1149    { (exit 1); exit 1; }; }
1152 # Find the source files, if location was not specified.
1153 if test -z "$srcdir"; then
1154   ac_srcdir_defaulted=yes
1155   # Try the directory containing this script, then the parent directory.
1156   ac_confdir=`$as_dirname -- "$0" ||
1157 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1158          X"$0" : 'X\(//\)[^/]' \| \
1159          X"$0" : 'X\(//\)$' \| \
1160          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1161 echo X"$0" |
1162     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1163             s//\1/
1164             q
1165           }
1166           /^X\(\/\/\)[^/].*/{
1167             s//\1/
1168             q
1169           }
1170           /^X\(\/\/\)$/{
1171             s//\1/
1172             q
1173           }
1174           /^X\(\/\).*/{
1175             s//\1/
1176             q
1177           }
1178           s/.*/./; q'`
1179   srcdir=$ac_confdir
1180   if test ! -r "$srcdir/$ac_unique_file"; then
1181     srcdir=..
1182   fi
1183 else
1184   ac_srcdir_defaulted=no
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1187   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1188   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1189    { (exit 1); exit 1; }; }
1191 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 ac_abs_confdir=`(
1193         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1194    { (exit 1); exit 1; }; }
1195         pwd)`
1196 # When building in place, set srcdir=.
1197 if test "$ac_abs_confdir" = "$ac_pwd"; then
1198   srcdir=.
1200 # Remove unnecessary trailing slashes from srcdir.
1201 # Double slashes in file names in object file debugging info
1202 # mess up M-x gdb in Emacs.
1203 case $srcdir in
1204 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1205 esac
1206 for ac_var in $ac_precious_vars; do
1207   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1208   eval ac_env_${ac_var}_value=\$${ac_var}
1209   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1210   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1211 done
1214 # Report the --help message.
1216 if test "$ac_init_help" = "long"; then
1217   # Omit some internal or obsolete options to make the list less imposing.
1218   # This message is too long to be a string in the A/UX 3.1 sh.
1219   cat <<_ACEOF
1220 \`configure' configures g2hec-lib 0.1 to adapt to many kinds of systems.
1222 Usage: $0 [OPTION]... [VAR=VALUE]...
1224 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1225 VAR=VALUE.  See below for descriptions of some of the useful variables.
1227 Defaults for the options are specified in brackets.
1229 Configuration:
1230   -h, --help              display this help and exit
1231       --help=short        display options specific to this package
1232       --help=recursive    display the short help of all the included packages
1233   -V, --version           display version information and exit
1234   -q, --quiet, --silent   do not print \`checking...' messages
1235       --cache-file=FILE   cache test results in FILE [disabled]
1236   -C, --config-cache      alias for \`--cache-file=config.cache'
1237   -n, --no-create         do not create output files
1238       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1240 Installation directories:
1241   --prefix=PREFIX         install architecture-independent files in PREFIX
1242                           [$ac_default_prefix]
1243   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1244                           [PREFIX]
1246 By default, \`make install' will install all the files in
1247 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1248 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1249 for instance \`--prefix=\$HOME'.
1251 For better control, use the options below.
1253 Fine tuning of the installation directories:
1254   --bindir=DIR           user executables [EPREFIX/bin]
1255   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1256   --libexecdir=DIR       program executables [EPREFIX/libexec]
1257   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1258   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1259   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1260   --libdir=DIR           object code libraries [EPREFIX/lib]
1261   --includedir=DIR       C header files [PREFIX/include]
1262   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1263   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1264   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1265   --infodir=DIR          info documentation [DATAROOTDIR/info]
1266   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1267   --mandir=DIR           man documentation [DATAROOTDIR/man]
1268   --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/g2hec-lib@:>@
1269   --htmldir=DIR          html documentation [DOCDIR]
1270   --dvidir=DIR           dvi documentation [DOCDIR]
1271   --pdfdir=DIR           pdf documentation [DOCDIR]
1272   --psdir=DIR            ps documentation [DOCDIR]
1273 _ACEOF
1275   cat <<\_ACEOF
1277 Program names:
1278   --program-prefix=PREFIX            prepend PREFIX to installed program names
1279   --program-suffix=SUFFIX            append SUFFIX to installed program names
1280   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1281 _ACEOF
1284 if test -n "$ac_init_help"; then
1285   case $ac_init_help in
1286      short | recursive ) echo "Configuration of g2hec-lib 0.1:";;
1287    esac
1288   cat <<\_ACEOF
1290 Optional Features:
1291   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1292   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1293   --disable-dependency-tracking  speeds up one-time build
1294   --enable-dependency-tracking   do not reject slow dependency extractors
1296 Some influential environment variables:
1297   CC          C compiler command
1298   CFLAGS      C compiler flags
1299   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1300               nonstandard directory <lib dir>
1301   LIBS        libraries to pass to the linker, e.g. -l<library>
1302   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1303               you have headers in a nonstandard directory <include dir>
1304   CXX         C++ compiler command
1305   CXXFLAGS    C++ compiler flags
1306   CXXCPP      C++ preprocessor
1308 Use these variables to override the choices made by `configure' or to help
1309 it to find libraries and programs with nonstandard names/locations.
1311 Report bugs to <Ning Shang <nshang@math.purdue.edu>>.
1312 _ACEOF
1313 ac_status=$?
1316 if test "$ac_init_help" = "recursive"; then
1317   # If there are subdirs, report their specific --help.
1318   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319     test -d "$ac_dir" || continue
1320     ac_builddir=.
1322 case "$ac_dir" in
1323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1326   # A ".." for each directory in $ac_dir_suffix.
1327   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1328   case $ac_top_builddir_sub in
1329   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331   esac ;;
1332 esac
1333 ac_abs_top_builddir=$ac_pwd
1334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir=$ac_top_build_prefix
1338 case $srcdir in
1339   .)  # We are building in place.
1340     ac_srcdir=.
1341     ac_top_srcdir=$ac_top_builddir_sub
1342     ac_abs_top_srcdir=$ac_pwd ;;
1343   [\\/]* | ?:[\\/]* )  # Absolute name.
1344     ac_srcdir=$srcdir$ac_dir_suffix;
1345     ac_top_srcdir=$srcdir
1346     ac_abs_top_srcdir=$srcdir ;;
1347   *) # Relative name.
1348     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349     ac_top_srcdir=$ac_top_build_prefix$srcdir
1350     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 esac
1352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1354     cd "$ac_dir" || { ac_status=$?; continue; }
1355     # Check for guested configure.
1356     if test -f "$ac_srcdir/configure.gnu"; then
1357       echo &&
1358       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359     elif test -f "$ac_srcdir/configure"; then
1360       echo &&
1361       $SHELL "$ac_srcdir/configure" --help=recursive
1362     else
1363       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364     fi || ac_status=$?
1365     cd "$ac_pwd" || { ac_status=$?; break; }
1366   done
1369 test -n "$ac_init_help" && exit $ac_status
1370 if $ac_init_version; then
1371   cat <<\_ACEOF
1372 g2hec-lib configure 0.1
1373 generated by GNU Autoconf 2.61
1375 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1376 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1379 _ACEOF
1380   exit
1382 cat >config.log <<_ACEOF
1383 This file contains any messages produced by compilers while
1384 running configure, to aid debugging if configure makes a mistake.
1386 It was created by g2hec-lib $as_me 0.1, which was
1387 generated by GNU Autoconf 2.61.  Invocation command line was
1389   $ $0 $@
1391 _ACEOF
1392 exec 5>>config.log
1394 cat <<_ASUNAME
1395 @%:@@%:@ --------- @%:@@%:@
1396 @%:@@%:@ Platform. @%:@@%:@
1397 @%:@@%:@ --------- @%:@@%:@
1399 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1400 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1401 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1402 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1403 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1405 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1406 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1408 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1409 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1410 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1411 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1412 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1413 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1414 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1416 _ASUNAME
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419 for as_dir in $PATH
1421   IFS=$as_save_IFS
1422   test -z "$as_dir" && as_dir=.
1423   echo "PATH: $as_dir"
1424 done
1425 IFS=$as_save_IFS
1427 } >&5
1429 cat >&5 <<_ACEOF
1432 @%:@@%:@ ----------- @%:@@%:@
1433 @%:@@%:@ Core tests. @%:@@%:@
1434 @%:@@%:@ ----------- @%:@@%:@
1436 _ACEOF
1439 # Keep a trace of the command line.
1440 # Strip out --no-create and --no-recursion so they do not pile up.
1441 # Strip out --silent because we don't want to record it for future runs.
1442 # Also quote any args containing shell meta-characters.
1443 # Make two passes to allow for proper duplicate-argument suppression.
1444 ac_configure_args=
1445 ac_configure_args0=
1446 ac_configure_args1=
1447 ac_must_keep_next=false
1448 for ac_pass in 1 2
1450   for ac_arg
1451   do
1452     case $ac_arg in
1453     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1454     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1455     | -silent | --silent | --silen | --sile | --sil)
1456       continue ;;
1457     *\'*)
1458       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1459     esac
1460     case $ac_pass in
1461     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1462     2)
1463       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1464       if test $ac_must_keep_next = true; then
1465         ac_must_keep_next=false # Got value, back to normal.
1466       else
1467         case $ac_arg in
1468           *=* | --config-cache | -C | -disable-* | --disable-* \
1469           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1470           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1471           | -with-* | --with-* | -without-* | --without-* | --x)
1472             case "$ac_configure_args0 " in
1473               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1474             esac
1475             ;;
1476           -* ) ac_must_keep_next=true ;;
1477         esac
1478       fi
1479       ac_configure_args="$ac_configure_args '$ac_arg'"
1480       ;;
1481     esac
1482   done
1483 done
1484 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1485 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1487 # When interrupted or exit'd, cleanup temporary files, and complete
1488 # config.log.  We remove comments because anyway the quotes in there
1489 # would cause problems or look ugly.
1490 # WARNING: Use '\'' to represent an apostrophe within the trap.
1491 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1492 trap 'exit_status=$?
1493   # Save into config.log some information that might help in debugging.
1494   {
1495     echo
1497     cat <<\_ASBOX
1498 @%:@@%:@ ---------------- @%:@@%:@
1499 @%:@@%:@ Cache variables. @%:@@%:@
1500 @%:@@%:@ ---------------- @%:@@%:@
1501 _ASBOX
1502     echo
1503     # The following way of writing the cache mishandles newlines in values,
1505   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1506     eval ac_val=\$$ac_var
1507     case $ac_val in #(
1508     *${as_nl}*)
1509       case $ac_var in #(
1510       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1511 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1512       esac
1513       case $ac_var in #(
1514       _ | IFS | as_nl) ;; #(
1515       *) $as_unset $ac_var ;;
1516       esac ;;
1517     esac
1518   done
1519   (set) 2>&1 |
1520     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1521     *${as_nl}ac_space=\ *)
1522       sed -n \
1523         "s/'\''/'\''\\\\'\'''\''/g;
1524           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1525       ;; #(
1526     *)
1527       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1528       ;;
1529     esac |
1530     sort
1532     echo
1534     cat <<\_ASBOX
1535 @%:@@%:@ ----------------- @%:@@%:@
1536 @%:@@%:@ Output variables. @%:@@%:@
1537 @%:@@%:@ ----------------- @%:@@%:@
1538 _ASBOX
1539     echo
1540     for ac_var in $ac_subst_vars
1541     do
1542       eval ac_val=\$$ac_var
1543       case $ac_val in
1544       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545       esac
1546       echo "$ac_var='\''$ac_val'\''"
1547     done | sort
1548     echo
1550     if test -n "$ac_subst_files"; then
1551       cat <<\_ASBOX
1552 @%:@@%:@ ------------------- @%:@@%:@
1553 @%:@@%:@ File substitutions. @%:@@%:@
1554 @%:@@%:@ ------------------- @%:@@%:@
1555 _ASBOX
1556       echo
1557       for ac_var in $ac_subst_files
1558       do
1559         eval ac_val=\$$ac_var
1560         case $ac_val in
1561         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562         esac
1563         echo "$ac_var='\''$ac_val'\''"
1564       done | sort
1565       echo
1566     fi
1568     if test -s confdefs.h; then
1569       cat <<\_ASBOX
1570 @%:@@%:@ ----------- @%:@@%:@
1571 @%:@@%:@ confdefs.h. @%:@@%:@
1572 @%:@@%:@ ----------- @%:@@%:@
1573 _ASBOX
1574       echo
1575       cat confdefs.h
1576       echo
1577     fi
1578     test "$ac_signal" != 0 &&
1579       echo "$as_me: caught signal $ac_signal"
1580     echo "$as_me: exit $exit_status"
1581   } >&5
1582   rm -f core *.core core.conftest.* &&
1583     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1584     exit $exit_status
1585 ' 0
1586 for ac_signal in 1 2 13 15; do
1587   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1588 done
1589 ac_signal=0
1591 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1592 rm -f -r conftest* confdefs.h
1594 # Predefined preprocessor variables.
1596 cat >>confdefs.h <<_ACEOF
1597 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1598 _ACEOF
1601 cat >>confdefs.h <<_ACEOF
1602 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1603 _ACEOF
1606 cat >>confdefs.h <<_ACEOF
1607 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1608 _ACEOF
1611 cat >>confdefs.h <<_ACEOF
1612 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1613 _ACEOF
1616 cat >>confdefs.h <<_ACEOF
1617 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1618 _ACEOF
1621 # Let the site file select an alternate cache file if it wants to.
1622 # Prefer explicitly selected file to automatically selected ones.
1623 if test -n "$CONFIG_SITE"; then
1624   set x "$CONFIG_SITE"
1625 elif test "x$prefix" != xNONE; then
1626   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1627 else
1628   set x "$ac_default_prefix/share/config.site" \
1629         "$ac_default_prefix/etc/config.site"
1631 shift
1632 for ac_site_file
1634   if test -r "$ac_site_file"; then
1635     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1636 echo "$as_me: loading site script $ac_site_file" >&6;}
1637     sed 's/^/| /' "$ac_site_file" >&5
1638     . "$ac_site_file"
1639   fi
1640 done
1642 if test -r "$cache_file"; then
1643   # Some versions of bash will fail to source /dev/null (special
1644   # files actually), so we avoid doing that.
1645   if test -f "$cache_file"; then
1646     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1647 echo "$as_me: loading cache $cache_file" >&6;}
1648     case $cache_file in
1649       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1650       *)                      . "./$cache_file";;
1651     esac
1652   fi
1653 else
1654   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1655 echo "$as_me: creating cache $cache_file" >&6;}
1656   >$cache_file
1659 # Check that the precious variables saved in the cache have kept the same
1660 # value.
1661 ac_cache_corrupted=false
1662 for ac_var in $ac_precious_vars; do
1663   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1664   eval ac_new_set=\$ac_env_${ac_var}_set
1665   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1666   eval ac_new_val=\$ac_env_${ac_var}_value
1667   case $ac_old_set,$ac_new_set in
1668     set,)
1669       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1670 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1671       ac_cache_corrupted=: ;;
1672     ,set)
1673       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1674 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1675       ac_cache_corrupted=: ;;
1676     ,);;
1677     *)
1678       if test "x$ac_old_val" != "x$ac_new_val"; then
1679         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1680 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1681         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1682 echo "$as_me:   former value:  $ac_old_val" >&2;}
1683         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1684 echo "$as_me:   current value: $ac_new_val" >&2;}
1685         ac_cache_corrupted=:
1686       fi;;
1687   esac
1688   # Pass precious variables to config.status.
1689   if test "$ac_new_set" = set; then
1690     case $ac_new_val in
1691     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1692     *) ac_arg=$ac_var=$ac_new_val ;;
1693     esac
1694     case " $ac_configure_args " in
1695       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1696       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1697     esac
1698   fi
1699 done
1700 if $ac_cache_corrupted; then
1701   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1702 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1703   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1704 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1705    { (exit 1); exit 1; }; }
1732 ac_ext=c
1733 ac_cpp='$CPP $CPPFLAGS'
1734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1739 am__api_version='1.10'
1741 ac_aux_dir=
1742 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1743   if test -f "$ac_dir/install-sh"; then
1744     ac_aux_dir=$ac_dir
1745     ac_install_sh="$ac_aux_dir/install-sh -c"
1746     break
1747   elif test -f "$ac_dir/install.sh"; then
1748     ac_aux_dir=$ac_dir
1749     ac_install_sh="$ac_aux_dir/install.sh -c"
1750     break
1751   elif test -f "$ac_dir/shtool"; then
1752     ac_aux_dir=$ac_dir
1753     ac_install_sh="$ac_aux_dir/shtool install -c"
1754     break
1755   fi
1756 done
1757 if test -z "$ac_aux_dir"; then
1758   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1759 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1760    { (exit 1); exit 1; }; }
1763 # These three variables are undocumented and unsupported,
1764 # and are intended to be withdrawn in a future Autoconf release.
1765 # They can cause serious problems if a builder's source tree is in a directory
1766 # whose full name contains unusual characters.
1767 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1768 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1769 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1772 # Find a good install program.  We prefer a C program (faster),
1773 # so one script is as good as another.  But avoid the broken or
1774 # incompatible versions:
1775 # SysV /etc/install, /usr/sbin/install
1776 # SunOS /usr/etc/install
1777 # IRIX /sbin/install
1778 # AIX /bin/install
1779 # AmigaOS /C/install, which installs bootblocks on floppy discs
1780 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1781 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1782 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1783 # OS/2's system install, which has a completely different semantic
1784 # ./install, which can be erroneously created by make from ./install.sh.
1785 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1787 if test -z "$INSTALL"; then
1788 if test "${ac_cv_path_install+set}" = set; then
1789   echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 for as_dir in $PATH
1794   IFS=$as_save_IFS
1795   test -z "$as_dir" && as_dir=.
1796   # Account for people who put trailing slashes in PATH elements.
1797 case $as_dir/ in
1798   ./ | .// | /cC/* | \
1799   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1800   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1801   /usr/ucb/* ) ;;
1802   *)
1803     # OSF1 and SCO ODT 3.0 have their own names for install.
1804     # Don't use installbsd from OSF since it installs stuff as root
1805     # by default.
1806     for ac_prog in ginstall scoinst install; do
1807       for ac_exec_ext in '' $ac_executable_extensions; do
1808         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1809           if test $ac_prog = install &&
1810             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1811             # AIX install.  It has an incompatible calling convention.
1812             :
1813           elif test $ac_prog = install &&
1814             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1815             # program-specific install script used by HP pwplus--don't use.
1816             :
1817           else
1818             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1819             break 3
1820           fi
1821         fi
1822       done
1823     done
1824     ;;
1825 esac
1826 done
1827 IFS=$as_save_IFS
1831   if test "${ac_cv_path_install+set}" = set; then
1832     INSTALL=$ac_cv_path_install
1833   else
1834     # As a last resort, use the slow shell script.  Don't cache a
1835     # value for INSTALL within a source directory, because that will
1836     # break other packages using the cache if that directory is
1837     # removed, or if the value is a relative name.
1838     INSTALL=$ac_install_sh
1839   fi
1841 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1842 echo "${ECHO_T}$INSTALL" >&6; }
1844 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1845 # It thinks the first close brace ends the variable substitution.
1846 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1848 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1850 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1852 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1853 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1854 # Just in case
1855 sleep 1
1856 echo timestamp > conftest.file
1857 # Do `set' in a subshell so we don't clobber the current shell's
1858 # arguments.  Must try -L first in case configure is actually a
1859 # symlink; some systems play weird games with the mod time of symlinks
1860 # (eg FreeBSD returns the mod time of the symlink's containing
1861 # directory).
1862 if (
1863    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1864    if test "$*" = "X"; then
1865       # -L didn't work.
1866       set X `ls -t $srcdir/configure conftest.file`
1867    fi
1868    rm -f conftest.file
1869    if test "$*" != "X $srcdir/configure conftest.file" \
1870       && test "$*" != "X conftest.file $srcdir/configure"; then
1872       # If neither matched, then we have a broken ls.  This can happen
1873       # if, for instance, CONFIG_SHELL is bash and it inherits a
1874       # broken ls alias from the environment.  This has actually
1875       # happened.  Such a system could not be considered "sane".
1876       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1877 alias in your environment" >&5
1878 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1879 alias in your environment" >&2;}
1880    { (exit 1); exit 1; }; }
1881    fi
1883    test "$2" = conftest.file
1884    )
1885 then
1886    # Ok.
1887    :
1888 else
1889    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1890 Check your system clock" >&5
1891 echo "$as_me: error: newly created file is older than distributed files!
1892 Check your system clock" >&2;}
1893    { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: result: yes" >&5
1896 echo "${ECHO_T}yes" >&6; }
1897 test "$program_prefix" != NONE &&
1898   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1899 # Use a double $ so make ignores it.
1900 test "$program_suffix" != NONE &&
1901   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1902 # Double any \ or $.  echo might interpret backslashes.
1903 # By default was `s,x,x', remove it if useless.
1904 cat <<\_ACEOF >conftest.sed
1905 s/[\\$]/&&/g;s/;s,x,x,$//
1906 _ACEOF
1907 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1908 rm -f conftest.sed
1910 # expand $ac_aux_dir to an absolute path
1911 am_aux_dir=`cd $ac_aux_dir && pwd`
1913 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1914 # Use eval to expand $SHELL
1915 if eval "$MISSING --run true"; then
1916   am_missing_run="$MISSING --run "
1917 else
1918   am_missing_run=
1919   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1920 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1923 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1924 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1925 if test -z "$MKDIR_P"; then
1926   if test "${ac_cv_path_mkdir+set}" = set; then
1927   echo $ECHO_N "(cached) $ECHO_C" >&6
1928 else
1929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1932   IFS=$as_save_IFS
1933   test -z "$as_dir" && as_dir=.
1934   for ac_prog in mkdir gmkdir; do
1935          for ac_exec_ext in '' $ac_executable_extensions; do
1936            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1937            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1938              'mkdir (GNU coreutils) '* | \
1939              'mkdir (coreutils) '* | \
1940              'mkdir (fileutils) '4.1*)
1941                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1942                break 3;;
1943            esac
1944          done
1945        done
1946 done
1947 IFS=$as_save_IFS
1951   if test "${ac_cv_path_mkdir+set}" = set; then
1952     MKDIR_P="$ac_cv_path_mkdir -p"
1953   else
1954     # As a last resort, use the slow shell script.  Don't cache a
1955     # value for MKDIR_P within a source directory, because that will
1956     # break other packages using the cache if that directory is
1957     # removed, or if the value is a relative name.
1958     test -d ./--version && rmdir ./--version
1959     MKDIR_P="$ac_install_sh -d"
1960   fi
1962 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1963 echo "${ECHO_T}$MKDIR_P" >&6; }
1965 mkdir_p="$MKDIR_P"
1966 case $mkdir_p in
1967   [\\/$]* | ?:[\\/]*) ;;
1968   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1969 esac
1971 for ac_prog in gawk mawk nawk awk
1973   # Extract the first word of "$ac_prog", so it can be a program name with args.
1974 set dummy $ac_prog; ac_word=$2
1975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1977 if test "${ac_cv_prog_AWK+set}" = set; then
1978   echo $ECHO_N "(cached) $ECHO_C" >&6
1979 else
1980   if test -n "$AWK"; then
1981   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1982 else
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 for as_dir in $PATH
1986   IFS=$as_save_IFS
1987   test -z "$as_dir" && as_dir=.
1988   for ac_exec_ext in '' $ac_executable_extensions; do
1989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1990     ac_cv_prog_AWK="$ac_prog"
1991     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992     break 2
1993   fi
1994 done
1995 done
1996 IFS=$as_save_IFS
2000 AWK=$ac_cv_prog_AWK
2001 if test -n "$AWK"; then
2002   { echo "$as_me:$LINENO: result: $AWK" >&5
2003 echo "${ECHO_T}$AWK" >&6; }
2004 else
2005   { echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6; }
2010   test -n "$AWK" && break
2011 done
2013 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2014 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2015 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2016 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2017   echo $ECHO_N "(cached) $ECHO_C" >&6
2018 else
2019   cat >conftest.make <<\_ACEOF
2020 SHELL = /bin/sh
2021 all:
2022         @echo '@@@%%%=$(MAKE)=@@@%%%'
2023 _ACEOF
2024 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2025 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2026   *@@@%%%=?*=@@@%%%*)
2027     eval ac_cv_prog_make_${ac_make}_set=yes;;
2028   *)
2029     eval ac_cv_prog_make_${ac_make}_set=no;;
2030 esac
2031 rm -f conftest.make
2033 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2034   { echo "$as_me:$LINENO: result: yes" >&5
2035 echo "${ECHO_T}yes" >&6; }
2036   SET_MAKE=
2037 else
2038   { echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6; }
2040   SET_MAKE="MAKE=${MAKE-make}"
2043 rm -rf .tst 2>/dev/null
2044 mkdir .tst 2>/dev/null
2045 if test -d .tst; then
2046   am__leading_dot=.
2047 else
2048   am__leading_dot=_
2050 rmdir .tst 2>/dev/null
2052 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2053   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2054   # is not polluted with repeated "-I."
2055   am__isrc=' -I$(srcdir)'
2056   # test to see if srcdir already configured
2057   if test -f $srcdir/config.status; then
2058     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2059 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2060    { (exit 1); exit 1; }; }
2061   fi
2064 # test whether we have cygpath
2065 if test -z "$CYGPATH_W"; then
2066   if (cygpath --version) >/dev/null 2>/dev/null; then
2067     CYGPATH_W='cygpath -w'
2068   else
2069     CYGPATH_W=echo
2070   fi
2074 # Define the identity of the package.
2075  PACKAGE='g2hec-lib'
2076  VERSION='0.1'
2079 cat >>confdefs.h <<_ACEOF
2080 @%:@define PACKAGE "$PACKAGE"
2081 _ACEOF
2084 cat >>confdefs.h <<_ACEOF
2085 @%:@define VERSION "$VERSION"
2086 _ACEOF
2088 # Some tools Automake needs.
2090 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2093 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2096 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2099 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2102 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2104 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2106 # Installed binaries are usually stripped using `strip' when the user
2107 # run `make install-strip'.  However `strip' might not be the right
2108 # tool to use in cross-compilation environments, therefore Automake
2109 # will honor the `STRIP' environment variable to overrule this program.
2110 if test "$cross_compiling" != no; then
2111   if test -n "$ac_tool_prefix"; then
2112   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2113 set dummy ${ac_tool_prefix}strip; ac_word=$2
2114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2116 if test "${ac_cv_prog_STRIP+set}" = set; then
2117   echo $ECHO_N "(cached) $ECHO_C" >&6
2118 else
2119   if test -n "$STRIP"; then
2120   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2121 else
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH
2125   IFS=$as_save_IFS
2126   test -z "$as_dir" && as_dir=.
2127   for ac_exec_ext in '' $ac_executable_extensions; do
2128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2130     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131     break 2
2132   fi
2133 done
2134 done
2135 IFS=$as_save_IFS
2139 STRIP=$ac_cv_prog_STRIP
2140 if test -n "$STRIP"; then
2141   { echo "$as_me:$LINENO: result: $STRIP" >&5
2142 echo "${ECHO_T}$STRIP" >&6; }
2143 else
2144   { echo "$as_me:$LINENO: result: no" >&5
2145 echo "${ECHO_T}no" >&6; }
2150 if test -z "$ac_cv_prog_STRIP"; then
2151   ac_ct_STRIP=$STRIP
2152   # Extract the first word of "strip", so it can be a program name with args.
2153 set dummy strip; ac_word=$2
2154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2156 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2157   echo $ECHO_N "(cached) $ECHO_C" >&6
2158 else
2159   if test -n "$ac_ct_STRIP"; then
2160   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2161 else
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 for as_dir in $PATH
2165   IFS=$as_save_IFS
2166   test -z "$as_dir" && as_dir=.
2167   for ac_exec_ext in '' $ac_executable_extensions; do
2168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169     ac_cv_prog_ac_ct_STRIP="strip"
2170     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171     break 2
2172   fi
2173 done
2174 done
2175 IFS=$as_save_IFS
2179 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2180 if test -n "$ac_ct_STRIP"; then
2181   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2182 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2183 else
2184   { echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6; }
2188   if test "x$ac_ct_STRIP" = x; then
2189     STRIP=":"
2190   else
2191     case $cross_compiling:$ac_tool_warned in
2192 yes:)
2193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2194 whose name does not start with the host triplet.  If you think this
2195 configuration is useful to you, please write to autoconf@gnu.org." >&5
2196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2197 whose name does not start with the host triplet.  If you think this
2198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2199 ac_tool_warned=yes ;;
2200 esac
2201     STRIP=$ac_ct_STRIP
2202   fi
2203 else
2204   STRIP="$ac_cv_prog_STRIP"
2208 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2210 # We need awk for the "check" target.  The system "awk" is bad on
2211 # some platforms.
2212 # Always define AMTAR for backward compatibility.
2214 AMTAR=${AMTAR-"${am_missing_run}tar"}
2216 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2223 ac_config_headers="$ac_config_headers config.h"
2227 # Checks for programs.
2228 ac_ext=c
2229 ac_cpp='$CPP $CPPFLAGS'
2230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 if test -n "$ac_tool_prefix"; then
2234   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2235 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2238 if test "${ac_cv_prog_CC+set}" = set; then
2239   echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241   if test -n "$CC"; then
2242   ac_cv_prog_CC="$CC" # Let the user override the test.
2243 else
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 for as_dir in $PATH
2247   IFS=$as_save_IFS
2248   test -z "$as_dir" && as_dir=.
2249   for ac_exec_ext in '' $ac_executable_extensions; do
2250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2252     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253     break 2
2254   fi
2255 done
2256 done
2257 IFS=$as_save_IFS
2261 CC=$ac_cv_prog_CC
2262 if test -n "$CC"; then
2263   { echo "$as_me:$LINENO: result: $CC" >&5
2264 echo "${ECHO_T}$CC" >&6; }
2265 else
2266   { echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6; }
2272 if test -z "$ac_cv_prog_CC"; then
2273   ac_ct_CC=$CC
2274   # Extract the first word of "gcc", so it can be a program name with args.
2275 set dummy gcc; ac_word=$2
2276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2279   echo $ECHO_N "(cached) $ECHO_C" >&6
2280 else
2281   if test -n "$ac_ct_CC"; then
2282   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2283 else
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 for as_dir in $PATH
2287   IFS=$as_save_IFS
2288   test -z "$as_dir" && as_dir=.
2289   for ac_exec_ext in '' $ac_executable_extensions; do
2290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291     ac_cv_prog_ac_ct_CC="gcc"
2292     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293     break 2
2294   fi
2295 done
2296 done
2297 IFS=$as_save_IFS
2301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2302 if test -n "$ac_ct_CC"; then
2303   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2304 echo "${ECHO_T}$ac_ct_CC" >&6; }
2305 else
2306   { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2310   if test "x$ac_ct_CC" = x; then
2311     CC=""
2312   else
2313     case $cross_compiling:$ac_tool_warned in
2314 yes:)
2315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2316 whose name does not start with the host triplet.  If you think this
2317 configuration is useful to you, please write to autoconf@gnu.org." >&5
2318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2319 whose name does not start with the host triplet.  If you think this
2320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2321 ac_tool_warned=yes ;;
2322 esac
2323     CC=$ac_ct_CC
2324   fi
2325 else
2326   CC="$ac_cv_prog_CC"
2329 if test -z "$CC"; then
2330           if test -n "$ac_tool_prefix"; then
2331     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2332 set dummy ${ac_tool_prefix}cc; ac_word=$2
2333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2335 if test "${ac_cv_prog_CC+set}" = set; then
2336   echo $ECHO_N "(cached) $ECHO_C" >&6
2337 else
2338   if test -n "$CC"; then
2339   ac_cv_prog_CC="$CC" # Let the user override the test.
2340 else
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 for as_dir in $PATH
2344   IFS=$as_save_IFS
2345   test -z "$as_dir" && as_dir=.
2346   for ac_exec_ext in '' $ac_executable_extensions; do
2347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348     ac_cv_prog_CC="${ac_tool_prefix}cc"
2349     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350     break 2
2351   fi
2352 done
2353 done
2354 IFS=$as_save_IFS
2358 CC=$ac_cv_prog_CC
2359 if test -n "$CC"; then
2360   { echo "$as_me:$LINENO: result: $CC" >&5
2361 echo "${ECHO_T}$CC" >&6; }
2362 else
2363   { echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6; }
2368   fi
2370 if test -z "$CC"; then
2371   # Extract the first word of "cc", so it can be a program name with args.
2372 set dummy cc; ac_word=$2
2373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then
2376   echo $ECHO_N "(cached) $ECHO_C" >&6
2377 else
2378   if test -n "$CC"; then
2379   ac_cv_prog_CC="$CC" # Let the user override the test.
2380 else
2381   ac_prog_rejected=no
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2385   IFS=$as_save_IFS
2386   test -z "$as_dir" && as_dir=.
2387   for ac_exec_ext in '' $ac_executable_extensions; do
2388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2390        ac_prog_rejected=yes
2391        continue
2392      fi
2393     ac_cv_prog_CC="cc"
2394     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395     break 2
2396   fi
2397 done
2398 done
2399 IFS=$as_save_IFS
2401 if test $ac_prog_rejected = yes; then
2402   # We found a bogon in the path, so make sure we never use it.
2403   set dummy $ac_cv_prog_CC
2404   shift
2405   if test $@%:@ != 0; then
2406     # We chose a different compiler from the bogus one.
2407     # However, it has the same basename, so the bogon will be chosen
2408     # first if we set CC to just the basename; use the full file name.
2409     shift
2410     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2411   fi
2415 CC=$ac_cv_prog_CC
2416 if test -n "$CC"; then
2417   { echo "$as_me:$LINENO: result: $CC" >&5
2418 echo "${ECHO_T}$CC" >&6; }
2419 else
2420   { echo "$as_me:$LINENO: result: no" >&5
2421 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427   if test -n "$ac_tool_prefix"; then
2428   for ac_prog in cl.exe
2429   do
2430     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434 if test "${ac_cv_prog_CC+set}" = set; then
2435   echo $ECHO_N "(cached) $ECHO_C" >&6
2436 else
2437   if test -n "$CC"; then
2438   ac_cv_prog_CC="$CC" # Let the user override the test.
2439 else
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2443   IFS=$as_save_IFS
2444   test -z "$as_dir" && as_dir=.
2445   for ac_exec_ext in '' $ac_executable_extensions; do
2446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2448     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449     break 2
2450   fi
2451 done
2452 done
2453 IFS=$as_save_IFS
2457 CC=$ac_cv_prog_CC
2458 if test -n "$CC"; then
2459   { echo "$as_me:$LINENO: result: $CC" >&5
2460 echo "${ECHO_T}$CC" >&6; }
2461 else
2462   { echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6; }
2467     test -n "$CC" && break
2468   done
2470 if test -z "$CC"; then
2471   ac_ct_CC=$CC
2472   for ac_prog in cl.exe
2474   # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 set dummy $ac_prog; ac_word=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479   echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481   if test -n "$ac_ct_CC"; then
2482   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2483 else
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2487   IFS=$as_save_IFS
2488   test -z "$as_dir" && as_dir=.
2489   for ac_exec_ext in '' $ac_executable_extensions; do
2490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491     ac_cv_prog_ac_ct_CC="$ac_prog"
2492     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493     break 2
2494   fi
2495 done
2496 done
2497 IFS=$as_save_IFS
2501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2502 if test -n "$ac_ct_CC"; then
2503   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2504 echo "${ECHO_T}$ac_ct_CC" >&6; }
2505 else
2506   { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2511   test -n "$ac_ct_CC" && break
2512 done
2514   if test "x$ac_ct_CC" = x; then
2515     CC=""
2516   else
2517     case $cross_compiling:$ac_tool_warned in
2518 yes:)
2519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2520 whose name does not start with the host triplet.  If you think this
2521 configuration is useful to you, please write to autoconf@gnu.org." >&5
2522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2523 whose name does not start with the host triplet.  If you think this
2524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2525 ac_tool_warned=yes ;;
2526 esac
2527     CC=$ac_ct_CC
2528   fi
2534 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: no acceptable C compiler found in \$PATH
2537 See \`config.log' for more details." >&2;}
2538    { (exit 1); exit 1; }; }
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO: checking for C compiler version" >&5
2542 ac_compiler=`set X $ac_compile; echo $2`
2543 { (ac_try="$ac_compiler --version >&5"
2544 case "(($ac_try" in
2545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546   *) ac_try_echo=$ac_try;;
2547 esac
2548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2549   (eval "$ac_compiler --version >&5") 2>&5
2550   ac_status=$?
2551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552   (exit $ac_status); }
2553 { (ac_try="$ac_compiler -v >&5"
2554 case "(($ac_try" in
2555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556   *) ac_try_echo=$ac_try;;
2557 esac
2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559   (eval "$ac_compiler -v >&5") 2>&5
2560   ac_status=$?
2561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562   (exit $ac_status); }
2563 { (ac_try="$ac_compiler -V >&5"
2564 case "(($ac_try" in
2565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566   *) ac_try_echo=$ac_try;;
2567 esac
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569   (eval "$ac_compiler -V >&5") 2>&5
2570   ac_status=$?
2571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572   (exit $ac_status); }
2574 cat >conftest.$ac_ext <<_ACEOF
2575 /* confdefs.h.  */
2576 _ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h.  */
2582 main ()
2585   ;
2586   return 0;
2588 _ACEOF
2589 ac_clean_files_save=$ac_clean_files
2590 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2591 # Try to create an executable without -o first, disregard a.out.
2592 # It will help us diagnose broken compilers, and finding out an intuition
2593 # of exeext.
2594 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2595 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2596 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2598 # List of possible output files, starting from the most likely.
2599 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2600 # only as a last resort.  b.out is created by i960 compilers.
2601 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2603 # The IRIX 6 linker writes into existing files which may not be
2604 # executable, retaining their permissions.  Remove them first so a
2605 # subsequent execution test works.
2606 ac_rmfiles=
2607 for ac_file in $ac_files
2609   case $ac_file in
2610     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2611     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2612   esac
2613 done
2614 rm -f $ac_rmfiles
2616 if { (ac_try="$ac_link_default"
2617 case "(($ac_try" in
2618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619   *) ac_try_echo=$ac_try;;
2620 esac
2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622   (eval "$ac_link_default") 2>&5
2623   ac_status=$?
2624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625   (exit $ac_status); }; then
2626   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2627 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2628 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2629 # so that the user can short-circuit this test for compilers unknown to
2630 # Autoconf.
2631 for ac_file in $ac_files ''
2633   test -f "$ac_file" || continue
2634   case $ac_file in
2635     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2636         ;;
2637     [ab].out )
2638         # We found the default executable, but exeext='' is most
2639         # certainly right.
2640         break;;
2641     *.* )
2642         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2643         then :; else
2644            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2645         fi
2646         # We set ac_cv_exeext here because the later test for it is not
2647         # safe: cross compilers may not add the suffix if given an `-o'
2648         # argument, so we may need to know it at that point already.
2649         # Even if this section looks crufty: it has the advantage of
2650         # actually working.
2651         break;;
2652     * )
2653         break;;
2654   esac
2655 done
2656 test "$ac_cv_exeext" = no && ac_cv_exeext=
2658 else
2659   ac_file=''
2662 { echo "$as_me:$LINENO: result: $ac_file" >&5
2663 echo "${ECHO_T}$ac_file" >&6; }
2664 if test -z "$ac_file"; then
2665   echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2669 See \`config.log' for more details." >&5
2670 echo "$as_me: error: C compiler cannot create executables
2671 See \`config.log' for more details." >&2;}
2672    { (exit 77); exit 77; }; }
2675 ac_exeext=$ac_cv_exeext
2677 # Check that the compiler produces executables we can run.  If not, either
2678 # the compiler is broken, or we cross compile.
2679 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2680 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2681 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2682 # If not cross compiling, check that we can run a simple program.
2683 if test "$cross_compiling" != yes; then
2684   if { ac_try='./$ac_file'
2685   { (case "(($ac_try" in
2686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687   *) ac_try_echo=$ac_try;;
2688 esac
2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690   (eval "$ac_try") 2>&5
2691   ac_status=$?
2692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693   (exit $ac_status); }; }; then
2694     cross_compiling=no
2695   else
2696     if test "$cross_compiling" = maybe; then
2697         cross_compiling=yes
2698     else
2699         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2700 If you meant to cross compile, use \`--host'.
2701 See \`config.log' for more details." >&5
2702 echo "$as_me: error: cannot run C compiled programs.
2703 If you meant to cross compile, use \`--host'.
2704 See \`config.log' for more details." >&2;}
2705    { (exit 1); exit 1; }; }
2706     fi
2707   fi
2709 { echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6; }
2712 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2713 ac_clean_files=$ac_clean_files_save
2714 # Check that the compiler produces executables we can run.  If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2718 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2719 echo "${ECHO_T}$cross_compiling" >&6; }
2721 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2722 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2723 if { (ac_try="$ac_link"
2724 case "(($ac_try" in
2725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726   *) ac_try_echo=$ac_try;;
2727 esac
2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2729   (eval "$ac_link") 2>&5
2730   ac_status=$?
2731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732   (exit $ac_status); }; then
2733   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2734 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2735 # work properly (i.e., refer to `conftest.exe'), while it won't with
2736 # `rm'.
2737 for ac_file in conftest.exe conftest conftest.*; do
2738   test -f "$ac_file" || continue
2739   case $ac_file in
2740     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2741     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2742           break;;
2743     * ) break;;
2744   esac
2745 done
2746 else
2747   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2748 See \`config.log' for more details." >&5
2749 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2750 See \`config.log' for more details." >&2;}
2751    { (exit 1); exit 1; }; }
2754 rm -f conftest$ac_cv_exeext
2755 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2756 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2758 rm -f conftest.$ac_ext
2759 EXEEXT=$ac_cv_exeext
2760 ac_exeext=$EXEEXT
2761 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2762 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2763 if test "${ac_cv_objext+set}" = set; then
2764   echo $ECHO_N "(cached) $ECHO_C" >&6
2765 else
2766   cat >conftest.$ac_ext <<_ACEOF
2767 /* confdefs.h.  */
2768 _ACEOF
2769 cat confdefs.h >>conftest.$ac_ext
2770 cat >>conftest.$ac_ext <<_ACEOF
2771 /* end confdefs.h.  */
2774 main ()
2777   ;
2778   return 0;
2780 _ACEOF
2781 rm -f conftest.o conftest.obj
2782 if { (ac_try="$ac_compile"
2783 case "(($ac_try" in
2784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785   *) ac_try_echo=$ac_try;;
2786 esac
2787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2788   (eval "$ac_compile") 2>&5
2789   ac_status=$?
2790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791   (exit $ac_status); }; then
2792   for ac_file in conftest.o conftest.obj conftest.*; do
2793   test -f "$ac_file" || continue;
2794   case $ac_file in
2795     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2796     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2797        break;;
2798   esac
2799 done
2800 else
2801   echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2805 See \`config.log' for more details." >&5
2806 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2807 See \`config.log' for more details." >&2;}
2808    { (exit 1); exit 1; }; }
2811 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2813 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2814 echo "${ECHO_T}$ac_cv_objext" >&6; }
2815 OBJEXT=$ac_cv_objext
2816 ac_objext=$OBJEXT
2817 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2818 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2819 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2820   echo $ECHO_N "(cached) $ECHO_C" >&6
2821 else
2822   cat >conftest.$ac_ext <<_ACEOF
2823 /* confdefs.h.  */
2824 _ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h.  */
2830 main ()
2832 #ifndef __GNUC__
2833        choke me
2834 #endif
2836   ;
2837   return 0;
2839 _ACEOF
2840 rm -f conftest.$ac_objext
2841 if { (ac_try="$ac_compile"
2842 case "(($ac_try" in
2843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844   *) ac_try_echo=$ac_try;;
2845 esac
2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847   (eval "$ac_compile") 2>conftest.er1
2848   ac_status=$?
2849   grep -v '^ *+' conftest.er1 >conftest.err
2850   rm -f conftest.er1
2851   cat conftest.err >&5
2852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853   (exit $ac_status); } && {
2854          test -z "$ac_c_werror_flag" ||
2855          test ! -s conftest.err
2856        } && test -s conftest.$ac_objext; then
2857   ac_compiler_gnu=yes
2858 else
2859   echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862         ac_compiler_gnu=no
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2869 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2870 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2871 GCC=`test $ac_compiler_gnu = yes && echo yes`
2872 ac_test_CFLAGS=${CFLAGS+set}
2873 ac_save_CFLAGS=$CFLAGS
2874 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2875 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2876 if test "${ac_cv_prog_cc_g+set}" = set; then
2877   echo $ECHO_N "(cached) $ECHO_C" >&6
2878 else
2879   ac_save_c_werror_flag=$ac_c_werror_flag
2880    ac_c_werror_flag=yes
2881    ac_cv_prog_cc_g=no
2882    CFLAGS="-g"
2883    cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h.  */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h.  */
2891 main ()
2894   ;
2895   return 0;
2897 _ACEOF
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2900 case "(($ac_try" in
2901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902   *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905   (eval "$ac_compile") 2>conftest.er1
2906   ac_status=$?
2907   grep -v '^ *+' conftest.er1 >conftest.err
2908   rm -f conftest.er1
2909   cat conftest.err >&5
2910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911   (exit $ac_status); } && {
2912          test -z "$ac_c_werror_flag" ||
2913          test ! -s conftest.err
2914        } && test -s conftest.$ac_objext; then
2915   ac_cv_prog_cc_g=yes
2916 else
2917   echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2920         CFLAGS=""
2921       cat >conftest.$ac_ext <<_ACEOF
2922 /* confdefs.h.  */
2923 _ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h.  */
2929 main ()
2932   ;
2933   return 0;
2935 _ACEOF
2936 rm -f conftest.$ac_objext
2937 if { (ac_try="$ac_compile"
2938 case "(($ac_try" in
2939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940   *) ac_try_echo=$ac_try;;
2941 esac
2942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2943   (eval "$ac_compile") 2>conftest.er1
2944   ac_status=$?
2945   grep -v '^ *+' conftest.er1 >conftest.err
2946   rm -f conftest.er1
2947   cat conftest.err >&5
2948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949   (exit $ac_status); } && {
2950          test -z "$ac_c_werror_flag" ||
2951          test ! -s conftest.err
2952        } && test -s conftest.$ac_objext; then
2953   :
2954 else
2955   echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958         ac_c_werror_flag=$ac_save_c_werror_flag
2959          CFLAGS="-g"
2960          cat >conftest.$ac_ext <<_ACEOF
2961 /* confdefs.h.  */
2962 _ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h.  */
2968 main ()
2971   ;
2972   return 0;
2974 _ACEOF
2975 rm -f conftest.$ac_objext
2976 if { (ac_try="$ac_compile"
2977 case "(($ac_try" in
2978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979   *) ac_try_echo=$ac_try;;
2980 esac
2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982   (eval "$ac_compile") 2>conftest.er1
2983   ac_status=$?
2984   grep -v '^ *+' conftest.er1 >conftest.err
2985   rm -f conftest.er1
2986   cat conftest.err >&5
2987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988   (exit $ac_status); } && {
2989          test -z "$ac_c_werror_flag" ||
2990          test ! -s conftest.err
2991        } && test -s conftest.$ac_objext; then
2992   ac_cv_prog_cc_g=yes
2993 else
2994   echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2997         
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007    ac_c_werror_flag=$ac_save_c_werror_flag
3009 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3010 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3011 if test "$ac_test_CFLAGS" = set; then
3012   CFLAGS=$ac_save_CFLAGS
3013 elif test $ac_cv_prog_cc_g = yes; then
3014   if test "$GCC" = yes; then
3015     CFLAGS="-g -O2"
3016   else
3017     CFLAGS="-g"
3018   fi
3019 else
3020   if test "$GCC" = yes; then
3021     CFLAGS="-O2"
3022   else
3023     CFLAGS=
3024   fi
3026 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3027 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3028 if test "${ac_cv_prog_cc_c89+set}" = set; then
3029   echo $ECHO_N "(cached) $ECHO_C" >&6
3030 else
3031   ac_cv_prog_cc_c89=no
3032 ac_save_CC=$CC
3033 cat >conftest.$ac_ext <<_ACEOF
3034 /* confdefs.h.  */
3035 _ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h.  */
3039 #include <stdarg.h>
3040 #include <stdio.h>
3041 #include <sys/types.h>
3042 #include <sys/stat.h>
3043 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3044 struct buf { int x; };
3045 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3046 static char *e (p, i)
3047      char **p;
3048      int i;
3050   return p[i];
3052 static char *f (char * (*g) (char **, int), char **p, ...)
3054   char *s;
3055   va_list v;
3056   va_start (v,p);
3057   s = g (p, va_arg (v,int));
3058   va_end (v);
3059   return s;
3062 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3063    function prototypes and stuff, but not '\xHH' hex character constants.
3064    These don't provoke an error unfortunately, instead are silently treated
3065    as 'x'.  The following induces an error, until -std is added to get
3066    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3067    array size at least.  It's necessary to write '\x00'==0 to get something
3068    that's true only with -std.  */
3069 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3072    inside strings and character constants.  */
3073 #define FOO(x) 'x'
3074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3076 int test (int i, double x);
3077 struct s1 {int (*f) (int a);};
3078 struct s2 {int (*f) (double a);};
3079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3080 int argc;
3081 char **argv;
3083 main ()
3085 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3086   ;
3087   return 0;
3089 _ACEOF
3090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3091         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3093   CC="$ac_save_CC $ac_arg"
3094   rm -f conftest.$ac_objext
3095 if { (ac_try="$ac_compile"
3096 case "(($ac_try" in
3097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098   *) ac_try_echo=$ac_try;;
3099 esac
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101   (eval "$ac_compile") 2>conftest.er1
3102   ac_status=$?
3103   grep -v '^ *+' conftest.er1 >conftest.err
3104   rm -f conftest.er1
3105   cat conftest.err >&5
3106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107   (exit $ac_status); } && {
3108          test -z "$ac_c_werror_flag" ||
3109          test ! -s conftest.err
3110        } && test -s conftest.$ac_objext; then
3111   ac_cv_prog_cc_c89=$ac_arg
3112 else
3113   echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116         
3119 rm -f core conftest.err conftest.$ac_objext 
3120   test "x$ac_cv_prog_cc_c89" != "xno" && break
3121 done
3122 rm -f conftest.$ac_ext
3123 CC=$ac_save_CC
3126 # AC_CACHE_VAL
3127 case "x$ac_cv_prog_cc_c89" in
3128   x)
3129     { echo "$as_me:$LINENO: result: none needed" >&5
3130 echo "${ECHO_T}none needed" >&6; } ;;
3131   xno)
3132     { echo "$as_me:$LINENO: result: unsupported" >&5
3133 echo "${ECHO_T}unsupported" >&6; } ;;
3134   *)
3135     CC="$CC $ac_cv_prog_cc_c89"
3136     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3137 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3138 esac
3141 ac_ext=c
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 DEPDIR="${am__leading_dot}deps"
3148 ac_config_commands="$ac_config_commands depfiles"
3151 am_make=${MAKE-make}
3152 cat > confinc << 'END'
3153 am__doit:
3154         @echo done
3155 .PHONY: am__doit
3157 # If we don't find an include directive, just comment out the code.
3158 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3159 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3160 am__include="#"
3161 am__quote=
3162 _am_result=none
3163 # First try GNU make style include.
3164 echo "include confinc" > confmf
3165 # We grep out `Entering directory' and `Leaving directory'
3166 # messages which can occur if `w' ends up in MAKEFLAGS.
3167 # In particular we don't look at `^make:' because GNU make might
3168 # be invoked under some other name (usually "gmake"), in which
3169 # case it prints its new name instead of `make'.
3170 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3171    am__include=include
3172    am__quote=
3173    _am_result=GNU
3175 # Now try BSD make style include.
3176 if test "$am__include" = "#"; then
3177    echo '.include "confinc"' > confmf
3178    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3179       am__include=.include
3180       am__quote="\""
3181       _am_result=BSD
3182    fi
3186 { echo "$as_me:$LINENO: result: $_am_result" >&5
3187 echo "${ECHO_T}$_am_result" >&6; }
3188 rm -f confinc confmf
3190 # Check whether --enable-dependency-tracking was given.
3191 if test "${enable_dependency_tracking+set}" = set; then
3192   enableval=$enable_dependency_tracking; 
3195 if test "x$enable_dependency_tracking" != xno; then
3196   am_depcomp="$ac_aux_dir/depcomp"
3197   AMDEPBACKSLASH='\'
3199  if test "x$enable_dependency_tracking" != xno; then
3200   AMDEP_TRUE=
3201   AMDEP_FALSE='#'
3202 else
3203   AMDEP_TRUE='#'
3204   AMDEP_FALSE=
3209 depcc="$CC"   am_compiler_list=
3211 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3212 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3213 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3214   echo $ECHO_N "(cached) $ECHO_C" >&6
3215 else
3216   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3217   # We make a subdir and do the tests there.  Otherwise we can end up
3218   # making bogus files that we don't know about and never remove.  For
3219   # instance it was reported that on HP-UX the gcc test will end up
3220   # making a dummy file named `D' -- because `-MD' means `put the output
3221   # in D'.
3222   mkdir conftest.dir
3223   # Copy depcomp to subdir because otherwise we won't find it if we're
3224   # using a relative directory.
3225   cp "$am_depcomp" conftest.dir
3226   cd conftest.dir
3227   # We will build objects and dependencies in a subdirectory because
3228   # it helps to detect inapplicable dependency modes.  For instance
3229   # both Tru64's cc and ICC support -MD to output dependencies as a
3230   # side effect of compilation, but ICC will put the dependencies in
3231   # the current directory while Tru64 will put them in the object
3232   # directory.
3233   mkdir sub
3235   am_cv_CC_dependencies_compiler_type=none
3236   if test "$am_compiler_list" = ""; then
3237      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3238   fi
3239   for depmode in $am_compiler_list; do
3240     # Setup a source with many dependencies, because some compilers
3241     # like to wrap large dependency lists on column 80 (with \), and
3242     # we should not choose a depcomp mode which is confused by this.
3243     #
3244     # We need to recreate these files for each test, as the compiler may
3245     # overwrite some of them when testing with obscure command lines.
3246     # This happens at least with the AIX C compiler.
3247     : > sub/conftest.c
3248     for i in 1 2 3 4 5 6; do
3249       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3250       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3251       # Solaris 8's {/usr,}/bin/sh.
3252       touch sub/conftst$i.h
3253     done
3254     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3256     case $depmode in
3257     nosideeffect)
3258       # after this tag, mechanisms are not by side-effect, so they'll
3259       # only be used when explicitly requested
3260       if test "x$enable_dependency_tracking" = xyes; then
3261         continue
3262       else
3263         break
3264       fi
3265       ;;
3266     none) break ;;
3267     esac
3268     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3269     # mode.  It turns out that the SunPro C++ compiler does not properly
3270     # handle `-M -o', and we need to detect this.
3271     if depmode=$depmode \
3272        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3273        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3274        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3275          >/dev/null 2>conftest.err &&
3276        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3277        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3278        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3279        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3280       # icc doesn't choke on unknown options, it will just issue warnings
3281       # or remarks (even with -Werror).  So we grep stderr for any message
3282       # that says an option was ignored or not supported.
3283       # When given -MP, icc 7.0 and 7.1 complain thusly:
3284       #   icc: Command line warning: ignoring option '-M'; no argument required
3285       # The diagnosis changed in icc 8.0:
3286       #   icc: Command line remark: option '-MP' not supported
3287       if (grep 'ignoring option' conftest.err ||
3288           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3289         am_cv_CC_dependencies_compiler_type=$depmode
3290         break
3291       fi
3292     fi
3293   done
3295   cd ..
3296   rm -rf conftest.dir
3297 else
3298   am_cv_CC_dependencies_compiler_type=none
3302 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3303 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3304 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3306  if 
3307   test "x$enable_dependency_tracking" != xno \
3308   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3309   am__fastdepCC_TRUE=
3310   am__fastdepCC_FALSE='#'
3311 else
3312   am__fastdepCC_TRUE='#'
3313   am__fastdepCC_FALSE=
3317 ac_ext=cpp
3318 ac_cpp='$CXXCPP $CPPFLAGS'
3319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3322 if test -z "$CXX"; then
3323   if test -n "$CCC"; then
3324     CXX=$CCC
3325   else
3326     if test -n "$ac_tool_prefix"; then
3327   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3328   do
3329     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3333 if test "${ac_cv_prog_CXX+set}" = set; then
3334   echo $ECHO_N "(cached) $ECHO_C" >&6
3335 else
3336   if test -n "$CXX"; then
3337   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3338 else
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 for as_dir in $PATH
3342   IFS=$as_save_IFS
3343   test -z "$as_dir" && as_dir=.
3344   for ac_exec_ext in '' $ac_executable_extensions; do
3345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3347     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3348     break 2
3349   fi
3350 done
3351 done
3352 IFS=$as_save_IFS
3356 CXX=$ac_cv_prog_CXX
3357 if test -n "$CXX"; then
3358   { echo "$as_me:$LINENO: result: $CXX" >&5
3359 echo "${ECHO_T}$CXX" >&6; }
3360 else
3361   { echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6; }
3366     test -n "$CXX" && break
3367   done
3369 if test -z "$CXX"; then
3370   ac_ct_CXX=$CXX
3371   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3373   # Extract the first word of "$ac_prog", so it can be a program name with args.
3374 set dummy $ac_prog; ac_word=$2
3375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3377 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3378   echo $ECHO_N "(cached) $ECHO_C" >&6
3379 else
3380   if test -n "$ac_ct_CXX"; then
3381   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3382 else
3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 for as_dir in $PATH
3386   IFS=$as_save_IFS
3387   test -z "$as_dir" && as_dir=.
3388   for ac_exec_ext in '' $ac_executable_extensions; do
3389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3390     ac_cv_prog_ac_ct_CXX="$ac_prog"
3391     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392     break 2
3393   fi
3394 done
3395 done
3396 IFS=$as_save_IFS
3400 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3401 if test -n "$ac_ct_CXX"; then
3402   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3403 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3404 else
3405   { echo "$as_me:$LINENO: result: no" >&5
3406 echo "${ECHO_T}no" >&6; }
3410   test -n "$ac_ct_CXX" && break
3411 done
3413   if test "x$ac_ct_CXX" = x; then
3414     CXX="g++"
3415   else
3416     case $cross_compiling:$ac_tool_warned in
3417 yes:)
3418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3419 whose name does not start with the host triplet.  If you think this
3420 configuration is useful to you, please write to autoconf@gnu.org." >&5
3421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3422 whose name does not start with the host triplet.  If you think this
3423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426     CXX=$ac_ct_CXX
3427   fi
3430   fi
3432 # Provide some information about the compiler.
3433 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3434 ac_compiler=`set X $ac_compile; echo $2`
3435 { (ac_try="$ac_compiler --version >&5"
3436 case "(($ac_try" in
3437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438   *) ac_try_echo=$ac_try;;
3439 esac
3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441   (eval "$ac_compiler --version >&5") 2>&5
3442   ac_status=$?
3443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444   (exit $ac_status); }
3445 { (ac_try="$ac_compiler -v >&5"
3446 case "(($ac_try" in
3447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448   *) ac_try_echo=$ac_try;;
3449 esac
3450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3451   (eval "$ac_compiler -v >&5") 2>&5
3452   ac_status=$?
3453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454   (exit $ac_status); }
3455 { (ac_try="$ac_compiler -V >&5"
3456 case "(($ac_try" in
3457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458   *) ac_try_echo=$ac_try;;
3459 esac
3460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3461   (eval "$ac_compiler -V >&5") 2>&5
3462   ac_status=$?
3463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464   (exit $ac_status); }
3466 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3467 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3468 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3469   echo $ECHO_N "(cached) $ECHO_C" >&6
3470 else
3471   cat >conftest.$ac_ext <<_ACEOF
3472 /* confdefs.h.  */
3473 _ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h.  */
3479 main ()
3481 #ifndef __GNUC__
3482        choke me
3483 #endif
3485   ;
3486   return 0;
3488 _ACEOF
3489 rm -f conftest.$ac_objext
3490 if { (ac_try="$ac_compile"
3491 case "(($ac_try" in
3492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493   *) ac_try_echo=$ac_try;;
3494 esac
3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3496   (eval "$ac_compile") 2>conftest.er1
3497   ac_status=$?
3498   grep -v '^ *+' conftest.er1 >conftest.err
3499   rm -f conftest.er1
3500   cat conftest.err >&5
3501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502   (exit $ac_status); } && {
3503          test -z "$ac_cxx_werror_flag" ||
3504          test ! -s conftest.err
3505        } && test -s conftest.$ac_objext; then
3506   ac_compiler_gnu=yes
3507 else
3508   echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511         ac_compiler_gnu=no
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3518 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3519 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3520 GXX=`test $ac_compiler_gnu = yes && echo yes`
3521 ac_test_CXXFLAGS=${CXXFLAGS+set}
3522 ac_save_CXXFLAGS=$CXXFLAGS
3523 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3524 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3525 if test "${ac_cv_prog_cxx_g+set}" = set; then
3526   echo $ECHO_N "(cached) $ECHO_C" >&6
3527 else
3528   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3529    ac_cxx_werror_flag=yes
3530    ac_cv_prog_cxx_g=no
3531    CXXFLAGS="-g"
3532    cat >conftest.$ac_ext <<_ACEOF
3533 /* confdefs.h.  */
3534 _ACEOF
3535 cat confdefs.h >>conftest.$ac_ext
3536 cat >>conftest.$ac_ext <<_ACEOF
3537 /* end confdefs.h.  */
3540 main ()
3543   ;
3544   return 0;
3546 _ACEOF
3547 rm -f conftest.$ac_objext
3548 if { (ac_try="$ac_compile"
3549 case "(($ac_try" in
3550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551   *) ac_try_echo=$ac_try;;
3552 esac
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554   (eval "$ac_compile") 2>conftest.er1
3555   ac_status=$?
3556   grep -v '^ *+' conftest.er1 >conftest.err
3557   rm -f conftest.er1
3558   cat conftest.err >&5
3559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560   (exit $ac_status); } && {
3561          test -z "$ac_cxx_werror_flag" ||
3562          test ! -s conftest.err
3563        } && test -s conftest.$ac_objext; then
3564   ac_cv_prog_cxx_g=yes
3565 else
3566   echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569         CXXFLAGS=""
3570       cat >conftest.$ac_ext <<_ACEOF
3571 /* confdefs.h.  */
3572 _ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h.  */
3578 main ()
3581   ;
3582   return 0;
3584 _ACEOF
3585 rm -f conftest.$ac_objext
3586 if { (ac_try="$ac_compile"
3587 case "(($ac_try" in
3588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589   *) ac_try_echo=$ac_try;;
3590 esac
3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592   (eval "$ac_compile") 2>conftest.er1
3593   ac_status=$?
3594   grep -v '^ *+' conftest.er1 >conftest.err
3595   rm -f conftest.er1
3596   cat conftest.err >&5
3597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598   (exit $ac_status); } && {
3599          test -z "$ac_cxx_werror_flag" ||
3600          test ! -s conftest.err
3601        } && test -s conftest.$ac_objext; then
3602   :
3603 else
3604   echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.$ac_ext >&5
3607         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3608          CXXFLAGS="-g"
3609          cat >conftest.$ac_ext <<_ACEOF
3610 /* confdefs.h.  */
3611 _ACEOF
3612 cat confdefs.h >>conftest.$ac_ext
3613 cat >>conftest.$ac_ext <<_ACEOF
3614 /* end confdefs.h.  */
3617 main ()
3620   ;
3621   return 0;
3623 _ACEOF
3624 rm -f conftest.$ac_objext
3625 if { (ac_try="$ac_compile"
3626 case "(($ac_try" in
3627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628   *) ac_try_echo=$ac_try;;
3629 esac
3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3631   (eval "$ac_compile") 2>conftest.er1
3632   ac_status=$?
3633   grep -v '^ *+' conftest.er1 >conftest.err
3634   rm -f conftest.er1
3635   cat conftest.err >&5
3636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637   (exit $ac_status); } && {
3638          test -z "$ac_cxx_werror_flag" ||
3639          test ! -s conftest.err
3640        } && test -s conftest.$ac_objext; then
3641   ac_cv_prog_cxx_g=yes
3642 else
3643   echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3646         
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3660 if test "$ac_test_CXXFLAGS" = set; then
3661   CXXFLAGS=$ac_save_CXXFLAGS
3662 elif test $ac_cv_prog_cxx_g = yes; then
3663   if test "$GXX" = yes; then
3664     CXXFLAGS="-g -O2"
3665   else
3666     CXXFLAGS="-g"
3667   fi
3668 else
3669   if test "$GXX" = yes; then
3670     CXXFLAGS="-O2"
3671   else
3672     CXXFLAGS=
3673   fi
3675 ac_ext=c
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 depcc="$CXX"  am_compiler_list=
3683 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3684 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3685 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3686   echo $ECHO_N "(cached) $ECHO_C" >&6
3687 else
3688   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3689   # We make a subdir and do the tests there.  Otherwise we can end up
3690   # making bogus files that we don't know about and never remove.  For
3691   # instance it was reported that on HP-UX the gcc test will end up
3692   # making a dummy file named `D' -- because `-MD' means `put the output
3693   # in D'.
3694   mkdir conftest.dir
3695   # Copy depcomp to subdir because otherwise we won't find it if we're
3696   # using a relative directory.
3697   cp "$am_depcomp" conftest.dir
3698   cd conftest.dir
3699   # We will build objects and dependencies in a subdirectory because
3700   # it helps to detect inapplicable dependency modes.  For instance
3701   # both Tru64's cc and ICC support -MD to output dependencies as a
3702   # side effect of compilation, but ICC will put the dependencies in
3703   # the current directory while Tru64 will put them in the object
3704   # directory.
3705   mkdir sub
3707   am_cv_CXX_dependencies_compiler_type=none
3708   if test "$am_compiler_list" = ""; then
3709      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3710   fi
3711   for depmode in $am_compiler_list; do
3712     # Setup a source with many dependencies, because some compilers
3713     # like to wrap large dependency lists on column 80 (with \), and
3714     # we should not choose a depcomp mode which is confused by this.
3715     #
3716     # We need to recreate these files for each test, as the compiler may
3717     # overwrite some of them when testing with obscure command lines.
3718     # This happens at least with the AIX C compiler.
3719     : > sub/conftest.c
3720     for i in 1 2 3 4 5 6; do
3721       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3722       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3723       # Solaris 8's {/usr,}/bin/sh.
3724       touch sub/conftst$i.h
3725     done
3726     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3728     case $depmode in
3729     nosideeffect)
3730       # after this tag, mechanisms are not by side-effect, so they'll
3731       # only be used when explicitly requested
3732       if test "x$enable_dependency_tracking" = xyes; then
3733         continue
3734       else
3735         break
3736       fi
3737       ;;
3738     none) break ;;
3739     esac
3740     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3741     # mode.  It turns out that the SunPro C++ compiler does not properly
3742     # handle `-M -o', and we need to detect this.
3743     if depmode=$depmode \
3744        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3745        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3746        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3747          >/dev/null 2>conftest.err &&
3748        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3749        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3750        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3751        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3752       # icc doesn't choke on unknown options, it will just issue warnings
3753       # or remarks (even with -Werror).  So we grep stderr for any message
3754       # that says an option was ignored or not supported.
3755       # When given -MP, icc 7.0 and 7.1 complain thusly:
3756       #   icc: Command line warning: ignoring option '-M'; no argument required
3757       # The diagnosis changed in icc 8.0:
3758       #   icc: Command line remark: option '-MP' not supported
3759       if (grep 'ignoring option' conftest.err ||
3760           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3761         am_cv_CXX_dependencies_compiler_type=$depmode
3762         break
3763       fi
3764     fi
3765   done
3767   cd ..
3768   rm -rf conftest.dir
3769 else
3770   am_cv_CXX_dependencies_compiler_type=none
3774 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3775 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3776 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3778  if 
3779   test "x$enable_dependency_tracking" != xno \
3780   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3781   am__fastdepCXX_TRUE=
3782   am__fastdepCXX_FALSE='#'
3783 else
3784   am__fastdepCXX_TRUE='#'
3785   am__fastdepCXX_FALSE=
3789 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3791 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3792 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3793   echo $ECHO_N "(cached) $ECHO_C" >&6
3794 else
3795   cat >conftest.make <<\_ACEOF
3796 SHELL = /bin/sh
3797 all:
3798         @echo '@@@%%%=$(MAKE)=@@@%%%'
3799 _ACEOF
3800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3802   *@@@%%%=?*=@@@%%%*)
3803     eval ac_cv_prog_make_${ac_make}_set=yes;;
3804   *)
3805     eval ac_cv_prog_make_${ac_make}_set=no;;
3806 esac
3807 rm -f conftest.make
3809 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3810   { echo "$as_me:$LINENO: result: yes" >&5
3811 echo "${ECHO_T}yes" >&6; }
3812   SET_MAKE=
3813 else
3814   { echo "$as_me:$LINENO: result: no" >&5
3815 echo "${ECHO_T}no" >&6; }
3816   SET_MAKE="MAKE=${MAKE-make}"
3819 if test -n "$ac_tool_prefix"; then
3820   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3821 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3824 if test "${ac_cv_prog_RANLIB+set}" = set; then
3825   echo $ECHO_N "(cached) $ECHO_C" >&6
3826 else
3827   if test -n "$RANLIB"; then
3828   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3829 else
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 for as_dir in $PATH
3833   IFS=$as_save_IFS
3834   test -z "$as_dir" && as_dir=.
3835   for ac_exec_ext in '' $ac_executable_extensions; do
3836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3837     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3838     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3839     break 2
3840   fi
3841 done
3842 done
3843 IFS=$as_save_IFS
3847 RANLIB=$ac_cv_prog_RANLIB
3848 if test -n "$RANLIB"; then
3849   { echo "$as_me:$LINENO: result: $RANLIB" >&5
3850 echo "${ECHO_T}$RANLIB" >&6; }
3851 else
3852   { echo "$as_me:$LINENO: result: no" >&5
3853 echo "${ECHO_T}no" >&6; }
3858 if test -z "$ac_cv_prog_RANLIB"; then
3859   ac_ct_RANLIB=$RANLIB
3860   # Extract the first word of "ranlib", so it can be a program name with args.
3861 set dummy ranlib; ac_word=$2
3862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3864 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3865   echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867   if test -n "$ac_ct_RANLIB"; then
3868   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3873   IFS=$as_save_IFS
3874   test -z "$as_dir" && as_dir=.
3875   for ac_exec_ext in '' $ac_executable_extensions; do
3876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3877     ac_cv_prog_ac_ct_RANLIB="ranlib"
3878     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879     break 2
3880   fi
3881 done
3882 done
3883 IFS=$as_save_IFS
3887 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3888 if test -n "$ac_ct_RANLIB"; then
3889   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3890 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3891 else
3892   { echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6; }
3896   if test "x$ac_ct_RANLIB" = x; then
3897     RANLIB=":"
3898   else
3899     case $cross_compiling:$ac_tool_warned in
3900 yes:)
3901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3902 whose name does not start with the host triplet.  If you think this
3903 configuration is useful to you, please write to autoconf@gnu.org." >&5
3904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3905 whose name does not start with the host triplet.  If you think this
3906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3907 ac_tool_warned=yes ;;
3908 esac
3909     RANLIB=$ac_ct_RANLIB
3910   fi
3911 else
3912   RANLIB="$ac_cv_prog_RANLIB"
3915 ac_ext=cpp
3916 ac_cpp='$CXXCPP $CPPFLAGS'
3917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3922 # hack to locate on BSD systems
3923 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3924 LIBS="$LIBS -L/usr/local/lib"
3927 # Checks for libraries.
3928 # FIXME: Replace `main' with a function in `-lgmp':
3930 { echo "$as_me:$LINENO: checking for library containing __gmpz_init" >&5
3931 echo $ECHO_N "checking for library containing __gmpz_init... $ECHO_C" >&6; }
3932 if test "${ac_cv_search___gmpz_init+set}" = set; then
3933   echo $ECHO_N "(cached) $ECHO_C" >&6
3934 else
3935   ac_func_search_save_LIBS=$LIBS
3936 cat >conftest.$ac_ext <<_ACEOF
3937 /* confdefs.h.  */
3938 _ACEOF
3939 cat confdefs.h >>conftest.$ac_ext
3940 cat >>conftest.$ac_ext <<_ACEOF
3941 /* end confdefs.h.  */
3943 /* Override any GCC internal prototype to avoid an error.
3944    Use char because int might match the return type of a GCC
3945    builtin and then its argument prototype would still apply.  */
3946 #ifdef __cplusplus
3947 extern "C"
3948 #endif
3949 char __gmpz_init ();
3951 main ()
3953 return __gmpz_init ();
3954   ;
3955   return 0;
3957 _ACEOF
3958 for ac_lib in '' gmp; do
3959   if test -z "$ac_lib"; then
3960     ac_res="none required"
3961   else
3962     ac_res=-l$ac_lib
3963     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3964   fi
3965   rm -f conftest.$ac_objext conftest$ac_exeext
3966 if { (ac_try="$ac_link"
3967 case "(($ac_try" in
3968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969   *) ac_try_echo=$ac_try;;
3970 esac
3971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3972   (eval "$ac_link") 2>conftest.er1
3973   ac_status=$?
3974   grep -v '^ *+' conftest.er1 >conftest.err
3975   rm -f conftest.er1
3976   cat conftest.err >&5
3977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978   (exit $ac_status); } && {
3979          test -z "$ac_cxx_werror_flag" ||
3980          test ! -s conftest.err
3981        } && test -s conftest$ac_exeext &&
3982        $as_test_x conftest$ac_exeext; then
3983   ac_cv_search___gmpz_init=$ac_res
3984 else
3985   echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5
3988         
3991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3992       conftest$ac_exeext 
3993   if test "${ac_cv_search___gmpz_init+set}" = set; then
3994   break
3996 done
3997 if test "${ac_cv_search___gmpz_init+set}" = set; then
3998   :
3999 else
4000   ac_cv_search___gmpz_init=no
4002 rm conftest.$ac_ext
4003 LIBS=$ac_func_search_save_LIBS
4005 { echo "$as_me:$LINENO: result: $ac_cv_search___gmpz_init" >&5
4006 echo "${ECHO_T}$ac_cv_search___gmpz_init" >&6; }
4007 ac_res=$ac_cv_search___gmpz_init
4008 if test "$ac_res" != no; then
4009   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4010   
4013 # FIXME: Replace `main' with a function in `-lm':
4014 { echo "$as_me:$LINENO: checking for library containing pow" >&5
4015 echo $ECHO_N "checking for library containing pow... $ECHO_C" >&6; }
4016 if test "${ac_cv_search_pow+set}" = set; then
4017   echo $ECHO_N "(cached) $ECHO_C" >&6
4018 else
4019   ac_func_search_save_LIBS=$LIBS
4020 cat >conftest.$ac_ext <<_ACEOF
4021 /* confdefs.h.  */
4022 _ACEOF
4023 cat confdefs.h >>conftest.$ac_ext
4024 cat >>conftest.$ac_ext <<_ACEOF
4025 /* end confdefs.h.  */
4027 /* Override any GCC internal prototype to avoid an error.
4028    Use char because int might match the return type of a GCC
4029    builtin and then its argument prototype would still apply.  */
4030 #ifdef __cplusplus
4031 extern "C"
4032 #endif
4033 char pow ();
4035 main ()
4037 return pow ();
4038   ;
4039   return 0;
4041 _ACEOF
4042 for ac_lib in '' m; do
4043   if test -z "$ac_lib"; then
4044     ac_res="none required"
4045   else
4046     ac_res=-l$ac_lib
4047     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4048   fi
4049   rm -f conftest.$ac_objext conftest$ac_exeext
4050 if { (ac_try="$ac_link"
4051 case "(($ac_try" in
4052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053   *) ac_try_echo=$ac_try;;
4054 esac
4055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4056   (eval "$ac_link") 2>conftest.er1
4057   ac_status=$?
4058   grep -v '^ *+' conftest.er1 >conftest.err
4059   rm -f conftest.er1
4060   cat conftest.err >&5
4061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062   (exit $ac_status); } && {
4063          test -z "$ac_cxx_werror_flag" ||
4064          test ! -s conftest.err
4065        } && test -s conftest$ac_exeext &&
4066        $as_test_x conftest$ac_exeext; then
4067   ac_cv_search_pow=$ac_res
4068 else
4069   echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4072         
4075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4076       conftest$ac_exeext 
4077   if test "${ac_cv_search_pow+set}" = set; then
4078   break
4080 done
4081 if test "${ac_cv_search_pow+set}" = set; then
4082   :
4083 else
4084   ac_cv_search_pow=no
4086 rm conftest.$ac_ext
4087 LIBS=$ac_func_search_save_LIBS
4089 { echo "$as_me:$LINENO: result: $ac_cv_search_pow" >&5
4090 echo "${ECHO_T}$ac_cv_search_pow" >&6; }
4091 ac_res=$ac_cv_search_pow
4092 if test "$ac_res" != no; then
4093   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4094   
4097 # FIXME: Replace `main' with a function in `-lntl':
4098 { echo "$as_me:$LINENO: checking for library containing FFT" >&5
4099 echo $ECHO_N "checking for library containing FFT... $ECHO_C" >&6; }
4100 if test "${ac_cv_search_FFT+set}" = set; then
4101   echo $ECHO_N "(cached) $ECHO_C" >&6
4102 else
4103   ac_func_search_save_LIBS=$LIBS
4104 cat >conftest.$ac_ext <<_ACEOF
4105 /* confdefs.h.  */
4106 _ACEOF
4107 cat confdefs.h >>conftest.$ac_ext
4108 cat >>conftest.$ac_ext <<_ACEOF
4109 /* end confdefs.h.  */
4111 /* Override any GCC internal prototype to avoid an error.
4112    Use char because int might match the return type of a GCC
4113    builtin and then its argument prototype would still apply.  */
4114 #ifdef __cplusplus
4115 extern "C"
4116 #endif
4117 char FFT ();
4119 main ()
4121 return FFT ();
4122   ;
4123   return 0;
4125 _ACEOF
4126 for ac_lib in '' ntl; do
4127   if test -z "$ac_lib"; then
4128     ac_res="none required"
4129   else
4130     ac_res=-l$ac_lib
4131     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4132   fi
4133   rm -f conftest.$ac_objext conftest$ac_exeext
4134 if { (ac_try="$ac_link"
4135 case "(($ac_try" in
4136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137   *) ac_try_echo=$ac_try;;
4138 esac
4139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4140   (eval "$ac_link") 2>conftest.er1
4141   ac_status=$?
4142   grep -v '^ *+' conftest.er1 >conftest.err
4143   rm -f conftest.er1
4144   cat conftest.err >&5
4145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146   (exit $ac_status); } && {
4147          test -z "$ac_cxx_werror_flag" ||
4148          test ! -s conftest.err
4149        } && test -s conftest$ac_exeext &&
4150        $as_test_x conftest$ac_exeext; then
4151   ac_cv_search_FFT=$ac_res
4152 else
4153   echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.$ac_ext >&5
4156         
4159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4160       conftest$ac_exeext 
4161   if test "${ac_cv_search_FFT+set}" = set; then
4162   break
4164 done
4165 if test "${ac_cv_search_FFT+set}" = set; then
4166   :
4167 else
4168   ac_cv_search_FFT=no
4170 rm conftest.$ac_ext
4171 LIBS=$ac_func_search_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_search_FFT" >&5
4174 echo "${ECHO_T}$ac_cv_search_FFT" >&6; }
4175 ac_res=$ac_cv_search_FFT
4176 if test "$ac_res" != no; then
4177   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4178   
4181 #AC_SEARCH_LIBS([NTL::FFT], [ntl], [], [have_ntl=no])
4183 # NTL is a must
4184 #if test "x${have_ntl}" = xno; then
4185 #  AC_ARG_WITH([ntl],
4186 #  [AS_HELP_STRING([--with-ntl=<path>], 
4187 #  [prefix of NTL installation, e.g. /usr/local])],
4188 #  [NTL_PREFIX=$with_ntl],
4189 #  [AC_MSG_ERROR([You must call configure with the --with-ntl option.
4190 #  This tells configure where to find the NTL library and headers.
4191 #  e.g. --with-ntl=/usr/local or --with-mysql=/homes/user/local])])
4193 #  AC_SUBST(NTL_PREFIX)
4194 #  NTL_LIBS="-L${NTL_PREFIX}/lib -lntl"
4195 #  NTL_CPPFLAGS="-I${NTL_PREFIX}/include"
4196 #  AC_SUBST(NTL_LIBS)
4197 #  AC_SUBST(NTL_CPPFLAGS)
4200 # Checks for header files.
4202 # Checks for typedefs, structures, and compiler characteristics.
4203 ac_ext=cpp
4204 ac_cpp='$CXXCPP $CPPFLAGS'
4205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4208 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4209 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4210 if test -z "$CXXCPP"; then
4211   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4212   echo $ECHO_N "(cached) $ECHO_C" >&6
4213 else
4214       # Double quotes because CXXCPP needs to be expanded
4215     for CXXCPP in "$CXX -E" "/lib/cpp"
4216     do
4217       ac_preproc_ok=false
4218 for ac_cxx_preproc_warn_flag in '' yes
4220   # Use a header file that comes with gcc, so configuring glibc
4221   # with a fresh cross-compiler works.
4222   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4223   # <limits.h> exists even on freestanding compilers.
4224   # On the NeXT, cc -E runs the code through the compiler's parser,
4225   # not just through cpp. "Syntax error" is here to catch this case.
4226   cat >conftest.$ac_ext <<_ACEOF
4227 /* confdefs.h.  */
4228 _ACEOF
4229 cat confdefs.h >>conftest.$ac_ext
4230 cat >>conftest.$ac_ext <<_ACEOF
4231 /* end confdefs.h.  */
4232 @%:@ifdef __STDC__
4233 @%:@ include <limits.h>
4234 @%:@else
4235 @%:@ include <assert.h>
4236 @%:@endif
4237                      Syntax error
4238 _ACEOF
4239 if { (ac_try="$ac_cpp conftest.$ac_ext"
4240 case "(($ac_try" in
4241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242   *) ac_try_echo=$ac_try;;
4243 esac
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4246   ac_status=$?
4247   grep -v '^ *+' conftest.er1 >conftest.err
4248   rm -f conftest.er1
4249   cat conftest.err >&5
4250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251   (exit $ac_status); } >/dev/null && {
4252          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4253          test ! -s conftest.err
4254        }; then
4255   :
4256 else
4257   echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.$ac_ext >&5
4260   # Broken: fails on valid input.
4261 continue
4264 rm -f conftest.err conftest.$ac_ext
4266   # OK, works on sane cases.  Now check whether nonexistent headers
4267   # can be detected and how.
4268   cat >conftest.$ac_ext <<_ACEOF
4269 /* confdefs.h.  */
4270 _ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h.  */
4274 @%:@include <ac_nonexistent.h>
4275 _ACEOF
4276 if { (ac_try="$ac_cpp conftest.$ac_ext"
4277 case "(($ac_try" in
4278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279   *) ac_try_echo=$ac_try;;
4280 esac
4281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4282   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4283   ac_status=$?
4284   grep -v '^ *+' conftest.er1 >conftest.err
4285   rm -f conftest.er1
4286   cat conftest.err >&5
4287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288   (exit $ac_status); } >/dev/null && {
4289          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4290          test ! -s conftest.err
4291        }; then
4292   # Broken: success on invalid input.
4293 continue
4294 else
4295   echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4298   # Passes both tests.
4299 ac_preproc_ok=:
4300 break
4303 rm -f conftest.err conftest.$ac_ext
4305 done
4306 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4307 rm -f conftest.err conftest.$ac_ext
4308 if $ac_preproc_ok; then
4309   break
4312     done
4313     ac_cv_prog_CXXCPP=$CXXCPP
4314   
4316   CXXCPP=$ac_cv_prog_CXXCPP
4317 else
4318   ac_cv_prog_CXXCPP=$CXXCPP
4320 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
4321 echo "${ECHO_T}$CXXCPP" >&6; }
4322 ac_preproc_ok=false
4323 for ac_cxx_preproc_warn_flag in '' yes
4325   # Use a header file that comes with gcc, so configuring glibc
4326   # with a fresh cross-compiler works.
4327   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4328   # <limits.h> exists even on freestanding compilers.
4329   # On the NeXT, cc -E runs the code through the compiler's parser,
4330   # not just through cpp. "Syntax error" is here to catch this case.
4331   cat >conftest.$ac_ext <<_ACEOF
4332 /* confdefs.h.  */
4333 _ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h.  */
4337 @%:@ifdef __STDC__
4338 @%:@ include <limits.h>
4339 @%:@else
4340 @%:@ include <assert.h>
4341 @%:@endif
4342                      Syntax error
4343 _ACEOF
4344 if { (ac_try="$ac_cpp conftest.$ac_ext"
4345 case "(($ac_try" in
4346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347   *) ac_try_echo=$ac_try;;
4348 esac
4349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4350   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4351   ac_status=$?
4352   grep -v '^ *+' conftest.er1 >conftest.err
4353   rm -f conftest.er1
4354   cat conftest.err >&5
4355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356   (exit $ac_status); } >/dev/null && {
4357          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4358          test ! -s conftest.err
4359        }; then
4360   :
4361 else
4362   echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.$ac_ext >&5
4365   # Broken: fails on valid input.
4366 continue
4369 rm -f conftest.err conftest.$ac_ext
4371   # OK, works on sane cases.  Now check whether nonexistent headers
4372   # can be detected and how.
4373   cat >conftest.$ac_ext <<_ACEOF
4374 /* confdefs.h.  */
4375 _ACEOF
4376 cat confdefs.h >>conftest.$ac_ext
4377 cat >>conftest.$ac_ext <<_ACEOF
4378 /* end confdefs.h.  */
4379 @%:@include <ac_nonexistent.h>
4380 _ACEOF
4381 if { (ac_try="$ac_cpp conftest.$ac_ext"
4382 case "(($ac_try" in
4383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384   *) ac_try_echo=$ac_try;;
4385 esac
4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4387   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4388   ac_status=$?
4389   grep -v '^ *+' conftest.er1 >conftest.err
4390   rm -f conftest.er1
4391   cat conftest.err >&5
4392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393   (exit $ac_status); } >/dev/null && {
4394          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4395          test ! -s conftest.err
4396        }; then
4397   # Broken: success on invalid input.
4398 continue
4399 else
4400   echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.$ac_ext >&5
4403   # Passes both tests.
4404 ac_preproc_ok=:
4405 break
4408 rm -f conftest.err conftest.$ac_ext
4410 done
4411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4412 rm -f conftest.err conftest.$ac_ext
4413 if $ac_preproc_ok; then
4414   :
4415 else
4416   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4417 See \`config.log' for more details." >&5
4418 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4419 See \`config.log' for more details." >&2;}
4420    { (exit 1); exit 1; }; }
4423 ac_ext=cpp
4424 ac_cpp='$CXXCPP $CPPFLAGS'
4425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4430 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4431 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4432 if test "${ac_cv_path_GREP+set}" = set; then
4433   echo $ECHO_N "(cached) $ECHO_C" >&6
4434 else
4435   # Extract the first word of "grep ggrep" to use in msg output
4436 if test -z "$GREP"; then
4437 set dummy grep ggrep; ac_prog_name=$2
4438 if test "${ac_cv_path_GREP+set}" = set; then
4439   echo $ECHO_N "(cached) $ECHO_C" >&6
4440 else
4441   ac_path_GREP_found=false
4442 # Loop through the user's path and test for each of PROGNAME-LIST
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4446   IFS=$as_save_IFS
4447   test -z "$as_dir" && as_dir=.
4448   for ac_prog in grep ggrep; do
4449   for ac_exec_ext in '' $ac_executable_extensions; do
4450     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4451     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4452     # Check for GNU ac_path_GREP and select it if it is found.
4453   # Check for GNU $ac_path_GREP
4454 case `"$ac_path_GREP" --version 2>&1` in
4455 *GNU*)
4456   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4458   ac_count=0
4459   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4460   while :
4461   do
4462     cat "conftest.in" "conftest.in" >"conftest.tmp"
4463     mv "conftest.tmp" "conftest.in"
4464     cp "conftest.in" "conftest.nl"
4465     echo 'GREP' >> "conftest.nl"
4466     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4467     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4468     ac_count=`expr $ac_count + 1`
4469     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4470       # Best one so far, save it but keep looking for a better one
4471       ac_cv_path_GREP="$ac_path_GREP"
4472       ac_path_GREP_max=$ac_count
4473     fi
4474     # 10*(2^10) chars as input seems more than enough
4475     test $ac_count -gt 10 && break
4476   done
4477   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 esac
4481     $ac_path_GREP_found && break 3
4482   done
4483 done
4485 done
4486 IFS=$as_save_IFS
4491 GREP="$ac_cv_path_GREP"
4492 if test -z "$GREP"; then
4493   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4494 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4495    { (exit 1); exit 1; }; }
4498 else
4499   ac_cv_path_GREP=$GREP
4504 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4505 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4506  GREP="$ac_cv_path_GREP"
4509 { echo "$as_me:$LINENO: checking for egrep" >&5
4510 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4511 if test "${ac_cv_path_EGREP+set}" = set; then
4512   echo $ECHO_N "(cached) $ECHO_C" >&6
4513 else
4514   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4515    then ac_cv_path_EGREP="$GREP -E"
4516    else
4517      # Extract the first word of "egrep" to use in msg output
4518 if test -z "$EGREP"; then
4519 set dummy egrep; ac_prog_name=$2
4520 if test "${ac_cv_path_EGREP+set}" = set; then
4521   echo $ECHO_N "(cached) $ECHO_C" >&6
4522 else
4523   ac_path_EGREP_found=false
4524 # Loop through the user's path and test for each of PROGNAME-LIST
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528   IFS=$as_save_IFS
4529   test -z "$as_dir" && as_dir=.
4530   for ac_prog in egrep; do
4531   for ac_exec_ext in '' $ac_executable_extensions; do
4532     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4533     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4534     # Check for GNU ac_path_EGREP and select it if it is found.
4535   # Check for GNU $ac_path_EGREP
4536 case `"$ac_path_EGREP" --version 2>&1` in
4537 *GNU*)
4538   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4540   ac_count=0
4541   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4542   while :
4543   do
4544     cat "conftest.in" "conftest.in" >"conftest.tmp"
4545     mv "conftest.tmp" "conftest.in"
4546     cp "conftest.in" "conftest.nl"
4547     echo 'EGREP' >> "conftest.nl"
4548     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4549     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4550     ac_count=`expr $ac_count + 1`
4551     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4552       # Best one so far, save it but keep looking for a better one
4553       ac_cv_path_EGREP="$ac_path_EGREP"
4554       ac_path_EGREP_max=$ac_count
4555     fi
4556     # 10*(2^10) chars as input seems more than enough
4557     test $ac_count -gt 10 && break
4558   done
4559   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4560 esac
4563     $ac_path_EGREP_found && break 3
4564   done
4565 done
4567 done
4568 IFS=$as_save_IFS
4573 EGREP="$ac_cv_path_EGREP"
4574 if test -z "$EGREP"; then
4575   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4576 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4577    { (exit 1); exit 1; }; }
4580 else
4581   ac_cv_path_EGREP=$EGREP
4585    fi
4587 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4588 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4589  EGREP="$ac_cv_path_EGREP"
4592 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4593 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4594 if test "${ac_cv_header_stdc+set}" = set; then
4595   echo $ECHO_N "(cached) $ECHO_C" >&6
4596 else
4597   cat >conftest.$ac_ext <<_ACEOF
4598 /* confdefs.h.  */
4599 _ACEOF
4600 cat confdefs.h >>conftest.$ac_ext
4601 cat >>conftest.$ac_ext <<_ACEOF
4602 /* end confdefs.h.  */
4603 #include <stdlib.h>
4604 #include <stdarg.h>
4605 #include <string.h>
4606 #include <float.h>
4609 main ()
4612   ;
4613   return 0;
4615 _ACEOF
4616 rm -f conftest.$ac_objext
4617 if { (ac_try="$ac_compile"
4618 case "(($ac_try" in
4619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4620   *) ac_try_echo=$ac_try;;
4621 esac
4622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4623   (eval "$ac_compile") 2>conftest.er1
4624   ac_status=$?
4625   grep -v '^ *+' conftest.er1 >conftest.err
4626   rm -f conftest.er1
4627   cat conftest.err >&5
4628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629   (exit $ac_status); } && {
4630          test -z "$ac_cxx_werror_flag" ||
4631          test ! -s conftest.err
4632        } && test -s conftest.$ac_objext; then
4633   ac_cv_header_stdc=yes
4634 else
4635   echo "$as_me: failed program was:" >&5
4636 sed 's/^/| /' conftest.$ac_ext >&5
4638         ac_cv_header_stdc=no
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 if test $ac_cv_header_stdc = yes; then
4644   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4645   cat >conftest.$ac_ext <<_ACEOF
4646 /* confdefs.h.  */
4647 _ACEOF
4648 cat confdefs.h >>conftest.$ac_ext
4649 cat >>conftest.$ac_ext <<_ACEOF
4650 /* end confdefs.h.  */
4651 #include <string.h>
4653 _ACEOF
4654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4655   $EGREP "memchr" >/dev/null 2>&1; then
4656   :
4657 else
4658   ac_cv_header_stdc=no
4660 rm -f conftest*
4664 if test $ac_cv_header_stdc = yes; then
4665   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4666   cat >conftest.$ac_ext <<_ACEOF
4667 /* confdefs.h.  */
4668 _ACEOF
4669 cat confdefs.h >>conftest.$ac_ext
4670 cat >>conftest.$ac_ext <<_ACEOF
4671 /* end confdefs.h.  */
4672 #include <stdlib.h>
4674 _ACEOF
4675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4676   $EGREP "free" >/dev/null 2>&1; then
4677   :
4678 else
4679   ac_cv_header_stdc=no
4681 rm -f conftest*
4685 if test $ac_cv_header_stdc = yes; then
4686   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4687   if test "$cross_compiling" = yes; then
4688   :
4689 else
4690   cat >conftest.$ac_ext <<_ACEOF
4691 /* confdefs.h.  */
4692 _ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4695 /* end confdefs.h.  */
4696 #include <ctype.h>
4697 #include <stdlib.h>
4698 #if ((' ' & 0x0FF) == 0x020)
4699 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4700 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4701 #else
4702 # define ISLOWER(c) \
4703                    (('a' <= (c) && (c) <= 'i') \
4704                      || ('j' <= (c) && (c) <= 'r') \
4705                      || ('s' <= (c) && (c) <= 'z'))
4706 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4707 #endif
4709 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4711 main ()
4713   int i;
4714   for (i = 0; i < 256; i++)
4715     if (XOR (islower (i), ISLOWER (i))
4716         || toupper (i) != TOUPPER (i))
4717       return 2;
4718   return 0;
4720 _ACEOF
4721 rm -f conftest$ac_exeext
4722 if { (ac_try="$ac_link"
4723 case "(($ac_try" in
4724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4725   *) ac_try_echo=$ac_try;;
4726 esac
4727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4728   (eval "$ac_link") 2>&5
4729   ac_status=$?
4730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4732   { (case "(($ac_try" in
4733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734   *) ac_try_echo=$ac_try;;
4735 esac
4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4737   (eval "$ac_try") 2>&5
4738   ac_status=$?
4739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740   (exit $ac_status); }; }; then
4741   :
4742 else
4743   echo "$as_me: program exited with status $ac_status" >&5
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.$ac_ext >&5
4747 ( exit $ac_status )
4748 ac_cv_header_stdc=no
4750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4756 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4757 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4758 if test $ac_cv_header_stdc = yes; then
4759   
4760 cat >>confdefs.h <<\_ACEOF
4761 @%:@define STDC_HEADERS 1
4762 _ACEOF
4766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4776 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4777                   inttypes.h stdint.h unistd.h
4779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4783   echo $ECHO_N "(cached) $ECHO_C" >&6
4784 else
4785   cat >conftest.$ac_ext <<_ACEOF
4786 /* confdefs.h.  */
4787 _ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h.  */
4791 $ac_includes_default
4793 @%:@include <$ac_header>
4794 _ACEOF
4795 rm -f conftest.$ac_objext
4796 if { (ac_try="$ac_compile"
4797 case "(($ac_try" in
4798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799   *) ac_try_echo=$ac_try;;
4800 esac
4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4802   (eval "$ac_compile") 2>conftest.er1
4803   ac_status=$?
4804   grep -v '^ *+' conftest.er1 >conftest.err
4805   rm -f conftest.er1
4806   cat conftest.err >&5
4807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808   (exit $ac_status); } && {
4809          test -z "$ac_cxx_werror_flag" ||
4810          test ! -s conftest.err
4811        } && test -s conftest.$ac_objext; then
4812   eval "$as_ac_Header=yes"
4813 else
4814   echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.$ac_ext >&5
4817         eval "$as_ac_Header=no"
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 ac_res=`eval echo '${'$as_ac_Header'}'`
4823                { echo "$as_me:$LINENO: result: $ac_res" >&5
4824 echo "${ECHO_T}$ac_res" >&6; }
4825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4826   cat >>confdefs.h <<_ACEOF
4827 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4828 _ACEOF
4832 done
4835 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4836 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
4837 if test "${ac_cv_header_stdbool_h+set}" = set; then
4838   echo $ECHO_N "(cached) $ECHO_C" >&6
4839 else
4840   cat >conftest.$ac_ext <<_ACEOF
4841 /* confdefs.h.  */
4842 _ACEOF
4843 cat confdefs.h >>conftest.$ac_ext
4844 cat >>conftest.$ac_ext <<_ACEOF
4845 /* end confdefs.h.  */
4847 #include <stdbool.h>
4848 #ifndef bool
4849  "error: bool is not defined"
4850 #endif
4851 #ifndef false
4852  "error: false is not defined"
4853 #endif
4854 #if false
4855  "error: false is not 0"
4856 #endif
4857 #ifndef true
4858  "error: true is not defined"
4859 #endif
4860 #if true != 1
4861  "error: true is not 1"
4862 #endif
4863 #ifndef __bool_true_false_are_defined
4864  "error: __bool_true_false_are_defined is not defined"
4865 #endif
4867         struct s { _Bool s: 1; _Bool t; } s;
4869         char a[true == 1 ? 1 : -1];
4870         char b[false == 0 ? 1 : -1];
4871         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4872         char d[(bool) 0.5 == true ? 1 : -1];
4873         bool e = &s;
4874         char f[(_Bool) 0.0 == false ? 1 : -1];
4875         char g[true];
4876         char h[sizeof (_Bool)];
4877         char i[sizeof s.t];
4878         enum { j = false, k = true, l = false * true, m = true * 256 };
4879         _Bool n[m];
4880         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4881         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4882 #       if defined __xlc__ || defined __GNUC__
4883          /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4884             reported by James Lemley on 2005-10-05; see
4885             http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4886             This test is not quite right, since xlc is allowed to
4887             reject this program, as the initializer for xlcbug is
4888             not one of the forms that C requires support for.
4889             However, doing the test right would require a runtime
4890             test, and that would make cross-compilation harder.
4891             Let us hope that IBM fixes the xlc bug, and also adds
4892             support for this kind of constant expression.  In the
4893             meantime, this test will reject xlc, which is OK, since
4894             our stdbool.h substitute should suffice.  We also test
4895             this with GCC, where it should work, to detect more
4896             quickly whether someone messes up the test in the
4897             future.  */
4898          char digs[] = "0123456789";
4899          int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4900 #       endif
4901         /* Catch a bug in an HP-UX C compiler.  See
4902            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4903            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4904          */
4905         _Bool q = true;
4906         _Bool *pq = &q;
4907       
4909 main ()
4912         *pq |= q;
4913         *pq |= ! q;
4914         /* Refer to every declared value, to avoid compiler optimizations.  */
4915         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4916                 + !m + !n + !o + !p + !q + !pq);
4917       
4918   ;
4919   return 0;
4921 _ACEOF
4922 rm -f conftest.$ac_objext
4923 if { (ac_try="$ac_compile"
4924 case "(($ac_try" in
4925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926   *) ac_try_echo=$ac_try;;
4927 esac
4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4929   (eval "$ac_compile") 2>conftest.er1
4930   ac_status=$?
4931   grep -v '^ *+' conftest.er1 >conftest.err
4932   rm -f conftest.er1
4933   cat conftest.err >&5
4934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935   (exit $ac_status); } && {
4936          test -z "$ac_cxx_werror_flag" ||
4937          test ! -s conftest.err
4938        } && test -s conftest.$ac_objext; then
4939   ac_cv_header_stdbool_h=yes
4940 else
4941   echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944         ac_cv_header_stdbool_h=no
4947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4950 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
4951 { echo "$as_me:$LINENO: checking for _Bool" >&5
4952 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
4953 if test "${ac_cv_type__Bool+set}" = set; then
4954   echo $ECHO_N "(cached) $ECHO_C" >&6
4955 else
4956   cat >conftest.$ac_ext <<_ACEOF
4957 /* confdefs.h.  */
4958 _ACEOF
4959 cat confdefs.h >>conftest.$ac_ext
4960 cat >>conftest.$ac_ext <<_ACEOF
4961 /* end confdefs.h.  */
4962 $ac_includes_default
4963 typedef _Bool ac__type_new_;
4965 main ()
4967 if ((ac__type_new_ *) 0)
4968   return 0;
4969 if (sizeof (ac__type_new_))
4970   return 0;
4971   ;
4972   return 0;
4974 _ACEOF
4975 rm -f conftest.$ac_objext
4976 if { (ac_try="$ac_compile"
4977 case "(($ac_try" in
4978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979   *) ac_try_echo=$ac_try;;
4980 esac
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982   (eval "$ac_compile") 2>conftest.er1
4983   ac_status=$?
4984   grep -v '^ *+' conftest.er1 >conftest.err
4985   rm -f conftest.er1
4986   cat conftest.err >&5
4987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988   (exit $ac_status); } && {
4989          test -z "$ac_cxx_werror_flag" ||
4990          test ! -s conftest.err
4991        } && test -s conftest.$ac_objext; then
4992   ac_cv_type__Bool=yes
4993 else
4994   echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4997         ac_cv_type__Bool=no
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
5003 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
5004 if test $ac_cv_type__Bool = yes; then
5005   
5006 cat >>confdefs.h <<_ACEOF
5007 @%:@define HAVE__BOOL 1
5008 _ACEOF
5013 if test $ac_cv_header_stdbool_h = yes; then
5014   
5015 cat >>confdefs.h <<\_ACEOF
5016 @%:@define HAVE_STDBOOL_H 1
5017 _ACEOF
5021 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5022 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5023 if test "${ac_cv_c_const+set}" = set; then
5024   echo $ECHO_N "(cached) $ECHO_C" >&6
5025 else
5026   cat >conftest.$ac_ext <<_ACEOF
5027 /* confdefs.h.  */
5028 _ACEOF
5029 cat confdefs.h >>conftest.$ac_ext
5030 cat >>conftest.$ac_ext <<_ACEOF
5031 /* end confdefs.h.  */
5034 main ()
5036 /* FIXME: Include the comments suggested by Paul. */
5037 #ifndef __cplusplus
5038   /* Ultrix mips cc rejects this.  */
5039   typedef int charset[2];
5040   const charset cs;
5041   /* SunOS 4.1.1 cc rejects this.  */
5042   char const *const *pcpcc;
5043   char **ppc;
5044   /* NEC SVR4.0.2 mips cc rejects this.  */
5045   struct point {int x, y;};
5046   static struct point const zero = {0,0};
5047   /* AIX XL C 1.02.0.0 rejects this.
5048      It does not let you subtract one const X* pointer from another in
5049      an arm of an if-expression whose if-part is not a constant
5050      expression */
5051   const char *g = "string";
5052   pcpcc = &g + (g ? g-g : 0);
5053   /* HPUX 7.0 cc rejects these. */
5054   ++pcpcc;
5055   ppc = (char**) pcpcc;
5056   pcpcc = (char const *const *) ppc;
5057   { /* SCO 3.2v4 cc rejects this.  */
5058     char *t;
5059     char const *s = 0 ? (char *) 0 : (char const *) 0;
5061     *t++ = 0;
5062     if (s) return 0;
5063   }
5064   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5065     int x[] = {25, 17};
5066     const int *foo = &x[0];
5067     ++foo;
5068   }
5069   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5070     typedef const int *iptr;
5071     iptr p = 0;
5072     ++p;
5073   }
5074   { /* AIX XL C 1.02.0.0 rejects this saying
5075        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5076     struct s { int j; const int *ap[3]; };
5077     struct s *b; b->j = 5;
5078   }
5079   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5080     const int foo = 10;
5081     if (!foo) return 0;
5082   }
5083   return !cs[0] && !zero.x;
5084 #endif
5086   ;
5087   return 0;
5089 _ACEOF
5090 rm -f conftest.$ac_objext
5091 if { (ac_try="$ac_compile"
5092 case "(($ac_try" in
5093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094   *) ac_try_echo=$ac_try;;
5095 esac
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097   (eval "$ac_compile") 2>conftest.er1
5098   ac_status=$?
5099   grep -v '^ *+' conftest.er1 >conftest.err
5100   rm -f conftest.er1
5101   cat conftest.err >&5
5102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103   (exit $ac_status); } && {
5104          test -z "$ac_cxx_werror_flag" ||
5105          test ! -s conftest.err
5106        } && test -s conftest.$ac_objext; then
5107   ac_cv_c_const=yes
5108 else
5109   echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.$ac_ext >&5
5112         ac_cv_c_const=no
5115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5117 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5118 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5119 if test $ac_cv_c_const = no; then
5120   
5121 cat >>confdefs.h <<\_ACEOF
5122 @%:@define const 
5123 _ACEOF
5127 { echo "$as_me:$LINENO: checking for inline" >&5
5128 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5129 if test "${ac_cv_c_inline+set}" = set; then
5130   echo $ECHO_N "(cached) $ECHO_C" >&6
5131 else
5132   ac_cv_c_inline=no
5133 for ac_kw in inline __inline__ __inline; do
5134   cat >conftest.$ac_ext <<_ACEOF
5135 /* confdefs.h.  */
5136 _ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h.  */
5140 #ifndef __cplusplus
5141 typedef int foo_t;
5142 static $ac_kw foo_t static_foo () {return 0; }
5143 $ac_kw foo_t foo () {return 0; }
5144 #endif
5146 _ACEOF
5147 rm -f conftest.$ac_objext
5148 if { (ac_try="$ac_compile"
5149 case "(($ac_try" in
5150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5151   *) ac_try_echo=$ac_try;;
5152 esac
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5154   (eval "$ac_compile") 2>conftest.er1
5155   ac_status=$?
5156   grep -v '^ *+' conftest.er1 >conftest.err
5157   rm -f conftest.er1
5158   cat conftest.err >&5
5159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160   (exit $ac_status); } && {
5161          test -z "$ac_cxx_werror_flag" ||
5162          test ! -s conftest.err
5163        } && test -s conftest.$ac_objext; then
5164   ac_cv_c_inline=$ac_kw
5165 else
5166   echo "$as_me: failed program was:" >&5
5167 sed 's/^/| /' conftest.$ac_ext >&5
5169         
5172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5173   test "$ac_cv_c_inline" != no && break
5174 done
5177 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5178 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5181 case $ac_cv_c_inline in
5182   inline | yes) ;;
5183   *)
5184     case $ac_cv_c_inline in
5185       no) ac_val=;;
5186       *) ac_val=$ac_cv_c_inline;;
5187     esac
5188     cat >>confdefs.h <<_ACEOF
5189 #ifndef __cplusplus
5190 #define inline $ac_val
5191 #endif
5192 _ACEOF
5193     ;;
5194 esac
5197 # Checks for library functions.
5199 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
5202 cat >confcache <<\_ACEOF
5203 # This file is a shell script that caches the results of configure
5204 # tests run on this system so they can be shared between configure
5205 # scripts and configure runs, see configure's option --config-cache.
5206 # It is not useful on other systems.  If it contains results you don't
5207 # want to keep, you may remove or edit it.
5209 # config.status only pays attention to the cache file if you give it
5210 # the --recheck option to rerun configure.
5212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5214 # following values.
5216 _ACEOF
5218 # The following way of writing the cache mishandles newlines in values,
5219 # but we know of no workaround that is simple, portable, and efficient.
5220 # So, we kill variables containing newlines.
5221 # Ultrix sh set writes to stderr and can't be redirected directly,
5222 # and sets the high bit in the cache file unless we assign to the vars.
5224   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5225     eval ac_val=\$$ac_var
5226     case $ac_val in #(
5227     *${as_nl}*)
5228       case $ac_var in #(
5229       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5230 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5231       esac
5232       case $ac_var in #(
5233       _ | IFS | as_nl) ;; #(
5234       *) $as_unset $ac_var ;;
5235       esac ;;
5236     esac
5237   done
5239   (set) 2>&1 |
5240     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5241     *${as_nl}ac_space=\ *)
5242       # `set' does not quote correctly, so add quotes (double-quote
5243       # substitution turns \\\\ into \\, and sed turns \\ into \).
5244       sed -n \
5245         "s/'/'\\\\''/g;
5246           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5247       ;; #(
5248     *)
5249       # `set' quotes correctly as required by POSIX, so do not add quotes.
5250       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5251       ;;
5252     esac |
5253     sort
5254 ) |
5255   sed '
5256      /^ac_cv_env_/b end
5257      t clear
5258      :clear
5259      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5260      t end
5261      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5262      :end' >>confcache
5263 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5264   if test -w "$cache_file"; then
5265     test "x$cache_file" != "x/dev/null" &&
5266       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5267 echo "$as_me: updating cache $cache_file" >&6;}
5268     cat confcache >$cache_file
5269   else
5270     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5271 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5272   fi
5274 rm -f confcache
5276 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5277 # Let make expand exec_prefix.
5278 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5280 DEFS=-DHAVE_CONFIG_H
5282 ac_libobjs=
5283 ac_ltlibobjs=
5284 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5285   # 1. Remove the extension, and $U if already installed.
5286   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5287   ac_i=`echo "$ac_i" | sed "$ac_script"`
5288   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5289   #    will be set to the directory where LIBOBJS objects are built.
5290   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5291   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5292 done
5293 LIB@&t@OBJS=$ac_libobjs
5295 LTLIBOBJS=$ac_ltlibobjs
5298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5299   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5300 Usually this means the macro was only invoked conditionally." >&5
5301 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5302 Usually this means the macro was only invoked conditionally." >&2;}
5303    { (exit 1); exit 1; }; }
5305 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5306   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5307 Usually this means the macro was only invoked conditionally." >&5
5308 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5309 Usually this means the macro was only invoked conditionally." >&2;}
5310    { (exit 1); exit 1; }; }
5312 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5313   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5314 Usually this means the macro was only invoked conditionally." >&5
5315 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5316 Usually this means the macro was only invoked conditionally." >&2;}
5317    { (exit 1); exit 1; }; }
5320 : ${CONFIG_STATUS=./config.status}
5321 ac_clean_files_save=$ac_clean_files
5322 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5323 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5324 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5325 cat >$CONFIG_STATUS <<_ACEOF
5326 #! $SHELL
5327 # Generated by $as_me.
5328 # Run this file to recreate the current configuration.
5329 # Compiler output produced by configure, useful for debugging
5330 # configure, is in config.log if it exists.
5332 debug=false
5333 ac_cs_recheck=false
5334 ac_cs_silent=false
5335 SHELL=\${CONFIG_SHELL-$SHELL}
5336 _ACEOF
5338 cat >>$CONFIG_STATUS <<\_ACEOF
5339 ## --------------------- ##
5340 ## M4sh Initialization.  ##
5341 ## --------------------- ##
5343 # Be more Bourne compatible
5344 DUALCASE=1; export DUALCASE # for MKS sh
5345 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5346   emulate sh
5347   NULLCMD=:
5348   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5349   # is contrary to our usage.  Disable this feature.
5350   alias -g '${1+"$@"}'='"$@"'
5351   setopt NO_GLOB_SUBST
5352 else
5353   case `(set -o) 2>/dev/null` in
5354   *posix*) set -o posix ;;
5355 esac
5362 # PATH needs CR
5363 # Avoid depending upon Character Ranges.
5364 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5365 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5366 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5367 as_cr_digits='0123456789'
5368 as_cr_alnum=$as_cr_Letters$as_cr_digits
5370 # The user is always right.
5371 if test "${PATH_SEPARATOR+set}" != set; then
5372   echo "#! /bin/sh" >conf$$.sh
5373   echo  "exit 0"   >>conf$$.sh
5374   chmod +x conf$$.sh
5375   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5376     PATH_SEPARATOR=';'
5377   else
5378     PATH_SEPARATOR=:
5379   fi
5380   rm -f conf$$.sh
5383 # Support unset when possible.
5384 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5385   as_unset=unset
5386 else
5387   as_unset=false
5391 # IFS
5392 # We need space, tab and new line, in precisely that order.  Quoting is
5393 # there to prevent editors from complaining about space-tab.
5394 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5395 # splitting by setting IFS to empty value.)
5396 as_nl='
5398 IFS=" ""        $as_nl"
5400 # Find who we are.  Look in the path if we contain no directory separator.
5401 case $0 in
5402   *[\\/]* ) as_myself=$0 ;;
5403   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH
5406   IFS=$as_save_IFS
5407   test -z "$as_dir" && as_dir=.
5408   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5409 done
5410 IFS=$as_save_IFS
5412      ;;
5413 esac
5414 # We did not find ourselves, most probably we were run as `sh COMMAND'
5415 # in which case we are not to be found in the path.
5416 if test "x$as_myself" = x; then
5417   as_myself=$0
5419 if test ! -f "$as_myself"; then
5420   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5421   { (exit 1); exit 1; }
5424 # Work around bugs in pre-3.0 UWIN ksh.
5425 for as_var in ENV MAIL MAILPATH
5426 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5427 done
5428 PS1='$ '
5429 PS2='> '
5430 PS4='+ '
5432 # NLS nuisances.
5433 for as_var in \
5434   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5435   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5436   LC_TELEPHONE LC_TIME
5438   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5439     eval $as_var=C; export $as_var
5440   else
5441     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5442   fi
5443 done
5445 # Required to use basename.
5446 if expr a : '\(a\)' >/dev/null 2>&1 &&
5447    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5448   as_expr=expr
5449 else
5450   as_expr=false
5453 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5454   as_basename=basename
5455 else
5456   as_basename=false
5460 # Name of the executable.
5461 as_me=`$as_basename -- "$0" ||
5462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5463          X"$0" : 'X\(//\)$' \| \
5464          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5465 echo X/"$0" |
5466     sed '/^.*\/\([^/][^/]*\)\/*$/{
5467             s//\1/
5468             q
5469           }
5470           /^X\/\(\/\/\)$/{
5471             s//\1/
5472             q
5473           }
5474           /^X\/\(\/\).*/{
5475             s//\1/
5476             q
5477           }
5478           s/.*/./; q'`
5480 # CDPATH.
5481 $as_unset CDPATH
5485   as_lineno_1=$LINENO
5486   as_lineno_2=$LINENO
5487   test "x$as_lineno_1" != "x$as_lineno_2" &&
5488   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5490   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5491   # uniformly replaced by the line number.  The first 'sed' inserts a
5492   # line-number line after each line using $LINENO; the second 'sed'
5493   # does the real work.  The second script uses 'N' to pair each
5494   # line-number line with the line containing $LINENO, and appends
5495   # trailing '-' during substitution so that $LINENO is not a special
5496   # case at line end.
5497   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5498   # scripts with optimization help from Paolo Bonzini.  Blame Lee
5499   # E. McMahon (1931-1989) for sed's syntax.  :-)
5500   sed -n '
5501     p
5502     /[$]LINENO/=
5503   ' <$as_myself |
5504     sed '
5505       s/[$]LINENO.*/&-/
5506       t lineno
5507       b
5508       :lineno
5509       N
5510       :loop
5511       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5512       t loop
5513       s/-\n.*//
5514     ' >$as_me.lineno &&
5515   chmod +x "$as_me.lineno" ||
5516     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5517    { (exit 1); exit 1; }; }
5519   # Don't try to exec as it changes $[0], causing all sort of problems
5520   # (the dirname of $[0] is not the place where we might find the
5521   # original and so on.  Autoconf is especially sensitive to this).
5522   . "./$as_me.lineno"
5523   # Exit status is that of the last command.
5524   exit
5528 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5529   as_dirname=dirname
5530 else
5531   as_dirname=false
5534 ECHO_C= ECHO_N= ECHO_T=
5535 case `echo -n x` in
5536 -n*)
5537   case `echo 'x\c'` in
5538   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5539   *)   ECHO_C='\c';;
5540   esac;;
5542   ECHO_N='-n';;
5543 esac
5545 if expr a : '\(a\)' >/dev/null 2>&1 &&
5546    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5547   as_expr=expr
5548 else
5549   as_expr=false
5552 rm -f conf$$ conf$$.exe conf$$.file
5553 if test -d conf$$.dir; then
5554   rm -f conf$$.dir/conf$$.file
5555 else
5556   rm -f conf$$.dir
5557   mkdir conf$$.dir
5559 echo >conf$$.file
5560 if ln -s conf$$.file conf$$ 2>/dev/null; then
5561   as_ln_s='ln -s'
5562   # ... but there are two gotchas:
5563   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5564   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5565   # In both cases, we have to default to `cp -p'.
5566   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5567     as_ln_s='cp -p'
5568 elif ln conf$$.file conf$$ 2>/dev/null; then
5569   as_ln_s=ln
5570 else
5571   as_ln_s='cp -p'
5573 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5574 rmdir conf$$.dir 2>/dev/null
5576 if mkdir -p . 2>/dev/null; then
5577   as_mkdir_p=:
5578 else
5579   test -d ./-p && rmdir ./-p
5580   as_mkdir_p=false
5583 if test -x / >/dev/null 2>&1; then
5584   as_test_x='test -x'
5585 else
5586   if ls -dL / >/dev/null 2>&1; then
5587     as_ls_L_option=L
5588   else
5589     as_ls_L_option=
5590   fi
5591   as_test_x='
5592     eval sh -c '\''
5593       if test -d "$1"; then
5594         test -d "$1/.";
5595       else
5596         case $1 in
5597         -*)set "./$1";;
5598         esac;
5599         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5600         ???[sx]*):;;*)false;;esac;fi
5601     '\'' sh
5602   '
5604 as_executable_p=$as_test_x
5606 # Sed expression to map a string onto a valid CPP name.
5607 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5609 # Sed expression to map a string onto a valid variable name.
5610 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5613 exec 6>&1
5615 # Save the log message, to keep $[0] and so on meaningful, and to
5616 # report actual input values of CONFIG_FILES etc. instead of their
5617 # values after options handling.
5618 ac_log="
5619 This file was extended by g2hec-lib $as_me 0.1, which was
5620 generated by GNU Autoconf 2.61.  Invocation command line was
5622   CONFIG_FILES    = $CONFIG_FILES
5623   CONFIG_HEADERS  = $CONFIG_HEADERS
5624   CONFIG_LINKS    = $CONFIG_LINKS
5625   CONFIG_COMMANDS = $CONFIG_COMMANDS
5626   $ $0 $@
5628 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5631 _ACEOF
5633 cat >>$CONFIG_STATUS <<_ACEOF
5634 # Files that config.status was made for.
5635 config_files="$ac_config_files"
5636 config_headers="$ac_config_headers"
5637 config_commands="$ac_config_commands"
5639 _ACEOF
5641 cat >>$CONFIG_STATUS <<\_ACEOF
5642 ac_cs_usage="\
5643 \`$as_me' instantiates files from templates according to the
5644 current configuration.
5646 Usage: $0 [OPTIONS] [FILE]...
5648   -h, --help       print this help, then exit
5649   -V, --version    print version number and configuration settings, then exit
5650   -q, --quiet      do not print progress messages
5651   -d, --debug      don't remove temporary files
5652       --recheck    update $as_me by reconfiguring in the same conditions
5653   --file=FILE[:TEMPLATE]
5654                    instantiate the configuration file FILE
5655   --header=FILE[:TEMPLATE]
5656                    instantiate the configuration header FILE
5658 Configuration files:
5659 $config_files
5661 Configuration headers:
5662 $config_headers
5664 Configuration commands:
5665 $config_commands
5667 Report bugs to <bug-autoconf@gnu.org>."
5669 _ACEOF
5670 cat >>$CONFIG_STATUS <<_ACEOF
5671 ac_cs_version="\\
5672 g2hec-lib config.status 0.1
5673 configured by $0, generated by GNU Autoconf 2.61,
5674   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5676 Copyright (C) 2006 Free Software Foundation, Inc.
5677 This config.status script is free software; the Free Software Foundation
5678 gives unlimited permission to copy, distribute and modify it."
5680 ac_pwd='$ac_pwd'
5681 srcdir='$srcdir'
5682 INSTALL='$INSTALL'
5683 MKDIR_P='$MKDIR_P'
5684 _ACEOF
5686 cat >>$CONFIG_STATUS <<\_ACEOF
5687 # If no file are specified by the user, then we need to provide default
5688 # value.  By we need to know if files were specified by the user.
5689 ac_need_defaults=:
5690 while test $# != 0
5692   case $1 in
5693   --*=*)
5694     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5695     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5696     ac_shift=:
5697     ;;
5698   *)
5699     ac_option=$1
5700     ac_optarg=$2
5701     ac_shift=shift
5702     ;;
5703   esac
5705   case $ac_option in
5706   # Handling of the options.
5707   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5708     ac_cs_recheck=: ;;
5709   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5710     echo "$ac_cs_version"; exit ;;
5711   --debug | --debu | --deb | --de | --d | -d )
5712     debug=: ;;
5713   --file | --fil | --fi | --f )
5714     $ac_shift
5715     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5716     ac_need_defaults=false;;
5717   --header | --heade | --head | --hea )
5718     $ac_shift
5719     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5720     ac_need_defaults=false;;
5721   --he | --h)
5722     # Conflict between --help and --header
5723     { echo "$as_me: error: ambiguous option: $1
5724 Try \`$0 --help' for more information." >&2
5725    { (exit 1); exit 1; }; };;
5726   --help | --hel | -h )
5727     echo "$ac_cs_usage"; exit ;;
5728   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5729   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5730     ac_cs_silent=: ;;
5732   # This is an error.
5733   -*) { echo "$as_me: error: unrecognized option: $1
5734 Try \`$0 --help' for more information." >&2
5735    { (exit 1); exit 1; }; } ;;
5737   *) ac_config_targets="$ac_config_targets $1"
5738      ac_need_defaults=false ;;
5740   esac
5741   shift
5742 done
5744 ac_configure_extra_args=
5746 if $ac_cs_silent; then
5747   exec 6>/dev/null
5748   ac_configure_extra_args="$ac_configure_extra_args --silent"
5751 _ACEOF
5752 cat >>$CONFIG_STATUS <<_ACEOF
5753 if \$ac_cs_recheck; then
5754   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5755   CONFIG_SHELL=$SHELL
5756   export CONFIG_SHELL
5757   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5760 _ACEOF
5761 cat >>$CONFIG_STATUS <<\_ACEOF
5762 exec 5>>config.log
5764   echo
5765   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5766 @%:@@%:@ Running $as_me. @%:@@%:@
5767 _ASBOX
5768   echo "$ac_log"
5769 } >&5
5771 _ACEOF
5772 cat >>$CONFIG_STATUS <<_ACEOF
5774 # INIT-COMMANDS
5776 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5778 _ACEOF
5780 cat >>$CONFIG_STATUS <<\_ACEOF
5782 # Handling of arguments.
5783 for ac_config_target in $ac_config_targets
5785   case $ac_config_target in
5786     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5787     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5788     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5789     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5790     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5792   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5793 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5794    { (exit 1); exit 1; }; };;
5795   esac
5796 done
5799 # If the user did not use the arguments to specify the items to instantiate,
5800 # then the envvar interface is used.  Set only those that are not.
5801 # We use the long form for the default assignment because of an extremely
5802 # bizarre bug on SunOS 4.1.3.
5803 if $ac_need_defaults; then
5804   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5805   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5806   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5809 # Have a temporary directory for convenience.  Make it in the build tree
5810 # simply because there is no reason against having it here, and in addition,
5811 # creating and moving files from /tmp can sometimes cause problems.
5812 # Hook for its removal unless debugging.
5813 # Note that there is a small window in which the directory will not be cleaned:
5814 # after its creation but before its name has been assigned to `$tmp'.
5815 $debug ||
5817   tmp=
5818   trap 'exit_status=$?
5819   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5820 ' 0
5821   trap '{ (exit 1); exit 1; }' 1 2 13 15
5823 # Create a (secure) tmp directory for tmp files.
5826   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5827   test -n "$tmp" && test -d "$tmp"
5828 }  ||
5830   tmp=./conf$$-$RANDOM
5831   (umask 077 && mkdir "$tmp")
5832 } ||
5834    echo "$me: cannot create a temporary directory in ." >&2
5835    { (exit 1); exit 1; }
5839 # Set up the sed scripts for CONFIG_FILES section.
5842 # No need to generate the scripts if there are no CONFIG_FILES.
5843 # This happens for instance when ./config.status config.h
5844 if test -n "$CONFIG_FILES"; then
5846 _ACEOF
5850 ac_delim='%!_!# '
5851 for ac_last_try in false false false false false :; do
5852   cat >conf$$subs.sed <<_ACEOF
5853 SHELL!$SHELL$ac_delim
5854 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5855 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5856 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5857 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5858 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5859 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5860 exec_prefix!$exec_prefix$ac_delim
5861 prefix!$prefix$ac_delim
5862 program_transform_name!$program_transform_name$ac_delim
5863 bindir!$bindir$ac_delim
5864 sbindir!$sbindir$ac_delim
5865 libexecdir!$libexecdir$ac_delim
5866 datarootdir!$datarootdir$ac_delim
5867 datadir!$datadir$ac_delim
5868 sysconfdir!$sysconfdir$ac_delim
5869 sharedstatedir!$sharedstatedir$ac_delim
5870 localstatedir!$localstatedir$ac_delim
5871 includedir!$includedir$ac_delim
5872 oldincludedir!$oldincludedir$ac_delim
5873 docdir!$docdir$ac_delim
5874 infodir!$infodir$ac_delim
5875 htmldir!$htmldir$ac_delim
5876 dvidir!$dvidir$ac_delim
5877 pdfdir!$pdfdir$ac_delim
5878 psdir!$psdir$ac_delim
5879 libdir!$libdir$ac_delim
5880 localedir!$localedir$ac_delim
5881 mandir!$mandir$ac_delim
5882 DEFS!$DEFS$ac_delim
5883 ECHO_C!$ECHO_C$ac_delim
5884 ECHO_N!$ECHO_N$ac_delim
5885 ECHO_T!$ECHO_T$ac_delim
5886 LIBS!$LIBS$ac_delim
5887 build_alias!$build_alias$ac_delim
5888 host_alias!$host_alias$ac_delim
5889 target_alias!$target_alias$ac_delim
5890 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5891 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5892 INSTALL_DATA!$INSTALL_DATA$ac_delim
5893 am__isrc!$am__isrc$ac_delim
5894 CYGPATH_W!$CYGPATH_W$ac_delim
5895 PACKAGE!$PACKAGE$ac_delim
5896 VERSION!$VERSION$ac_delim
5897 ACLOCAL!$ACLOCAL$ac_delim
5898 AUTOCONF!$AUTOCONF$ac_delim
5899 AUTOMAKE!$AUTOMAKE$ac_delim
5900 AUTOHEADER!$AUTOHEADER$ac_delim
5901 MAKEINFO!$MAKEINFO$ac_delim
5902 install_sh!$install_sh$ac_delim
5903 STRIP!$STRIP$ac_delim
5904 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5905 mkdir_p!$mkdir_p$ac_delim
5906 AWK!$AWK$ac_delim
5907 SET_MAKE!$SET_MAKE$ac_delim
5908 am__leading_dot!$am__leading_dot$ac_delim
5909 AMTAR!$AMTAR$ac_delim
5910 am__tar!$am__tar$ac_delim
5911 am__untar!$am__untar$ac_delim
5912 CC!$CC$ac_delim
5913 CFLAGS!$CFLAGS$ac_delim
5914 LDFLAGS!$LDFLAGS$ac_delim
5915 CPPFLAGS!$CPPFLAGS$ac_delim
5916 ac_ct_CC!$ac_ct_CC$ac_delim
5917 EXEEXT!$EXEEXT$ac_delim
5918 OBJEXT!$OBJEXT$ac_delim
5919 DEPDIR!$DEPDIR$ac_delim
5920 am__include!$am__include$ac_delim
5921 am__quote!$am__quote$ac_delim
5922 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5923 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5924 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5925 CCDEPMODE!$CCDEPMODE$ac_delim
5926 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5927 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5928 CXX!$CXX$ac_delim
5929 CXXFLAGS!$CXXFLAGS$ac_delim
5930 ac_ct_CXX!$ac_ct_CXX$ac_delim
5931 CXXDEPMODE!$CXXDEPMODE$ac_delim
5932 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
5933 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
5934 RANLIB!$RANLIB$ac_delim
5935 CXXCPP!$CXXCPP$ac_delim
5936 GREP!$GREP$ac_delim
5937 EGREP!$EGREP$ac_delim
5938 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
5939 LTLIBOBJS!$LTLIBOBJS$ac_delim
5940 _ACEOF
5942   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
5943     break
5944   elif $ac_last_try; then
5945     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5946 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5947    { (exit 1); exit 1; }; }
5948   else
5949     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5950   fi
5951 done
5953 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5954 if test -n "$ac_eof"; then
5955   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5956   ac_eof=`expr $ac_eof + 1`
5959 cat >>$CONFIG_STATUS <<_ACEOF
5960 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5962 _ACEOF
5963 sed '
5964 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5965 s/^/s,@/; s/!/@,|#_!!_#|/
5967 t n
5968 s/'"$ac_delim"'$/,g/; t
5969 s/$/\\/; p
5970 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5971 ' >>$CONFIG_STATUS <conf$$subs.sed
5972 rm -f conf$$subs.sed
5973 cat >>$CONFIG_STATUS <<_ACEOF
5974 :end
5975 s/|#_!!_#|//g
5976 CEOF$ac_eof
5977 _ACEOF
5980 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5981 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5982 # trailing colons and then remove the whole line if VPATH becomes empty
5983 # (actually we leave an empty line to preserve line numbers).
5984 if test "x$srcdir" = x.; then
5985   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5986 s/:*\$(srcdir):*/:/
5987 s/:*\${srcdir}:*/:/
5988 s/:*@srcdir@:*/:/
5989 s/^\([^=]*=[     ]*\):*/\1/
5990 s/:*$//
5991 s/^[^=]*=[       ]*$//
5995 cat >>$CONFIG_STATUS <<\_ACEOF
5996 fi # test -n "$CONFIG_FILES"
5999 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
6001   case $ac_tag in
6002   :[FHLC]) ac_mode=$ac_tag; continue;;
6003   esac
6004   case $ac_mode$ac_tag in
6005   :[FHL]*:*);;
6006   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6007 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6008    { (exit 1); exit 1; }; };;
6009   :[FH]-) ac_tag=-:-;;
6010   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6011   esac
6012   ac_save_IFS=$IFS
6013   IFS=:
6014   set x $ac_tag
6015   IFS=$ac_save_IFS
6016   shift
6017   ac_file=$1
6018   shift
6020   case $ac_mode in
6021   :L) ac_source=$1;;
6022   :[FH])
6023     ac_file_inputs=
6024     for ac_f
6025     do
6026       case $ac_f in
6027       -) ac_f="$tmp/stdin";;
6028       *) # Look for the file first in the build tree, then in the source tree
6029          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6030          # because $ac_f cannot contain `:'.
6031          test -f "$ac_f" ||
6032            case $ac_f in
6033            [\\/$]*) false;;
6034            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6035            esac ||
6036            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6037 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6038    { (exit 1); exit 1; }; };;
6039       esac
6040       ac_file_inputs="$ac_file_inputs $ac_f"
6041     done
6043     # Let's still pretend it is `configure' which instantiates (i.e., don't
6044     # use $as_me), people would be surprised to read:
6045     #    /* config.h.  Generated by config.status.  */
6046     configure_input="Generated from "`IFS=:
6047           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6048     if test x"$ac_file" != x-; then
6049       configure_input="$ac_file.  $configure_input"
6050       { echo "$as_me:$LINENO: creating $ac_file" >&5
6051 echo "$as_me: creating $ac_file" >&6;}
6052     fi
6054     case $ac_tag in
6055     *:-:* | *:-) cat >"$tmp/stdin";;
6056     esac
6057     ;;
6058   esac
6060   ac_dir=`$as_dirname -- "$ac_file" ||
6061 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6062          X"$ac_file" : 'X\(//\)[^/]' \| \
6063          X"$ac_file" : 'X\(//\)$' \| \
6064          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6065 echo X"$ac_file" |
6066     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6067             s//\1/
6068             q
6069           }
6070           /^X\(\/\/\)[^/].*/{
6071             s//\1/
6072             q
6073           }
6074           /^X\(\/\/\)$/{
6075             s//\1/
6076             q
6077           }
6078           /^X\(\/\).*/{
6079             s//\1/
6080             q
6081           }
6082           s/.*/./; q'`
6083   { as_dir="$ac_dir"
6084   case $as_dir in #(
6085   -*) as_dir=./$as_dir;;
6086   esac
6087   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6088     as_dirs=
6089     while :; do
6090       case $as_dir in #(
6091       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6092       *) as_qdir=$as_dir;;
6093       esac
6094       as_dirs="'$as_qdir' $as_dirs"
6095       as_dir=`$as_dirname -- "$as_dir" ||
6096 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6097          X"$as_dir" : 'X\(//\)[^/]' \| \
6098          X"$as_dir" : 'X\(//\)$' \| \
6099          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6100 echo X"$as_dir" |
6101     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6102             s//\1/
6103             q
6104           }
6105           /^X\(\/\/\)[^/].*/{
6106             s//\1/
6107             q
6108           }
6109           /^X\(\/\/\)$/{
6110             s//\1/
6111             q
6112           }
6113           /^X\(\/\).*/{
6114             s//\1/
6115             q
6116           }
6117           s/.*/./; q'`
6118       test -d "$as_dir" && break
6119     done
6120     test -z "$as_dirs" || eval "mkdir $as_dirs"
6121   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6122 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6123    { (exit 1); exit 1; }; }; }
6124   ac_builddir=.
6126 case "$ac_dir" in
6127 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6129   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6130   # A ".." for each directory in $ac_dir_suffix.
6131   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6132   case $ac_top_builddir_sub in
6133   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6134   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6135   esac ;;
6136 esac
6137 ac_abs_top_builddir=$ac_pwd
6138 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6139 # for backward compatibility:
6140 ac_top_builddir=$ac_top_build_prefix
6142 case $srcdir in
6143   .)  # We are building in place.
6144     ac_srcdir=.
6145     ac_top_srcdir=$ac_top_builddir_sub
6146     ac_abs_top_srcdir=$ac_pwd ;;
6147   [\\/]* | ?:[\\/]* )  # Absolute name.
6148     ac_srcdir=$srcdir$ac_dir_suffix;
6149     ac_top_srcdir=$srcdir
6150     ac_abs_top_srcdir=$srcdir ;;
6151   *) # Relative name.
6152     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6153     ac_top_srcdir=$ac_top_build_prefix$srcdir
6154     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6155 esac
6156 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6159   case $ac_mode in
6160   :F)
6161   #
6162   # CONFIG_FILE
6163   #
6165   case $INSTALL in
6166   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6167   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6168   esac
6169   ac_MKDIR_P=$MKDIR_P
6170   case $MKDIR_P in
6171   [\\/$]* | ?:[\\/]* ) ;;
6172   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6173   esac
6174 _ACEOF
6176 cat >>$CONFIG_STATUS <<\_ACEOF
6177 # If the template does not know about datarootdir, expand it.
6178 # FIXME: This hack should be removed a few years after 2.60.
6179 ac_datarootdir_hack=; ac_datarootdir_seen=
6181 case `sed -n '/datarootdir/ {
6182   p
6183   q
6185 /@datadir@/p
6186 /@docdir@/p
6187 /@infodir@/p
6188 /@localedir@/p
6189 /@mandir@/p
6190 ' $ac_file_inputs` in
6191 *datarootdir*) ac_datarootdir_seen=yes;;
6192 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6193   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6194 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6195 _ACEOF
6196 cat >>$CONFIG_STATUS <<_ACEOF
6197   ac_datarootdir_hack='
6198   s&@datadir@&$datadir&g
6199   s&@docdir@&$docdir&g
6200   s&@infodir@&$infodir&g
6201   s&@localedir@&$localedir&g
6202   s&@mandir@&$mandir&g
6203     s&\\\${datarootdir}&$datarootdir&g' ;;
6204 esac
6205 _ACEOF
6207 # Neutralize VPATH when `$srcdir' = `.'.
6208 # Shell code in configure.ac might set extrasub.
6209 # FIXME: do we really want to maintain this feature?
6210 cat >>$CONFIG_STATUS <<_ACEOF
6211   sed "$ac_vpsub
6212 $extrasub
6213 _ACEOF
6214 cat >>$CONFIG_STATUS <<\_ACEOF
6216 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6217 s&@configure_input@&$configure_input&;t t
6218 s&@top_builddir@&$ac_top_builddir_sub&;t t
6219 s&@srcdir@&$ac_srcdir&;t t
6220 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6221 s&@top_srcdir@&$ac_top_srcdir&;t t
6222 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6223 s&@builddir@&$ac_builddir&;t t
6224 s&@abs_builddir@&$ac_abs_builddir&;t t
6225 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6226 s&@INSTALL@&$ac_INSTALL&;t t
6227 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6228 $ac_datarootdir_hack
6229 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6231 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6232   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6233   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6234   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6235 which seems to be undefined.  Please make sure it is defined." >&5
6236 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6237 which seems to be undefined.  Please make sure it is defined." >&2;}
6239   rm -f "$tmp/stdin"
6240   case $ac_file in
6241   -) cat "$tmp/out"; rm -f "$tmp/out";;
6242   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6243   esac
6244  ;;
6245   :H)
6246   #
6247   # CONFIG_HEADER
6248   #
6249 _ACEOF
6251 # Transform confdefs.h into a sed script `conftest.defines', that
6252 # substitutes the proper values into config.h.in to produce config.h.
6253 rm -f conftest.defines conftest.tail
6254 # First, append a space to every undef/define line, to ease matching.
6255 echo 's/$/ /' >conftest.defines
6256 # Then, protect against being on the right side of a sed subst, or in
6257 # an unquoted here document, in config.status.  If some macros were
6258 # called several times there might be several #defines for the same
6259 # symbol, which is useless.  But do not sort them, since the last
6260 # AC_DEFINE must be honored.
6261 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6262 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6263 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6264 # PARAMS is the parameter list in the macro definition--in most cases, it's
6265 # just an empty string.
6266 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
6267 ac_dB='\\)[      (].*,\\1define\\2'
6268 ac_dC=' '
6269 ac_dD=' ,'
6271 uniq confdefs.h |
6272   sed -n '
6273         t rset
6274         :rset
6275         s/^[     ]*#[    ]*define[       ][      ]*//
6276         t ok
6277         d
6278         :ok
6279         s/[\\&,]/\\&/g
6280         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6281         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6282   ' >>conftest.defines
6284 # Remove the space that was appended to ease matching.
6285 # Then replace #undef with comments.  This is necessary, for
6286 # example, in the case of _POSIX_SOURCE, which is predefined and required
6287 # on some systems where configure will not decide to define it.
6288 # (The regexp can be short, since the line contains either #define or #undef.)
6289 echo 's/ $//
6290 s,^[     #]*u.*,/* & */,' >>conftest.defines
6292 # Break up conftest.defines:
6293 ac_max_sed_lines=50
6295 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6296 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6297 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6298 # et cetera.
6299 ac_in='$ac_file_inputs'
6300 ac_out='"$tmp/out1"'
6301 ac_nxt='"$tmp/out2"'
6303 while :
6305   # Write a here document:
6306     cat >>$CONFIG_STATUS <<_ACEOF
6307     # First, check the format of the line:
6308     cat >"\$tmp/defines.sed" <<\\CEOF
6309 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
6310 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
6312 :def
6313 _ACEOF
6314   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6315   echo 'CEOF
6316     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6317   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6318   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6319   grep . conftest.tail >/dev/null || break
6320   rm -f conftest.defines
6321   mv conftest.tail conftest.defines
6322 done
6323 rm -f conftest.defines conftest.tail
6325 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6326 cat >>$CONFIG_STATUS <<\_ACEOF
6327   if test x"$ac_file" != x-; then
6328     echo "/* $configure_input  */" >"$tmp/config.h"
6329     cat "$ac_result" >>"$tmp/config.h"
6330     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6331       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6332 echo "$as_me: $ac_file is unchanged" >&6;}
6333     else
6334       rm -f $ac_file
6335       mv "$tmp/config.h" $ac_file
6336     fi
6337   else
6338     echo "/* $configure_input  */"
6339     cat "$ac_result"
6340   fi
6341   rm -f "$tmp/out12"
6342 # Compute $ac_file's index in $config_headers.
6343 _am_arg=$ac_file
6344 _am_stamp_count=1
6345 for _am_header in $config_headers :; do
6346   case $_am_header in
6347     $_am_arg | $_am_arg:* )
6348       break ;;
6349     * )
6350       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6351   esac
6352 done
6353 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6354 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6355          X"$_am_arg" : 'X\(//\)[^/]' \| \
6356          X"$_am_arg" : 'X\(//\)$' \| \
6357          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6358 echo X"$_am_arg" |
6359     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6360             s//\1/
6361             q
6362           }
6363           /^X\(\/\/\)[^/].*/{
6364             s//\1/
6365             q
6366           }
6367           /^X\(\/\/\)$/{
6368             s//\1/
6369             q
6370           }
6371           /^X\(\/\).*/{
6372             s//\1/
6373             q
6374           }
6375           s/.*/./; q'`/stamp-h$_am_stamp_count
6376  ;;
6377   
6378   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6379 echo "$as_me: executing $ac_file commands" >&6;}
6380  ;;
6381   esac
6384   case $ac_file$ac_mode in
6385     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6386   # Strip MF so we end up with the name of the file.
6387   mf=`echo "$mf" | sed -e 's/:.*$//'`
6388   # Check whether this is an Automake generated Makefile or not.
6389   # We used to match only the files named `Makefile.in', but
6390   # some people rename them; so instead we look at the file content.
6391   # Grep'ing the first line is not enough: some people post-process
6392   # each Makefile.in and add a new line on top of each file to say so.
6393   # Grep'ing the whole file is not good either: AIX grep has a line
6394   # limit of 2048, but all sed's we know have understand at least 4000.
6395   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6396     dirpart=`$as_dirname -- "$mf" ||
6397 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6398          X"$mf" : 'X\(//\)[^/]' \| \
6399          X"$mf" : 'X\(//\)$' \| \
6400          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6401 echo X"$mf" |
6402     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6403             s//\1/
6404             q
6405           }
6406           /^X\(\/\/\)[^/].*/{
6407             s//\1/
6408             q
6409           }
6410           /^X\(\/\/\)$/{
6411             s//\1/
6412             q
6413           }
6414           /^X\(\/\).*/{
6415             s//\1/
6416             q
6417           }
6418           s/.*/./; q'`
6419   else
6420     continue
6421   fi
6422   # Extract the definition of DEPDIR, am__include, and am__quote
6423   # from the Makefile without running `make'.
6424   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6425   test -z "$DEPDIR" && continue
6426   am__include=`sed -n 's/^am__include = //p' < "$mf"`
6427   test -z "am__include" && continue
6428   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6429   # When using ansi2knr, U may be empty or an underscore; expand it
6430   U=`sed -n 's/^U = //p' < "$mf"`
6431   # Find all dependency output files, they are included files with
6432   # $(DEPDIR) in their names.  We invoke sed twice because it is the
6433   # simplest approach to changing $(DEPDIR) to its actual value in the
6434   # expansion.
6435   for file in `sed -n "
6436     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6437        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6438     # Make sure the directory exists.
6439     test -f "$dirpart/$file" && continue
6440     fdir=`$as_dirname -- "$file" ||
6441 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6442          X"$file" : 'X\(//\)[^/]' \| \
6443          X"$file" : 'X\(//\)$' \| \
6444          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6445 echo X"$file" |
6446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6447             s//\1/
6448             q
6449           }
6450           /^X\(\/\/\)[^/].*/{
6451             s//\1/
6452             q
6453           }
6454           /^X\(\/\/\)$/{
6455             s//\1/
6456             q
6457           }
6458           /^X\(\/\).*/{
6459             s//\1/
6460             q
6461           }
6462           s/.*/./; q'`
6463     { as_dir=$dirpart/$fdir
6464   case $as_dir in #(
6465   -*) as_dir=./$as_dir;;
6466   esac
6467   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6468     as_dirs=
6469     while :; do
6470       case $as_dir in #(
6471       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6472       *) as_qdir=$as_dir;;
6473       esac
6474       as_dirs="'$as_qdir' $as_dirs"
6475       as_dir=`$as_dirname -- "$as_dir" ||
6476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6477          X"$as_dir" : 'X\(//\)[^/]' \| \
6478          X"$as_dir" : 'X\(//\)$' \| \
6479          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6480 echo X"$as_dir" |
6481     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6482             s//\1/
6483             q
6484           }
6485           /^X\(\/\/\)[^/].*/{
6486             s//\1/
6487             q
6488           }
6489           /^X\(\/\/\)$/{
6490             s//\1/
6491             q
6492           }
6493           /^X\(\/\).*/{
6494             s//\1/
6495             q
6496           }
6497           s/.*/./; q'`
6498       test -d "$as_dir" && break
6499     done
6500     test -z "$as_dirs" || eval "mkdir $as_dirs"
6501   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6502 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6503    { (exit 1); exit 1; }; }; }
6504     # echo "creating $dirpart/$file"
6505     echo '# dummy' > "$dirpart/$file"
6506   done
6507 done
6508  ;;
6510   esac
6511 done # for ac_tag
6514 { (exit 0); exit 0; }
6515 _ACEOF
6516 chmod +x $CONFIG_STATUS
6517 ac_clean_files=$ac_clean_files_save
6520 # configure is writing to config.log, and then calls config.status.
6521 # config.status does its own redirection, appending to config.log.
6522 # Unfortunately, on DOS this fails, as config.log is still kept open
6523 # by configure, so config.status won't be able to write to it; its
6524 # output is simply discarded.  So we exec the FD to /dev/null,
6525 # effectively closing config.log, so it can be properly (re)opened and
6526 # appended to by config.status.  When coming back to configure, we
6527 # need to make the FD available again.
6528 if test "$no_create" != yes; then
6529   ac_cs_success=:
6530   ac_config_status_args=
6531   test "$silent" = yes &&
6532     ac_config_status_args="$ac_config_status_args --quiet"
6533   exec 5>/dev/null
6534   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6535   exec 5>>config.log
6536   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6537   # would make configure fail if this is the last instruction.
6538   $ac_cs_success || { (exit 1); exit 1; }