File:  [local] / rpl / Attic / configure
Revision 1.14: download - view: text, annotated - select for diffs - revision graph
Sat Mar 27 13:42:33 2010 UTC (14 years, 1 month ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction de bugs de compilation inhérents aux régressions entre
libtool 1.x et libtool 2.x.

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.61 for rpl 4.0.13.
    4: #
    5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6: # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    7: # This configure script is free software; the Free Software Foundation
    8: # gives unlimited permission to copy, distribute and modify it.
    9: ## --------------------- ##
   10: ## M4sh Initialization.  ##
   11: ## --------------------- ##
   12: 
   13: # Be more Bourne compatible
   14: DUALCASE=1; export DUALCASE # for MKS sh
   15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   16:   emulate sh
   17:   NULLCMD=:
   18:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19:   # is contrary to our usage.  Disable this feature.
   20:   alias -g '${1+"$@"}'='"$@"'
   21:   setopt NO_GLOB_SUBST
   22: else
   23:   case `(set -o) 2>/dev/null` in
   24:   *posix*) set -o posix ;;
   25: esac
   26: 
   27: fi
   28: 
   29: 
   30: 
   31: 
   32: # PATH needs CR
   33: # Avoid depending upon Character Ranges.
   34: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   37: as_cr_digits='0123456789'
   38: as_cr_alnum=$as_cr_Letters$as_cr_digits
   39: 
   40: # The user is always right.
   41: if test "${PATH_SEPARATOR+set}" != set; then
   42:   echo "#! /bin/sh" >conf$$.sh
   43:   echo  "exit 0"   >>conf$$.sh
   44:   chmod +x conf$$.sh
   45:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   46:     PATH_SEPARATOR=';'
   47:   else
   48:     PATH_SEPARATOR=:
   49:   fi
   50:   rm -f conf$$.sh
   51: fi
   52: 
   53: # Support unset when possible.
   54: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   55:   as_unset=unset
   56: else
   57:   as_unset=false
   58: fi
   59: 
   60: 
   61: # IFS
   62: # We need space, tab and new line, in precisely that order.  Quoting is
   63: # there to prevent editors from complaining about space-tab.
   64: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   65: # splitting by setting IFS to empty value.)
   66: as_nl='
   67: '
   68: IFS=" ""    $as_nl"
   69: 
   70: # Find who we are.  Look in the path if we contain no directory separator.
   71: case $0 in
   72:   *[\\/]* ) as_myself=$0 ;;
   73:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   74: for as_dir in $PATH
   75: do
   76:   IFS=$as_save_IFS
   77:   test -z "$as_dir" && as_dir=.
   78:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   79: done
   80: IFS=$as_save_IFS
   81: 
   82:      ;;
   83: esac
   84: # We did not find ourselves, most probably we were run as `sh COMMAND'
   85: # in which case we are not to be found in the path.
   86: if test "x$as_myself" = x; then
   87:   as_myself=$0
   88: fi
   89: if test ! -f "$as_myself"; then
   90:   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   91:   { (exit 1); exit 1; }
   92: fi
   93: 
   94: # Work around bugs in pre-3.0 UWIN ksh.
   95: for as_var in ENV MAIL MAILPATH
   96: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   97: done
   98: PS1='$ '
   99: PS2='> '
  100: PS4='+ '
  101: 
  102: # NLS nuisances.
  103: for as_var in \
  104:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  105:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  106:   LC_TELEPHONE LC_TIME
  107: do
  108:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  109:     eval $as_var=C; export $as_var
  110:   else
  111:     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  112:   fi
  113: done
  114: 
  115: # Required to use basename.
  116: if expr a : '\(a\)' >/dev/null 2>&1 &&
  117:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  118:   as_expr=expr
  119: else
  120:   as_expr=false
  121: fi
  122: 
  123: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  124:   as_basename=basename
  125: else
  126:   as_basename=false
  127: fi
  128: 
  129: 
  130: # Name of the executable.
  131: as_me=`$as_basename -- "$0" ||
  132: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  133:      X"$0" : 'X\(//\)$' \| \
  134:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  135: echo X/"$0" |
  136:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  137:         s//\1/
  138:         q
  139:       }
  140:       /^X\/\(\/\/\)$/{
  141:         s//\1/
  142:         q
  143:       }
  144:       /^X\/\(\/\).*/{
  145:         s//\1/
  146:         q
  147:       }
  148:       s/.*/./; q'`
  149: 
  150: # CDPATH.
  151: $as_unset CDPATH
  152: 
  153: 
  154: if test "x$CONFIG_SHELL" = x; then
  155:   if (eval ":") 2>/dev/null; then
  156:   as_have_required=yes
  157: else
  158:   as_have_required=no
  159: fi
  160: 
  161:   if test $as_have_required = yes &&     (eval ":
  162: (as_func_return () {
  163:   (exit \$1)
  164: }
  165: as_func_success () {
  166:   as_func_return 0
  167: }
  168: as_func_failure () {
  169:   as_func_return 1
  170: }
  171: as_func_ret_success () {
  172:   return 0
  173: }
  174: as_func_ret_failure () {
  175:   return 1
  176: }
  177: 
  178: exitcode=0
  179: if as_func_success; then
  180:   :
  181: else
  182:   exitcode=1
  183:   echo as_func_success failed.
  184: fi
  185: 
  186: if as_func_failure; then
  187:   exitcode=1
  188:   echo as_func_failure succeeded.
  189: fi
  190: 
  191: if as_func_ret_success; then
  192:   :
  193: else
  194:   exitcode=1
  195:   echo as_func_ret_success failed.
  196: fi
  197: 
  198: if as_func_ret_failure; then
  199:   exitcode=1
  200:   echo as_func_ret_failure succeeded.
  201: fi
  202: 
  203: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  204:   :
  205: else
  206:   exitcode=1
  207:   echo positional parameters were not saved.
  208: fi
  209: 
  210: test \$exitcode = 0) || { (exit 1); exit 1; }
  211: 
  212: (
  213:   as_lineno_1=\$LINENO
  214:   as_lineno_2=\$LINENO
  215:   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  216:   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  217: ") 2> /dev/null; then
  218:   :
  219: else
  220:   as_candidate_shells=
  221:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  222: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  223: do
  224:   IFS=$as_save_IFS
  225:   test -z "$as_dir" && as_dir=.
  226:   case $as_dir in
  227:      /*)
  228:        for as_base in sh bash ksh sh5; do
  229:          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  230:        done;;
  231:        esac
  232: done
  233: IFS=$as_save_IFS
  234: 
  235: 
  236:       for as_shell in $as_candidate_shells $SHELL; do
  237:      # Try only shells that exist, to save several forks.
  238:      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  239:         { ("$as_shell") 2> /dev/null <<\_ASEOF
  240: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  241:   emulate sh
  242:   NULLCMD=:
  243:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  244:   # is contrary to our usage.  Disable this feature.
  245:   alias -g '${1+"$@"}'='"$@"'
  246:   setopt NO_GLOB_SUBST
  247: else
  248:   case `(set -o) 2>/dev/null` in
  249:   *posix*) set -o posix ;;
  250: esac
  251: 
  252: fi
  253: 
  254: 
  255: :
  256: _ASEOF
  257: }; then
  258:   CONFIG_SHELL=$as_shell
  259:            as_have_required=yes
  260:            if { "$as_shell" 2> /dev/null <<\_ASEOF
  261: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  262:   emulate sh
  263:   NULLCMD=:
  264:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  265:   # is contrary to our usage.  Disable this feature.
  266:   alias -g '${1+"$@"}'='"$@"'
  267:   setopt NO_GLOB_SUBST
  268: else
  269:   case `(set -o) 2>/dev/null` in
  270:   *posix*) set -o posix ;;
  271: esac
  272: 
  273: fi
  274: 
  275: 
  276: :
  277: (as_func_return () {
  278:   (exit $1)
  279: }
  280: as_func_success () {
  281:   as_func_return 0
  282: }
  283: as_func_failure () {
  284:   as_func_return 1
  285: }
  286: as_func_ret_success () {
  287:   return 0
  288: }
  289: as_func_ret_failure () {
  290:   return 1
  291: }
  292: 
  293: exitcode=0
  294: if as_func_success; then
  295:   :
  296: else
  297:   exitcode=1
  298:   echo as_func_success failed.
  299: fi
  300: 
  301: if as_func_failure; then
  302:   exitcode=1
  303:   echo as_func_failure succeeded.
  304: fi
  305: 
  306: if as_func_ret_success; then
  307:   :
  308: else
  309:   exitcode=1
  310:   echo as_func_ret_success failed.
  311: fi
  312: 
  313: if as_func_ret_failure; then
  314:   exitcode=1
  315:   echo as_func_ret_failure succeeded.
  316: fi
  317: 
  318: if ( set x; as_func_ret_success y && test x = "$1" ); then
  319:   :
  320: else
  321:   exitcode=1
  322:   echo positional parameters were not saved.
  323: fi
  324: 
  325: test $exitcode = 0) || { (exit 1); exit 1; }
  326: 
  327: (
  328:   as_lineno_1=$LINENO
  329:   as_lineno_2=$LINENO
  330:   test "x$as_lineno_1" != "x$as_lineno_2" &&
  331:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  332: 
  333: _ASEOF
  334: }; then
  335:   break
  336: fi
  337: 
  338: fi
  339: 
  340:       done
  341: 
  342:       if test "x$CONFIG_SHELL" != x; then
  343:   for as_var in BASH_ENV ENV
  344:         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  345:         done
  346:         export CONFIG_SHELL
  347:         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  348: fi
  349: 
  350: 
  351:     if test $as_have_required = no; then
  352:   echo This script requires a shell more modern than all the
  353:       echo shells that I found on your system.  Please install a
  354:       echo modern shell, or manually run the script under such a
  355:       echo shell if you do have one.
  356:       { (exit 1); exit 1; }
  357: fi
  358: 
  359: 
  360: fi
  361: 
  362: fi
  363: 
  364: 
  365: 
  366: (eval "as_func_return () {
  367:   (exit \$1)
  368: }
  369: as_func_success () {
  370:   as_func_return 0
  371: }
  372: as_func_failure () {
  373:   as_func_return 1
  374: }
  375: as_func_ret_success () {
  376:   return 0
  377: }
  378: as_func_ret_failure () {
  379:   return 1
  380: }
  381: 
  382: exitcode=0
  383: if as_func_success; then
  384:   :
  385: else
  386:   exitcode=1
  387:   echo as_func_success failed.
  388: fi
  389: 
  390: if as_func_failure; then
  391:   exitcode=1
  392:   echo as_func_failure succeeded.
  393: fi
  394: 
  395: if as_func_ret_success; then
  396:   :
  397: else
  398:   exitcode=1
  399:   echo as_func_ret_success failed.
  400: fi
  401: 
  402: if as_func_ret_failure; then
  403:   exitcode=1
  404:   echo as_func_ret_failure succeeded.
  405: fi
  406: 
  407: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  408:   :
  409: else
  410:   exitcode=1
  411:   echo positional parameters were not saved.
  412: fi
  413: 
  414: test \$exitcode = 0") || {
  415:   echo No shell found that supports shell functions.
  416:   echo Please tell autoconf@gnu.org about your system,
  417:   echo including any error possibly output before this
  418:   echo message
  419: }
  420: 
  421: 
  422: 
  423:   as_lineno_1=$LINENO
  424:   as_lineno_2=$LINENO
  425:   test "x$as_lineno_1" != "x$as_lineno_2" &&
  426:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  427: 
  428:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  429:   # uniformly replaced by the line number.  The first 'sed' inserts a
  430:   # line-number line after each line using $LINENO; the second 'sed'
  431:   # does the real work.  The second script uses 'N' to pair each
  432:   # line-number line with the line containing $LINENO, and appends
  433:   # trailing '-' during substitution so that $LINENO is not a special
  434:   # case at line end.
  435:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  436:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  437:   # E. McMahon (1931-1989) for sed's syntax.  :-)
  438:   sed -n '
  439:     p
  440:     /[$]LINENO/=
  441:   ' <$as_myself |
  442:     sed '
  443:       s/[$]LINENO.*/&-/
  444:       t lineno
  445:       b
  446:       :lineno
  447:       N
  448:       :loop
  449:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  450:       t loop
  451:       s/-\n.*//
  452:     ' >$as_me.lineno &&
  453:   chmod +x "$as_me.lineno" ||
  454:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  455:    { (exit 1); exit 1; }; }
  456: 
  457:   # Don't try to exec as it changes $[0], causing all sort of problems
  458:   # (the dirname of $[0] is not the place where we might find the
  459:   # original and so on.  Autoconf is especially sensitive to this).
  460:   . "./$as_me.lineno"
  461:   # Exit status is that of the last command.
  462:   exit
  463: }
  464: 
  465: 
  466: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  467:   as_dirname=dirname
  468: else
  469:   as_dirname=false
  470: fi
  471: 
  472: ECHO_C= ECHO_N= ECHO_T=
  473: case `echo -n x` in
  474: -n*)
  475:   case `echo 'x\c'` in
  476:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  477:   *)   ECHO_C='\c';;
  478:   esac;;
  479: *)
  480:   ECHO_N='-n';;
  481: esac
  482: 
  483: if expr a : '\(a\)' >/dev/null 2>&1 &&
  484:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  485:   as_expr=expr
  486: else
  487:   as_expr=false
  488: fi
  489: 
  490: rm -f conf$$ conf$$.exe conf$$.file
  491: if test -d conf$$.dir; then
  492:   rm -f conf$$.dir/conf$$.file
  493: else
  494:   rm -f conf$$.dir
  495:   mkdir conf$$.dir
  496: fi
  497: echo >conf$$.file
  498: if ln -s conf$$.file conf$$ 2>/dev/null; then
  499:   as_ln_s='ln -s'
  500:   # ... but there are two gotchas:
  501:   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  502:   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  503:   # In both cases, we have to default to `cp -p'.
  504:   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  505:     as_ln_s='cp -p'
  506: elif ln conf$$.file conf$$ 2>/dev/null; then
  507:   as_ln_s=ln
  508: else
  509:   as_ln_s='cp -p'
  510: fi
  511: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  512: rmdir conf$$.dir 2>/dev/null
  513: 
  514: if mkdir -p . 2>/dev/null; then
  515:   as_mkdir_p=:
  516: else
  517:   test -d ./-p && rmdir ./-p
  518:   as_mkdir_p=false
  519: fi
  520: 
  521: if test -x / >/dev/null 2>&1; then
  522:   as_test_x='test -x'
  523: else
  524:   if ls -dL / >/dev/null 2>&1; then
  525:     as_ls_L_option=L
  526:   else
  527:     as_ls_L_option=
  528:   fi
  529:   as_test_x='
  530:     eval sh -c '\''
  531:       if test -d "$1"; then
  532:         test -d "$1/.";
  533:       else
  534:     case $1 in
  535:         -*)set "./$1";;
  536:     esac;
  537:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  538:     ???[sx]*):;;*)false;;esac;fi
  539:     '\'' sh
  540:   '
  541: fi
  542: as_executable_p=$as_test_x
  543: 
  544: # Sed expression to map a string onto a valid CPP name.
  545: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  546: 
  547: # Sed expression to map a string onto a valid variable name.
  548: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  549: 
  550: 
  551: 
  552: exec 7<&0 </dev/null 6>&1
  553: 
  554: # Name of the host.
  555: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  556: # so uname gets run too.
  557: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  558: 
  559: #
  560: # Initializations.
  561: #
  562: ac_default_prefix=/usr/local
  563: ac_clean_files=
  564: ac_config_libobj_dir=.
  565: LIBOBJS=
  566: cross_compiling=no
  567: subdirs=
  568: MFLAGS=
  569: MAKEFLAGS=
  570: SHELL=${CONFIG_SHELL-/bin/sh}
  571: 
  572: # Identity of this package.
  573: PACKAGE_NAME='rpl'
  574: PACKAGE_TARNAME='rpl'
  575: PACKAGE_VERSION='4.0.13'
  576: PACKAGE_STRING='rpl 4.0.13'
  577: PACKAGE_BUGREPORT=''
  578: 
  579: ac_default_prefix=/usr/local
  580: # Factoring default headers for most tests.
  581: ac_includes_default="\
  582: #include <stdio.h>
  583: #ifdef HAVE_SYS_TYPES_H
  584: # include <sys/types.h>
  585: #endif
  586: #ifdef HAVE_SYS_STAT_H
  587: # include <sys/stat.h>
  588: #endif
  589: #ifdef STDC_HEADERS
  590: # include <stdlib.h>
  591: # include <stddef.h>
  592: #else
  593: # ifdef HAVE_STDLIB_H
  594: #  include <stdlib.h>
  595: # endif
  596: #endif
  597: #ifdef HAVE_STRING_H
  598: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  599: #  include <memory.h>
  600: # endif
  601: # include <string.h>
  602: #endif
  603: #ifdef HAVE_STRINGS_H
  604: # include <strings.h>
  605: #endif
  606: #ifdef HAVE_INTTYPES_H
  607: # include <inttypes.h>
  608: #endif
  609: #ifdef HAVE_STDINT_H
  610: # include <stdint.h>
  611: #endif
  612: #ifdef HAVE_UNISTD_H
  613: # include <unistd.h>
  614: #endif"
  615: 
  616: ac_subst_vars='SHELL
  617: PATH_SEPARATOR
  618: PACKAGE_NAME
  619: PACKAGE_TARNAME
  620: PACKAGE_VERSION
  621: PACKAGE_STRING
  622: PACKAGE_BUGREPORT
  623: exec_prefix
  624: prefix
  625: program_transform_name
  626: bindir
  627: sbindir
  628: libexecdir
  629: datarootdir
  630: datadir
  631: sysconfdir
  632: sharedstatedir
  633: localstatedir
  634: includedir
  635: oldincludedir
  636: docdir
  637: infodir
  638: htmldir
  639: dvidir
  640: pdfdir
  641: psdir
  642: libdir
  643: localedir
  644: mandir
  645: DEFS
  646: ECHO_C
  647: ECHO_N
  648: ECHO_T
  649: LIBS
  650: build_alias
  651: host_alias
  652: target_alias
  653: build
  654: build_cpu
  655: build_vendor
  656: build_os
  657: host
  658: host_cpu
  659: host_vendor
  660: host_os
  661: target
  662: target_cpu
  663: target_vendor
  664: target_os
  665: INSTALL_PROGRAM
  666: INSTALL_SCRIPT
  667: INSTALL_DATA
  668: am__isrc
  669: CYGPATH_W
  670: PACKAGE
  671: VERSION
  672: ACLOCAL
  673: AUTOCONF
  674: AUTOMAKE
  675: AUTOHEADER
  676: MAKEINFO
  677: install_sh
  678: STRIP
  679: INSTALL_STRIP_PROGRAM
  680: mkdir_p
  681: AWK
  682: SET_MAKE
  683: am__leading_dot
  684: AMTAR
  685: am__tar
  686: am__untar
  687: CC
  688: CFLAGS
  689: LDFLAGS
  690: CPPFLAGS
  691: ac_ct_CC
  692: EXEEXT
  693: OBJEXT
  694: DEPDIR
  695: am__include
  696: am__quote
  697: AMDEP_TRUE
  698: AMDEP_FALSE
  699: AMDEPBACKSLASH
  700: CCDEPMODE
  701: am__fastdepCC_TRUE
  702: am__fastdepCC_FALSE
  703: CXX
  704: CXXFLAGS
  705: ac_ct_CXX
  706: CXXDEPMODE
  707: am__fastdepCXX_TRUE
  708: am__fastdepCXX_FALSE
  709: F77
  710: FFLAGS
  711: ac_ct_F77
  712: FC
  713: FCFLAGS
  714: ac_ct_FC
  715: XMKMF
  716: CPP
  717: X_CFLAGS
  718: X_PRE_LIBS
  719: X_LIBS
  720: X_EXTRA_LIBS
  721: PROFILAGE
  722: LIBTOOLIZE
  723: RUNPATH
  724: LN_S
  725: RANLIB
  726: SED
  727: TEX
  728: LATEX
  729: DVIPS
  730: GS
  731: GV
  732: GNUPLOT_P
  733: VIM
  734: GNUPLOT_SUPPORT
  735: FORCE_GNUPLOT_PATH
  736: POSTSCRIPT_SUPPORT
  737: VIM_SUPPORT
  738: EXPERIMENTAL_CODE
  739: DEBUG
  740: MOTIF_SUPPORT
  741: libX
  742: includeX
  743: DATE
  744: MYSQL_SUPPORT
  745: libMySQLinc
  746: libMySQLlib
  747: POSTGRESQL_SUPPORT
  748: libPgSQLinc
  749: libPgSQLlib
  750: GREP
  751: EGREP
  752: subdirs
  753: GNUPLOT_COMPILATION
  754: OS
  755: LIBMTMALLOC
  756: NCURSES
  757: READLINE
  758: UNITS
  759: GSL
  760: GPP
  761: GNUPLOT
  762: FILE
  763: ICONV
  764: SQLITE
  765: OPENSSL
  766: FINAL_ENCODING
  767: DATE_FR
  768: LIBOBJS
  769: LTLIBOBJS'
  770: ac_subst_files=''
  771:       ac_precious_vars='build_alias
  772: host_alias
  773: target_alias
  774: CC
  775: CFLAGS
  776: LDFLAGS
  777: LIBS
  778: CPPFLAGS
  779: CXX
  780: CXXFLAGS
  781: CCC
  782: F77
  783: FFLAGS
  784: FC
  785: FCFLAGS
  786: XMKMF
  787: CPP'
  788: ac_subdirs_all='tools/$NCURSES
  789: tools/$READLINE
  790: tools/$UNITS
  791: tools/$GSL
  792: tools/$GPP
  793: tools/$FILE
  794: tools/$ICONV
  795: tools/$SQLITE
  796: tools/$GNUPLOT'
  797: 
  798: # Initialize some variables set by options.
  799: ac_init_help=
  800: ac_init_version=false
  801: # The variables have the same names as the options, with
  802: # dashes changed to underlines.
  803: cache_file=/dev/null
  804: exec_prefix=NONE
  805: no_create=
  806: no_recursion=
  807: prefix=NONE
  808: program_prefix=NONE
  809: program_suffix=NONE
  810: program_transform_name=s,x,x,
  811: silent=
  812: site=
  813: srcdir=
  814: verbose=
  815: x_includes=NONE
  816: x_libraries=NONE
  817: 
  818: # Installation directory options.
  819: # These are left unexpanded so users can "make install exec_prefix=/foo"
  820: # and all the variables that are supposed to be based on exec_prefix
  821: # by default will actually change.
  822: # Use braces instead of parens because sh, perl, etc. also accept them.
  823: # (The list follows the same order as the GNU Coding Standards.)
  824: bindir='${exec_prefix}/bin'
  825: sbindir='${exec_prefix}/sbin'
  826: libexecdir='${exec_prefix}/libexec'
  827: datarootdir='${prefix}/share'
  828: datadir='${datarootdir}'
  829: sysconfdir='${prefix}/etc'
  830: sharedstatedir='${prefix}/com'
  831: localstatedir='${prefix}/var'
  832: includedir='${prefix}/include'
  833: oldincludedir='/usr/include'
  834: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  835: infodir='${datarootdir}/info'
  836: htmldir='${docdir}'
  837: dvidir='${docdir}'
  838: pdfdir='${docdir}'
  839: psdir='${docdir}'
  840: libdir='${exec_prefix}/lib'
  841: localedir='${datarootdir}/locale'
  842: mandir='${datarootdir}/man'
  843: 
  844: ac_prev=
  845: ac_dashdash=
  846: for ac_option
  847: do
  848:   # If the previous option needs an argument, assign it.
  849:   if test -n "$ac_prev"; then
  850:     eval $ac_prev=\$ac_option
  851:     ac_prev=
  852:     continue
  853:   fi
  854: 
  855:   case $ac_option in
  856:   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  857:   *)    ac_optarg=yes ;;
  858:   esac
  859: 
  860:   # Accept the important Cygnus configure options, so we can diagnose typos.
  861: 
  862:   case $ac_dashdash$ac_option in
  863:   --)
  864:     ac_dashdash=yes ;;
  865: 
  866:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  867:     ac_prev=bindir ;;
  868:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  869:     bindir=$ac_optarg ;;
  870: 
  871:   -build | --build | --buil | --bui | --bu)
  872:     ac_prev=build_alias ;;
  873:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  874:     build_alias=$ac_optarg ;;
  875: 
  876:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  877:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  878:     ac_prev=cache_file ;;
  879:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  880:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  881:     cache_file=$ac_optarg ;;
  882: 
  883:   --config-cache | -C)
  884:     cache_file=config.cache ;;
  885: 
  886:   -datadir | --datadir | --datadi | --datad)
  887:     ac_prev=datadir ;;
  888:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  889:     datadir=$ac_optarg ;;
  890: 
  891:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  892:   | --dataroo | --dataro | --datar)
  893:     ac_prev=datarootdir ;;
  894:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  895:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  896:     datarootdir=$ac_optarg ;;
  897: 
  898:   -disable-* | --disable-*)
  899:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  900:     # Reject names that are not valid shell variable names.
  901:     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  902:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  903:    { (exit 1); exit 1; }; }
  904:     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  905:     eval enable_$ac_feature=no ;;
  906: 
  907:   -docdir | --docdir | --docdi | --doc | --do)
  908:     ac_prev=docdir ;;
  909:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  910:     docdir=$ac_optarg ;;
  911: 
  912:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  913:     ac_prev=dvidir ;;
  914:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  915:     dvidir=$ac_optarg ;;
  916: 
  917:   -enable-* | --enable-*)
  918:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  919:     # Reject names that are not valid shell variable names.
  920:     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  921:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  922:    { (exit 1); exit 1; }; }
  923:     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  924:     eval enable_$ac_feature=\$ac_optarg ;;
  925: 
  926:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  927:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  928:   | --exec | --exe | --ex)
  929:     ac_prev=exec_prefix ;;
  930:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  931:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  932:   | --exec=* | --exe=* | --ex=*)
  933:     exec_prefix=$ac_optarg ;;
  934: 
  935:   -gas | --gas | --ga | --g)
  936:     # Obsolete; use --with-gas.
  937:     with_gas=yes ;;
  938: 
  939:   -help | --help | --hel | --he | -h)
  940:     ac_init_help=long ;;
  941:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  942:     ac_init_help=recursive ;;
  943:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  944:     ac_init_help=short ;;
  945: 
  946:   -host | --host | --hos | --ho)
  947:     ac_prev=host_alias ;;
  948:   -host=* | --host=* | --hos=* | --ho=*)
  949:     host_alias=$ac_optarg ;;
  950: 
  951:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  952:     ac_prev=htmldir ;;
  953:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  954:   | --ht=*)
  955:     htmldir=$ac_optarg ;;
  956: 
  957:   -includedir | --includedir | --includedi | --included | --include \
  958:   | --includ | --inclu | --incl | --inc)
  959:     ac_prev=includedir ;;
  960:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  961:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  962:     includedir=$ac_optarg ;;
  963: 
  964:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  965:     ac_prev=infodir ;;
  966:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  967:     infodir=$ac_optarg ;;
  968: 
  969:   -libdir | --libdir | --libdi | --libd)
  970:     ac_prev=libdir ;;
  971:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  972:     libdir=$ac_optarg ;;
  973: 
  974:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  975:   | --libexe | --libex | --libe)
  976:     ac_prev=libexecdir ;;
  977:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  978:   | --libexe=* | --libex=* | --libe=*)
  979:     libexecdir=$ac_optarg ;;
  980: 
  981:   -localedir | --localedir | --localedi | --localed | --locale)
  982:     ac_prev=localedir ;;
  983:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  984:     localedir=$ac_optarg ;;
  985: 
  986:   -localstatedir | --localstatedir | --localstatedi | --localstated \
  987:   | --localstate | --localstat | --localsta | --localst | --locals)
  988:     ac_prev=localstatedir ;;
  989:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  990:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  991:     localstatedir=$ac_optarg ;;
  992: 
  993:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  994:     ac_prev=mandir ;;
  995:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  996:     mandir=$ac_optarg ;;
  997: 
  998:   -nfp | --nfp | --nf)
  999:     # Obsolete; use --without-fp.
 1000:     with_fp=no ;;
 1001: 
 1002:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1003:   | --no-cr | --no-c | -n)
 1004:     no_create=yes ;;
 1005: 
 1006:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1007:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1008:     no_recursion=yes ;;
 1009: 
 1010:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1011:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1012:   | --oldin | --oldi | --old | --ol | --o)
 1013:     ac_prev=oldincludedir ;;
 1014:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1015:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1016:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1017:     oldincludedir=$ac_optarg ;;
 1018: 
 1019:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1020:     ac_prev=prefix ;;
 1021:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1022:     prefix=$ac_optarg ;;
 1023: 
 1024:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1025:   | --program-pre | --program-pr | --program-p)
 1026:     ac_prev=program_prefix ;;
 1027:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1028:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1029:     program_prefix=$ac_optarg ;;
 1030: 
 1031:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1032:   | --program-suf | --program-su | --program-s)
 1033:     ac_prev=program_suffix ;;
 1034:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1035:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1036:     program_suffix=$ac_optarg ;;
 1037: 
 1038:   -program-transform-name | --program-transform-name \
 1039:   | --program-transform-nam | --program-transform-na \
 1040:   | --program-transform-n | --program-transform- \
 1041:   | --program-transform | --program-transfor \
 1042:   | --program-transfo | --program-transf \
 1043:   | --program-trans | --program-tran \
 1044:   | --progr-tra | --program-tr | --program-t)
 1045:     ac_prev=program_transform_name ;;
 1046:   -program-transform-name=* | --program-transform-name=* \
 1047:   | --program-transform-nam=* | --program-transform-na=* \
 1048:   | --program-transform-n=* | --program-transform-=* \
 1049:   | --program-transform=* | --program-transfor=* \
 1050:   | --program-transfo=* | --program-transf=* \
 1051:   | --program-trans=* | --program-tran=* \
 1052:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1053:     program_transform_name=$ac_optarg ;;
 1054: 
 1055:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1056:     ac_prev=pdfdir ;;
 1057:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1058:     pdfdir=$ac_optarg ;;
 1059: 
 1060:   -psdir | --psdir | --psdi | --psd | --ps)
 1061:     ac_prev=psdir ;;
 1062:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1063:     psdir=$ac_optarg ;;
 1064: 
 1065:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1066:   | -silent | --silent | --silen | --sile | --sil)
 1067:     silent=yes ;;
 1068: 
 1069:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1070:     ac_prev=sbindir ;;
 1071:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1072:   | --sbi=* | --sb=*)
 1073:     sbindir=$ac_optarg ;;
 1074: 
 1075:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1076:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1077:   | --sharedst | --shareds | --shared | --share | --shar \
 1078:   | --sha | --sh)
 1079:     ac_prev=sharedstatedir ;;
 1080:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1081:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1082:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1083:   | --sha=* | --sh=*)
 1084:     sharedstatedir=$ac_optarg ;;
 1085: 
 1086:   -site | --site | --sit)
 1087:     ac_prev=site ;;
 1088:   -site=* | --site=* | --sit=*)
 1089:     site=$ac_optarg ;;
 1090: 
 1091:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1092:     ac_prev=srcdir ;;
 1093:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1094:     srcdir=$ac_optarg ;;
 1095: 
 1096:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1097:   | --syscon | --sysco | --sysc | --sys | --sy)
 1098:     ac_prev=sysconfdir ;;
 1099:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1100:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1101:     sysconfdir=$ac_optarg ;;
 1102: 
 1103:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1104:     ac_prev=target_alias ;;
 1105:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1106:     target_alias=$ac_optarg ;;
 1107: 
 1108:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1109:     verbose=yes ;;
 1110: 
 1111:   -version | --version | --versio | --versi | --vers | -V)
 1112:     ac_init_version=: ;;
 1113: 
 1114:   -with-* | --with-*)
 1115:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1116:     # Reject names that are not valid shell variable names.
 1117:     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1118:       { echo "$as_me: error: invalid package name: $ac_package" >&2
 1119:    { (exit 1); exit 1; }; }
 1120:     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 1121:     eval with_$ac_package=\$ac_optarg ;;
 1122: 
 1123:   -without-* | --without-*)
 1124:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1125:     # Reject names that are not valid shell variable names.
 1126:     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1127:       { echo "$as_me: error: invalid package name: $ac_package" >&2
 1128:    { (exit 1); exit 1; }; }
 1129:     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 1130:     eval with_$ac_package=no ;;
 1131: 
 1132:   --x)
 1133:     # Obsolete; use --with-x.
 1134:     with_x=yes ;;
 1135: 
 1136:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1137:   | --x-incl | --x-inc | --x-in | --x-i)
 1138:     ac_prev=x_includes ;;
 1139:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1140:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1141:     x_includes=$ac_optarg ;;
 1142: 
 1143:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1144:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1145:     ac_prev=x_libraries ;;
 1146:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1147:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1148:     x_libraries=$ac_optarg ;;
 1149: 
 1150:   -*) { echo "$as_me: error: unrecognized option: $ac_option
 1151: Try \`$0 --help' for more information." >&2
 1152:    { (exit 1); exit 1; }; }
 1153:     ;;
 1154: 
 1155:   *=*)
 1156:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1157:     # Reject names that are not valid shell variable names.
 1158:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 1159:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 1160:    { (exit 1); exit 1; }; }
 1161:     eval $ac_envvar=\$ac_optarg
 1162:     export $ac_envvar ;;
 1163: 
 1164:   *)
 1165:     # FIXME: should be removed in autoconf 3.0.
 1166:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1167:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1168:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1169:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1170:     ;;
 1171: 
 1172:   esac
 1173: done
 1174: 
 1175: if test -n "$ac_prev"; then
 1176:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1177:   { echo "$as_me: error: missing argument to $ac_option" >&2
 1178:    { (exit 1); exit 1; }; }
 1179: fi
 1180: 
 1181: # Be sure to have absolute directory names.
 1182: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1183:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1184:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1185:         libdir localedir mandir
 1186: do
 1187:   eval ac_val=\$$ac_var
 1188:   case $ac_val in
 1189:     [\\/$]* | ?:[\\/]* )  continue;;
 1190:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1191:   esac
 1192:   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 1193:    { (exit 1); exit 1; }; }
 1194: done
 1195: 
 1196: # There might be people who depend on the old broken behavior: `$host'
 1197: # used to hold the argument of --host etc.
 1198: # FIXME: To remove some day.
 1199: build=$build_alias
 1200: host=$host_alias
 1201: target=$target_alias
 1202: 
 1203: # FIXME: To remove some day.
 1204: if test "x$host_alias" != x; then
 1205:   if test "x$build_alias" = x; then
 1206:     cross_compiling=maybe
 1207:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1208:     If a cross compiler is detected then cross compile mode will be used." >&2
 1209:   elif test "x$build_alias" != "x$host_alias"; then
 1210:     cross_compiling=yes
 1211:   fi
 1212: fi
 1213: 
 1214: ac_tool_prefix=
 1215: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1216: 
 1217: test "$silent" = yes && exec 6>/dev/null
 1218: 
 1219: 
 1220: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1221: ac_ls_di=`ls -di .` &&
 1222: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1223:   { echo "$as_me: error: Working directory cannot be determined" >&2
 1224:    { (exit 1); exit 1; }; }
 1225: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1226:   { echo "$as_me: error: pwd does not report name of working directory" >&2
 1227:    { (exit 1); exit 1; }; }
 1228: 
 1229: 
 1230: # Find the source files, if location was not specified.
 1231: if test -z "$srcdir"; then
 1232:   ac_srcdir_defaulted=yes
 1233:   # Try the directory containing this script, then the parent directory.
 1234:   ac_confdir=`$as_dirname -- "$0" ||
 1235: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1236:      X"$0" : 'X\(//\)[^/]' \| \
 1237:      X"$0" : 'X\(//\)$' \| \
 1238:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 1239: echo X"$0" |
 1240:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1241:         s//\1/
 1242:         q
 1243:       }
 1244:       /^X\(\/\/\)[^/].*/{
 1245:         s//\1/
 1246:         q
 1247:       }
 1248:       /^X\(\/\/\)$/{
 1249:         s//\1/
 1250:         q
 1251:       }
 1252:       /^X\(\/\).*/{
 1253:         s//\1/
 1254:         q
 1255:       }
 1256:       s/.*/./; q'`
 1257:   srcdir=$ac_confdir
 1258:   if test ! -r "$srcdir/$ac_unique_file"; then
 1259:     srcdir=..
 1260:   fi
 1261: else
 1262:   ac_srcdir_defaulted=no
 1263: fi
 1264: if test ! -r "$srcdir/$ac_unique_file"; then
 1265:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1266:   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 1267:    { (exit 1); exit 1; }; }
 1268: fi
 1269: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1270: ac_abs_confdir=`(
 1271:     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 1272:    { (exit 1); exit 1; }; }
 1273:     pwd)`
 1274: # When building in place, set srcdir=.
 1275: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1276:   srcdir=.
 1277: fi
 1278: # Remove unnecessary trailing slashes from srcdir.
 1279: # Double slashes in file names in object file debugging info
 1280: # mess up M-x gdb in Emacs.
 1281: case $srcdir in
 1282: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1283: esac
 1284: for ac_var in $ac_precious_vars; do
 1285:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1286:   eval ac_env_${ac_var}_value=\$${ac_var}
 1287:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1288:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1289: done
 1290: 
 1291: #
 1292: # Report the --help message.
 1293: #
 1294: if test "$ac_init_help" = "long"; then
 1295:   # Omit some internal or obsolete options to make the list less imposing.
 1296:   # This message is too long to be a string in the A/UX 3.1 sh.
 1297:   cat <<_ACEOF
 1298: \`configure' configures rpl 4.0.13 to adapt to many kinds of systems.
 1299: 
 1300: Usage: $0 [OPTION]... [VAR=VALUE]...
 1301: 
 1302: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1303: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1304: 
 1305: Defaults for the options are specified in brackets.
 1306: 
 1307: Configuration:
 1308:   -h, --help              display this help and exit
 1309:       --help=short        display options specific to this package
 1310:       --help=recursive    display the short help of all the included packages
 1311:   -V, --version           display version information and exit
 1312:   -q, --quiet, --silent   do not print \`checking...' messages
 1313:       --cache-file=FILE   cache test results in FILE [disabled]
 1314:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1315:   -n, --no-create         do not create output files
 1316:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1317: 
 1318: Installation directories:
 1319:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1320:               [$ac_default_prefix]
 1321:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1322:               [PREFIX]
 1323: 
 1324: By default, \`make install' will install all the files in
 1325: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1326: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1327: for instance \`--prefix=\$HOME'.
 1328: 
 1329: For better control, use the options below.
 1330: 
 1331: Fine tuning of the installation directories:
 1332:   --bindir=DIR           user executables [EPREFIX/bin]
 1333:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
 1334:   --libexecdir=DIR       program executables [EPREFIX/libexec]
 1335:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 1336:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 1337:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 1338:   --libdir=DIR           object code libraries [EPREFIX/lib]
 1339:   --includedir=DIR       C header files [PREFIX/include]
 1340:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1341:   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 1342:   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 1343:   --infodir=DIR          info documentation [DATAROOTDIR/info]
 1344:   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 1345:   --mandir=DIR           man documentation [DATAROOTDIR/man]
 1346:   --docdir=DIR           documentation root [DATAROOTDIR/doc/rpl]
 1347:   --htmldir=DIR          html documentation [DOCDIR]
 1348:   --dvidir=DIR           dvi documentation [DOCDIR]
 1349:   --pdfdir=DIR           pdf documentation [DOCDIR]
 1350:   --psdir=DIR            ps documentation [DOCDIR]
 1351: _ACEOF
 1352: 
 1353:   cat <<\_ACEOF
 1354: 
 1355: Program names:
 1356:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1357:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1358:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1359: 
 1360: X features:
 1361:   --x-includes=DIR    X include files are in DIR
 1362:   --x-libraries=DIR   X library files are in DIR
 1363: 
 1364: System types:
 1365:   --build=BUILD     configure for building on BUILD [guessed]
 1366:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1367:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1368: _ACEOF
 1369: fi
 1370: 
 1371: if test -n "$ac_init_help"; then
 1372:   case $ac_init_help in
 1373:      short | recursive ) echo "Configuration of rpl 4.0.13:";;
 1374:    esac
 1375:   cat <<\_ACEOF
 1376: 
 1377: Optional Features:
 1378:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1379:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1380:   --disable-dependency-tracking  speeds up one-time build
 1381:   --enable-dependency-tracking   do not reject slow dependency extractors
 1382:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1383:   --enable-final-encoding force final encoding [default=guessed]
 1384:   --enable-tex            provide the TeX support [default=guessed]
 1385:   --enable-vim            provide the vim support [default=guessed]
 1386:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1387:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1388:   --enable-motif          provide the Motif support [default=guessed]
 1389:   --enable-experimental   enable experimental code [default=no]
 1390:   --enable-debug          enable debug code [default=no]
 1391:   --enable-profile        enable profile code [default=no]
 1392:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1393: 
 1394: Optional Packages:
 1395:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1396:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1397:   --with-x                use the X Window System
 1398:   --with-mysql=PATH         specify directory for installed mysql
 1399:   --with-postgresql=PATH    specify directory for installed postgresql
 1400: 
 1401: Some influential environment variables:
 1402:   CC          C compiler command
 1403:   CFLAGS      C compiler flags
 1404:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1405:               nonstandard directory <lib dir>
 1406:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1407:   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 1408:               you have headers in a nonstandard directory <include dir>
 1409:   CXX         C++ compiler command
 1410:   CXXFLAGS    C++ compiler flags
 1411:   F77         Fortran 77 compiler command
 1412:   FFLAGS      Fortran 77 compiler flags
 1413:   FC          Fortran compiler command
 1414:   FCFLAGS     Fortran compiler flags
 1415:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1416:   CPP         C preprocessor
 1417: 
 1418: Use these variables to override the choices made by `configure' or to help
 1419: it to find libraries and programs with nonstandard names/locations.
 1420: 
 1421: _ACEOF
 1422: ac_status=$?
 1423: fi
 1424: 
 1425: if test "$ac_init_help" = "recursive"; then
 1426:   # If there are subdirs, report their specific --help.
 1427:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1428:     test -d "$ac_dir" || continue
 1429:     ac_builddir=.
 1430: 
 1431: case "$ac_dir" in
 1432: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1433: *)
 1434:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1435:   # A ".." for each directory in $ac_dir_suffix.
 1436:   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 1437:   case $ac_top_builddir_sub in
 1438:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1439:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1440:   esac ;;
 1441: esac
 1442: ac_abs_top_builddir=$ac_pwd
 1443: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1444: # for backward compatibility:
 1445: ac_top_builddir=$ac_top_build_prefix
 1446: 
 1447: case $srcdir in
 1448:   .)  # We are building in place.
 1449:     ac_srcdir=.
 1450:     ac_top_srcdir=$ac_top_builddir_sub
 1451:     ac_abs_top_srcdir=$ac_pwd ;;
 1452:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1453:     ac_srcdir=$srcdir$ac_dir_suffix;
 1454:     ac_top_srcdir=$srcdir
 1455:     ac_abs_top_srcdir=$srcdir ;;
 1456:   *) # Relative name.
 1457:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1458:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1459:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1460: esac
 1461: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1462: 
 1463:     cd "$ac_dir" || { ac_status=$?; continue; }
 1464:     # Check for guested configure.
 1465:     if test -f "$ac_srcdir/configure.gnu"; then
 1466:       echo &&
 1467:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1468:     elif test -f "$ac_srcdir/configure"; then
 1469:       echo &&
 1470:       $SHELL "$ac_srcdir/configure" --help=recursive
 1471:     else
 1472:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1473:     fi || ac_status=$?
 1474:     cd "$ac_pwd" || { ac_status=$?; break; }
 1475:   done
 1476: fi
 1477: 
 1478: test -n "$ac_init_help" && exit $ac_status
 1479: if $ac_init_version; then
 1480:   cat <<\_ACEOF
 1481: rpl configure 4.0.13
 1482: generated by GNU Autoconf 2.61
 1483: 
 1484: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 1485: 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 1486: This configure script is free software; the Free Software Foundation
 1487: gives unlimited permission to copy, distribute and modify it.
 1488: _ACEOF
 1489:   exit
 1490: fi
 1491: cat >config.log <<_ACEOF
 1492: This file contains any messages produced by compilers while
 1493: running configure, to aid debugging if configure makes a mistake.
 1494: 
 1495: It was created by rpl $as_me 4.0.13, which was
 1496: generated by GNU Autoconf 2.61.  Invocation command line was
 1497: 
 1498:   $ $0 $@
 1499: 
 1500: _ACEOF
 1501: exec 5>>config.log
 1502: {
 1503: cat <<_ASUNAME
 1504: ## --------- ##
 1505: ## Platform. ##
 1506: ## --------- ##
 1507: 
 1508: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1509: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1510: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1511: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1512: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1513: 
 1514: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1515: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1516: 
 1517: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1518: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1519: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1520: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1521: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1522: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1523: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1524: 
 1525: _ASUNAME
 1526: 
 1527: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1528: for as_dir in $PATH
 1529: do
 1530:   IFS=$as_save_IFS
 1531:   test -z "$as_dir" && as_dir=.
 1532:   echo "PATH: $as_dir"
 1533: done
 1534: IFS=$as_save_IFS
 1535: 
 1536: } >&5
 1537: 
 1538: cat >&5 <<_ACEOF
 1539: 
 1540: 
 1541: ## ----------- ##
 1542: ## Core tests. ##
 1543: ## ----------- ##
 1544: 
 1545: _ACEOF
 1546: 
 1547: 
 1548: # Keep a trace of the command line.
 1549: # Strip out --no-create and --no-recursion so they do not pile up.
 1550: # Strip out --silent because we don't want to record it for future runs.
 1551: # Also quote any args containing shell meta-characters.
 1552: # Make two passes to allow for proper duplicate-argument suppression.
 1553: ac_configure_args=
 1554: ac_configure_args0=
 1555: ac_configure_args1=
 1556: ac_must_keep_next=false
 1557: for ac_pass in 1 2
 1558: do
 1559:   for ac_arg
 1560:   do
 1561:     case $ac_arg in
 1562:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1563:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1564:     | -silent | --silent | --silen | --sile | --sil)
 1565:       continue ;;
 1566:     *\'*)
 1567:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1568:     esac
 1569:     case $ac_pass in
 1570:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1571:     2)
 1572:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1573:       if test $ac_must_keep_next = true; then
 1574:     ac_must_keep_next=false # Got value, back to normal.
 1575:       else
 1576:     case $ac_arg in
 1577:       *=* | --config-cache | -C | -disable-* | --disable-* \
 1578:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1579:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1580:       | -with-* | --with-* | -without-* | --without-* | --x)
 1581:         case "$ac_configure_args0 " in
 1582:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1583:         esac
 1584:         ;;
 1585:       -* ) ac_must_keep_next=true ;;
 1586:     esac
 1587:       fi
 1588:       ac_configure_args="$ac_configure_args '$ac_arg'"
 1589:       ;;
 1590:     esac
 1591:   done
 1592: done
 1593: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1594: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1595: 
 1596: # When interrupted or exit'd, cleanup temporary files, and complete
 1597: # config.log.  We remove comments because anyway the quotes in there
 1598: # would cause problems or look ugly.
 1599: # WARNING: Use '\'' to represent an apostrophe within the trap.
 1600: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1601: trap 'exit_status=$?
 1602:   # Save into config.log some information that might help in debugging.
 1603:   {
 1604:     echo
 1605: 
 1606:     cat <<\_ASBOX
 1607: ## ---------------- ##
 1608: ## Cache variables. ##
 1609: ## ---------------- ##
 1610: _ASBOX
 1611:     echo
 1612:     # The following way of writing the cache mishandles newlines in values,
 1613: (
 1614:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1615:     eval ac_val=\$$ac_var
 1616:     case $ac_val in #(
 1617:     *${as_nl}*)
 1618:       case $ac_var in #(
 1619:       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 1620: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 1621:       esac
 1622:       case $ac_var in #(
 1623:       _ | IFS | as_nl) ;; #(
 1624:       *) $as_unset $ac_var ;;
 1625:       esac ;;
 1626:     esac
 1627:   done
 1628:   (set) 2>&1 |
 1629:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1630:     *${as_nl}ac_space=\ *)
 1631:       sed -n \
 1632:     "s/'\''/'\''\\\\'\'''\''/g;
 1633:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1634:       ;; #(
 1635:     *)
 1636:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1637:       ;;
 1638:     esac |
 1639:     sort
 1640: )
 1641:     echo
 1642: 
 1643:     cat <<\_ASBOX
 1644: ## ----------------- ##
 1645: ## Output variables. ##
 1646: ## ----------------- ##
 1647: _ASBOX
 1648:     echo
 1649:     for ac_var in $ac_subst_vars
 1650:     do
 1651:       eval ac_val=\$$ac_var
 1652:       case $ac_val in
 1653:       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1654:       esac
 1655:       echo "$ac_var='\''$ac_val'\''"
 1656:     done | sort
 1657:     echo
 1658: 
 1659:     if test -n "$ac_subst_files"; then
 1660:       cat <<\_ASBOX
 1661: ## ------------------- ##
 1662: ## File substitutions. ##
 1663: ## ------------------- ##
 1664: _ASBOX
 1665:       echo
 1666:       for ac_var in $ac_subst_files
 1667:       do
 1668:     eval ac_val=\$$ac_var
 1669:     case $ac_val in
 1670:     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1671:     esac
 1672:     echo "$ac_var='\''$ac_val'\''"
 1673:       done | sort
 1674:       echo
 1675:     fi
 1676: 
 1677:     if test -s confdefs.h; then
 1678:       cat <<\_ASBOX
 1679: ## ----------- ##
 1680: ## confdefs.h. ##
 1681: ## ----------- ##
 1682: _ASBOX
 1683:       echo
 1684:       cat confdefs.h
 1685:       echo
 1686:     fi
 1687:     test "$ac_signal" != 0 &&
 1688:       echo "$as_me: caught signal $ac_signal"
 1689:     echo "$as_me: exit $exit_status"
 1690:   } >&5
 1691:   rm -f core *.core core.conftest.* &&
 1692:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 1693:     exit $exit_status
 1694: ' 0
 1695: for ac_signal in 1 2 13 15; do
 1696:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1697: done
 1698: ac_signal=0
 1699: 
 1700: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1701: rm -f -r conftest* confdefs.h
 1702: 
 1703: # Predefined preprocessor variables.
 1704: 
 1705: cat >>confdefs.h <<_ACEOF
 1706: #define PACKAGE_NAME "$PACKAGE_NAME"
 1707: _ACEOF
 1708: 
 1709: 
 1710: cat >>confdefs.h <<_ACEOF
 1711: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1712: _ACEOF
 1713: 
 1714: 
 1715: cat >>confdefs.h <<_ACEOF
 1716: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1717: _ACEOF
 1718: 
 1719: 
 1720: cat >>confdefs.h <<_ACEOF
 1721: #define PACKAGE_STRING "$PACKAGE_STRING"
 1722: _ACEOF
 1723: 
 1724: 
 1725: cat >>confdefs.h <<_ACEOF
 1726: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1727: _ACEOF
 1728: 
 1729: 
 1730: # Let the site file select an alternate cache file if it wants to.
 1731: # Prefer explicitly selected file to automatically selected ones.
 1732: if test -n "$CONFIG_SITE"; then
 1733:   set x "$CONFIG_SITE"
 1734: elif test "x$prefix" != xNONE; then
 1735:   set x "$prefix/share/config.site" "$prefix/etc/config.site"
 1736: else
 1737:   set x "$ac_default_prefix/share/config.site" \
 1738:     "$ac_default_prefix/etc/config.site"
 1739: fi
 1740: shift
 1741: for ac_site_file
 1742: do
 1743:   if test -r "$ac_site_file"; then
 1744:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1745: echo "$as_me: loading site script $ac_site_file" >&6;}
 1746:     sed 's/^/| /' "$ac_site_file" >&5
 1747:     . "$ac_site_file"
 1748:   fi
 1749: done
 1750: 
 1751: if test -r "$cache_file"; then
 1752:   # Some versions of bash will fail to source /dev/null (special
 1753:   # files actually), so we avoid doing that.
 1754:   if test -f "$cache_file"; then
 1755:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1756: echo "$as_me: loading cache $cache_file" >&6;}
 1757:     case $cache_file in
 1758:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 1759:       *)                      . "./$cache_file";;
 1760:     esac
 1761:   fi
 1762: else
 1763:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1764: echo "$as_me: creating cache $cache_file" >&6;}
 1765:   >$cache_file
 1766: fi
 1767: 
 1768: # Check that the precious variables saved in the cache have kept the same
 1769: # value.
 1770: ac_cache_corrupted=false
 1771: for ac_var in $ac_precious_vars; do
 1772:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1773:   eval ac_new_set=\$ac_env_${ac_var}_set
 1774:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 1775:   eval ac_new_val=\$ac_env_${ac_var}_value
 1776:   case $ac_old_set,$ac_new_set in
 1777:     set,)
 1778:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1779: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1780:       ac_cache_corrupted=: ;;
 1781:     ,set)
 1782:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1783: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1784:       ac_cache_corrupted=: ;;
 1785:     ,);;
 1786:     *)
 1787:       if test "x$ac_old_val" != "x$ac_new_val"; then
 1788:     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1789: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1790:     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1791: echo "$as_me:   former value:  $ac_old_val" >&2;}
 1792:     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1793: echo "$as_me:   current value: $ac_new_val" >&2;}
 1794:     ac_cache_corrupted=:
 1795:       fi;;
 1796:   esac
 1797:   # Pass precious variables to config.status.
 1798:   if test "$ac_new_set" = set; then
 1799:     case $ac_new_val in
 1800:     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1801:     *) ac_arg=$ac_var=$ac_new_val ;;
 1802:     esac
 1803:     case " $ac_configure_args " in
 1804:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1805:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1806:     esac
 1807:   fi
 1808: done
 1809: if $ac_cache_corrupted; then
 1810:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1811: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1812:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1813: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1814:    { (exit 1); exit 1; }; }
 1815: fi
 1816: 
 1817: 
 1818: 
 1819: 
 1820: 
 1821: 
 1822: 
 1823: 
 1824: 
 1825: 
 1826: 
 1827: 
 1828: 
 1829: 
 1830: 
 1831: 
 1832: 
 1833: 
 1834: 
 1835: 
 1836: 
 1837: 
 1838: 
 1839: 
 1840: 
 1841: ac_ext=c
 1842: ac_cpp='$CPP $CPPFLAGS'
 1843: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1844: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1845: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1846: 
 1847: 
 1848: ac_aux_dir=
 1849: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 1850:   if test -f "$ac_dir/install-sh"; then
 1851:     ac_aux_dir=$ac_dir
 1852:     ac_install_sh="$ac_aux_dir/install-sh -c"
 1853:     break
 1854:   elif test -f "$ac_dir/install.sh"; then
 1855:     ac_aux_dir=$ac_dir
 1856:     ac_install_sh="$ac_aux_dir/install.sh -c"
 1857:     break
 1858:   elif test -f "$ac_dir/shtool"; then
 1859:     ac_aux_dir=$ac_dir
 1860:     ac_install_sh="$ac_aux_dir/shtool install -c"
 1861:     break
 1862:   fi
 1863: done
 1864: if test -z "$ac_aux_dir"; then
 1865:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 1866: echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 1867:    { (exit 1); exit 1; }; }
 1868: fi
 1869: 
 1870: # These three variables are undocumented and unsupported,
 1871: # and are intended to be withdrawn in a future Autoconf release.
 1872: # They can cause serious problems if a builder's source tree is in a directory
 1873: # whose full name contains unusual characters.
 1874: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 1875: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 1876: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 1877: 
 1878: 
 1879: # Make sure we can run config.sub.
 1880: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 1881:   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 1882: echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 1883:    { (exit 1); exit 1; }; }
 1884: 
 1885: { echo "$as_me:$LINENO: checking build system type" >&5
 1886: echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 1887: if test "${ac_cv_build+set}" = set; then
 1888:   echo $ECHO_N "(cached) $ECHO_C" >&6
 1889: else
 1890:   ac_build_alias=$build_alias
 1891: test "x$ac_build_alias" = x &&
 1892:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 1893: test "x$ac_build_alias" = x &&
 1894:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 1895: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 1896:    { (exit 1); exit 1; }; }
 1897: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 1898:   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 1899: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 1900:    { (exit 1); exit 1; }; }
 1901: 
 1902: fi
 1903: { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 1904: echo "${ECHO_T}$ac_cv_build" >&6; }
 1905: case $ac_cv_build in
 1906: *-*-*) ;;
 1907: *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 1908: echo "$as_me: error: invalid value of canonical build" >&2;}
 1909:    { (exit 1); exit 1; }; };;
 1910: esac
 1911: build=$ac_cv_build
 1912: ac_save_IFS=$IFS; IFS='-'
 1913: set x $ac_cv_build
 1914: shift
 1915: build_cpu=$1
 1916: build_vendor=$2
 1917: shift; shift
 1918: # Remember, the first character of IFS is used to create $*,
 1919: # except with old shells:
 1920: build_os=$*
 1921: IFS=$ac_save_IFS
 1922: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 1923: 
 1924: 
 1925: { echo "$as_me:$LINENO: checking host system type" >&5
 1926: echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 1927: if test "${ac_cv_host+set}" = set; then
 1928:   echo $ECHO_N "(cached) $ECHO_C" >&6
 1929: else
 1930:   if test "x$host_alias" = x; then
 1931:   ac_cv_host=$ac_cv_build
 1932: else
 1933:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 1934:     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 1935: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 1936:    { (exit 1); exit 1; }; }
 1937: fi
 1938: 
 1939: fi
 1940: { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 1941: echo "${ECHO_T}$ac_cv_host" >&6; }
 1942: case $ac_cv_host in
 1943: *-*-*) ;;
 1944: *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 1945: echo "$as_me: error: invalid value of canonical host" >&2;}
 1946:    { (exit 1); exit 1; }; };;
 1947: esac
 1948: host=$ac_cv_host
 1949: ac_save_IFS=$IFS; IFS='-'
 1950: set x $ac_cv_host
 1951: shift
 1952: host_cpu=$1
 1953: host_vendor=$2
 1954: shift; shift
 1955: # Remember, the first character of IFS is used to create $*,
 1956: # except with old shells:
 1957: host_os=$*
 1958: IFS=$ac_save_IFS
 1959: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 1960: 
 1961: 
 1962: { echo "$as_me:$LINENO: checking target system type" >&5
 1963: echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 1964: if test "${ac_cv_target+set}" = set; then
 1965:   echo $ECHO_N "(cached) $ECHO_C" >&6
 1966: else
 1967:   if test "x$target_alias" = x; then
 1968:   ac_cv_target=$ac_cv_host
 1969: else
 1970:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 1971:     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 1972: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 1973:    { (exit 1); exit 1; }; }
 1974: fi
 1975: 
 1976: fi
 1977: { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 1978: echo "${ECHO_T}$ac_cv_target" >&6; }
 1979: case $ac_cv_target in
 1980: *-*-*) ;;
 1981: *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 1982: echo "$as_me: error: invalid value of canonical target" >&2;}
 1983:    { (exit 1); exit 1; }; };;
 1984: esac
 1985: target=$ac_cv_target
 1986: ac_save_IFS=$IFS; IFS='-'
 1987: set x $ac_cv_target
 1988: shift
 1989: target_cpu=$1
 1990: target_vendor=$2
 1991: shift; shift
 1992: # Remember, the first character of IFS is used to create $*,
 1993: # except with old shells:
 1994: target_os=$*
 1995: IFS=$ac_save_IFS
 1996: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 1997: 
 1998: 
 1999: # The aliases save the names the user supplied, while $host etc.
 2000: # will get canonicalized.
 2001: test -n "$target_alias" &&
 2002:   test "$program_prefix$program_suffix$program_transform_name" = \
 2003:     NONENONEs,x,x, &&
 2004:   program_prefix=${target_alias}-
 2005: { echo "$as_me:$LINENO: checking target system type" >&5
 2006: echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 2007: if test "${ac_cv_target+set}" = set; then
 2008:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2009: else
 2010:   if test "x$target_alias" = x; then
 2011:   ac_cv_target=$ac_cv_host
 2012: else
 2013:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2014:     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 2015: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 2016:    { (exit 1); exit 1; }; }
 2017: fi
 2018: 
 2019: fi
 2020: { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 2021: echo "${ECHO_T}$ac_cv_target" >&6; }
 2022: case $ac_cv_target in
 2023: *-*-*) ;;
 2024: *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 2025: echo "$as_me: error: invalid value of canonical target" >&2;}
 2026:    { (exit 1); exit 1; }; };;
 2027: esac
 2028: target=$ac_cv_target
 2029: ac_save_IFS=$IFS; IFS='-'
 2030: set x $ac_cv_target
 2031: shift
 2032: target_cpu=$1
 2033: target_vendor=$2
 2034: shift; shift
 2035: # Remember, the first character of IFS is used to create $*,
 2036: # except with old shells:
 2037: target_os=$*
 2038: IFS=$ac_save_IFS
 2039: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2040: 
 2041: 
 2042: # The aliases save the names the user supplied, while $host etc.
 2043: # will get canonicalized.
 2044: test -n "$target_alias" &&
 2045:   test "$program_prefix$program_suffix$program_transform_name" = \
 2046:     NONENONEs,x,x, &&
 2047:   program_prefix=${target_alias}-
 2048: am__api_version='1.10'
 2049: 
 2050: # Find a good install program.  We prefer a C program (faster),
 2051: # so one script is as good as another.  But avoid the broken or
 2052: # incompatible versions:
 2053: # SysV /etc/install, /usr/sbin/install
 2054: # SunOS /usr/etc/install
 2055: # IRIX /sbin/install
 2056: # AIX /bin/install
 2057: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2058: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2059: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2060: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2061: # OS/2's system install, which has a completely different semantic
 2062: # ./install, which can be erroneously created by make from ./install.sh.
 2063: { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2064: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 2065: if test -z "$INSTALL"; then
 2066: if test "${ac_cv_path_install+set}" = set; then
 2067:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2068: else
 2069:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2070: for as_dir in $PATH
 2071: do
 2072:   IFS=$as_save_IFS
 2073:   test -z "$as_dir" && as_dir=.
 2074:   # Account for people who put trailing slashes in PATH elements.
 2075: case $as_dir/ in
 2076:   ./ | .// | /cC/* | \
 2077:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2078:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 2079:   /usr/ucb/* ) ;;
 2080:   *)
 2081:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2082:     # Don't use installbsd from OSF since it installs stuff as root
 2083:     # by default.
 2084:     for ac_prog in ginstall scoinst install; do
 2085:       for ac_exec_ext in '' $ac_executable_extensions; do
 2086:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2087:       if test $ac_prog = install &&
 2088:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2089:         # AIX install.  It has an incompatible calling convention.
 2090:         :
 2091:       elif test $ac_prog = install &&
 2092:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2093:         # program-specific install script used by HP pwplus--don't use.
 2094:         :
 2095:       else
 2096:         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2097:         break 3
 2098:       fi
 2099:     fi
 2100:       done
 2101:     done
 2102:     ;;
 2103: esac
 2104: done
 2105: IFS=$as_save_IFS
 2106: 
 2107: 
 2108: fi
 2109:   if test "${ac_cv_path_install+set}" = set; then
 2110:     INSTALL=$ac_cv_path_install
 2111:   else
 2112:     # As a last resort, use the slow shell script.  Don't cache a
 2113:     # value for INSTALL within a source directory, because that will
 2114:     # break other packages using the cache if that directory is
 2115:     # removed, or if the value is a relative name.
 2116:     INSTALL=$ac_install_sh
 2117:   fi
 2118: fi
 2119: { echo "$as_me:$LINENO: result: $INSTALL" >&5
 2120: echo "${ECHO_T}$INSTALL" >&6; }
 2121: 
 2122: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2123: # It thinks the first close brace ends the variable substitution.
 2124: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2125: 
 2126: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2127: 
 2128: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2129: 
 2130: { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 2131: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 2132: # Just in case
 2133: sleep 1
 2134: echo timestamp > conftest.file
 2135: # Do `set' in a subshell so we don't clobber the current shell's
 2136: # arguments.  Must try -L first in case configure is actually a
 2137: # symlink; some systems play weird games with the mod time of symlinks
 2138: # (eg FreeBSD returns the mod time of the symlink's containing
 2139: # directory).
 2140: if (
 2141:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 2142:    if test "$*" = "X"; then
 2143:       # -L didn't work.
 2144:       set X `ls -t $srcdir/configure conftest.file`
 2145:    fi
 2146:    rm -f conftest.file
 2147:    if test "$*" != "X $srcdir/configure conftest.file" \
 2148:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2149: 
 2150:       # If neither matched, then we have a broken ls.  This can happen
 2151:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2152:       # broken ls alias from the environment.  This has actually
 2153:       # happened.  Such a system could not be considered "sane".
 2154:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 2155: alias in your environment" >&5
 2156: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 2157: alias in your environment" >&2;}
 2158:    { (exit 1); exit 1; }; }
 2159:    fi
 2160: 
 2161:    test "$2" = conftest.file
 2162:    )
 2163: then
 2164:    # Ok.
 2165:    :
 2166: else
 2167:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 2168: Check your system clock" >&5
 2169: echo "$as_me: error: newly created file is older than distributed files!
 2170: Check your system clock" >&2;}
 2171:    { (exit 1); exit 1; }; }
 2172: fi
 2173: { echo "$as_me:$LINENO: result: yes" >&5
 2174: echo "${ECHO_T}yes" >&6; }
 2175: test "$program_prefix" != NONE &&
 2176:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2177: # Use a double $ so make ignores it.
 2178: test "$program_suffix" != NONE &&
 2179:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2180: # Double any \ or $.  echo might interpret backslashes.
 2181: # By default was `s,x,x', remove it if useless.
 2182: cat <<\_ACEOF >conftest.sed
 2183: s/[\\$]/&&/g;s/;s,x,x,$//
 2184: _ACEOF
 2185: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 2186: rm -f conftest.sed
 2187: 
 2188: # expand $ac_aux_dir to an absolute path
 2189: am_aux_dir=`cd $ac_aux_dir && pwd`
 2190: 
 2191: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 2192: # Use eval to expand $SHELL
 2193: if eval "$MISSING --run true"; then
 2194:   am_missing_run="$MISSING --run "
 2195: else
 2196:   am_missing_run=
 2197:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 2198: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2199: fi
 2200: 
 2201: { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 2202: echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 2203: if test -z "$MKDIR_P"; then
 2204:   if test "${ac_cv_path_mkdir+set}" = set; then
 2205:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2206: else
 2207:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2208: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2209: do
 2210:   IFS=$as_save_IFS
 2211:   test -z "$as_dir" && as_dir=.
 2212:   for ac_prog in mkdir gmkdir; do
 2213:      for ac_exec_ext in '' $ac_executable_extensions; do
 2214:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 2215:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2216:          'mkdir (GNU coreutils) '* | \
 2217:          'mkdir (coreutils) '* | \
 2218:          'mkdir (fileutils) '4.1*)
 2219:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2220:            break 3;;
 2221:        esac
 2222:      done
 2223:        done
 2224: done
 2225: IFS=$as_save_IFS
 2226: 
 2227: fi
 2228: 
 2229:   if test "${ac_cv_path_mkdir+set}" = set; then
 2230:     MKDIR_P="$ac_cv_path_mkdir -p"
 2231:   else
 2232:     # As a last resort, use the slow shell script.  Don't cache a
 2233:     # value for MKDIR_P within a source directory, because that will
 2234:     # break other packages using the cache if that directory is
 2235:     # removed, or if the value is a relative name.
 2236:     test -d ./--version && rmdir ./--version
 2237:     MKDIR_P="$ac_install_sh -d"
 2238:   fi
 2239: fi
 2240: { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 2241: echo "${ECHO_T}$MKDIR_P" >&6; }
 2242: 
 2243: mkdir_p="$MKDIR_P"
 2244: case $mkdir_p in
 2245:   [\\/$]* | ?:[\\/]*) ;;
 2246:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 2247: esac
 2248: 
 2249: for ac_prog in gawk mawk nawk awk
 2250: do
 2251:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2252: set dummy $ac_prog; ac_word=$2
 2253: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2254: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2255: if test "${ac_cv_prog_AWK+set}" = set; then
 2256:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2257: else
 2258:   if test -n "$AWK"; then
 2259:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2260: else
 2261: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2262: for as_dir in $PATH
 2263: do
 2264:   IFS=$as_save_IFS
 2265:   test -z "$as_dir" && as_dir=.
 2266:   for ac_exec_ext in '' $ac_executable_extensions; do
 2267:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2268:     ac_cv_prog_AWK="$ac_prog"
 2269:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2270:     break 2
 2271:   fi
 2272: done
 2273: done
 2274: IFS=$as_save_IFS
 2275: 
 2276: fi
 2277: fi
 2278: AWK=$ac_cv_prog_AWK
 2279: if test -n "$AWK"; then
 2280:   { echo "$as_me:$LINENO: result: $AWK" >&5
 2281: echo "${ECHO_T}$AWK" >&6; }
 2282: else
 2283:   { echo "$as_me:$LINENO: result: no" >&5
 2284: echo "${ECHO_T}no" >&6; }
 2285: fi
 2286: 
 2287: 
 2288:   test -n "$AWK" && break
 2289: done
 2290: 
 2291: { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2292: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 2293: set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2294: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 2295:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2296: else
 2297:   cat >conftest.make <<\_ACEOF
 2298: SHELL = /bin/sh
 2299: all:
 2300:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 2301: _ACEOF
 2302: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2303: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2304:   *@@@%%%=?*=@@@%%%*)
 2305:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2306:   *)
 2307:     eval ac_cv_prog_make_${ac_make}_set=no;;
 2308: esac
 2309: rm -f conftest.make
 2310: fi
 2311: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2312:   { echo "$as_me:$LINENO: result: yes" >&5
 2313: echo "${ECHO_T}yes" >&6; }
 2314:   SET_MAKE=
 2315: else
 2316:   { echo "$as_me:$LINENO: result: no" >&5
 2317: echo "${ECHO_T}no" >&6; }
 2318:   SET_MAKE="MAKE=${MAKE-make}"
 2319: fi
 2320: 
 2321: rm -rf .tst 2>/dev/null
 2322: mkdir .tst 2>/dev/null
 2323: if test -d .tst; then
 2324:   am__leading_dot=.
 2325: else
 2326:   am__leading_dot=_
 2327: fi
 2328: rmdir .tst 2>/dev/null
 2329: 
 2330: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 2331:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 2332:   # is not polluted with repeated "-I."
 2333:   am__isrc=' -I$(srcdir)'
 2334:   # test to see if srcdir already configured
 2335:   if test -f $srcdir/config.status; then
 2336:     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 2337: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 2338:    { (exit 1); exit 1; }; }
 2339:   fi
 2340: fi
 2341: 
 2342: # test whether we have cygpath
 2343: if test -z "$CYGPATH_W"; then
 2344:   if (cygpath --version) >/dev/null 2>/dev/null; then
 2345:     CYGPATH_W='cygpath -w'
 2346:   else
 2347:     CYGPATH_W=echo
 2348:   fi
 2349: fi
 2350: 
 2351: 
 2352: # Define the identity of the package.
 2353:  PACKAGE='rpl'
 2354:  VERSION='4.0.13'
 2355: 
 2356: 
 2357: cat >>confdefs.h <<_ACEOF
 2358: #define PACKAGE "$PACKAGE"
 2359: _ACEOF
 2360: 
 2361: 
 2362: cat >>confdefs.h <<_ACEOF
 2363: #define VERSION "$VERSION"
 2364: _ACEOF
 2365: 
 2366: # Some tools Automake needs.
 2367: 
 2368: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2369: 
 2370: 
 2371: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2372: 
 2373: 
 2374: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2375: 
 2376: 
 2377: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2378: 
 2379: 
 2380: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2381: 
 2382: install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 2383: 
 2384: # Installed binaries are usually stripped using `strip' when the user
 2385: # run `make install-strip'.  However `strip' might not be the right
 2386: # tool to use in cross-compilation environments, therefore Automake
 2387: # will honor the `STRIP' environment variable to overrule this program.
 2388: if test "$cross_compiling" != no; then
 2389:   if test -n "$ac_tool_prefix"; then
 2390:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2391: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2392: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2393: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2394: if test "${ac_cv_prog_STRIP+set}" = set; then
 2395:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2396: else
 2397:   if test -n "$STRIP"; then
 2398:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2399: else
 2400: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2401: for as_dir in $PATH
 2402: do
 2403:   IFS=$as_save_IFS
 2404:   test -z "$as_dir" && as_dir=.
 2405:   for ac_exec_ext in '' $ac_executable_extensions; do
 2406:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2407:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2408:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2409:     break 2
 2410:   fi
 2411: done
 2412: done
 2413: IFS=$as_save_IFS
 2414: 
 2415: fi
 2416: fi
 2417: STRIP=$ac_cv_prog_STRIP
 2418: if test -n "$STRIP"; then
 2419:   { echo "$as_me:$LINENO: result: $STRIP" >&5
 2420: echo "${ECHO_T}$STRIP" >&6; }
 2421: else
 2422:   { echo "$as_me:$LINENO: result: no" >&5
 2423: echo "${ECHO_T}no" >&6; }
 2424: fi
 2425: 
 2426: 
 2427: fi
 2428: if test -z "$ac_cv_prog_STRIP"; then
 2429:   ac_ct_STRIP=$STRIP
 2430:   # Extract the first word of "strip", so it can be a program name with args.
 2431: set dummy strip; 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_ac_ct_STRIP+set}" = set; then
 2435:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2436: else
 2437:   if test -n "$ac_ct_STRIP"; then
 2438:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2439: else
 2440: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2441: for as_dir in $PATH
 2442: do
 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_ac_ct_STRIP="strip"
 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
 2454: 
 2455: fi
 2456: fi
 2457: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2458: if test -n "$ac_ct_STRIP"; then
 2459:   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 2460: echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 2461: else
 2462:   { echo "$as_me:$LINENO: result: no" >&5
 2463: echo "${ECHO_T}no" >&6; }
 2464: fi
 2465: 
 2466:   if test "x$ac_ct_STRIP" = x; then
 2467:     STRIP=":"
 2468:   else
 2469:     case $cross_compiling:$ac_tool_warned in
 2470: yes:)
 2471: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2472: whose name does not start with the host triplet.  If you think this
 2473: configuration is useful to you, please write to autoconf@gnu.org." >&5
 2474: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2475: whose name does not start with the host triplet.  If you think this
 2476: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2477: ac_tool_warned=yes ;;
 2478: esac
 2479:     STRIP=$ac_ct_STRIP
 2480:   fi
 2481: else
 2482:   STRIP="$ac_cv_prog_STRIP"
 2483: fi
 2484: 
 2485: fi
 2486: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2487: 
 2488: # We need awk for the "check" target.  The system "awk" is bad on
 2489: # some platforms.
 2490: # Always define AMTAR for backward compatibility.
 2491: 
 2492: AMTAR=${AMTAR-"${am_missing_run}tar"}
 2493: 
 2494: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 2495: 
 2496: 
 2497: 
 2498: 
 2499: 
 2500: 
 2501: ac_config_headers="$ac_config_headers rplconfig.h"
 2502: 
 2503: 
 2504: NCURSES=ncurses-5.7-20100206
 2505: READLINE=readline-6.1
 2506: UNITS=units-1.87
 2507: GSL=gsl-1.13
 2508: GPP=gpp-2.24
 2509: GNUPLOT=gnuplot-4.2.6
 2510: FILE=file-5.03
 2511: ICONV=libiconv-1.13.1
 2512: SQLITE=sqlite-3.6.22
 2513: OPENSSL=openssl-0.9.8m
 2514: 
 2515: ac_ext=c
 2516: ac_cpp='$CPP $CPPFLAGS'
 2517: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2518: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2519: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2520: if test -n "$ac_tool_prefix"; then
 2521:   for ac_prog in gcc-4.4 gcc
 2522:   do
 2523:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2524: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2525: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2526: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2527: if test "${ac_cv_prog_CC+set}" = set; then
 2528:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2529: else
 2530:   if test -n "$CC"; then
 2531:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2532: else
 2533: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2534: for as_dir in $PATH
 2535: do
 2536:   IFS=$as_save_IFS
 2537:   test -z "$as_dir" && as_dir=.
 2538:   for ac_exec_ext in '' $ac_executable_extensions; do
 2539:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2540:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2541:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2542:     break 2
 2543:   fi
 2544: done
 2545: done
 2546: IFS=$as_save_IFS
 2547: 
 2548: fi
 2549: fi
 2550: CC=$ac_cv_prog_CC
 2551: if test -n "$CC"; then
 2552:   { echo "$as_me:$LINENO: result: $CC" >&5
 2553: echo "${ECHO_T}$CC" >&6; }
 2554: else
 2555:   { echo "$as_me:$LINENO: result: no" >&5
 2556: echo "${ECHO_T}no" >&6; }
 2557: fi
 2558: 
 2559: 
 2560:     test -n "$CC" && break
 2561:   done
 2562: fi
 2563: if test -z "$CC"; then
 2564:   ac_ct_CC=$CC
 2565:   for ac_prog in gcc-4.4 gcc
 2566: do
 2567:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2568: set dummy $ac_prog; ac_word=$2
 2569: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2570: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2571: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2572:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2573: else
 2574:   if test -n "$ac_ct_CC"; then
 2575:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2576: else
 2577: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2578: for as_dir in $PATH
 2579: do
 2580:   IFS=$as_save_IFS
 2581:   test -z "$as_dir" && as_dir=.
 2582:   for ac_exec_ext in '' $ac_executable_extensions; do
 2583:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2584:     ac_cv_prog_ac_ct_CC="$ac_prog"
 2585:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2586:     break 2
 2587:   fi
 2588: done
 2589: done
 2590: IFS=$as_save_IFS
 2591: 
 2592: fi
 2593: fi
 2594: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2595: if test -n "$ac_ct_CC"; then
 2596:   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2597: echo "${ECHO_T}$ac_ct_CC" >&6; }
 2598: else
 2599:   { echo "$as_me:$LINENO: result: no" >&5
 2600: echo "${ECHO_T}no" >&6; }
 2601: fi
 2602: 
 2603: 
 2604:   test -n "$ac_ct_CC" && break
 2605: done
 2606: 
 2607:   if test "x$ac_ct_CC" = x; then
 2608:     CC=""
 2609:   else
 2610:     case $cross_compiling:$ac_tool_warned in
 2611: yes:)
 2612: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2613: whose name does not start with the host triplet.  If you think this
 2614: configuration is useful to you, please write to autoconf@gnu.org." >&5
 2615: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2616: whose name does not start with the host triplet.  If you think this
 2617: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2618: ac_tool_warned=yes ;;
 2619: esac
 2620:     CC=$ac_ct_CC
 2621:   fi
 2622: fi
 2623: 
 2624: 
 2625: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2626: See \`config.log' for more details." >&5
 2627: echo "$as_me: error: no acceptable C compiler found in \$PATH
 2628: See \`config.log' for more details." >&2;}
 2629:    { (exit 1); exit 1; }; }
 2630: 
 2631: # Provide some information about the compiler.
 2632: echo "$as_me:$LINENO: checking for C compiler version" >&5
 2633: ac_compiler=`set X $ac_compile; echo $2`
 2634: { (ac_try="$ac_compiler --version >&5"
 2635: case "(($ac_try" in
 2636:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2637:   *) ac_try_echo=$ac_try;;
 2638: esac
 2639: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2640:   (eval "$ac_compiler --version >&5") 2>&5
 2641:   ac_status=$?
 2642:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2643:   (exit $ac_status); }
 2644: { (ac_try="$ac_compiler -v >&5"
 2645: case "(($ac_try" in
 2646:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2647:   *) ac_try_echo=$ac_try;;
 2648: esac
 2649: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2650:   (eval "$ac_compiler -v >&5") 2>&5
 2651:   ac_status=$?
 2652:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2653:   (exit $ac_status); }
 2654: { (ac_try="$ac_compiler -V >&5"
 2655: case "(($ac_try" in
 2656:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2657:   *) ac_try_echo=$ac_try;;
 2658: esac
 2659: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2660:   (eval "$ac_compiler -V >&5") 2>&5
 2661:   ac_status=$?
 2662:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2663:   (exit $ac_status); }
 2664: 
 2665: cat >conftest.$ac_ext <<_ACEOF
 2666: /* confdefs.h.  */
 2667: _ACEOF
 2668: cat confdefs.h >>conftest.$ac_ext
 2669: cat >>conftest.$ac_ext <<_ACEOF
 2670: /* end confdefs.h.  */
 2671: 
 2672: int
 2673: main ()
 2674: {
 2675: 
 2676:   ;
 2677:   return 0;
 2678: }
 2679: _ACEOF
 2680: ac_clean_files_save=$ac_clean_files
 2681: ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2682: # Try to create an executable without -o first, disregard a.out.
 2683: # It will help us diagnose broken compilers, and finding out an intuition
 2684: # of exeext.
 2685: { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2686: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 2687: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2688: #
 2689: # List of possible output files, starting from the most likely.
 2690: # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 2691: # only as a last resort.  b.out is created by i960 compilers.
 2692: ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 2693: #
 2694: # The IRIX 6 linker writes into existing files which may not be
 2695: # executable, retaining their permissions.  Remove them first so a
 2696: # subsequent execution test works.
 2697: ac_rmfiles=
 2698: for ac_file in $ac_files
 2699: do
 2700:   case $ac_file in
 2701:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 2702:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2703:   esac
 2704: done
 2705: rm -f $ac_rmfiles
 2706: 
 2707: if { (ac_try="$ac_link_default"
 2708: case "(($ac_try" in
 2709:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2710:   *) ac_try_echo=$ac_try;;
 2711: esac
 2712: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2713:   (eval "$ac_link_default") 2>&5
 2714:   ac_status=$?
 2715:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2716:   (exit $ac_status); }; then
 2717:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2718: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2719: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2720: # so that the user can short-circuit this test for compilers unknown to
 2721: # Autoconf.
 2722: for ac_file in $ac_files ''
 2723: do
 2724:   test -f "$ac_file" || continue
 2725:   case $ac_file in
 2726:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 2727:     ;;
 2728:     [ab].out )
 2729:     # We found the default executable, but exeext='' is most
 2730:     # certainly right.
 2731:     break;;
 2732:     *.* )
 2733:         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2734:     then :; else
 2735:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2736:     fi
 2737:     # We set ac_cv_exeext here because the later test for it is not
 2738:     # safe: cross compilers may not add the suffix if given an `-o'
 2739:     # argument, so we may need to know it at that point already.
 2740:     # Even if this section looks crufty: it has the advantage of
 2741:     # actually working.
 2742:     break;;
 2743:     * )
 2744:     break;;
 2745:   esac
 2746: done
 2747: test "$ac_cv_exeext" = no && ac_cv_exeext=
 2748: 
 2749: else
 2750:   ac_file=''
 2751: fi
 2752: 
 2753: { echo "$as_me:$LINENO: result: $ac_file" >&5
 2754: echo "${ECHO_T}$ac_file" >&6; }
 2755: if test -z "$ac_file"; then
 2756:   echo "$as_me: failed program was:" >&5
 2757: sed 's/^/| /' conftest.$ac_ext >&5
 2758: 
 2759: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 2760: See \`config.log' for more details." >&5
 2761: echo "$as_me: error: C compiler cannot create executables
 2762: See \`config.log' for more details." >&2;}
 2763:    { (exit 77); exit 77; }; }
 2764: fi
 2765: 
 2766: ac_exeext=$ac_cv_exeext
 2767: 
 2768: # Check that the compiler produces executables we can run.  If not, either
 2769: # the compiler is broken, or we cross compile.
 2770: { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2771: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 2772: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2773: # If not cross compiling, check that we can run a simple program.
 2774: if test "$cross_compiling" != yes; then
 2775:   if { ac_try='./$ac_file'
 2776:   { (case "(($ac_try" in
 2777:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2778:   *) ac_try_echo=$ac_try;;
 2779: esac
 2780: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2781:   (eval "$ac_try") 2>&5
 2782:   ac_status=$?
 2783:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2784:   (exit $ac_status); }; }; then
 2785:     cross_compiling=no
 2786:   else
 2787:     if test "$cross_compiling" = maybe; then
 2788:     cross_compiling=yes
 2789:     else
 2790:     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2791: If you meant to cross compile, use \`--host'.
 2792: See \`config.log' for more details." >&5
 2793: echo "$as_me: error: cannot run C compiled programs.
 2794: If you meant to cross compile, use \`--host'.
 2795: See \`config.log' for more details." >&2;}
 2796:    { (exit 1); exit 1; }; }
 2797:     fi
 2798:   fi
 2799: fi
 2800: { echo "$as_me:$LINENO: result: yes" >&5
 2801: echo "${ECHO_T}yes" >&6; }
 2802: 
 2803: rm -f a.out a.exe conftest$ac_cv_exeext b.out
 2804: ac_clean_files=$ac_clean_files_save
 2805: # Check that the compiler produces executables we can run.  If not, either
 2806: # the compiler is broken, or we cross compile.
 2807: { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2808: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 2809: { echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2810: echo "${ECHO_T}$cross_compiling" >&6; }
 2811: 
 2812: { echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2813: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 2814: if { (ac_try="$ac_link"
 2815: case "(($ac_try" in
 2816:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2817:   *) ac_try_echo=$ac_try;;
 2818: esac
 2819: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2820:   (eval "$ac_link") 2>&5
 2821:   ac_status=$?
 2822:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2823:   (exit $ac_status); }; then
 2824:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2825: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2826: # work properly (i.e., refer to `conftest.exe'), while it won't with
 2827: # `rm'.
 2828: for ac_file in conftest.exe conftest conftest.*; do
 2829:   test -f "$ac_file" || continue
 2830:   case $ac_file in
 2831:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 2832:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2833:       break;;
 2834:     * ) break;;
 2835:   esac
 2836: done
 2837: else
 2838:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2839: See \`config.log' for more details." >&5
 2840: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2841: See \`config.log' for more details." >&2;}
 2842:    { (exit 1); exit 1; }; }
 2843: fi
 2844: 
 2845: rm -f conftest$ac_cv_exeext
 2846: { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2847: echo "${ECHO_T}$ac_cv_exeext" >&6; }
 2848: 
 2849: rm -f conftest.$ac_ext
 2850: EXEEXT=$ac_cv_exeext
 2851: ac_exeext=$EXEEXT
 2852: { echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2853: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 2854: if test "${ac_cv_objext+set}" = set; then
 2855:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2856: else
 2857:   cat >conftest.$ac_ext <<_ACEOF
 2858: /* confdefs.h.  */
 2859: _ACEOF
 2860: cat confdefs.h >>conftest.$ac_ext
 2861: cat >>conftest.$ac_ext <<_ACEOF
 2862: /* end confdefs.h.  */
 2863: 
 2864: int
 2865: main ()
 2866: {
 2867: 
 2868:   ;
 2869:   return 0;
 2870: }
 2871: _ACEOF
 2872: rm -f conftest.o conftest.obj
 2873: if { (ac_try="$ac_compile"
 2874: case "(($ac_try" in
 2875:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2876:   *) ac_try_echo=$ac_try;;
 2877: esac
 2878: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2879:   (eval "$ac_compile") 2>&5
 2880:   ac_status=$?
 2881:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2882:   (exit $ac_status); }; then
 2883:   for ac_file in conftest.o conftest.obj conftest.*; do
 2884:   test -f "$ac_file" || continue;
 2885:   case $ac_file in
 2886:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 2887:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2888:        break;;
 2889:   esac
 2890: done
 2891: else
 2892:   echo "$as_me: failed program was:" >&5
 2893: sed 's/^/| /' conftest.$ac_ext >&5
 2894: 
 2895: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2896: See \`config.log' for more details." >&5
 2897: echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2898: See \`config.log' for more details." >&2;}
 2899:    { (exit 1); exit 1; }; }
 2900: fi
 2901: 
 2902: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2903: fi
 2904: { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2905: echo "${ECHO_T}$ac_cv_objext" >&6; }
 2906: OBJEXT=$ac_cv_objext
 2907: ac_objext=$OBJEXT
 2908: { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 2909: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 2910: if test "${ac_cv_c_compiler_gnu+set}" = set; then
 2911:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2912: else
 2913:   cat >conftest.$ac_ext <<_ACEOF
 2914: /* confdefs.h.  */
 2915: _ACEOF
 2916: cat confdefs.h >>conftest.$ac_ext
 2917: cat >>conftest.$ac_ext <<_ACEOF
 2918: /* end confdefs.h.  */
 2919: 
 2920: int
 2921: main ()
 2922: {
 2923: #ifndef __GNUC__
 2924:        choke me
 2925: #endif
 2926: 
 2927:   ;
 2928:   return 0;
 2929: }
 2930: _ACEOF
 2931: rm -f conftest.$ac_objext
 2932: if { (ac_try="$ac_compile"
 2933: case "(($ac_try" in
 2934:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2935:   *) ac_try_echo=$ac_try;;
 2936: esac
 2937: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2938:   (eval "$ac_compile") 2>conftest.er1
 2939:   ac_status=$?
 2940:   grep -v '^ *+' conftest.er1 >conftest.err
 2941:   rm -f conftest.er1
 2942:   cat conftest.err >&5
 2943:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2944:   (exit $ac_status); } && {
 2945:      test -z "$ac_c_werror_flag" ||
 2946:      test ! -s conftest.err
 2947:        } && test -s conftest.$ac_objext; then
 2948:   ac_compiler_gnu=yes
 2949: else
 2950:   echo "$as_me: failed program was:" >&5
 2951: sed 's/^/| /' conftest.$ac_ext >&5
 2952: 
 2953:     ac_compiler_gnu=no
 2954: fi
 2955: 
 2956: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2957: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2958: 
 2959: fi
 2960: { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 2961: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 2962: GCC=`test $ac_compiler_gnu = yes && echo yes`
 2963: ac_test_CFLAGS=${CFLAGS+set}
 2964: ac_save_CFLAGS=$CFLAGS
 2965: { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 2966: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 2967: if test "${ac_cv_prog_cc_g+set}" = set; then
 2968:   echo $ECHO_N "(cached) $ECHO_C" >&6
 2969: else
 2970:   ac_save_c_werror_flag=$ac_c_werror_flag
 2971:    ac_c_werror_flag=yes
 2972:    ac_cv_prog_cc_g=no
 2973:    CFLAGS="-g"
 2974:    cat >conftest.$ac_ext <<_ACEOF
 2975: /* confdefs.h.  */
 2976: _ACEOF
 2977: cat confdefs.h >>conftest.$ac_ext
 2978: cat >>conftest.$ac_ext <<_ACEOF
 2979: /* end confdefs.h.  */
 2980: 
 2981: int
 2982: main ()
 2983: {
 2984: 
 2985:   ;
 2986:   return 0;
 2987: }
 2988: _ACEOF
 2989: rm -f conftest.$ac_objext
 2990: if { (ac_try="$ac_compile"
 2991: case "(($ac_try" in
 2992:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2993:   *) ac_try_echo=$ac_try;;
 2994: esac
 2995: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2996:   (eval "$ac_compile") 2>conftest.er1
 2997:   ac_status=$?
 2998:   grep -v '^ *+' conftest.er1 >conftest.err
 2999:   rm -f conftest.er1
 3000:   cat conftest.err >&5
 3001:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3002:   (exit $ac_status); } && {
 3003:      test -z "$ac_c_werror_flag" ||
 3004:      test ! -s conftest.err
 3005:        } && test -s conftest.$ac_objext; then
 3006:   ac_cv_prog_cc_g=yes
 3007: else
 3008:   echo "$as_me: failed program was:" >&5
 3009: sed 's/^/| /' conftest.$ac_ext >&5
 3010: 
 3011:     CFLAGS=""
 3012:       cat >conftest.$ac_ext <<_ACEOF
 3013: /* confdefs.h.  */
 3014: _ACEOF
 3015: cat confdefs.h >>conftest.$ac_ext
 3016: cat >>conftest.$ac_ext <<_ACEOF
 3017: /* end confdefs.h.  */
 3018: 
 3019: int
 3020: main ()
 3021: {
 3022: 
 3023:   ;
 3024:   return 0;
 3025: }
 3026: _ACEOF
 3027: rm -f conftest.$ac_objext
 3028: if { (ac_try="$ac_compile"
 3029: case "(($ac_try" in
 3030:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3031:   *) ac_try_echo=$ac_try;;
 3032: esac
 3033: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3034:   (eval "$ac_compile") 2>conftest.er1
 3035:   ac_status=$?
 3036:   grep -v '^ *+' conftest.er1 >conftest.err
 3037:   rm -f conftest.er1
 3038:   cat conftest.err >&5
 3039:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3040:   (exit $ac_status); } && {
 3041:      test -z "$ac_c_werror_flag" ||
 3042:      test ! -s conftest.err
 3043:        } && test -s conftest.$ac_objext; then
 3044:   :
 3045: else
 3046:   echo "$as_me: failed program was:" >&5
 3047: sed 's/^/| /' conftest.$ac_ext >&5
 3048: 
 3049:     ac_c_werror_flag=$ac_save_c_werror_flag
 3050:      CFLAGS="-g"
 3051:      cat >conftest.$ac_ext <<_ACEOF
 3052: /* confdefs.h.  */
 3053: _ACEOF
 3054: cat confdefs.h >>conftest.$ac_ext
 3055: cat >>conftest.$ac_ext <<_ACEOF
 3056: /* end confdefs.h.  */
 3057: 
 3058: int
 3059: main ()
 3060: {
 3061: 
 3062:   ;
 3063:   return 0;
 3064: }
 3065: _ACEOF
 3066: rm -f conftest.$ac_objext
 3067: if { (ac_try="$ac_compile"
 3068: case "(($ac_try" in
 3069:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3070:   *) ac_try_echo=$ac_try;;
 3071: esac
 3072: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3073:   (eval "$ac_compile") 2>conftest.er1
 3074:   ac_status=$?
 3075:   grep -v '^ *+' conftest.er1 >conftest.err
 3076:   rm -f conftest.er1
 3077:   cat conftest.err >&5
 3078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3079:   (exit $ac_status); } && {
 3080:      test -z "$ac_c_werror_flag" ||
 3081:      test ! -s conftest.err
 3082:        } && test -s conftest.$ac_objext; then
 3083:   ac_cv_prog_cc_g=yes
 3084: else
 3085:   echo "$as_me: failed program was:" >&5
 3086: sed 's/^/| /' conftest.$ac_ext >&5
 3087: 
 3088: 
 3089: fi
 3090: 
 3091: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3092: fi
 3093: 
 3094: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3095: fi
 3096: 
 3097: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3098:    ac_c_werror_flag=$ac_save_c_werror_flag
 3099: fi
 3100: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 3101: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 3102: if test "$ac_test_CFLAGS" = set; then
 3103:   CFLAGS=$ac_save_CFLAGS
 3104: elif test $ac_cv_prog_cc_g = yes; then
 3105:   if test "$GCC" = yes; then
 3106:     CFLAGS="-g -O2"
 3107:   else
 3108:     CFLAGS="-g"
 3109:   fi
 3110: else
 3111:   if test "$GCC" = yes; then
 3112:     CFLAGS="-O2"
 3113:   else
 3114:     CFLAGS=
 3115:   fi
 3116: fi
 3117: { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 3118: echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 3119: if test "${ac_cv_prog_cc_c89+set}" = set; then
 3120:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3121: else
 3122:   ac_cv_prog_cc_c89=no
 3123: ac_save_CC=$CC
 3124: cat >conftest.$ac_ext <<_ACEOF
 3125: /* confdefs.h.  */
 3126: _ACEOF
 3127: cat confdefs.h >>conftest.$ac_ext
 3128: cat >>conftest.$ac_ext <<_ACEOF
 3129: /* end confdefs.h.  */
 3130: #include <stdarg.h>
 3131: #include <stdio.h>
 3132: #include <sys/types.h>
 3133: #include <sys/stat.h>
 3134: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3135: struct buf { int x; };
 3136: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3137: static char *e (p, i)
 3138:      char **p;
 3139:      int i;
 3140: {
 3141:   return p[i];
 3142: }
 3143: static char *f (char * (*g) (char **, int), char **p, ...)
 3144: {
 3145:   char *s;
 3146:   va_list v;
 3147:   va_start (v,p);
 3148:   s = g (p, va_arg (v,int));
 3149:   va_end (v);
 3150:   return s;
 3151: }
 3152: 
 3153: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3154:    function prototypes and stuff, but not '\xHH' hex character constants.
 3155:    These don't provoke an error unfortunately, instead are silently treated
 3156:    as 'x'.  The following induces an error, until -std is added to get
 3157:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3158:    array size at least.  It's necessary to write '\x00'==0 to get something
 3159:    that's true only with -std.  */
 3160: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3161: 
 3162: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3163:    inside strings and character constants.  */
 3164: #define FOO(x) 'x'
 3165: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3166: 
 3167: int test (int i, double x);
 3168: struct s1 {int (*f) (int a);};
 3169: struct s2 {int (*f) (double a);};
 3170: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3171: int argc;
 3172: char **argv;
 3173: int
 3174: main ()
 3175: {
 3176: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3177:   ;
 3178:   return 0;
 3179: }
 3180: _ACEOF
 3181: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3182:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3183: do
 3184:   CC="$ac_save_CC $ac_arg"
 3185:   rm -f conftest.$ac_objext
 3186: if { (ac_try="$ac_compile"
 3187: case "(($ac_try" in
 3188:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3189:   *) ac_try_echo=$ac_try;;
 3190: esac
 3191: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3192:   (eval "$ac_compile") 2>conftest.er1
 3193:   ac_status=$?
 3194:   grep -v '^ *+' conftest.er1 >conftest.err
 3195:   rm -f conftest.er1
 3196:   cat conftest.err >&5
 3197:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3198:   (exit $ac_status); } && {
 3199:      test -z "$ac_c_werror_flag" ||
 3200:      test ! -s conftest.err
 3201:        } && test -s conftest.$ac_objext; then
 3202:   ac_cv_prog_cc_c89=$ac_arg
 3203: else
 3204:   echo "$as_me: failed program was:" >&5
 3205: sed 's/^/| /' conftest.$ac_ext >&5
 3206: 
 3207: 
 3208: fi
 3209: 
 3210: rm -f core conftest.err conftest.$ac_objext
 3211:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3212: done
 3213: rm -f conftest.$ac_ext
 3214: CC=$ac_save_CC
 3215: 
 3216: fi
 3217: # AC_CACHE_VAL
 3218: case "x$ac_cv_prog_cc_c89" in
 3219:   x)
 3220:     { echo "$as_me:$LINENO: result: none needed" >&5
 3221: echo "${ECHO_T}none needed" >&6; } ;;
 3222:   xno)
 3223:     { echo "$as_me:$LINENO: result: unsupported" >&5
 3224: echo "${ECHO_T}unsupported" >&6; } ;;
 3225:   *)
 3226:     CC="$CC $ac_cv_prog_cc_c89"
 3227:     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 3228: echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 3229: esac
 3230: 
 3231: 
 3232: ac_ext=c
 3233: ac_cpp='$CPP $CPPFLAGS'
 3234: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3235: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3236: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3237: DEPDIR="${am__leading_dot}deps"
 3238: 
 3239: ac_config_commands="$ac_config_commands depfiles"
 3240: 
 3241: 
 3242: am_make=${MAKE-make}
 3243: cat > confinc << 'END'
 3244: am__doit:
 3245:     @echo done
 3246: .PHONY: am__doit
 3247: END
 3248: # If we don't find an include directive, just comment out the code.
 3249: { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 3250: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 3251: am__include="#"
 3252: am__quote=
 3253: _am_result=none
 3254: # First try GNU make style include.
 3255: echo "include confinc" > confmf
 3256: # We grep out `Entering directory' and `Leaving directory'
 3257: # messages which can occur if `w' ends up in MAKEFLAGS.
 3258: # In particular we don't look at `^make:' because GNU make might
 3259: # be invoked under some other name (usually "gmake"), in which
 3260: # case it prints its new name instead of `make'.
 3261: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 3262:    am__include=include
 3263:    am__quote=
 3264:    _am_result=GNU
 3265: fi
 3266: # Now try BSD make style include.
 3267: if test "$am__include" = "#"; then
 3268:    echo '.include "confinc"' > confmf
 3269:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 3270:       am__include=.include
 3271:       am__quote="\""
 3272:       _am_result=BSD
 3273:    fi
 3274: fi
 3275: 
 3276: 
 3277: { echo "$as_me:$LINENO: result: $_am_result" >&5
 3278: echo "${ECHO_T}$_am_result" >&6; }
 3279: rm -f confinc confmf
 3280: 
 3281: # Check whether --enable-dependency-tracking was given.
 3282: if test "${enable_dependency_tracking+set}" = set; then
 3283:   enableval=$enable_dependency_tracking;
 3284: fi
 3285: 
 3286: if test "x$enable_dependency_tracking" != xno; then
 3287:   am_depcomp="$ac_aux_dir/depcomp"
 3288:   AMDEPBACKSLASH='\'
 3289: fi
 3290:  if test "x$enable_dependency_tracking" != xno; then
 3291:   AMDEP_TRUE=
 3292:   AMDEP_FALSE='#'
 3293: else
 3294:   AMDEP_TRUE='#'
 3295:   AMDEP_FALSE=
 3296: fi
 3297: 
 3298: 
 3299: 
 3300: depcc="$CC"   am_compiler_list=
 3301: 
 3302: { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3303: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 3304: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 3305:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3306: else
 3307:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3308:   # We make a subdir and do the tests there.  Otherwise we can end up
 3309:   # making bogus files that we don't know about and never remove.  For
 3310:   # instance it was reported that on HP-UX the gcc test will end up
 3311:   # making a dummy file named `D' -- because `-MD' means `put the output
 3312:   # in D'.
 3313:   mkdir conftest.dir
 3314:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3315:   # using a relative directory.
 3316:   cp "$am_depcomp" conftest.dir
 3317:   cd conftest.dir
 3318:   # We will build objects and dependencies in a subdirectory because
 3319:   # it helps to detect inapplicable dependency modes.  For instance
 3320:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3321:   # side effect of compilation, but ICC will put the dependencies in
 3322:   # the current directory while Tru64 will put them in the object
 3323:   # directory.
 3324:   mkdir sub
 3325: 
 3326:   am_cv_CC_dependencies_compiler_type=none
 3327:   if test "$am_compiler_list" = ""; then
 3328:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3329:   fi
 3330:   for depmode in $am_compiler_list; do
 3331:     # Setup a source with many dependencies, because some compilers
 3332:     # like to wrap large dependency lists on column 80 (with \), and
 3333:     # we should not choose a depcomp mode which is confused by this.
 3334:     #
 3335:     # We need to recreate these files for each test, as the compiler may
 3336:     # overwrite some of them when testing with obscure command lines.
 3337:     # This happens at least with the AIX C compiler.
 3338:     : > sub/conftest.c
 3339:     for i in 1 2 3 4 5 6; do
 3340:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3341:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3342:       # Solaris 8's {/usr,}/bin/sh.
 3343:       touch sub/conftst$i.h
 3344:     done
 3345:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3346: 
 3347:     case $depmode in
 3348:     nosideeffect)
 3349:       # after this tag, mechanisms are not by side-effect, so they'll
 3350:       # only be used when explicitly requested
 3351:       if test "x$enable_dependency_tracking" = xyes; then
 3352:     continue
 3353:       else
 3354:     break
 3355:       fi
 3356:       ;;
 3357:     none) break ;;
 3358:     esac
 3359:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3360:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3361:     # handle `-M -o', and we need to detect this.
 3362:     if depmode=$depmode \
 3363:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3364:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3365:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3366:          >/dev/null 2>conftest.err &&
 3367:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3368:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3369:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3370:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3371:       # icc doesn't choke on unknown options, it will just issue warnings
 3372:       # or remarks (even with -Werror).  So we grep stderr for any message
 3373:       # that says an option was ignored or not supported.
 3374:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3375:       #   icc: Command line warning: ignoring option '-M'; no argument required
 3376:       # The diagnosis changed in icc 8.0:
 3377:       #   icc: Command line remark: option '-MP' not supported
 3378:       if (grep 'ignoring option' conftest.err ||
 3379:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3380:         am_cv_CC_dependencies_compiler_type=$depmode
 3381:         break
 3382:       fi
 3383:     fi
 3384:   done
 3385: 
 3386:   cd ..
 3387:   rm -rf conftest.dir
 3388: else
 3389:   am_cv_CC_dependencies_compiler_type=none
 3390: fi
 3391: 
 3392: fi
 3393: { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 3394: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 3395: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3396: 
 3397:  if
 3398:   test "x$enable_dependency_tracking" != xno \
 3399:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3400:   am__fastdepCC_TRUE=
 3401:   am__fastdepCC_FALSE='#'
 3402: else
 3403:   am__fastdepCC_TRUE='#'
 3404:   am__fastdepCC_FALSE=
 3405: fi
 3406: 
 3407: 
 3408: 
 3409: if test x"$CC" != x""; then
 3410:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 3411:             awk -F. '{ printf("%s", $1);}'`
 3412:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 3413:             awk -F. '{ printf("%s", $2);}'`
 3414:     if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 3415:         OPTIMISATION_C=-O3
 3416:     else
 3417:         if test $GCC_VERSION_MAJEURE -ge 5; then
 3418:             OPTIMISATION_C=-O3
 3419:         else
 3420:             OPTIMISATION_C=-O2
 3421:         fi
 3422:     fi
 3423: fi
 3424: 
 3425: if test "x$CC" != xcc; then
 3426:   { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 3427: echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 3428: else
 3429:   { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 3430: echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 3431: fi
 3432: set dummy $CC; ac_cc=`echo $2 |
 3433:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 3434: if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 3435:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3436: else
 3437:   cat >conftest.$ac_ext <<_ACEOF
 3438: /* confdefs.h.  */
 3439: _ACEOF
 3440: cat confdefs.h >>conftest.$ac_ext
 3441: cat >>conftest.$ac_ext <<_ACEOF
 3442: /* end confdefs.h.  */
 3443: 
 3444: int
 3445: main ()
 3446: {
 3447: 
 3448:   ;
 3449:   return 0;
 3450: }
 3451: _ACEOF
 3452: # Make sure it works both with $CC and with simple cc.
 3453: # We do the test twice because some compilers refuse to overwrite an
 3454: # existing .o file with -o, though they will create one.
 3455: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 3456: rm -f conftest2.*
 3457: if { (case "(($ac_try" in
 3458:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3459:   *) ac_try_echo=$ac_try;;
 3460: esac
 3461: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3462:   (eval "$ac_try") 2>&5
 3463:   ac_status=$?
 3464:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3465:   (exit $ac_status); } &&
 3466:    test -f conftest2.$ac_objext && { (case "(($ac_try" in
 3467:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3468:   *) ac_try_echo=$ac_try;;
 3469: esac
 3470: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3471:   (eval "$ac_try") 2>&5
 3472:   ac_status=$?
 3473:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3474:   (exit $ac_status); };
 3475: then
 3476:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 3477:   if test "x$CC" != xcc; then
 3478:     # Test first that cc exists at all.
 3479:     if { ac_try='cc -c conftest.$ac_ext >&5'
 3480:   { (case "(($ac_try" in
 3481:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3482:   *) ac_try_echo=$ac_try;;
 3483: esac
 3484: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3485:   (eval "$ac_try") 2>&5
 3486:   ac_status=$?
 3487:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3488:   (exit $ac_status); }; }; then
 3489:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 3490:       rm -f conftest2.*
 3491:       if { (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_try") 2>&5
 3497:   ac_status=$?
 3498:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3499:   (exit $ac_status); } &&
 3500:      test -f conftest2.$ac_objext && { (case "(($ac_try" in
 3501:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3502:   *) ac_try_echo=$ac_try;;
 3503: esac
 3504: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3505:   (eval "$ac_try") 2>&5
 3506:   ac_status=$?
 3507:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3508:   (exit $ac_status); };
 3509:       then
 3510:     # cc works too.
 3511:     :
 3512:       else
 3513:     # cc exists but doesn't like -o.
 3514:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 3515:       fi
 3516:     fi
 3517:   fi
 3518: else
 3519:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 3520: fi
 3521: rm -f core conftest*
 3522: 
 3523: fi
 3524: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 3525:   { echo "$as_me:$LINENO: result: yes" >&5
 3526: echo "${ECHO_T}yes" >&6; }
 3527: else
 3528:   { echo "$as_me:$LINENO: result: no" >&5
 3529: echo "${ECHO_T}no" >&6; }
 3530: 
 3531: cat >>confdefs.h <<\_ACEOF
 3532: #define NO_MINUS_C_MINUS_O 1
 3533: _ACEOF
 3534: 
 3535: fi
 3536: 
 3537: # FIXME: we rely on the cache variable name because
 3538: # there is no other way.
 3539: set dummy $CC
 3540: ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 3541: if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 3542:    # Losing compiler, so override with the script.
 3543:    # FIXME: It is wrong to rewrite CC.
 3544:    # But if we don't then we get into trouble of one sort or another.
 3545:    # A longer-term fix would be to have automake use am__CC in this case,
 3546:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 3547:    CC="$am_aux_dir/compile $CC"
 3548: fi
 3549: 
 3550: 
 3551: 
 3552: if test "$GCC" != yes; then
 3553:     { { echo "$as_me:$LINENO: error: Cannot find gcc! You have to install it." >&5
 3554: echo "$as_me: error: Cannot find gcc! You have to install it." >&2;}
 3555:    { (exit 1); exit 1; }; }
 3556: fi
 3557: 
 3558: ac_ext=cpp
 3559: ac_cpp='$CXXCPP $CPPFLAGS'
 3560: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3561: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3562: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 3563: if test -z "$CXX"; then
 3564:   if test -n "$CCC"; then
 3565:     CXX=$CCC
 3566:   else
 3567:     if test -n "$ac_tool_prefix"; then
 3568:   for ac_prog in g++-4.4 g++
 3569:   do
 3570:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3571: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3572: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3573: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3574: if test "${ac_cv_prog_CXX+set}" = set; then
 3575:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3576: else
 3577:   if test -n "$CXX"; then
 3578:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 3579: else
 3580: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3581: for as_dir in $PATH
 3582: do
 3583:   IFS=$as_save_IFS
 3584:   test -z "$as_dir" && as_dir=.
 3585:   for ac_exec_ext in '' $ac_executable_extensions; do
 3586:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3587:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 3588:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3589:     break 2
 3590:   fi
 3591: done
 3592: done
 3593: IFS=$as_save_IFS
 3594: 
 3595: fi
 3596: fi
 3597: CXX=$ac_cv_prog_CXX
 3598: if test -n "$CXX"; then
 3599:   { echo "$as_me:$LINENO: result: $CXX" >&5
 3600: echo "${ECHO_T}$CXX" >&6; }
 3601: else
 3602:   { echo "$as_me:$LINENO: result: no" >&5
 3603: echo "${ECHO_T}no" >&6; }
 3604: fi
 3605: 
 3606: 
 3607:     test -n "$CXX" && break
 3608:   done
 3609: fi
 3610: if test -z "$CXX"; then
 3611:   ac_ct_CXX=$CXX
 3612:   for ac_prog in g++-4.4 g++
 3613: do
 3614:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3615: set dummy $ac_prog; ac_word=$2
 3616: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3617: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3618: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 3619:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3620: else
 3621:   if test -n "$ac_ct_CXX"; then
 3622:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 3623: else
 3624: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3625: for as_dir in $PATH
 3626: do
 3627:   IFS=$as_save_IFS
 3628:   test -z "$as_dir" && as_dir=.
 3629:   for ac_exec_ext in '' $ac_executable_extensions; do
 3630:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3631:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 3632:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3633:     break 2
 3634:   fi
 3635: done
 3636: done
 3637: IFS=$as_save_IFS
 3638: 
 3639: fi
 3640: fi
 3641: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 3642: if test -n "$ac_ct_CXX"; then
 3643:   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 3644: echo "${ECHO_T}$ac_ct_CXX" >&6; }
 3645: else
 3646:   { echo "$as_me:$LINENO: result: no" >&5
 3647: echo "${ECHO_T}no" >&6; }
 3648: fi
 3649: 
 3650: 
 3651:   test -n "$ac_ct_CXX" && break
 3652: done
 3653: 
 3654:   if test "x$ac_ct_CXX" = x; then
 3655:     CXX="g++"
 3656:   else
 3657:     case $cross_compiling:$ac_tool_warned in
 3658: yes:)
 3659: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 3660: whose name does not start with the host triplet.  If you think this
 3661: configuration is useful to you, please write to autoconf@gnu.org." >&5
 3662: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 3663: whose name does not start with the host triplet.  If you think this
 3664: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 3665: ac_tool_warned=yes ;;
 3666: esac
 3667:     CXX=$ac_ct_CXX
 3668:   fi
 3669: fi
 3670: 
 3671:   fi
 3672: fi
 3673: # Provide some information about the compiler.
 3674: echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 3675: ac_compiler=`set X $ac_compile; echo $2`
 3676: { (ac_try="$ac_compiler --version >&5"
 3677: case "(($ac_try" in
 3678:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3679:   *) ac_try_echo=$ac_try;;
 3680: esac
 3681: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3682:   (eval "$ac_compiler --version >&5") 2>&5
 3683:   ac_status=$?
 3684:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3685:   (exit $ac_status); }
 3686: { (ac_try="$ac_compiler -v >&5"
 3687: case "(($ac_try" in
 3688:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3689:   *) ac_try_echo=$ac_try;;
 3690: esac
 3691: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3692:   (eval "$ac_compiler -v >&5") 2>&5
 3693:   ac_status=$?
 3694:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3695:   (exit $ac_status); }
 3696: { (ac_try="$ac_compiler -V >&5"
 3697: case "(($ac_try" in
 3698:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3699:   *) ac_try_echo=$ac_try;;
 3700: esac
 3701: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3702:   (eval "$ac_compiler -V >&5") 2>&5
 3703:   ac_status=$?
 3704:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3705:   (exit $ac_status); }
 3706: 
 3707: { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 3708: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 3709: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 3710:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3711: else
 3712:   cat >conftest.$ac_ext <<_ACEOF
 3713: /* confdefs.h.  */
 3714: _ACEOF
 3715: cat confdefs.h >>conftest.$ac_ext
 3716: cat >>conftest.$ac_ext <<_ACEOF
 3717: /* end confdefs.h.  */
 3718: 
 3719: int
 3720: main ()
 3721: {
 3722: #ifndef __GNUC__
 3723:        choke me
 3724: #endif
 3725: 
 3726:   ;
 3727:   return 0;
 3728: }
 3729: _ACEOF
 3730: rm -f conftest.$ac_objext
 3731: if { (ac_try="$ac_compile"
 3732: case "(($ac_try" in
 3733:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3734:   *) ac_try_echo=$ac_try;;
 3735: esac
 3736: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3737:   (eval "$ac_compile") 2>conftest.er1
 3738:   ac_status=$?
 3739:   grep -v '^ *+' conftest.er1 >conftest.err
 3740:   rm -f conftest.er1
 3741:   cat conftest.err >&5
 3742:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3743:   (exit $ac_status); } && {
 3744:      test -z "$ac_cxx_werror_flag" ||
 3745:      test ! -s conftest.err
 3746:        } && test -s conftest.$ac_objext; then
 3747:   ac_compiler_gnu=yes
 3748: else
 3749:   echo "$as_me: failed program was:" >&5
 3750: sed 's/^/| /' conftest.$ac_ext >&5
 3751: 
 3752:     ac_compiler_gnu=no
 3753: fi
 3754: 
 3755: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3756: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 3757: 
 3758: fi
 3759: { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 3760: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
 3761: GXX=`test $ac_compiler_gnu = yes && echo yes`
 3762: ac_test_CXXFLAGS=${CXXFLAGS+set}
 3763: ac_save_CXXFLAGS=$CXXFLAGS
 3764: { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 3765: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 3766: if test "${ac_cv_prog_cxx_g+set}" = set; then
 3767:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3768: else
 3769:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 3770:    ac_cxx_werror_flag=yes
 3771:    ac_cv_prog_cxx_g=no
 3772:    CXXFLAGS="-g"
 3773:    cat >conftest.$ac_ext <<_ACEOF
 3774: /* confdefs.h.  */
 3775: _ACEOF
 3776: cat confdefs.h >>conftest.$ac_ext
 3777: cat >>conftest.$ac_ext <<_ACEOF
 3778: /* end confdefs.h.  */
 3779: 
 3780: int
 3781: main ()
 3782: {
 3783: 
 3784:   ;
 3785:   return 0;
 3786: }
 3787: _ACEOF
 3788: rm -f conftest.$ac_objext
 3789: if { (ac_try="$ac_compile"
 3790: case "(($ac_try" in
 3791:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3792:   *) ac_try_echo=$ac_try;;
 3793: esac
 3794: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3795:   (eval "$ac_compile") 2>conftest.er1
 3796:   ac_status=$?
 3797:   grep -v '^ *+' conftest.er1 >conftest.err
 3798:   rm -f conftest.er1
 3799:   cat conftest.err >&5
 3800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3801:   (exit $ac_status); } && {
 3802:      test -z "$ac_cxx_werror_flag" ||
 3803:      test ! -s conftest.err
 3804:        } && test -s conftest.$ac_objext; then
 3805:   ac_cv_prog_cxx_g=yes
 3806: else
 3807:   echo "$as_me: failed program was:" >&5
 3808: sed 's/^/| /' conftest.$ac_ext >&5
 3809: 
 3810:     CXXFLAGS=""
 3811:       cat >conftest.$ac_ext <<_ACEOF
 3812: /* confdefs.h.  */
 3813: _ACEOF
 3814: cat confdefs.h >>conftest.$ac_ext
 3815: cat >>conftest.$ac_ext <<_ACEOF
 3816: /* end confdefs.h.  */
 3817: 
 3818: int
 3819: main ()
 3820: {
 3821: 
 3822:   ;
 3823:   return 0;
 3824: }
 3825: _ACEOF
 3826: rm -f conftest.$ac_objext
 3827: if { (ac_try="$ac_compile"
 3828: case "(($ac_try" in
 3829:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3830:   *) ac_try_echo=$ac_try;;
 3831: esac
 3832: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3833:   (eval "$ac_compile") 2>conftest.er1
 3834:   ac_status=$?
 3835:   grep -v '^ *+' conftest.er1 >conftest.err
 3836:   rm -f conftest.er1
 3837:   cat conftest.err >&5
 3838:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3839:   (exit $ac_status); } && {
 3840:      test -z "$ac_cxx_werror_flag" ||
 3841:      test ! -s conftest.err
 3842:        } && test -s conftest.$ac_objext; then
 3843:   :
 3844: else
 3845:   echo "$as_me: failed program was:" >&5
 3846: sed 's/^/| /' conftest.$ac_ext >&5
 3847: 
 3848:     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 3849:      CXXFLAGS="-g"
 3850:      cat >conftest.$ac_ext <<_ACEOF
 3851: /* confdefs.h.  */
 3852: _ACEOF
 3853: cat confdefs.h >>conftest.$ac_ext
 3854: cat >>conftest.$ac_ext <<_ACEOF
 3855: /* end confdefs.h.  */
 3856: 
 3857: int
 3858: main ()
 3859: {
 3860: 
 3861:   ;
 3862:   return 0;
 3863: }
 3864: _ACEOF
 3865: rm -f conftest.$ac_objext
 3866: if { (ac_try="$ac_compile"
 3867: case "(($ac_try" in
 3868:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3869:   *) ac_try_echo=$ac_try;;
 3870: esac
 3871: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3872:   (eval "$ac_compile") 2>conftest.er1
 3873:   ac_status=$?
 3874:   grep -v '^ *+' conftest.er1 >conftest.err
 3875:   rm -f conftest.er1
 3876:   cat conftest.err >&5
 3877:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3878:   (exit $ac_status); } && {
 3879:      test -z "$ac_cxx_werror_flag" ||
 3880:      test ! -s conftest.err
 3881:        } && test -s conftest.$ac_objext; then
 3882:   ac_cv_prog_cxx_g=yes
 3883: else
 3884:   echo "$as_me: failed program was:" >&5
 3885: sed 's/^/| /' conftest.$ac_ext >&5
 3886: 
 3887: 
 3888: fi
 3889: 
 3890: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3891: fi
 3892: 
 3893: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3894: fi
 3895: 
 3896: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3897:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 3898: fi
 3899: { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 3900: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 3901: if test "$ac_test_CXXFLAGS" = set; then
 3902:   CXXFLAGS=$ac_save_CXXFLAGS
 3903: elif test $ac_cv_prog_cxx_g = yes; then
 3904:   if test "$GXX" = yes; then
 3905:     CXXFLAGS="-g -O2"
 3906:   else
 3907:     CXXFLAGS="-g"
 3908:   fi
 3909: else
 3910:   if test "$GXX" = yes; then
 3911:     CXXFLAGS="-O2"
 3912:   else
 3913:     CXXFLAGS=
 3914:   fi
 3915: fi
 3916: ac_ext=c
 3917: ac_cpp='$CPP $CPPFLAGS'
 3918: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3919: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3920: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3921: 
 3922: depcc="$CXX"  am_compiler_list=
 3923: 
 3924: { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3925: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 3926: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 3927:   echo $ECHO_N "(cached) $ECHO_C" >&6
 3928: else
 3929:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3930:   # We make a subdir and do the tests there.  Otherwise we can end up
 3931:   # making bogus files that we don't know about and never remove.  For
 3932:   # instance it was reported that on HP-UX the gcc test will end up
 3933:   # making a dummy file named `D' -- because `-MD' means `put the output
 3934:   # in D'.
 3935:   mkdir conftest.dir
 3936:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3937:   # using a relative directory.
 3938:   cp "$am_depcomp" conftest.dir
 3939:   cd conftest.dir
 3940:   # We will build objects and dependencies in a subdirectory because
 3941:   # it helps to detect inapplicable dependency modes.  For instance
 3942:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3943:   # side effect of compilation, but ICC will put the dependencies in
 3944:   # the current directory while Tru64 will put them in the object
 3945:   # directory.
 3946:   mkdir sub
 3947: 
 3948:   am_cv_CXX_dependencies_compiler_type=none
 3949:   if test "$am_compiler_list" = ""; then
 3950:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3951:   fi
 3952:   for depmode in $am_compiler_list; do
 3953:     # Setup a source with many dependencies, because some compilers
 3954:     # like to wrap large dependency lists on column 80 (with \), and
 3955:     # we should not choose a depcomp mode which is confused by this.
 3956:     #
 3957:     # We need to recreate these files for each test, as the compiler may
 3958:     # overwrite some of them when testing with obscure command lines.
 3959:     # This happens at least with the AIX C compiler.
 3960:     : > sub/conftest.c
 3961:     for i in 1 2 3 4 5 6; do
 3962:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3963:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3964:       # Solaris 8's {/usr,}/bin/sh.
 3965:       touch sub/conftst$i.h
 3966:     done
 3967:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3968: 
 3969:     case $depmode in
 3970:     nosideeffect)
 3971:       # after this tag, mechanisms are not by side-effect, so they'll
 3972:       # only be used when explicitly requested
 3973:       if test "x$enable_dependency_tracking" = xyes; then
 3974:     continue
 3975:       else
 3976:     break
 3977:       fi
 3978:       ;;
 3979:     none) break ;;
 3980:     esac
 3981:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3982:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3983:     # handle `-M -o', and we need to detect this.
 3984:     if depmode=$depmode \
 3985:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3986:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3987:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3988:          >/dev/null 2>conftest.err &&
 3989:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3990:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3991:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3992:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3993:       # icc doesn't choke on unknown options, it will just issue warnings
 3994:       # or remarks (even with -Werror).  So we grep stderr for any message
 3995:       # that says an option was ignored or not supported.
 3996:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3997:       #   icc: Command line warning: ignoring option '-M'; no argument required
 3998:       # The diagnosis changed in icc 8.0:
 3999:       #   icc: Command line remark: option '-MP' not supported
 4000:       if (grep 'ignoring option' conftest.err ||
 4001:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4002:         am_cv_CXX_dependencies_compiler_type=$depmode
 4003:         break
 4004:       fi
 4005:     fi
 4006:   done
 4007: 
 4008:   cd ..
 4009:   rm -rf conftest.dir
 4010: else
 4011:   am_cv_CXX_dependencies_compiler_type=none
 4012: fi
 4013: 
 4014: fi
 4015: { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4016: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 4017: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4018: 
 4019:  if
 4020:   test "x$enable_dependency_tracking" != xno \
 4021:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4022:   am__fastdepCXX_TRUE=
 4023:   am__fastdepCXX_FALSE='#'
 4024: else
 4025:   am__fastdepCXX_TRUE='#'
 4026:   am__fastdepCXX_FALSE=
 4027: fi
 4028: 
 4029: 
 4030: 
 4031: if test "$GXX" != yes; then
 4032:     { { echo "$as_me:$LINENO: error: Cannot find g++! You have to install it." >&5
 4033: echo "$as_me: error: Cannot find g++! You have to install it." >&2;}
 4034:    { (exit 1); exit 1; }; }
 4035: fi
 4036: 
 4037: ac_ext=f
 4038: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4039: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4040: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4041: if test -n "$ac_tool_prefix"; then
 4042:   for ac_prog in gfortran-4.4 gfortran
 4043:   do
 4044:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4045: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4046: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 4047: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 4048: if test "${ac_cv_prog_F77+set}" = set; then
 4049:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4050: else
 4051:   if test -n "$F77"; then
 4052:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4053: else
 4054: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4055: for as_dir in $PATH
 4056: do
 4057:   IFS=$as_save_IFS
 4058:   test -z "$as_dir" && as_dir=.
 4059:   for ac_exec_ext in '' $ac_executable_extensions; do
 4060:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4061:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4062:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4063:     break 2
 4064:   fi
 4065: done
 4066: done
 4067: IFS=$as_save_IFS
 4068: 
 4069: fi
 4070: fi
 4071: F77=$ac_cv_prog_F77
 4072: if test -n "$F77"; then
 4073:   { echo "$as_me:$LINENO: result: $F77" >&5
 4074: echo "${ECHO_T}$F77" >&6; }
 4075: else
 4076:   { echo "$as_me:$LINENO: result: no" >&5
 4077: echo "${ECHO_T}no" >&6; }
 4078: fi
 4079: 
 4080: 
 4081:     test -n "$F77" && break
 4082:   done
 4083: fi
 4084: if test -z "$F77"; then
 4085:   ac_ct_F77=$F77
 4086:   for ac_prog in gfortran-4.4 gfortran
 4087: do
 4088:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4089: set dummy $ac_prog; ac_word=$2
 4090: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 4091: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 4092: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
 4093:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4094: else
 4095:   if test -n "$ac_ct_F77"; then
 4096:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4097: else
 4098: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4099: for as_dir in $PATH
 4100: do
 4101:   IFS=$as_save_IFS
 4102:   test -z "$as_dir" && as_dir=.
 4103:   for ac_exec_ext in '' $ac_executable_extensions; do
 4104:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4105:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4106:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4107:     break 2
 4108:   fi
 4109: done
 4110: done
 4111: IFS=$as_save_IFS
 4112: 
 4113: fi
 4114: fi
 4115: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4116: if test -n "$ac_ct_F77"; then
 4117:   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 4118: echo "${ECHO_T}$ac_ct_F77" >&6; }
 4119: else
 4120:   { echo "$as_me:$LINENO: result: no" >&5
 4121: echo "${ECHO_T}no" >&6; }
 4122: fi
 4123: 
 4124: 
 4125:   test -n "$ac_ct_F77" && break
 4126: done
 4127: 
 4128:   if test "x$ac_ct_F77" = x; then
 4129:     F77=""
 4130:   else
 4131:     case $cross_compiling:$ac_tool_warned in
 4132: yes:)
 4133: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 4134: whose name does not start with the host triplet.  If you think this
 4135: configuration is useful to you, please write to autoconf@gnu.org." >&5
 4136: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 4137: whose name does not start with the host triplet.  If you think this
 4138: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 4139: ac_tool_warned=yes ;;
 4140: esac
 4141:     F77=$ac_ct_F77
 4142:   fi
 4143: fi
 4144: 
 4145: 
 4146: # Provide some information about the compiler.
 4147: echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 4148: ac_compiler=`set X $ac_compile; echo $2`
 4149: { (ac_try="$ac_compiler --version >&5"
 4150: case "(($ac_try" in
 4151:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4152:   *) ac_try_echo=$ac_try;;
 4153: esac
 4154: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4155:   (eval "$ac_compiler --version >&5") 2>&5
 4156:   ac_status=$?
 4157:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4158:   (exit $ac_status); }
 4159: { (ac_try="$ac_compiler -v >&5"
 4160: case "(($ac_try" in
 4161:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4162:   *) ac_try_echo=$ac_try;;
 4163: esac
 4164: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4165:   (eval "$ac_compiler -v >&5") 2>&5
 4166:   ac_status=$?
 4167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4168:   (exit $ac_status); }
 4169: { (ac_try="$ac_compiler -V >&5"
 4170: case "(($ac_try" in
 4171:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4172:   *) ac_try_echo=$ac_try;;
 4173: esac
 4174: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4175:   (eval "$ac_compiler -V >&5") 2>&5
 4176:   ac_status=$?
 4177:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4178:   (exit $ac_status); }
 4179: rm -f a.out
 4180: 
 4181: # If we don't use `.F' as extension, the preprocessor is not run on the
 4182: # input file.  (Note that this only needs to work for GNU compilers.)
 4183: ac_save_ext=$ac_ext
 4184: ac_ext=F
 4185: { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 4186: echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
 4187: if test "${ac_cv_f77_compiler_gnu+set}" = set; then
 4188:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4189: else
 4190:   cat >conftest.$ac_ext <<_ACEOF
 4191:       program main
 4192: #ifndef __GNUC__
 4193:        choke me
 4194: #endif
 4195: 
 4196:       end
 4197: _ACEOF
 4198: rm -f conftest.$ac_objext
 4199: if { (ac_try="$ac_compile"
 4200: case "(($ac_try" in
 4201:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4202:   *) ac_try_echo=$ac_try;;
 4203: esac
 4204: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4205:   (eval "$ac_compile") 2>conftest.er1
 4206:   ac_status=$?
 4207:   grep -v '^ *+' conftest.er1 >conftest.err
 4208:   rm -f conftest.er1
 4209:   cat conftest.err >&5
 4210:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4211:   (exit $ac_status); } && {
 4212:      test -z "$ac_f77_werror_flag" ||
 4213:      test ! -s conftest.err
 4214:        } && test -s conftest.$ac_objext; then
 4215:   ac_compiler_gnu=yes
 4216: else
 4217:   echo "$as_me: failed program was:" >&5
 4218: sed 's/^/| /' conftest.$ac_ext >&5
 4219: 
 4220:     ac_compiler_gnu=no
 4221: fi
 4222: 
 4223: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4224: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4225: 
 4226: fi
 4227: { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 4228: echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
 4229: ac_ext=$ac_save_ext
 4230: ac_test_FFLAGS=${FFLAGS+set}
 4231: ac_save_FFLAGS=$FFLAGS
 4232: FFLAGS=
 4233: { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 4234: echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
 4235: if test "${ac_cv_prog_f77_g+set}" = set; then
 4236:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4237: else
 4238:   FFLAGS=-g
 4239: cat >conftest.$ac_ext <<_ACEOF
 4240:       program main
 4241: 
 4242:       end
 4243: _ACEOF
 4244: rm -f conftest.$ac_objext
 4245: if { (ac_try="$ac_compile"
 4246: case "(($ac_try" in
 4247:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4248:   *) ac_try_echo=$ac_try;;
 4249: esac
 4250: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4251:   (eval "$ac_compile") 2>conftest.er1
 4252:   ac_status=$?
 4253:   grep -v '^ *+' conftest.er1 >conftest.err
 4254:   rm -f conftest.er1
 4255:   cat conftest.err >&5
 4256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4257:   (exit $ac_status); } && {
 4258:      test -z "$ac_f77_werror_flag" ||
 4259:      test ! -s conftest.err
 4260:        } && test -s conftest.$ac_objext; then
 4261:   ac_cv_prog_f77_g=yes
 4262: else
 4263:   echo "$as_me: failed program was:" >&5
 4264: sed 's/^/| /' conftest.$ac_ext >&5
 4265: 
 4266:     ac_cv_prog_f77_g=no
 4267: fi
 4268: 
 4269: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4270: 
 4271: fi
 4272: { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 4273: echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
 4274: if test "$ac_test_FFLAGS" = set; then
 4275:   FFLAGS=$ac_save_FFLAGS
 4276: elif test $ac_cv_prog_f77_g = yes; then
 4277:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4278:     FFLAGS="-g -O2"
 4279:   else
 4280:     FFLAGS="-g"
 4281:   fi
 4282: else
 4283:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4284:     FFLAGS="-O2"
 4285:   else
 4286:     FFLAGS=
 4287:   fi
 4288: fi
 4289: 
 4290: G77=`test $ac_compiler_gnu = yes && echo yes`
 4291: ac_ext=c
 4292: ac_cpp='$CPP $CPPFLAGS'
 4293: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4294: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4295: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4296: 
 4297: 
 4298: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
 4299:     { { echo "$as_me:$LINENO: error: Cannot find gfortran! You have to install it." >&5
 4300: echo "$as_me: error: Cannot find gfortran! You have to install it." >&2;}
 4301:    { (exit 1); exit 1; }; }
 4302: fi
 4303: 
 4304: ac_ext=${ac_fc_srcext-f}
 4305: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4306: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4307: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4308: if test -n "$ac_tool_prefix"; then
 4309:   for ac_prog in gfortran-4.4 gfortran
 4310:   do
 4311:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4312: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4313: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 4314: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 4315: if test "${ac_cv_prog_FC+set}" = set; then
 4316:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4317: else
 4318:   if test -n "$FC"; then
 4319:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4320: else
 4321: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4322: for as_dir in $PATH
 4323: do
 4324:   IFS=$as_save_IFS
 4325:   test -z "$as_dir" && as_dir=.
 4326:   for ac_exec_ext in '' $ac_executable_extensions; do
 4327:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4328:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4329:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4330:     break 2
 4331:   fi
 4332: done
 4333: done
 4334: IFS=$as_save_IFS
 4335: 
 4336: fi
 4337: fi
 4338: FC=$ac_cv_prog_FC
 4339: if test -n "$FC"; then
 4340:   { echo "$as_me:$LINENO: result: $FC" >&5
 4341: echo "${ECHO_T}$FC" >&6; }
 4342: else
 4343:   { echo "$as_me:$LINENO: result: no" >&5
 4344: echo "${ECHO_T}no" >&6; }
 4345: fi
 4346: 
 4347: 
 4348:     test -n "$FC" && break
 4349:   done
 4350: fi
 4351: if test -z "$FC"; then
 4352:   ac_ct_FC=$FC
 4353:   for ac_prog in gfortran-4.4 gfortran
 4354: do
 4355:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4356: set dummy $ac_prog; ac_word=$2
 4357: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 4358: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 4359: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
 4360:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4361: else
 4362:   if test -n "$ac_ct_FC"; then
 4363:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4364: else
 4365: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4366: for as_dir in $PATH
 4367: do
 4368:   IFS=$as_save_IFS
 4369:   test -z "$as_dir" && as_dir=.
 4370:   for ac_exec_ext in '' $ac_executable_extensions; do
 4371:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4372:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4373:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 4374:     break 2
 4375:   fi
 4376: done
 4377: done
 4378: IFS=$as_save_IFS
 4379: 
 4380: fi
 4381: fi
 4382: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4383: if test -n "$ac_ct_FC"; then
 4384:   { echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
 4385: echo "${ECHO_T}$ac_ct_FC" >&6; }
 4386: else
 4387:   { echo "$as_me:$LINENO: result: no" >&5
 4388: echo "${ECHO_T}no" >&6; }
 4389: fi
 4390: 
 4391: 
 4392:   test -n "$ac_ct_FC" && break
 4393: done
 4394: 
 4395:   if test "x$ac_ct_FC" = x; then
 4396:     FC=""
 4397:   else
 4398:     case $cross_compiling:$ac_tool_warned in
 4399: yes:)
 4400: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 4401: whose name does not start with the host triplet.  If you think this
 4402: configuration is useful to you, please write to autoconf@gnu.org." >&5
 4403: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 4404: whose name does not start with the host triplet.  If you think this
 4405: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 4406: ac_tool_warned=yes ;;
 4407: esac
 4408:     FC=$ac_ct_FC
 4409:   fi
 4410: fi
 4411: 
 4412: 
 4413: # Provide some information about the compiler.
 4414: echo "$as_me:$LINENO: checking for Fortran compiler version" >&5
 4415: ac_compiler=`set X $ac_compile; echo $2`
 4416: { (ac_try="$ac_compiler --version >&5"
 4417: case "(($ac_try" in
 4418:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4419:   *) ac_try_echo=$ac_try;;
 4420: esac
 4421: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4422:   (eval "$ac_compiler --version >&5") 2>&5
 4423:   ac_status=$?
 4424:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4425:   (exit $ac_status); }
 4426: { (ac_try="$ac_compiler -v >&5"
 4427: case "(($ac_try" in
 4428:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4429:   *) ac_try_echo=$ac_try;;
 4430: esac
 4431: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4432:   (eval "$ac_compiler -v >&5") 2>&5
 4433:   ac_status=$?
 4434:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4435:   (exit $ac_status); }
 4436: { (ac_try="$ac_compiler -V >&5"
 4437: case "(($ac_try" in
 4438:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4439:   *) ac_try_echo=$ac_try;;
 4440: esac
 4441: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4442:   (eval "$ac_compiler -V >&5") 2>&5
 4443:   ac_status=$?
 4444:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4445:   (exit $ac_status); }
 4446: rm -f a.out
 4447: 
 4448: # If we don't use `.F' as extension, the preprocessor is not run on the
 4449: # input file.  (Note that this only needs to work for GNU compilers.)
 4450: ac_save_ext=$ac_ext
 4451: ac_ext=F
 4452: { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
 4453: echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; }
 4454: if test "${ac_cv_fc_compiler_gnu+set}" = set; then
 4455:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4456: else
 4457:   cat >conftest.$ac_ext <<_ACEOF
 4458:       program main
 4459: #ifndef __GNUC__
 4460:        choke me
 4461: #endif
 4462: 
 4463:       end
 4464: _ACEOF
 4465: rm -f conftest.$ac_objext
 4466: if { (ac_try="$ac_compile"
 4467: case "(($ac_try" in
 4468:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4469:   *) ac_try_echo=$ac_try;;
 4470: esac
 4471: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4472:   (eval "$ac_compile") 2>conftest.er1
 4473:   ac_status=$?
 4474:   grep -v '^ *+' conftest.er1 >conftest.err
 4475:   rm -f conftest.er1
 4476:   cat conftest.err >&5
 4477:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4478:   (exit $ac_status); } && {
 4479:      test -z "$ac_fc_werror_flag" ||
 4480:      test ! -s conftest.err
 4481:        } && test -s conftest.$ac_objext; then
 4482:   ac_compiler_gnu=yes
 4483: else
 4484:   echo "$as_me: failed program was:" >&5
 4485: sed 's/^/| /' conftest.$ac_ext >&5
 4486: 
 4487:     ac_compiler_gnu=no
 4488: fi
 4489: 
 4490: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4491: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 4492: 
 4493: fi
 4494: { echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
 4495: echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; }
 4496: ac_ext=$ac_save_ext
 4497: ac_test_FFLAGS=${FCFLAGS+set}
 4498: ac_save_FFLAGS=$FCFLAGS
 4499: FCFLAGS=
 4500: { echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
 4501: echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; }
 4502: if test "${ac_cv_prog_fc_g+set}" = set; then
 4503:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4504: else
 4505:   FCFLAGS=-g
 4506: cat >conftest.$ac_ext <<_ACEOF
 4507:       program main
 4508: 
 4509:       end
 4510: _ACEOF
 4511: rm -f conftest.$ac_objext
 4512: if { (ac_try="$ac_compile"
 4513: case "(($ac_try" in
 4514:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4515:   *) ac_try_echo=$ac_try;;
 4516: esac
 4517: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4518:   (eval "$ac_compile") 2>conftest.er1
 4519:   ac_status=$?
 4520:   grep -v '^ *+' conftest.er1 >conftest.err
 4521:   rm -f conftest.er1
 4522:   cat conftest.err >&5
 4523:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4524:   (exit $ac_status); } && {
 4525:      test -z "$ac_fc_werror_flag" ||
 4526:      test ! -s conftest.err
 4527:        } && test -s conftest.$ac_objext; then
 4528:   ac_cv_prog_fc_g=yes
 4529: else
 4530:   echo "$as_me: failed program was:" >&5
 4531: sed 's/^/| /' conftest.$ac_ext >&5
 4532: 
 4533:     ac_cv_prog_fc_g=no
 4534: fi
 4535: 
 4536: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4537: 
 4538: fi
 4539: { echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
 4540: echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; }
 4541: if test "$ac_test_FFLAGS" = set; then
 4542:   FCFLAGS=$ac_save_FFLAGS
 4543: elif test $ac_cv_prog_fc_g = yes; then
 4544:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4545:     FCFLAGS="-g -O2"
 4546:   else
 4547:     FCFLAGS="-g"
 4548:   fi
 4549: else
 4550:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4551:     FCFLAGS="-O2"
 4552:   else
 4553:     FCFLAGS=
 4554:   fi
 4555: fi
 4556: 
 4557: ac_ext=c
 4558: ac_cpp='$CPP $CPPFLAGS'
 4559: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4560: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4561: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4562: 
 4563: 
 4564: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
 4565:     { { echo "$as_me:$LINENO: error: Cannot find gfortran! You have to install it." >&5
 4566: echo "$as_me: error: Cannot find gfortran! You have to install it." >&2;}
 4567:    { (exit 1); exit 1; }; }
 4568: fi
 4569: 
 4570: if test x"$FC" != x""; then
 4571:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4572:             awk -F. '{ printf("%s", $1);}'`
 4573:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4574:             awk -F. '{ printf("%s", $2);}'`
 4575:     if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 4576:         OPTIMISATION_F=-O3
 4577:     else
 4578:         if test $GCC_VERSION_MAJEURE -ge 5; then
 4579:             OPTIMISATION_F=-O3
 4580:         else
 4581:             OPTIMISATION_F=-O2
 4582:         fi
 4583:     fi
 4584: fi
 4585: 
 4586: 
 4587: ac_ext=c
 4588: ac_cpp='$CPP $CPPFLAGS'
 4589: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4590: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4591: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4592: { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 4593: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 4594: # On Suns, sometimes $CPP names a directory.
 4595: if test -n "$CPP" && test -d "$CPP"; then
 4596:   CPP=
 4597: fi
 4598: if test -z "$CPP"; then
 4599:   if test "${ac_cv_prog_CPP+set}" = set; then
 4600:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4601: else
 4602:       # Double quotes because CPP needs to be expanded
 4603:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4604:     do
 4605:       ac_preproc_ok=false
 4606: for ac_c_preproc_warn_flag in '' yes
 4607: do
 4608:   # Use a header file that comes with gcc, so configuring glibc
 4609:   # with a fresh cross-compiler works.
 4610:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4611:   # <limits.h> exists even on freestanding compilers.
 4612:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4613:   # not just through cpp. "Syntax error" is here to catch this case.
 4614:   cat >conftest.$ac_ext <<_ACEOF
 4615: /* confdefs.h.  */
 4616: _ACEOF
 4617: cat confdefs.h >>conftest.$ac_ext
 4618: cat >>conftest.$ac_ext <<_ACEOF
 4619: /* end confdefs.h.  */
 4620: #ifdef __STDC__
 4621: # include <limits.h>
 4622: #else
 4623: # include <assert.h>
 4624: #endif
 4625:              Syntax error
 4626: _ACEOF
 4627: if { (ac_try="$ac_cpp conftest.$ac_ext"
 4628: case "(($ac_try" in
 4629:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4630:   *) ac_try_echo=$ac_try;;
 4631: esac
 4632: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4633:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 4634:   ac_status=$?
 4635:   grep -v '^ *+' conftest.er1 >conftest.err
 4636:   rm -f conftest.er1
 4637:   cat conftest.err >&5
 4638:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4639:   (exit $ac_status); } >/dev/null && {
 4640:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 4641:      test ! -s conftest.err
 4642:        }; then
 4643:   :
 4644: else
 4645:   echo "$as_me: failed program was:" >&5
 4646: sed 's/^/| /' conftest.$ac_ext >&5
 4647: 
 4648:   # Broken: fails on valid input.
 4649: continue
 4650: fi
 4651: 
 4652: rm -f conftest.err conftest.$ac_ext
 4653: 
 4654:   # OK, works on sane cases.  Now check whether nonexistent headers
 4655:   # can be detected and how.
 4656:   cat >conftest.$ac_ext <<_ACEOF
 4657: /* confdefs.h.  */
 4658: _ACEOF
 4659: cat confdefs.h >>conftest.$ac_ext
 4660: cat >>conftest.$ac_ext <<_ACEOF
 4661: /* end confdefs.h.  */
 4662: #include <ac_nonexistent.h>
 4663: _ACEOF
 4664: if { (ac_try="$ac_cpp conftest.$ac_ext"
 4665: case "(($ac_try" in
 4666:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4667:   *) ac_try_echo=$ac_try;;
 4668: esac
 4669: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4670:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 4671:   ac_status=$?
 4672:   grep -v '^ *+' conftest.er1 >conftest.err
 4673:   rm -f conftest.er1
 4674:   cat conftest.err >&5
 4675:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4676:   (exit $ac_status); } >/dev/null && {
 4677:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 4678:      test ! -s conftest.err
 4679:        }; then
 4680:   # Broken: success on invalid input.
 4681: continue
 4682: else
 4683:   echo "$as_me: failed program was:" >&5
 4684: sed 's/^/| /' conftest.$ac_ext >&5
 4685: 
 4686:   # Passes both tests.
 4687: ac_preproc_ok=:
 4688: break
 4689: fi
 4690: 
 4691: rm -f conftest.err conftest.$ac_ext
 4692: 
 4693: done
 4694: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4695: rm -f conftest.err conftest.$ac_ext
 4696: if $ac_preproc_ok; then
 4697:   break
 4698: fi
 4699: 
 4700:     done
 4701:     ac_cv_prog_CPP=$CPP
 4702: 
 4703: fi
 4704:   CPP=$ac_cv_prog_CPP
 4705: else
 4706:   ac_cv_prog_CPP=$CPP
 4707: fi
 4708: { echo "$as_me:$LINENO: result: $CPP" >&5
 4709: echo "${ECHO_T}$CPP" >&6; }
 4710: ac_preproc_ok=false
 4711: for ac_c_preproc_warn_flag in '' yes
 4712: do
 4713:   # Use a header file that comes with gcc, so configuring glibc
 4714:   # with a fresh cross-compiler works.
 4715:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4716:   # <limits.h> exists even on freestanding compilers.
 4717:   # On the NeXT, cc -E runs the code through the compiler's parser,
 4718:   # not just through cpp. "Syntax error" is here to catch this case.
 4719:   cat >conftest.$ac_ext <<_ACEOF
 4720: /* confdefs.h.  */
 4721: _ACEOF
 4722: cat confdefs.h >>conftest.$ac_ext
 4723: cat >>conftest.$ac_ext <<_ACEOF
 4724: /* end confdefs.h.  */
 4725: #ifdef __STDC__
 4726: # include <limits.h>
 4727: #else
 4728: # include <assert.h>
 4729: #endif
 4730:              Syntax error
 4731: _ACEOF
 4732: if { (ac_try="$ac_cpp conftest.$ac_ext"
 4733: case "(($ac_try" in
 4734:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4735:   *) ac_try_echo=$ac_try;;
 4736: esac
 4737: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4738:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 4739:   ac_status=$?
 4740:   grep -v '^ *+' conftest.er1 >conftest.err
 4741:   rm -f conftest.er1
 4742:   cat conftest.err >&5
 4743:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4744:   (exit $ac_status); } >/dev/null && {
 4745:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 4746:      test ! -s conftest.err
 4747:        }; then
 4748:   :
 4749: else
 4750:   echo "$as_me: failed program was:" >&5
 4751: sed 's/^/| /' conftest.$ac_ext >&5
 4752: 
 4753:   # Broken: fails on valid input.
 4754: continue
 4755: fi
 4756: 
 4757: rm -f conftest.err conftest.$ac_ext
 4758: 
 4759:   # OK, works on sane cases.  Now check whether nonexistent headers
 4760:   # can be detected and how.
 4761:   cat >conftest.$ac_ext <<_ACEOF
 4762: /* confdefs.h.  */
 4763: _ACEOF
 4764: cat confdefs.h >>conftest.$ac_ext
 4765: cat >>conftest.$ac_ext <<_ACEOF
 4766: /* end confdefs.h.  */
 4767: #include <ac_nonexistent.h>
 4768: _ACEOF
 4769: if { (ac_try="$ac_cpp conftest.$ac_ext"
 4770: case "(($ac_try" in
 4771:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4772:   *) ac_try_echo=$ac_try;;
 4773: esac
 4774: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4775:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 4776:   ac_status=$?
 4777:   grep -v '^ *+' conftest.er1 >conftest.err
 4778:   rm -f conftest.er1
 4779:   cat conftest.err >&5
 4780:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4781:   (exit $ac_status); } >/dev/null && {
 4782:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 4783:      test ! -s conftest.err
 4784:        }; then
 4785:   # Broken: success on invalid input.
 4786: continue
 4787: else
 4788:   echo "$as_me: failed program was:" >&5
 4789: sed 's/^/| /' conftest.$ac_ext >&5
 4790: 
 4791:   # Passes both tests.
 4792: ac_preproc_ok=:
 4793: break
 4794: fi
 4795: 
 4796: rm -f conftest.err conftest.$ac_ext
 4797: 
 4798: done
 4799: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4800: rm -f conftest.err conftest.$ac_ext
 4801: if $ac_preproc_ok; then
 4802:   :
 4803: else
 4804:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 4805: See \`config.log' for more details." >&5
 4806: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 4807: See \`config.log' for more details." >&2;}
 4808:    { (exit 1); exit 1; }; }
 4809: fi
 4810: 
 4811: ac_ext=c
 4812: ac_cpp='$CPP $CPPFLAGS'
 4813: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4814: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4815: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4816: 
 4817: 
 4818: { echo "$as_me:$LINENO: checking for X" >&5
 4819: echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 4820: 
 4821: 
 4822: # Check whether --with-x was given.
 4823: if test "${with_x+set}" = set; then
 4824:   withval=$with_x;
 4825: fi
 4826: 
 4827: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 4828: if test "x$with_x" = xno; then
 4829:   # The user explicitly disabled X.
 4830:   have_x=disabled
 4831: else
 4832:   case $x_includes,$x_libraries in #(
 4833:     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
 4834: echo "$as_me: error: Cannot use X directory names containing '" >&2;}
 4835:    { (exit 1); exit 1; }; };; #(
 4836:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
 4837:   echo $ECHO_N "(cached) $ECHO_C" >&6
 4838: else
 4839:   # One or both of the vars are not set, and there is no cached value.
 4840: ac_x_includes=no ac_x_libraries=no
 4841: rm -f -r conftest.dir
 4842: if mkdir conftest.dir; then
 4843:   cd conftest.dir
 4844:   cat >Imakefile <<'_ACEOF'
 4845: incroot:
 4846:     @echo incroot='${INCROOT}'
 4847: usrlibdir:
 4848:     @echo usrlibdir='${USRLIBDIR}'
 4849: libdir:
 4850:     @echo libdir='${LIBDIR}'
 4851: _ACEOF
 4852:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 4853:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 4854:     for ac_var in incroot usrlibdir libdir; do
 4855:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 4856:     done
 4857:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 4858:     for ac_extension in a so sl; do
 4859:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 4860:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 4861:     ac_im_usrlibdir=$ac_im_libdir; break
 4862:       fi
 4863:     done
 4864:     # Screen out bogus values from the imake configuration.  They are
 4865:     # bogus both because they are the default anyway, and because
 4866:     # using them would break gcc on systems where it needs fixed includes.
 4867:     case $ac_im_incroot in
 4868:     /usr/include) ac_x_includes= ;;
 4869:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 4870:     esac
 4871:     case $ac_im_usrlibdir in
 4872:     /usr/lib | /lib) ;;
 4873:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 4874:     esac
 4875:   fi
 4876:   cd ..
 4877:   rm -f -r conftest.dir
 4878: fi
 4879: 
 4880: # Standard set of common directories for X headers.
 4881: # Check X11 before X11Rn because it is often a symlink to the current release.
 4882: ac_x_header_dirs='
 4883: /usr/X11/include
 4884: /usr/X11R6/include
 4885: /usr/X11R5/include
 4886: /usr/X11R4/include
 4887: 
 4888: /usr/include/X11
 4889: /usr/include/X11R6
 4890: /usr/include/X11R5
 4891: /usr/include/X11R4
 4892: 
 4893: /usr/local/X11/include
 4894: /usr/local/X11R6/include
 4895: /usr/local/X11R5/include
 4896: /usr/local/X11R4/include
 4897: 
 4898: /usr/local/include/X11
 4899: /usr/local/include/X11R6
 4900: /usr/local/include/X11R5
 4901: /usr/local/include/X11R4
 4902: 
 4903: /usr/X386/include
 4904: /usr/x386/include
 4905: /usr/XFree86/include/X11
 4906: 
 4907: /usr/include
 4908: /usr/local/include
 4909: /usr/unsupported/include
 4910: /usr/athena/include
 4911: /usr/local/x11r5/include
 4912: /usr/lpp/Xamples/include
 4913: 
 4914: /usr/openwin/include
 4915: /usr/openwin/share/include'
 4916: 
 4917: if test "$ac_x_includes" = no; then
 4918:   # Guess where to find include files, by looking for Xlib.h.
 4919:   # First, try using that file with no special directory specified.
 4920:   cat >conftest.$ac_ext <<_ACEOF
 4921: /* confdefs.h.  */
 4922: _ACEOF
 4923: cat confdefs.h >>conftest.$ac_ext
 4924: cat >>conftest.$ac_ext <<_ACEOF
 4925: /* end confdefs.h.  */
 4926: #include <X11/Xlib.h>
 4927: _ACEOF
 4928: if { (ac_try="$ac_cpp conftest.$ac_ext"
 4929: case "(($ac_try" in
 4930:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4931:   *) ac_try_echo=$ac_try;;
 4932: esac
 4933: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4934:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 4935:   ac_status=$?
 4936:   grep -v '^ *+' conftest.er1 >conftest.err
 4937:   rm -f conftest.er1
 4938:   cat conftest.err >&5
 4939:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4940:   (exit $ac_status); } >/dev/null && {
 4941:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 4942:      test ! -s conftest.err
 4943:        }; then
 4944:   # We can compile using X headers with no special include directory.
 4945: ac_x_includes=
 4946: else
 4947:   echo "$as_me: failed program was:" >&5
 4948: sed 's/^/| /' conftest.$ac_ext >&5
 4949: 
 4950:   for ac_dir in $ac_x_header_dirs; do
 4951:   if test -r "$ac_dir/X11/Xlib.h"; then
 4952:     ac_x_includes=$ac_dir
 4953:     break
 4954:   fi
 4955: done
 4956: fi
 4957: 
 4958: rm -f conftest.err conftest.$ac_ext
 4959: fi # $ac_x_includes = no
 4960: 
 4961: if test "$ac_x_libraries" = no; then
 4962:   # Check for the libraries.
 4963:   # See if we find them without any special options.
 4964:   # Don't add to $LIBS permanently.
 4965:   ac_save_LIBS=$LIBS
 4966:   LIBS="-lX11 $LIBS"
 4967:   cat >conftest.$ac_ext <<_ACEOF
 4968: /* confdefs.h.  */
 4969: _ACEOF
 4970: cat confdefs.h >>conftest.$ac_ext
 4971: cat >>conftest.$ac_ext <<_ACEOF
 4972: /* end confdefs.h.  */
 4973: #include <X11/Xlib.h>
 4974: int
 4975: main ()
 4976: {
 4977: XrmInitialize ()
 4978:   ;
 4979:   return 0;
 4980: }
 4981: _ACEOF
 4982: rm -f conftest.$ac_objext conftest$ac_exeext
 4983: if { (ac_try="$ac_link"
 4984: case "(($ac_try" in
 4985:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4986:   *) ac_try_echo=$ac_try;;
 4987: esac
 4988: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4989:   (eval "$ac_link") 2>conftest.er1
 4990:   ac_status=$?
 4991:   grep -v '^ *+' conftest.er1 >conftest.err
 4992:   rm -f conftest.er1
 4993:   cat conftest.err >&5
 4994:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4995:   (exit $ac_status); } && {
 4996:      test -z "$ac_c_werror_flag" ||
 4997:      test ! -s conftest.err
 4998:        } && test -s conftest$ac_exeext &&
 4999:        $as_test_x conftest$ac_exeext; then
 5000:   LIBS=$ac_save_LIBS
 5001: # We can link X programs with no special library path.
 5002: ac_x_libraries=
 5003: else
 5004:   echo "$as_me: failed program was:" >&5
 5005: sed 's/^/| /' conftest.$ac_ext >&5
 5006: 
 5007:     LIBS=$ac_save_LIBS
 5008: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5009: do
 5010:   # Don't even attempt the hair of trying to link an X program!
 5011:   for ac_extension in a so sl; do
 5012:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5013:       ac_x_libraries=$ac_dir
 5014:       break 2
 5015:     fi
 5016:   done
 5017: done
 5018: fi
 5019: 
 5020: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5021:       conftest$ac_exeext conftest.$ac_ext
 5022: fi # $ac_x_libraries = no
 5023: 
 5024: case $ac_x_includes,$ac_x_libraries in #(
 5025:   no,* | *,no | *\'*)
 5026:     # Didn't find X, or a directory has "'" in its name.
 5027:     ac_cv_have_x="have_x=no";; #(
 5028:   *)
 5029:     # Record where we found X for the cache.
 5030:     ac_cv_have_x="have_x=yes\
 5031:     ac_x_includes='$ac_x_includes'\
 5032:     ac_x_libraries='$ac_x_libraries'"
 5033: esac
 5034: fi
 5035: ;; #(
 5036:     *) have_x=yes;;
 5037:   esac
 5038:   eval "$ac_cv_have_x"
 5039: fi # $with_x != no
 5040: 
 5041: if test "$have_x" != yes; then
 5042:   { echo "$as_me:$LINENO: result: $have_x" >&5
 5043: echo "${ECHO_T}$have_x" >&6; }
 5044:   no_x=yes
 5045: else
 5046:   # If each of the values was on the command line, it overrides each guess.
 5047:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5048:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5049:   # Update the cache value to reflect the command line values.
 5050:   ac_cv_have_x="have_x=yes\
 5051:     ac_x_includes='$x_includes'\
 5052:     ac_x_libraries='$x_libraries'"
 5053:   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 5054: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
 5055: fi
 5056: 
 5057: if test "$no_x" = yes; then
 5058:   # Not all programs may use this symbol, but it does not hurt to define it.
 5059: 
 5060: cat >>confdefs.h <<\_ACEOF
 5061: #define X_DISPLAY_MISSING 1
 5062: _ACEOF
 5063: 
 5064:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5065: else
 5066:   if test -n "$x_includes"; then
 5067:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5068:   fi
 5069: 
 5070:   # It would also be nice to do this for all -L options, not just this one.
 5071:   if test -n "$x_libraries"; then
 5072:     X_LIBS="$X_LIBS -L$x_libraries"
 5073:     # For Solaris; some versions of Sun CC require a space after -R and
 5074:     # others require no space.  Words are not sufficient . . . .
 5075:     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 5076: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 5077:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5078:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5079:     ac_c_werror_flag=yes
 5080:     cat >conftest.$ac_ext <<_ACEOF
 5081: /* confdefs.h.  */
 5082: _ACEOF
 5083: cat confdefs.h >>conftest.$ac_ext
 5084: cat >>conftest.$ac_ext <<_ACEOF
 5085: /* end confdefs.h.  */
 5086: 
 5087: int
 5088: main ()
 5089: {
 5090: 
 5091:   ;
 5092:   return 0;
 5093: }
 5094: _ACEOF
 5095: rm -f conftest.$ac_objext conftest$ac_exeext
 5096: if { (ac_try="$ac_link"
 5097: case "(($ac_try" in
 5098:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5099:   *) ac_try_echo=$ac_try;;
 5100: esac
 5101: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5102:   (eval "$ac_link") 2>conftest.er1
 5103:   ac_status=$?
 5104:   grep -v '^ *+' conftest.er1 >conftest.err
 5105:   rm -f conftest.er1
 5106:   cat conftest.err >&5
 5107:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5108:   (exit $ac_status); } && {
 5109:      test -z "$ac_c_werror_flag" ||
 5110:      test ! -s conftest.err
 5111:        } && test -s conftest$ac_exeext &&
 5112:        $as_test_x conftest$ac_exeext; then
 5113:   { echo "$as_me:$LINENO: result: no" >&5
 5114: echo "${ECHO_T}no" >&6; }
 5115:        X_LIBS="$X_LIBS -R$x_libraries"
 5116: else
 5117:   echo "$as_me: failed program was:" >&5
 5118: sed 's/^/| /' conftest.$ac_ext >&5
 5119: 
 5120:     LIBS="$ac_xsave_LIBS -R $x_libraries"
 5121:        cat >conftest.$ac_ext <<_ACEOF
 5122: /* confdefs.h.  */
 5123: _ACEOF
 5124: cat confdefs.h >>conftest.$ac_ext
 5125: cat >>conftest.$ac_ext <<_ACEOF
 5126: /* end confdefs.h.  */
 5127: 
 5128: int
 5129: main ()
 5130: {
 5131: 
 5132:   ;
 5133:   return 0;
 5134: }
 5135: _ACEOF
 5136: rm -f conftest.$ac_objext conftest$ac_exeext
 5137: if { (ac_try="$ac_link"
 5138: case "(($ac_try" in
 5139:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5140:   *) ac_try_echo=$ac_try;;
 5141: esac
 5142: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5143:   (eval "$ac_link") 2>conftest.er1
 5144:   ac_status=$?
 5145:   grep -v '^ *+' conftest.er1 >conftest.err
 5146:   rm -f conftest.er1
 5147:   cat conftest.err >&5
 5148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5149:   (exit $ac_status); } && {
 5150:      test -z "$ac_c_werror_flag" ||
 5151:      test ! -s conftest.err
 5152:        } && test -s conftest$ac_exeext &&
 5153:        $as_test_x conftest$ac_exeext; then
 5154:   { echo "$as_me:$LINENO: result: yes" >&5
 5155: echo "${ECHO_T}yes" >&6; }
 5156:       X_LIBS="$X_LIBS -R $x_libraries"
 5157: else
 5158:   echo "$as_me: failed program was:" >&5
 5159: sed 's/^/| /' conftest.$ac_ext >&5
 5160: 
 5161:     { echo "$as_me:$LINENO: result: neither works" >&5
 5162: echo "${ECHO_T}neither works" >&6; }
 5163: fi
 5164: 
 5165: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5166:       conftest$ac_exeext conftest.$ac_ext
 5167: fi
 5168: 
 5169: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5170:       conftest$ac_exeext conftest.$ac_ext
 5171:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5172:     LIBS=$ac_xsave_LIBS
 5173:   fi
 5174: 
 5175:   # Check for system-dependent libraries X programs must link with.
 5176:   # Do this before checking for the system-independent R6 libraries
 5177:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5178: 
 5179:   if test "$ISC" = yes; then
 5180:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5181:   else
 5182:     # Martyn Johnson says this is needed for Ultrix, if the X
 5183:     # libraries were built with DECnet support.  And Karl Berry says
 5184:     # the Alpha needs dnet_stub (dnet does not exist).
 5185:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5186:     cat >conftest.$ac_ext <<_ACEOF
 5187: /* confdefs.h.  */
 5188: _ACEOF
 5189: cat confdefs.h >>conftest.$ac_ext
 5190: cat >>conftest.$ac_ext <<_ACEOF
 5191: /* end confdefs.h.  */
 5192: 
 5193: /* Override any GCC internal prototype to avoid an error.
 5194:    Use char because int might match the return type of a GCC
 5195:    builtin and then its argument prototype would still apply.  */
 5196: #ifdef __cplusplus
 5197: extern "C"
 5198: #endif
 5199: char XOpenDisplay ();
 5200: int
 5201: main ()
 5202: {
 5203: return XOpenDisplay ();
 5204:   ;
 5205:   return 0;
 5206: }
 5207: _ACEOF
 5208: rm -f conftest.$ac_objext conftest$ac_exeext
 5209: if { (ac_try="$ac_link"
 5210: case "(($ac_try" in
 5211:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5212:   *) ac_try_echo=$ac_try;;
 5213: esac
 5214: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5215:   (eval "$ac_link") 2>conftest.er1
 5216:   ac_status=$?
 5217:   grep -v '^ *+' conftest.er1 >conftest.err
 5218:   rm -f conftest.er1
 5219:   cat conftest.err >&5
 5220:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5221:   (exit $ac_status); } && {
 5222:      test -z "$ac_c_werror_flag" ||
 5223:      test ! -s conftest.err
 5224:        } && test -s conftest$ac_exeext &&
 5225:        $as_test_x conftest$ac_exeext; then
 5226:   :
 5227: else
 5228:   echo "$as_me: failed program was:" >&5
 5229: sed 's/^/| /' conftest.$ac_ext >&5
 5230: 
 5231:     { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 5232: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
 5233: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
 5234:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5235: else
 5236:   ac_check_lib_save_LIBS=$LIBS
 5237: LIBS="-ldnet  $LIBS"
 5238: cat >conftest.$ac_ext <<_ACEOF
 5239: /* confdefs.h.  */
 5240: _ACEOF
 5241: cat confdefs.h >>conftest.$ac_ext
 5242: cat >>conftest.$ac_ext <<_ACEOF
 5243: /* end confdefs.h.  */
 5244: 
 5245: /* Override any GCC internal prototype to avoid an error.
 5246:    Use char because int might match the return type of a GCC
 5247:    builtin and then its argument prototype would still apply.  */
 5248: #ifdef __cplusplus
 5249: extern "C"
 5250: #endif
 5251: char dnet_ntoa ();
 5252: int
 5253: main ()
 5254: {
 5255: return dnet_ntoa ();
 5256:   ;
 5257:   return 0;
 5258: }
 5259: _ACEOF
 5260: rm -f conftest.$ac_objext conftest$ac_exeext
 5261: if { (ac_try="$ac_link"
 5262: case "(($ac_try" in
 5263:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5264:   *) ac_try_echo=$ac_try;;
 5265: esac
 5266: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5267:   (eval "$ac_link") 2>conftest.er1
 5268:   ac_status=$?
 5269:   grep -v '^ *+' conftest.er1 >conftest.err
 5270:   rm -f conftest.er1
 5271:   cat conftest.err >&5
 5272:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5273:   (exit $ac_status); } && {
 5274:      test -z "$ac_c_werror_flag" ||
 5275:      test ! -s conftest.err
 5276:        } && test -s conftest$ac_exeext &&
 5277:        $as_test_x conftest$ac_exeext; then
 5278:   ac_cv_lib_dnet_dnet_ntoa=yes
 5279: else
 5280:   echo "$as_me: failed program was:" >&5
 5281: sed 's/^/| /' conftest.$ac_ext >&5
 5282: 
 5283:     ac_cv_lib_dnet_dnet_ntoa=no
 5284: fi
 5285: 
 5286: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5287:       conftest$ac_exeext conftest.$ac_ext
 5288: LIBS=$ac_check_lib_save_LIBS
 5289: fi
 5290: { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5291: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5292: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 5293:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5294: fi
 5295: 
 5296:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5297:       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 5298: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
 5299: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
 5300:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5301: else
 5302:   ac_check_lib_save_LIBS=$LIBS
 5303: LIBS="-ldnet_stub  $LIBS"
 5304: cat >conftest.$ac_ext <<_ACEOF
 5305: /* confdefs.h.  */
 5306: _ACEOF
 5307: cat confdefs.h >>conftest.$ac_ext
 5308: cat >>conftest.$ac_ext <<_ACEOF
 5309: /* end confdefs.h.  */
 5310: 
 5311: /* Override any GCC internal prototype to avoid an error.
 5312:    Use char because int might match the return type of a GCC
 5313:    builtin and then its argument prototype would still apply.  */
 5314: #ifdef __cplusplus
 5315: extern "C"
 5316: #endif
 5317: char dnet_ntoa ();
 5318: int
 5319: main ()
 5320: {
 5321: return dnet_ntoa ();
 5322:   ;
 5323:   return 0;
 5324: }
 5325: _ACEOF
 5326: rm -f conftest.$ac_objext conftest$ac_exeext
 5327: if { (ac_try="$ac_link"
 5328: case "(($ac_try" in
 5329:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5330:   *) ac_try_echo=$ac_try;;
 5331: esac
 5332: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5333:   (eval "$ac_link") 2>conftest.er1
 5334:   ac_status=$?
 5335:   grep -v '^ *+' conftest.er1 >conftest.err
 5336:   rm -f conftest.er1
 5337:   cat conftest.err >&5
 5338:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5339:   (exit $ac_status); } && {
 5340:      test -z "$ac_c_werror_flag" ||
 5341:      test ! -s conftest.err
 5342:        } && test -s conftest$ac_exeext &&
 5343:        $as_test_x conftest$ac_exeext; then
 5344:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5345: else
 5346:   echo "$as_me: failed program was:" >&5
 5347: sed 's/^/| /' conftest.$ac_ext >&5
 5348: 
 5349:     ac_cv_lib_dnet_stub_dnet_ntoa=no
 5350: fi
 5351: 
 5352: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5353:       conftest$ac_exeext conftest.$ac_ext
 5354: LIBS=$ac_check_lib_save_LIBS
 5355: fi
 5356: { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5357: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5358: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 5359:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5360: fi
 5361: 
 5362:     fi
 5363: fi
 5364: 
 5365: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5366:       conftest$ac_exeext conftest.$ac_ext
 5367:     LIBS="$ac_xsave_LIBS"
 5368: 
 5369:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5370:     # to get the SysV transport functions.
 5371:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5372:     # needs -lnsl.
 5373:     # The nsl library prevents programs from opening the X display
 5374:     # on Irix 5.2, according to T.E. Dickey.
 5375:     # The functions gethostbyname, getservbyname, and inet_addr are
 5376:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5377:     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
 5378: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
 5379: if test "${ac_cv_func_gethostbyname+set}" = set; then
 5380:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5381: else
 5382:   cat >conftest.$ac_ext <<_ACEOF
 5383: /* confdefs.h.  */
 5384: _ACEOF
 5385: cat confdefs.h >>conftest.$ac_ext
 5386: cat >>conftest.$ac_ext <<_ACEOF
 5387: /* end confdefs.h.  */
 5388: /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 5389:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 5390: #define gethostbyname innocuous_gethostbyname
 5391: 
 5392: /* System header to define __stub macros and hopefully few prototypes,
 5393:     which can conflict with char gethostbyname (); below.
 5394:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5395:     <limits.h> exists even on freestanding compilers.  */
 5396: 
 5397: #ifdef __STDC__
 5398: # include <limits.h>
 5399: #else
 5400: # include <assert.h>
 5401: #endif
 5402: 
 5403: #undef gethostbyname
 5404: 
 5405: /* Override any GCC internal prototype to avoid an error.
 5406:    Use char because int might match the return type of a GCC
 5407:    builtin and then its argument prototype would still apply.  */
 5408: #ifdef __cplusplus
 5409: extern "C"
 5410: #endif
 5411: char gethostbyname ();
 5412: /* The GNU C library defines this for functions which it implements
 5413:     to always fail with ENOSYS.  Some functions are actually named
 5414:     something starting with __ and the normal name is an alias.  */
 5415: #if defined __stub_gethostbyname || defined __stub___gethostbyname
 5416: choke me
 5417: #endif
 5418: 
 5419: int
 5420: main ()
 5421: {
 5422: return gethostbyname ();
 5423:   ;
 5424:   return 0;
 5425: }
 5426: _ACEOF
 5427: rm -f conftest.$ac_objext conftest$ac_exeext
 5428: if { (ac_try="$ac_link"
 5429: case "(($ac_try" in
 5430:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5431:   *) ac_try_echo=$ac_try;;
 5432: esac
 5433: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5434:   (eval "$ac_link") 2>conftest.er1
 5435:   ac_status=$?
 5436:   grep -v '^ *+' conftest.er1 >conftest.err
 5437:   rm -f conftest.er1
 5438:   cat conftest.err >&5
 5439:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5440:   (exit $ac_status); } && {
 5441:      test -z "$ac_c_werror_flag" ||
 5442:      test ! -s conftest.err
 5443:        } && test -s conftest$ac_exeext &&
 5444:        $as_test_x conftest$ac_exeext; then
 5445:   ac_cv_func_gethostbyname=yes
 5446: else
 5447:   echo "$as_me: failed program was:" >&5
 5448: sed 's/^/| /' conftest.$ac_ext >&5
 5449: 
 5450:     ac_cv_func_gethostbyname=no
 5451: fi
 5452: 
 5453: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5454:       conftest$ac_exeext conftest.$ac_ext
 5455: fi
 5456: { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 5457: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 5458: 
 5459:     if test $ac_cv_func_gethostbyname = no; then
 5460:       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 5461: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
 5462: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 5463:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5464: else
 5465:   ac_check_lib_save_LIBS=$LIBS
 5466: LIBS="-lnsl  $LIBS"
 5467: cat >conftest.$ac_ext <<_ACEOF
 5468: /* confdefs.h.  */
 5469: _ACEOF
 5470: cat confdefs.h >>conftest.$ac_ext
 5471: cat >>conftest.$ac_ext <<_ACEOF
 5472: /* end confdefs.h.  */
 5473: 
 5474: /* Override any GCC internal prototype to avoid an error.
 5475:    Use char because int might match the return type of a GCC
 5476:    builtin and then its argument prototype would still apply.  */
 5477: #ifdef __cplusplus
 5478: extern "C"
 5479: #endif
 5480: char gethostbyname ();
 5481: int
 5482: main ()
 5483: {
 5484: return gethostbyname ();
 5485:   ;
 5486:   return 0;
 5487: }
 5488: _ACEOF
 5489: rm -f conftest.$ac_objext conftest$ac_exeext
 5490: if { (ac_try="$ac_link"
 5491: case "(($ac_try" in
 5492:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5493:   *) ac_try_echo=$ac_try;;
 5494: esac
 5495: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5496:   (eval "$ac_link") 2>conftest.er1
 5497:   ac_status=$?
 5498:   grep -v '^ *+' conftest.er1 >conftest.err
 5499:   rm -f conftest.er1
 5500:   cat conftest.err >&5
 5501:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5502:   (exit $ac_status); } && {
 5503:      test -z "$ac_c_werror_flag" ||
 5504:      test ! -s conftest.err
 5505:        } && test -s conftest$ac_exeext &&
 5506:        $as_test_x conftest$ac_exeext; then
 5507:   ac_cv_lib_nsl_gethostbyname=yes
 5508: else
 5509:   echo "$as_me: failed program was:" >&5
 5510: sed 's/^/| /' conftest.$ac_ext >&5
 5511: 
 5512:     ac_cv_lib_nsl_gethostbyname=no
 5513: fi
 5514: 
 5515: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5516:       conftest$ac_exeext conftest.$ac_ext
 5517: LIBS=$ac_check_lib_save_LIBS
 5518: fi
 5519: { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5520: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
 5521: if test $ac_cv_lib_nsl_gethostbyname = yes; then
 5522:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5523: fi
 5524: 
 5525:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5526:     { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 5527: echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
 5528: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
 5529:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5530: else
 5531:   ac_check_lib_save_LIBS=$LIBS
 5532: LIBS="-lbsd  $LIBS"
 5533: cat >conftest.$ac_ext <<_ACEOF
 5534: /* confdefs.h.  */
 5535: _ACEOF
 5536: cat confdefs.h >>conftest.$ac_ext
 5537: cat >>conftest.$ac_ext <<_ACEOF
 5538: /* end confdefs.h.  */
 5539: 
 5540: /* Override any GCC internal prototype to avoid an error.
 5541:    Use char because int might match the return type of a GCC
 5542:    builtin and then its argument prototype would still apply.  */
 5543: #ifdef __cplusplus
 5544: extern "C"
 5545: #endif
 5546: char gethostbyname ();
 5547: int
 5548: main ()
 5549: {
 5550: return gethostbyname ();
 5551:   ;
 5552:   return 0;
 5553: }
 5554: _ACEOF
 5555: rm -f conftest.$ac_objext conftest$ac_exeext
 5556: if { (ac_try="$ac_link"
 5557: case "(($ac_try" in
 5558:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5559:   *) ac_try_echo=$ac_try;;
 5560: esac
 5561: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5562:   (eval "$ac_link") 2>conftest.er1
 5563:   ac_status=$?
 5564:   grep -v '^ *+' conftest.er1 >conftest.err
 5565:   rm -f conftest.er1
 5566:   cat conftest.err >&5
 5567:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5568:   (exit $ac_status); } && {
 5569:      test -z "$ac_c_werror_flag" ||
 5570:      test ! -s conftest.err
 5571:        } && test -s conftest$ac_exeext &&
 5572:        $as_test_x conftest$ac_exeext; then
 5573:   ac_cv_lib_bsd_gethostbyname=yes
 5574: else
 5575:   echo "$as_me: failed program was:" >&5
 5576: sed 's/^/| /' conftest.$ac_ext >&5
 5577: 
 5578:     ac_cv_lib_bsd_gethostbyname=no
 5579: fi
 5580: 
 5581: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5582:       conftest$ac_exeext conftest.$ac_ext
 5583: LIBS=$ac_check_lib_save_LIBS
 5584: fi
 5585: { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5586: echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
 5587: if test $ac_cv_lib_bsd_gethostbyname = yes; then
 5588:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5589: fi
 5590: 
 5591:       fi
 5592:     fi
 5593: 
 5594:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5595:     # socket/setsockopt and other routines are undefined under SCO ODT
 5596:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5597:     # on later versions), says Simon Leinen: it contains gethostby*
 5598:     # variants that don't use the name server (or something).  -lsocket
 5599:     # must be given before -lnsl if both are needed.  We assume that
 5600:     # if connect needs -lnsl, so does gethostbyname.
 5601:     { echo "$as_me:$LINENO: checking for connect" >&5
 5602: echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
 5603: if test "${ac_cv_func_connect+set}" = set; then
 5604:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5605: else
 5606:   cat >conftest.$ac_ext <<_ACEOF
 5607: /* confdefs.h.  */
 5608: _ACEOF
 5609: cat confdefs.h >>conftest.$ac_ext
 5610: cat >>conftest.$ac_ext <<_ACEOF
 5611: /* end confdefs.h.  */
 5612: /* Define connect to an innocuous variant, in case <limits.h> declares connect.
 5613:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 5614: #define connect innocuous_connect
 5615: 
 5616: /* System header to define __stub macros and hopefully few prototypes,
 5617:     which can conflict with char connect (); below.
 5618:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5619:     <limits.h> exists even on freestanding compilers.  */
 5620: 
 5621: #ifdef __STDC__
 5622: # include <limits.h>
 5623: #else
 5624: # include <assert.h>
 5625: #endif
 5626: 
 5627: #undef connect
 5628: 
 5629: /* Override any GCC internal prototype to avoid an error.
 5630:    Use char because int might match the return type of a GCC
 5631:    builtin and then its argument prototype would still apply.  */
 5632: #ifdef __cplusplus
 5633: extern "C"
 5634: #endif
 5635: char connect ();
 5636: /* The GNU C library defines this for functions which it implements
 5637:     to always fail with ENOSYS.  Some functions are actually named
 5638:     something starting with __ and the normal name is an alias.  */
 5639: #if defined __stub_connect || defined __stub___connect
 5640: choke me
 5641: #endif
 5642: 
 5643: int
 5644: main ()
 5645: {
 5646: return connect ();
 5647:   ;
 5648:   return 0;
 5649: }
 5650: _ACEOF
 5651: rm -f conftest.$ac_objext conftest$ac_exeext
 5652: if { (ac_try="$ac_link"
 5653: case "(($ac_try" in
 5654:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5655:   *) ac_try_echo=$ac_try;;
 5656: esac
 5657: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5658:   (eval "$ac_link") 2>conftest.er1
 5659:   ac_status=$?
 5660:   grep -v '^ *+' conftest.er1 >conftest.err
 5661:   rm -f conftest.er1
 5662:   cat conftest.err >&5
 5663:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5664:   (exit $ac_status); } && {
 5665:      test -z "$ac_c_werror_flag" ||
 5666:      test ! -s conftest.err
 5667:        } && test -s conftest$ac_exeext &&
 5668:        $as_test_x conftest$ac_exeext; then
 5669:   ac_cv_func_connect=yes
 5670: else
 5671:   echo "$as_me: failed program was:" >&5
 5672: sed 's/^/| /' conftest.$ac_ext >&5
 5673: 
 5674:     ac_cv_func_connect=no
 5675: fi
 5676: 
 5677: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5678:       conftest$ac_exeext conftest.$ac_ext
 5679: fi
 5680: { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 5681: echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 5682: 
 5683:     if test $ac_cv_func_connect = no; then
 5684:       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 5685: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
 5686: if test "${ac_cv_lib_socket_connect+set}" = set; then
 5687:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5688: else
 5689:   ac_check_lib_save_LIBS=$LIBS
 5690: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5691: cat >conftest.$ac_ext <<_ACEOF
 5692: /* confdefs.h.  */
 5693: _ACEOF
 5694: cat confdefs.h >>conftest.$ac_ext
 5695: cat >>conftest.$ac_ext <<_ACEOF
 5696: /* end confdefs.h.  */
 5697: 
 5698: /* Override any GCC internal prototype to avoid an error.
 5699:    Use char because int might match the return type of a GCC
 5700:    builtin and then its argument prototype would still apply.  */
 5701: #ifdef __cplusplus
 5702: extern "C"
 5703: #endif
 5704: char connect ();
 5705: int
 5706: main ()
 5707: {
 5708: return connect ();
 5709:   ;
 5710:   return 0;
 5711: }
 5712: _ACEOF
 5713: rm -f conftest.$ac_objext conftest$ac_exeext
 5714: if { (ac_try="$ac_link"
 5715: case "(($ac_try" in
 5716:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5717:   *) ac_try_echo=$ac_try;;
 5718: esac
 5719: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5720:   (eval "$ac_link") 2>conftest.er1
 5721:   ac_status=$?
 5722:   grep -v '^ *+' conftest.er1 >conftest.err
 5723:   rm -f conftest.er1
 5724:   cat conftest.err >&5
 5725:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5726:   (exit $ac_status); } && {
 5727:      test -z "$ac_c_werror_flag" ||
 5728:      test ! -s conftest.err
 5729:        } && test -s conftest$ac_exeext &&
 5730:        $as_test_x conftest$ac_exeext; then
 5731:   ac_cv_lib_socket_connect=yes
 5732: else
 5733:   echo "$as_me: failed program was:" >&5
 5734: sed 's/^/| /' conftest.$ac_ext >&5
 5735: 
 5736:     ac_cv_lib_socket_connect=no
 5737: fi
 5738: 
 5739: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5740:       conftest$ac_exeext conftest.$ac_ext
 5741: LIBS=$ac_check_lib_save_LIBS
 5742: fi
 5743: { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 5744: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
 5745: if test $ac_cv_lib_socket_connect = yes; then
 5746:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5747: fi
 5748: 
 5749:     fi
 5750: 
 5751:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5752:     { echo "$as_me:$LINENO: checking for remove" >&5
 5753: echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
 5754: if test "${ac_cv_func_remove+set}" = set; then
 5755:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5756: else
 5757:   cat >conftest.$ac_ext <<_ACEOF
 5758: /* confdefs.h.  */
 5759: _ACEOF
 5760: cat confdefs.h >>conftest.$ac_ext
 5761: cat >>conftest.$ac_ext <<_ACEOF
 5762: /* end confdefs.h.  */
 5763: /* Define remove to an innocuous variant, in case <limits.h> declares remove.
 5764:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 5765: #define remove innocuous_remove
 5766: 
 5767: /* System header to define __stub macros and hopefully few prototypes,
 5768:     which can conflict with char remove (); below.
 5769:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5770:     <limits.h> exists even on freestanding compilers.  */
 5771: 
 5772: #ifdef __STDC__
 5773: # include <limits.h>
 5774: #else
 5775: # include <assert.h>
 5776: #endif
 5777: 
 5778: #undef remove
 5779: 
 5780: /* Override any GCC internal prototype to avoid an error.
 5781:    Use char because int might match the return type of a GCC
 5782:    builtin and then its argument prototype would still apply.  */
 5783: #ifdef __cplusplus
 5784: extern "C"
 5785: #endif
 5786: char remove ();
 5787: /* The GNU C library defines this for functions which it implements
 5788:     to always fail with ENOSYS.  Some functions are actually named
 5789:     something starting with __ and the normal name is an alias.  */
 5790: #if defined __stub_remove || defined __stub___remove
 5791: choke me
 5792: #endif
 5793: 
 5794: int
 5795: main ()
 5796: {
 5797: return remove ();
 5798:   ;
 5799:   return 0;
 5800: }
 5801: _ACEOF
 5802: rm -f conftest.$ac_objext conftest$ac_exeext
 5803: if { (ac_try="$ac_link"
 5804: case "(($ac_try" in
 5805:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5806:   *) ac_try_echo=$ac_try;;
 5807: esac
 5808: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5809:   (eval "$ac_link") 2>conftest.er1
 5810:   ac_status=$?
 5811:   grep -v '^ *+' conftest.er1 >conftest.err
 5812:   rm -f conftest.er1
 5813:   cat conftest.err >&5
 5814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5815:   (exit $ac_status); } && {
 5816:      test -z "$ac_c_werror_flag" ||
 5817:      test ! -s conftest.err
 5818:        } && test -s conftest$ac_exeext &&
 5819:        $as_test_x conftest$ac_exeext; then
 5820:   ac_cv_func_remove=yes
 5821: else
 5822:   echo "$as_me: failed program was:" >&5
 5823: sed 's/^/| /' conftest.$ac_ext >&5
 5824: 
 5825:     ac_cv_func_remove=no
 5826: fi
 5827: 
 5828: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5829:       conftest$ac_exeext conftest.$ac_ext
 5830: fi
 5831: { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 5832: echo "${ECHO_T}$ac_cv_func_remove" >&6; }
 5833: 
 5834:     if test $ac_cv_func_remove = no; then
 5835:       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 5836: echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
 5837: if test "${ac_cv_lib_posix_remove+set}" = set; then
 5838:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5839: else
 5840:   ac_check_lib_save_LIBS=$LIBS
 5841: LIBS="-lposix  $LIBS"
 5842: cat >conftest.$ac_ext <<_ACEOF
 5843: /* confdefs.h.  */
 5844: _ACEOF
 5845: cat confdefs.h >>conftest.$ac_ext
 5846: cat >>conftest.$ac_ext <<_ACEOF
 5847: /* end confdefs.h.  */
 5848: 
 5849: /* Override any GCC internal prototype to avoid an error.
 5850:    Use char because int might match the return type of a GCC
 5851:    builtin and then its argument prototype would still apply.  */
 5852: #ifdef __cplusplus
 5853: extern "C"
 5854: #endif
 5855: char remove ();
 5856: int
 5857: main ()
 5858: {
 5859: return remove ();
 5860:   ;
 5861:   return 0;
 5862: }
 5863: _ACEOF
 5864: rm -f conftest.$ac_objext conftest$ac_exeext
 5865: if { (ac_try="$ac_link"
 5866: case "(($ac_try" in
 5867:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5868:   *) ac_try_echo=$ac_try;;
 5869: esac
 5870: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5871:   (eval "$ac_link") 2>conftest.er1
 5872:   ac_status=$?
 5873:   grep -v '^ *+' conftest.er1 >conftest.err
 5874:   rm -f conftest.er1
 5875:   cat conftest.err >&5
 5876:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5877:   (exit $ac_status); } && {
 5878:      test -z "$ac_c_werror_flag" ||
 5879:      test ! -s conftest.err
 5880:        } && test -s conftest$ac_exeext &&
 5881:        $as_test_x conftest$ac_exeext; then
 5882:   ac_cv_lib_posix_remove=yes
 5883: else
 5884:   echo "$as_me: failed program was:" >&5
 5885: sed 's/^/| /' conftest.$ac_ext >&5
 5886: 
 5887:     ac_cv_lib_posix_remove=no
 5888: fi
 5889: 
 5890: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5891:       conftest$ac_exeext conftest.$ac_ext
 5892: LIBS=$ac_check_lib_save_LIBS
 5893: fi
 5894: { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 5895: echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
 5896: if test $ac_cv_lib_posix_remove = yes; then
 5897:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5898: fi
 5899: 
 5900:     fi
 5901: 
 5902:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5903:     { echo "$as_me:$LINENO: checking for shmat" >&5
 5904: echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
 5905: if test "${ac_cv_func_shmat+set}" = set; then
 5906:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5907: else
 5908:   cat >conftest.$ac_ext <<_ACEOF
 5909: /* confdefs.h.  */
 5910: _ACEOF
 5911: cat confdefs.h >>conftest.$ac_ext
 5912: cat >>conftest.$ac_ext <<_ACEOF
 5913: /* end confdefs.h.  */
 5914: /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
 5915:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 5916: #define shmat innocuous_shmat
 5917: 
 5918: /* System header to define __stub macros and hopefully few prototypes,
 5919:     which can conflict with char shmat (); below.
 5920:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5921:     <limits.h> exists even on freestanding compilers.  */
 5922: 
 5923: #ifdef __STDC__
 5924: # include <limits.h>
 5925: #else
 5926: # include <assert.h>
 5927: #endif
 5928: 
 5929: #undef shmat
 5930: 
 5931: /* Override any GCC internal prototype to avoid an error.
 5932:    Use char because int might match the return type of a GCC
 5933:    builtin and then its argument prototype would still apply.  */
 5934: #ifdef __cplusplus
 5935: extern "C"
 5936: #endif
 5937: char shmat ();
 5938: /* The GNU C library defines this for functions which it implements
 5939:     to always fail with ENOSYS.  Some functions are actually named
 5940:     something starting with __ and the normal name is an alias.  */
 5941: #if defined __stub_shmat || defined __stub___shmat
 5942: choke me
 5943: #endif
 5944: 
 5945: int
 5946: main ()
 5947: {
 5948: return shmat ();
 5949:   ;
 5950:   return 0;
 5951: }
 5952: _ACEOF
 5953: rm -f conftest.$ac_objext conftest$ac_exeext
 5954: if { (ac_try="$ac_link"
 5955: case "(($ac_try" in
 5956:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5957:   *) ac_try_echo=$ac_try;;
 5958: esac
 5959: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5960:   (eval "$ac_link") 2>conftest.er1
 5961:   ac_status=$?
 5962:   grep -v '^ *+' conftest.er1 >conftest.err
 5963:   rm -f conftest.er1
 5964:   cat conftest.err >&5
 5965:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5966:   (exit $ac_status); } && {
 5967:      test -z "$ac_c_werror_flag" ||
 5968:      test ! -s conftest.err
 5969:        } && test -s conftest$ac_exeext &&
 5970:        $as_test_x conftest$ac_exeext; then
 5971:   ac_cv_func_shmat=yes
 5972: else
 5973:   echo "$as_me: failed program was:" >&5
 5974: sed 's/^/| /' conftest.$ac_ext >&5
 5975: 
 5976:     ac_cv_func_shmat=no
 5977: fi
 5978: 
 5979: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5980:       conftest$ac_exeext conftest.$ac_ext
 5981: fi
 5982: { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 5983: echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
 5984: 
 5985:     if test $ac_cv_func_shmat = no; then
 5986:       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 5987: echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
 5988: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
 5989:   echo $ECHO_N "(cached) $ECHO_C" >&6
 5990: else
 5991:   ac_check_lib_save_LIBS=$LIBS
 5992: LIBS="-lipc  $LIBS"
 5993: cat >conftest.$ac_ext <<_ACEOF
 5994: /* confdefs.h.  */
 5995: _ACEOF
 5996: cat confdefs.h >>conftest.$ac_ext
 5997: cat >>conftest.$ac_ext <<_ACEOF
 5998: /* end confdefs.h.  */
 5999: 
 6000: /* Override any GCC internal prototype to avoid an error.
 6001:    Use char because int might match the return type of a GCC
 6002:    builtin and then its argument prototype would still apply.  */
 6003: #ifdef __cplusplus
 6004: extern "C"
 6005: #endif
 6006: char shmat ();
 6007: int
 6008: main ()
 6009: {
 6010: return shmat ();
 6011:   ;
 6012:   return 0;
 6013: }
 6014: _ACEOF
 6015: rm -f conftest.$ac_objext conftest$ac_exeext
 6016: if { (ac_try="$ac_link"
 6017: case "(($ac_try" in
 6018:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6019:   *) ac_try_echo=$ac_try;;
 6020: esac
 6021: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 6022:   (eval "$ac_link") 2>conftest.er1
 6023:   ac_status=$?
 6024:   grep -v '^ *+' conftest.er1 >conftest.err
 6025:   rm -f conftest.er1
 6026:   cat conftest.err >&5
 6027:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6028:   (exit $ac_status); } && {
 6029:      test -z "$ac_c_werror_flag" ||
 6030:      test ! -s conftest.err
 6031:        } && test -s conftest$ac_exeext &&
 6032:        $as_test_x conftest$ac_exeext; then
 6033:   ac_cv_lib_ipc_shmat=yes
 6034: else
 6035:   echo "$as_me: failed program was:" >&5
 6036: sed 's/^/| /' conftest.$ac_ext >&5
 6037: 
 6038:     ac_cv_lib_ipc_shmat=no
 6039: fi
 6040: 
 6041: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 6042:       conftest$ac_exeext conftest.$ac_ext
 6043: LIBS=$ac_check_lib_save_LIBS
 6044: fi
 6045: { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 6046: echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
 6047: if test $ac_cv_lib_ipc_shmat = yes; then
 6048:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 6049: fi
 6050: 
 6051:     fi
 6052:   fi
 6053: 
 6054:   # Check for libraries that X11R6 Xt/Xaw programs need.
 6055:   ac_save_LDFLAGS=$LDFLAGS
 6056:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 6057:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 6058:   # check for ICE first), but we must link in the order -lSM -lICE or
 6059:   # we get undefined symbols.  So assume we have SM if we have ICE.
 6060:   # These have to be linked with before -lX11, unlike the other
 6061:   # libraries we check for below, so use a different variable.
 6062:   # John Interrante, Karl Berry
 6063:   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 6064: echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
 6065: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
 6066:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6067: else
 6068:   ac_check_lib_save_LIBS=$LIBS
 6069: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 6070: cat >conftest.$ac_ext <<_ACEOF
 6071: /* confdefs.h.  */
 6072: _ACEOF
 6073: cat confdefs.h >>conftest.$ac_ext
 6074: cat >>conftest.$ac_ext <<_ACEOF
 6075: /* end confdefs.h.  */
 6076: 
 6077: /* Override any GCC internal prototype to avoid an error.
 6078:    Use char because int might match the return type of a GCC
 6079:    builtin and then its argument prototype would still apply.  */
 6080: #ifdef __cplusplus
 6081: extern "C"
 6082: #endif
 6083: char IceConnectionNumber ();
 6084: int
 6085: main ()
 6086: {
 6087: return IceConnectionNumber ();
 6088:   ;
 6089:   return 0;
 6090: }
 6091: _ACEOF
 6092: rm -f conftest.$ac_objext conftest$ac_exeext
 6093: if { (ac_try="$ac_link"
 6094: case "(($ac_try" in
 6095:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6096:   *) ac_try_echo=$ac_try;;
 6097: esac
 6098: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 6099:   (eval "$ac_link") 2>conftest.er1
 6100:   ac_status=$?
 6101:   grep -v '^ *+' conftest.er1 >conftest.err
 6102:   rm -f conftest.er1
 6103:   cat conftest.err >&5
 6104:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6105:   (exit $ac_status); } && {
 6106:      test -z "$ac_c_werror_flag" ||
 6107:      test ! -s conftest.err
 6108:        } && test -s conftest$ac_exeext &&
 6109:        $as_test_x conftest$ac_exeext; then
 6110:   ac_cv_lib_ICE_IceConnectionNumber=yes
 6111: else
 6112:   echo "$as_me: failed program was:" >&5
 6113: sed 's/^/| /' conftest.$ac_ext >&5
 6114: 
 6115:     ac_cv_lib_ICE_IceConnectionNumber=no
 6116: fi
 6117: 
 6118: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 6119:       conftest$ac_exeext conftest.$ac_ext
 6120: LIBS=$ac_check_lib_save_LIBS
 6121: fi
 6122: { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 6123: echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 6124: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 6125:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 6126: fi
 6127: 
 6128:   LDFLAGS=$ac_save_LDFLAGS
 6129: 
 6130: fi
 6131: 
 6132: 
 6133: if test "$ac_x_includes" != "no"; then
 6134:     if test x"$ac_x_includes" != x; then
 6135:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 6136:         includeX="-I$ac_x_includes"
 6137:     fi
 6138: fi
 6139: if test "$ac_x_libraries" != "no"; then
 6140:     if test x"$ac_x_libraries" != x; then
 6141:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 6142:     fi
 6143: fi
 6144: 
 6145: # Check whether --enable-optimization was given.
 6146: if test "${enable_optimization+set}" = set; then
 6147:   enableval=$enable_optimization;
 6148: if test "$enableval" = "no"; then
 6149:     CFLAGS=
 6150:     FFLAGS=
 6151:     CXXFLAGS=
 6152:     FCFLAGS=
 6153: else
 6154:     CFLAGS="$CFLAGS $enable_optimization"
 6155:     FFLAGS="$FFLAGS $enable_optimization"
 6156:     FCFLAGS="$FCFLAGS $enable_optimization"
 6157: fi
 6158: else
 6159: 
 6160:     CFLAGS="$CFLAGS $OPTIMISATION_C"
 6161:     FFLAGS="$FFLAGS $OPTIMISATION_F"
 6162:     FCFLAGS="$FCFLAGS $OPTIMISATION_F"
 6163: 
 6164: 
 6165: fi
 6166: 
 6167: 
 6168: # Check whether --enable-final-encoding was given.
 6169: if test "${enable_final_encoding+set}" = set; then
 6170:   enableval=$enable_final_encoding;
 6171: if test "$enableval" = "no"; then
 6172:     FINAL_ENCODING="\$(shell locale charmap | \
 6173:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6174: else
 6175:     FINAL_ENCODING="$enable_final_encoding"
 6176: fi
 6177: else
 6178:   FINAL_ENCODING="\$(shell locale charmap | \
 6179:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6180: fi
 6181: 
 6182: 
 6183: # Check whether --enable-tex was given.
 6184: if test "${enable_tex+set}" = set; then
 6185:   enableval=$enable_tex;
 6186: if test "$enableval" = "no"; then
 6187:     TEX_SUPPORT=no
 6188: else
 6189:     TEX_SUPPORT=yes
 6190: fi
 6191: else
 6192:   TEX_SUPPORT=guessed
 6193: fi
 6194: 
 6195: 
 6196: # Check whether --enable-vim was given.
 6197: if test "${enable_vim+set}" = set; then
 6198:   enableval=$enable_vim;
 6199: if test "$enableval" = "no"; then
 6200:     VIM_SUPPORT=no
 6201: else
 6202:     VIM_SUPPORT=yes
 6203: fi
 6204: else
 6205:   VIM_SUPPORT=guessed
 6206: fi
 6207: 
 6208: 
 6209: # Check whether --enable-embedded-gnuplot was given.
 6210: if test "${enable_embedded_gnuplot+set}" = set; then
 6211:   enableval=$enable_embedded_gnuplot;
 6212: if test "$enableval" = "no"; then
 6213:     MYGNUPLOT=no
 6214: else
 6215:     MYGNUPLOT=yes
 6216: fi
 6217: else
 6218: 
 6219: MYGNUPLOT=yes
 6220: fi
 6221: 
 6222: 
 6223: # Check whether --enable-gnuplot was given.
 6224: if test "${enable_gnuplot+set}" = set; then
 6225:   enableval=$enable_gnuplot;
 6226: if test "$enableval" = "no"; then
 6227:     GNUPLOT_SUPPORT=no
 6228:     MYGNUPLOT=no
 6229:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6230: else
 6231:     GNUPLOT_SUPPORT=yes
 6232:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6233: fi
 6234: else
 6235: 
 6236: if test "$MYGNUPLOT" = "yes"; then
 6237:     GNUPLOT_SUPPORT=yes
 6238:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6239: else
 6240:     GNUPLOT_SUPPORT=guessed
 6241:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6242: fi
 6243: fi
 6244: 
 6245: 
 6246: # Check whether --enable-motif was given.
 6247: if test "${enable_motif+set}" = set; then
 6248:   enableval=$enable_motif;
 6249: if test "$enableval" = "no"; then
 6250:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6251: else
 6252:     CFLAGS_ORIG=$CFLAGS
 6253:     LIBS_ORIG=$LIBS
 6254:     CFLAGS="$CFLAGS $X_CFLAGS"
 6255:     LIBS="$LIB $X_LIBS"
 6256:     { echo "$as_me:$LINENO: checking for main in -lXm" >&5
 6257: echo $ECHO_N "checking for main in -lXm... $ECHO_C" >&6; }
 6258: if test "${ac_cv_lib_Xm_main+set}" = set; then
 6259:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6260: else
 6261:   ac_check_lib_save_LIBS=$LIBS
 6262: LIBS="-lXm  $LIBS"
 6263: cat >conftest.$ac_ext <<_ACEOF
 6264: /* confdefs.h.  */
 6265: _ACEOF
 6266: cat confdefs.h >>conftest.$ac_ext
 6267: cat >>conftest.$ac_ext <<_ACEOF
 6268: /* end confdefs.h.  */
 6269: 
 6270: 
 6271: int
 6272: main ()
 6273: {
 6274: return main ();
 6275:   ;
 6276:   return 0;
 6277: }
 6278: _ACEOF
 6279: rm -f conftest.$ac_objext conftest$ac_exeext
 6280: if { (ac_try="$ac_link"
 6281: case "(($ac_try" in
 6282:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6283:   *) ac_try_echo=$ac_try;;
 6284: esac
 6285: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 6286:   (eval "$ac_link") 2>conftest.er1
 6287:   ac_status=$?
 6288:   grep -v '^ *+' conftest.er1 >conftest.err
 6289:   rm -f conftest.er1
 6290:   cat conftest.err >&5
 6291:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6292:   (exit $ac_status); } && {
 6293:      test -z "$ac_c_werror_flag" ||
 6294:      test ! -s conftest.err
 6295:        } && test -s conftest$ac_exeext &&
 6296:        $as_test_x conftest$ac_exeext; then
 6297:   ac_cv_lib_Xm_main=yes
 6298: else
 6299:   echo "$as_me: failed program was:" >&5
 6300: sed 's/^/| /' conftest.$ac_ext >&5
 6301: 
 6302:     ac_cv_lib_Xm_main=no
 6303: fi
 6304: 
 6305: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 6306:       conftest$ac_exeext conftest.$ac_ext
 6307: LIBS=$ac_check_lib_save_LIBS
 6308: fi
 6309: { echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_main" >&5
 6310: echo "${ECHO_T}$ac_cv_lib_Xm_main" >&6; }
 6311: if test $ac_cv_lib_Xm_main = yes; then
 6312:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6313: else
 6314:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6315: fi
 6316: 
 6317:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6318:         { echo "$as_me:$LINENO: WARNING: Can not find Motif! You may install it.
 6319: Motif flag is disabled.
 6320: " >&5
 6321: echo "$as_me: WARNING: Can not find Motif! You may install it.
 6322: Motif flag is disabled.
 6323: " >&2;}
 6324:     fi
 6325:     LIBS=$LIBS_ORIG
 6326:     CFLAGS=$CFLAGS_ORIG
 6327: fi
 6328: else
 6329:   MOTIF_SUPPORT=guessed
 6330: fi
 6331: 
 6332: 
 6333: # Check whether --enable-experimental was given.
 6334: if test "${enable_experimental+set}" = set; then
 6335:   enableval=$enable_experimental;
 6336: if test "$enableval" = "no"; then
 6337:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6338: else
 6339:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6340: fi
 6341: else
 6342:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6343: fi
 6344: 
 6345: 
 6346: # Check whether --enable-debug was given.
 6347: if test "${enable_debug+set}" = set; then
 6348:   enableval=$enable_debug;
 6349: if test "$enableval" = "no"; then
 6350:     DEBUG=""
 6351: else
 6352:     DEBUG="-DDEBUG_MEMOIRE"
 6353: fi
 6354: else
 6355:   DEBUG=""
 6356: fi
 6357: 
 6358: 
 6359: # Check whether --enable-profile was given.
 6360: if test "${enable_profile+set}" = set; then
 6361:   enableval=$enable_profile;
 6362: if test "$enableval" = "no"; then
 6363:     PROFILAGE=""
 6364: else
 6365:     PROFILAGE="-pg"
 6366: fi
 6367: else
 6368:   PROFILAGE=""
 6369: fi
 6370: 
 6371: 
 6372: 
 6373: 
 6374: if test ! -d tools; then
 6375:     mkdir tools
 6376: fi
 6377: if test ! -d "$srcdir"/tools/$NCURSES; then
 6378:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6379:             (cd "$srcdir/tools" && tar -xf -)
 6380: fi
 6381: if test ! -d "$srcdir"/tools/$READLINE; then
 6382:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6383:             (cd "$srcdir/tools" && tar -xf -)
 6384: fi
 6385: if test ! -d "$srcdir"/tools/$UNITS; then
 6386:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6387:             (cd "$srcdir/tools" && tar -xf -)
 6388: fi
 6389: if test ! -d "$srcdir"/tools/$GSL; then
 6390:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6391:             (cd "$srcdir/tools" && tar -xf -)
 6392: fi
 6393: if test ! -d "$srcdir"/tools/$GPP; then
 6394:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6395:             (cd "$srcdir/tools" && tar -xf -)
 6396: fi
 6397: if test ! -d "$srcdir"/tools/$FILE; then
 6398:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6399:             (cd "$srcdir/tools" && tar -xf - )
 6400:     TMP=$(mktemp)
 6401:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6402:     sed 's/libmagic/librplfile/g' "$srcdir"/tools/$FILE/src/Makefile.am > $TMP
 6403:     sed 's/^bin_PROGRAMS = file/bin_PROGRAMS = rplfile/g' $TMP | \
 6404:         sed 's/^file_/rplfile_/g' > \
 6405:         "$srcdir"/tools/$FILE/src/Makefile.am
 6406:     sed 's/file$/rplfile/g' "$srcdir"/tools/$FILE/magic/Makefile.am > $TMP
 6407:     \mv -f $TMP "$srcdir"/tools/$FILE/magic/Makefile.am
 6408:     (cd "$srcdir"/tools/$FILE && libtoolize --copy --force \
 6409:         && aclocal && automake -af && autoconf);
 6410: fi
 6411: if test ! -d "$srcdir"/tools/$ICONV; then
 6412:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6413:             (cd "$srcdir/tools" && tar -xf -)
 6414: fi
 6415: if test ! -d "$srcdir"/tools/$SQLITE; then
 6416:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6417:             (cd "$srcdir/tools" && tar -xf -)
 6418: fi
 6419: if test ! -d tools/$OPENSSL; then
 6420:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6421:             (cd tools && tar -xf -)
 6422: fi
 6423: 
 6424: # Extract the first word of "libtoolize", so it can be a program name with args.
 6425: set dummy libtoolize; ac_word=$2
 6426: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6427: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6428: if test "${ac_cv_prog_LIBTOOLIZE+set}" = set; then
 6429:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6430: else
 6431:   if test -n "$LIBTOOLIZE"; then
 6432:   ac_cv_prog_LIBTOOLIZE="$LIBTOOLIZE" # Let the user override the test.
 6433: else
 6434: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6435: for as_dir in $PATH
 6436: do
 6437:   IFS=$as_save_IFS
 6438:   test -z "$as_dir" && as_dir=.
 6439:   for ac_exec_ext in '' $ac_executable_extensions; do
 6440:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6441:     ac_cv_prog_LIBTOOLIZE="yes"
 6442:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6443:     break 2
 6444:   fi
 6445: done
 6446: done
 6447: IFS=$as_save_IFS
 6448: 
 6449:   test -z "$ac_cv_prog_LIBTOOLIZE" && ac_cv_prog_LIBTOOLIZE="no"
 6450: fi
 6451: fi
 6452: LIBTOOLIZE=$ac_cv_prog_LIBTOOLIZE
 6453: if test -n "$LIBTOOLIZE"; then
 6454:   { echo "$as_me:$LINENO: result: $LIBTOOLIZE" >&5
 6455: echo "${ECHO_T}$LIBTOOLIZE" >&6; }
 6456: else
 6457:   { echo "$as_me:$LINENO: result: no" >&5
 6458: echo "${ECHO_T}no" >&6; }
 6459: fi
 6460: 
 6461: 
 6462: if test "$LIBTOOLIZE" = "no"; then
 6463:     { { echo "$as_me:$LINENO: error: Cannot find libtoolize! You have to install it." >&5
 6464: echo "$as_me: error: Cannot find libtoolize! You have to install it." >&2;}
 6465:    { (exit 1); exit 1; }; }
 6466: fi
 6467: 
 6468: # Extract the first word of "aclocal", so it can be a program name with args.
 6469: set dummy aclocal; ac_word=$2
 6470: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6471: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6472: if test "${ac_cv_prog_ACLOCAL+set}" = set; then
 6473:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6474: else
 6475:   if test -n "$ACLOCAL"; then
 6476:   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
 6477: else
 6478: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6479: for as_dir in $PATH
 6480: do
 6481:   IFS=$as_save_IFS
 6482:   test -z "$as_dir" && as_dir=.
 6483:   for ac_exec_ext in '' $ac_executable_extensions; do
 6484:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6485:     ac_cv_prog_ACLOCAL="yes"
 6486:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6487:     break 2
 6488:   fi
 6489: done
 6490: done
 6491: IFS=$as_save_IFS
 6492: 
 6493:   test -z "$ac_cv_prog_ACLOCAL" && ac_cv_prog_ACLOCAL="no"
 6494: fi
 6495: fi
 6496: ACLOCAL=$ac_cv_prog_ACLOCAL
 6497: if test -n "$ACLOCAL"; then
 6498:   { echo "$as_me:$LINENO: result: $ACLOCAL" >&5
 6499: echo "${ECHO_T}$ACLOCAL" >&6; }
 6500: else
 6501:   { echo "$as_me:$LINENO: result: no" >&5
 6502: echo "${ECHO_T}no" >&6; }
 6503: fi
 6504: 
 6505: 
 6506: if test "$ACLOCAL" = "no"; then
 6507:     { { echo "$as_me:$LINENO: error: Cannot find aclocal! You have to install it." >&5
 6508: echo "$as_me: error: Cannot find aclocal! You have to install it." >&2;}
 6509:    { (exit 1); exit 1; }; }
 6510: fi
 6511: 
 6512: # Extract the first word of "automake", so it can be a program name with args.
 6513: set dummy automake; ac_word=$2
 6514: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6515: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6516: if test "${ac_cv_prog_AUTOMAKE+set}" = set; then
 6517:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6518: else
 6519:   if test -n "$AUTOMAKE"; then
 6520:   ac_cv_prog_AUTOMAKE="$AUTOMAKE" # Let the user override the test.
 6521: else
 6522: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6523: for as_dir in $PATH
 6524: do
 6525:   IFS=$as_save_IFS
 6526:   test -z "$as_dir" && as_dir=.
 6527:   for ac_exec_ext in '' $ac_executable_extensions; do
 6528:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6529:     ac_cv_prog_AUTOMAKE="yes"
 6530:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6531:     break 2
 6532:   fi
 6533: done
 6534: done
 6535: IFS=$as_save_IFS
 6536: 
 6537:   test -z "$ac_cv_prog_AUTOMAKE" && ac_cv_prog_AUTOMAKE="no"
 6538: fi
 6539: fi
 6540: AUTOMAKE=$ac_cv_prog_AUTOMAKE
 6541: if test -n "$AUTOMAKE"; then
 6542:   { echo "$as_me:$LINENO: result: $AUTOMAKE" >&5
 6543: echo "${ECHO_T}$AUTOMAKE" >&6; }
 6544: else
 6545:   { echo "$as_me:$LINENO: result: no" >&5
 6546: echo "${ECHO_T}no" >&6; }
 6547: fi
 6548: 
 6549: 
 6550: if test "$AUTOMAKE" = "no"; then
 6551:     { { echo "$as_me:$LINENO: error: Cannot find automake! You have to install it." >&5
 6552: echo "$as_me: error: Cannot find automake! You have to install it." >&2;}
 6553:    { (exit 1); exit 1; }; }
 6554: fi
 6555: 
 6556: # Extract the first word of "autoconf", so it can be a program name with args.
 6557: set dummy autoconf; ac_word=$2
 6558: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6559: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6560: if test "${ac_cv_prog_AUTOCONF+set}" = set; then
 6561:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6562: else
 6563:   if test -n "$AUTOCONF"; then
 6564:   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
 6565: else
 6566: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6567: for as_dir in $PATH
 6568: do
 6569:   IFS=$as_save_IFS
 6570:   test -z "$as_dir" && as_dir=.
 6571:   for ac_exec_ext in '' $ac_executable_extensions; do
 6572:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6573:     ac_cv_prog_AUTOCONF="yes"
 6574:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6575:     break 2
 6576:   fi
 6577: done
 6578: done
 6579: IFS=$as_save_IFS
 6580: 
 6581:   test -z "$ac_cv_prog_AUTOCONF" && ac_cv_prog_AUTOCONF="no"
 6582: fi
 6583: fi
 6584: AUTOCONF=$ac_cv_prog_AUTOCONF
 6585: if test -n "$AUTOCONF"; then
 6586:   { echo "$as_me:$LINENO: result: $AUTOCONF" >&5
 6587: echo "${ECHO_T}$AUTOCONF" >&6; }
 6588: else
 6589:   { echo "$as_me:$LINENO: result: no" >&5
 6590: echo "${ECHO_T}no" >&6; }
 6591: fi
 6592: 
 6593: 
 6594: if test "$AUTOCONF" = "no"; then
 6595:     { { echo "$as_me:$LINENO: error: Cannot find autoconf! You have to install it." >&5
 6596: echo "$as_me: error: Cannot find autoconf! You have to install it." >&2;}
 6597:    { (exit 1); exit 1; }; }
 6598: fi
 6599: 
 6600: 
 6601: 
 6602: # Check whether --enable-final-run-path was given.
 6603: if test "${enable_final_run_path+set}" = set; then
 6604:   enableval=$enable_final_run_path;
 6605:     if test "x$enable_final_run_path" = "x"; then
 6606:         { echo "$as_me:$LINENO: \"No path with --enable-final-run-path.\"" >&5
 6607: echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6608:         { { echo "$as_me:$LINENO: error: \"You should specify final path !\"" >&5
 6609: echo "$as_me: error: \"You should specify final path !\"" >&2;}
 6610:    { (exit 1); exit 1; }; }
 6611:     else
 6612:         RUNPATH="$enable_final_run_path"
 6613:     fi
 6614: 
 6615: else
 6616:   RUNPATH="\${prefix}"
 6617: 
 6618: fi
 6619: 
 6620: 
 6621: 
 6622: # Find a good install program.  We prefer a C program (faster),
 6623: # so one script is as good as another.  But avoid the broken or
 6624: # incompatible versions:
 6625: # SysV /etc/install, /usr/sbin/install
 6626: # SunOS /usr/etc/install
 6627: # IRIX /sbin/install
 6628: # AIX /bin/install
 6629: # AmigaOS /C/install, which installs bootblocks on floppy discs
 6630: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 6631: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 6632: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 6633: # OS/2's system install, which has a completely different semantic
 6634: # ./install, which can be erroneously created by make from ./install.sh.
 6635: { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 6636: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 6637: if test -z "$INSTALL"; then
 6638: if test "${ac_cv_path_install+set}" = set; then
 6639:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6640: else
 6641:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6642: for as_dir in $PATH
 6643: do
 6644:   IFS=$as_save_IFS
 6645:   test -z "$as_dir" && as_dir=.
 6646:   # Account for people who put trailing slashes in PATH elements.
 6647: case $as_dir/ in
 6648:   ./ | .// | /cC/* | \
 6649:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 6650:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 6651:   /usr/ucb/* ) ;;
 6652:   *)
 6653:     # OSF1 and SCO ODT 3.0 have their own names for install.
 6654:     # Don't use installbsd from OSF since it installs stuff as root
 6655:     # by default.
 6656:     for ac_prog in ginstall scoinst install; do
 6657:       for ac_exec_ext in '' $ac_executable_extensions; do
 6658:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 6659:       if test $ac_prog = install &&
 6660:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 6661:         # AIX install.  It has an incompatible calling convention.
 6662:         :
 6663:       elif test $ac_prog = install &&
 6664:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 6665:         # program-specific install script used by HP pwplus--don't use.
 6666:         :
 6667:       else
 6668:         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 6669:         break 3
 6670:       fi
 6671:     fi
 6672:       done
 6673:     done
 6674:     ;;
 6675: esac
 6676: done
 6677: IFS=$as_save_IFS
 6678: 
 6679: 
 6680: fi
 6681:   if test "${ac_cv_path_install+set}" = set; then
 6682:     INSTALL=$ac_cv_path_install
 6683:   else
 6684:     # As a last resort, use the slow shell script.  Don't cache a
 6685:     # value for INSTALL within a source directory, because that will
 6686:     # break other packages using the cache if that directory is
 6687:     # removed, or if the value is a relative name.
 6688:     INSTALL=$ac_install_sh
 6689:   fi
 6690: fi
 6691: { echo "$as_me:$LINENO: result: $INSTALL" >&5
 6692: echo "${ECHO_T}$INSTALL" >&6; }
 6693: 
 6694: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 6695: # It thinks the first close brace ends the variable substitution.
 6696: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 6697: 
 6698: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 6699: 
 6700: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 6701: 
 6702: { echo "$as_me:$LINENO: checking whether ln -s works" >&5
 6703: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 6704: LN_S=$as_ln_s
 6705: if test "$LN_S" = "ln -s"; then
 6706:   { echo "$as_me:$LINENO: result: yes" >&5
 6707: echo "${ECHO_T}yes" >&6; }
 6708: else
 6709:   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 6710: echo "${ECHO_T}no, using $LN_S" >&6; }
 6711: fi
 6712: 
 6713: { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6714: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 6715: set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6716: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 6717:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6718: else
 6719:   cat >conftest.make <<\_ACEOF
 6720: SHELL = /bin/sh
 6721: all:
 6722:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6723: _ACEOF
 6724: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 6725: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6726:   *@@@%%%=?*=@@@%%%*)
 6727:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6728:   *)
 6729:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6730: esac
 6731: rm -f conftest.make
 6732: fi
 6733: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6734:   { echo "$as_me:$LINENO: result: yes" >&5
 6735: echo "${ECHO_T}yes" >&6; }
 6736:   SET_MAKE=
 6737: else
 6738:   { echo "$as_me:$LINENO: result: no" >&5
 6739: echo "${ECHO_T}no" >&6; }
 6740:   SET_MAKE="MAKE=${MAKE-make}"
 6741: fi
 6742: 
 6743: if test -n "$ac_tool_prefix"; then
 6744:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6745: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6746: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6747: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6748: if test "${ac_cv_prog_RANLIB+set}" = set; then
 6749:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6750: else
 6751:   if test -n "$RANLIB"; then
 6752:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6753: else
 6754: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6755: for as_dir in $PATH
 6756: do
 6757:   IFS=$as_save_IFS
 6758:   test -z "$as_dir" && as_dir=.
 6759:   for ac_exec_ext in '' $ac_executable_extensions; do
 6760:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6761:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6762:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6763:     break 2
 6764:   fi
 6765: done
 6766: done
 6767: IFS=$as_save_IFS
 6768: 
 6769: fi
 6770: fi
 6771: RANLIB=$ac_cv_prog_RANLIB
 6772: if test -n "$RANLIB"; then
 6773:   { echo "$as_me:$LINENO: result: $RANLIB" >&5
 6774: echo "${ECHO_T}$RANLIB" >&6; }
 6775: else
 6776:   { echo "$as_me:$LINENO: result: no" >&5
 6777: echo "${ECHO_T}no" >&6; }
 6778: fi
 6779: 
 6780: 
 6781: fi
 6782: if test -z "$ac_cv_prog_RANLIB"; then
 6783:   ac_ct_RANLIB=$RANLIB
 6784:   # Extract the first word of "ranlib", so it can be a program name with args.
 6785: set dummy ranlib; ac_word=$2
 6786: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6787: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6788: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 6789:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6790: else
 6791:   if test -n "$ac_ct_RANLIB"; then
 6792:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6793: else
 6794: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6795: for as_dir in $PATH
 6796: do
 6797:   IFS=$as_save_IFS
 6798:   test -z "$as_dir" && as_dir=.
 6799:   for ac_exec_ext in '' $ac_executable_extensions; do
 6800:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6801:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6802:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6803:     break 2
 6804:   fi
 6805: done
 6806: done
 6807: IFS=$as_save_IFS
 6808: 
 6809: fi
 6810: fi
 6811: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6812: if test -n "$ac_ct_RANLIB"; then
 6813:   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 6814: echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 6815: else
 6816:   { echo "$as_me:$LINENO: result: no" >&5
 6817: echo "${ECHO_T}no" >&6; }
 6818: fi
 6819: 
 6820:   if test "x$ac_ct_RANLIB" = x; then
 6821:     RANLIB=":"
 6822:   else
 6823:     case $cross_compiling:$ac_tool_warned in
 6824: yes:)
 6825: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 6826: whose name does not start with the host triplet.  If you think this
 6827: configuration is useful to you, please write to autoconf@gnu.org." >&5
 6828: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 6829: whose name does not start with the host triplet.  If you think this
 6830: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 6831: ac_tool_warned=yes ;;
 6832: esac
 6833:     RANLIB=$ac_ct_RANLIB
 6834:   fi
 6835: else
 6836:   RANLIB="$ac_cv_prog_RANLIB"
 6837: fi
 6838: 
 6839: 
 6840: # Extract the first word of "nawk", so it can be a program name with args.
 6841: set dummy nawk; ac_word=$2
 6842: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6843: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6844: if test "${ac_cv_prog_AWK+set}" = set; then
 6845:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6846: else
 6847:   if test -n "$AWK"; then
 6848:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6849: else
 6850: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6851: for as_dir in $PATH
 6852: do
 6853:   IFS=$as_save_IFS
 6854:   test -z "$as_dir" && as_dir=.
 6855:   for ac_exec_ext in '' $ac_executable_extensions; do
 6856:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6857:     ac_cv_prog_AWK="yes"
 6858:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6859:     break 2
 6860:   fi
 6861: done
 6862: done
 6863: IFS=$as_save_IFS
 6864: 
 6865:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6866: fi
 6867: fi
 6868: AWK=$ac_cv_prog_AWK
 6869: if test -n "$AWK"; then
 6870:   { echo "$as_me:$LINENO: result: $AWK" >&5
 6871: echo "${ECHO_T}$AWK" >&6; }
 6872: else
 6873:   { echo "$as_me:$LINENO: result: no" >&5
 6874: echo "${ECHO_T}no" >&6; }
 6875: fi
 6876: 
 6877: 
 6878: if test "$AWK" = no; then
 6879:     { { echo "$as_me:$LINENO: error: Can not find nawk !" >&5
 6880: echo "$as_me: error: Can not find nawk !" >&2;}
 6881:    { (exit 1); exit 1; }; }
 6882: fi
 6883: 
 6884: # Extract the first word of "sed", so it can be a program name with args.
 6885: set dummy sed; ac_word=$2
 6886: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6887: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6888: if test "${ac_cv_prog_SED+set}" = set; then
 6889:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6890: else
 6891:   if test -n "$SED"; then
 6892:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6893: else
 6894: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6895: for as_dir in $PATH
 6896: do
 6897:   IFS=$as_save_IFS
 6898:   test -z "$as_dir" && as_dir=.
 6899:   for ac_exec_ext in '' $ac_executable_extensions; do
 6900:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6901:     ac_cv_prog_SED="yes"
 6902:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6903:     break 2
 6904:   fi
 6905: done
 6906: done
 6907: IFS=$as_save_IFS
 6908: 
 6909:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6910: fi
 6911: fi
 6912: SED=$ac_cv_prog_SED
 6913: if test -n "$SED"; then
 6914:   { echo "$as_me:$LINENO: result: $SED" >&5
 6915: echo "${ECHO_T}$SED" >&6; }
 6916: else
 6917:   { echo "$as_me:$LINENO: result: no" >&5
 6918: echo "${ECHO_T}no" >&6; }
 6919: fi
 6920: 
 6921: 
 6922: if test "$SED" = no; then
 6923:     { { echo "$as_me:$LINENO: error: Can not find sed !" >&5
 6924: echo "$as_me: error: Can not find sed !" >&2;}
 6925:    { (exit 1); exit 1; }; }
 6926: fi
 6927: 
 6928: if test "$TEX_SUPPORT" = guessed; then
 6929:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6930: 
 6931:     # Extract the first word of "tex", so it can be a program name with args.
 6932: set dummy tex; ac_word=$2
 6933: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6934: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6935: if test "${ac_cv_prog_TEX+set}" = set; then
 6936:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6937: else
 6938:   if test -n "$TEX"; then
 6939:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6940: else
 6941: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6942: for as_dir in $PATH
 6943: do
 6944:   IFS=$as_save_IFS
 6945:   test -z "$as_dir" && as_dir=.
 6946:   for ac_exec_ext in '' $ac_executable_extensions; do
 6947:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6948:     ac_cv_prog_TEX="yes"
 6949:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6950:     break 2
 6951:   fi
 6952: done
 6953: done
 6954: IFS=$as_save_IFS
 6955: 
 6956:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6957: fi
 6958: fi
 6959: TEX=$ac_cv_prog_TEX
 6960: if test -n "$TEX"; then
 6961:   { echo "$as_me:$LINENO: result: $TEX" >&5
 6962: echo "${ECHO_T}$TEX" >&6; }
 6963: else
 6964:   { echo "$as_me:$LINENO: result: no" >&5
 6965: echo "${ECHO_T}no" >&6; }
 6966: fi
 6967: 
 6968: 
 6969:     if test "$TEX" = no; then
 6970:         { echo "$as_me:$LINENO: WARNING: Cannot find TeX! You may install it.
 6971: Download at http://tex.loria.fr/
 6972: " >&5
 6973: echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6974: Download at http://tex.loria.fr/
 6975: " >&2;}
 6976:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6977:     fi
 6978: 
 6979:     # Extract the first word of "latex", so it can be a program name with args.
 6980: set dummy latex; ac_word=$2
 6981: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 6982: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 6983: if test "${ac_cv_prog_LATEX+set}" = set; then
 6984:   echo $ECHO_N "(cached) $ECHO_C" >&6
 6985: else
 6986:   if test -n "$LATEX"; then
 6987:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6988: else
 6989: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6990: for as_dir in $PATH
 6991: do
 6992:   IFS=$as_save_IFS
 6993:   test -z "$as_dir" && as_dir=.
 6994:   for ac_exec_ext in '' $ac_executable_extensions; do
 6995:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6996:     ac_cv_prog_LATEX="yes"
 6997:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 6998:     break 2
 6999:   fi
 7000: done
 7001: done
 7002: IFS=$as_save_IFS
 7003: 
 7004:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 7005: fi
 7006: fi
 7007: LATEX=$ac_cv_prog_LATEX
 7008: if test -n "$LATEX"; then
 7009:   { echo "$as_me:$LINENO: result: $LATEX" >&5
 7010: echo "${ECHO_T}$LATEX" >&6; }
 7011: else
 7012:   { echo "$as_me:$LINENO: result: no" >&5
 7013: echo "${ECHO_T}no" >&6; }
 7014: fi
 7015: 
 7016: 
 7017:     if test "$LATEX" = no; then
 7018:         { echo "$as_me:$LINENO: WARNING: Cannot find LaTeX! You may install it.
 7019: Download at http://tex.loria.fr/
 7020: " >&5
 7021: echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 7022: Download at http://tex.loria.fr/
 7023: " >&2;}
 7024:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7025:     fi
 7026: 
 7027:     # Extract the first word of "dvips", so it can be a program name with args.
 7028: set dummy dvips; ac_word=$2
 7029: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 7030: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 7031: if test "${ac_cv_prog_DVIPS+set}" = set; then
 7032:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7033: else
 7034:   if test -n "$DVIPS"; then
 7035:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 7036: else
 7037: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7038: for as_dir in $PATH
 7039: do
 7040:   IFS=$as_save_IFS
 7041:   test -z "$as_dir" && as_dir=.
 7042:   for ac_exec_ext in '' $ac_executable_extensions; do
 7043:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7044:     ac_cv_prog_DVIPS="yes"
 7045:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7046:     break 2
 7047:   fi
 7048: done
 7049: done
 7050: IFS=$as_save_IFS
 7051: 
 7052:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 7053: fi
 7054: fi
 7055: DVIPS=$ac_cv_prog_DVIPS
 7056: if test -n "$DVIPS"; then
 7057:   { echo "$as_me:$LINENO: result: $DVIPS" >&5
 7058: echo "${ECHO_T}$DVIPS" >&6; }
 7059: else
 7060:   { echo "$as_me:$LINENO: result: no" >&5
 7061: echo "${ECHO_T}no" >&6; }
 7062: fi
 7063: 
 7064: 
 7065:     if test "$DVIPS" = no; then
 7066:         { echo "$as_me:$LINENO: WARNING: Cannot find dvips! You may install it.
 7067: Download at http://tex.loria.fr/
 7068: " >&5
 7069: echo "$as_me: WARNING: Cannot find dvips! You may install it.
 7070: Download at http://tex.loria.fr/
 7071: " >&2;}
 7072:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7073:     fi
 7074: 
 7075:     # Extract the first word of "gs", so it can be a program name with args.
 7076: set dummy gs; ac_word=$2
 7077: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 7078: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 7079: if test "${ac_cv_prog_GS+set}" = set; then
 7080:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7081: else
 7082:   if test -n "$GS"; then
 7083:   ac_cv_prog_GS="$GS" # Let the user override the test.
 7084: else
 7085: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7086: for as_dir in $PATH
 7087: do
 7088:   IFS=$as_save_IFS
 7089:   test -z "$as_dir" && as_dir=.
 7090:   for ac_exec_ext in '' $ac_executable_extensions; do
 7091:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7092:     ac_cv_prog_GS="yes"
 7093:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7094:     break 2
 7095:   fi
 7096: done
 7097: done
 7098: IFS=$as_save_IFS
 7099: 
 7100:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 7101: fi
 7102: fi
 7103: GS=$ac_cv_prog_GS
 7104: if test -n "$GS"; then
 7105:   { echo "$as_me:$LINENO: result: $GS" >&5
 7106: echo "${ECHO_T}$GS" >&6; }
 7107: else
 7108:   { echo "$as_me:$LINENO: result: no" >&5
 7109: echo "${ECHO_T}no" >&6; }
 7110: fi
 7111: 
 7112: 
 7113:     if test "$GS" = no; then
 7114:         { echo "$as_me:$LINENO: WARNING: Cannot find gs! You may install it.
 7115: Download at http://ftp.lip6.fr/
 7116: " >&5
 7117: echo "$as_me: WARNING: Cannot find gs! You may install it.
 7118: Download at http://ftp.lip6.fr/
 7119: " >&2;}
 7120:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7121:     fi
 7122: 
 7123:     # Extract the first word of "gv", so it can be a program name with args.
 7124: set dummy gv; ac_word=$2
 7125: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 7126: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 7127: if test "${ac_cv_prog_GV+set}" = set; then
 7128:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7129: else
 7130:   if test -n "$GV"; then
 7131:   ac_cv_prog_GV="$GV" # Let the user override the test.
 7132: else
 7133: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7134: for as_dir in $PATH
 7135: do
 7136:   IFS=$as_save_IFS
 7137:   test -z "$as_dir" && as_dir=.
 7138:   for ac_exec_ext in '' $ac_executable_extensions; do
 7139:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7140:     ac_cv_prog_GV="yes"
 7141:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7142:     break 2
 7143:   fi
 7144: done
 7145: done
 7146: IFS=$as_save_IFS
 7147: 
 7148:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 7149: fi
 7150: fi
 7151: GV=$ac_cv_prog_GV
 7152: if test -n "$GV"; then
 7153:   { echo "$as_me:$LINENO: result: $GV" >&5
 7154: echo "${ECHO_T}$GV" >&6; }
 7155: else
 7156:   { echo "$as_me:$LINENO: result: no" >&5
 7157: echo "${ECHO_T}no" >&6; }
 7158: fi
 7159: 
 7160: 
 7161:     if test "$GV" = no; then
 7162:         { echo "$as_me:$LINENO: WARNING: Cannot find gv! You may install it.
 7163: Download at http://ftp.lip6.fr/
 7164: " >&5
 7165: echo "$as_me: WARNING: Cannot find gv! You may install it.
 7166: Download at http://ftp.lip6.fr/
 7167: " >&2;}
 7168:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7169:     fi
 7170: else
 7171:     if test "$TEX_SUPPORT" = no; then
 7172:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7173:     else
 7174:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 7175:     fi
 7176: fi
 7177: 
 7178: if test "$GNUPLOT_SUPPORT" = guessed; then
 7179:     # Extract the first word of "gnuplot", so it can be a program name with args.
 7180: set dummy gnuplot; ac_word=$2
 7181: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 7182: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 7183: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then
 7184:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7185: else
 7186:   if test -n "$GNUPLOT_P"; then
 7187:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 7188: else
 7189: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7190: for as_dir in $PATH
 7191: do
 7192:   IFS=$as_save_IFS
 7193:   test -z "$as_dir" && as_dir=.
 7194:   for ac_exec_ext in '' $ac_executable_extensions; do
 7195:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7196:     ac_cv_prog_GNUPLOT_P="yes"
 7197:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7198:     break 2
 7199:   fi
 7200: done
 7201: done
 7202: IFS=$as_save_IFS
 7203: 
 7204:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 7205: fi
 7206: fi
 7207: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 7208: if test -n "$GNUPLOT_P"; then
 7209:   { echo "$as_me:$LINENO: result: $GNUPLOT_P" >&5
 7210: echo "${ECHO_T}$GNUPLOT_P" >&6; }
 7211: else
 7212:   { echo "$as_me:$LINENO: result: no" >&5
 7213: echo "${ECHO_T}no" >&6; }
 7214: fi
 7215: 
 7216: 
 7217:     if test "$GNUPLOT_P" = no; then
 7218:         { echo "$as_me:$LINENO: WARNING: Cannot find gnuplot! You may install it.
 7219: Download at http://www.gnuplot.vt.edu/
 7220: " >&5
 7221: echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 7222: Download at http://www.gnuplot.vt.edu/
 7223: " >&2;}
 7224:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 7225:     else
 7226:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 7227:     fi
 7228: else
 7229:     if test "$GNUPLOT_SUPPORT" = no; then
 7230:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 7231:     else
 7232:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 7233:     fi
 7234: fi
 7235: 
 7236: if test "$VIM_SUPPORT" = guessed; then
 7237:     # Extract the first word of "vim", so it can be a program name with args.
 7238: set dummy vim; ac_word=$2
 7239: { echo "$as_me:$LINENO: checking for $ac_word" >&5
 7240: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 7241: if test "${ac_cv_prog_VIM+set}" = set; then
 7242:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7243: else
 7244:   if test -n "$VIM"; then
 7245:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 7246: else
 7247: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7248: for as_dir in $PATH
 7249: do
 7250:   IFS=$as_save_IFS
 7251:   test -z "$as_dir" && as_dir=.
 7252:   for ac_exec_ext in '' $ac_executable_extensions; do
 7253:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7254:     ac_cv_prog_VIM="yes"
 7255:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7256:     break 2
 7257:   fi
 7258: done
 7259: done
 7260: IFS=$as_save_IFS
 7261: 
 7262:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 7263: fi
 7264: fi
 7265: VIM=$ac_cv_prog_VIM
 7266: if test -n "$VIM"; then
 7267:   { echo "$as_me:$LINENO: result: $VIM" >&5
 7268: echo "${ECHO_T}$VIM" >&6; }
 7269: else
 7270:   { echo "$as_me:$LINENO: result: no" >&5
 7271: echo "${ECHO_T}no" >&6; }
 7272: fi
 7273: 
 7274: 
 7275:     if test "$VIM" = no; then
 7276:         { echo "$as_me:$LINENO: WARNING: Cannot find vim! You may install it.
 7277: Download at http://www.vim.org/
 7278: " >&5
 7279: echo "$as_me: WARNING: Cannot find vim! You may install it.
 7280: Download at http://www.vim.org/
 7281: " >&2;}
 7282:         VIM_SUPPORT="-UVIM_SUPPORT"
 7283:     else
 7284:         VIM_SUPPORT="-DVIM_SUPPORT"
 7285:     fi
 7286: else
 7287:     if test "$VIM_SUPPORT" = no; then
 7288:         VIM_SUPPORT="-UVIM_SUPPORT"
 7289:     else
 7290:         VIM_SUPPORT="-DVIM_SUPPORT"
 7291:     fi
 7292: fi
 7293: 
 7294: if test "$MOTIF_SUPPORT" = guessed; then
 7295:     CFLAGS_ORIG=$CFLAGS
 7296:     LIBS_ORIG=$LIBS
 7297:     CFLAGS="$CFLAGS $X_CFLAGS"
 7298:     LIBS="$LIB $X_LIBS"
 7299:     { echo "$as_me:$LINENO: checking for main in -lXm" >&5
 7300: echo $ECHO_N "checking for main in -lXm... $ECHO_C" >&6; }
 7301: if test "${ac_cv_lib_Xm_main+set}" = set; then
 7302:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7303: else
 7304:   ac_check_lib_save_LIBS=$LIBS
 7305: LIBS="-lXm  $LIBS"
 7306: cat >conftest.$ac_ext <<_ACEOF
 7307: /* confdefs.h.  */
 7308: _ACEOF
 7309: cat confdefs.h >>conftest.$ac_ext
 7310: cat >>conftest.$ac_ext <<_ACEOF
 7311: /* end confdefs.h.  */
 7312: 
 7313: 
 7314: int
 7315: main ()
 7316: {
 7317: return main ();
 7318:   ;
 7319:   return 0;
 7320: }
 7321: _ACEOF
 7322: rm -f conftest.$ac_objext conftest$ac_exeext
 7323: if { (ac_try="$ac_link"
 7324: case "(($ac_try" in
 7325:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7326:   *) ac_try_echo=$ac_try;;
 7327: esac
 7328: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7329:   (eval "$ac_link") 2>conftest.er1
 7330:   ac_status=$?
 7331:   grep -v '^ *+' conftest.er1 >conftest.err
 7332:   rm -f conftest.er1
 7333:   cat conftest.err >&5
 7334:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7335:   (exit $ac_status); } && {
 7336:      test -z "$ac_c_werror_flag" ||
 7337:      test ! -s conftest.err
 7338:        } && test -s conftest$ac_exeext &&
 7339:        $as_test_x conftest$ac_exeext; then
 7340:   ac_cv_lib_Xm_main=yes
 7341: else
 7342:   echo "$as_me: failed program was:" >&5
 7343: sed 's/^/| /' conftest.$ac_ext >&5
 7344: 
 7345:     ac_cv_lib_Xm_main=no
 7346: fi
 7347: 
 7348: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7349:       conftest$ac_exeext conftest.$ac_ext
 7350: LIBS=$ac_check_lib_save_LIBS
 7351: fi
 7352: { echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_main" >&5
 7353: echo "${ECHO_T}$ac_cv_lib_Xm_main" >&6; }
 7354: if test $ac_cv_lib_Xm_main = yes; then
 7355:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 7356: else
 7357:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 7358: fi
 7359: 
 7360:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 7361:         { echo "$as_me:$LINENO: WARNING: Cannot find Motif! You may install it.
 7362: Motif flag is disabled.
 7363: " >&5
 7364: echo "$as_me: WARNING: Cannot find Motif! You may install it.
 7365: Motif flag is disabled.
 7366: " >&2;}
 7367:     fi
 7368:     LIBS=$LIBS_ORIG
 7369:     CFLAGS=$CFLAGS_ORIG
 7370: fi
 7371: 
 7372: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 7373:     CFLAGS_ORIG=$CFLAGS
 7374:     LIBS_ORIG=$LIBS
 7375:     CFLAGS="$CFLAGS $X_CFLAGS"
 7376:     LIBS="$LIB $X_LIBS"
 7377:     { echo "$as_me:$LINENO: checking for main in -lXpm" >&5
 7378: echo $ECHO_N "checking for main in -lXpm... $ECHO_C" >&6; }
 7379: if test "${ac_cv_lib_Xpm_main+set}" = set; then
 7380:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7381: else
 7382:   ac_check_lib_save_LIBS=$LIBS
 7383: LIBS="-lXpm  $LIBS"
 7384: cat >conftest.$ac_ext <<_ACEOF
 7385: /* confdefs.h.  */
 7386: _ACEOF
 7387: cat confdefs.h >>conftest.$ac_ext
 7388: cat >>conftest.$ac_ext <<_ACEOF
 7389: /* end confdefs.h.  */
 7390: 
 7391: 
 7392: int
 7393: main ()
 7394: {
 7395: return main ();
 7396:   ;
 7397:   return 0;
 7398: }
 7399: _ACEOF
 7400: rm -f conftest.$ac_objext conftest$ac_exeext
 7401: if { (ac_try="$ac_link"
 7402: case "(($ac_try" in
 7403:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7404:   *) ac_try_echo=$ac_try;;
 7405: esac
 7406: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7407:   (eval "$ac_link") 2>conftest.er1
 7408:   ac_status=$?
 7409:   grep -v '^ *+' conftest.er1 >conftest.err
 7410:   rm -f conftest.er1
 7411:   cat conftest.err >&5
 7412:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7413:   (exit $ac_status); } && {
 7414:      test -z "$ac_c_werror_flag" ||
 7415:      test ! -s conftest.err
 7416:        } && test -s conftest$ac_exeext &&
 7417:        $as_test_x conftest$ac_exeext; then
 7418:   ac_cv_lib_Xpm_main=yes
 7419: else
 7420:   echo "$as_me: failed program was:" >&5
 7421: sed 's/^/| /' conftest.$ac_ext >&5
 7422: 
 7423:     ac_cv_lib_Xpm_main=no
 7424: fi
 7425: 
 7426: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7427:       conftest$ac_exeext conftest.$ac_ext
 7428: LIBS=$ac_check_lib_save_LIBS
 7429: fi
 7430: { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_main" >&5
 7431: echo "${ECHO_T}$ac_cv_lib_Xpm_main" >&6; }
 7432: if test $ac_cv_lib_Xpm_main = yes; then
 7433:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 7434: else
 7435:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 7436: fi
 7437: 
 7438:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 7439:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 7440:     else
 7441:         libX=""
 7442:         { echo "$as_me:$LINENO: WARNING: Cannot find libXpm! You may install it.
 7443: Motif flag is disabled.
 7444: " >&5
 7445: echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 7446: Motif flag is disabled.
 7447: " >&2;}
 7448:     fi
 7449:     LIBS=$LIBS_ORIG
 7450:     CFLAGS=$CFLAGS_ORIG
 7451: else
 7452:     libX=""
 7453: fi
 7454: 
 7455: 
 7456: 
 7457: 
 7458: 
 7459: 
 7460: 
 7461: 
 7462: 
 7463: 
 7464: 
 7465: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 7466: 
 7467: 
 7468: 
 7469: { echo "$as_me:$LINENO: checking for main in -lm" >&5
 7470: echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
 7471: if test "${ac_cv_lib_m_main+set}" = set; then
 7472:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7473: else
 7474:   ac_check_lib_save_LIBS=$LIBS
 7475: LIBS="-lm  $LIBS"
 7476: cat >conftest.$ac_ext <<_ACEOF
 7477: /* confdefs.h.  */
 7478: _ACEOF
 7479: cat confdefs.h >>conftest.$ac_ext
 7480: cat >>conftest.$ac_ext <<_ACEOF
 7481: /* end confdefs.h.  */
 7482: 
 7483: 
 7484: int
 7485: main ()
 7486: {
 7487: return main ();
 7488:   ;
 7489:   return 0;
 7490: }
 7491: _ACEOF
 7492: rm -f conftest.$ac_objext conftest$ac_exeext
 7493: if { (ac_try="$ac_link"
 7494: case "(($ac_try" in
 7495:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7496:   *) ac_try_echo=$ac_try;;
 7497: esac
 7498: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7499:   (eval "$ac_link") 2>conftest.er1
 7500:   ac_status=$?
 7501:   grep -v '^ *+' conftest.er1 >conftest.err
 7502:   rm -f conftest.er1
 7503:   cat conftest.err >&5
 7504:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7505:   (exit $ac_status); } && {
 7506:      test -z "$ac_c_werror_flag" ||
 7507:      test ! -s conftest.err
 7508:        } && test -s conftest$ac_exeext &&
 7509:        $as_test_x conftest$ac_exeext; then
 7510:   ac_cv_lib_m_main=yes
 7511: else
 7512:   echo "$as_me: failed program was:" >&5
 7513: sed 's/^/| /' conftest.$ac_ext >&5
 7514: 
 7515:     ac_cv_lib_m_main=no
 7516: fi
 7517: 
 7518: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7519:       conftest$ac_exeext conftest.$ac_ext
 7520: LIBS=$ac_check_lib_save_LIBS
 7521: fi
 7522: { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
 7523: echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
 7524: if test $ac_cv_lib_m_main = yes; then
 7525:   cat >>confdefs.h <<_ACEOF
 7526: #define HAVE_LIBM 1
 7527: _ACEOF
 7528: 
 7529:   LIBS="-lm $LIBS"
 7530: 
 7531: else
 7532:   { { echo "$as_me:$LINENO: error: Can not find libm !" >&5
 7533: echo "$as_me: error: Can not find libm !" >&2;}
 7534:    { (exit 1); exit 1; }; }
 7535: fi
 7536: 
 7537: 
 7538: { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
 7539: echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
 7540: if test "${ac_cv_lib_pthread_main+set}" = set; then
 7541:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7542: else
 7543:   ac_check_lib_save_LIBS=$LIBS
 7544: LIBS="-lpthread  $LIBS"
 7545: cat >conftest.$ac_ext <<_ACEOF
 7546: /* confdefs.h.  */
 7547: _ACEOF
 7548: cat confdefs.h >>conftest.$ac_ext
 7549: cat >>conftest.$ac_ext <<_ACEOF
 7550: /* end confdefs.h.  */
 7551: 
 7552: 
 7553: int
 7554: main ()
 7555: {
 7556: return main ();
 7557:   ;
 7558:   return 0;
 7559: }
 7560: _ACEOF
 7561: rm -f conftest.$ac_objext conftest$ac_exeext
 7562: if { (ac_try="$ac_link"
 7563: case "(($ac_try" in
 7564:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7565:   *) ac_try_echo=$ac_try;;
 7566: esac
 7567: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7568:   (eval "$ac_link") 2>conftest.er1
 7569:   ac_status=$?
 7570:   grep -v '^ *+' conftest.er1 >conftest.err
 7571:   rm -f conftest.er1
 7572:   cat conftest.err >&5
 7573:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7574:   (exit $ac_status); } && {
 7575:      test -z "$ac_c_werror_flag" ||
 7576:      test ! -s conftest.err
 7577:        } && test -s conftest$ac_exeext &&
 7578:        $as_test_x conftest$ac_exeext; then
 7579:   ac_cv_lib_pthread_main=yes
 7580: else
 7581:   echo "$as_me: failed program was:" >&5
 7582: sed 's/^/| /' conftest.$ac_ext >&5
 7583: 
 7584:     ac_cv_lib_pthread_main=no
 7585: fi
 7586: 
 7587: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7588:       conftest$ac_exeext conftest.$ac_ext
 7589: LIBS=$ac_check_lib_save_LIBS
 7590: fi
 7591: { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
 7592: echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; }
 7593: if test $ac_cv_lib_pthread_main = yes; then
 7594:   cat >>confdefs.h <<_ACEOF
 7595: #define HAVE_LIBPTHREAD 1
 7596: _ACEOF
 7597: 
 7598:   LIBS="-lpthread $LIBS"
 7599: 
 7600: else
 7601:   { { echo "$as_me:$LINENO: error: Can not find libpthread !" >&5
 7602: echo "$as_me: error: Can not find libpthread !" >&2;}
 7603:    { (exit 1); exit 1; }; }
 7604: fi
 7605: 
 7606: 
 7607: if test "$CYGWIN" != yes; then
 7608:     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 7609: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 7610: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 7611:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7612: else
 7613:   ac_check_lib_save_LIBS=$LIBS
 7614: LIBS="-ldl  $LIBS"
 7615: cat >conftest.$ac_ext <<_ACEOF
 7616: /* confdefs.h.  */
 7617: _ACEOF
 7618: cat confdefs.h >>conftest.$ac_ext
 7619: cat >>conftest.$ac_ext <<_ACEOF
 7620: /* end confdefs.h.  */
 7621: 
 7622: /* Override any GCC internal prototype to avoid an error.
 7623:    Use char because int might match the return type of a GCC
 7624:    builtin and then its argument prototype would still apply.  */
 7625: #ifdef __cplusplus
 7626: extern "C"
 7627: #endif
 7628: char dlopen ();
 7629: int
 7630: main ()
 7631: {
 7632: return dlopen ();
 7633:   ;
 7634:   return 0;
 7635: }
 7636: _ACEOF
 7637: rm -f conftest.$ac_objext conftest$ac_exeext
 7638: if { (ac_try="$ac_link"
 7639: case "(($ac_try" in
 7640:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7641:   *) ac_try_echo=$ac_try;;
 7642: esac
 7643: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7644:   (eval "$ac_link") 2>conftest.er1
 7645:   ac_status=$?
 7646:   grep -v '^ *+' conftest.er1 >conftest.err
 7647:   rm -f conftest.er1
 7648:   cat conftest.err >&5
 7649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7650:   (exit $ac_status); } && {
 7651:      test -z "$ac_c_werror_flag" ||
 7652:      test ! -s conftest.err
 7653:        } && test -s conftest$ac_exeext &&
 7654:        $as_test_x conftest$ac_exeext; then
 7655:   ac_cv_lib_dl_dlopen=yes
 7656: else
 7657:   echo "$as_me: failed program was:" >&5
 7658: sed 's/^/| /' conftest.$ac_ext >&5
 7659: 
 7660:     ac_cv_lib_dl_dlopen=no
 7661: fi
 7662: 
 7663: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7664:       conftest$ac_exeext conftest.$ac_ext
 7665: LIBS=$ac_check_lib_save_LIBS
 7666: fi
 7667: { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 7668: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
 7669: if test $ac_cv_lib_dl_dlopen = yes; then
 7670:   LIBS="$LIBS -ldl"
 7671: else
 7672:   { echo "$as_me:$LINENO: WARNING: libdl doesn't seem to be needed on this system." >&5
 7673: echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7674: fi
 7675: 
 7676: fi
 7677: 
 7678: { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
 7679: echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
 7680: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
 7681:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7682: else
 7683:   ac_check_lib_save_LIBS=$LIBS
 7684: LIBS="-lrt  $LIBS"
 7685: cat >conftest.$ac_ext <<_ACEOF
 7686: /* confdefs.h.  */
 7687: _ACEOF
 7688: cat confdefs.h >>conftest.$ac_ext
 7689: cat >>conftest.$ac_ext <<_ACEOF
 7690: /* end confdefs.h.  */
 7691: 
 7692: /* Override any GCC internal prototype to avoid an error.
 7693:    Use char because int might match the return type of a GCC
 7694:    builtin and then its argument prototype would still apply.  */
 7695: #ifdef __cplusplus
 7696: extern "C"
 7697: #endif
 7698: char nanosleep ();
 7699: int
 7700: main ()
 7701: {
 7702: return nanosleep ();
 7703:   ;
 7704:   return 0;
 7705: }
 7706: _ACEOF
 7707: rm -f conftest.$ac_objext conftest$ac_exeext
 7708: if { (ac_try="$ac_link"
 7709: case "(($ac_try" in
 7710:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7711:   *) ac_try_echo=$ac_try;;
 7712: esac
 7713: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7714:   (eval "$ac_link") 2>conftest.er1
 7715:   ac_status=$?
 7716:   grep -v '^ *+' conftest.er1 >conftest.err
 7717:   rm -f conftest.er1
 7718:   cat conftest.err >&5
 7719:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7720:   (exit $ac_status); } && {
 7721:      test -z "$ac_c_werror_flag" ||
 7722:      test ! -s conftest.err
 7723:        } && test -s conftest$ac_exeext &&
 7724:        $as_test_x conftest$ac_exeext; then
 7725:   ac_cv_lib_rt_nanosleep=yes
 7726: else
 7727:   echo "$as_me: failed program was:" >&5
 7728: sed 's/^/| /' conftest.$ac_ext >&5
 7729: 
 7730:     ac_cv_lib_rt_nanosleep=no
 7731: fi
 7732: 
 7733: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7734:       conftest$ac_exeext conftest.$ac_ext
 7735: LIBS=$ac_check_lib_save_LIBS
 7736: fi
 7737: { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
 7738: echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
 7739: if test $ac_cv_lib_rt_nanosleep = yes; then
 7740:   LIBS="$LIBS -lrt"
 7741: else
 7742:   { echo "$as_me:$LINENO: WARNING: librt doesn't seem to be needed on this system." >&5
 7743: echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7744: fi
 7745: 
 7746: 
 7747: { echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
 7748: echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6; }
 7749: if test "${ac_cv_lib_socket_bind+set}" = set; then
 7750:   echo $ECHO_N "(cached) $ECHO_C" >&6
 7751: else
 7752:   ac_check_lib_save_LIBS=$LIBS
 7753: LIBS="-lsocket  $LIBS"
 7754: cat >conftest.$ac_ext <<_ACEOF
 7755: /* confdefs.h.  */
 7756: _ACEOF
 7757: cat confdefs.h >>conftest.$ac_ext
 7758: cat >>conftest.$ac_ext <<_ACEOF
 7759: /* end confdefs.h.  */
 7760: 
 7761: /* Override any GCC internal prototype to avoid an error.
 7762:    Use char because int might match the return type of a GCC
 7763:    builtin and then its argument prototype would still apply.  */
 7764: #ifdef __cplusplus
 7765: extern "C"
 7766: #endif
 7767: char bind ();
 7768: int
 7769: main ()
 7770: {
 7771: return bind ();
 7772:   ;
 7773:   return 0;
 7774: }
 7775: _ACEOF
 7776: rm -f conftest.$ac_objext conftest$ac_exeext
 7777: if { (ac_try="$ac_link"
 7778: case "(($ac_try" in
 7779:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7780:   *) ac_try_echo=$ac_try;;
 7781: esac
 7782: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7783:   (eval "$ac_link") 2>conftest.er1
 7784:   ac_status=$?
 7785:   grep -v '^ *+' conftest.er1 >conftest.err
 7786:   rm -f conftest.er1
 7787:   cat conftest.err >&5
 7788:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7789:   (exit $ac_status); } && {
 7790:      test -z "$ac_c_werror_flag" ||
 7791:      test ! -s conftest.err
 7792:        } && test -s conftest$ac_exeext &&
 7793:        $as_test_x conftest$ac_exeext; then
 7794:   ac_cv_lib_socket_bind=yes
 7795: else
 7796:   echo "$as_me: failed program was:" >&5
 7797: sed 's/^/| /' conftest.$ac_ext >&5
 7798: 
 7799:     ac_cv_lib_socket_bind=no
 7800: fi
 7801: 
 7802: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 7803:       conftest$ac_exeext conftest.$ac_ext
 7804: LIBS=$ac_check_lib_save_LIBS
 7805: fi
 7806: { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
 7807: echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6; }
 7808: if test $ac_cv_lib_socket_bind = yes; then
 7809:   LIBS="$LIBS -lsocket"
 7810: else
 7811:   { echo "$as_me:$LINENO: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7812: echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7813: fi
 7814: 
 7815: 
 7816: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7817: 
 7818: # Check whether --with-mysql was given.
 7819: if test "${with_mysql+set}" = set; then
 7820:   withval=$with_mysql;
 7821: else
 7822:   with_mysql=check
 7823: fi
 7824: 
 7825: 
 7826: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7827:     libMySQLinc="-I/usr/include"
 7828:     libMySQLlib="-L/usr/lib"
 7829: 
 7830:     { echo "$as_me:$LINENO: checking for libmysql includes in /usr/include" >&5
 7831: echo $ECHO_N "checking for libmysql includes in /usr/include... $ECHO_C" >&6; }
 7832:     saved_CFLAGS="$CFLAGS"
 7833:     CFLAGS="$CFLAGS $libMySQLinc"
 7834:     cat >conftest.$ac_ext <<_ACEOF
 7835: /* confdefs.h.  */
 7836: _ACEOF
 7837: cat confdefs.h >>conftest.$ac_ext
 7838: cat >>conftest.$ac_ext <<_ACEOF
 7839: /* end confdefs.h.  */
 7840: #include "mysql.h"
 7841: int
 7842: main ()
 7843: {
 7844: 
 7845:   ;
 7846:   return 0;
 7847: }
 7848: _ACEOF
 7849: rm -f conftest.$ac_objext
 7850: if { (ac_try="$ac_compile"
 7851: case "(($ac_try" in
 7852:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7853:   *) ac_try_echo=$ac_try;;
 7854: esac
 7855: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7856:   (eval "$ac_compile") 2>conftest.er1
 7857:   ac_status=$?
 7858:   grep -v '^ *+' conftest.er1 >conftest.err
 7859:   rm -f conftest.er1
 7860:   cat conftest.err >&5
 7861:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7862:   (exit $ac_status); } && {
 7863:      test -z "$ac_c_werror_flag" ||
 7864:      test ! -s conftest.err
 7865:        } && test -s conftest.$ac_objext; then
 7866:   { echo "$as_me:$LINENO: result: yes" >&5
 7867: echo "${ECHO_T}yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7868:                     libMySQLinc=$libMySQLinc/mysql
 7869: else
 7870:   echo "$as_me: failed program was:" >&5
 7871: sed 's/^/| /' conftest.$ac_ext >&5
 7872: 
 7873:     { echo "$as_me:$LINENO: result: no" >&5
 7874: echo "${ECHO_T}no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7875: fi
 7876: 
 7877: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7878:     CFLAGS=$saved_CFLAGS
 7879: 
 7880:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7881:         { echo "$as_me:$LINENO: checking for libmysql includes in /usr/include/mysql" >&5
 7882: echo $ECHO_N "checking for libmysql includes in /usr/include/mysql... $ECHO_C" >&6; }
 7883:         saved_CFLAGS="$CFLAGS"
 7884:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7885:         cat >conftest.$ac_ext <<_ACEOF
 7886: /* confdefs.h.  */
 7887: _ACEOF
 7888: cat confdefs.h >>conftest.$ac_ext
 7889: cat >>conftest.$ac_ext <<_ACEOF
 7890: /* end confdefs.h.  */
 7891: #include "mysql.h"
 7892: int
 7893: main ()
 7894: {
 7895: 
 7896:   ;
 7897:   return 0;
 7898: }
 7899: _ACEOF
 7900: rm -f conftest.$ac_objext
 7901: if { (ac_try="$ac_compile"
 7902: case "(($ac_try" in
 7903:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7904:   *) ac_try_echo=$ac_try;;
 7905: esac
 7906: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7907:   (eval "$ac_compile") 2>conftest.er1
 7908:   ac_status=$?
 7909:   grep -v '^ *+' conftest.er1 >conftest.err
 7910:   rm -f conftest.er1
 7911:   cat conftest.err >&5
 7912:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7913:   (exit $ac_status); } && {
 7914:      test -z "$ac_c_werror_flag" ||
 7915:      test ! -s conftest.err
 7916:        } && test -s conftest.$ac_objext; then
 7917:   { echo "$as_me:$LINENO: result: yes" >&5
 7918: echo "${ECHO_T}yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7919:                         libMySQLinc=$libMySQLinc
 7920: else
 7921:   echo "$as_me: failed program was:" >&5
 7922: sed 's/^/| /' conftest.$ac_ext >&5
 7923: 
 7924:     { echo "$as_me:$LINENO: result: no" >&5
 7925: echo "${ECHO_T}no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7926: fi
 7927: 
 7928: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7929:         CFLAGS=$saved_CFLAGS
 7930:         libMySQLinc=$libMySQLinc/mysql
 7931:     fi
 7932: 
 7933:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7934:         { echo "$as_me:$LINENO: checking for libmysql includes in /usr/local/include" >&5
 7935: echo $ECHO_N "checking for libmysql includes in /usr/local/include... $ECHO_C" >&6; }
 7936:         saved_CFLAGS="$CFLAGS"
 7937:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7938:         cat >conftest.$ac_ext <<_ACEOF
 7939: /* confdefs.h.  */
 7940: _ACEOF
 7941: cat confdefs.h >>conftest.$ac_ext
 7942: cat >>conftest.$ac_ext <<_ACEOF
 7943: /* end confdefs.h.  */
 7944: #include "mysql.h"
 7945: int
 7946: main ()
 7947: {
 7948: 
 7949:   ;
 7950:   return 0;
 7951: }
 7952: _ACEOF
 7953: rm -f conftest.$ac_objext
 7954: if { (ac_try="$ac_compile"
 7955: case "(($ac_try" in
 7956:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 7957:   *) ac_try_echo=$ac_try;;
 7958: esac
 7959: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 7960:   (eval "$ac_compile") 2>conftest.er1
 7961:   ac_status=$?
 7962:   grep -v '^ *+' conftest.er1 >conftest.err
 7963:   rm -f conftest.er1
 7964:   cat conftest.err >&5
 7965:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7966:   (exit $ac_status); } && {
 7967:      test -z "$ac_c_werror_flag" ||
 7968:      test ! -s conftest.err
 7969:        } && test -s conftest.$ac_objext; then
 7970:   { echo "$as_me:$LINENO: result: yes" >&5
 7971: echo "${ECHO_T}yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7972:                         libMySQLinc=$libMySQLinc/mysql
 7973: else
 7974:   echo "$as_me: failed program was:" >&5
 7975: sed 's/^/| /' conftest.$ac_ext >&5
 7976: 
 7977:     { echo "$as_me:$LINENO: result: no" >&5
 7978: echo "${ECHO_T}no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7979: fi
 7980: 
 7981: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7982:         CFLAGS=$saved_CFLAGS
 7983:         libMySQLinc=$libMySQLinc/../local/include
 7984:         libMySQLlib=$libMySQLlib/../local/lib
 7985:     fi
 7986: 
 7987:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7988:         { echo "$as_me:$LINENO: checking for libmysql includes in /usr/local/include/mysql" >&5
 7989: echo $ECHO_N "checking for libmysql includes in /usr/local/include/mysql... $ECHO_C" >&6; }
 7990:         saved_CFLAGS="$CFLAGS"
 7991:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7992:         cat >conftest.$ac_ext <<_ACEOF
 7993: /* confdefs.h.  */
 7994: _ACEOF
 7995: cat confdefs.h >>conftest.$ac_ext
 7996: cat >>conftest.$ac_ext <<_ACEOF
 7997: /* end confdefs.h.  */
 7998: #include "mysql.h"
 7999: int
 8000: main ()
 8001: {
 8002: 
 8003:   ;
 8004:   return 0;
 8005: }
 8006: _ACEOF
 8007: rm -f conftest.$ac_objext
 8008: if { (ac_try="$ac_compile"
 8009: case "(($ac_try" in
 8010:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8011:   *) ac_try_echo=$ac_try;;
 8012: esac
 8013: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8014:   (eval "$ac_compile") 2>conftest.er1
 8015:   ac_status=$?
 8016:   grep -v '^ *+' conftest.er1 >conftest.err
 8017:   rm -f conftest.er1
 8018:   cat conftest.err >&5
 8019:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8020:   (exit $ac_status); } && {
 8021:      test -z "$ac_c_werror_flag" ||
 8022:      test ! -s conftest.err
 8023:        } && test -s conftest.$ac_objext; then
 8024:   { echo "$as_me:$LINENO: result: yes" >&5
 8025: echo "${ECHO_T}yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 8026:                         libMySQLinc=$libMySQLinc/mysql
 8027: else
 8028:   echo "$as_me: failed program was:" >&5
 8029: sed 's/^/| /' conftest.$ac_ext >&5
 8030: 
 8031:     { echo "$as_me:$LINENO: result: no" >&5
 8032: echo "${ECHO_T}no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 8033: fi
 8034: 
 8035: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8036:         CFLAGS=$saved_CFLAGS
 8037:         libMySQLinc=$libMySQLinc/../local/include/mysql
 8038:         libMySQLlib=$libMySQLlib/../local/lib
 8039:     fi
 8040: else
 8041:     if test "x$with_mysql" != xno; then
 8042:         libMySQLinc="-I$with_mysql/include"
 8043:         libMySQLlib="-L$with_mysql/lib"
 8044: 
 8045:         { echo "$as_me:$LINENO: checking for libmysql includes in $with_mysql" >&5
 8046: echo $ECHO_N "checking for libmysql includes in $with_mysql... $ECHO_C" >&6; }
 8047:         saved_CFLAGS="$CFLAGS"
 8048:         CFLAGS="$CFLAGS $libMySQLinc"
 8049:         cat >conftest.$ac_ext <<_ACEOF
 8050: /* confdefs.h.  */
 8051: _ACEOF
 8052: cat confdefs.h >>conftest.$ac_ext
 8053: cat >>conftest.$ac_ext <<_ACEOF
 8054: /* end confdefs.h.  */
 8055: #include "mysql.h"
 8056: int
 8057: main ()
 8058: {
 8059: 
 8060:   ;
 8061:   return 0;
 8062: }
 8063: _ACEOF
 8064: rm -f conftest.$ac_objext
 8065: if { (ac_try="$ac_compile"
 8066: case "(($ac_try" in
 8067:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8068:   *) ac_try_echo=$ac_try;;
 8069: esac
 8070: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8071:   (eval "$ac_compile") 2>conftest.er1
 8072:   ac_status=$?
 8073:   grep -v '^ *+' conftest.er1 >conftest.err
 8074:   rm -f conftest.er1
 8075:   cat conftest.err >&5
 8076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8077:   (exit $ac_status); } && {
 8078:      test -z "$ac_c_werror_flag" ||
 8079:      test ! -s conftest.err
 8080:        } && test -s conftest.$ac_objext; then
 8081:   { echo "$as_me:$LINENO: result: yes" >&5
 8082: echo "${ECHO_T}yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 8083:                         libMySQLinc=$libMySQLinc/mysql
 8084: else
 8085:   echo "$as_me: failed program was:" >&5
 8086: sed 's/^/| /' conftest.$ac_ext >&5
 8087: 
 8088:     { echo "$as_me:$LINENO: result: no" >&5
 8089: echo "${ECHO_T}no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 8090: fi
 8091: 
 8092: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8093:         CFLAGS=$saved_CFLAGS
 8094: 
 8095:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 8096:             { echo "$as_me:$LINENO: checking for libmysql includes in $with_mysql/mysql" >&5
 8097: echo $ECHO_N "checking for libmysql includes in $with_mysql/mysql... $ECHO_C" >&6; }
 8098:             saved_CFLAGS="$CFLAGS"
 8099:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 8100:             cat >conftest.$ac_ext <<_ACEOF
 8101: /* confdefs.h.  */
 8102: _ACEOF
 8103: cat confdefs.h >>conftest.$ac_ext
 8104: cat >>conftest.$ac_ext <<_ACEOF
 8105: /* end confdefs.h.  */
 8106: #include "mysql.h"
 8107: int
 8108: main ()
 8109: {
 8110: 
 8111:   ;
 8112:   return 0;
 8113: }
 8114: _ACEOF
 8115: rm -f conftest.$ac_objext
 8116: if { (ac_try="$ac_compile"
 8117: case "(($ac_try" in
 8118:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8119:   *) ac_try_echo=$ac_try;;
 8120: esac
 8121: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8122:   (eval "$ac_compile") 2>conftest.er1
 8123:   ac_status=$?
 8124:   grep -v '^ *+' conftest.er1 >conftest.err
 8125:   rm -f conftest.er1
 8126:   cat conftest.err >&5
 8127:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8128:   (exit $ac_status); } && {
 8129:      test -z "$ac_c_werror_flag" ||
 8130:      test ! -s conftest.err
 8131:        } && test -s conftest.$ac_objext; then
 8132:   { echo "$as_me:$LINENO: result: yes" >&5
 8133: echo "${ECHO_T}yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 8134:                             libMySQLinc=$libMySQLinc
 8135: else
 8136:   echo "$as_me: failed program was:" >&5
 8137: sed 's/^/| /' conftest.$ac_ext >&5
 8138: 
 8139:     { echo "$as_me:$LINENO: result: no" >&5
 8140: echo "${ECHO_T}no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 8141: fi
 8142: 
 8143: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8144:             CFLAGS=$saved_CFLAGS
 8145:             libMySQLinc=$libMySQLinc/mysql
 8146:         fi
 8147:     else
 8148:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 8149:     fi
 8150: fi
 8151: 
 8152: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 8153:     MYSQL_LIB=no
 8154: 
 8155:     if test $MYSQL_LIB = no; then
 8156:         { echo "$as_me:$LINENO: checking for libmysql libraries in $libMySQLlib" >&5
 8157: echo $ECHO_N "checking for libmysql libraries in $libMySQLlib... $ECHO_C" >&6; }
 8158:         saved_LIBS="$LIBS"
 8159:         LIBS="$LIBS $libMySQLlib $libMySQLinc -lmysqlclient_r"
 8160:         cat >conftest.$ac_ext <<_ACEOF
 8161: /* confdefs.h.  */
 8162: _ACEOF
 8163: cat confdefs.h >>conftest.$ac_ext
 8164: cat >>conftest.$ac_ext <<_ACEOF
 8165: /* end confdefs.h.  */
 8166: #include "mysql.h"
 8167: int
 8168: main ()
 8169: {
 8170: MYSQL mysql; mysql_init(&mysql);
 8171:   ;
 8172:   return 0;
 8173: }
 8174: _ACEOF
 8175: rm -f conftest.$ac_objext conftest$ac_exeext
 8176: if { (ac_try="$ac_link"
 8177: case "(($ac_try" in
 8178:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8179:   *) ac_try_echo=$ac_try;;
 8180: esac
 8181: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8182:   (eval "$ac_link") 2>conftest.er1
 8183:   ac_status=$?
 8184:   grep -v '^ *+' conftest.er1 >conftest.err
 8185:   rm -f conftest.er1
 8186:   cat conftest.err >&5
 8187:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8188:   (exit $ac_status); } && {
 8189:      test -z "$ac_c_werror_flag" ||
 8190:      test ! -s conftest.err
 8191:        } && test -s conftest$ac_exeext &&
 8192:        $as_test_x conftest$ac_exeext; then
 8193:   { echo "$as_me:$LINENO: result: yes" >&5
 8194: echo "${ECHO_T}yes" >&6; }; MYSQL_LIB="yes"
 8195: else
 8196:   echo "$as_me: failed program was:" >&5
 8197: sed 's/^/| /' conftest.$ac_ext >&5
 8198: 
 8199:     { echo "$as_me:$LINENO: result: no" >&5
 8200: echo "${ECHO_T}no" >&6; }; MYSQL_LIB="no"
 8201: fi
 8202: 
 8203: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 8204:       conftest$ac_exeext conftest.$ac_ext
 8205:         LIBS=$saved_LIBS;
 8206:         libMySQLlib="$libMySQLlib -lmysqlclient_r"
 8207:     fi
 8208: 
 8209:     if test $MYSQL_LIB = no; then
 8210:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 8211:     fi
 8212: fi
 8213: 
 8214: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 8215:     libMySQLinc=
 8216:     libMySQLlib=
 8217: fi
 8218: 
 8219: 
 8220: 
 8221: 
 8222: 
 8223: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 8224: 
 8225: # Check whether --with-postgresql was given.
 8226: if test "${with_postgresql+set}" = set; then
 8227:   withval=$with_postgresql;
 8228: else
 8229:   with_postgresql=check
 8230: fi
 8231: 
 8232: 
 8233: # with_postgresql : check [pas défini], yes [uniquement --with],
 8234: # no [--without], valeur [--with=valeur].
 8235: 
 8236: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 8237:     libPgSQLinc="-I/usr/include"
 8238:     libPgSQLlib="-L/usr/lib"
 8239: 
 8240:     { echo "$as_me:$LINENO: checking for libpq includes in /usr/include" >&5
 8241: echo $ECHO_N "checking for libpq includes in /usr/include... $ECHO_C" >&6; }
 8242:     saved_CFLAGS="$CFLAGS"
 8243:     CFLAGS="$CFLAGS $libPgSQLinc"
 8244:     cat >conftest.$ac_ext <<_ACEOF
 8245: /* confdefs.h.  */
 8246: _ACEOF
 8247: cat confdefs.h >>conftest.$ac_ext
 8248: cat >>conftest.$ac_ext <<_ACEOF
 8249: /* end confdefs.h.  */
 8250: #include "libpq-fe.h"
 8251: int
 8252: main ()
 8253: {
 8254: 
 8255:   ;
 8256:   return 0;
 8257: }
 8258: _ACEOF
 8259: rm -f conftest.$ac_objext
 8260: if { (ac_try="$ac_compile"
 8261: case "(($ac_try" in
 8262:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8263:   *) ac_try_echo=$ac_try;;
 8264: esac
 8265: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8266:   (eval "$ac_compile") 2>conftest.er1
 8267:   ac_status=$?
 8268:   grep -v '^ *+' conftest.er1 >conftest.err
 8269:   rm -f conftest.er1
 8270:   cat conftest.err >&5
 8271:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8272:   (exit $ac_status); } && {
 8273:      test -z "$ac_c_werror_flag" ||
 8274:      test ! -s conftest.err
 8275:        } && test -s conftest.$ac_objext; then
 8276:   { echo "$as_me:$LINENO: result: yes" >&5
 8277: echo "${ECHO_T}yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8278: else
 8279:   echo "$as_me: failed program was:" >&5
 8280: sed 's/^/| /' conftest.$ac_ext >&5
 8281: 
 8282:     { echo "$as_me:$LINENO: result: no" >&5
 8283: echo "${ECHO_T}no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8284: fi
 8285: 
 8286: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8287:     CFLAGS=$saved_CFLAGS
 8288: 
 8289:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 8290:         { echo "$as_me:$LINENO: checking for libpq includes in /usr/include/postgresql" >&5
 8291: echo $ECHO_N "checking for libpq includes in /usr/include/postgresql... $ECHO_C" >&6; }
 8292:         saved_CFLAGS="$CFLAGS"
 8293:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 8294:         cat >conftest.$ac_ext <<_ACEOF
 8295: /* confdefs.h.  */
 8296: _ACEOF
 8297: cat confdefs.h >>conftest.$ac_ext
 8298: cat >>conftest.$ac_ext <<_ACEOF
 8299: /* end confdefs.h.  */
 8300: #include "libpq-fe.h"
 8301: int
 8302: main ()
 8303: {
 8304: 
 8305:   ;
 8306:   return 0;
 8307: }
 8308: _ACEOF
 8309: rm -f conftest.$ac_objext
 8310: if { (ac_try="$ac_compile"
 8311: case "(($ac_try" in
 8312:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8313:   *) ac_try_echo=$ac_try;;
 8314: esac
 8315: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8316:   (eval "$ac_compile") 2>conftest.er1
 8317:   ac_status=$?
 8318:   grep -v '^ *+' conftest.er1 >conftest.err
 8319:   rm -f conftest.er1
 8320:   cat conftest.err >&5
 8321:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8322:   (exit $ac_status); } && {
 8323:      test -z "$ac_c_werror_flag" ||
 8324:      test ! -s conftest.err
 8325:        } && test -s conftest.$ac_objext; then
 8326:   { echo "$as_me:$LINENO: result: yes" >&5
 8327: echo "${ECHO_T}yes" >&6; };
 8328:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8329: else
 8330:   echo "$as_me: failed program was:" >&5
 8331: sed 's/^/| /' conftest.$ac_ext >&5
 8332: 
 8333:     { echo "$as_me:$LINENO: result: no" >&5
 8334: echo "${ECHO_T}no" >&6; };
 8335:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8336: fi
 8337: 
 8338: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8339:         CFLAGS=$saved_CFLAGS
 8340:         libPgSQLinc=$libPgSQLinc/postgresql
 8341:     fi
 8342: 
 8343:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 8344:         { echo "$as_me:$LINENO: checking for libpq includes in /usr/include/pgsql" >&5
 8345: echo $ECHO_N "checking for libpq includes in /usr/include/pgsql... $ECHO_C" >&6; }
 8346:         saved_CFLAGS="$CFLAGS"
 8347:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 8348:         cat >conftest.$ac_ext <<_ACEOF
 8349: /* confdefs.h.  */
 8350: _ACEOF
 8351: cat confdefs.h >>conftest.$ac_ext
 8352: cat >>conftest.$ac_ext <<_ACEOF
 8353: /* end confdefs.h.  */
 8354: #include "libpq-fe.h"
 8355: int
 8356: main ()
 8357: {
 8358: 
 8359:   ;
 8360:   return 0;
 8361: }
 8362: _ACEOF
 8363: rm -f conftest.$ac_objext
 8364: if { (ac_try="$ac_compile"
 8365: case "(($ac_try" in
 8366:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8367:   *) ac_try_echo=$ac_try;;
 8368: esac
 8369: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8370:   (eval "$ac_compile") 2>conftest.er1
 8371:   ac_status=$?
 8372:   grep -v '^ *+' conftest.er1 >conftest.err
 8373:   rm -f conftest.er1
 8374:   cat conftest.err >&5
 8375:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8376:   (exit $ac_status); } && {
 8377:      test -z "$ac_c_werror_flag" ||
 8378:      test ! -s conftest.err
 8379:        } && test -s conftest.$ac_objext; then
 8380:   { echo "$as_me:$LINENO: result: yes" >&5
 8381: echo "${ECHO_T}yes" >&6; };
 8382:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8383: else
 8384:   echo "$as_me: failed program was:" >&5
 8385: sed 's/^/| /' conftest.$ac_ext >&5
 8386: 
 8387:     { echo "$as_me:$LINENO: result: no" >&5
 8388: echo "${ECHO_T}no" >&6; };
 8389:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8390: fi
 8391: 
 8392: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8393:         CFLAGS=$saved_CFLAGS
 8394:         libPgSQLinc=$libPgSQLinc/pgsql
 8395:     fi
 8396: 
 8397:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 8398:         { echo "$as_me:$LINENO: checking for libpq includes in /usr/local/include" >&5
 8399: echo $ECHO_N "checking for libpq includes in /usr/local/include... $ECHO_C" >&6; }
 8400:         saved_CFLAGS="$CFLAGS"
 8401:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 8402:         cat >conftest.$ac_ext <<_ACEOF
 8403: /* confdefs.h.  */
 8404: _ACEOF
 8405: cat confdefs.h >>conftest.$ac_ext
 8406: cat >>conftest.$ac_ext <<_ACEOF
 8407: /* end confdefs.h.  */
 8408: #include "libpq-fe.h"
 8409: int
 8410: main ()
 8411: {
 8412: 
 8413:   ;
 8414:   return 0;
 8415: }
 8416: _ACEOF
 8417: rm -f conftest.$ac_objext
 8418: if { (ac_try="$ac_compile"
 8419: case "(($ac_try" in
 8420:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8421:   *) ac_try_echo=$ac_try;;
 8422: esac
 8423: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8424:   (eval "$ac_compile") 2>conftest.er1
 8425:   ac_status=$?
 8426:   grep -v '^ *+' conftest.er1 >conftest.err
 8427:   rm -f conftest.er1
 8428:   cat conftest.err >&5
 8429:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8430:   (exit $ac_status); } && {
 8431:      test -z "$ac_c_werror_flag" ||
 8432:      test ! -s conftest.err
 8433:        } && test -s conftest.$ac_objext; then
 8434:   { echo "$as_me:$LINENO: result: yes" >&5
 8435: echo "${ECHO_T}yes" >&6; };
 8436:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8437: else
 8438:   echo "$as_me: failed program was:" >&5
 8439: sed 's/^/| /' conftest.$ac_ext >&5
 8440: 
 8441:     { echo "$as_me:$LINENO: result: no" >&5
 8442: echo "${ECHO_T}no" >&6; };
 8443:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8444: fi
 8445: 
 8446: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8447:         CFLAGS=$saved_CFLAGS
 8448:         libPgSQLinc=$libPgSQLinc/../local/include
 8449:         libPgSQLlib=$libPgSQLlib/../local/lib
 8450:     fi
 8451: 
 8452:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 8453:         { echo "$as_me:$LINENO: checking for libpq includes in /usr/local/include/postgresql" >&5
 8454: echo $ECHO_N "checking for libpq includes in /usr/local/include/postgresql... $ECHO_C" >&6; }
 8455:         saved_CFLAGS="$CFLAGS"
 8456:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 8457:         cat >conftest.$ac_ext <<_ACEOF
 8458: /* confdefs.h.  */
 8459: _ACEOF
 8460: cat confdefs.h >>conftest.$ac_ext
 8461: cat >>conftest.$ac_ext <<_ACEOF
 8462: /* end confdefs.h.  */
 8463: #include "libpq-fe.h"
 8464: int
 8465: main ()
 8466: {
 8467: 
 8468:   ;
 8469:   return 0;
 8470: }
 8471: _ACEOF
 8472: rm -f conftest.$ac_objext
 8473: if { (ac_try="$ac_compile"
 8474: case "(($ac_try" in
 8475:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8476:   *) ac_try_echo=$ac_try;;
 8477: esac
 8478: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8479:   (eval "$ac_compile") 2>conftest.er1
 8480:   ac_status=$?
 8481:   grep -v '^ *+' conftest.er1 >conftest.err
 8482:   rm -f conftest.er1
 8483:   cat conftest.err >&5
 8484:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8485:   (exit $ac_status); } && {
 8486:      test -z "$ac_c_werror_flag" ||
 8487:      test ! -s conftest.err
 8488:        } && test -s conftest.$ac_objext; then
 8489:   { echo "$as_me:$LINENO: result: yes" >&5
 8490: echo "${ECHO_T}yes" >&6; };
 8491:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8492: else
 8493:   echo "$as_me: failed program was:" >&5
 8494: sed 's/^/| /' conftest.$ac_ext >&5
 8495: 
 8496:     { echo "$as_me:$LINENO: result: no" >&5
 8497: echo "${ECHO_T}no" >&6; };
 8498:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8499: fi
 8500: 
 8501: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8502:         CFLAGS=$saved_CFLAGS
 8503:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 8504:         libPgSQLlib=$libPgSQLlib/../local/lib
 8505:     fi
 8506: 
 8507:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 8508:         { echo "$as_me:$LINENO: checking for libpq includes in /usr/local/include/pgsql" >&5
 8509: echo $ECHO_N "checking for libpq includes in /usr/local/include/pgsql... $ECHO_C" >&6; }
 8510:         saved_CFLAGS="$CFLAGS"
 8511:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 8512:         cat >conftest.$ac_ext <<_ACEOF
 8513: /* confdefs.h.  */
 8514: _ACEOF
 8515: cat confdefs.h >>conftest.$ac_ext
 8516: cat >>conftest.$ac_ext <<_ACEOF
 8517: /* end confdefs.h.  */
 8518: #include "libpq-fe.h"
 8519: int
 8520: main ()
 8521: {
 8522: 
 8523:   ;
 8524:   return 0;
 8525: }
 8526: _ACEOF
 8527: rm -f conftest.$ac_objext
 8528: if { (ac_try="$ac_compile"
 8529: case "(($ac_try" in
 8530:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8531:   *) ac_try_echo=$ac_try;;
 8532: esac
 8533: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8534:   (eval "$ac_compile") 2>conftest.er1
 8535:   ac_status=$?
 8536:   grep -v '^ *+' conftest.er1 >conftest.err
 8537:   rm -f conftest.er1
 8538:   cat conftest.err >&5
 8539:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8540:   (exit $ac_status); } && {
 8541:      test -z "$ac_c_werror_flag" ||
 8542:      test ! -s conftest.err
 8543:        } && test -s conftest.$ac_objext; then
 8544:   { echo "$as_me:$LINENO: result: yes" >&5
 8545: echo "${ECHO_T}yes" >&6; };
 8546:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8547: else
 8548:   echo "$as_me: failed program was:" >&5
 8549: sed 's/^/| /' conftest.$ac_ext >&5
 8550: 
 8551:     { echo "$as_me:$LINENO: result: no" >&5
 8552: echo "${ECHO_T}no" >&6; };
 8553:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8554: fi
 8555: 
 8556: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8557:         CFLAGS=$saved_CFLAGS
 8558:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 8559:         libPgSQLlib=$libPgSQLlib/../local/lib
 8560:     fi
 8561: else
 8562:     if test "x$with_postgresql" != xno; then
 8563:         libPgSQLinc="-I$with_postgresql/include"
 8564:         libPgSQLlib="-L$with_postgresql/lib"
 8565: 
 8566:         { echo "$as_me:$LINENO: checking for libpq includes in $libPgSQLinc" >&5
 8567: echo $ECHO_N "checking for libpq includes in $libPgSQLinc... $ECHO_C" >&6; }
 8568:         saved_CFLAGS="$CFLAGS"
 8569:         CFLAGS="$CFLAGS $libPgSQLinc"
 8570:         cat >conftest.$ac_ext <<_ACEOF
 8571: /* confdefs.h.  */
 8572: _ACEOF
 8573: cat confdefs.h >>conftest.$ac_ext
 8574: cat >>conftest.$ac_ext <<_ACEOF
 8575: /* end confdefs.h.  */
 8576: #include "libpq-fe.h"
 8577: int
 8578: main ()
 8579: {
 8580: 
 8581:   ;
 8582:   return 0;
 8583: }
 8584: _ACEOF
 8585: rm -f conftest.$ac_objext
 8586: if { (ac_try="$ac_compile"
 8587: case "(($ac_try" in
 8588:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8589:   *) ac_try_echo=$ac_try;;
 8590: esac
 8591: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8592:   (eval "$ac_compile") 2>conftest.er1
 8593:   ac_status=$?
 8594:   grep -v '^ *+' conftest.er1 >conftest.err
 8595:   rm -f conftest.er1
 8596:   cat conftest.err >&5
 8597:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8598:   (exit $ac_status); } && {
 8599:      test -z "$ac_c_werror_flag" ||
 8600:      test ! -s conftest.err
 8601:        } && test -s conftest.$ac_objext; then
 8602:   { echo "$as_me:$LINENO: result: yes" >&5
 8603: echo "${ECHO_T}yes" >&6; };
 8604:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8605: else
 8606:   echo "$as_me: failed program was:" >&5
 8607: sed 's/^/| /' conftest.$ac_ext >&5
 8608: 
 8609:     { echo "$as_me:$LINENO: result: no" >&5
 8610: echo "${ECHO_T}no" >&6; };
 8611:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8612: fi
 8613: 
 8614: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8615:         CFLAGS=$saved_CFLAGS
 8616: 
 8617:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 8618:             { echo "$as_me:$LINENO: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 8619: echo $ECHO_N "checking for libpq includes in $libPgSQLinc/postgresql... $ECHO_C" >&6; }
 8620:             saved_CFLAGS="$CFLAGS"
 8621:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 8622:             cat >conftest.$ac_ext <<_ACEOF
 8623: /* confdefs.h.  */
 8624: _ACEOF
 8625: cat confdefs.h >>conftest.$ac_ext
 8626: cat >>conftest.$ac_ext <<_ACEOF
 8627: /* end confdefs.h.  */
 8628: #include "libpq-fe.h"
 8629: int
 8630: main ()
 8631: {
 8632: 
 8633:   ;
 8634:   return 0;
 8635: }
 8636: _ACEOF
 8637: rm -f conftest.$ac_objext
 8638: if { (ac_try="$ac_compile"
 8639: case "(($ac_try" in
 8640:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8641:   *) ac_try_echo=$ac_try;;
 8642: esac
 8643: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8644:   (eval "$ac_compile") 2>conftest.er1
 8645:   ac_status=$?
 8646:   grep -v '^ *+' conftest.er1 >conftest.err
 8647:   rm -f conftest.er1
 8648:   cat conftest.err >&5
 8649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8650:   (exit $ac_status); } && {
 8651:      test -z "$ac_c_werror_flag" ||
 8652:      test ! -s conftest.err
 8653:        } && test -s conftest.$ac_objext; then
 8654:   { echo "$as_me:$LINENO: result: yes" >&5
 8655: echo "${ECHO_T}yes" >&6; };
 8656:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8657: else
 8658:   echo "$as_me: failed program was:" >&5
 8659: sed 's/^/| /' conftest.$ac_ext >&5
 8660: 
 8661:     { echo "$as_me:$LINENO: result: no" >&5
 8662: echo "${ECHO_T}no" >&6; };
 8663:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8664: fi
 8665: 
 8666: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8667:             CFLAGS=$saved_CFLAGS
 8668:             libPgSQLinc=$libPgSQLinc/postgresql
 8669:         fi
 8670: 
 8671:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 8672:             { echo "$as_me:$LINENO: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 8673: echo $ECHO_N "checking for libpq includes in $libPgSQLinc/pgsql... $ECHO_C" >&6; }
 8674:             saved_CFLAGS="$CFLAGS"
 8675:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 8676:             cat >conftest.$ac_ext <<_ACEOF
 8677: /* confdefs.h.  */
 8678: _ACEOF
 8679: cat confdefs.h >>conftest.$ac_ext
 8680: cat >>conftest.$ac_ext <<_ACEOF
 8681: /* end confdefs.h.  */
 8682: #include "libpq-fe.h"
 8683: int
 8684: main ()
 8685: {
 8686: 
 8687:   ;
 8688:   return 0;
 8689: }
 8690: _ACEOF
 8691: rm -f conftest.$ac_objext
 8692: if { (ac_try="$ac_compile"
 8693: case "(($ac_try" in
 8694:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8695:   *) ac_try_echo=$ac_try;;
 8696: esac
 8697: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8698:   (eval "$ac_compile") 2>conftest.er1
 8699:   ac_status=$?
 8700:   grep -v '^ *+' conftest.er1 >conftest.err
 8701:   rm -f conftest.er1
 8702:   cat conftest.err >&5
 8703:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8704:   (exit $ac_status); } && {
 8705:      test -z "$ac_c_werror_flag" ||
 8706:      test ! -s conftest.err
 8707:        } && test -s conftest.$ac_objext; then
 8708:   { echo "$as_me:$LINENO: result: yes" >&5
 8709: echo "${ECHO_T}yes" >&6; };
 8710:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 8711: else
 8712:   echo "$as_me: failed program was:" >&5
 8713: sed 's/^/| /' conftest.$ac_ext >&5
 8714: 
 8715:     { echo "$as_me:$LINENO: result: no" >&5
 8716: echo "${ECHO_T}no" >&6; };
 8717:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8718: fi
 8719: 
 8720: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8721:             CFLAGS=$saved_CFLAGS
 8722:             libPgSQLinc=$libPgSQLinc/pgsql
 8723:         fi
 8724:     else
 8725:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 8726:     fi
 8727: fi
 8728: 
 8729: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 8730:     POSTGRESQL_LIB=no
 8731: 
 8732:     if test $POSTGRESQL_LIB = no; then
 8733:         { echo "$as_me:$LINENO: checking for libpq libraries in $libPgSQLlib" >&5
 8734: echo $ECHO_N "checking for libpq libraries in $libPgSQLlib... $ECHO_C" >&6; }
 8735:         saved_LIBS="$LIBS"
 8736:         LIBS="$LIBS $libPgSQLlib $libPgSQLinc -lpq"
 8737:         cat >conftest.$ac_ext <<_ACEOF
 8738: /* confdefs.h.  */
 8739: _ACEOF
 8740: cat confdefs.h >>conftest.$ac_ext
 8741: cat >>conftest.$ac_ext <<_ACEOF
 8742: /* end confdefs.h.  */
 8743: #include "libpq-fe.h"
 8744: int
 8745: main ()
 8746: {
 8747: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 8748:              PQconnectdb(conninfo);
 8749:   ;
 8750:   return 0;
 8751: }
 8752: _ACEOF
 8753: rm -f conftest.$ac_objext conftest$ac_exeext
 8754: if { (ac_try="$ac_link"
 8755: case "(($ac_try" in
 8756:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8757:   *) ac_try_echo=$ac_try;;
 8758: esac
 8759: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8760:   (eval "$ac_link") 2>conftest.er1
 8761:   ac_status=$?
 8762:   grep -v '^ *+' conftest.er1 >conftest.err
 8763:   rm -f conftest.er1
 8764:   cat conftest.err >&5
 8765:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8766:   (exit $ac_status); } && {
 8767:      test -z "$ac_c_werror_flag" ||
 8768:      test ! -s conftest.err
 8769:        } && test -s conftest$ac_exeext &&
 8770:        $as_test_x conftest$ac_exeext; then
 8771:   { echo "$as_me:$LINENO: result: yes" >&5
 8772: echo "${ECHO_T}yes" >&6; }; POSTGRESQL_LIB="yes"
 8773: else
 8774:   echo "$as_me: failed program was:" >&5
 8775: sed 's/^/| /' conftest.$ac_ext >&5
 8776: 
 8777:     { echo "$as_me:$LINENO: result: no" >&5
 8778: echo "${ECHO_T}no" >&6; }; POSTGRESQL_LIB="no"
 8779: fi
 8780: 
 8781: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 8782:       conftest$ac_exeext conftest.$ac_ext
 8783:         LIBS=$saved_LIBS;
 8784:         libPgSQLlib="$libPgSQLlib -lpq"
 8785:     fi
 8786: fi
 8787: 
 8788: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 8789:     libPgSQLinc=
 8790:     libPgSQLlib=
 8791: fi
 8792: 
 8793: 
 8794: 
 8795: 
 8796: 
 8797: { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 8798: echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 8799: if test "${ac_cv_path_GREP+set}" = set; then
 8800:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8801: else
 8802:   # Extract the first word of "grep ggrep" to use in msg output
 8803: if test -z "$GREP"; then
 8804: set dummy grep ggrep; ac_prog_name=$2
 8805: if test "${ac_cv_path_GREP+set}" = set; then
 8806:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8807: else
 8808:   ac_path_GREP_found=false
 8809: # Loop through the user's path and test for each of PROGNAME-LIST
 8810: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8811: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 8812: do
 8813:   IFS=$as_save_IFS
 8814:   test -z "$as_dir" && as_dir=.
 8815:   for ac_prog in grep ggrep; do
 8816:   for ac_exec_ext in '' $ac_executable_extensions; do
 8817:     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 8818:     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 8819:     # Check for GNU ac_path_GREP and select it if it is found.
 8820:   # Check for GNU $ac_path_GREP
 8821: case `"$ac_path_GREP" --version 2>&1` in
 8822: *GNU*)
 8823:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 8824: *)
 8825:   ac_count=0
 8826:   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 8827:   while :
 8828:   do
 8829:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 8830:     mv "conftest.tmp" "conftest.in"
 8831:     cp "conftest.in" "conftest.nl"
 8832:     echo 'GREP' >> "conftest.nl"
 8833:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 8834:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 8835:     ac_count=`expr $ac_count + 1`
 8836:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 8837:       # Best one so far, save it but keep looking for a better one
 8838:       ac_cv_path_GREP="$ac_path_GREP"
 8839:       ac_path_GREP_max=$ac_count
 8840:     fi
 8841:     # 10*(2^10) chars as input seems more than enough
 8842:     test $ac_count -gt 10 && break
 8843:   done
 8844:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 8845: esac
 8846: 
 8847: 
 8848:     $ac_path_GREP_found && break 3
 8849:   done
 8850: done
 8851: 
 8852: done
 8853: IFS=$as_save_IFS
 8854: 
 8855: 
 8856: fi
 8857: 
 8858: GREP="$ac_cv_path_GREP"
 8859: if test -z "$GREP"; then
 8860:   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 8861: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 8862:    { (exit 1); exit 1; }; }
 8863: fi
 8864: 
 8865: else
 8866:   ac_cv_path_GREP=$GREP
 8867: fi
 8868: 
 8869: 
 8870: fi
 8871: { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 8872: echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 8873:  GREP="$ac_cv_path_GREP"
 8874: 
 8875: 
 8876: { echo "$as_me:$LINENO: checking for egrep" >&5
 8877: echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 8878: if test "${ac_cv_path_EGREP+set}" = set; then
 8879:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8880: else
 8881:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 8882:    then ac_cv_path_EGREP="$GREP -E"
 8883:    else
 8884:      # Extract the first word of "egrep" to use in msg output
 8885: if test -z "$EGREP"; then
 8886: set dummy egrep; ac_prog_name=$2
 8887: if test "${ac_cv_path_EGREP+set}" = set; then
 8888:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8889: else
 8890:   ac_path_EGREP_found=false
 8891: # Loop through the user's path and test for each of PROGNAME-LIST
 8892: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8893: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 8894: do
 8895:   IFS=$as_save_IFS
 8896:   test -z "$as_dir" && as_dir=.
 8897:   for ac_prog in egrep; do
 8898:   for ac_exec_ext in '' $ac_executable_extensions; do
 8899:     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 8900:     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 8901:     # Check for GNU ac_path_EGREP and select it if it is found.
 8902:   # Check for GNU $ac_path_EGREP
 8903: case `"$ac_path_EGREP" --version 2>&1` in
 8904: *GNU*)
 8905:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 8906: *)
 8907:   ac_count=0
 8908:   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 8909:   while :
 8910:   do
 8911:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 8912:     mv "conftest.tmp" "conftest.in"
 8913:     cp "conftest.in" "conftest.nl"
 8914:     echo 'EGREP' >> "conftest.nl"
 8915:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 8916:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 8917:     ac_count=`expr $ac_count + 1`
 8918:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 8919:       # Best one so far, save it but keep looking for a better one
 8920:       ac_cv_path_EGREP="$ac_path_EGREP"
 8921:       ac_path_EGREP_max=$ac_count
 8922:     fi
 8923:     # 10*(2^10) chars as input seems more than enough
 8924:     test $ac_count -gt 10 && break
 8925:   done
 8926:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 8927: esac
 8928: 
 8929: 
 8930:     $ac_path_EGREP_found && break 3
 8931:   done
 8932: done
 8933: 
 8934: done
 8935: IFS=$as_save_IFS
 8936: 
 8937: 
 8938: fi
 8939: 
 8940: EGREP="$ac_cv_path_EGREP"
 8941: if test -z "$EGREP"; then
 8942:   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 8943: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 8944:    { (exit 1); exit 1; }; }
 8945: fi
 8946: 
 8947: else
 8948:   ac_cv_path_EGREP=$EGREP
 8949: fi
 8950: 
 8951: 
 8952:    fi
 8953: fi
 8954: { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 8955: echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 8956:  EGREP="$ac_cv_path_EGREP"
 8957: 
 8958: 
 8959: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 8960: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 8961: if test "${ac_cv_header_stdc+set}" = set; then
 8962:   echo $ECHO_N "(cached) $ECHO_C" >&6
 8963: else
 8964:   cat >conftest.$ac_ext <<_ACEOF
 8965: /* confdefs.h.  */
 8966: _ACEOF
 8967: cat confdefs.h >>conftest.$ac_ext
 8968: cat >>conftest.$ac_ext <<_ACEOF
 8969: /* end confdefs.h.  */
 8970: #include <stdlib.h>
 8971: #include <stdarg.h>
 8972: #include <string.h>
 8973: #include <float.h>
 8974: 
 8975: int
 8976: main ()
 8977: {
 8978: 
 8979:   ;
 8980:   return 0;
 8981: }
 8982: _ACEOF
 8983: rm -f conftest.$ac_objext
 8984: if { (ac_try="$ac_compile"
 8985: case "(($ac_try" in
 8986:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 8987:   *) ac_try_echo=$ac_try;;
 8988: esac
 8989: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 8990:   (eval "$ac_compile") 2>conftest.er1
 8991:   ac_status=$?
 8992:   grep -v '^ *+' conftest.er1 >conftest.err
 8993:   rm -f conftest.er1
 8994:   cat conftest.err >&5
 8995:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8996:   (exit $ac_status); } && {
 8997:      test -z "$ac_c_werror_flag" ||
 8998:      test ! -s conftest.err
 8999:        } && test -s conftest.$ac_objext; then
 9000:   ac_cv_header_stdc=yes
 9001: else
 9002:   echo "$as_me: failed program was:" >&5
 9003: sed 's/^/| /' conftest.$ac_ext >&5
 9004: 
 9005:     ac_cv_header_stdc=no
 9006: fi
 9007: 
 9008: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9009: 
 9010: if test $ac_cv_header_stdc = yes; then
 9011:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 9012:   cat >conftest.$ac_ext <<_ACEOF
 9013: /* confdefs.h.  */
 9014: _ACEOF
 9015: cat confdefs.h >>conftest.$ac_ext
 9016: cat >>conftest.$ac_ext <<_ACEOF
 9017: /* end confdefs.h.  */
 9018: #include <string.h>
 9019: 
 9020: _ACEOF
 9021: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 9022:   $EGREP "memchr" >/dev/null 2>&1; then
 9023:   :
 9024: else
 9025:   ac_cv_header_stdc=no
 9026: fi
 9027: rm -f conftest*
 9028: 
 9029: fi
 9030: 
 9031: if test $ac_cv_header_stdc = yes; then
 9032:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 9033:   cat >conftest.$ac_ext <<_ACEOF
 9034: /* confdefs.h.  */
 9035: _ACEOF
 9036: cat confdefs.h >>conftest.$ac_ext
 9037: cat >>conftest.$ac_ext <<_ACEOF
 9038: /* end confdefs.h.  */
 9039: #include <stdlib.h>
 9040: 
 9041: _ACEOF
 9042: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 9043:   $EGREP "free" >/dev/null 2>&1; then
 9044:   :
 9045: else
 9046:   ac_cv_header_stdc=no
 9047: fi
 9048: rm -f conftest*
 9049: 
 9050: fi
 9051: 
 9052: if test $ac_cv_header_stdc = yes; then
 9053:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 9054:   if test "$cross_compiling" = yes; then
 9055:   :
 9056: else
 9057:   cat >conftest.$ac_ext <<_ACEOF
 9058: /* confdefs.h.  */
 9059: _ACEOF
 9060: cat confdefs.h >>conftest.$ac_ext
 9061: cat >>conftest.$ac_ext <<_ACEOF
 9062: /* end confdefs.h.  */
 9063: #include <ctype.h>
 9064: #include <stdlib.h>
 9065: #if ((' ' & 0x0FF) == 0x020)
 9066: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 9067: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 9068: #else
 9069: # define ISLOWER(c) \
 9070:            (('a' <= (c) && (c) <= 'i') \
 9071:              || ('j' <= (c) && (c) <= 'r') \
 9072:              || ('s' <= (c) && (c) <= 'z'))
 9073: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 9074: #endif
 9075: 
 9076: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 9077: int
 9078: main ()
 9079: {
 9080:   int i;
 9081:   for (i = 0; i < 256; i++)
 9082:     if (XOR (islower (i), ISLOWER (i))
 9083:     || toupper (i) != TOUPPER (i))
 9084:       return 2;
 9085:   return 0;
 9086: }
 9087: _ACEOF
 9088: rm -f conftest$ac_exeext
 9089: if { (ac_try="$ac_link"
 9090: case "(($ac_try" in
 9091:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9092:   *) ac_try_echo=$ac_try;;
 9093: esac
 9094: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9095:   (eval "$ac_link") 2>&5
 9096:   ac_status=$?
 9097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9098:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 9099:   { (case "(($ac_try" in
 9100:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9101:   *) ac_try_echo=$ac_try;;
 9102: esac
 9103: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9104:   (eval "$ac_try") 2>&5
 9105:   ac_status=$?
 9106:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9107:   (exit $ac_status); }; }; then
 9108:   :
 9109: else
 9110:   echo "$as_me: program exited with status $ac_status" >&5
 9111: echo "$as_me: failed program was:" >&5
 9112: sed 's/^/| /' conftest.$ac_ext >&5
 9113: 
 9114: ( exit $ac_status )
 9115: ac_cv_header_stdc=no
 9116: fi
 9117: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 9118: fi
 9119: 
 9120: 
 9121: fi
 9122: fi
 9123: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 9124: echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 9125: if test $ac_cv_header_stdc = yes; then
 9126: 
 9127: cat >>confdefs.h <<\_ACEOF
 9128: #define STDC_HEADERS 1
 9129: _ACEOF
 9130: 
 9131: fi
 9132: 
 9133: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 9134: 
 9135: 
 9136: 
 9137: 
 9138: 
 9139: 
 9140: 
 9141: 
 9142: 
 9143: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 9144:           inttypes.h stdint.h unistd.h
 9145: do
 9146: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 9147: { echo "$as_me:$LINENO: checking for $ac_header" >&5
 9148: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 9149: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 9150:   echo $ECHO_N "(cached) $ECHO_C" >&6
 9151: else
 9152:   cat >conftest.$ac_ext <<_ACEOF
 9153: /* confdefs.h.  */
 9154: _ACEOF
 9155: cat confdefs.h >>conftest.$ac_ext
 9156: cat >>conftest.$ac_ext <<_ACEOF
 9157: /* end confdefs.h.  */
 9158: $ac_includes_default
 9159: 
 9160: #include <$ac_header>
 9161: _ACEOF
 9162: rm -f conftest.$ac_objext
 9163: if { (ac_try="$ac_compile"
 9164: case "(($ac_try" in
 9165:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9166:   *) ac_try_echo=$ac_try;;
 9167: esac
 9168: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9169:   (eval "$ac_compile") 2>conftest.er1
 9170:   ac_status=$?
 9171:   grep -v '^ *+' conftest.er1 >conftest.err
 9172:   rm -f conftest.er1
 9173:   cat conftest.err >&5
 9174:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9175:   (exit $ac_status); } && {
 9176:      test -z "$ac_c_werror_flag" ||
 9177:      test ! -s conftest.err
 9178:        } && test -s conftest.$ac_objext; then
 9179:   eval "$as_ac_Header=yes"
 9180: else
 9181:   echo "$as_me: failed program was:" >&5
 9182: sed 's/^/| /' conftest.$ac_ext >&5
 9183: 
 9184:     eval "$as_ac_Header=no"
 9185: fi
 9186: 
 9187: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9188: fi
 9189: ac_res=`eval echo '${'$as_ac_Header'}'`
 9190:            { echo "$as_me:$LINENO: result: $ac_res" >&5
 9191: echo "${ECHO_T}$ac_res" >&6; }
 9192: if test `eval echo '${'$as_ac_Header'}'` = yes; then
 9193:   cat >>confdefs.h <<_ACEOF
 9194: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 9195: _ACEOF
 9196: 
 9197: fi
 9198: 
 9199: done
 9200: 
 9201: 
 9202: { echo "$as_me:$LINENO: checking for void *" >&5
 9203: echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
 9204: if test "${ac_cv_type_void_p+set}" = set; then
 9205:   echo $ECHO_N "(cached) $ECHO_C" >&6
 9206: else
 9207:   cat >conftest.$ac_ext <<_ACEOF
 9208: /* confdefs.h.  */
 9209: _ACEOF
 9210: cat confdefs.h >>conftest.$ac_ext
 9211: cat >>conftest.$ac_ext <<_ACEOF
 9212: /* end confdefs.h.  */
 9213: $ac_includes_default
 9214: typedef void * ac__type_new_;
 9215: int
 9216: main ()
 9217: {
 9218: if ((ac__type_new_ *) 0)
 9219:   return 0;
 9220: if (sizeof (ac__type_new_))
 9221:   return 0;
 9222:   ;
 9223:   return 0;
 9224: }
 9225: _ACEOF
 9226: rm -f conftest.$ac_objext
 9227: if { (ac_try="$ac_compile"
 9228: case "(($ac_try" in
 9229:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9230:   *) ac_try_echo=$ac_try;;
 9231: esac
 9232: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9233:   (eval "$ac_compile") 2>conftest.er1
 9234:   ac_status=$?
 9235:   grep -v '^ *+' conftest.er1 >conftest.err
 9236:   rm -f conftest.er1
 9237:   cat conftest.err >&5
 9238:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9239:   (exit $ac_status); } && {
 9240:      test -z "$ac_c_werror_flag" ||
 9241:      test ! -s conftest.err
 9242:        } && test -s conftest.$ac_objext; then
 9243:   ac_cv_type_void_p=yes
 9244: else
 9245:   echo "$as_me: failed program was:" >&5
 9246: sed 's/^/| /' conftest.$ac_ext >&5
 9247: 
 9248:     ac_cv_type_void_p=no
 9249: fi
 9250: 
 9251: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9252: fi
 9253: { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
 9254: echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
 9255: 
 9256: # The cast to long int works around a bug in the HP C Compiler
 9257: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 9258: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 9259: # This bug is HP SR number 8606223364.
 9260: { echo "$as_me:$LINENO: checking size of void *" >&5
 9261: echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
 9262: if test "${ac_cv_sizeof_void_p+set}" = set; then
 9263:   echo $ECHO_N "(cached) $ECHO_C" >&6
 9264: else
 9265:   if test "$cross_compiling" = yes; then
 9266:   # Depending upon the size, compute the lo and hi bounds.
 9267: cat >conftest.$ac_ext <<_ACEOF
 9268: /* confdefs.h.  */
 9269: _ACEOF
 9270: cat confdefs.h >>conftest.$ac_ext
 9271: cat >>conftest.$ac_ext <<_ACEOF
 9272: /* end confdefs.h.  */
 9273: $ac_includes_default
 9274:    typedef void * ac__type_sizeof_;
 9275: int
 9276: main ()
 9277: {
 9278: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
 9279: test_array [0] = 0
 9280: 
 9281:   ;
 9282:   return 0;
 9283: }
 9284: _ACEOF
 9285: rm -f conftest.$ac_objext
 9286: if { (ac_try="$ac_compile"
 9287: case "(($ac_try" in
 9288:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9289:   *) ac_try_echo=$ac_try;;
 9290: esac
 9291: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9292:   (eval "$ac_compile") 2>conftest.er1
 9293:   ac_status=$?
 9294:   grep -v '^ *+' conftest.er1 >conftest.err
 9295:   rm -f conftest.er1
 9296:   cat conftest.err >&5
 9297:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9298:   (exit $ac_status); } && {
 9299:      test -z "$ac_c_werror_flag" ||
 9300:      test ! -s conftest.err
 9301:        } && test -s conftest.$ac_objext; then
 9302:   ac_lo=0 ac_mid=0
 9303:   while :; do
 9304:     cat >conftest.$ac_ext <<_ACEOF
 9305: /* confdefs.h.  */
 9306: _ACEOF
 9307: cat confdefs.h >>conftest.$ac_ext
 9308: cat >>conftest.$ac_ext <<_ACEOF
 9309: /* end confdefs.h.  */
 9310: $ac_includes_default
 9311:    typedef void * ac__type_sizeof_;
 9312: int
 9313: main ()
 9314: {
 9315: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 9316: test_array [0] = 0
 9317: 
 9318:   ;
 9319:   return 0;
 9320: }
 9321: _ACEOF
 9322: rm -f conftest.$ac_objext
 9323: if { (ac_try="$ac_compile"
 9324: case "(($ac_try" in
 9325:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9326:   *) ac_try_echo=$ac_try;;
 9327: esac
 9328: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9329:   (eval "$ac_compile") 2>conftest.er1
 9330:   ac_status=$?
 9331:   grep -v '^ *+' conftest.er1 >conftest.err
 9332:   rm -f conftest.er1
 9333:   cat conftest.err >&5
 9334:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9335:   (exit $ac_status); } && {
 9336:      test -z "$ac_c_werror_flag" ||
 9337:      test ! -s conftest.err
 9338:        } && test -s conftest.$ac_objext; then
 9339:   ac_hi=$ac_mid; break
 9340: else
 9341:   echo "$as_me: failed program was:" >&5
 9342: sed 's/^/| /' conftest.$ac_ext >&5
 9343: 
 9344:     ac_lo=`expr $ac_mid + 1`
 9345:             if test $ac_lo -le $ac_mid; then
 9346:               ac_lo= ac_hi=
 9347:               break
 9348:             fi
 9349:             ac_mid=`expr 2 '*' $ac_mid + 1`
 9350: fi
 9351: 
 9352: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9353:   done
 9354: else
 9355:   echo "$as_me: failed program was:" >&5
 9356: sed 's/^/| /' conftest.$ac_ext >&5
 9357: 
 9358:     cat >conftest.$ac_ext <<_ACEOF
 9359: /* confdefs.h.  */
 9360: _ACEOF
 9361: cat confdefs.h >>conftest.$ac_ext
 9362: cat >>conftest.$ac_ext <<_ACEOF
 9363: /* end confdefs.h.  */
 9364: $ac_includes_default
 9365:    typedef void * ac__type_sizeof_;
 9366: int
 9367: main ()
 9368: {
 9369: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
 9370: test_array [0] = 0
 9371: 
 9372:   ;
 9373:   return 0;
 9374: }
 9375: _ACEOF
 9376: rm -f conftest.$ac_objext
 9377: if { (ac_try="$ac_compile"
 9378: case "(($ac_try" in
 9379:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9380:   *) ac_try_echo=$ac_try;;
 9381: esac
 9382: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9383:   (eval "$ac_compile") 2>conftest.er1
 9384:   ac_status=$?
 9385:   grep -v '^ *+' conftest.er1 >conftest.err
 9386:   rm -f conftest.er1
 9387:   cat conftest.err >&5
 9388:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9389:   (exit $ac_status); } && {
 9390:      test -z "$ac_c_werror_flag" ||
 9391:      test ! -s conftest.err
 9392:        } && test -s conftest.$ac_objext; then
 9393:   ac_hi=-1 ac_mid=-1
 9394:   while :; do
 9395:     cat >conftest.$ac_ext <<_ACEOF
 9396: /* confdefs.h.  */
 9397: _ACEOF
 9398: cat confdefs.h >>conftest.$ac_ext
 9399: cat >>conftest.$ac_ext <<_ACEOF
 9400: /* end confdefs.h.  */
 9401: $ac_includes_default
 9402:    typedef void * ac__type_sizeof_;
 9403: int
 9404: main ()
 9405: {
 9406: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
 9407: test_array [0] = 0
 9408: 
 9409:   ;
 9410:   return 0;
 9411: }
 9412: _ACEOF
 9413: rm -f conftest.$ac_objext
 9414: if { (ac_try="$ac_compile"
 9415: case "(($ac_try" in
 9416:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9417:   *) ac_try_echo=$ac_try;;
 9418: esac
 9419: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9420:   (eval "$ac_compile") 2>conftest.er1
 9421:   ac_status=$?
 9422:   grep -v '^ *+' conftest.er1 >conftest.err
 9423:   rm -f conftest.er1
 9424:   cat conftest.err >&5
 9425:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9426:   (exit $ac_status); } && {
 9427:      test -z "$ac_c_werror_flag" ||
 9428:      test ! -s conftest.err
 9429:        } && test -s conftest.$ac_objext; then
 9430:   ac_lo=$ac_mid; break
 9431: else
 9432:   echo "$as_me: failed program was:" >&5
 9433: sed 's/^/| /' conftest.$ac_ext >&5
 9434: 
 9435:     ac_hi=`expr '(' $ac_mid ')' - 1`
 9436:             if test $ac_mid -le $ac_hi; then
 9437:               ac_lo= ac_hi=
 9438:               break
 9439:             fi
 9440:             ac_mid=`expr 2 '*' $ac_mid`
 9441: fi
 9442: 
 9443: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9444:   done
 9445: else
 9446:   echo "$as_me: failed program was:" >&5
 9447: sed 's/^/| /' conftest.$ac_ext >&5
 9448: 
 9449:     ac_lo= ac_hi=
 9450: fi
 9451: 
 9452: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9453: fi
 9454: 
 9455: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9456: # Binary search between lo and hi bounds.
 9457: while test "x$ac_lo" != "x$ac_hi"; do
 9458:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 9459:   cat >conftest.$ac_ext <<_ACEOF
 9460: /* confdefs.h.  */
 9461: _ACEOF
 9462: cat confdefs.h >>conftest.$ac_ext
 9463: cat >>conftest.$ac_ext <<_ACEOF
 9464: /* end confdefs.h.  */
 9465: $ac_includes_default
 9466:    typedef void * ac__type_sizeof_;
 9467: int
 9468: main ()
 9469: {
 9470: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 9471: test_array [0] = 0
 9472: 
 9473:   ;
 9474:   return 0;
 9475: }
 9476: _ACEOF
 9477: rm -f conftest.$ac_objext
 9478: if { (ac_try="$ac_compile"
 9479: case "(($ac_try" in
 9480:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9481:   *) ac_try_echo=$ac_try;;
 9482: esac
 9483: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9484:   (eval "$ac_compile") 2>conftest.er1
 9485:   ac_status=$?
 9486:   grep -v '^ *+' conftest.er1 >conftest.err
 9487:   rm -f conftest.er1
 9488:   cat conftest.err >&5
 9489:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9490:   (exit $ac_status); } && {
 9491:      test -z "$ac_c_werror_flag" ||
 9492:      test ! -s conftest.err
 9493:        } && test -s conftest.$ac_objext; then
 9494:   ac_hi=$ac_mid
 9495: else
 9496:   echo "$as_me: failed program was:" >&5
 9497: sed 's/^/| /' conftest.$ac_ext >&5
 9498: 
 9499:     ac_lo=`expr '(' $ac_mid ')' + 1`
 9500: fi
 9501: 
 9502: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9503: done
 9504: case $ac_lo in
 9505: ?*) ac_cv_sizeof_void_p=$ac_lo;;
 9506: '') if test "$ac_cv_type_void_p" = yes; then
 9507:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
 9508: See \`config.log' for more details." >&5
 9509: echo "$as_me: error: cannot compute sizeof (void *)
 9510: See \`config.log' for more details." >&2;}
 9511:    { (exit 77); exit 77; }; }
 9512:    else
 9513:      ac_cv_sizeof_void_p=0
 9514:    fi ;;
 9515: esac
 9516: else
 9517:   cat >conftest.$ac_ext <<_ACEOF
 9518: /* confdefs.h.  */
 9519: _ACEOF
 9520: cat confdefs.h >>conftest.$ac_ext
 9521: cat >>conftest.$ac_ext <<_ACEOF
 9522: /* end confdefs.h.  */
 9523: $ac_includes_default
 9524:    typedef void * ac__type_sizeof_;
 9525: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 9526: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
 9527: #include <stdio.h>
 9528: #include <stdlib.h>
 9529: int
 9530: main ()
 9531: {
 9532: 
 9533:   FILE *f = fopen ("conftest.val", "w");
 9534:   if (! f)
 9535:     return 1;
 9536:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
 9537:     {
 9538:       long int i = longval ();
 9539:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
 9540:     return 1;
 9541:       fprintf (f, "%ld\n", i);
 9542:     }
 9543:   else
 9544:     {
 9545:       unsigned long int i = ulongval ();
 9546:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
 9547:     return 1;
 9548:       fprintf (f, "%lu\n", i);
 9549:     }
 9550:   return ferror (f) || fclose (f) != 0;
 9551: 
 9552:   ;
 9553:   return 0;
 9554: }
 9555: _ACEOF
 9556: rm -f conftest$ac_exeext
 9557: if { (ac_try="$ac_link"
 9558: case "(($ac_try" in
 9559:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9560:   *) ac_try_echo=$ac_try;;
 9561: esac
 9562: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9563:   (eval "$ac_link") 2>&5
 9564:   ac_status=$?
 9565:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9566:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 9567:   { (case "(($ac_try" in
 9568:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9569:   *) ac_try_echo=$ac_try;;
 9570: esac
 9571: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9572:   (eval "$ac_try") 2>&5
 9573:   ac_status=$?
 9574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9575:   (exit $ac_status); }; }; then
 9576:   ac_cv_sizeof_void_p=`cat conftest.val`
 9577: else
 9578:   echo "$as_me: program exited with status $ac_status" >&5
 9579: echo "$as_me: failed program was:" >&5
 9580: sed 's/^/| /' conftest.$ac_ext >&5
 9581: 
 9582: ( exit $ac_status )
 9583: if test "$ac_cv_type_void_p" = yes; then
 9584:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
 9585: See \`config.log' for more details." >&5
 9586: echo "$as_me: error: cannot compute sizeof (void *)
 9587: See \`config.log' for more details." >&2;}
 9588:    { (exit 77); exit 77; }; }
 9589:    else
 9590:      ac_cv_sizeof_void_p=0
 9591:    fi
 9592: fi
 9593: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 9594: fi
 9595: rm -f conftest.val
 9596: fi
 9597: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
 9598: echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
 9599: 
 9600: 
 9601: 
 9602: cat >>confdefs.h <<_ACEOF
 9603: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 9604: _ACEOF
 9605: 
 9606: 
 9607: { echo "$as_me:$LINENO: checking for char" >&5
 9608: echo $ECHO_N "checking for char... $ECHO_C" >&6; }
 9609: if test "${ac_cv_type_char+set}" = set; then
 9610:   echo $ECHO_N "(cached) $ECHO_C" >&6
 9611: else
 9612:   cat >conftest.$ac_ext <<_ACEOF
 9613: /* confdefs.h.  */
 9614: _ACEOF
 9615: cat confdefs.h >>conftest.$ac_ext
 9616: cat >>conftest.$ac_ext <<_ACEOF
 9617: /* end confdefs.h.  */
 9618: $ac_includes_default
 9619: typedef char ac__type_new_;
 9620: int
 9621: main ()
 9622: {
 9623: if ((ac__type_new_ *) 0)
 9624:   return 0;
 9625: if (sizeof (ac__type_new_))
 9626:   return 0;
 9627:   ;
 9628:   return 0;
 9629: }
 9630: _ACEOF
 9631: rm -f conftest.$ac_objext
 9632: if { (ac_try="$ac_compile"
 9633: case "(($ac_try" in
 9634:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9635:   *) ac_try_echo=$ac_try;;
 9636: esac
 9637: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9638:   (eval "$ac_compile") 2>conftest.er1
 9639:   ac_status=$?
 9640:   grep -v '^ *+' conftest.er1 >conftest.err
 9641:   rm -f conftest.er1
 9642:   cat conftest.err >&5
 9643:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9644:   (exit $ac_status); } && {
 9645:      test -z "$ac_c_werror_flag" ||
 9646:      test ! -s conftest.err
 9647:        } && test -s conftest.$ac_objext; then
 9648:   ac_cv_type_char=yes
 9649: else
 9650:   echo "$as_me: failed program was:" >&5
 9651: sed 's/^/| /' conftest.$ac_ext >&5
 9652: 
 9653:     ac_cv_type_char=no
 9654: fi
 9655: 
 9656: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9657: fi
 9658: { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
 9659: echo "${ECHO_T}$ac_cv_type_char" >&6; }
 9660: 
 9661: # The cast to long int works around a bug in the HP C Compiler
 9662: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 9663: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 9664: # This bug is HP SR number 8606223364.
 9665: { echo "$as_me:$LINENO: checking size of char" >&5
 9666: echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
 9667: if test "${ac_cv_sizeof_char+set}" = set; then
 9668:   echo $ECHO_N "(cached) $ECHO_C" >&6
 9669: else
 9670:   if test "$cross_compiling" = yes; then
 9671:   # Depending upon the size, compute the lo and hi bounds.
 9672: cat >conftest.$ac_ext <<_ACEOF
 9673: /* confdefs.h.  */
 9674: _ACEOF
 9675: cat confdefs.h >>conftest.$ac_ext
 9676: cat >>conftest.$ac_ext <<_ACEOF
 9677: /* end confdefs.h.  */
 9678: $ac_includes_default
 9679:    typedef char ac__type_sizeof_;
 9680: int
 9681: main ()
 9682: {
 9683: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
 9684: test_array [0] = 0
 9685: 
 9686:   ;
 9687:   return 0;
 9688: }
 9689: _ACEOF
 9690: rm -f conftest.$ac_objext
 9691: if { (ac_try="$ac_compile"
 9692: case "(($ac_try" in
 9693:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9694:   *) ac_try_echo=$ac_try;;
 9695: esac
 9696: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9697:   (eval "$ac_compile") 2>conftest.er1
 9698:   ac_status=$?
 9699:   grep -v '^ *+' conftest.er1 >conftest.err
 9700:   rm -f conftest.er1
 9701:   cat conftest.err >&5
 9702:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9703:   (exit $ac_status); } && {
 9704:      test -z "$ac_c_werror_flag" ||
 9705:      test ! -s conftest.err
 9706:        } && test -s conftest.$ac_objext; then
 9707:   ac_lo=0 ac_mid=0
 9708:   while :; do
 9709:     cat >conftest.$ac_ext <<_ACEOF
 9710: /* confdefs.h.  */
 9711: _ACEOF
 9712: cat confdefs.h >>conftest.$ac_ext
 9713: cat >>conftest.$ac_ext <<_ACEOF
 9714: /* end confdefs.h.  */
 9715: $ac_includes_default
 9716:    typedef char ac__type_sizeof_;
 9717: int
 9718: main ()
 9719: {
 9720: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 9721: test_array [0] = 0
 9722: 
 9723:   ;
 9724:   return 0;
 9725: }
 9726: _ACEOF
 9727: rm -f conftest.$ac_objext
 9728: if { (ac_try="$ac_compile"
 9729: case "(($ac_try" in
 9730:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9731:   *) ac_try_echo=$ac_try;;
 9732: esac
 9733: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9734:   (eval "$ac_compile") 2>conftest.er1
 9735:   ac_status=$?
 9736:   grep -v '^ *+' conftest.er1 >conftest.err
 9737:   rm -f conftest.er1
 9738:   cat conftest.err >&5
 9739:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9740:   (exit $ac_status); } && {
 9741:      test -z "$ac_c_werror_flag" ||
 9742:      test ! -s conftest.err
 9743:        } && test -s conftest.$ac_objext; then
 9744:   ac_hi=$ac_mid; break
 9745: else
 9746:   echo "$as_me: failed program was:" >&5
 9747: sed 's/^/| /' conftest.$ac_ext >&5
 9748: 
 9749:     ac_lo=`expr $ac_mid + 1`
 9750:             if test $ac_lo -le $ac_mid; then
 9751:               ac_lo= ac_hi=
 9752:               break
 9753:             fi
 9754:             ac_mid=`expr 2 '*' $ac_mid + 1`
 9755: fi
 9756: 
 9757: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9758:   done
 9759: else
 9760:   echo "$as_me: failed program was:" >&5
 9761: sed 's/^/| /' conftest.$ac_ext >&5
 9762: 
 9763:     cat >conftest.$ac_ext <<_ACEOF
 9764: /* confdefs.h.  */
 9765: _ACEOF
 9766: cat confdefs.h >>conftest.$ac_ext
 9767: cat >>conftest.$ac_ext <<_ACEOF
 9768: /* end confdefs.h.  */
 9769: $ac_includes_default
 9770:    typedef char ac__type_sizeof_;
 9771: int
 9772: main ()
 9773: {
 9774: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
 9775: test_array [0] = 0
 9776: 
 9777:   ;
 9778:   return 0;
 9779: }
 9780: _ACEOF
 9781: rm -f conftest.$ac_objext
 9782: if { (ac_try="$ac_compile"
 9783: case "(($ac_try" in
 9784:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9785:   *) ac_try_echo=$ac_try;;
 9786: esac
 9787: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9788:   (eval "$ac_compile") 2>conftest.er1
 9789:   ac_status=$?
 9790:   grep -v '^ *+' conftest.er1 >conftest.err
 9791:   rm -f conftest.er1
 9792:   cat conftest.err >&5
 9793:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9794:   (exit $ac_status); } && {
 9795:      test -z "$ac_c_werror_flag" ||
 9796:      test ! -s conftest.err
 9797:        } && test -s conftest.$ac_objext; then
 9798:   ac_hi=-1 ac_mid=-1
 9799:   while :; do
 9800:     cat >conftest.$ac_ext <<_ACEOF
 9801: /* confdefs.h.  */
 9802: _ACEOF
 9803: cat confdefs.h >>conftest.$ac_ext
 9804: cat >>conftest.$ac_ext <<_ACEOF
 9805: /* end confdefs.h.  */
 9806: $ac_includes_default
 9807:    typedef char ac__type_sizeof_;
 9808: int
 9809: main ()
 9810: {
 9811: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
 9812: test_array [0] = 0
 9813: 
 9814:   ;
 9815:   return 0;
 9816: }
 9817: _ACEOF
 9818: rm -f conftest.$ac_objext
 9819: if { (ac_try="$ac_compile"
 9820: case "(($ac_try" in
 9821:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9822:   *) ac_try_echo=$ac_try;;
 9823: esac
 9824: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9825:   (eval "$ac_compile") 2>conftest.er1
 9826:   ac_status=$?
 9827:   grep -v '^ *+' conftest.er1 >conftest.err
 9828:   rm -f conftest.er1
 9829:   cat conftest.err >&5
 9830:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9831:   (exit $ac_status); } && {
 9832:      test -z "$ac_c_werror_flag" ||
 9833:      test ! -s conftest.err
 9834:        } && test -s conftest.$ac_objext; then
 9835:   ac_lo=$ac_mid; break
 9836: else
 9837:   echo "$as_me: failed program was:" >&5
 9838: sed 's/^/| /' conftest.$ac_ext >&5
 9839: 
 9840:     ac_hi=`expr '(' $ac_mid ')' - 1`
 9841:             if test $ac_mid -le $ac_hi; then
 9842:               ac_lo= ac_hi=
 9843:               break
 9844:             fi
 9845:             ac_mid=`expr 2 '*' $ac_mid`
 9846: fi
 9847: 
 9848: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9849:   done
 9850: else
 9851:   echo "$as_me: failed program was:" >&5
 9852: sed 's/^/| /' conftest.$ac_ext >&5
 9853: 
 9854:     ac_lo= ac_hi=
 9855: fi
 9856: 
 9857: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9858: fi
 9859: 
 9860: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9861: # Binary search between lo and hi bounds.
 9862: while test "x$ac_lo" != "x$ac_hi"; do
 9863:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 9864:   cat >conftest.$ac_ext <<_ACEOF
 9865: /* confdefs.h.  */
 9866: _ACEOF
 9867: cat confdefs.h >>conftest.$ac_ext
 9868: cat >>conftest.$ac_ext <<_ACEOF
 9869: /* end confdefs.h.  */
 9870: $ac_includes_default
 9871:    typedef char ac__type_sizeof_;
 9872: int
 9873: main ()
 9874: {
 9875: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 9876: test_array [0] = 0
 9877: 
 9878:   ;
 9879:   return 0;
 9880: }
 9881: _ACEOF
 9882: rm -f conftest.$ac_objext
 9883: if { (ac_try="$ac_compile"
 9884: case "(($ac_try" in
 9885:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9886:   *) ac_try_echo=$ac_try;;
 9887: esac
 9888: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9889:   (eval "$ac_compile") 2>conftest.er1
 9890:   ac_status=$?
 9891:   grep -v '^ *+' conftest.er1 >conftest.err
 9892:   rm -f conftest.er1
 9893:   cat conftest.err >&5
 9894:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9895:   (exit $ac_status); } && {
 9896:      test -z "$ac_c_werror_flag" ||
 9897:      test ! -s conftest.err
 9898:        } && test -s conftest.$ac_objext; then
 9899:   ac_hi=$ac_mid
 9900: else
 9901:   echo "$as_me: failed program was:" >&5
 9902: sed 's/^/| /' conftest.$ac_ext >&5
 9903: 
 9904:     ac_lo=`expr '(' $ac_mid ')' + 1`
 9905: fi
 9906: 
 9907: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9908: done
 9909: case $ac_lo in
 9910: ?*) ac_cv_sizeof_char=$ac_lo;;
 9911: '') if test "$ac_cv_type_char" = yes; then
 9912:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
 9913: See \`config.log' for more details." >&5
 9914: echo "$as_me: error: cannot compute sizeof (char)
 9915: See \`config.log' for more details." >&2;}
 9916:    { (exit 77); exit 77; }; }
 9917:    else
 9918:      ac_cv_sizeof_char=0
 9919:    fi ;;
 9920: esac
 9921: else
 9922:   cat >conftest.$ac_ext <<_ACEOF
 9923: /* confdefs.h.  */
 9924: _ACEOF
 9925: cat confdefs.h >>conftest.$ac_ext
 9926: cat >>conftest.$ac_ext <<_ACEOF
 9927: /* end confdefs.h.  */
 9928: $ac_includes_default
 9929:    typedef char ac__type_sizeof_;
 9930: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 9931: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
 9932: #include <stdio.h>
 9933: #include <stdlib.h>
 9934: int
 9935: main ()
 9936: {
 9937: 
 9938:   FILE *f = fopen ("conftest.val", "w");
 9939:   if (! f)
 9940:     return 1;
 9941:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
 9942:     {
 9943:       long int i = longval ();
 9944:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
 9945:     return 1;
 9946:       fprintf (f, "%ld\n", i);
 9947:     }
 9948:   else
 9949:     {
 9950:       unsigned long int i = ulongval ();
 9951:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
 9952:     return 1;
 9953:       fprintf (f, "%lu\n", i);
 9954:     }
 9955:   return ferror (f) || fclose (f) != 0;
 9956: 
 9957:   ;
 9958:   return 0;
 9959: }
 9960: _ACEOF
 9961: rm -f conftest$ac_exeext
 9962: if { (ac_try="$ac_link"
 9963: case "(($ac_try" in
 9964:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9965:   *) ac_try_echo=$ac_try;;
 9966: esac
 9967: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9968:   (eval "$ac_link") 2>&5
 9969:   ac_status=$?
 9970:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9971:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 9972:   { (case "(($ac_try" in
 9973:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 9974:   *) ac_try_echo=$ac_try;;
 9975: esac
 9976: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 9977:   (eval "$ac_try") 2>&5
 9978:   ac_status=$?
 9979:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9980:   (exit $ac_status); }; }; then
 9981:   ac_cv_sizeof_char=`cat conftest.val`
 9982: else
 9983:   echo "$as_me: program exited with status $ac_status" >&5
 9984: echo "$as_me: failed program was:" >&5
 9985: sed 's/^/| /' conftest.$ac_ext >&5
 9986: 
 9987: ( exit $ac_status )
 9988: if test "$ac_cv_type_char" = yes; then
 9989:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
 9990: See \`config.log' for more details." >&5
 9991: echo "$as_me: error: cannot compute sizeof (char)
 9992: See \`config.log' for more details." >&2;}
 9993:    { (exit 77); exit 77; }; }
 9994:    else
 9995:      ac_cv_sizeof_char=0
 9996:    fi
 9997: fi
 9998: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 9999: fi
10000: rm -f conftest.val
10001: fi
10002: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
10003: echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
10004: 
10005: 
10006: 
10007: cat >>confdefs.h <<_ACEOF
10008: #define SIZEOF_CHAR $ac_cv_sizeof_char
10009: _ACEOF
10010: 
10011: 
10012: { echo "$as_me:$LINENO: checking for short int" >&5
10013: echo $ECHO_N "checking for short int... $ECHO_C" >&6; }
10014: if test "${ac_cv_type_short_int+set}" = set; then
10015:   echo $ECHO_N "(cached) $ECHO_C" >&6
10016: else
10017:   cat >conftest.$ac_ext <<_ACEOF
10018: /* confdefs.h.  */
10019: _ACEOF
10020: cat confdefs.h >>conftest.$ac_ext
10021: cat >>conftest.$ac_ext <<_ACEOF
10022: /* end confdefs.h.  */
10023: $ac_includes_default
10024: typedef short int ac__type_new_;
10025: int
10026: main ()
10027: {
10028: if ((ac__type_new_ *) 0)
10029:   return 0;
10030: if (sizeof (ac__type_new_))
10031:   return 0;
10032:   ;
10033:   return 0;
10034: }
10035: _ACEOF
10036: rm -f conftest.$ac_objext
10037: if { (ac_try="$ac_compile"
10038: case "(($ac_try" in
10039:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10040:   *) ac_try_echo=$ac_try;;
10041: esac
10042: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10043:   (eval "$ac_compile") 2>conftest.er1
10044:   ac_status=$?
10045:   grep -v '^ *+' conftest.er1 >conftest.err
10046:   rm -f conftest.er1
10047:   cat conftest.err >&5
10048:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049:   (exit $ac_status); } && {
10050:      test -z "$ac_c_werror_flag" ||
10051:      test ! -s conftest.err
10052:        } && test -s conftest.$ac_objext; then
10053:   ac_cv_type_short_int=yes
10054: else
10055:   echo "$as_me: failed program was:" >&5
10056: sed 's/^/| /' conftest.$ac_ext >&5
10057: 
10058:     ac_cv_type_short_int=no
10059: fi
10060: 
10061: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10062: fi
10063: { echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
10064: echo "${ECHO_T}$ac_cv_type_short_int" >&6; }
10065: 
10066: # The cast to long int works around a bug in the HP C Compiler
10067: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10068: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10069: # This bug is HP SR number 8606223364.
10070: { echo "$as_me:$LINENO: checking size of short int" >&5
10071: echo $ECHO_N "checking size of short int... $ECHO_C" >&6; }
10072: if test "${ac_cv_sizeof_short_int+set}" = set; then
10073:   echo $ECHO_N "(cached) $ECHO_C" >&6
10074: else
10075:   if test "$cross_compiling" = yes; then
10076:   # Depending upon the size, compute the lo and hi bounds.
10077: cat >conftest.$ac_ext <<_ACEOF
10078: /* confdefs.h.  */
10079: _ACEOF
10080: cat confdefs.h >>conftest.$ac_ext
10081: cat >>conftest.$ac_ext <<_ACEOF
10082: /* end confdefs.h.  */
10083: $ac_includes_default
10084:    typedef short int ac__type_sizeof_;
10085: int
10086: main ()
10087: {
10088: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
10089: test_array [0] = 0
10090: 
10091:   ;
10092:   return 0;
10093: }
10094: _ACEOF
10095: rm -f conftest.$ac_objext
10096: if { (ac_try="$ac_compile"
10097: case "(($ac_try" in
10098:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10099:   *) ac_try_echo=$ac_try;;
10100: esac
10101: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10102:   (eval "$ac_compile") 2>conftest.er1
10103:   ac_status=$?
10104:   grep -v '^ *+' conftest.er1 >conftest.err
10105:   rm -f conftest.er1
10106:   cat conftest.err >&5
10107:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108:   (exit $ac_status); } && {
10109:      test -z "$ac_c_werror_flag" ||
10110:      test ! -s conftest.err
10111:        } && test -s conftest.$ac_objext; then
10112:   ac_lo=0 ac_mid=0
10113:   while :; do
10114:     cat >conftest.$ac_ext <<_ACEOF
10115: /* confdefs.h.  */
10116: _ACEOF
10117: cat confdefs.h >>conftest.$ac_ext
10118: cat >>conftest.$ac_ext <<_ACEOF
10119: /* end confdefs.h.  */
10120: $ac_includes_default
10121:    typedef short int ac__type_sizeof_;
10122: int
10123: main ()
10124: {
10125: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10126: test_array [0] = 0
10127: 
10128:   ;
10129:   return 0;
10130: }
10131: _ACEOF
10132: rm -f conftest.$ac_objext
10133: if { (ac_try="$ac_compile"
10134: case "(($ac_try" in
10135:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10136:   *) ac_try_echo=$ac_try;;
10137: esac
10138: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10139:   (eval "$ac_compile") 2>conftest.er1
10140:   ac_status=$?
10141:   grep -v '^ *+' conftest.er1 >conftest.err
10142:   rm -f conftest.er1
10143:   cat conftest.err >&5
10144:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145:   (exit $ac_status); } && {
10146:      test -z "$ac_c_werror_flag" ||
10147:      test ! -s conftest.err
10148:        } && test -s conftest.$ac_objext; then
10149:   ac_hi=$ac_mid; break
10150: else
10151:   echo "$as_me: failed program was:" >&5
10152: sed 's/^/| /' conftest.$ac_ext >&5
10153: 
10154:     ac_lo=`expr $ac_mid + 1`
10155:             if test $ac_lo -le $ac_mid; then
10156:               ac_lo= ac_hi=
10157:               break
10158:             fi
10159:             ac_mid=`expr 2 '*' $ac_mid + 1`
10160: fi
10161: 
10162: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10163:   done
10164: else
10165:   echo "$as_me: failed program was:" >&5
10166: sed 's/^/| /' conftest.$ac_ext >&5
10167: 
10168:     cat >conftest.$ac_ext <<_ACEOF
10169: /* confdefs.h.  */
10170: _ACEOF
10171: cat confdefs.h >>conftest.$ac_ext
10172: cat >>conftest.$ac_ext <<_ACEOF
10173: /* end confdefs.h.  */
10174: $ac_includes_default
10175:    typedef short int ac__type_sizeof_;
10176: int
10177: main ()
10178: {
10179: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
10180: test_array [0] = 0
10181: 
10182:   ;
10183:   return 0;
10184: }
10185: _ACEOF
10186: rm -f conftest.$ac_objext
10187: if { (ac_try="$ac_compile"
10188: case "(($ac_try" in
10189:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10190:   *) ac_try_echo=$ac_try;;
10191: esac
10192: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10193:   (eval "$ac_compile") 2>conftest.er1
10194:   ac_status=$?
10195:   grep -v '^ *+' conftest.er1 >conftest.err
10196:   rm -f conftest.er1
10197:   cat conftest.err >&5
10198:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199:   (exit $ac_status); } && {
10200:      test -z "$ac_c_werror_flag" ||
10201:      test ! -s conftest.err
10202:        } && test -s conftest.$ac_objext; then
10203:   ac_hi=-1 ac_mid=-1
10204:   while :; do
10205:     cat >conftest.$ac_ext <<_ACEOF
10206: /* confdefs.h.  */
10207: _ACEOF
10208: cat confdefs.h >>conftest.$ac_ext
10209: cat >>conftest.$ac_ext <<_ACEOF
10210: /* end confdefs.h.  */
10211: $ac_includes_default
10212:    typedef short int ac__type_sizeof_;
10213: int
10214: main ()
10215: {
10216: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
10217: test_array [0] = 0
10218: 
10219:   ;
10220:   return 0;
10221: }
10222: _ACEOF
10223: rm -f conftest.$ac_objext
10224: if { (ac_try="$ac_compile"
10225: case "(($ac_try" in
10226:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10227:   *) ac_try_echo=$ac_try;;
10228: esac
10229: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10230:   (eval "$ac_compile") 2>conftest.er1
10231:   ac_status=$?
10232:   grep -v '^ *+' conftest.er1 >conftest.err
10233:   rm -f conftest.er1
10234:   cat conftest.err >&5
10235:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236:   (exit $ac_status); } && {
10237:      test -z "$ac_c_werror_flag" ||
10238:      test ! -s conftest.err
10239:        } && test -s conftest.$ac_objext; then
10240:   ac_lo=$ac_mid; break
10241: else
10242:   echo "$as_me: failed program was:" >&5
10243: sed 's/^/| /' conftest.$ac_ext >&5
10244: 
10245:     ac_hi=`expr '(' $ac_mid ')' - 1`
10246:             if test $ac_mid -le $ac_hi; then
10247:               ac_lo= ac_hi=
10248:               break
10249:             fi
10250:             ac_mid=`expr 2 '*' $ac_mid`
10251: fi
10252: 
10253: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10254:   done
10255: else
10256:   echo "$as_me: failed program was:" >&5
10257: sed 's/^/| /' conftest.$ac_ext >&5
10258: 
10259:     ac_lo= ac_hi=
10260: fi
10261: 
10262: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10263: fi
10264: 
10265: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10266: # Binary search between lo and hi bounds.
10267: while test "x$ac_lo" != "x$ac_hi"; do
10268:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10269:   cat >conftest.$ac_ext <<_ACEOF
10270: /* confdefs.h.  */
10271: _ACEOF
10272: cat confdefs.h >>conftest.$ac_ext
10273: cat >>conftest.$ac_ext <<_ACEOF
10274: /* end confdefs.h.  */
10275: $ac_includes_default
10276:    typedef short int ac__type_sizeof_;
10277: int
10278: main ()
10279: {
10280: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10281: test_array [0] = 0
10282: 
10283:   ;
10284:   return 0;
10285: }
10286: _ACEOF
10287: rm -f conftest.$ac_objext
10288: if { (ac_try="$ac_compile"
10289: case "(($ac_try" in
10290:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10291:   *) ac_try_echo=$ac_try;;
10292: esac
10293: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10294:   (eval "$ac_compile") 2>conftest.er1
10295:   ac_status=$?
10296:   grep -v '^ *+' conftest.er1 >conftest.err
10297:   rm -f conftest.er1
10298:   cat conftest.err >&5
10299:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300:   (exit $ac_status); } && {
10301:      test -z "$ac_c_werror_flag" ||
10302:      test ! -s conftest.err
10303:        } && test -s conftest.$ac_objext; then
10304:   ac_hi=$ac_mid
10305: else
10306:   echo "$as_me: failed program was:" >&5
10307: sed 's/^/| /' conftest.$ac_ext >&5
10308: 
10309:     ac_lo=`expr '(' $ac_mid ')' + 1`
10310: fi
10311: 
10312: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10313: done
10314: case $ac_lo in
10315: ?*) ac_cv_sizeof_short_int=$ac_lo;;
10316: '') if test "$ac_cv_type_short_int" = yes; then
10317:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
10318: See \`config.log' for more details." >&5
10319: echo "$as_me: error: cannot compute sizeof (short int)
10320: See \`config.log' for more details." >&2;}
10321:    { (exit 77); exit 77; }; }
10322:    else
10323:      ac_cv_sizeof_short_int=0
10324:    fi ;;
10325: esac
10326: else
10327:   cat >conftest.$ac_ext <<_ACEOF
10328: /* confdefs.h.  */
10329: _ACEOF
10330: cat confdefs.h >>conftest.$ac_ext
10331: cat >>conftest.$ac_ext <<_ACEOF
10332: /* end confdefs.h.  */
10333: $ac_includes_default
10334:    typedef short int ac__type_sizeof_;
10335: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10336: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10337: #include <stdio.h>
10338: #include <stdlib.h>
10339: int
10340: main ()
10341: {
10342: 
10343:   FILE *f = fopen ("conftest.val", "w");
10344:   if (! f)
10345:     return 1;
10346:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10347:     {
10348:       long int i = longval ();
10349:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
10350:     return 1;
10351:       fprintf (f, "%ld\n", i);
10352:     }
10353:   else
10354:     {
10355:       unsigned long int i = ulongval ();
10356:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
10357:     return 1;
10358:       fprintf (f, "%lu\n", i);
10359:     }
10360:   return ferror (f) || fclose (f) != 0;
10361: 
10362:   ;
10363:   return 0;
10364: }
10365: _ACEOF
10366: rm -f conftest$ac_exeext
10367: if { (ac_try="$ac_link"
10368: case "(($ac_try" in
10369:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10370:   *) ac_try_echo=$ac_try;;
10371: esac
10372: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10373:   (eval "$ac_link") 2>&5
10374:   ac_status=$?
10375:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10377:   { (case "(($ac_try" in
10378:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10379:   *) ac_try_echo=$ac_try;;
10380: esac
10381: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10382:   (eval "$ac_try") 2>&5
10383:   ac_status=$?
10384:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385:   (exit $ac_status); }; }; then
10386:   ac_cv_sizeof_short_int=`cat conftest.val`
10387: else
10388:   echo "$as_me: program exited with status $ac_status" >&5
10389: echo "$as_me: failed program was:" >&5
10390: sed 's/^/| /' conftest.$ac_ext >&5
10391: 
10392: ( exit $ac_status )
10393: if test "$ac_cv_type_short_int" = yes; then
10394:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
10395: See \`config.log' for more details." >&5
10396: echo "$as_me: error: cannot compute sizeof (short int)
10397: See \`config.log' for more details." >&2;}
10398:    { (exit 77); exit 77; }; }
10399:    else
10400:      ac_cv_sizeof_short_int=0
10401:    fi
10402: fi
10403: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10404: fi
10405: rm -f conftest.val
10406: fi
10407: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
10408: echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6; }
10409: 
10410: 
10411: 
10412: cat >>confdefs.h <<_ACEOF
10413: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
10414: _ACEOF
10415: 
10416: 
10417: { echo "$as_me:$LINENO: checking for int" >&5
10418: echo $ECHO_N "checking for int... $ECHO_C" >&6; }
10419: if test "${ac_cv_type_int+set}" = set; then
10420:   echo $ECHO_N "(cached) $ECHO_C" >&6
10421: else
10422:   cat >conftest.$ac_ext <<_ACEOF
10423: /* confdefs.h.  */
10424: _ACEOF
10425: cat confdefs.h >>conftest.$ac_ext
10426: cat >>conftest.$ac_ext <<_ACEOF
10427: /* end confdefs.h.  */
10428: $ac_includes_default
10429: typedef int ac__type_new_;
10430: int
10431: main ()
10432: {
10433: if ((ac__type_new_ *) 0)
10434:   return 0;
10435: if (sizeof (ac__type_new_))
10436:   return 0;
10437:   ;
10438:   return 0;
10439: }
10440: _ACEOF
10441: rm -f conftest.$ac_objext
10442: if { (ac_try="$ac_compile"
10443: case "(($ac_try" in
10444:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10445:   *) ac_try_echo=$ac_try;;
10446: esac
10447: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10448:   (eval "$ac_compile") 2>conftest.er1
10449:   ac_status=$?
10450:   grep -v '^ *+' conftest.er1 >conftest.err
10451:   rm -f conftest.er1
10452:   cat conftest.err >&5
10453:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454:   (exit $ac_status); } && {
10455:      test -z "$ac_c_werror_flag" ||
10456:      test ! -s conftest.err
10457:        } && test -s conftest.$ac_objext; then
10458:   ac_cv_type_int=yes
10459: else
10460:   echo "$as_me: failed program was:" >&5
10461: sed 's/^/| /' conftest.$ac_ext >&5
10462: 
10463:     ac_cv_type_int=no
10464: fi
10465: 
10466: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10467: fi
10468: { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
10469: echo "${ECHO_T}$ac_cv_type_int" >&6; }
10470: 
10471: # The cast to long int works around a bug in the HP C Compiler
10472: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10473: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10474: # This bug is HP SR number 8606223364.
10475: { echo "$as_me:$LINENO: checking size of int" >&5
10476: echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
10477: if test "${ac_cv_sizeof_int+set}" = set; then
10478:   echo $ECHO_N "(cached) $ECHO_C" >&6
10479: else
10480:   if test "$cross_compiling" = yes; then
10481:   # Depending upon the size, compute the lo and hi bounds.
10482: cat >conftest.$ac_ext <<_ACEOF
10483: /* confdefs.h.  */
10484: _ACEOF
10485: cat confdefs.h >>conftest.$ac_ext
10486: cat >>conftest.$ac_ext <<_ACEOF
10487: /* end confdefs.h.  */
10488: $ac_includes_default
10489:    typedef int ac__type_sizeof_;
10490: int
10491: main ()
10492: {
10493: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
10494: test_array [0] = 0
10495: 
10496:   ;
10497:   return 0;
10498: }
10499: _ACEOF
10500: rm -f conftest.$ac_objext
10501: if { (ac_try="$ac_compile"
10502: case "(($ac_try" in
10503:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10504:   *) ac_try_echo=$ac_try;;
10505: esac
10506: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10507:   (eval "$ac_compile") 2>conftest.er1
10508:   ac_status=$?
10509:   grep -v '^ *+' conftest.er1 >conftest.err
10510:   rm -f conftest.er1
10511:   cat conftest.err >&5
10512:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513:   (exit $ac_status); } && {
10514:      test -z "$ac_c_werror_flag" ||
10515:      test ! -s conftest.err
10516:        } && test -s conftest.$ac_objext; then
10517:   ac_lo=0 ac_mid=0
10518:   while :; do
10519:     cat >conftest.$ac_ext <<_ACEOF
10520: /* confdefs.h.  */
10521: _ACEOF
10522: cat confdefs.h >>conftest.$ac_ext
10523: cat >>conftest.$ac_ext <<_ACEOF
10524: /* end confdefs.h.  */
10525: $ac_includes_default
10526:    typedef int ac__type_sizeof_;
10527: int
10528: main ()
10529: {
10530: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10531: test_array [0] = 0
10532: 
10533:   ;
10534:   return 0;
10535: }
10536: _ACEOF
10537: rm -f conftest.$ac_objext
10538: if { (ac_try="$ac_compile"
10539: case "(($ac_try" in
10540:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10541:   *) ac_try_echo=$ac_try;;
10542: esac
10543: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10544:   (eval "$ac_compile") 2>conftest.er1
10545:   ac_status=$?
10546:   grep -v '^ *+' conftest.er1 >conftest.err
10547:   rm -f conftest.er1
10548:   cat conftest.err >&5
10549:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550:   (exit $ac_status); } && {
10551:      test -z "$ac_c_werror_flag" ||
10552:      test ! -s conftest.err
10553:        } && test -s conftest.$ac_objext; then
10554:   ac_hi=$ac_mid; break
10555: else
10556:   echo "$as_me: failed program was:" >&5
10557: sed 's/^/| /' conftest.$ac_ext >&5
10558: 
10559:     ac_lo=`expr $ac_mid + 1`
10560:             if test $ac_lo -le $ac_mid; then
10561:               ac_lo= ac_hi=
10562:               break
10563:             fi
10564:             ac_mid=`expr 2 '*' $ac_mid + 1`
10565: fi
10566: 
10567: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10568:   done
10569: else
10570:   echo "$as_me: failed program was:" >&5
10571: sed 's/^/| /' conftest.$ac_ext >&5
10572: 
10573:     cat >conftest.$ac_ext <<_ACEOF
10574: /* confdefs.h.  */
10575: _ACEOF
10576: cat confdefs.h >>conftest.$ac_ext
10577: cat >>conftest.$ac_ext <<_ACEOF
10578: /* end confdefs.h.  */
10579: $ac_includes_default
10580:    typedef int ac__type_sizeof_;
10581: int
10582: main ()
10583: {
10584: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
10585: test_array [0] = 0
10586: 
10587:   ;
10588:   return 0;
10589: }
10590: _ACEOF
10591: rm -f conftest.$ac_objext
10592: if { (ac_try="$ac_compile"
10593: case "(($ac_try" in
10594:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10595:   *) ac_try_echo=$ac_try;;
10596: esac
10597: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10598:   (eval "$ac_compile") 2>conftest.er1
10599:   ac_status=$?
10600:   grep -v '^ *+' conftest.er1 >conftest.err
10601:   rm -f conftest.er1
10602:   cat conftest.err >&5
10603:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604:   (exit $ac_status); } && {
10605:      test -z "$ac_c_werror_flag" ||
10606:      test ! -s conftest.err
10607:        } && test -s conftest.$ac_objext; then
10608:   ac_hi=-1 ac_mid=-1
10609:   while :; do
10610:     cat >conftest.$ac_ext <<_ACEOF
10611: /* confdefs.h.  */
10612: _ACEOF
10613: cat confdefs.h >>conftest.$ac_ext
10614: cat >>conftest.$ac_ext <<_ACEOF
10615: /* end confdefs.h.  */
10616: $ac_includes_default
10617:    typedef int ac__type_sizeof_;
10618: int
10619: main ()
10620: {
10621: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
10622: test_array [0] = 0
10623: 
10624:   ;
10625:   return 0;
10626: }
10627: _ACEOF
10628: rm -f conftest.$ac_objext
10629: if { (ac_try="$ac_compile"
10630: case "(($ac_try" in
10631:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10632:   *) ac_try_echo=$ac_try;;
10633: esac
10634: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10635:   (eval "$ac_compile") 2>conftest.er1
10636:   ac_status=$?
10637:   grep -v '^ *+' conftest.er1 >conftest.err
10638:   rm -f conftest.er1
10639:   cat conftest.err >&5
10640:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641:   (exit $ac_status); } && {
10642:      test -z "$ac_c_werror_flag" ||
10643:      test ! -s conftest.err
10644:        } && test -s conftest.$ac_objext; then
10645:   ac_lo=$ac_mid; break
10646: else
10647:   echo "$as_me: failed program was:" >&5
10648: sed 's/^/| /' conftest.$ac_ext >&5
10649: 
10650:     ac_hi=`expr '(' $ac_mid ')' - 1`
10651:             if test $ac_mid -le $ac_hi; then
10652:               ac_lo= ac_hi=
10653:               break
10654:             fi
10655:             ac_mid=`expr 2 '*' $ac_mid`
10656: fi
10657: 
10658: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10659:   done
10660: else
10661:   echo "$as_me: failed program was:" >&5
10662: sed 's/^/| /' conftest.$ac_ext >&5
10663: 
10664:     ac_lo= ac_hi=
10665: fi
10666: 
10667: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10668: fi
10669: 
10670: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10671: # Binary search between lo and hi bounds.
10672: while test "x$ac_lo" != "x$ac_hi"; do
10673:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10674:   cat >conftest.$ac_ext <<_ACEOF
10675: /* confdefs.h.  */
10676: _ACEOF
10677: cat confdefs.h >>conftest.$ac_ext
10678: cat >>conftest.$ac_ext <<_ACEOF
10679: /* end confdefs.h.  */
10680: $ac_includes_default
10681:    typedef int ac__type_sizeof_;
10682: int
10683: main ()
10684: {
10685: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10686: test_array [0] = 0
10687: 
10688:   ;
10689:   return 0;
10690: }
10691: _ACEOF
10692: rm -f conftest.$ac_objext
10693: if { (ac_try="$ac_compile"
10694: case "(($ac_try" in
10695:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10696:   *) ac_try_echo=$ac_try;;
10697: esac
10698: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10699:   (eval "$ac_compile") 2>conftest.er1
10700:   ac_status=$?
10701:   grep -v '^ *+' conftest.er1 >conftest.err
10702:   rm -f conftest.er1
10703:   cat conftest.err >&5
10704:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705:   (exit $ac_status); } && {
10706:      test -z "$ac_c_werror_flag" ||
10707:      test ! -s conftest.err
10708:        } && test -s conftest.$ac_objext; then
10709:   ac_hi=$ac_mid
10710: else
10711:   echo "$as_me: failed program was:" >&5
10712: sed 's/^/| /' conftest.$ac_ext >&5
10713: 
10714:     ac_lo=`expr '(' $ac_mid ')' + 1`
10715: fi
10716: 
10717: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10718: done
10719: case $ac_lo in
10720: ?*) ac_cv_sizeof_int=$ac_lo;;
10721: '') if test "$ac_cv_type_int" = yes; then
10722:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
10723: See \`config.log' for more details." >&5
10724: echo "$as_me: error: cannot compute sizeof (int)
10725: See \`config.log' for more details." >&2;}
10726:    { (exit 77); exit 77; }; }
10727:    else
10728:      ac_cv_sizeof_int=0
10729:    fi ;;
10730: esac
10731: else
10732:   cat >conftest.$ac_ext <<_ACEOF
10733: /* confdefs.h.  */
10734: _ACEOF
10735: cat confdefs.h >>conftest.$ac_ext
10736: cat >>conftest.$ac_ext <<_ACEOF
10737: /* end confdefs.h.  */
10738: $ac_includes_default
10739:    typedef int ac__type_sizeof_;
10740: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10741: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10742: #include <stdio.h>
10743: #include <stdlib.h>
10744: int
10745: main ()
10746: {
10747: 
10748:   FILE *f = fopen ("conftest.val", "w");
10749:   if (! f)
10750:     return 1;
10751:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10752:     {
10753:       long int i = longval ();
10754:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
10755:     return 1;
10756:       fprintf (f, "%ld\n", i);
10757:     }
10758:   else
10759:     {
10760:       unsigned long int i = ulongval ();
10761:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
10762:     return 1;
10763:       fprintf (f, "%lu\n", i);
10764:     }
10765:   return ferror (f) || fclose (f) != 0;
10766: 
10767:   ;
10768:   return 0;
10769: }
10770: _ACEOF
10771: rm -f conftest$ac_exeext
10772: if { (ac_try="$ac_link"
10773: case "(($ac_try" in
10774:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10775:   *) ac_try_echo=$ac_try;;
10776: esac
10777: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10778:   (eval "$ac_link") 2>&5
10779:   ac_status=$?
10780:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10782:   { (case "(($ac_try" in
10783:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10784:   *) ac_try_echo=$ac_try;;
10785: esac
10786: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10787:   (eval "$ac_try") 2>&5
10788:   ac_status=$?
10789:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790:   (exit $ac_status); }; }; then
10791:   ac_cv_sizeof_int=`cat conftest.val`
10792: else
10793:   echo "$as_me: program exited with status $ac_status" >&5
10794: echo "$as_me: failed program was:" >&5
10795: sed 's/^/| /' conftest.$ac_ext >&5
10796: 
10797: ( exit $ac_status )
10798: if test "$ac_cv_type_int" = yes; then
10799:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
10800: See \`config.log' for more details." >&5
10801: echo "$as_me: error: cannot compute sizeof (int)
10802: See \`config.log' for more details." >&2;}
10803:    { (exit 77); exit 77; }; }
10804:    else
10805:      ac_cv_sizeof_int=0
10806:    fi
10807: fi
10808: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10809: fi
10810: rm -f conftest.val
10811: fi
10812: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
10813: echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
10814: 
10815: 
10816: 
10817: cat >>confdefs.h <<_ACEOF
10818: #define SIZEOF_INT $ac_cv_sizeof_int
10819: _ACEOF
10820: 
10821: 
10822: { echo "$as_me:$LINENO: checking for long int" >&5
10823: echo $ECHO_N "checking for long int... $ECHO_C" >&6; }
10824: if test "${ac_cv_type_long_int+set}" = set; then
10825:   echo $ECHO_N "(cached) $ECHO_C" >&6
10826: else
10827:   cat >conftest.$ac_ext <<_ACEOF
10828: /* confdefs.h.  */
10829: _ACEOF
10830: cat confdefs.h >>conftest.$ac_ext
10831: cat >>conftest.$ac_ext <<_ACEOF
10832: /* end confdefs.h.  */
10833: $ac_includes_default
10834: typedef long int ac__type_new_;
10835: int
10836: main ()
10837: {
10838: if ((ac__type_new_ *) 0)
10839:   return 0;
10840: if (sizeof (ac__type_new_))
10841:   return 0;
10842:   ;
10843:   return 0;
10844: }
10845: _ACEOF
10846: rm -f conftest.$ac_objext
10847: if { (ac_try="$ac_compile"
10848: case "(($ac_try" in
10849:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10850:   *) ac_try_echo=$ac_try;;
10851: esac
10852: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10853:   (eval "$ac_compile") 2>conftest.er1
10854:   ac_status=$?
10855:   grep -v '^ *+' conftest.er1 >conftest.err
10856:   rm -f conftest.er1
10857:   cat conftest.err >&5
10858:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859:   (exit $ac_status); } && {
10860:      test -z "$ac_c_werror_flag" ||
10861:      test ! -s conftest.err
10862:        } && test -s conftest.$ac_objext; then
10863:   ac_cv_type_long_int=yes
10864: else
10865:   echo "$as_me: failed program was:" >&5
10866: sed 's/^/| /' conftest.$ac_ext >&5
10867: 
10868:     ac_cv_type_long_int=no
10869: fi
10870: 
10871: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10872: fi
10873: { echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
10874: echo "${ECHO_T}$ac_cv_type_long_int" >&6; }
10875: 
10876: # The cast to long int works around a bug in the HP C Compiler
10877: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10878: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10879: # This bug is HP SR number 8606223364.
10880: { echo "$as_me:$LINENO: checking size of long int" >&5
10881: echo $ECHO_N "checking size of long int... $ECHO_C" >&6; }
10882: if test "${ac_cv_sizeof_long_int+set}" = set; then
10883:   echo $ECHO_N "(cached) $ECHO_C" >&6
10884: else
10885:   if test "$cross_compiling" = yes; then
10886:   # Depending upon the size, compute the lo and hi bounds.
10887: cat >conftest.$ac_ext <<_ACEOF
10888: /* confdefs.h.  */
10889: _ACEOF
10890: cat confdefs.h >>conftest.$ac_ext
10891: cat >>conftest.$ac_ext <<_ACEOF
10892: /* end confdefs.h.  */
10893: $ac_includes_default
10894:    typedef long int ac__type_sizeof_;
10895: int
10896: main ()
10897: {
10898: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
10899: test_array [0] = 0
10900: 
10901:   ;
10902:   return 0;
10903: }
10904: _ACEOF
10905: rm -f conftest.$ac_objext
10906: if { (ac_try="$ac_compile"
10907: case "(($ac_try" in
10908:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10909:   *) ac_try_echo=$ac_try;;
10910: esac
10911: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10912:   (eval "$ac_compile") 2>conftest.er1
10913:   ac_status=$?
10914:   grep -v '^ *+' conftest.er1 >conftest.err
10915:   rm -f conftest.er1
10916:   cat conftest.err >&5
10917:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918:   (exit $ac_status); } && {
10919:      test -z "$ac_c_werror_flag" ||
10920:      test ! -s conftest.err
10921:        } && test -s conftest.$ac_objext; then
10922:   ac_lo=0 ac_mid=0
10923:   while :; do
10924:     cat >conftest.$ac_ext <<_ACEOF
10925: /* confdefs.h.  */
10926: _ACEOF
10927: cat confdefs.h >>conftest.$ac_ext
10928: cat >>conftest.$ac_ext <<_ACEOF
10929: /* end confdefs.h.  */
10930: $ac_includes_default
10931:    typedef long int ac__type_sizeof_;
10932: int
10933: main ()
10934: {
10935: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10936: test_array [0] = 0
10937: 
10938:   ;
10939:   return 0;
10940: }
10941: _ACEOF
10942: rm -f conftest.$ac_objext
10943: if { (ac_try="$ac_compile"
10944: case "(($ac_try" in
10945:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10946:   *) ac_try_echo=$ac_try;;
10947: esac
10948: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10949:   (eval "$ac_compile") 2>conftest.er1
10950:   ac_status=$?
10951:   grep -v '^ *+' conftest.er1 >conftest.err
10952:   rm -f conftest.er1
10953:   cat conftest.err >&5
10954:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955:   (exit $ac_status); } && {
10956:      test -z "$ac_c_werror_flag" ||
10957:      test ! -s conftest.err
10958:        } && test -s conftest.$ac_objext; then
10959:   ac_hi=$ac_mid; break
10960: else
10961:   echo "$as_me: failed program was:" >&5
10962: sed 's/^/| /' conftest.$ac_ext >&5
10963: 
10964:     ac_lo=`expr $ac_mid + 1`
10965:             if test $ac_lo -le $ac_mid; then
10966:               ac_lo= ac_hi=
10967:               break
10968:             fi
10969:             ac_mid=`expr 2 '*' $ac_mid + 1`
10970: fi
10971: 
10972: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10973:   done
10974: else
10975:   echo "$as_me: failed program was:" >&5
10976: sed 's/^/| /' conftest.$ac_ext >&5
10977: 
10978:     cat >conftest.$ac_ext <<_ACEOF
10979: /* confdefs.h.  */
10980: _ACEOF
10981: cat confdefs.h >>conftest.$ac_ext
10982: cat >>conftest.$ac_ext <<_ACEOF
10983: /* end confdefs.h.  */
10984: $ac_includes_default
10985:    typedef long int ac__type_sizeof_;
10986: int
10987: main ()
10988: {
10989: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
10990: test_array [0] = 0
10991: 
10992:   ;
10993:   return 0;
10994: }
10995: _ACEOF
10996: rm -f conftest.$ac_objext
10997: if { (ac_try="$ac_compile"
10998: case "(($ac_try" in
10999:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11000:   *) ac_try_echo=$ac_try;;
11001: esac
11002: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11003:   (eval "$ac_compile") 2>conftest.er1
11004:   ac_status=$?
11005:   grep -v '^ *+' conftest.er1 >conftest.err
11006:   rm -f conftest.er1
11007:   cat conftest.err >&5
11008:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009:   (exit $ac_status); } && {
11010:      test -z "$ac_c_werror_flag" ||
11011:      test ! -s conftest.err
11012:        } && test -s conftest.$ac_objext; then
11013:   ac_hi=-1 ac_mid=-1
11014:   while :; do
11015:     cat >conftest.$ac_ext <<_ACEOF
11016: /* confdefs.h.  */
11017: _ACEOF
11018: cat confdefs.h >>conftest.$ac_ext
11019: cat >>conftest.$ac_ext <<_ACEOF
11020: /* end confdefs.h.  */
11021: $ac_includes_default
11022:    typedef long int ac__type_sizeof_;
11023: int
11024: main ()
11025: {
11026: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
11027: test_array [0] = 0
11028: 
11029:   ;
11030:   return 0;
11031: }
11032: _ACEOF
11033: rm -f conftest.$ac_objext
11034: if { (ac_try="$ac_compile"
11035: case "(($ac_try" in
11036:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11037:   *) ac_try_echo=$ac_try;;
11038: esac
11039: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040:   (eval "$ac_compile") 2>conftest.er1
11041:   ac_status=$?
11042:   grep -v '^ *+' conftest.er1 >conftest.err
11043:   rm -f conftest.er1
11044:   cat conftest.err >&5
11045:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046:   (exit $ac_status); } && {
11047:      test -z "$ac_c_werror_flag" ||
11048:      test ! -s conftest.err
11049:        } && test -s conftest.$ac_objext; then
11050:   ac_lo=$ac_mid; break
11051: else
11052:   echo "$as_me: failed program was:" >&5
11053: sed 's/^/| /' conftest.$ac_ext >&5
11054: 
11055:     ac_hi=`expr '(' $ac_mid ')' - 1`
11056:             if test $ac_mid -le $ac_hi; then
11057:               ac_lo= ac_hi=
11058:               break
11059:             fi
11060:             ac_mid=`expr 2 '*' $ac_mid`
11061: fi
11062: 
11063: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11064:   done
11065: else
11066:   echo "$as_me: failed program was:" >&5
11067: sed 's/^/| /' conftest.$ac_ext >&5
11068: 
11069:     ac_lo= ac_hi=
11070: fi
11071: 
11072: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11073: fi
11074: 
11075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11076: # Binary search between lo and hi bounds.
11077: while test "x$ac_lo" != "x$ac_hi"; do
11078:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11079:   cat >conftest.$ac_ext <<_ACEOF
11080: /* confdefs.h.  */
11081: _ACEOF
11082: cat confdefs.h >>conftest.$ac_ext
11083: cat >>conftest.$ac_ext <<_ACEOF
11084: /* end confdefs.h.  */
11085: $ac_includes_default
11086:    typedef long int ac__type_sizeof_;
11087: int
11088: main ()
11089: {
11090: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11091: test_array [0] = 0
11092: 
11093:   ;
11094:   return 0;
11095: }
11096: _ACEOF
11097: rm -f conftest.$ac_objext
11098: if { (ac_try="$ac_compile"
11099: case "(($ac_try" in
11100:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101:   *) ac_try_echo=$ac_try;;
11102: esac
11103: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11104:   (eval "$ac_compile") 2>conftest.er1
11105:   ac_status=$?
11106:   grep -v '^ *+' conftest.er1 >conftest.err
11107:   rm -f conftest.er1
11108:   cat conftest.err >&5
11109:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110:   (exit $ac_status); } && {
11111:      test -z "$ac_c_werror_flag" ||
11112:      test ! -s conftest.err
11113:        } && test -s conftest.$ac_objext; then
11114:   ac_hi=$ac_mid
11115: else
11116:   echo "$as_me: failed program was:" >&5
11117: sed 's/^/| /' conftest.$ac_ext >&5
11118: 
11119:     ac_lo=`expr '(' $ac_mid ')' + 1`
11120: fi
11121: 
11122: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11123: done
11124: case $ac_lo in
11125: ?*) ac_cv_sizeof_long_int=$ac_lo;;
11126: '') if test "$ac_cv_type_long_int" = yes; then
11127:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
11128: See \`config.log' for more details." >&5
11129: echo "$as_me: error: cannot compute sizeof (long int)
11130: See \`config.log' for more details." >&2;}
11131:    { (exit 77); exit 77; }; }
11132:    else
11133:      ac_cv_sizeof_long_int=0
11134:    fi ;;
11135: esac
11136: else
11137:   cat >conftest.$ac_ext <<_ACEOF
11138: /* confdefs.h.  */
11139: _ACEOF
11140: cat confdefs.h >>conftest.$ac_ext
11141: cat >>conftest.$ac_ext <<_ACEOF
11142: /* end confdefs.h.  */
11143: $ac_includes_default
11144:    typedef long int ac__type_sizeof_;
11145: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11146: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11147: #include <stdio.h>
11148: #include <stdlib.h>
11149: int
11150: main ()
11151: {
11152: 
11153:   FILE *f = fopen ("conftest.val", "w");
11154:   if (! f)
11155:     return 1;
11156:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11157:     {
11158:       long int i = longval ();
11159:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
11160:     return 1;
11161:       fprintf (f, "%ld\n", i);
11162:     }
11163:   else
11164:     {
11165:       unsigned long int i = ulongval ();
11166:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
11167:     return 1;
11168:       fprintf (f, "%lu\n", i);
11169:     }
11170:   return ferror (f) || fclose (f) != 0;
11171: 
11172:   ;
11173:   return 0;
11174: }
11175: _ACEOF
11176: rm -f conftest$ac_exeext
11177: if { (ac_try="$ac_link"
11178: case "(($ac_try" in
11179:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11180:   *) ac_try_echo=$ac_try;;
11181: esac
11182: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11183:   (eval "$ac_link") 2>&5
11184:   ac_status=$?
11185:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11187:   { (case "(($ac_try" in
11188:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11189:   *) ac_try_echo=$ac_try;;
11190: esac
11191: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11192:   (eval "$ac_try") 2>&5
11193:   ac_status=$?
11194:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195:   (exit $ac_status); }; }; then
11196:   ac_cv_sizeof_long_int=`cat conftest.val`
11197: else
11198:   echo "$as_me: program exited with status $ac_status" >&5
11199: echo "$as_me: failed program was:" >&5
11200: sed 's/^/| /' conftest.$ac_ext >&5
11201: 
11202: ( exit $ac_status )
11203: if test "$ac_cv_type_long_int" = yes; then
11204:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
11205: See \`config.log' for more details." >&5
11206: echo "$as_me: error: cannot compute sizeof (long int)
11207: See \`config.log' for more details." >&2;}
11208:    { (exit 77); exit 77; }; }
11209:    else
11210:      ac_cv_sizeof_long_int=0
11211:    fi
11212: fi
11213: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11214: fi
11215: rm -f conftest.val
11216: fi
11217: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
11218: echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6; }
11219: 
11220: 
11221: 
11222: cat >>confdefs.h <<_ACEOF
11223: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
11224: _ACEOF
11225: 
11226: 
11227: { echo "$as_me:$LINENO: checking for long long int" >&5
11228: echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
11229: if test "${ac_cv_type_long_long_int+set}" = set; then
11230:   echo $ECHO_N "(cached) $ECHO_C" >&6
11231: else
11232:   cat >conftest.$ac_ext <<_ACEOF
11233: /* confdefs.h.  */
11234: _ACEOF
11235: cat confdefs.h >>conftest.$ac_ext
11236: cat >>conftest.$ac_ext <<_ACEOF
11237: /* end confdefs.h.  */
11238: $ac_includes_default
11239: typedef long long int ac__type_new_;
11240: int
11241: main ()
11242: {
11243: if ((ac__type_new_ *) 0)
11244:   return 0;
11245: if (sizeof (ac__type_new_))
11246:   return 0;
11247:   ;
11248:   return 0;
11249: }
11250: _ACEOF
11251: rm -f conftest.$ac_objext
11252: if { (ac_try="$ac_compile"
11253: case "(($ac_try" in
11254:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11255:   *) ac_try_echo=$ac_try;;
11256: esac
11257: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11258:   (eval "$ac_compile") 2>conftest.er1
11259:   ac_status=$?
11260:   grep -v '^ *+' conftest.er1 >conftest.err
11261:   rm -f conftest.er1
11262:   cat conftest.err >&5
11263:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264:   (exit $ac_status); } && {
11265:      test -z "$ac_c_werror_flag" ||
11266:      test ! -s conftest.err
11267:        } && test -s conftest.$ac_objext; then
11268:   ac_cv_type_long_long_int=yes
11269: else
11270:   echo "$as_me: failed program was:" >&5
11271: sed 's/^/| /' conftest.$ac_ext >&5
11272: 
11273:     ac_cv_type_long_long_int=no
11274: fi
11275: 
11276: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11277: fi
11278: { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
11279: echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
11280: 
11281: # The cast to long int works around a bug in the HP C Compiler
11282: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11283: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11284: # This bug is HP SR number 8606223364.
11285: { echo "$as_me:$LINENO: checking size of long long int" >&5
11286: echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; }
11287: if test "${ac_cv_sizeof_long_long_int+set}" = set; then
11288:   echo $ECHO_N "(cached) $ECHO_C" >&6
11289: else
11290:   if test "$cross_compiling" = yes; then
11291:   # Depending upon the size, compute the lo and hi bounds.
11292: cat >conftest.$ac_ext <<_ACEOF
11293: /* confdefs.h.  */
11294: _ACEOF
11295: cat confdefs.h >>conftest.$ac_ext
11296: cat >>conftest.$ac_ext <<_ACEOF
11297: /* end confdefs.h.  */
11298: $ac_includes_default
11299:    typedef long long int ac__type_sizeof_;
11300: int
11301: main ()
11302: {
11303: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
11304: test_array [0] = 0
11305: 
11306:   ;
11307:   return 0;
11308: }
11309: _ACEOF
11310: rm -f conftest.$ac_objext
11311: if { (ac_try="$ac_compile"
11312: case "(($ac_try" in
11313:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11314:   *) ac_try_echo=$ac_try;;
11315: esac
11316: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11317:   (eval "$ac_compile") 2>conftest.er1
11318:   ac_status=$?
11319:   grep -v '^ *+' conftest.er1 >conftest.err
11320:   rm -f conftest.er1
11321:   cat conftest.err >&5
11322:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323:   (exit $ac_status); } && {
11324:      test -z "$ac_c_werror_flag" ||
11325:      test ! -s conftest.err
11326:        } && test -s conftest.$ac_objext; then
11327:   ac_lo=0 ac_mid=0
11328:   while :; do
11329:     cat >conftest.$ac_ext <<_ACEOF
11330: /* confdefs.h.  */
11331: _ACEOF
11332: cat confdefs.h >>conftest.$ac_ext
11333: cat >>conftest.$ac_ext <<_ACEOF
11334: /* end confdefs.h.  */
11335: $ac_includes_default
11336:    typedef long long int ac__type_sizeof_;
11337: int
11338: main ()
11339: {
11340: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11341: test_array [0] = 0
11342: 
11343:   ;
11344:   return 0;
11345: }
11346: _ACEOF
11347: rm -f conftest.$ac_objext
11348: if { (ac_try="$ac_compile"
11349: case "(($ac_try" in
11350:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11351:   *) ac_try_echo=$ac_try;;
11352: esac
11353: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11354:   (eval "$ac_compile") 2>conftest.er1
11355:   ac_status=$?
11356:   grep -v '^ *+' conftest.er1 >conftest.err
11357:   rm -f conftest.er1
11358:   cat conftest.err >&5
11359:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360:   (exit $ac_status); } && {
11361:      test -z "$ac_c_werror_flag" ||
11362:      test ! -s conftest.err
11363:        } && test -s conftest.$ac_objext; then
11364:   ac_hi=$ac_mid; break
11365: else
11366:   echo "$as_me: failed program was:" >&5
11367: sed 's/^/| /' conftest.$ac_ext >&5
11368: 
11369:     ac_lo=`expr $ac_mid + 1`
11370:             if test $ac_lo -le $ac_mid; then
11371:               ac_lo= ac_hi=
11372:               break
11373:             fi
11374:             ac_mid=`expr 2 '*' $ac_mid + 1`
11375: fi
11376: 
11377: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11378:   done
11379: else
11380:   echo "$as_me: failed program was:" >&5
11381: sed 's/^/| /' conftest.$ac_ext >&5
11382: 
11383:     cat >conftest.$ac_ext <<_ACEOF
11384: /* confdefs.h.  */
11385: _ACEOF
11386: cat confdefs.h >>conftest.$ac_ext
11387: cat >>conftest.$ac_ext <<_ACEOF
11388: /* end confdefs.h.  */
11389: $ac_includes_default
11390:    typedef long long int ac__type_sizeof_;
11391: int
11392: main ()
11393: {
11394: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
11395: test_array [0] = 0
11396: 
11397:   ;
11398:   return 0;
11399: }
11400: _ACEOF
11401: rm -f conftest.$ac_objext
11402: if { (ac_try="$ac_compile"
11403: case "(($ac_try" in
11404:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11405:   *) ac_try_echo=$ac_try;;
11406: esac
11407: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11408:   (eval "$ac_compile") 2>conftest.er1
11409:   ac_status=$?
11410:   grep -v '^ *+' conftest.er1 >conftest.err
11411:   rm -f conftest.er1
11412:   cat conftest.err >&5
11413:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414:   (exit $ac_status); } && {
11415:      test -z "$ac_c_werror_flag" ||
11416:      test ! -s conftest.err
11417:        } && test -s conftest.$ac_objext; then
11418:   ac_hi=-1 ac_mid=-1
11419:   while :; do
11420:     cat >conftest.$ac_ext <<_ACEOF
11421: /* confdefs.h.  */
11422: _ACEOF
11423: cat confdefs.h >>conftest.$ac_ext
11424: cat >>conftest.$ac_ext <<_ACEOF
11425: /* end confdefs.h.  */
11426: $ac_includes_default
11427:    typedef long long int ac__type_sizeof_;
11428: int
11429: main ()
11430: {
11431: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
11432: test_array [0] = 0
11433: 
11434:   ;
11435:   return 0;
11436: }
11437: _ACEOF
11438: rm -f conftest.$ac_objext
11439: if { (ac_try="$ac_compile"
11440: case "(($ac_try" in
11441:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11442:   *) ac_try_echo=$ac_try;;
11443: esac
11444: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11445:   (eval "$ac_compile") 2>conftest.er1
11446:   ac_status=$?
11447:   grep -v '^ *+' conftest.er1 >conftest.err
11448:   rm -f conftest.er1
11449:   cat conftest.err >&5
11450:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451:   (exit $ac_status); } && {
11452:      test -z "$ac_c_werror_flag" ||
11453:      test ! -s conftest.err
11454:        } && test -s conftest.$ac_objext; then
11455:   ac_lo=$ac_mid; break
11456: else
11457:   echo "$as_me: failed program was:" >&5
11458: sed 's/^/| /' conftest.$ac_ext >&5
11459: 
11460:     ac_hi=`expr '(' $ac_mid ')' - 1`
11461:             if test $ac_mid -le $ac_hi; then
11462:               ac_lo= ac_hi=
11463:               break
11464:             fi
11465:             ac_mid=`expr 2 '*' $ac_mid`
11466: fi
11467: 
11468: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11469:   done
11470: else
11471:   echo "$as_me: failed program was:" >&5
11472: sed 's/^/| /' conftest.$ac_ext >&5
11473: 
11474:     ac_lo= ac_hi=
11475: fi
11476: 
11477: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11478: fi
11479: 
11480: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11481: # Binary search between lo and hi bounds.
11482: while test "x$ac_lo" != "x$ac_hi"; do
11483:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11484:   cat >conftest.$ac_ext <<_ACEOF
11485: /* confdefs.h.  */
11486: _ACEOF
11487: cat confdefs.h >>conftest.$ac_ext
11488: cat >>conftest.$ac_ext <<_ACEOF
11489: /* end confdefs.h.  */
11490: $ac_includes_default
11491:    typedef long long int ac__type_sizeof_;
11492: int
11493: main ()
11494: {
11495: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11496: test_array [0] = 0
11497: 
11498:   ;
11499:   return 0;
11500: }
11501: _ACEOF
11502: rm -f conftest.$ac_objext
11503: if { (ac_try="$ac_compile"
11504: case "(($ac_try" in
11505:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11506:   *) ac_try_echo=$ac_try;;
11507: esac
11508: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11509:   (eval "$ac_compile") 2>conftest.er1
11510:   ac_status=$?
11511:   grep -v '^ *+' conftest.er1 >conftest.err
11512:   rm -f conftest.er1
11513:   cat conftest.err >&5
11514:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515:   (exit $ac_status); } && {
11516:      test -z "$ac_c_werror_flag" ||
11517:      test ! -s conftest.err
11518:        } && test -s conftest.$ac_objext; then
11519:   ac_hi=$ac_mid
11520: else
11521:   echo "$as_me: failed program was:" >&5
11522: sed 's/^/| /' conftest.$ac_ext >&5
11523: 
11524:     ac_lo=`expr '(' $ac_mid ')' + 1`
11525: fi
11526: 
11527: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11528: done
11529: case $ac_lo in
11530: ?*) ac_cv_sizeof_long_long_int=$ac_lo;;
11531: '') if test "$ac_cv_type_long_long_int" = yes; then
11532:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
11533: See \`config.log' for more details." >&5
11534: echo "$as_me: error: cannot compute sizeof (long long int)
11535: See \`config.log' for more details." >&2;}
11536:    { (exit 77); exit 77; }; }
11537:    else
11538:      ac_cv_sizeof_long_long_int=0
11539:    fi ;;
11540: esac
11541: else
11542:   cat >conftest.$ac_ext <<_ACEOF
11543: /* confdefs.h.  */
11544: _ACEOF
11545: cat confdefs.h >>conftest.$ac_ext
11546: cat >>conftest.$ac_ext <<_ACEOF
11547: /* end confdefs.h.  */
11548: $ac_includes_default
11549:    typedef long long int ac__type_sizeof_;
11550: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11551: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11552: #include <stdio.h>
11553: #include <stdlib.h>
11554: int
11555: main ()
11556: {
11557: 
11558:   FILE *f = fopen ("conftest.val", "w");
11559:   if (! f)
11560:     return 1;
11561:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11562:     {
11563:       long int i = longval ();
11564:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
11565:     return 1;
11566:       fprintf (f, "%ld\n", i);
11567:     }
11568:   else
11569:     {
11570:       unsigned long int i = ulongval ();
11571:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
11572:     return 1;
11573:       fprintf (f, "%lu\n", i);
11574:     }
11575:   return ferror (f) || fclose (f) != 0;
11576: 
11577:   ;
11578:   return 0;
11579: }
11580: _ACEOF
11581: rm -f conftest$ac_exeext
11582: if { (ac_try="$ac_link"
11583: case "(($ac_try" in
11584:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11585:   *) ac_try_echo=$ac_try;;
11586: esac
11587: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11588:   (eval "$ac_link") 2>&5
11589:   ac_status=$?
11590:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11592:   { (case "(($ac_try" in
11593:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11594:   *) ac_try_echo=$ac_try;;
11595: esac
11596: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11597:   (eval "$ac_try") 2>&5
11598:   ac_status=$?
11599:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600:   (exit $ac_status); }; }; then
11601:   ac_cv_sizeof_long_long_int=`cat conftest.val`
11602: else
11603:   echo "$as_me: program exited with status $ac_status" >&5
11604: echo "$as_me: failed program was:" >&5
11605: sed 's/^/| /' conftest.$ac_ext >&5
11606: 
11607: ( exit $ac_status )
11608: if test "$ac_cv_type_long_long_int" = yes; then
11609:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
11610: See \`config.log' for more details." >&5
11611: echo "$as_me: error: cannot compute sizeof (long long int)
11612: See \`config.log' for more details." >&2;}
11613:    { (exit 77); exit 77; }; }
11614:    else
11615:      ac_cv_sizeof_long_long_int=0
11616:    fi
11617: fi
11618: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11619: fi
11620: rm -f conftest.val
11621: fi
11622: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
11623: echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; }
11624: 
11625: 
11626: 
11627: cat >>confdefs.h <<_ACEOF
11628: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
11629: _ACEOF
11630: 
11631: 
11632: { echo "$as_me:$LINENO: checking for float" >&5
11633: echo $ECHO_N "checking for float... $ECHO_C" >&6; }
11634: if test "${ac_cv_type_float+set}" = set; then
11635:   echo $ECHO_N "(cached) $ECHO_C" >&6
11636: else
11637:   cat >conftest.$ac_ext <<_ACEOF
11638: /* confdefs.h.  */
11639: _ACEOF
11640: cat confdefs.h >>conftest.$ac_ext
11641: cat >>conftest.$ac_ext <<_ACEOF
11642: /* end confdefs.h.  */
11643: $ac_includes_default
11644: typedef float ac__type_new_;
11645: int
11646: main ()
11647: {
11648: if ((ac__type_new_ *) 0)
11649:   return 0;
11650: if (sizeof (ac__type_new_))
11651:   return 0;
11652:   ;
11653:   return 0;
11654: }
11655: _ACEOF
11656: rm -f conftest.$ac_objext
11657: if { (ac_try="$ac_compile"
11658: case "(($ac_try" in
11659:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11660:   *) ac_try_echo=$ac_try;;
11661: esac
11662: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11663:   (eval "$ac_compile") 2>conftest.er1
11664:   ac_status=$?
11665:   grep -v '^ *+' conftest.er1 >conftest.err
11666:   rm -f conftest.er1
11667:   cat conftest.err >&5
11668:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669:   (exit $ac_status); } && {
11670:      test -z "$ac_c_werror_flag" ||
11671:      test ! -s conftest.err
11672:        } && test -s conftest.$ac_objext; then
11673:   ac_cv_type_float=yes
11674: else
11675:   echo "$as_me: failed program was:" >&5
11676: sed 's/^/| /' conftest.$ac_ext >&5
11677: 
11678:     ac_cv_type_float=no
11679: fi
11680: 
11681: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11682: fi
11683: { echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
11684: echo "${ECHO_T}$ac_cv_type_float" >&6; }
11685: 
11686: # The cast to long int works around a bug in the HP C Compiler
11687: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11688: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11689: # This bug is HP SR number 8606223364.
11690: { echo "$as_me:$LINENO: checking size of float" >&5
11691: echo $ECHO_N "checking size of float... $ECHO_C" >&6; }
11692: if test "${ac_cv_sizeof_float+set}" = set; then
11693:   echo $ECHO_N "(cached) $ECHO_C" >&6
11694: else
11695:   if test "$cross_compiling" = yes; then
11696:   # Depending upon the size, compute the lo and hi bounds.
11697: cat >conftest.$ac_ext <<_ACEOF
11698: /* confdefs.h.  */
11699: _ACEOF
11700: cat confdefs.h >>conftest.$ac_ext
11701: cat >>conftest.$ac_ext <<_ACEOF
11702: /* end confdefs.h.  */
11703: $ac_includes_default
11704:    typedef float ac__type_sizeof_;
11705: int
11706: main ()
11707: {
11708: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
11709: test_array [0] = 0
11710: 
11711:   ;
11712:   return 0;
11713: }
11714: _ACEOF
11715: rm -f conftest.$ac_objext
11716: if { (ac_try="$ac_compile"
11717: case "(($ac_try" in
11718:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11719:   *) ac_try_echo=$ac_try;;
11720: esac
11721: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11722:   (eval "$ac_compile") 2>conftest.er1
11723:   ac_status=$?
11724:   grep -v '^ *+' conftest.er1 >conftest.err
11725:   rm -f conftest.er1
11726:   cat conftest.err >&5
11727:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728:   (exit $ac_status); } && {
11729:      test -z "$ac_c_werror_flag" ||
11730:      test ! -s conftest.err
11731:        } && test -s conftest.$ac_objext; then
11732:   ac_lo=0 ac_mid=0
11733:   while :; do
11734:     cat >conftest.$ac_ext <<_ACEOF
11735: /* confdefs.h.  */
11736: _ACEOF
11737: cat confdefs.h >>conftest.$ac_ext
11738: cat >>conftest.$ac_ext <<_ACEOF
11739: /* end confdefs.h.  */
11740: $ac_includes_default
11741:    typedef float ac__type_sizeof_;
11742: int
11743: main ()
11744: {
11745: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11746: test_array [0] = 0
11747: 
11748:   ;
11749:   return 0;
11750: }
11751: _ACEOF
11752: rm -f conftest.$ac_objext
11753: if { (ac_try="$ac_compile"
11754: case "(($ac_try" in
11755:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11756:   *) ac_try_echo=$ac_try;;
11757: esac
11758: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11759:   (eval "$ac_compile") 2>conftest.er1
11760:   ac_status=$?
11761:   grep -v '^ *+' conftest.er1 >conftest.err
11762:   rm -f conftest.er1
11763:   cat conftest.err >&5
11764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765:   (exit $ac_status); } && {
11766:      test -z "$ac_c_werror_flag" ||
11767:      test ! -s conftest.err
11768:        } && test -s conftest.$ac_objext; then
11769:   ac_hi=$ac_mid; break
11770: else
11771:   echo "$as_me: failed program was:" >&5
11772: sed 's/^/| /' conftest.$ac_ext >&5
11773: 
11774:     ac_lo=`expr $ac_mid + 1`
11775:             if test $ac_lo -le $ac_mid; then
11776:               ac_lo= ac_hi=
11777:               break
11778:             fi
11779:             ac_mid=`expr 2 '*' $ac_mid + 1`
11780: fi
11781: 
11782: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11783:   done
11784: else
11785:   echo "$as_me: failed program was:" >&5
11786: sed 's/^/| /' conftest.$ac_ext >&5
11787: 
11788:     cat >conftest.$ac_ext <<_ACEOF
11789: /* confdefs.h.  */
11790: _ACEOF
11791: cat confdefs.h >>conftest.$ac_ext
11792: cat >>conftest.$ac_ext <<_ACEOF
11793: /* end confdefs.h.  */
11794: $ac_includes_default
11795:    typedef float ac__type_sizeof_;
11796: int
11797: main ()
11798: {
11799: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
11800: test_array [0] = 0
11801: 
11802:   ;
11803:   return 0;
11804: }
11805: _ACEOF
11806: rm -f conftest.$ac_objext
11807: if { (ac_try="$ac_compile"
11808: case "(($ac_try" in
11809:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11810:   *) ac_try_echo=$ac_try;;
11811: esac
11812: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11813:   (eval "$ac_compile") 2>conftest.er1
11814:   ac_status=$?
11815:   grep -v '^ *+' conftest.er1 >conftest.err
11816:   rm -f conftest.er1
11817:   cat conftest.err >&5
11818:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819:   (exit $ac_status); } && {
11820:      test -z "$ac_c_werror_flag" ||
11821:      test ! -s conftest.err
11822:        } && test -s conftest.$ac_objext; then
11823:   ac_hi=-1 ac_mid=-1
11824:   while :; do
11825:     cat >conftest.$ac_ext <<_ACEOF
11826: /* confdefs.h.  */
11827: _ACEOF
11828: cat confdefs.h >>conftest.$ac_ext
11829: cat >>conftest.$ac_ext <<_ACEOF
11830: /* end confdefs.h.  */
11831: $ac_includes_default
11832:    typedef float ac__type_sizeof_;
11833: int
11834: main ()
11835: {
11836: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
11837: test_array [0] = 0
11838: 
11839:   ;
11840:   return 0;
11841: }
11842: _ACEOF
11843: rm -f conftest.$ac_objext
11844: if { (ac_try="$ac_compile"
11845: case "(($ac_try" in
11846:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11847:   *) ac_try_echo=$ac_try;;
11848: esac
11849: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850:   (eval "$ac_compile") 2>conftest.er1
11851:   ac_status=$?
11852:   grep -v '^ *+' conftest.er1 >conftest.err
11853:   rm -f conftest.er1
11854:   cat conftest.err >&5
11855:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856:   (exit $ac_status); } && {
11857:      test -z "$ac_c_werror_flag" ||
11858:      test ! -s conftest.err
11859:        } && test -s conftest.$ac_objext; then
11860:   ac_lo=$ac_mid; break
11861: else
11862:   echo "$as_me: failed program was:" >&5
11863: sed 's/^/| /' conftest.$ac_ext >&5
11864: 
11865:     ac_hi=`expr '(' $ac_mid ')' - 1`
11866:             if test $ac_mid -le $ac_hi; then
11867:               ac_lo= ac_hi=
11868:               break
11869:             fi
11870:             ac_mid=`expr 2 '*' $ac_mid`
11871: fi
11872: 
11873: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11874:   done
11875: else
11876:   echo "$as_me: failed program was:" >&5
11877: sed 's/^/| /' conftest.$ac_ext >&5
11878: 
11879:     ac_lo= ac_hi=
11880: fi
11881: 
11882: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11883: fi
11884: 
11885: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11886: # Binary search between lo and hi bounds.
11887: while test "x$ac_lo" != "x$ac_hi"; do
11888:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11889:   cat >conftest.$ac_ext <<_ACEOF
11890: /* confdefs.h.  */
11891: _ACEOF
11892: cat confdefs.h >>conftest.$ac_ext
11893: cat >>conftest.$ac_ext <<_ACEOF
11894: /* end confdefs.h.  */
11895: $ac_includes_default
11896:    typedef float ac__type_sizeof_;
11897: int
11898: main ()
11899: {
11900: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11901: test_array [0] = 0
11902: 
11903:   ;
11904:   return 0;
11905: }
11906: _ACEOF
11907: rm -f conftest.$ac_objext
11908: if { (ac_try="$ac_compile"
11909: case "(($ac_try" in
11910:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11911:   *) ac_try_echo=$ac_try;;
11912: esac
11913: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11914:   (eval "$ac_compile") 2>conftest.er1
11915:   ac_status=$?
11916:   grep -v '^ *+' conftest.er1 >conftest.err
11917:   rm -f conftest.er1
11918:   cat conftest.err >&5
11919:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920:   (exit $ac_status); } && {
11921:      test -z "$ac_c_werror_flag" ||
11922:      test ! -s conftest.err
11923:        } && test -s conftest.$ac_objext; then
11924:   ac_hi=$ac_mid
11925: else
11926:   echo "$as_me: failed program was:" >&5
11927: sed 's/^/| /' conftest.$ac_ext >&5
11928: 
11929:     ac_lo=`expr '(' $ac_mid ')' + 1`
11930: fi
11931: 
11932: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11933: done
11934: case $ac_lo in
11935: ?*) ac_cv_sizeof_float=$ac_lo;;
11936: '') if test "$ac_cv_type_float" = yes; then
11937:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
11938: See \`config.log' for more details." >&5
11939: echo "$as_me: error: cannot compute sizeof (float)
11940: See \`config.log' for more details." >&2;}
11941:    { (exit 77); exit 77; }; }
11942:    else
11943:      ac_cv_sizeof_float=0
11944:    fi ;;
11945: esac
11946: else
11947:   cat >conftest.$ac_ext <<_ACEOF
11948: /* confdefs.h.  */
11949: _ACEOF
11950: cat confdefs.h >>conftest.$ac_ext
11951: cat >>conftest.$ac_ext <<_ACEOF
11952: /* end confdefs.h.  */
11953: $ac_includes_default
11954:    typedef float ac__type_sizeof_;
11955: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11956: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11957: #include <stdio.h>
11958: #include <stdlib.h>
11959: int
11960: main ()
11961: {
11962: 
11963:   FILE *f = fopen ("conftest.val", "w");
11964:   if (! f)
11965:     return 1;
11966:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11967:     {
11968:       long int i = longval ();
11969:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
11970:     return 1;
11971:       fprintf (f, "%ld\n", i);
11972:     }
11973:   else
11974:     {
11975:       unsigned long int i = ulongval ();
11976:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
11977:     return 1;
11978:       fprintf (f, "%lu\n", i);
11979:     }
11980:   return ferror (f) || fclose (f) != 0;
11981: 
11982:   ;
11983:   return 0;
11984: }
11985: _ACEOF
11986: rm -f conftest$ac_exeext
11987: if { (ac_try="$ac_link"
11988: case "(($ac_try" in
11989:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11990:   *) ac_try_echo=$ac_try;;
11991: esac
11992: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11993:   (eval "$ac_link") 2>&5
11994:   ac_status=$?
11995:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11997:   { (case "(($ac_try" in
11998:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11999:   *) ac_try_echo=$ac_try;;
12000: esac
12001: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12002:   (eval "$ac_try") 2>&5
12003:   ac_status=$?
12004:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005:   (exit $ac_status); }; }; then
12006:   ac_cv_sizeof_float=`cat conftest.val`
12007: else
12008:   echo "$as_me: program exited with status $ac_status" >&5
12009: echo "$as_me: failed program was:" >&5
12010: sed 's/^/| /' conftest.$ac_ext >&5
12011: 
12012: ( exit $ac_status )
12013: if test "$ac_cv_type_float" = yes; then
12014:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
12015: See \`config.log' for more details." >&5
12016: echo "$as_me: error: cannot compute sizeof (float)
12017: See \`config.log' for more details." >&2;}
12018:    { (exit 77); exit 77; }; }
12019:    else
12020:      ac_cv_sizeof_float=0
12021:    fi
12022: fi
12023: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12024: fi
12025: rm -f conftest.val
12026: fi
12027: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
12028: echo "${ECHO_T}$ac_cv_sizeof_float" >&6; }
12029: 
12030: 
12031: 
12032: cat >>confdefs.h <<_ACEOF
12033: #define SIZEOF_FLOAT $ac_cv_sizeof_float
12034: _ACEOF
12035: 
12036: 
12037: { echo "$as_me:$LINENO: checking for double" >&5
12038: echo $ECHO_N "checking for double... $ECHO_C" >&6; }
12039: if test "${ac_cv_type_double+set}" = set; then
12040:   echo $ECHO_N "(cached) $ECHO_C" >&6
12041: else
12042:   cat >conftest.$ac_ext <<_ACEOF
12043: /* confdefs.h.  */
12044: _ACEOF
12045: cat confdefs.h >>conftest.$ac_ext
12046: cat >>conftest.$ac_ext <<_ACEOF
12047: /* end confdefs.h.  */
12048: $ac_includes_default
12049: typedef double ac__type_new_;
12050: int
12051: main ()
12052: {
12053: if ((ac__type_new_ *) 0)
12054:   return 0;
12055: if (sizeof (ac__type_new_))
12056:   return 0;
12057:   ;
12058:   return 0;
12059: }
12060: _ACEOF
12061: rm -f conftest.$ac_objext
12062: if { (ac_try="$ac_compile"
12063: case "(($ac_try" in
12064:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12065:   *) ac_try_echo=$ac_try;;
12066: esac
12067: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12068:   (eval "$ac_compile") 2>conftest.er1
12069:   ac_status=$?
12070:   grep -v '^ *+' conftest.er1 >conftest.err
12071:   rm -f conftest.er1
12072:   cat conftest.err >&5
12073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074:   (exit $ac_status); } && {
12075:      test -z "$ac_c_werror_flag" ||
12076:      test ! -s conftest.err
12077:        } && test -s conftest.$ac_objext; then
12078:   ac_cv_type_double=yes
12079: else
12080:   echo "$as_me: failed program was:" >&5
12081: sed 's/^/| /' conftest.$ac_ext >&5
12082: 
12083:     ac_cv_type_double=no
12084: fi
12085: 
12086: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12087: fi
12088: { echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
12089: echo "${ECHO_T}$ac_cv_type_double" >&6; }
12090: 
12091: # The cast to long int works around a bug in the HP C Compiler
12092: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12093: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12094: # This bug is HP SR number 8606223364.
12095: { echo "$as_me:$LINENO: checking size of double" >&5
12096: echo $ECHO_N "checking size of double... $ECHO_C" >&6; }
12097: if test "${ac_cv_sizeof_double+set}" = set; then
12098:   echo $ECHO_N "(cached) $ECHO_C" >&6
12099: else
12100:   if test "$cross_compiling" = yes; then
12101:   # Depending upon the size, compute the lo and hi bounds.
12102: cat >conftest.$ac_ext <<_ACEOF
12103: /* confdefs.h.  */
12104: _ACEOF
12105: cat confdefs.h >>conftest.$ac_ext
12106: cat >>conftest.$ac_ext <<_ACEOF
12107: /* end confdefs.h.  */
12108: $ac_includes_default
12109:    typedef double ac__type_sizeof_;
12110: int
12111: main ()
12112: {
12113: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12114: test_array [0] = 0
12115: 
12116:   ;
12117:   return 0;
12118: }
12119: _ACEOF
12120: rm -f conftest.$ac_objext
12121: if { (ac_try="$ac_compile"
12122: case "(($ac_try" in
12123:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12124:   *) ac_try_echo=$ac_try;;
12125: esac
12126: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12127:   (eval "$ac_compile") 2>conftest.er1
12128:   ac_status=$?
12129:   grep -v '^ *+' conftest.er1 >conftest.err
12130:   rm -f conftest.er1
12131:   cat conftest.err >&5
12132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133:   (exit $ac_status); } && {
12134:      test -z "$ac_c_werror_flag" ||
12135:      test ! -s conftest.err
12136:        } && test -s conftest.$ac_objext; then
12137:   ac_lo=0 ac_mid=0
12138:   while :; do
12139:     cat >conftest.$ac_ext <<_ACEOF
12140: /* confdefs.h.  */
12141: _ACEOF
12142: cat confdefs.h >>conftest.$ac_ext
12143: cat >>conftest.$ac_ext <<_ACEOF
12144: /* end confdefs.h.  */
12145: $ac_includes_default
12146:    typedef double ac__type_sizeof_;
12147: int
12148: main ()
12149: {
12150: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12151: test_array [0] = 0
12152: 
12153:   ;
12154:   return 0;
12155: }
12156: _ACEOF
12157: rm -f conftest.$ac_objext
12158: if { (ac_try="$ac_compile"
12159: case "(($ac_try" in
12160:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12161:   *) ac_try_echo=$ac_try;;
12162: esac
12163: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12164:   (eval "$ac_compile") 2>conftest.er1
12165:   ac_status=$?
12166:   grep -v '^ *+' conftest.er1 >conftest.err
12167:   rm -f conftest.er1
12168:   cat conftest.err >&5
12169:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170:   (exit $ac_status); } && {
12171:      test -z "$ac_c_werror_flag" ||
12172:      test ! -s conftest.err
12173:        } && test -s conftest.$ac_objext; then
12174:   ac_hi=$ac_mid; break
12175: else
12176:   echo "$as_me: failed program was:" >&5
12177: sed 's/^/| /' conftest.$ac_ext >&5
12178: 
12179:     ac_lo=`expr $ac_mid + 1`
12180:             if test $ac_lo -le $ac_mid; then
12181:               ac_lo= ac_hi=
12182:               break
12183:             fi
12184:             ac_mid=`expr 2 '*' $ac_mid + 1`
12185: fi
12186: 
12187: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12188:   done
12189: else
12190:   echo "$as_me: failed program was:" >&5
12191: sed 's/^/| /' conftest.$ac_ext >&5
12192: 
12193:     cat >conftest.$ac_ext <<_ACEOF
12194: /* confdefs.h.  */
12195: _ACEOF
12196: cat confdefs.h >>conftest.$ac_ext
12197: cat >>conftest.$ac_ext <<_ACEOF
12198: /* end confdefs.h.  */
12199: $ac_includes_default
12200:    typedef double ac__type_sizeof_;
12201: int
12202: main ()
12203: {
12204: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12205: test_array [0] = 0
12206: 
12207:   ;
12208:   return 0;
12209: }
12210: _ACEOF
12211: rm -f conftest.$ac_objext
12212: if { (ac_try="$ac_compile"
12213: case "(($ac_try" in
12214:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12215:   *) ac_try_echo=$ac_try;;
12216: esac
12217: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12218:   (eval "$ac_compile") 2>conftest.er1
12219:   ac_status=$?
12220:   grep -v '^ *+' conftest.er1 >conftest.err
12221:   rm -f conftest.er1
12222:   cat conftest.err >&5
12223:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224:   (exit $ac_status); } && {
12225:      test -z "$ac_c_werror_flag" ||
12226:      test ! -s conftest.err
12227:        } && test -s conftest.$ac_objext; then
12228:   ac_hi=-1 ac_mid=-1
12229:   while :; do
12230:     cat >conftest.$ac_ext <<_ACEOF
12231: /* confdefs.h.  */
12232: _ACEOF
12233: cat confdefs.h >>conftest.$ac_ext
12234: cat >>conftest.$ac_ext <<_ACEOF
12235: /* end confdefs.h.  */
12236: $ac_includes_default
12237:    typedef double ac__type_sizeof_;
12238: int
12239: main ()
12240: {
12241: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12242: test_array [0] = 0
12243: 
12244:   ;
12245:   return 0;
12246: }
12247: _ACEOF
12248: rm -f conftest.$ac_objext
12249: if { (ac_try="$ac_compile"
12250: case "(($ac_try" in
12251:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12252:   *) ac_try_echo=$ac_try;;
12253: esac
12254: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12255:   (eval "$ac_compile") 2>conftest.er1
12256:   ac_status=$?
12257:   grep -v '^ *+' conftest.er1 >conftest.err
12258:   rm -f conftest.er1
12259:   cat conftest.err >&5
12260:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261:   (exit $ac_status); } && {
12262:      test -z "$ac_c_werror_flag" ||
12263:      test ! -s conftest.err
12264:        } && test -s conftest.$ac_objext; then
12265:   ac_lo=$ac_mid; break
12266: else
12267:   echo "$as_me: failed program was:" >&5
12268: sed 's/^/| /' conftest.$ac_ext >&5
12269: 
12270:     ac_hi=`expr '(' $ac_mid ')' - 1`
12271:             if test $ac_mid -le $ac_hi; then
12272:               ac_lo= ac_hi=
12273:               break
12274:             fi
12275:             ac_mid=`expr 2 '*' $ac_mid`
12276: fi
12277: 
12278: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12279:   done
12280: else
12281:   echo "$as_me: failed program was:" >&5
12282: sed 's/^/| /' conftest.$ac_ext >&5
12283: 
12284:     ac_lo= ac_hi=
12285: fi
12286: 
12287: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12288: fi
12289: 
12290: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12291: # Binary search between lo and hi bounds.
12292: while test "x$ac_lo" != "x$ac_hi"; do
12293:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12294:   cat >conftest.$ac_ext <<_ACEOF
12295: /* confdefs.h.  */
12296: _ACEOF
12297: cat confdefs.h >>conftest.$ac_ext
12298: cat >>conftest.$ac_ext <<_ACEOF
12299: /* end confdefs.h.  */
12300: $ac_includes_default
12301:    typedef double ac__type_sizeof_;
12302: int
12303: main ()
12304: {
12305: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12306: test_array [0] = 0
12307: 
12308:   ;
12309:   return 0;
12310: }
12311: _ACEOF
12312: rm -f conftest.$ac_objext
12313: if { (ac_try="$ac_compile"
12314: case "(($ac_try" in
12315:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12316:   *) ac_try_echo=$ac_try;;
12317: esac
12318: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12319:   (eval "$ac_compile") 2>conftest.er1
12320:   ac_status=$?
12321:   grep -v '^ *+' conftest.er1 >conftest.err
12322:   rm -f conftest.er1
12323:   cat conftest.err >&5
12324:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325:   (exit $ac_status); } && {
12326:      test -z "$ac_c_werror_flag" ||
12327:      test ! -s conftest.err
12328:        } && test -s conftest.$ac_objext; then
12329:   ac_hi=$ac_mid
12330: else
12331:   echo "$as_me: failed program was:" >&5
12332: sed 's/^/| /' conftest.$ac_ext >&5
12333: 
12334:     ac_lo=`expr '(' $ac_mid ')' + 1`
12335: fi
12336: 
12337: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12338: done
12339: case $ac_lo in
12340: ?*) ac_cv_sizeof_double=$ac_lo;;
12341: '') if test "$ac_cv_type_double" = yes; then
12342:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
12343: See \`config.log' for more details." >&5
12344: echo "$as_me: error: cannot compute sizeof (double)
12345: See \`config.log' for more details." >&2;}
12346:    { (exit 77); exit 77; }; }
12347:    else
12348:      ac_cv_sizeof_double=0
12349:    fi ;;
12350: esac
12351: else
12352:   cat >conftest.$ac_ext <<_ACEOF
12353: /* confdefs.h.  */
12354: _ACEOF
12355: cat confdefs.h >>conftest.$ac_ext
12356: cat >>conftest.$ac_ext <<_ACEOF
12357: /* end confdefs.h.  */
12358: $ac_includes_default
12359:    typedef double ac__type_sizeof_;
12360: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12361: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12362: #include <stdio.h>
12363: #include <stdlib.h>
12364: int
12365: main ()
12366: {
12367: 
12368:   FILE *f = fopen ("conftest.val", "w");
12369:   if (! f)
12370:     return 1;
12371:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12372:     {
12373:       long int i = longval ();
12374:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
12375:     return 1;
12376:       fprintf (f, "%ld\n", i);
12377:     }
12378:   else
12379:     {
12380:       unsigned long int i = ulongval ();
12381:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
12382:     return 1;
12383:       fprintf (f, "%lu\n", i);
12384:     }
12385:   return ferror (f) || fclose (f) != 0;
12386: 
12387:   ;
12388:   return 0;
12389: }
12390: _ACEOF
12391: rm -f conftest$ac_exeext
12392: if { (ac_try="$ac_link"
12393: case "(($ac_try" in
12394:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12395:   *) ac_try_echo=$ac_try;;
12396: esac
12397: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12398:   (eval "$ac_link") 2>&5
12399:   ac_status=$?
12400:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12402:   { (case "(($ac_try" in
12403:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12404:   *) ac_try_echo=$ac_try;;
12405: esac
12406: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12407:   (eval "$ac_try") 2>&5
12408:   ac_status=$?
12409:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410:   (exit $ac_status); }; }; then
12411:   ac_cv_sizeof_double=`cat conftest.val`
12412: else
12413:   echo "$as_me: program exited with status $ac_status" >&5
12414: echo "$as_me: failed program was:" >&5
12415: sed 's/^/| /' conftest.$ac_ext >&5
12416: 
12417: ( exit $ac_status )
12418: if test "$ac_cv_type_double" = yes; then
12419:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
12420: See \`config.log' for more details." >&5
12421: echo "$as_me: error: cannot compute sizeof (double)
12422: See \`config.log' for more details." >&2;}
12423:    { (exit 77); exit 77; }; }
12424:    else
12425:      ac_cv_sizeof_double=0
12426:    fi
12427: fi
12428: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12429: fi
12430: rm -f conftest.val
12431: fi
12432: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
12433: echo "${ECHO_T}$ac_cv_sizeof_double" >&6; }
12434: 
12435: 
12436: 
12437: cat >>confdefs.h <<_ACEOF
12438: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
12439: _ACEOF
12440: 
12441: 
12442: { echo "$as_me:$LINENO: checking for long double" >&5
12443: echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
12444: if test "${ac_cv_type_long_double+set}" = set; then
12445:   echo $ECHO_N "(cached) $ECHO_C" >&6
12446: else
12447:   cat >conftest.$ac_ext <<_ACEOF
12448: /* confdefs.h.  */
12449: _ACEOF
12450: cat confdefs.h >>conftest.$ac_ext
12451: cat >>conftest.$ac_ext <<_ACEOF
12452: /* end confdefs.h.  */
12453: $ac_includes_default
12454: typedef long double ac__type_new_;
12455: int
12456: main ()
12457: {
12458: if ((ac__type_new_ *) 0)
12459:   return 0;
12460: if (sizeof (ac__type_new_))
12461:   return 0;
12462:   ;
12463:   return 0;
12464: }
12465: _ACEOF
12466: rm -f conftest.$ac_objext
12467: if { (ac_try="$ac_compile"
12468: case "(($ac_try" in
12469:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12470:   *) ac_try_echo=$ac_try;;
12471: esac
12472: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12473:   (eval "$ac_compile") 2>conftest.er1
12474:   ac_status=$?
12475:   grep -v '^ *+' conftest.er1 >conftest.err
12476:   rm -f conftest.er1
12477:   cat conftest.err >&5
12478:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479:   (exit $ac_status); } && {
12480:      test -z "$ac_c_werror_flag" ||
12481:      test ! -s conftest.err
12482:        } && test -s conftest.$ac_objext; then
12483:   ac_cv_type_long_double=yes
12484: else
12485:   echo "$as_me: failed program was:" >&5
12486: sed 's/^/| /' conftest.$ac_ext >&5
12487: 
12488:     ac_cv_type_long_double=no
12489: fi
12490: 
12491: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12492: fi
12493: { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
12494: echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
12495: 
12496: # The cast to long int works around a bug in the HP C Compiler
12497: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12498: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12499: # This bug is HP SR number 8606223364.
12500: { echo "$as_me:$LINENO: checking size of long double" >&5
12501: echo $ECHO_N "checking size of long double... $ECHO_C" >&6; }
12502: if test "${ac_cv_sizeof_long_double+set}" = set; then
12503:   echo $ECHO_N "(cached) $ECHO_C" >&6
12504: else
12505:   if test "$cross_compiling" = yes; then
12506:   # Depending upon the size, compute the lo and hi bounds.
12507: cat >conftest.$ac_ext <<_ACEOF
12508: /* confdefs.h.  */
12509: _ACEOF
12510: cat confdefs.h >>conftest.$ac_ext
12511: cat >>conftest.$ac_ext <<_ACEOF
12512: /* end confdefs.h.  */
12513: $ac_includes_default
12514:    typedef long double ac__type_sizeof_;
12515: int
12516: main ()
12517: {
12518: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12519: test_array [0] = 0
12520: 
12521:   ;
12522:   return 0;
12523: }
12524: _ACEOF
12525: rm -f conftest.$ac_objext
12526: if { (ac_try="$ac_compile"
12527: case "(($ac_try" in
12528:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12529:   *) ac_try_echo=$ac_try;;
12530: esac
12531: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12532:   (eval "$ac_compile") 2>conftest.er1
12533:   ac_status=$?
12534:   grep -v '^ *+' conftest.er1 >conftest.err
12535:   rm -f conftest.er1
12536:   cat conftest.err >&5
12537:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538:   (exit $ac_status); } && {
12539:      test -z "$ac_c_werror_flag" ||
12540:      test ! -s conftest.err
12541:        } && test -s conftest.$ac_objext; then
12542:   ac_lo=0 ac_mid=0
12543:   while :; do
12544:     cat >conftest.$ac_ext <<_ACEOF
12545: /* confdefs.h.  */
12546: _ACEOF
12547: cat confdefs.h >>conftest.$ac_ext
12548: cat >>conftest.$ac_ext <<_ACEOF
12549: /* end confdefs.h.  */
12550: $ac_includes_default
12551:    typedef long double ac__type_sizeof_;
12552: int
12553: main ()
12554: {
12555: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12556: test_array [0] = 0
12557: 
12558:   ;
12559:   return 0;
12560: }
12561: _ACEOF
12562: rm -f conftest.$ac_objext
12563: if { (ac_try="$ac_compile"
12564: case "(($ac_try" in
12565:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12566:   *) ac_try_echo=$ac_try;;
12567: esac
12568: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12569:   (eval "$ac_compile") 2>conftest.er1
12570:   ac_status=$?
12571:   grep -v '^ *+' conftest.er1 >conftest.err
12572:   rm -f conftest.er1
12573:   cat conftest.err >&5
12574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575:   (exit $ac_status); } && {
12576:      test -z "$ac_c_werror_flag" ||
12577:      test ! -s conftest.err
12578:        } && test -s conftest.$ac_objext; then
12579:   ac_hi=$ac_mid; break
12580: else
12581:   echo "$as_me: failed program was:" >&5
12582: sed 's/^/| /' conftest.$ac_ext >&5
12583: 
12584:     ac_lo=`expr $ac_mid + 1`
12585:             if test $ac_lo -le $ac_mid; then
12586:               ac_lo= ac_hi=
12587:               break
12588:             fi
12589:             ac_mid=`expr 2 '*' $ac_mid + 1`
12590: fi
12591: 
12592: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12593:   done
12594: else
12595:   echo "$as_me: failed program was:" >&5
12596: sed 's/^/| /' conftest.$ac_ext >&5
12597: 
12598:     cat >conftest.$ac_ext <<_ACEOF
12599: /* confdefs.h.  */
12600: _ACEOF
12601: cat confdefs.h >>conftest.$ac_ext
12602: cat >>conftest.$ac_ext <<_ACEOF
12603: /* end confdefs.h.  */
12604: $ac_includes_default
12605:    typedef long double ac__type_sizeof_;
12606: int
12607: main ()
12608: {
12609: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12610: test_array [0] = 0
12611: 
12612:   ;
12613:   return 0;
12614: }
12615: _ACEOF
12616: rm -f conftest.$ac_objext
12617: if { (ac_try="$ac_compile"
12618: case "(($ac_try" in
12619:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12620:   *) ac_try_echo=$ac_try;;
12621: esac
12622: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12623:   (eval "$ac_compile") 2>conftest.er1
12624:   ac_status=$?
12625:   grep -v '^ *+' conftest.er1 >conftest.err
12626:   rm -f conftest.er1
12627:   cat conftest.err >&5
12628:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629:   (exit $ac_status); } && {
12630:      test -z "$ac_c_werror_flag" ||
12631:      test ! -s conftest.err
12632:        } && test -s conftest.$ac_objext; then
12633:   ac_hi=-1 ac_mid=-1
12634:   while :; do
12635:     cat >conftest.$ac_ext <<_ACEOF
12636: /* confdefs.h.  */
12637: _ACEOF
12638: cat confdefs.h >>conftest.$ac_ext
12639: cat >>conftest.$ac_ext <<_ACEOF
12640: /* end confdefs.h.  */
12641: $ac_includes_default
12642:    typedef long double ac__type_sizeof_;
12643: int
12644: main ()
12645: {
12646: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12647: test_array [0] = 0
12648: 
12649:   ;
12650:   return 0;
12651: }
12652: _ACEOF
12653: rm -f conftest.$ac_objext
12654: if { (ac_try="$ac_compile"
12655: case "(($ac_try" in
12656:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12657:   *) ac_try_echo=$ac_try;;
12658: esac
12659: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660:   (eval "$ac_compile") 2>conftest.er1
12661:   ac_status=$?
12662:   grep -v '^ *+' conftest.er1 >conftest.err
12663:   rm -f conftest.er1
12664:   cat conftest.err >&5
12665:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666:   (exit $ac_status); } && {
12667:      test -z "$ac_c_werror_flag" ||
12668:      test ! -s conftest.err
12669:        } && test -s conftest.$ac_objext; then
12670:   ac_lo=$ac_mid; break
12671: else
12672:   echo "$as_me: failed program was:" >&5
12673: sed 's/^/| /' conftest.$ac_ext >&5
12674: 
12675:     ac_hi=`expr '(' $ac_mid ')' - 1`
12676:             if test $ac_mid -le $ac_hi; then
12677:               ac_lo= ac_hi=
12678:               break
12679:             fi
12680:             ac_mid=`expr 2 '*' $ac_mid`
12681: fi
12682: 
12683: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12684:   done
12685: else
12686:   echo "$as_me: failed program was:" >&5
12687: sed 's/^/| /' conftest.$ac_ext >&5
12688: 
12689:     ac_lo= ac_hi=
12690: fi
12691: 
12692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12693: fi
12694: 
12695: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12696: # Binary search between lo and hi bounds.
12697: while test "x$ac_lo" != "x$ac_hi"; do
12698:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12699:   cat >conftest.$ac_ext <<_ACEOF
12700: /* confdefs.h.  */
12701: _ACEOF
12702: cat confdefs.h >>conftest.$ac_ext
12703: cat >>conftest.$ac_ext <<_ACEOF
12704: /* end confdefs.h.  */
12705: $ac_includes_default
12706:    typedef long double ac__type_sizeof_;
12707: int
12708: main ()
12709: {
12710: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12711: test_array [0] = 0
12712: 
12713:   ;
12714:   return 0;
12715: }
12716: _ACEOF
12717: rm -f conftest.$ac_objext
12718: if { (ac_try="$ac_compile"
12719: case "(($ac_try" in
12720:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12721:   *) ac_try_echo=$ac_try;;
12722: esac
12723: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12724:   (eval "$ac_compile") 2>conftest.er1
12725:   ac_status=$?
12726:   grep -v '^ *+' conftest.er1 >conftest.err
12727:   rm -f conftest.er1
12728:   cat conftest.err >&5
12729:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730:   (exit $ac_status); } && {
12731:      test -z "$ac_c_werror_flag" ||
12732:      test ! -s conftest.err
12733:        } && test -s conftest.$ac_objext; then
12734:   ac_hi=$ac_mid
12735: else
12736:   echo "$as_me: failed program was:" >&5
12737: sed 's/^/| /' conftest.$ac_ext >&5
12738: 
12739:     ac_lo=`expr '(' $ac_mid ')' + 1`
12740: fi
12741: 
12742: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12743: done
12744: case $ac_lo in
12745: ?*) ac_cv_sizeof_long_double=$ac_lo;;
12746: '') if test "$ac_cv_type_long_double" = yes; then
12747:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
12748: See \`config.log' for more details." >&5
12749: echo "$as_me: error: cannot compute sizeof (long double)
12750: See \`config.log' for more details." >&2;}
12751:    { (exit 77); exit 77; }; }
12752:    else
12753:      ac_cv_sizeof_long_double=0
12754:    fi ;;
12755: esac
12756: else
12757:   cat >conftest.$ac_ext <<_ACEOF
12758: /* confdefs.h.  */
12759: _ACEOF
12760: cat confdefs.h >>conftest.$ac_ext
12761: cat >>conftest.$ac_ext <<_ACEOF
12762: /* end confdefs.h.  */
12763: $ac_includes_default
12764:    typedef long double ac__type_sizeof_;
12765: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12766: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12767: #include <stdio.h>
12768: #include <stdlib.h>
12769: int
12770: main ()
12771: {
12772: 
12773:   FILE *f = fopen ("conftest.val", "w");
12774:   if (! f)
12775:     return 1;
12776:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12777:     {
12778:       long int i = longval ();
12779:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
12780:     return 1;
12781:       fprintf (f, "%ld\n", i);
12782:     }
12783:   else
12784:     {
12785:       unsigned long int i = ulongval ();
12786:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
12787:     return 1;
12788:       fprintf (f, "%lu\n", i);
12789:     }
12790:   return ferror (f) || fclose (f) != 0;
12791: 
12792:   ;
12793:   return 0;
12794: }
12795: _ACEOF
12796: rm -f conftest$ac_exeext
12797: if { (ac_try="$ac_link"
12798: case "(($ac_try" in
12799:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12800:   *) ac_try_echo=$ac_try;;
12801: esac
12802: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12803:   (eval "$ac_link") 2>&5
12804:   ac_status=$?
12805:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12807:   { (case "(($ac_try" in
12808:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12809:   *) ac_try_echo=$ac_try;;
12810: esac
12811: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12812:   (eval "$ac_try") 2>&5
12813:   ac_status=$?
12814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815:   (exit $ac_status); }; }; then
12816:   ac_cv_sizeof_long_double=`cat conftest.val`
12817: else
12818:   echo "$as_me: program exited with status $ac_status" >&5
12819: echo "$as_me: failed program was:" >&5
12820: sed 's/^/| /' conftest.$ac_ext >&5
12821: 
12822: ( exit $ac_status )
12823: if test "$ac_cv_type_long_double" = yes; then
12824:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
12825: See \`config.log' for more details." >&5
12826: echo "$as_me: error: cannot compute sizeof (long double)
12827: See \`config.log' for more details." >&2;}
12828:    { (exit 77); exit 77; }; }
12829:    else
12830:      ac_cv_sizeof_long_double=0
12831:    fi
12832: fi
12833: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12834: fi
12835: rm -f conftest.val
12836: fi
12837: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
12838: echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6; }
12839: 
12840: 
12841: 
12842: cat >>confdefs.h <<_ACEOF
12843: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
12844: _ACEOF
12845: 
12846: 
12847: 
12848: 
12849: 
12850: 
12851: 
12852: 
12853: ac_header_dirent=no
12854: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12855:   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12856: { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
12857: echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
12858: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12859:   echo $ECHO_N "(cached) $ECHO_C" >&6
12860: else
12861:   cat >conftest.$ac_ext <<_ACEOF
12862: /* confdefs.h.  */
12863: _ACEOF
12864: cat confdefs.h >>conftest.$ac_ext
12865: cat >>conftest.$ac_ext <<_ACEOF
12866: /* end confdefs.h.  */
12867: #include <sys/types.h>
12868: #include <$ac_hdr>
12869: 
12870: int
12871: main ()
12872: {
12873: if ((DIR *) 0)
12874: return 0;
12875:   ;
12876:   return 0;
12877: }
12878: _ACEOF
12879: rm -f conftest.$ac_objext
12880: if { (ac_try="$ac_compile"
12881: case "(($ac_try" in
12882:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12883:   *) ac_try_echo=$ac_try;;
12884: esac
12885: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12886:   (eval "$ac_compile") 2>conftest.er1
12887:   ac_status=$?
12888:   grep -v '^ *+' conftest.er1 >conftest.err
12889:   rm -f conftest.er1
12890:   cat conftest.err >&5
12891:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892:   (exit $ac_status); } && {
12893:      test -z "$ac_c_werror_flag" ||
12894:      test ! -s conftest.err
12895:        } && test -s conftest.$ac_objext; then
12896:   eval "$as_ac_Header=yes"
12897: else
12898:   echo "$as_me: failed program was:" >&5
12899: sed 's/^/| /' conftest.$ac_ext >&5
12900: 
12901:     eval "$as_ac_Header=no"
12902: fi
12903: 
12904: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12905: fi
12906: ac_res=`eval echo '${'$as_ac_Header'}'`
12907:            { echo "$as_me:$LINENO: result: $ac_res" >&5
12908: echo "${ECHO_T}$ac_res" >&6; }
12909: if test `eval echo '${'$as_ac_Header'}'` = yes; then
12910:   cat >>confdefs.h <<_ACEOF
12911: #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12912: _ACEOF
12913: 
12914: ac_header_dirent=$ac_hdr; break
12915: fi
12916: 
12917: done
12918: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12919: if test $ac_header_dirent = dirent.h; then
12920:   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
12921: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
12922: if test "${ac_cv_search_opendir+set}" = set; then
12923:   echo $ECHO_N "(cached) $ECHO_C" >&6
12924: else
12925:   ac_func_search_save_LIBS=$LIBS
12926: cat >conftest.$ac_ext <<_ACEOF
12927: /* confdefs.h.  */
12928: _ACEOF
12929: cat confdefs.h >>conftest.$ac_ext
12930: cat >>conftest.$ac_ext <<_ACEOF
12931: /* end confdefs.h.  */
12932: 
12933: /* Override any GCC internal prototype to avoid an error.
12934:    Use char because int might match the return type of a GCC
12935:    builtin and then its argument prototype would still apply.  */
12936: #ifdef __cplusplus
12937: extern "C"
12938: #endif
12939: char opendir ();
12940: int
12941: main ()
12942: {
12943: return opendir ();
12944:   ;
12945:   return 0;
12946: }
12947: _ACEOF
12948: for ac_lib in '' dir; do
12949:   if test -z "$ac_lib"; then
12950:     ac_res="none required"
12951:   else
12952:     ac_res=-l$ac_lib
12953:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12954:   fi
12955:   rm -f conftest.$ac_objext conftest$ac_exeext
12956: if { (ac_try="$ac_link"
12957: case "(($ac_try" in
12958:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12959:   *) ac_try_echo=$ac_try;;
12960: esac
12961: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12962:   (eval "$ac_link") 2>conftest.er1
12963:   ac_status=$?
12964:   grep -v '^ *+' conftest.er1 >conftest.err
12965:   rm -f conftest.er1
12966:   cat conftest.err >&5
12967:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968:   (exit $ac_status); } && {
12969:      test -z "$ac_c_werror_flag" ||
12970:      test ! -s conftest.err
12971:        } && test -s conftest$ac_exeext &&
12972:        $as_test_x conftest$ac_exeext; then
12973:   ac_cv_search_opendir=$ac_res
12974: else
12975:   echo "$as_me: failed program was:" >&5
12976: sed 's/^/| /' conftest.$ac_ext >&5
12977: 
12978: 
12979: fi
12980: 
12981: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12982:       conftest$ac_exeext
12983:   if test "${ac_cv_search_opendir+set}" = set; then
12984:   break
12985: fi
12986: done
12987: if test "${ac_cv_search_opendir+set}" = set; then
12988:   :
12989: else
12990:   ac_cv_search_opendir=no
12991: fi
12992: rm conftest.$ac_ext
12993: LIBS=$ac_func_search_save_LIBS
12994: fi
12995: { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
12996: echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
12997: ac_res=$ac_cv_search_opendir
12998: if test "$ac_res" != no; then
12999:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13000: 
13001: fi
13002: 
13003: else
13004:   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13005: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13006: if test "${ac_cv_search_opendir+set}" = set; then
13007:   echo $ECHO_N "(cached) $ECHO_C" >&6
13008: else
13009:   ac_func_search_save_LIBS=$LIBS
13010: cat >conftest.$ac_ext <<_ACEOF
13011: /* confdefs.h.  */
13012: _ACEOF
13013: cat confdefs.h >>conftest.$ac_ext
13014: cat >>conftest.$ac_ext <<_ACEOF
13015: /* end confdefs.h.  */
13016: 
13017: /* Override any GCC internal prototype to avoid an error.
13018:    Use char because int might match the return type of a GCC
13019:    builtin and then its argument prototype would still apply.  */
13020: #ifdef __cplusplus
13021: extern "C"
13022: #endif
13023: char opendir ();
13024: int
13025: main ()
13026: {
13027: return opendir ();
13028:   ;
13029:   return 0;
13030: }
13031: _ACEOF
13032: for ac_lib in '' x; do
13033:   if test -z "$ac_lib"; then
13034:     ac_res="none required"
13035:   else
13036:     ac_res=-l$ac_lib
13037:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13038:   fi
13039:   rm -f conftest.$ac_objext conftest$ac_exeext
13040: if { (ac_try="$ac_link"
13041: case "(($ac_try" in
13042:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13043:   *) ac_try_echo=$ac_try;;
13044: esac
13045: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13046:   (eval "$ac_link") 2>conftest.er1
13047:   ac_status=$?
13048:   grep -v '^ *+' conftest.er1 >conftest.err
13049:   rm -f conftest.er1
13050:   cat conftest.err >&5
13051:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052:   (exit $ac_status); } && {
13053:      test -z "$ac_c_werror_flag" ||
13054:      test ! -s conftest.err
13055:        } && test -s conftest$ac_exeext &&
13056:        $as_test_x conftest$ac_exeext; then
13057:   ac_cv_search_opendir=$ac_res
13058: else
13059:   echo "$as_me: failed program was:" >&5
13060: sed 's/^/| /' conftest.$ac_ext >&5
13061: 
13062: 
13063: fi
13064: 
13065: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13066:       conftest$ac_exeext
13067:   if test "${ac_cv_search_opendir+set}" = set; then
13068:   break
13069: fi
13070: done
13071: if test "${ac_cv_search_opendir+set}" = set; then
13072:   :
13073: else
13074:   ac_cv_search_opendir=no
13075: fi
13076: rm conftest.$ac_ext
13077: LIBS=$ac_func_search_save_LIBS
13078: fi
13079: { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13080: echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
13081: ac_res=$ac_cv_search_opendir
13082: if test "$ac_res" != no; then
13083:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13084: 
13085: fi
13086: 
13087: fi
13088: 
13089: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13090: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
13091: if test "${ac_cv_header_stdc+set}" = set; then
13092:   echo $ECHO_N "(cached) $ECHO_C" >&6
13093: else
13094:   cat >conftest.$ac_ext <<_ACEOF
13095: /* confdefs.h.  */
13096: _ACEOF
13097: cat confdefs.h >>conftest.$ac_ext
13098: cat >>conftest.$ac_ext <<_ACEOF
13099: /* end confdefs.h.  */
13100: #include <stdlib.h>
13101: #include <stdarg.h>
13102: #include <string.h>
13103: #include <float.h>
13104: 
13105: int
13106: main ()
13107: {
13108: 
13109:   ;
13110:   return 0;
13111: }
13112: _ACEOF
13113: rm -f conftest.$ac_objext
13114: if { (ac_try="$ac_compile"
13115: case "(($ac_try" in
13116:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13117:   *) ac_try_echo=$ac_try;;
13118: esac
13119: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13120:   (eval "$ac_compile") 2>conftest.er1
13121:   ac_status=$?
13122:   grep -v '^ *+' conftest.er1 >conftest.err
13123:   rm -f conftest.er1
13124:   cat conftest.err >&5
13125:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126:   (exit $ac_status); } && {
13127:      test -z "$ac_c_werror_flag" ||
13128:      test ! -s conftest.err
13129:        } && test -s conftest.$ac_objext; then
13130:   ac_cv_header_stdc=yes
13131: else
13132:   echo "$as_me: failed program was:" >&5
13133: sed 's/^/| /' conftest.$ac_ext >&5
13134: 
13135:     ac_cv_header_stdc=no
13136: fi
13137: 
13138: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13139: 
13140: if test $ac_cv_header_stdc = yes; then
13141:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13142:   cat >conftest.$ac_ext <<_ACEOF
13143: /* confdefs.h.  */
13144: _ACEOF
13145: cat confdefs.h >>conftest.$ac_ext
13146: cat >>conftest.$ac_ext <<_ACEOF
13147: /* end confdefs.h.  */
13148: #include <string.h>
13149: 
13150: _ACEOF
13151: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13152:   $EGREP "memchr" >/dev/null 2>&1; then
13153:   :
13154: else
13155:   ac_cv_header_stdc=no
13156: fi
13157: rm -f conftest*
13158: 
13159: fi
13160: 
13161: if test $ac_cv_header_stdc = yes; then
13162:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13163:   cat >conftest.$ac_ext <<_ACEOF
13164: /* confdefs.h.  */
13165: _ACEOF
13166: cat confdefs.h >>conftest.$ac_ext
13167: cat >>conftest.$ac_ext <<_ACEOF
13168: /* end confdefs.h.  */
13169: #include <stdlib.h>
13170: 
13171: _ACEOF
13172: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13173:   $EGREP "free" >/dev/null 2>&1; then
13174:   :
13175: else
13176:   ac_cv_header_stdc=no
13177: fi
13178: rm -f conftest*
13179: 
13180: fi
13181: 
13182: if test $ac_cv_header_stdc = yes; then
13183:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13184:   if test "$cross_compiling" = yes; then
13185:   :
13186: else
13187:   cat >conftest.$ac_ext <<_ACEOF
13188: /* confdefs.h.  */
13189: _ACEOF
13190: cat confdefs.h >>conftest.$ac_ext
13191: cat >>conftest.$ac_ext <<_ACEOF
13192: /* end confdefs.h.  */
13193: #include <ctype.h>
13194: #include <stdlib.h>
13195: #if ((' ' & 0x0FF) == 0x020)
13196: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13197: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13198: #else
13199: # define ISLOWER(c) \
13200:            (('a' <= (c) && (c) <= 'i') \
13201:              || ('j' <= (c) && (c) <= 'r') \
13202:              || ('s' <= (c) && (c) <= 'z'))
13203: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13204: #endif
13205: 
13206: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13207: int
13208: main ()
13209: {
13210:   int i;
13211:   for (i = 0; i < 256; i++)
13212:     if (XOR (islower (i), ISLOWER (i))
13213:     || toupper (i) != TOUPPER (i))
13214:       return 2;
13215:   return 0;
13216: }
13217: _ACEOF
13218: rm -f conftest$ac_exeext
13219: if { (ac_try="$ac_link"
13220: case "(($ac_try" in
13221:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13222:   *) ac_try_echo=$ac_try;;
13223: esac
13224: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13225:   (eval "$ac_link") 2>&5
13226:   ac_status=$?
13227:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13229:   { (case "(($ac_try" in
13230:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13231:   *) ac_try_echo=$ac_try;;
13232: esac
13233: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234:   (eval "$ac_try") 2>&5
13235:   ac_status=$?
13236:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237:   (exit $ac_status); }; }; then
13238:   :
13239: else
13240:   echo "$as_me: program exited with status $ac_status" >&5
13241: echo "$as_me: failed program was:" >&5
13242: sed 's/^/| /' conftest.$ac_ext >&5
13243: 
13244: ( exit $ac_status )
13245: ac_cv_header_stdc=no
13246: fi
13247: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13248: fi
13249: 
13250: 
13251: fi
13252: fi
13253: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13254: echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
13255: if test $ac_cv_header_stdc = yes; then
13256: 
13257: cat >>confdefs.h <<\_ACEOF
13258: #define STDC_HEADERS 1
13259: _ACEOF
13260: 
13261: fi
13262: 
13263: { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
13264: echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
13265: if test "${ac_cv_header_sys_wait_h+set}" = set; then
13266:   echo $ECHO_N "(cached) $ECHO_C" >&6
13267: else
13268:   cat >conftest.$ac_ext <<_ACEOF
13269: /* confdefs.h.  */
13270: _ACEOF
13271: cat confdefs.h >>conftest.$ac_ext
13272: cat >>conftest.$ac_ext <<_ACEOF
13273: /* end confdefs.h.  */
13274: #include <sys/types.h>
13275: #include <sys/wait.h>
13276: #ifndef WEXITSTATUS
13277: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
13278: #endif
13279: #ifndef WIFEXITED
13280: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
13281: #endif
13282: 
13283: int
13284: main ()
13285: {
13286:   int s;
13287:   wait (&s);
13288:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
13289:   ;
13290:   return 0;
13291: }
13292: _ACEOF
13293: rm -f conftest.$ac_objext
13294: if { (ac_try="$ac_compile"
13295: case "(($ac_try" in
13296:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13297:   *) ac_try_echo=$ac_try;;
13298: esac
13299: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13300:   (eval "$ac_compile") 2>conftest.er1
13301:   ac_status=$?
13302:   grep -v '^ *+' conftest.er1 >conftest.err
13303:   rm -f conftest.er1
13304:   cat conftest.err >&5
13305:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306:   (exit $ac_status); } && {
13307:      test -z "$ac_c_werror_flag" ||
13308:      test ! -s conftest.err
13309:        } && test -s conftest.$ac_objext; then
13310:   ac_cv_header_sys_wait_h=yes
13311: else
13312:   echo "$as_me: failed program was:" >&5
13313: sed 's/^/| /' conftest.$ac_ext >&5
13314: 
13315:     ac_cv_header_sys_wait_h=no
13316: fi
13317: 
13318: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13319: fi
13320: { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
13321: echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
13322: if test $ac_cv_header_sys_wait_h = yes; then
13323: 
13324: cat >>confdefs.h <<\_ACEOF
13325: #define HAVE_SYS_WAIT_H 1
13326: _ACEOF
13327: 
13328: fi
13329: 
13330: 
13331: 
13332: 
13333: 
13334: 
13335: 
13336: 
13337: 
13338: 
13339: 
13340: 
13341: 
13342: 
13343: 
13344: 
13345: 
13346: 
13347: 
13348: 
13349: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
13350:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
13351:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
13352: do
13353: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13354: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13355:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
13356: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13357: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13358:   echo $ECHO_N "(cached) $ECHO_C" >&6
13359: fi
13360: ac_res=`eval echo '${'$as_ac_Header'}'`
13361:            { echo "$as_me:$LINENO: result: $ac_res" >&5
13362: echo "${ECHO_T}$ac_res" >&6; }
13363: else
13364:   # Is the header compilable?
13365: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
13366: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13367: cat >conftest.$ac_ext <<_ACEOF
13368: /* confdefs.h.  */
13369: _ACEOF
13370: cat confdefs.h >>conftest.$ac_ext
13371: cat >>conftest.$ac_ext <<_ACEOF
13372: /* end confdefs.h.  */
13373: $ac_includes_default
13374: #include <$ac_header>
13375: _ACEOF
13376: rm -f conftest.$ac_objext
13377: if { (ac_try="$ac_compile"
13378: case "(($ac_try" in
13379:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13380:   *) ac_try_echo=$ac_try;;
13381: esac
13382: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13383:   (eval "$ac_compile") 2>conftest.er1
13384:   ac_status=$?
13385:   grep -v '^ *+' conftest.er1 >conftest.err
13386:   rm -f conftest.er1
13387:   cat conftest.err >&5
13388:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389:   (exit $ac_status); } && {
13390:      test -z "$ac_c_werror_flag" ||
13391:      test ! -s conftest.err
13392:        } && test -s conftest.$ac_objext; then
13393:   ac_header_compiler=yes
13394: else
13395:   echo "$as_me: failed program was:" >&5
13396: sed 's/^/| /' conftest.$ac_ext >&5
13397: 
13398:     ac_header_compiler=no
13399: fi
13400: 
13401: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13402: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13403: echo "${ECHO_T}$ac_header_compiler" >&6; }
13404: 
13405: # Is the header present?
13406: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
13407: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13408: cat >conftest.$ac_ext <<_ACEOF
13409: /* confdefs.h.  */
13410: _ACEOF
13411: cat confdefs.h >>conftest.$ac_ext
13412: cat >>conftest.$ac_ext <<_ACEOF
13413: /* end confdefs.h.  */
13414: #include <$ac_header>
13415: _ACEOF
13416: if { (ac_try="$ac_cpp conftest.$ac_ext"
13417: case "(($ac_try" in
13418:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13419:   *) ac_try_echo=$ac_try;;
13420: esac
13421: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13422:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13423:   ac_status=$?
13424:   grep -v '^ *+' conftest.er1 >conftest.err
13425:   rm -f conftest.er1
13426:   cat conftest.err >&5
13427:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428:   (exit $ac_status); } >/dev/null && {
13429:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13430:      test ! -s conftest.err
13431:        }; then
13432:   ac_header_preproc=yes
13433: else
13434:   echo "$as_me: failed program was:" >&5
13435: sed 's/^/| /' conftest.$ac_ext >&5
13436: 
13437:   ac_header_preproc=no
13438: fi
13439: 
13440: rm -f conftest.err conftest.$ac_ext
13441: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13442: echo "${ECHO_T}$ac_header_preproc" >&6; }
13443: 
13444: # So?  What about this header?
13445: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13446:   yes:no: )
13447:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13448: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13449:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13450: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13451:     ac_header_preproc=yes
13452:     ;;
13453:   no:yes:* )
13454:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13455: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13456:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13457: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13458:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13459: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13460:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13461: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13462:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13463: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13464:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13465: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13466: 
13467:     ;;
13468: esac
13469: { echo "$as_me:$LINENO: checking for $ac_header" >&5
13470: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13471: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13472:   echo $ECHO_N "(cached) $ECHO_C" >&6
13473: else
13474:   eval "$as_ac_Header=\$ac_header_preproc"
13475: fi
13476: ac_res=`eval echo '${'$as_ac_Header'}'`
13477:            { echo "$as_me:$LINENO: result: $ac_res" >&5
13478: echo "${ECHO_T}$ac_res" >&6; }
13479: 
13480: fi
13481: if test `eval echo '${'$as_ac_Header'}'` = yes; then
13482:   cat >>confdefs.h <<_ACEOF
13483: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13484: _ACEOF
13485: 
13486: fi
13487: 
13488: done
13489: 
13490: 
13491: { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13492: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
13493: if test "${ac_cv_c_const+set}" = set; then
13494:   echo $ECHO_N "(cached) $ECHO_C" >&6
13495: else
13496:   cat >conftest.$ac_ext <<_ACEOF
13497: /* confdefs.h.  */
13498: _ACEOF
13499: cat confdefs.h >>conftest.$ac_ext
13500: cat >>conftest.$ac_ext <<_ACEOF
13501: /* end confdefs.h.  */
13502: 
13503: int
13504: main ()
13505: {
13506: /* FIXME: Include the comments suggested by Paul. */
13507: #ifndef __cplusplus
13508:   /* Ultrix mips cc rejects this.  */
13509:   typedef int charset[2];
13510:   const charset cs;
13511:   /* SunOS 4.1.1 cc rejects this.  */
13512:   char const *const *pcpcc;
13513:   char **ppc;
13514:   /* NEC SVR4.0.2 mips cc rejects this.  */
13515:   struct point {int x, y;};
13516:   static struct point const zero = {0,0};
13517:   /* AIX XL C 1.02.0.0 rejects this.
13518:      It does not let you subtract one const X* pointer from another in
13519:      an arm of an if-expression whose if-part is not a constant
13520:      expression */
13521:   const char *g = "string";
13522:   pcpcc = &g + (g ? g-g : 0);
13523:   /* HPUX 7.0 cc rejects these. */
13524:   ++pcpcc;
13525:   ppc = (char**) pcpcc;
13526:   pcpcc = (char const *const *) ppc;
13527:   { /* SCO 3.2v4 cc rejects this.  */
13528:     char *t;
13529:     char const *s = 0 ? (char *) 0 : (char const *) 0;
13530: 
13531:     *t++ = 0;
13532:     if (s) return 0;
13533:   }
13534:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13535:     int x[] = {25, 17};
13536:     const int *foo = &x[0];
13537:     ++foo;
13538:   }
13539:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13540:     typedef const int *iptr;
13541:     iptr p = 0;
13542:     ++p;
13543:   }
13544:   { /* AIX XL C 1.02.0.0 rejects this saying
13545:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13546:     struct s { int j; const int *ap[3]; };
13547:     struct s *b; b->j = 5;
13548:   }
13549:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13550:     const int foo = 10;
13551:     if (!foo) return 0;
13552:   }
13553:   return !cs[0] && !zero.x;
13554: #endif
13555: 
13556:   ;
13557:   return 0;
13558: }
13559: _ACEOF
13560: rm -f conftest.$ac_objext
13561: if { (ac_try="$ac_compile"
13562: case "(($ac_try" in
13563:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13564:   *) ac_try_echo=$ac_try;;
13565: esac
13566: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13567:   (eval "$ac_compile") 2>conftest.er1
13568:   ac_status=$?
13569:   grep -v '^ *+' conftest.er1 >conftest.err
13570:   rm -f conftest.er1
13571:   cat conftest.err >&5
13572:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573:   (exit $ac_status); } && {
13574:      test -z "$ac_c_werror_flag" ||
13575:      test ! -s conftest.err
13576:        } && test -s conftest.$ac_objext; then
13577:   ac_cv_c_const=yes
13578: else
13579:   echo "$as_me: failed program was:" >&5
13580: sed 's/^/| /' conftest.$ac_ext >&5
13581: 
13582:     ac_cv_c_const=no
13583: fi
13584: 
13585: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13586: fi
13587: { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13588: echo "${ECHO_T}$ac_cv_c_const" >&6; }
13589: if test $ac_cv_c_const = no; then
13590: 
13591: cat >>confdefs.h <<\_ACEOF
13592: #define const
13593: _ACEOF
13594: 
13595: fi
13596: 
13597: { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
13598: echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
13599: if test "${ac_cv_type_uid_t+set}" = set; then
13600:   echo $ECHO_N "(cached) $ECHO_C" >&6
13601: else
13602:   cat >conftest.$ac_ext <<_ACEOF
13603: /* confdefs.h.  */
13604: _ACEOF
13605: cat confdefs.h >>conftest.$ac_ext
13606: cat >>conftest.$ac_ext <<_ACEOF
13607: /* end confdefs.h.  */
13608: #include <sys/types.h>
13609: 
13610: _ACEOF
13611: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13612:   $EGREP "uid_t" >/dev/null 2>&1; then
13613:   ac_cv_type_uid_t=yes
13614: else
13615:   ac_cv_type_uid_t=no
13616: fi
13617: rm -f conftest*
13618: 
13619: fi
13620: { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
13621: echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
13622: if test $ac_cv_type_uid_t = no; then
13623: 
13624: cat >>confdefs.h <<\_ACEOF
13625: #define uid_t int
13626: _ACEOF
13627: 
13628: 
13629: cat >>confdefs.h <<\_ACEOF
13630: #define gid_t int
13631: _ACEOF
13632: 
13633: fi
13634: 
13635: { echo "$as_me:$LINENO: checking for pid_t" >&5
13636: echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
13637: if test "${ac_cv_type_pid_t+set}" = set; then
13638:   echo $ECHO_N "(cached) $ECHO_C" >&6
13639: else
13640:   cat >conftest.$ac_ext <<_ACEOF
13641: /* confdefs.h.  */
13642: _ACEOF
13643: cat confdefs.h >>conftest.$ac_ext
13644: cat >>conftest.$ac_ext <<_ACEOF
13645: /* end confdefs.h.  */
13646: $ac_includes_default
13647: typedef pid_t ac__type_new_;
13648: int
13649: main ()
13650: {
13651: if ((ac__type_new_ *) 0)
13652:   return 0;
13653: if (sizeof (ac__type_new_))
13654:   return 0;
13655:   ;
13656:   return 0;
13657: }
13658: _ACEOF
13659: rm -f conftest.$ac_objext
13660: if { (ac_try="$ac_compile"
13661: case "(($ac_try" in
13662:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13663:   *) ac_try_echo=$ac_try;;
13664: esac
13665: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13666:   (eval "$ac_compile") 2>conftest.er1
13667:   ac_status=$?
13668:   grep -v '^ *+' conftest.er1 >conftest.err
13669:   rm -f conftest.er1
13670:   cat conftest.err >&5
13671:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672:   (exit $ac_status); } && {
13673:      test -z "$ac_c_werror_flag" ||
13674:      test ! -s conftest.err
13675:        } && test -s conftest.$ac_objext; then
13676:   ac_cv_type_pid_t=yes
13677: else
13678:   echo "$as_me: failed program was:" >&5
13679: sed 's/^/| /' conftest.$ac_ext >&5
13680: 
13681:     ac_cv_type_pid_t=no
13682: fi
13683: 
13684: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13685: fi
13686: { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
13687: echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
13688: if test $ac_cv_type_pid_t = yes; then
13689:   :
13690: else
13691: 
13692: cat >>confdefs.h <<_ACEOF
13693: #define pid_t int
13694: _ACEOF
13695: 
13696: fi
13697: 
13698: { echo "$as_me:$LINENO: checking for size_t" >&5
13699: echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
13700: if test "${ac_cv_type_size_t+set}" = set; then
13701:   echo $ECHO_N "(cached) $ECHO_C" >&6
13702: else
13703:   cat >conftest.$ac_ext <<_ACEOF
13704: /* confdefs.h.  */
13705: _ACEOF
13706: cat confdefs.h >>conftest.$ac_ext
13707: cat >>conftest.$ac_ext <<_ACEOF
13708: /* end confdefs.h.  */
13709: $ac_includes_default
13710: typedef size_t ac__type_new_;
13711: int
13712: main ()
13713: {
13714: if ((ac__type_new_ *) 0)
13715:   return 0;
13716: if (sizeof (ac__type_new_))
13717:   return 0;
13718:   ;
13719:   return 0;
13720: }
13721: _ACEOF
13722: rm -f conftest.$ac_objext
13723: if { (ac_try="$ac_compile"
13724: case "(($ac_try" in
13725:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13726:   *) ac_try_echo=$ac_try;;
13727: esac
13728: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13729:   (eval "$ac_compile") 2>conftest.er1
13730:   ac_status=$?
13731:   grep -v '^ *+' conftest.er1 >conftest.err
13732:   rm -f conftest.er1
13733:   cat conftest.err >&5
13734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735:   (exit $ac_status); } && {
13736:      test -z "$ac_c_werror_flag" ||
13737:      test ! -s conftest.err
13738:        } && test -s conftest.$ac_objext; then
13739:   ac_cv_type_size_t=yes
13740: else
13741:   echo "$as_me: failed program was:" >&5
13742: sed 's/^/| /' conftest.$ac_ext >&5
13743: 
13744:     ac_cv_type_size_t=no
13745: fi
13746: 
13747: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13748: fi
13749: { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
13750: echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
13751: if test $ac_cv_type_size_t = yes; then
13752:   :
13753: else
13754: 
13755: cat >>confdefs.h <<_ACEOF
13756: #define size_t unsigned int
13757: _ACEOF
13758: 
13759: fi
13760: 
13761: { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
13762: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
13763: if test "${ac_cv_header_time+set}" = set; then
13764:   echo $ECHO_N "(cached) $ECHO_C" >&6
13765: else
13766:   cat >conftest.$ac_ext <<_ACEOF
13767: /* confdefs.h.  */
13768: _ACEOF
13769: cat confdefs.h >>conftest.$ac_ext
13770: cat >>conftest.$ac_ext <<_ACEOF
13771: /* end confdefs.h.  */
13772: #include <sys/types.h>
13773: #include <sys/time.h>
13774: #include <time.h>
13775: 
13776: int
13777: main ()
13778: {
13779: if ((struct tm *) 0)
13780: return 0;
13781:   ;
13782:   return 0;
13783: }
13784: _ACEOF
13785: rm -f conftest.$ac_objext
13786: if { (ac_try="$ac_compile"
13787: case "(($ac_try" in
13788:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13789:   *) ac_try_echo=$ac_try;;
13790: esac
13791: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13792:   (eval "$ac_compile") 2>conftest.er1
13793:   ac_status=$?
13794:   grep -v '^ *+' conftest.er1 >conftest.err
13795:   rm -f conftest.er1
13796:   cat conftest.err >&5
13797:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798:   (exit $ac_status); } && {
13799:      test -z "$ac_c_werror_flag" ||
13800:      test ! -s conftest.err
13801:        } && test -s conftest.$ac_objext; then
13802:   ac_cv_header_time=yes
13803: else
13804:   echo "$as_me: failed program was:" >&5
13805: sed 's/^/| /' conftest.$ac_ext >&5
13806: 
13807:     ac_cv_header_time=no
13808: fi
13809: 
13810: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13811: fi
13812: { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
13813: echo "${ECHO_T}$ac_cv_header_time" >&6; }
13814: if test $ac_cv_header_time = yes; then
13815: 
13816: cat >>confdefs.h <<\_ACEOF
13817: #define TIME_WITH_SYS_TIME 1
13818: _ACEOF
13819: 
13820: fi
13821: 
13822: { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
13823: echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
13824: if test "${ac_cv_struct_tm+set}" = set; then
13825:   echo $ECHO_N "(cached) $ECHO_C" >&6
13826: else
13827:   cat >conftest.$ac_ext <<_ACEOF
13828: /* confdefs.h.  */
13829: _ACEOF
13830: cat confdefs.h >>conftest.$ac_ext
13831: cat >>conftest.$ac_ext <<_ACEOF
13832: /* end confdefs.h.  */
13833: #include <sys/types.h>
13834: #include <time.h>
13835: 
13836: int
13837: main ()
13838: {
13839: struct tm tm;
13840:                      int *p = &tm.tm_sec;
13841:                      return !p;
13842:   ;
13843:   return 0;
13844: }
13845: _ACEOF
13846: rm -f conftest.$ac_objext
13847: if { (ac_try="$ac_compile"
13848: case "(($ac_try" in
13849:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13850:   *) ac_try_echo=$ac_try;;
13851: esac
13852: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13853:   (eval "$ac_compile") 2>conftest.er1
13854:   ac_status=$?
13855:   grep -v '^ *+' conftest.er1 >conftest.err
13856:   rm -f conftest.er1
13857:   cat conftest.err >&5
13858:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859:   (exit $ac_status); } && {
13860:      test -z "$ac_c_werror_flag" ||
13861:      test ! -s conftest.err
13862:        } && test -s conftest.$ac_objext; then
13863:   ac_cv_struct_tm=time.h
13864: else
13865:   echo "$as_me: failed program was:" >&5
13866: sed 's/^/| /' conftest.$ac_ext >&5
13867: 
13868:     ac_cv_struct_tm=sys/time.h
13869: fi
13870: 
13871: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13872: fi
13873: { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
13874: echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
13875: if test $ac_cv_struct_tm = sys/time.h; then
13876: 
13877: cat >>confdefs.h <<\_ACEOF
13878: #define TM_IN_SYS_TIME 1
13879: _ACEOF
13880: 
13881: fi
13882: 
13883: 
13884: { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13885: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
13886: if test "${ac_cv_type_signal+set}" = set; then
13887:   echo $ECHO_N "(cached) $ECHO_C" >&6
13888: else
13889:   cat >conftest.$ac_ext <<_ACEOF
13890: /* confdefs.h.  */
13891: _ACEOF
13892: cat confdefs.h >>conftest.$ac_ext
13893: cat >>conftest.$ac_ext <<_ACEOF
13894: /* end confdefs.h.  */
13895: #include <sys/types.h>
13896: #include <signal.h>
13897: 
13898: int
13899: main ()
13900: {
13901: return *(signal (0, 0)) (0) == 1;
13902:   ;
13903:   return 0;
13904: }
13905: _ACEOF
13906: rm -f conftest.$ac_objext
13907: if { (ac_try="$ac_compile"
13908: case "(($ac_try" in
13909:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13910:   *) ac_try_echo=$ac_try;;
13911: esac
13912: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13913:   (eval "$ac_compile") 2>conftest.er1
13914:   ac_status=$?
13915:   grep -v '^ *+' conftest.er1 >conftest.err
13916:   rm -f conftest.er1
13917:   cat conftest.err >&5
13918:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919:   (exit $ac_status); } && {
13920:      test -z "$ac_c_werror_flag" ||
13921:      test ! -s conftest.err
13922:        } && test -s conftest.$ac_objext; then
13923:   ac_cv_type_signal=int
13924: else
13925:   echo "$as_me: failed program was:" >&5
13926: sed 's/^/| /' conftest.$ac_ext >&5
13927: 
13928:     ac_cv_type_signal=void
13929: fi
13930: 
13931: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13932: fi
13933: { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13934: echo "${ECHO_T}$ac_cv_type_signal" >&6; }
13935: 
13936: cat >>confdefs.h <<_ACEOF
13937: #define RETSIGTYPE $ac_cv_type_signal
13938: _ACEOF
13939: 
13940: 
13941: { echo "$as_me:$LINENO: checking for working strcoll" >&5
13942: echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6; }
13943: if test "${ac_cv_func_strcoll_works+set}" = set; then
13944:   echo $ECHO_N "(cached) $ECHO_C" >&6
13945: else
13946:   if test "$cross_compiling" = yes; then
13947:   ac_cv_func_strcoll_works=no
13948: else
13949:   cat >conftest.$ac_ext <<_ACEOF
13950: /* confdefs.h.  */
13951: _ACEOF
13952: cat confdefs.h >>conftest.$ac_ext
13953: cat >>conftest.$ac_ext <<_ACEOF
13954: /* end confdefs.h.  */
13955: $ac_includes_default
13956: int
13957: main ()
13958: {
13959: return (strcoll ("abc", "def") >= 0 ||
13960:      strcoll ("ABC", "DEF") >= 0 ||
13961:      strcoll ("123", "456") >= 0)
13962:   ;
13963:   return 0;
13964: }
13965: _ACEOF
13966: rm -f conftest$ac_exeext
13967: if { (ac_try="$ac_link"
13968: case "(($ac_try" in
13969:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13970:   *) ac_try_echo=$ac_try;;
13971: esac
13972: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13973:   (eval "$ac_link") 2>&5
13974:   ac_status=$?
13975:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13977:   { (case "(($ac_try" in
13978:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13979:   *) ac_try_echo=$ac_try;;
13980: esac
13981: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13982:   (eval "$ac_try") 2>&5
13983:   ac_status=$?
13984:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985:   (exit $ac_status); }; }; then
13986:   ac_cv_func_strcoll_works=yes
13987: else
13988:   echo "$as_me: program exited with status $ac_status" >&5
13989: echo "$as_me: failed program was:" >&5
13990: sed 's/^/| /' conftest.$ac_ext >&5
13991: 
13992: ( exit $ac_status )
13993: ac_cv_func_strcoll_works=no
13994: fi
13995: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13996: fi
13997: 
13998: 
13999: fi
14000: { echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
14001: echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; }
14002: if test $ac_cv_func_strcoll_works = yes; then
14003: 
14004: cat >>confdefs.h <<\_ACEOF
14005: #define HAVE_STRCOLL 1
14006: _ACEOF
14007: 
14008: fi
14009: 
14010: 
14011: for ac_func in strftime
14012: do
14013: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14014: { echo "$as_me:$LINENO: checking for $ac_func" >&5
14015: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14016: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14017:   echo $ECHO_N "(cached) $ECHO_C" >&6
14018: else
14019:   cat >conftest.$ac_ext <<_ACEOF
14020: /* confdefs.h.  */
14021: _ACEOF
14022: cat confdefs.h >>conftest.$ac_ext
14023: cat >>conftest.$ac_ext <<_ACEOF
14024: /* end confdefs.h.  */
14025: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14026:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14027: #define $ac_func innocuous_$ac_func
14028: 
14029: /* System header to define __stub macros and hopefully few prototypes,
14030:     which can conflict with char $ac_func (); below.
14031:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14032:     <limits.h> exists even on freestanding compilers.  */
14033: 
14034: #ifdef __STDC__
14035: # include <limits.h>
14036: #else
14037: # include <assert.h>
14038: #endif
14039: 
14040: #undef $ac_func
14041: 
14042: /* Override any GCC internal prototype to avoid an error.
14043:    Use char because int might match the return type of a GCC
14044:    builtin and then its argument prototype would still apply.  */
14045: #ifdef __cplusplus
14046: extern "C"
14047: #endif
14048: char $ac_func ();
14049: /* The GNU C library defines this for functions which it implements
14050:     to always fail with ENOSYS.  Some functions are actually named
14051:     something starting with __ and the normal name is an alias.  */
14052: #if defined __stub_$ac_func || defined __stub___$ac_func
14053: choke me
14054: #endif
14055: 
14056: int
14057: main ()
14058: {
14059: return $ac_func ();
14060:   ;
14061:   return 0;
14062: }
14063: _ACEOF
14064: rm -f conftest.$ac_objext conftest$ac_exeext
14065: if { (ac_try="$ac_link"
14066: case "(($ac_try" in
14067:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14068:   *) ac_try_echo=$ac_try;;
14069: esac
14070: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14071:   (eval "$ac_link") 2>conftest.er1
14072:   ac_status=$?
14073:   grep -v '^ *+' conftest.er1 >conftest.err
14074:   rm -f conftest.er1
14075:   cat conftest.err >&5
14076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077:   (exit $ac_status); } && {
14078:      test -z "$ac_c_werror_flag" ||
14079:      test ! -s conftest.err
14080:        } && test -s conftest$ac_exeext &&
14081:        $as_test_x conftest$ac_exeext; then
14082:   eval "$as_ac_var=yes"
14083: else
14084:   echo "$as_me: failed program was:" >&5
14085: sed 's/^/| /' conftest.$ac_ext >&5
14086: 
14087:     eval "$as_ac_var=no"
14088: fi
14089: 
14090: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14091:       conftest$ac_exeext conftest.$ac_ext
14092: fi
14093: ac_res=`eval echo '${'$as_ac_var'}'`
14094:            { echo "$as_me:$LINENO: result: $ac_res" >&5
14095: echo "${ECHO_T}$ac_res" >&6; }
14096: if test `eval echo '${'$as_ac_var'}'` = yes; then
14097:   cat >>confdefs.h <<_ACEOF
14098: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14099: _ACEOF
14100: 
14101: else
14102:   # strftime is in -lintl on SCO UNIX.
14103: { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
14104: echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
14105: if test "${ac_cv_lib_intl_strftime+set}" = set; then
14106:   echo $ECHO_N "(cached) $ECHO_C" >&6
14107: else
14108:   ac_check_lib_save_LIBS=$LIBS
14109: LIBS="-lintl  $LIBS"
14110: cat >conftest.$ac_ext <<_ACEOF
14111: /* confdefs.h.  */
14112: _ACEOF
14113: cat confdefs.h >>conftest.$ac_ext
14114: cat >>conftest.$ac_ext <<_ACEOF
14115: /* end confdefs.h.  */
14116: 
14117: /* Override any GCC internal prototype to avoid an error.
14118:    Use char because int might match the return type of a GCC
14119:    builtin and then its argument prototype would still apply.  */
14120: #ifdef __cplusplus
14121: extern "C"
14122: #endif
14123: char strftime ();
14124: int
14125: main ()
14126: {
14127: return strftime ();
14128:   ;
14129:   return 0;
14130: }
14131: _ACEOF
14132: rm -f conftest.$ac_objext conftest$ac_exeext
14133: if { (ac_try="$ac_link"
14134: case "(($ac_try" in
14135:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14136:   *) ac_try_echo=$ac_try;;
14137: esac
14138: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14139:   (eval "$ac_link") 2>conftest.er1
14140:   ac_status=$?
14141:   grep -v '^ *+' conftest.er1 >conftest.err
14142:   rm -f conftest.er1
14143:   cat conftest.err >&5
14144:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145:   (exit $ac_status); } && {
14146:      test -z "$ac_c_werror_flag" ||
14147:      test ! -s conftest.err
14148:        } && test -s conftest$ac_exeext &&
14149:        $as_test_x conftest$ac_exeext; then
14150:   ac_cv_lib_intl_strftime=yes
14151: else
14152:   echo "$as_me: failed program was:" >&5
14153: sed 's/^/| /' conftest.$ac_ext >&5
14154: 
14155:     ac_cv_lib_intl_strftime=no
14156: fi
14157: 
14158: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14159:       conftest$ac_exeext conftest.$ac_ext
14160: LIBS=$ac_check_lib_save_LIBS
14161: fi
14162: { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
14163: echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
14164: if test $ac_cv_lib_intl_strftime = yes; then
14165:   cat >>confdefs.h <<\_ACEOF
14166: #define HAVE_STRFTIME 1
14167: _ACEOF
14168: 
14169: LIBS="-lintl $LIBS"
14170: fi
14171: 
14172: fi
14173: done
14174: 
14175: 
14176: for ac_func in vprintf
14177: do
14178: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14179: { echo "$as_me:$LINENO: checking for $ac_func" >&5
14180: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14181: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14182:   echo $ECHO_N "(cached) $ECHO_C" >&6
14183: else
14184:   cat >conftest.$ac_ext <<_ACEOF
14185: /* confdefs.h.  */
14186: _ACEOF
14187: cat confdefs.h >>conftest.$ac_ext
14188: cat >>conftest.$ac_ext <<_ACEOF
14189: /* end confdefs.h.  */
14190: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14191:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14192: #define $ac_func innocuous_$ac_func
14193: 
14194: /* System header to define __stub macros and hopefully few prototypes,
14195:     which can conflict with char $ac_func (); below.
14196:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14197:     <limits.h> exists even on freestanding compilers.  */
14198: 
14199: #ifdef __STDC__
14200: # include <limits.h>
14201: #else
14202: # include <assert.h>
14203: #endif
14204: 
14205: #undef $ac_func
14206: 
14207: /* Override any GCC internal prototype to avoid an error.
14208:    Use char because int might match the return type of a GCC
14209:    builtin and then its argument prototype would still apply.  */
14210: #ifdef __cplusplus
14211: extern "C"
14212: #endif
14213: char $ac_func ();
14214: /* The GNU C library defines this for functions which it implements
14215:     to always fail with ENOSYS.  Some functions are actually named
14216:     something starting with __ and the normal name is an alias.  */
14217: #if defined __stub_$ac_func || defined __stub___$ac_func
14218: choke me
14219: #endif
14220: 
14221: int
14222: main ()
14223: {
14224: return $ac_func ();
14225:   ;
14226:   return 0;
14227: }
14228: _ACEOF
14229: rm -f conftest.$ac_objext conftest$ac_exeext
14230: if { (ac_try="$ac_link"
14231: case "(($ac_try" in
14232:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14233:   *) ac_try_echo=$ac_try;;
14234: esac
14235: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14236:   (eval "$ac_link") 2>conftest.er1
14237:   ac_status=$?
14238:   grep -v '^ *+' conftest.er1 >conftest.err
14239:   rm -f conftest.er1
14240:   cat conftest.err >&5
14241:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242:   (exit $ac_status); } && {
14243:      test -z "$ac_c_werror_flag" ||
14244:      test ! -s conftest.err
14245:        } && test -s conftest$ac_exeext &&
14246:        $as_test_x conftest$ac_exeext; then
14247:   eval "$as_ac_var=yes"
14248: else
14249:   echo "$as_me: failed program was:" >&5
14250: sed 's/^/| /' conftest.$ac_ext >&5
14251: 
14252:     eval "$as_ac_var=no"
14253: fi
14254: 
14255: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14256:       conftest$ac_exeext conftest.$ac_ext
14257: fi
14258: ac_res=`eval echo '${'$as_ac_var'}'`
14259:            { echo "$as_me:$LINENO: result: $ac_res" >&5
14260: echo "${ECHO_T}$ac_res" >&6; }
14261: if test `eval echo '${'$as_ac_var'}'` = yes; then
14262:   cat >>confdefs.h <<_ACEOF
14263: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14264: _ACEOF
14265: 
14266: { echo "$as_me:$LINENO: checking for _doprnt" >&5
14267: echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
14268: if test "${ac_cv_func__doprnt+set}" = set; then
14269:   echo $ECHO_N "(cached) $ECHO_C" >&6
14270: else
14271:   cat >conftest.$ac_ext <<_ACEOF
14272: /* confdefs.h.  */
14273: _ACEOF
14274: cat confdefs.h >>conftest.$ac_ext
14275: cat >>conftest.$ac_ext <<_ACEOF
14276: /* end confdefs.h.  */
14277: /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
14278:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14279: #define _doprnt innocuous__doprnt
14280: 
14281: /* System header to define __stub macros and hopefully few prototypes,
14282:     which can conflict with char _doprnt (); below.
14283:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14284:     <limits.h> exists even on freestanding compilers.  */
14285: 
14286: #ifdef __STDC__
14287: # include <limits.h>
14288: #else
14289: # include <assert.h>
14290: #endif
14291: 
14292: #undef _doprnt
14293: 
14294: /* Override any GCC internal prototype to avoid an error.
14295:    Use char because int might match the return type of a GCC
14296:    builtin and then its argument prototype would still apply.  */
14297: #ifdef __cplusplus
14298: extern "C"
14299: #endif
14300: char _doprnt ();
14301: /* The GNU C library defines this for functions which it implements
14302:     to always fail with ENOSYS.  Some functions are actually named
14303:     something starting with __ and the normal name is an alias.  */
14304: #if defined __stub__doprnt || defined __stub____doprnt
14305: choke me
14306: #endif
14307: 
14308: int
14309: main ()
14310: {
14311: return _doprnt ();
14312:   ;
14313:   return 0;
14314: }
14315: _ACEOF
14316: rm -f conftest.$ac_objext conftest$ac_exeext
14317: if { (ac_try="$ac_link"
14318: case "(($ac_try" in
14319:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14320:   *) ac_try_echo=$ac_try;;
14321: esac
14322: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14323:   (eval "$ac_link") 2>conftest.er1
14324:   ac_status=$?
14325:   grep -v '^ *+' conftest.er1 >conftest.err
14326:   rm -f conftest.er1
14327:   cat conftest.err >&5
14328:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329:   (exit $ac_status); } && {
14330:      test -z "$ac_c_werror_flag" ||
14331:      test ! -s conftest.err
14332:        } && test -s conftest$ac_exeext &&
14333:        $as_test_x conftest$ac_exeext; then
14334:   ac_cv_func__doprnt=yes
14335: else
14336:   echo "$as_me: failed program was:" >&5
14337: sed 's/^/| /' conftest.$ac_ext >&5
14338: 
14339:     ac_cv_func__doprnt=no
14340: fi
14341: 
14342: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14343:       conftest$ac_exeext conftest.$ac_ext
14344: fi
14345: { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
14346: echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
14347: if test $ac_cv_func__doprnt = yes; then
14348: 
14349: cat >>confdefs.h <<\_ACEOF
14350: #define HAVE_DOPRNT 1
14351: _ACEOF
14352: 
14353: fi
14354: 
14355: fi
14356: done
14357: 
14358: 
14359: 
14360: 
14361: 
14362: 
14363: 
14364: 
14365: 
14366: 
14367: 
14368: 
14369: for ac_func in ftime getcwd putenv select strcspn strdup \
14370:         strerror strspn strstr strtod
14371: do
14372: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14373: { echo "$as_me:$LINENO: checking for $ac_func" >&5
14374: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14375: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14376:   echo $ECHO_N "(cached) $ECHO_C" >&6
14377: else
14378:   cat >conftest.$ac_ext <<_ACEOF
14379: /* confdefs.h.  */
14380: _ACEOF
14381: cat confdefs.h >>conftest.$ac_ext
14382: cat >>conftest.$ac_ext <<_ACEOF
14383: /* end confdefs.h.  */
14384: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14385:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14386: #define $ac_func innocuous_$ac_func
14387: 
14388: /* System header to define __stub macros and hopefully few prototypes,
14389:     which can conflict with char $ac_func (); below.
14390:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14391:     <limits.h> exists even on freestanding compilers.  */
14392: 
14393: #ifdef __STDC__
14394: # include <limits.h>
14395: #else
14396: # include <assert.h>
14397: #endif
14398: 
14399: #undef $ac_func
14400: 
14401: /* Override any GCC internal prototype to avoid an error.
14402:    Use char because int might match the return type of a GCC
14403:    builtin and then its argument prototype would still apply.  */
14404: #ifdef __cplusplus
14405: extern "C"
14406: #endif
14407: char $ac_func ();
14408: /* The GNU C library defines this for functions which it implements
14409:     to always fail with ENOSYS.  Some functions are actually named
14410:     something starting with __ and the normal name is an alias.  */
14411: #if defined __stub_$ac_func || defined __stub___$ac_func
14412: choke me
14413: #endif
14414: 
14415: int
14416: main ()
14417: {
14418: return $ac_func ();
14419:   ;
14420:   return 0;
14421: }
14422: _ACEOF
14423: rm -f conftest.$ac_objext conftest$ac_exeext
14424: if { (ac_try="$ac_link"
14425: case "(($ac_try" in
14426:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14427:   *) ac_try_echo=$ac_try;;
14428: esac
14429: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14430:   (eval "$ac_link") 2>conftest.er1
14431:   ac_status=$?
14432:   grep -v '^ *+' conftest.er1 >conftest.err
14433:   rm -f conftest.er1
14434:   cat conftest.err >&5
14435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436:   (exit $ac_status); } && {
14437:      test -z "$ac_c_werror_flag" ||
14438:      test ! -s conftest.err
14439:        } && test -s conftest$ac_exeext &&
14440:        $as_test_x conftest$ac_exeext; then
14441:   eval "$as_ac_var=yes"
14442: else
14443:   echo "$as_me: failed program was:" >&5
14444: sed 's/^/| /' conftest.$ac_ext >&5
14445: 
14446:     eval "$as_ac_var=no"
14447: fi
14448: 
14449: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14450:       conftest$ac_exeext conftest.$ac_ext
14451: fi
14452: ac_res=`eval echo '${'$as_ac_var'}'`
14453:            { echo "$as_me:$LINENO: result: $ac_res" >&5
14454: echo "${ECHO_T}$ac_res" >&6; }
14455: if test `eval echo '${'$as_ac_var'}'` = yes; then
14456:   cat >>confdefs.h <<_ACEOF
14457: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14458: _ACEOF
14459: 
14460: fi
14461: done
14462: 
14463: 
14464: subdirs="$subdirs tools/$NCURSES"
14465: 
14466: subdirs="$subdirs tools/$READLINE"
14467: 
14468: subdirs="$subdirs tools/$UNITS"
14469: 
14470: subdirs="$subdirs tools/$GSL"
14471: 
14472: subdirs="$subdirs tools/$GPP"
14473: 
14474: subdirs="$subdirs tools/$FILE"
14475: 
14476: subdirs="$subdirs tools/$ICONV"
14477: 
14478: subdirs="$subdirs tools/$SQLITE"
14479: 
14480: (cd tools/$OPENSSL && ./config)
14481: 
14482: if test "$MYGNUPLOT" = "yes"; then
14483:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
14484:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
14485:                 (cd "$srcdir/tools" && tar -xf -)
14486:     fi
14487:     subdirs="$subdirs tools/$GNUPLOT"
14488: 
14489:     GNUPLOT_COMPILATION=$GNUPLOT
14490: else
14491:     GNUPLOT_COMPILATION=
14492: fi
14493: 
14494: 
14495: 
14496: case $host_cpu in
14497: 
14498:     i?86)
14499:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
14500:             -Wno-pointer-sign"
14501:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
14502:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
14503:     break ;;
14504: 
14505:     x86_64*)
14506:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
14507:             -Wno-pointer-sign"
14508:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
14509:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
14510:     break ;;
14511: 
14512:     alpha*)
14513:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
14514:             -Wno-pointer-sign"
14515:     FFLAGS="$FFLAGS -mieee -Wall"
14516:     FCFLAGS="$FCFLAGS -mieee -Wall"
14517:     break ;;
14518: 
14519:     sparc*)
14520:     CFLAGS="$CFLAGS -Wall -funsigned-char \
14521:             -Wno-pointer-sign"
14522:     FFLAGS="$FFLAGS -Wall"
14523:     FCFLAGS="$FCFLAGS -Wall"
14524:     break ;;
14525: 
14526: esac
14527: 
14528: case $host_os in
14529: 
14530:     cygwin*)
14531:         OS=Cygwin
14532:     break ;;
14533: 
14534:     interix*)
14535:         OS=Interix
14536:     break ;;
14537: 
14538:     *)
14539:         OS=$(uname)
14540:     break ;;
14541: 
14542: esac
14543: 
14544: 
14545: 
14546: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
14547: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
14548: 
14549: if test $(uname) = "SunOS"; then
14550:     LIBMTMALLOC=-lmtmalloc
14551: else
14552:     LIBMTMALLOC=
14553: fi
14554: 
14555: 
14556: 
14557: 
14558: 
14559: 
14560: 
14561: 
14562: 
14563: 
14564: 
14565: 
14566: 
14567: 
14568: 
14569: 
14570: 
14571: 
14572: 
14573: 
14574: 
14575: 
14576: ac_config_files="$ac_config_files Makefile"
14577: 
14578: ac_config_files="$ac_config_files COPYING"
14579: 
14580: ac_config_files="$ac_config_files tools/Makefile"
14581: 
14582: ac_config_files="$ac_config_files src/Makefile"
14583: 
14584: ac_config_files="$ac_config_files man/Makefile"
14585: 
14586: ac_config_files="$ac_config_files man/fr_FR/Makefile"
14587: 
14588: ac_config_files="$ac_config_files doc/Makefile"
14589: 
14590: ac_config_files="$ac_config_files scripts/Makefile"
14591: 
14592: ac_config_files="$ac_config_files scripts/mkrplso"
14593: 
14594: ac_config_files="$ac_config_files scripts/rplcc"
14595: 
14596: ac_config_files="$ac_config_files scripts/rpllink"
14597: 
14598: ac_config_files="$ac_config_files rpltags/Makefile"
14599: 
14600: ac_config_files="$ac_config_files rpliconv/Makefile"
14601: 
14602: ac_config_files="$ac_config_files rplsums/Makefile"
14603: 
14604: ac_config_files="$ac_config_files lapack/lapack/Makefile"
14605: 
14606: ac_config_files="$ac_config_files lapack/blas/Makefile"
14607: 
14608: 
14609: ac_config_files="$ac_config_files man/rpl.1"
14610: 
14611: ac_config_files="$ac_config_files man/rplcc.1"
14612: 
14613: ac_config_files="$ac_config_files man/rpllink.1"
14614: 
14615: ac_config_files="$ac_config_files man/rpltags.1"
14616: 
14617: ac_config_files="$ac_config_files man/mkrplso.1"
14618: 
14619: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
14620: 
14621: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
14622: 
14623: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
14624: 
14625: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
14626: 
14627: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
14628: 
14629: 
14630: cat >confcache <<\_ACEOF
14631: # This file is a shell script that caches the results of configure
14632: # tests run on this system so they can be shared between configure
14633: # scripts and configure runs, see configure's option --config-cache.
14634: # It is not useful on other systems.  If it contains results you don't
14635: # want to keep, you may remove or edit it.
14636: #
14637: # config.status only pays attention to the cache file if you give it
14638: # the --recheck option to rerun configure.
14639: #
14640: # `ac_cv_env_foo' variables (set or unset) will be overridden when
14641: # loading this file, other *unset* `ac_cv_foo' will be assigned the
14642: # following values.
14643: 
14644: _ACEOF
14645: 
14646: # The following way of writing the cache mishandles newlines in values,
14647: # but we know of no workaround that is simple, portable, and efficient.
14648: # So, we kill variables containing newlines.
14649: # Ultrix sh set writes to stderr and can't be redirected directly,
14650: # and sets the high bit in the cache file unless we assign to the vars.
14651: (
14652:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14653:     eval ac_val=\$$ac_var
14654:     case $ac_val in #(
14655:     *${as_nl}*)
14656:       case $ac_var in #(
14657:       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14658: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14659:       esac
14660:       case $ac_var in #(
14661:       _ | IFS | as_nl) ;; #(
14662:       *) $as_unset $ac_var ;;
14663:       esac ;;
14664:     esac
14665:   done
14666: 
14667:   (set) 2>&1 |
14668:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14669:     *${as_nl}ac_space=\ *)
14670:       # `set' does not quote correctly, so add quotes (double-quote
14671:       # substitution turns \\\\ into \\, and sed turns \\ into \).
14672:       sed -n \
14673:     "s/'/'\\\\''/g;
14674:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14675:       ;; #(
14676:     *)
14677:       # `set' quotes correctly as required by POSIX, so do not add quotes.
14678:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14679:       ;;
14680:     esac |
14681:     sort
14682: ) |
14683:   sed '
14684:      /^ac_cv_env_/b end
14685:      t clear
14686:      :clear
14687:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14688:      t end
14689:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14690:      :end' >>confcache
14691: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14692:   if test -w "$cache_file"; then
14693:     test "x$cache_file" != "x/dev/null" &&
14694:       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14695: echo "$as_me: updating cache $cache_file" >&6;}
14696:     cat confcache >$cache_file
14697:   else
14698:     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14699: echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14700:   fi
14701: fi
14702: rm -f confcache
14703: 
14704: test "x$prefix" = xNONE && prefix=$ac_default_prefix
14705: # Let make expand exec_prefix.
14706: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14707: 
14708: DEFS=-DHAVE_CONFIG_H
14709: 
14710: ac_libobjs=
14711: ac_ltlibobjs=
14712: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14713:   # 1. Remove the extension, and $U if already installed.
14714:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14715:   ac_i=`echo "$ac_i" | sed "$ac_script"`
14716:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14717:   #    will be set to the directory where LIBOBJS objects are built.
14718:   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14719:   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14720: done
14721: LIBOBJS=$ac_libobjs
14722: 
14723: LTLIBOBJS=$ac_ltlibobjs
14724: 
14725: 
14726: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14727:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14728: Usually this means the macro was only invoked conditionally." >&5
14729: echo "$as_me: error: conditional \"AMDEP\" was never defined.
14730: Usually this means the macro was only invoked conditionally." >&2;}
14731:    { (exit 1); exit 1; }; }
14732: fi
14733: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14734:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14735: Usually this means the macro was only invoked conditionally." >&5
14736: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14737: Usually this means the macro was only invoked conditionally." >&2;}
14738:    { (exit 1); exit 1; }; }
14739: fi
14740: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14741:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
14742: Usually this means the macro was only invoked conditionally." >&5
14743: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
14744: Usually this means the macro was only invoked conditionally." >&2;}
14745:    { (exit 1); exit 1; }; }
14746: fi
14747: 
14748: : ${CONFIG_STATUS=./config.status}
14749: ac_clean_files_save=$ac_clean_files
14750: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14751: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14752: echo "$as_me: creating $CONFIG_STATUS" >&6;}
14753: cat >$CONFIG_STATUS <<_ACEOF
14754: #! $SHELL
14755: # Generated by $as_me.
14756: # Run this file to recreate the current configuration.
14757: # Compiler output produced by configure, useful for debugging
14758: # configure, is in config.log if it exists.
14759: 
14760: debug=false
14761: ac_cs_recheck=false
14762: ac_cs_silent=false
14763: SHELL=\${CONFIG_SHELL-$SHELL}
14764: _ACEOF
14765: 
14766: cat >>$CONFIG_STATUS <<\_ACEOF
14767: ## --------------------- ##
14768: ## M4sh Initialization.  ##
14769: ## --------------------- ##
14770: 
14771: # Be more Bourne compatible
14772: DUALCASE=1; export DUALCASE # for MKS sh
14773: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14774:   emulate sh
14775:   NULLCMD=:
14776:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14777:   # is contrary to our usage.  Disable this feature.
14778:   alias -g '${1+"$@"}'='"$@"'
14779:   setopt NO_GLOB_SUBST
14780: else
14781:   case `(set -o) 2>/dev/null` in
14782:   *posix*) set -o posix ;;
14783: esac
14784: 
14785: fi
14786: 
14787: 
14788: 
14789: 
14790: # PATH needs CR
14791: # Avoid depending upon Character Ranges.
14792: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14793: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14794: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14795: as_cr_digits='0123456789'
14796: as_cr_alnum=$as_cr_Letters$as_cr_digits
14797: 
14798: # The user is always right.
14799: if test "${PATH_SEPARATOR+set}" != set; then
14800:   echo "#! /bin/sh" >conf$$.sh
14801:   echo  "exit 0"   >>conf$$.sh
14802:   chmod +x conf$$.sh
14803:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14804:     PATH_SEPARATOR=';'
14805:   else
14806:     PATH_SEPARATOR=:
14807:   fi
14808:   rm -f conf$$.sh
14809: fi
14810: 
14811: # Support unset when possible.
14812: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14813:   as_unset=unset
14814: else
14815:   as_unset=false
14816: fi
14817: 
14818: 
14819: # IFS
14820: # We need space, tab and new line, in precisely that order.  Quoting is
14821: # there to prevent editors from complaining about space-tab.
14822: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14823: # splitting by setting IFS to empty value.)
14824: as_nl='
14825: '
14826: IFS=" ""    $as_nl"
14827: 
14828: # Find who we are.  Look in the path if we contain no directory separator.
14829: case $0 in
14830:   *[\\/]* ) as_myself=$0 ;;
14831:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14832: for as_dir in $PATH
14833: do
14834:   IFS=$as_save_IFS
14835:   test -z "$as_dir" && as_dir=.
14836:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14837: done
14838: IFS=$as_save_IFS
14839: 
14840:      ;;
14841: esac
14842: # We did not find ourselves, most probably we were run as `sh COMMAND'
14843: # in which case we are not to be found in the path.
14844: if test "x$as_myself" = x; then
14845:   as_myself=$0
14846: fi
14847: if test ! -f "$as_myself"; then
14848:   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14849:   { (exit 1); exit 1; }
14850: fi
14851: 
14852: # Work around bugs in pre-3.0 UWIN ksh.
14853: for as_var in ENV MAIL MAILPATH
14854: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14855: done
14856: PS1='$ '
14857: PS2='> '
14858: PS4='+ '
14859: 
14860: # NLS nuisances.
14861: for as_var in \
14862:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14863:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14864:   LC_TELEPHONE LC_TIME
14865: do
14866:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14867:     eval $as_var=C; export $as_var
14868:   else
14869:     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14870:   fi
14871: done
14872: 
14873: # Required to use basename.
14874: if expr a : '\(a\)' >/dev/null 2>&1 &&
14875:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14876:   as_expr=expr
14877: else
14878:   as_expr=false
14879: fi
14880: 
14881: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14882:   as_basename=basename
14883: else
14884:   as_basename=false
14885: fi
14886: 
14887: 
14888: # Name of the executable.
14889: as_me=`$as_basename -- "$0" ||
14890: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14891:      X"$0" : 'X\(//\)$' \| \
14892:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14893: echo X/"$0" |
14894:     sed '/^.*\/\([^/][^/]*\)\/*$/{
14895:         s//\1/
14896:         q
14897:       }
14898:       /^X\/\(\/\/\)$/{
14899:         s//\1/
14900:         q
14901:       }
14902:       /^X\/\(\/\).*/{
14903:         s//\1/
14904:         q
14905:       }
14906:       s/.*/./; q'`
14907: 
14908: # CDPATH.
14909: $as_unset CDPATH
14910: 
14911: 
14912: 
14913:   as_lineno_1=$LINENO
14914:   as_lineno_2=$LINENO
14915:   test "x$as_lineno_1" != "x$as_lineno_2" &&
14916:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14917: 
14918:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14919:   # uniformly replaced by the line number.  The first 'sed' inserts a
14920:   # line-number line after each line using $LINENO; the second 'sed'
14921:   # does the real work.  The second script uses 'N' to pair each
14922:   # line-number line with the line containing $LINENO, and appends
14923:   # trailing '-' during substitution so that $LINENO is not a special
14924:   # case at line end.
14925:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14926:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
14927:   # E. McMahon (1931-1989) for sed's syntax.  :-)
14928:   sed -n '
14929:     p
14930:     /[$]LINENO/=
14931:   ' <$as_myself |
14932:     sed '
14933:       s/[$]LINENO.*/&-/
14934:       t lineno
14935:       b
14936:       :lineno
14937:       N
14938:       :loop
14939:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14940:       t loop
14941:       s/-\n.*//
14942:     ' >$as_me.lineno &&
14943:   chmod +x "$as_me.lineno" ||
14944:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14945:    { (exit 1); exit 1; }; }
14946: 
14947:   # Don't try to exec as it changes $[0], causing all sort of problems
14948:   # (the dirname of $[0] is not the place where we might find the
14949:   # original and so on.  Autoconf is especially sensitive to this).
14950:   . "./$as_me.lineno"
14951:   # Exit status is that of the last command.
14952:   exit
14953: }
14954: 
14955: 
14956: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14957:   as_dirname=dirname
14958: else
14959:   as_dirname=false
14960: fi
14961: 
14962: ECHO_C= ECHO_N= ECHO_T=
14963: case `echo -n x` in
14964: -n*)
14965:   case `echo 'x\c'` in
14966:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14967:   *)   ECHO_C='\c';;
14968:   esac;;
14969: *)
14970:   ECHO_N='-n';;
14971: esac
14972: 
14973: if expr a : '\(a\)' >/dev/null 2>&1 &&
14974:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14975:   as_expr=expr
14976: else
14977:   as_expr=false
14978: fi
14979: 
14980: rm -f conf$$ conf$$.exe conf$$.file
14981: if test -d conf$$.dir; then
14982:   rm -f conf$$.dir/conf$$.file
14983: else
14984:   rm -f conf$$.dir
14985:   mkdir conf$$.dir
14986: fi
14987: echo >conf$$.file
14988: if ln -s conf$$.file conf$$ 2>/dev/null; then
14989:   as_ln_s='ln -s'
14990:   # ... but there are two gotchas:
14991:   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14992:   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14993:   # In both cases, we have to default to `cp -p'.
14994:   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14995:     as_ln_s='cp -p'
14996: elif ln conf$$.file conf$$ 2>/dev/null; then
14997:   as_ln_s=ln
14998: else
14999:   as_ln_s='cp -p'
15000: fi
15001: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15002: rmdir conf$$.dir 2>/dev/null
15003: 
15004: if mkdir -p . 2>/dev/null; then
15005:   as_mkdir_p=:
15006: else
15007:   test -d ./-p && rmdir ./-p
15008:   as_mkdir_p=false
15009: fi
15010: 
15011: if test -x / >/dev/null 2>&1; then
15012:   as_test_x='test -x'
15013: else
15014:   if ls -dL / >/dev/null 2>&1; then
15015:     as_ls_L_option=L
15016:   else
15017:     as_ls_L_option=
15018:   fi
15019:   as_test_x='
15020:     eval sh -c '\''
15021:       if test -d "$1"; then
15022:         test -d "$1/.";
15023:       else
15024:     case $1 in
15025:         -*)set "./$1";;
15026:     esac;
15027:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15028:     ???[sx]*):;;*)false;;esac;fi
15029:     '\'' sh
15030:   '
15031: fi
15032: as_executable_p=$as_test_x
15033: 
15034: # Sed expression to map a string onto a valid CPP name.
15035: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15036: 
15037: # Sed expression to map a string onto a valid variable name.
15038: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15039: 
15040: 
15041: exec 6>&1
15042: 
15043: # Save the log message, to keep $[0] and so on meaningful, and to
15044: # report actual input values of CONFIG_FILES etc. instead of their
15045: # values after options handling.
15046: ac_log="
15047: This file was extended by rpl $as_me 4.0.13, which was
15048: generated by GNU Autoconf 2.61.  Invocation command line was
15049: 
15050:   CONFIG_FILES    = $CONFIG_FILES
15051:   CONFIG_HEADERS  = $CONFIG_HEADERS
15052:   CONFIG_LINKS    = $CONFIG_LINKS
15053:   CONFIG_COMMANDS = $CONFIG_COMMANDS
15054:   $ $0 $@
15055: 
15056: on `(hostname || uname -n) 2>/dev/null | sed 1q`
15057: "
15058: 
15059: _ACEOF
15060: 
15061: cat >>$CONFIG_STATUS <<_ACEOF
15062: # Files that config.status was made for.
15063: config_files="$ac_config_files"
15064: config_headers="$ac_config_headers"
15065: config_commands="$ac_config_commands"
15066: 
15067: _ACEOF
15068: 
15069: cat >>$CONFIG_STATUS <<\_ACEOF
15070: ac_cs_usage="\
15071: \`$as_me' instantiates files from templates according to the
15072: current configuration.
15073: 
15074: Usage: $0 [OPTIONS] [FILE]...
15075: 
15076:   -h, --help       print this help, then exit
15077:   -V, --version    print version number and configuration settings, then exit
15078:   -q, --quiet      do not print progress messages
15079:   -d, --debug      don't remove temporary files
15080:       --recheck    update $as_me by reconfiguring in the same conditions
15081:   --file=FILE[:TEMPLATE]
15082:            instantiate the configuration file FILE
15083:   --header=FILE[:TEMPLATE]
15084:            instantiate the configuration header FILE
15085: 
15086: Configuration files:
15087: $config_files
15088: 
15089: Configuration headers:
15090: $config_headers
15091: 
15092: Configuration commands:
15093: $config_commands
15094: 
15095: Report bugs to <bug-autoconf@gnu.org>."
15096: 
15097: _ACEOF
15098: cat >>$CONFIG_STATUS <<_ACEOF
15099: ac_cs_version="\\
15100: rpl config.status 4.0.13
15101: configured by $0, generated by GNU Autoconf 2.61,
15102:   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15103: 
15104: Copyright (C) 2006 Free Software Foundation, Inc.
15105: This config.status script is free software; the Free Software Foundation
15106: gives unlimited permission to copy, distribute and modify it."
15107: 
15108: ac_pwd='$ac_pwd'
15109: srcdir='$srcdir'
15110: INSTALL='$INSTALL'
15111: MKDIR_P='$MKDIR_P'
15112: _ACEOF
15113: 
15114: cat >>$CONFIG_STATUS <<\_ACEOF
15115: # If no file are specified by the user, then we need to provide default
15116: # value.  By we need to know if files were specified by the user.
15117: ac_need_defaults=:
15118: while test $# != 0
15119: do
15120:   case $1 in
15121:   --*=*)
15122:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15123:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15124:     ac_shift=:
15125:     ;;
15126:   *)
15127:     ac_option=$1
15128:     ac_optarg=$2
15129:     ac_shift=shift
15130:     ;;
15131:   esac
15132: 
15133:   case $ac_option in
15134:   # Handling of the options.
15135:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15136:     ac_cs_recheck=: ;;
15137:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15138:     echo "$ac_cs_version"; exit ;;
15139:   --debug | --debu | --deb | --de | --d | -d )
15140:     debug=: ;;
15141:   --file | --fil | --fi | --f )
15142:     $ac_shift
15143:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15144:     ac_need_defaults=false;;
15145:   --header | --heade | --head | --hea )
15146:     $ac_shift
15147:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15148:     ac_need_defaults=false;;
15149:   --he | --h)
15150:     # Conflict between --help and --header
15151:     { echo "$as_me: error: ambiguous option: $1
15152: Try \`$0 --help' for more information." >&2
15153:    { (exit 1); exit 1; }; };;
15154:   --help | --hel | -h )
15155:     echo "$ac_cs_usage"; exit ;;
15156:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15157:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15158:     ac_cs_silent=: ;;
15159: 
15160:   # This is an error.
15161:   -*) { echo "$as_me: error: unrecognized option: $1
15162: Try \`$0 --help' for more information." >&2
15163:    { (exit 1); exit 1; }; } ;;
15164: 
15165:   *) ac_config_targets="$ac_config_targets $1"
15166:      ac_need_defaults=false ;;
15167: 
15168:   esac
15169:   shift
15170: done
15171: 
15172: ac_configure_extra_args=
15173: 
15174: if $ac_cs_silent; then
15175:   exec 6>/dev/null
15176:   ac_configure_extra_args="$ac_configure_extra_args --silent"
15177: fi
15178: 
15179: _ACEOF
15180: cat >>$CONFIG_STATUS <<_ACEOF
15181: if \$ac_cs_recheck; then
15182:   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15183:   CONFIG_SHELL=$SHELL
15184:   export CONFIG_SHELL
15185:   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15186: fi
15187: 
15188: _ACEOF
15189: cat >>$CONFIG_STATUS <<\_ACEOF
15190: exec 5>>config.log
15191: {
15192:   echo
15193:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15194: ## Running $as_me. ##
15195: _ASBOX
15196:   echo "$ac_log"
15197: } >&5
15198: 
15199: _ACEOF
15200: cat >>$CONFIG_STATUS <<_ACEOF
15201: #
15202: # INIT-COMMANDS
15203: #
15204: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15205: 
15206: _ACEOF
15207: 
15208: cat >>$CONFIG_STATUS <<\_ACEOF
15209: 
15210: # Handling of arguments.
15211: for ac_config_target in $ac_config_targets
15212: do
15213:   case $ac_config_target in
15214:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
15215:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15216:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15217:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
15218:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15219:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15220:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15221:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
15222:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15223:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
15224:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
15225:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
15226:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
15227:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
15228:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
15229:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
15230:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
15231:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
15232:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
15233:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
15234:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
15235:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
15236:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
15237:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
15238:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
15239:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
15240:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
15241:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
15242: 
15243:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15244: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15245:    { (exit 1); exit 1; }; };;
15246:   esac
15247: done
15248: 
15249: 
15250: # If the user did not use the arguments to specify the items to instantiate,
15251: # then the envvar interface is used.  Set only those that are not.
15252: # We use the long form for the default assignment because of an extremely
15253: # bizarre bug on SunOS 4.1.3.
15254: if $ac_need_defaults; then
15255:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15256:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15257:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15258: fi
15259: 
15260: # Have a temporary directory for convenience.  Make it in the build tree
15261: # simply because there is no reason against having it here, and in addition,
15262: # creating and moving files from /tmp can sometimes cause problems.
15263: # Hook for its removal unless debugging.
15264: # Note that there is a small window in which the directory will not be cleaned:
15265: # after its creation but before its name has been assigned to `$tmp'.
15266: $debug ||
15267: {
15268:   tmp=
15269:   trap 'exit_status=$?
15270:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15271: ' 0
15272:   trap '{ (exit 1); exit 1; }' 1 2 13 15
15273: }
15274: # Create a (secure) tmp directory for tmp files.
15275: 
15276: {
15277:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15278:   test -n "$tmp" && test -d "$tmp"
15279: }  ||
15280: {
15281:   tmp=./conf$$-$RANDOM
15282:   (umask 077 && mkdir "$tmp")
15283: } ||
15284: {
15285:    echo "$me: cannot create a temporary directory in ." >&2
15286:    { (exit 1); exit 1; }
15287: }
15288: 
15289: #
15290: # Set up the sed scripts for CONFIG_FILES section.
15291: #
15292: 
15293: # No need to generate the scripts if there are no CONFIG_FILES.
15294: # This happens for instance when ./config.status config.h
15295: if test -n "$CONFIG_FILES"; then
15296: 
15297: _ACEOF
15298: 
15299: 
15300: 
15301: ac_delim='%!_!# '
15302: for ac_last_try in false false false false false :; do
15303:   cat >conf$$subs.sed <<_ACEOF
15304: SHELL!$SHELL$ac_delim
15305: PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15306: PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15307: PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15308: PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15309: PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15310: PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15311: exec_prefix!$exec_prefix$ac_delim
15312: prefix!$prefix$ac_delim
15313: program_transform_name!$program_transform_name$ac_delim
15314: bindir!$bindir$ac_delim
15315: sbindir!$sbindir$ac_delim
15316: libexecdir!$libexecdir$ac_delim
15317: datarootdir!$datarootdir$ac_delim
15318: datadir!$datadir$ac_delim
15319: sysconfdir!$sysconfdir$ac_delim
15320: sharedstatedir!$sharedstatedir$ac_delim
15321: localstatedir!$localstatedir$ac_delim
15322: includedir!$includedir$ac_delim
15323: oldincludedir!$oldincludedir$ac_delim
15324: docdir!$docdir$ac_delim
15325: infodir!$infodir$ac_delim
15326: htmldir!$htmldir$ac_delim
15327: dvidir!$dvidir$ac_delim
15328: pdfdir!$pdfdir$ac_delim
15329: psdir!$psdir$ac_delim
15330: libdir!$libdir$ac_delim
15331: localedir!$localedir$ac_delim
15332: mandir!$mandir$ac_delim
15333: DEFS!$DEFS$ac_delim
15334: ECHO_C!$ECHO_C$ac_delim
15335: ECHO_N!$ECHO_N$ac_delim
15336: ECHO_T!$ECHO_T$ac_delim
15337: LIBS!$LIBS$ac_delim
15338: build_alias!$build_alias$ac_delim
15339: host_alias!$host_alias$ac_delim
15340: target_alias!$target_alias$ac_delim
15341: build!$build$ac_delim
15342: build_cpu!$build_cpu$ac_delim
15343: build_vendor!$build_vendor$ac_delim
15344: build_os!$build_os$ac_delim
15345: host!$host$ac_delim
15346: host_cpu!$host_cpu$ac_delim
15347: host_vendor!$host_vendor$ac_delim
15348: host_os!$host_os$ac_delim
15349: target!$target$ac_delim
15350: target_cpu!$target_cpu$ac_delim
15351: target_vendor!$target_vendor$ac_delim
15352: target_os!$target_os$ac_delim
15353: INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
15354: INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
15355: INSTALL_DATA!$INSTALL_DATA$ac_delim
15356: am__isrc!$am__isrc$ac_delim
15357: CYGPATH_W!$CYGPATH_W$ac_delim
15358: PACKAGE!$PACKAGE$ac_delim
15359: VERSION!$VERSION$ac_delim
15360: ACLOCAL!$ACLOCAL$ac_delim
15361: AUTOCONF!$AUTOCONF$ac_delim
15362: AUTOMAKE!$AUTOMAKE$ac_delim
15363: AUTOHEADER!$AUTOHEADER$ac_delim
15364: MAKEINFO!$MAKEINFO$ac_delim
15365: install_sh!$install_sh$ac_delim
15366: STRIP!$STRIP$ac_delim
15367: INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
15368: mkdir_p!$mkdir_p$ac_delim
15369: AWK!$AWK$ac_delim
15370: SET_MAKE!$SET_MAKE$ac_delim
15371: am__leading_dot!$am__leading_dot$ac_delim
15372: AMTAR!$AMTAR$ac_delim
15373: am__tar!$am__tar$ac_delim
15374: am__untar!$am__untar$ac_delim
15375: CC!$CC$ac_delim
15376: CFLAGS!$CFLAGS$ac_delim
15377: LDFLAGS!$LDFLAGS$ac_delim
15378: CPPFLAGS!$CPPFLAGS$ac_delim
15379: ac_ct_CC!$ac_ct_CC$ac_delim
15380: EXEEXT!$EXEEXT$ac_delim
15381: OBJEXT!$OBJEXT$ac_delim
15382: DEPDIR!$DEPDIR$ac_delim
15383: am__include!$am__include$ac_delim
15384: am__quote!$am__quote$ac_delim
15385: AMDEP_TRUE!$AMDEP_TRUE$ac_delim
15386: AMDEP_FALSE!$AMDEP_FALSE$ac_delim
15387: AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
15388: CCDEPMODE!$CCDEPMODE$ac_delim
15389: am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
15390: am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
15391: CXX!$CXX$ac_delim
15392: CXXFLAGS!$CXXFLAGS$ac_delim
15393: ac_ct_CXX!$ac_ct_CXX$ac_delim
15394: CXXDEPMODE!$CXXDEPMODE$ac_delim
15395: am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
15396: am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
15397: F77!$F77$ac_delim
15398: FFLAGS!$FFLAGS$ac_delim
15399: ac_ct_F77!$ac_ct_F77$ac_delim
15400: FC!$FC$ac_delim
15401: _ACEOF
15402: 
15403:   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
15404:     break
15405:   elif $ac_last_try; then
15406:     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15407: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15408:    { (exit 1); exit 1; }; }
15409:   else
15410:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15411:   fi
15412: done
15413: 
15414: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15415: if test -n "$ac_eof"; then
15416:   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15417:   ac_eof=`expr $ac_eof + 1`
15418: fi
15419: 
15420: cat >>$CONFIG_STATUS <<_ACEOF
15421: cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15422: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15423: _ACEOF
15424: sed '
15425: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15426: s/^/s,@/; s/!/@,|#_!!_#|/
15427: :n
15428: t n
15429: s/'"$ac_delim"'$/,g/; t
15430: s/$/\\/; p
15431: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15432: ' >>$CONFIG_STATUS <conf$$subs.sed
15433: rm -f conf$$subs.sed
15434: cat >>$CONFIG_STATUS <<_ACEOF
15435: CEOF$ac_eof
15436: _ACEOF
15437: 
15438: 
15439: ac_delim='%!_!# '
15440: for ac_last_try in false false false false false :; do
15441:   cat >conf$$subs.sed <<_ACEOF
15442: FCFLAGS!$FCFLAGS$ac_delim
15443: ac_ct_FC!$ac_ct_FC$ac_delim
15444: XMKMF!$XMKMF$ac_delim
15445: CPP!$CPP$ac_delim
15446: X_CFLAGS!$X_CFLAGS$ac_delim
15447: X_PRE_LIBS!$X_PRE_LIBS$ac_delim
15448: X_LIBS!$X_LIBS$ac_delim
15449: X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
15450: PROFILAGE!$PROFILAGE$ac_delim
15451: LIBTOOLIZE!$LIBTOOLIZE$ac_delim
15452: RUNPATH!$RUNPATH$ac_delim
15453: LN_S!$LN_S$ac_delim
15454: RANLIB!$RANLIB$ac_delim
15455: SED!$SED$ac_delim
15456: TEX!$TEX$ac_delim
15457: LATEX!$LATEX$ac_delim
15458: DVIPS!$DVIPS$ac_delim
15459: GS!$GS$ac_delim
15460: GV!$GV$ac_delim
15461: GNUPLOT_P!$GNUPLOT_P$ac_delim
15462: VIM!$VIM$ac_delim
15463: GNUPLOT_SUPPORT!$GNUPLOT_SUPPORT$ac_delim
15464: FORCE_GNUPLOT_PATH!$FORCE_GNUPLOT_PATH$ac_delim
15465: POSTSCRIPT_SUPPORT!$POSTSCRIPT_SUPPORT$ac_delim
15466: VIM_SUPPORT!$VIM_SUPPORT$ac_delim
15467: EXPERIMENTAL_CODE!$EXPERIMENTAL_CODE$ac_delim
15468: DEBUG!$DEBUG$ac_delim
15469: MOTIF_SUPPORT!$MOTIF_SUPPORT$ac_delim
15470: libX!$libX$ac_delim
15471: includeX!$includeX$ac_delim
15472: DATE!$DATE$ac_delim
15473: MYSQL_SUPPORT!$MYSQL_SUPPORT$ac_delim
15474: libMySQLinc!$libMySQLinc$ac_delim
15475: libMySQLlib!$libMySQLlib$ac_delim
15476: POSTGRESQL_SUPPORT!$POSTGRESQL_SUPPORT$ac_delim
15477: libPgSQLinc!$libPgSQLinc$ac_delim
15478: libPgSQLlib!$libPgSQLlib$ac_delim
15479: GREP!$GREP$ac_delim
15480: EGREP!$EGREP$ac_delim
15481: subdirs!$subdirs$ac_delim
15482: GNUPLOT_COMPILATION!$GNUPLOT_COMPILATION$ac_delim
15483: OS!$OS$ac_delim
15484: LIBMTMALLOC!$LIBMTMALLOC$ac_delim
15485: NCURSES!$NCURSES$ac_delim
15486: READLINE!$READLINE$ac_delim
15487: UNITS!$UNITS$ac_delim
15488: GSL!$GSL$ac_delim
15489: GPP!$GPP$ac_delim
15490: GNUPLOT!$GNUPLOT$ac_delim
15491: FILE!$FILE$ac_delim
15492: ICONV!$ICONV$ac_delim
15493: SQLITE!$SQLITE$ac_delim
15494: OPENSSL!$OPENSSL$ac_delim
15495: FINAL_ENCODING!$FINAL_ENCODING$ac_delim
15496: DATE_FR!$DATE_FR$ac_delim
15497: LIBOBJS!$LIBOBJS$ac_delim
15498: LTLIBOBJS!$LTLIBOBJS$ac_delim
15499: _ACEOF
15500: 
15501:   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
15502:     break
15503:   elif $ac_last_try; then
15504:     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15505: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15506:    { (exit 1); exit 1; }; }
15507:   else
15508:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15509:   fi
15510: done
15511: 
15512: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15513: if test -n "$ac_eof"; then
15514:   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15515:   ac_eof=`expr $ac_eof + 1`
15516: fi
15517: 
15518: cat >>$CONFIG_STATUS <<_ACEOF
15519: cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
15520: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15521: _ACEOF
15522: sed '
15523: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15524: s/^/s,@/; s/!/@,|#_!!_#|/
15525: :n
15526: t n
15527: s/'"$ac_delim"'$/,g/; t
15528: s/$/\\/; p
15529: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15530: ' >>$CONFIG_STATUS <conf$$subs.sed
15531: rm -f conf$$subs.sed
15532: cat >>$CONFIG_STATUS <<_ACEOF
15533: :end
15534: s/|#_!!_#|//g
15535: CEOF$ac_eof
15536: _ACEOF
15537: 
15538: 
15539: # VPATH may cause trouble with some makes, so we remove $(srcdir),
15540: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15541: # trailing colons and then remove the whole line if VPATH becomes empty
15542: # (actually we leave an empty line to preserve line numbers).
15543: if test "x$srcdir" = x.; then
15544:   ac_vpsub='/^[  ]*VPATH[    ]*=/{
15545: s/:*\$(srcdir):*/:/
15546: s/:*\${srcdir}:*/:/
15547: s/:*@srcdir@:*/:/
15548: s/^\([^=]*=[     ]*\):*/\1/
15549: s/:*$//
15550: s/^[^=]*=[   ]*$//
15551: }'
15552: fi
15553: 
15554: cat >>$CONFIG_STATUS <<\_ACEOF
15555: fi # test -n "$CONFIG_FILES"
15556: 
15557: 
15558: for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
15559: do
15560:   case $ac_tag in
15561:   :[FHLC]) ac_mode=$ac_tag; continue;;
15562:   esac
15563:   case $ac_mode$ac_tag in
15564:   :[FHL]*:*);;
15565:   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15566: echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15567:    { (exit 1); exit 1; }; };;
15568:   :[FH]-) ac_tag=-:-;;
15569:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15570:   esac
15571:   ac_save_IFS=$IFS
15572:   IFS=:
15573:   set x $ac_tag
15574:   IFS=$ac_save_IFS
15575:   shift
15576:   ac_file=$1
15577:   shift
15578: 
15579:   case $ac_mode in
15580:   :L) ac_source=$1;;
15581:   :[FH])
15582:     ac_file_inputs=
15583:     for ac_f
15584:     do
15585:       case $ac_f in
15586:       -) ac_f="$tmp/stdin";;
15587:       *) # Look for the file first in the build tree, then in the source tree
15588:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
15589:      # because $ac_f cannot contain `:'.
15590:      test -f "$ac_f" ||
15591:        case $ac_f in
15592:        [\\/$]*) false;;
15593:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15594:        esac ||
15595:        { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15596: echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15597:    { (exit 1); exit 1; }; };;
15598:       esac
15599:       ac_file_inputs="$ac_file_inputs $ac_f"
15600:     done
15601: 
15602:     # Let's still pretend it is `configure' which instantiates (i.e., don't
15603:     # use $as_me), people would be surprised to read:
15604:     #    /* config.h.  Generated by config.status.  */
15605:     configure_input="Generated from "`IFS=:
15606:       echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15607:     if test x"$ac_file" != x-; then
15608:       configure_input="$ac_file.  $configure_input"
15609:       { echo "$as_me:$LINENO: creating $ac_file" >&5
15610: echo "$as_me: creating $ac_file" >&6;}
15611:     fi
15612: 
15613:     case $ac_tag in
15614:     *:-:* | *:-) cat >"$tmp/stdin";;
15615:     esac
15616:     ;;
15617:   esac
15618: 
15619:   ac_dir=`$as_dirname -- "$ac_file" ||
15620: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15621:      X"$ac_file" : 'X\(//\)[^/]' \| \
15622:      X"$ac_file" : 'X\(//\)$' \| \
15623:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15624: echo X"$ac_file" |
15625:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15626:         s//\1/
15627:         q
15628:       }
15629:       /^X\(\/\/\)[^/].*/{
15630:         s//\1/
15631:         q
15632:       }
15633:       /^X\(\/\/\)$/{
15634:         s//\1/
15635:         q
15636:       }
15637:       /^X\(\/\).*/{
15638:         s//\1/
15639:         q
15640:       }
15641:       s/.*/./; q'`
15642:   { as_dir="$ac_dir"
15643:   case $as_dir in #(
15644:   -*) as_dir=./$as_dir;;
15645:   esac
15646:   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15647:     as_dirs=
15648:     while :; do
15649:       case $as_dir in #(
15650:       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
15651:       *) as_qdir=$as_dir;;
15652:       esac
15653:       as_dirs="'$as_qdir' $as_dirs"
15654:       as_dir=`$as_dirname -- "$as_dir" ||
15655: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15656:      X"$as_dir" : 'X\(//\)[^/]' \| \
15657:      X"$as_dir" : 'X\(//\)$' \| \
15658:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15659: echo X"$as_dir" |
15660:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15661:         s//\1/
15662:         q
15663:       }
15664:       /^X\(\/\/\)[^/].*/{
15665:         s//\1/
15666:         q
15667:       }
15668:       /^X\(\/\/\)$/{
15669:         s//\1/
15670:         q
15671:       }
15672:       /^X\(\/\).*/{
15673:         s//\1/
15674:         q
15675:       }
15676:       s/.*/./; q'`
15677:       test -d "$as_dir" && break
15678:     done
15679:     test -z "$as_dirs" || eval "mkdir $as_dirs"
15680:   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15681: echo "$as_me: error: cannot create directory $as_dir" >&2;}
15682:    { (exit 1); exit 1; }; }; }
15683:   ac_builddir=.
15684: 
15685: case "$ac_dir" in
15686: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15687: *)
15688:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15689:   # A ".." for each directory in $ac_dir_suffix.
15690:   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
15691:   case $ac_top_builddir_sub in
15692:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15693:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15694:   esac ;;
15695: esac
15696: ac_abs_top_builddir=$ac_pwd
15697: ac_abs_builddir=$ac_pwd$ac_dir_suffix
15698: # for backward compatibility:
15699: ac_top_builddir=$ac_top_build_prefix
15700: 
15701: case $srcdir in
15702:   .)  # We are building in place.
15703:     ac_srcdir=.
15704:     ac_top_srcdir=$ac_top_builddir_sub
15705:     ac_abs_top_srcdir=$ac_pwd ;;
15706:   [\\/]* | ?:[\\/]* )  # Absolute name.
15707:     ac_srcdir=$srcdir$ac_dir_suffix;
15708:     ac_top_srcdir=$srcdir
15709:     ac_abs_top_srcdir=$srcdir ;;
15710:   *) # Relative name.
15711:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15712:     ac_top_srcdir=$ac_top_build_prefix$srcdir
15713:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15714: esac
15715: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15716: 
15717: 
15718:   case $ac_mode in
15719:   :F)
15720:   #
15721:   # CONFIG_FILE
15722:   #
15723: 
15724:   case $INSTALL in
15725:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15726:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15727:   esac
15728:   ac_MKDIR_P=$MKDIR_P
15729:   case $MKDIR_P in
15730:   [\\/$]* | ?:[\\/]* ) ;;
15731:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15732:   esac
15733: _ACEOF
15734: 
15735: cat >>$CONFIG_STATUS <<\_ACEOF
15736: # If the template does not know about datarootdir, expand it.
15737: # FIXME: This hack should be removed a few years after 2.60.
15738: ac_datarootdir_hack=; ac_datarootdir_seen=
15739: 
15740: case `sed -n '/datarootdir/ {
15741:   p
15742:   q
15743: }
15744: /@datadir@/p
15745: /@docdir@/p
15746: /@infodir@/p
15747: /@localedir@/p
15748: /@mandir@/p
15749: ' $ac_file_inputs` in
15750: *datarootdir*) ac_datarootdir_seen=yes;;
15751: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15752:   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15753: echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15754: _ACEOF
15755: cat >>$CONFIG_STATUS <<_ACEOF
15756:   ac_datarootdir_hack='
15757:   s&@datadir@&$datadir&g
15758:   s&@docdir@&$docdir&g
15759:   s&@infodir@&$infodir&g
15760:   s&@localedir@&$localedir&g
15761:   s&@mandir@&$mandir&g
15762:     s&\\\${datarootdir}&$datarootdir&g' ;;
15763: esac
15764: _ACEOF
15765: 
15766: # Neutralize VPATH when `$srcdir' = `.'.
15767: # Shell code in configure.ac might set extrasub.
15768: # FIXME: do we really want to maintain this feature?
15769: cat >>$CONFIG_STATUS <<_ACEOF
15770:   sed "$ac_vpsub
15771: $extrasub
15772: _ACEOF
15773: cat >>$CONFIG_STATUS <<\_ACEOF
15774: :t
15775: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15776: s&@configure_input@&$configure_input&;t t
15777: s&@top_builddir@&$ac_top_builddir_sub&;t t
15778: s&@srcdir@&$ac_srcdir&;t t
15779: s&@abs_srcdir@&$ac_abs_srcdir&;t t
15780: s&@top_srcdir@&$ac_top_srcdir&;t t
15781: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15782: s&@builddir@&$ac_builddir&;t t
15783: s&@abs_builddir@&$ac_abs_builddir&;t t
15784: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15785: s&@INSTALL@&$ac_INSTALL&;t t
15786: s&@MKDIR_P@&$ac_MKDIR_P&;t t
15787: $ac_datarootdir_hack
15788: " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
15789: 
15790: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15791:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15792:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15793:   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15794: which seems to be undefined.  Please make sure it is defined." >&5
15795: echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15796: which seems to be undefined.  Please make sure it is defined." >&2;}
15797: 
15798:   rm -f "$tmp/stdin"
15799:   case $ac_file in
15800:   -) cat "$tmp/out"; rm -f "$tmp/out";;
15801:   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15802:   esac
15803:  ;;
15804:   :H)
15805:   #
15806:   # CONFIG_HEADER
15807:   #
15808: _ACEOF
15809: 
15810: # Transform confdefs.h into a sed script `conftest.defines', that
15811: # substitutes the proper values into config.h.in to produce config.h.
15812: rm -f conftest.defines conftest.tail
15813: # First, append a space to every undef/define line, to ease matching.
15814: echo 's/$/ /' >conftest.defines
15815: # Then, protect against being on the right side of a sed subst, or in
15816: # an unquoted here document, in config.status.  If some macros were
15817: # called several times there might be several #defines for the same
15818: # symbol, which is useless.  But do not sort them, since the last
15819: # AC_DEFINE must be honored.
15820: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15821: # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15822: # NAME is the cpp macro being defined, VALUE is the value it is being given.
15823: # PARAMS is the parameter list in the macro definition--in most cases, it's
15824: # just an empty string.
15825: ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
15826: ac_dB='\\)[  (].*,\\1define\\2'
15827: ac_dC=' '
15828: ac_dD=' ,'
15829: 
15830: uniq confdefs.h |
15831:   sed -n '
15832:     t rset
15833:     :rset
15834:     s/^[     ]*#[    ]*define[   ][  ]*//
15835:     t ok
15836:     d
15837:     :ok
15838:     s/[\\&,]/\\&/g
15839:     s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15840:     s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15841:   ' >>conftest.defines
15842: 
15843: # Remove the space that was appended to ease matching.
15844: # Then replace #undef with comments.  This is necessary, for
15845: # example, in the case of _POSIX_SOURCE, which is predefined and required
15846: # on some systems where configure will not decide to define it.
15847: # (The regexp can be short, since the line contains either #define or #undef.)
15848: echo 's/ $//
15849: s,^[     #]*u.*,/* & */,' >>conftest.defines
15850: 
15851: # Break up conftest.defines:
15852: ac_max_sed_lines=50
15853: 
15854: # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15855: # Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15856: # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15857: # et cetera.
15858: ac_in='$ac_file_inputs'
15859: ac_out='"$tmp/out1"'
15860: ac_nxt='"$tmp/out2"'
15861: 
15862: while :
15863: do
15864:   # Write a here document:
15865:     cat >>$CONFIG_STATUS <<_ACEOF
15866:     # First, check the format of the line:
15867:     cat >"\$tmp/defines.sed" <<\\CEOF
15868: /^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
15869: /^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
15870: b
15871: :def
15872: _ACEOF
15873:   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15874:   echo 'CEOF
15875:     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15876:   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15877:   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15878:   grep . conftest.tail >/dev/null || break
15879:   rm -f conftest.defines
15880:   mv conftest.tail conftest.defines
15881: done
15882: rm -f conftest.defines conftest.tail
15883: 
15884: echo "ac_result=$ac_in" >>$CONFIG_STATUS
15885: cat >>$CONFIG_STATUS <<\_ACEOF
15886:   if test x"$ac_file" != x-; then
15887:     echo "/* $configure_input  */" >"$tmp/config.h"
15888:     cat "$ac_result" >>"$tmp/config.h"
15889:     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15890:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15891: echo "$as_me: $ac_file is unchanged" >&6;}
15892:     else
15893:       rm -f $ac_file
15894:       mv "$tmp/config.h" $ac_file
15895:     fi
15896:   else
15897:     echo "/* $configure_input  */"
15898:     cat "$ac_result"
15899:   fi
15900:   rm -f "$tmp/out12"
15901: # Compute $ac_file's index in $config_headers.
15902: _am_arg=$ac_file
15903: _am_stamp_count=1
15904: for _am_header in $config_headers :; do
15905:   case $_am_header in
15906:     $_am_arg | $_am_arg:* )
15907:       break ;;
15908:     * )
15909:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15910:   esac
15911: done
15912: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15913: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15914:      X"$_am_arg" : 'X\(//\)[^/]' \| \
15915:      X"$_am_arg" : 'X\(//\)$' \| \
15916:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15917: echo X"$_am_arg" |
15918:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15919:         s//\1/
15920:         q
15921:       }
15922:       /^X\(\/\/\)[^/].*/{
15923:         s//\1/
15924:         q
15925:       }
15926:       /^X\(\/\/\)$/{
15927:         s//\1/
15928:         q
15929:       }
15930:       /^X\(\/\).*/{
15931:         s//\1/
15932:         q
15933:       }
15934:       s/.*/./; q'`/stamp-h$_am_stamp_count
15935:  ;;
15936: 
15937:   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15938: echo "$as_me: executing $ac_file commands" >&6;}
15939:  ;;
15940:   esac
15941: 
15942: 
15943:   case $ac_file$ac_mode in
15944:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15945:   # Strip MF so we end up with the name of the file.
15946:   mf=`echo "$mf" | sed -e 's/:.*$//'`
15947:   # Check whether this is an Automake generated Makefile or not.
15948:   # We used to match only the files named `Makefile.in', but
15949:   # some people rename them; so instead we look at the file content.
15950:   # Grep'ing the first line is not enough: some people post-process
15951:   # each Makefile.in and add a new line on top of each file to say so.
15952:   # Grep'ing the whole file is not good either: AIX grep has a line
15953:   # limit of 2048, but all sed's we know have understand at least 4000.
15954:   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15955:     dirpart=`$as_dirname -- "$mf" ||
15956: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15957:      X"$mf" : 'X\(//\)[^/]' \| \
15958:      X"$mf" : 'X\(//\)$' \| \
15959:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15960: echo X"$mf" |
15961:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15962:         s//\1/
15963:         q
15964:       }
15965:       /^X\(\/\/\)[^/].*/{
15966:         s//\1/
15967:         q
15968:       }
15969:       /^X\(\/\/\)$/{
15970:         s//\1/
15971:         q
15972:       }
15973:       /^X\(\/\).*/{
15974:         s//\1/
15975:         q
15976:       }
15977:       s/.*/./; q'`
15978:   else
15979:     continue
15980:   fi
15981:   # Extract the definition of DEPDIR, am__include, and am__quote
15982:   # from the Makefile without running `make'.
15983:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15984:   test -z "$DEPDIR" && continue
15985:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
15986:   test -z "am__include" && continue
15987:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15988:   # When using ansi2knr, U may be empty or an underscore; expand it
15989:   U=`sed -n 's/^U = //p' < "$mf"`
15990:   # Find all dependency output files, they are included files with
15991:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
15992:   # simplest approach to changing $(DEPDIR) to its actual value in the
15993:   # expansion.
15994:   for file in `sed -n "
15995:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15996:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15997:     # Make sure the directory exists.
15998:     test -f "$dirpart/$file" && continue
15999:     fdir=`$as_dirname -- "$file" ||
16000: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16001:      X"$file" : 'X\(//\)[^/]' \| \
16002:      X"$file" : 'X\(//\)$' \| \
16003:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16004: echo X"$file" |
16005:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16006:         s//\1/
16007:         q
16008:       }
16009:       /^X\(\/\/\)[^/].*/{
16010:         s//\1/
16011:         q
16012:       }
16013:       /^X\(\/\/\)$/{
16014:         s//\1/
16015:         q
16016:       }
16017:       /^X\(\/\).*/{
16018:         s//\1/
16019:         q
16020:       }
16021:       s/.*/./; q'`
16022:     { as_dir=$dirpart/$fdir
16023:   case $as_dir in #(
16024:   -*) as_dir=./$as_dir;;
16025:   esac
16026:   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16027:     as_dirs=
16028:     while :; do
16029:       case $as_dir in #(
16030:       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16031:       *) as_qdir=$as_dir;;
16032:       esac
16033:       as_dirs="'$as_qdir' $as_dirs"
16034:       as_dir=`$as_dirname -- "$as_dir" ||
16035: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16036:      X"$as_dir" : 'X\(//\)[^/]' \| \
16037:      X"$as_dir" : 'X\(//\)$' \| \
16038:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16039: echo X"$as_dir" |
16040:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16041:         s//\1/
16042:         q
16043:       }
16044:       /^X\(\/\/\)[^/].*/{
16045:         s//\1/
16046:         q
16047:       }
16048:       /^X\(\/\/\)$/{
16049:         s//\1/
16050:         q
16051:       }
16052:       /^X\(\/\).*/{
16053:         s//\1/
16054:         q
16055:       }
16056:       s/.*/./; q'`
16057:       test -d "$as_dir" && break
16058:     done
16059:     test -z "$as_dirs" || eval "mkdir $as_dirs"
16060:   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16061: echo "$as_me: error: cannot create directory $as_dir" >&2;}
16062:    { (exit 1); exit 1; }; }; }
16063:     # echo "creating $dirpart/$file"
16064:     echo '# dummy' > "$dirpart/$file"
16065:   done
16066: done
16067:  ;;
16068: 
16069:   esac
16070: done # for ac_tag
16071: 
16072: 
16073: { (exit 0); exit 0; }
16074: _ACEOF
16075: chmod +x $CONFIG_STATUS
16076: ac_clean_files=$ac_clean_files_save
16077: 
16078: 
16079: # configure is writing to config.log, and then calls config.status.
16080: # config.status does its own redirection, appending to config.log.
16081: # Unfortunately, on DOS this fails, as config.log is still kept open
16082: # by configure, so config.status won't be able to write to it; its
16083: # output is simply discarded.  So we exec the FD to /dev/null,
16084: # effectively closing config.log, so it can be properly (re)opened and
16085: # appended to by config.status.  When coming back to configure, we
16086: # need to make the FD available again.
16087: if test "$no_create" != yes; then
16088:   ac_cs_success=:
16089:   ac_config_status_args=
16090:   test "$silent" = yes &&
16091:     ac_config_status_args="$ac_config_status_args --quiet"
16092:   exec 5>/dev/null
16093:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16094:   exec 5>>config.log
16095:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16096:   # would make configure fail if this is the last instruction.
16097:   $ac_cs_success || { (exit 1); exit 1; }
16098: fi
16099: 
16100: #
16101: # CONFIG_SUBDIRS section.
16102: #
16103: if test "$no_recursion" != yes; then
16104: 
16105:   # Remove --cache-file and --srcdir arguments so they do not pile up.
16106:   ac_sub_configure_args=
16107:   ac_prev=
16108:   eval "set x $ac_configure_args"
16109:   shift
16110:   for ac_arg
16111:   do
16112:     if test -n "$ac_prev"; then
16113:       ac_prev=
16114:       continue
16115:     fi
16116:     case $ac_arg in
16117:     -cache-file | --cache-file | --cache-fil | --cache-fi \
16118:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16119:       ac_prev=cache_file ;;
16120:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16121:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16122:     | --c=*)
16123:       ;;
16124:     --config-cache | -C)
16125:       ;;
16126:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16127:       ac_prev=srcdir ;;
16128:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16129:       ;;
16130:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16131:       ac_prev=prefix ;;
16132:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16133:       ;;
16134:     *)
16135:       case $ac_arg in
16136:       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16137:       esac
16138:       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
16139:     esac
16140:   done
16141: 
16142:   # Always prepend --prefix to ensure using the same prefix
16143:   # in subdir configurations.
16144:   ac_arg="--prefix=$prefix"
16145:   case $ac_arg in
16146:   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16147:   esac
16148:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16149: 
16150:   # Pass --silent
16151:   if test "$silent" = yes; then
16152:     ac_sub_configure_args="--silent $ac_sub_configure_args"
16153:   fi
16154: 
16155:   ac_popdir=`pwd`
16156:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16157: 
16158:     # Do not complain, so a configure script can configure whichever
16159:     # parts of a large source tree are present.
16160:     test -d "$srcdir/$ac_dir" || continue
16161: 
16162:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16163:     echo "$as_me:$LINENO: $ac_msg" >&5
16164:     echo "$ac_msg" >&6
16165:     { as_dir="$ac_dir"
16166:   case $as_dir in #(
16167:   -*) as_dir=./$as_dir;;
16168:   esac
16169:   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16170:     as_dirs=
16171:     while :; do
16172:       case $as_dir in #(
16173:       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16174:       *) as_qdir=$as_dir;;
16175:       esac
16176:       as_dirs="'$as_qdir' $as_dirs"
16177:       as_dir=`$as_dirname -- "$as_dir" ||
16178: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16179:      X"$as_dir" : 'X\(//\)[^/]' \| \
16180:      X"$as_dir" : 'X\(//\)$' \| \
16181:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16182: echo X"$as_dir" |
16183:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16184:         s//\1/
16185:         q
16186:       }
16187:       /^X\(\/\/\)[^/].*/{
16188:         s//\1/
16189:         q
16190:       }
16191:       /^X\(\/\/\)$/{
16192:         s//\1/
16193:         q
16194:       }
16195:       /^X\(\/\).*/{
16196:         s//\1/
16197:         q
16198:       }
16199:       s/.*/./; q'`
16200:       test -d "$as_dir" && break
16201:     done
16202:     test -z "$as_dirs" || eval "mkdir $as_dirs"
16203:   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16204: echo "$as_me: error: cannot create directory $as_dir" >&2;}
16205:    { (exit 1); exit 1; }; }; }
16206:     ac_builddir=.
16207: 
16208: case "$ac_dir" in
16209: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16210: *)
16211:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16212:   # A ".." for each directory in $ac_dir_suffix.
16213:   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16214:   case $ac_top_builddir_sub in
16215:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16216:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16217:   esac ;;
16218: esac
16219: ac_abs_top_builddir=$ac_pwd
16220: ac_abs_builddir=$ac_pwd$ac_dir_suffix
16221: # for backward compatibility:
16222: ac_top_builddir=$ac_top_build_prefix
16223: 
16224: case $srcdir in
16225:   .)  # We are building in place.
16226:     ac_srcdir=.
16227:     ac_top_srcdir=$ac_top_builddir_sub
16228:     ac_abs_top_srcdir=$ac_pwd ;;
16229:   [\\/]* | ?:[\\/]* )  # Absolute name.
16230:     ac_srcdir=$srcdir$ac_dir_suffix;
16231:     ac_top_srcdir=$srcdir
16232:     ac_abs_top_srcdir=$srcdir ;;
16233:   *) # Relative name.
16234:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16235:     ac_top_srcdir=$ac_top_build_prefix$srcdir
16236:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16237: esac
16238: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16239: 
16240: 
16241:     cd "$ac_dir"
16242: 
16243:     # Check for guested configure; otherwise get Cygnus style configure.
16244:     if test -f "$ac_srcdir/configure.gnu"; then
16245:       ac_sub_configure=$ac_srcdir/configure.gnu
16246:     elif test -f "$ac_srcdir/configure"; then
16247:       ac_sub_configure=$ac_srcdir/configure
16248:     elif test -f "$ac_srcdir/configure.in"; then
16249:       # This should be Cygnus configure.
16250:       ac_sub_configure=$ac_aux_dir/configure
16251:     else
16252:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
16253: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16254:       ac_sub_configure=
16255:     fi
16256: 
16257:     # The recursion is here.
16258:     if test -n "$ac_sub_configure"; then
16259:       # Make the cache file name correct relative to the subdirectory.
16260:       case $cache_file in
16261:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16262:       *) # Relative name.
16263:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16264:       esac
16265: 
16266:       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16267: echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16268:       # The eval makes quoting arguments work.
16269:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16270:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16271:     { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
16272: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
16273:    { (exit 1); exit 1; }; }
16274:     fi
16275: 
16276:     cd "$ac_popdir"
16277:   done
16278: fi
16279: 

CVSweb interface <joel.bertrand@systella.fr>