File:  [local] / rpl / Attic / configure
Revision 1.55: download - view: text, annotated - select for diffs - revision graph
Wed Apr 20 08:26:01 2011 UTC (13 years ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Ajout des premiers bouts de rplcas.

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.67 for rpl 4.1.0.prerelease.0.
    4: #
    5: #
    6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    8: # Foundation, Inc.
    9: #
   10: #
   11: # This configure script is free software; the Free Software Foundation
   12: # gives unlimited permission to copy, distribute and modify it.
   13: ## -------------------- ##
   14: ## M4sh Initialization. ##
   15: ## -------------------- ##
   16: 
   17: # Be more Bourne compatible
   18: DUALCASE=1; export DUALCASE # for MKS sh
   19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20:   emulate sh
   21:   NULLCMD=:
   22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23:   # is contrary to our usage.  Disable this feature.
   24:   alias -g '${1+"$@"}'='"$@"'
   25:   setopt NO_GLOB_SUBST
   26: else
   27:   case `(set -o) 2>/dev/null` in #(
   28:   *posix*) :
   29:     set -o posix ;; #(
   30:   *) :
   31:      ;;
   32: esac
   33: fi
   34: 
   35: 
   36: as_nl='
   37: '
   38: export as_nl
   39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43: # Prefer a ksh shell builtin over an external printf program on Solaris,
   44: # but without wasting forks for bash or zsh.
   45: if test -z "$BASH_VERSION$ZSH_VERSION" \
   46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47:   as_echo='print -r --'
   48:   as_echo_n='print -rn --'
   49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50:   as_echo='printf %s\n'
   51:   as_echo_n='printf %s'
   52: else
   53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55:     as_echo_n='/usr/ucb/echo -n'
   56:   else
   57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58:     as_echo_n_body='eval
   59:       arg=$1;
   60:       case $arg in #(
   61:       *"$as_nl"*)
   62:     expr "X$arg" : "X\\(.*\\)$as_nl";
   63:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64:       esac;
   65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66:     '
   67:     export as_echo_n_body
   68:     as_echo_n='sh -c $as_echo_n_body as_echo'
   69:   fi
   70:   export as_echo_body
   71:   as_echo='sh -c $as_echo_body as_echo'
   72: fi
   73: 
   74: # The user is always right.
   75: if test "${PATH_SEPARATOR+set}" != set; then
   76:   PATH_SEPARATOR=:
   77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79:       PATH_SEPARATOR=';'
   80:   }
   81: fi
   82: 
   83: 
   84: # IFS
   85: # We need space, tab and new line, in precisely that order.  Quoting is
   86: # there to prevent editors from complaining about space-tab.
   87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88: # splitting by setting IFS to empty value.)
   89: IFS=" ""    $as_nl"
   90: 
   91: # Find who we are.  Look in the path if we contain no directory separator.
   92: case $0 in #((
   93:   *[\\/]* ) as_myself=$0 ;;
   94:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   95: for as_dir in $PATH
   96: do
   97:   IFS=$as_save_IFS
   98:   test -z "$as_dir" && as_dir=.
   99:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100:   done
  101: IFS=$as_save_IFS
  102: 
  103:      ;;
  104: esac
  105: # We did not find ourselves, most probably we were run as `sh COMMAND'
  106: # in which case we are not to be found in the path.
  107: if test "x$as_myself" = x; then
  108:   as_myself=$0
  109: fi
  110: if test ! -f "$as_myself"; then
  111:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  112:   exit 1
  113: fi
  114: 
  115: # Unset variables that we do not need and which cause bugs (e.g. in
  116: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  117: # suppresses any "Segmentation fault" message there.  '((' could
  118: # trigger a bug in pdksh 5.2.14.
  119: for as_var in BASH_ENV ENV MAIL MAILPATH
  120: do eval test x\${$as_var+set} = xset \
  121:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  122: done
  123: PS1='$ '
  124: PS2='> '
  125: PS4='+ '
  126: 
  127: # NLS nuisances.
  128: LC_ALL=C
  129: export LC_ALL
  130: LANGUAGE=C
  131: export LANGUAGE
  132: 
  133: # CDPATH.
  134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  135: 
  136: if test "x$CONFIG_SHELL" = x; then
  137:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  138:   emulate sh
  139:   NULLCMD=:
  140:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  141:   # is contrary to our usage.  Disable this feature.
  142:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  143:   setopt NO_GLOB_SUBST
  144: else
  145:   case \`(set -o) 2>/dev/null\` in #(
  146:   *posix*) :
  147:     set -o posix ;; #(
  148:   *) :
  149:      ;;
  150: esac
  151: fi
  152: "
  153:   as_required="as_fn_return () { (exit \$1); }
  154: as_fn_success () { as_fn_return 0; }
  155: as_fn_failure () { as_fn_return 1; }
  156: as_fn_ret_success () { return 0; }
  157: as_fn_ret_failure () { return 1; }
  158: 
  159: exitcode=0
  160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  165: 
  166: else
  167:   exitcode=1; echo positional parameters were not saved.
  168: fi
  169: test x\$exitcode = x0 || exit 1"
  170:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  171:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  172:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  173:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  174: test \$(( 1 + 1 )) = 2 || exit 1"
  175:   if (eval "$as_required") 2>/dev/null; then :
  176:   as_have_required=yes
  177: else
  178:   as_have_required=no
  179: fi
  180:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  181: 
  182: else
  183:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  184: as_found=false
  185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  186: do
  187:   IFS=$as_save_IFS
  188:   test -z "$as_dir" && as_dir=.
  189:   as_found=:
  190:   case $as_dir in #(
  191:      /*)
  192:        for as_base in sh bash ksh sh5; do
  193:          # Try only shells that exist, to save several forks.
  194:          as_shell=$as_dir/$as_base
  195:          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  196:             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  197:   CONFIG_SHELL=$as_shell as_have_required=yes
  198:            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  199:   break 2
  200: fi
  201: fi
  202:        done;;
  203:        esac
  204:   as_found=false
  205: done
  206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  207:           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  208:   CONFIG_SHELL=$SHELL as_have_required=yes
  209: fi; }
  210: IFS=$as_save_IFS
  211: 
  212: 
  213:       if test "x$CONFIG_SHELL" != x; then :
  214:   # We cannot yet assume a decent shell, so we have to provide a
  215:     # neutralization value for shells without unset; and this also
  216:     # works around shells that cannot unset nonexistent variables.
  217:     BASH_ENV=/dev/null
  218:     ENV=/dev/null
  219:     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  220:     export CONFIG_SHELL
  221:     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  222: fi
  223: 
  224:     if test x$as_have_required = xno; then :
  225:   $as_echo "$0: This script requires a shell more modern than all"
  226:   $as_echo "$0: the shells that I found on your system."
  227:   if test x${ZSH_VERSION+set} = xset ; then
  228:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  229:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  230:   else
  231:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  232: $0: including any error possibly output before this
  233: $0: message. Then install a modern shell, or manually run
  234: $0: the script under such a shell if you do have one."
  235:   fi
  236:   exit 1
  237: fi
  238: fi
  239: fi
  240: SHELL=${CONFIG_SHELL-/bin/sh}
  241: export SHELL
  242: # Unset more variables known to interfere with behavior of common tools.
  243: CLICOLOR_FORCE= GREP_OPTIONS=
  244: unset CLICOLOR_FORCE GREP_OPTIONS
  245: 
  246: ## --------------------- ##
  247: ## M4sh Shell Functions. ##
  248: ## --------------------- ##
  249: # as_fn_unset VAR
  250: # ---------------
  251: # Portably unset VAR.
  252: as_fn_unset ()
  253: {
  254:   { eval $1=; unset $1;}
  255: }
  256: as_unset=as_fn_unset
  257: 
  258: # as_fn_set_status STATUS
  259: # -----------------------
  260: # Set $? to STATUS, without forking.
  261: as_fn_set_status ()
  262: {
  263:   return $1
  264: } # as_fn_set_status
  265: 
  266: # as_fn_exit STATUS
  267: # -----------------
  268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  269: as_fn_exit ()
  270: {
  271:   set +e
  272:   as_fn_set_status $1
  273:   exit $1
  274: } # as_fn_exit
  275: 
  276: # as_fn_mkdir_p
  277: # -------------
  278: # Create "$as_dir" as a directory, including parents if necessary.
  279: as_fn_mkdir_p ()
  280: {
  281: 
  282:   case $as_dir in #(
  283:   -*) as_dir=./$as_dir;;
  284:   esac
  285:   test -d "$as_dir" || eval $as_mkdir_p || {
  286:     as_dirs=
  287:     while :; do
  288:       case $as_dir in #(
  289:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  290:       *) as_qdir=$as_dir;;
  291:       esac
  292:       as_dirs="'$as_qdir' $as_dirs"
  293:       as_dir=`$as_dirname -- "$as_dir" ||
  294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  295:      X"$as_dir" : 'X\(//\)[^/]' \| \
  296:      X"$as_dir" : 'X\(//\)$' \| \
  297:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  298: $as_echo X"$as_dir" |
  299:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  300:         s//\1/
  301:         q
  302:       }
  303:       /^X\(\/\/\)[^/].*/{
  304:         s//\1/
  305:         q
  306:       }
  307:       /^X\(\/\/\)$/{
  308:         s//\1/
  309:         q
  310:       }
  311:       /^X\(\/\).*/{
  312:         s//\1/
  313:         q
  314:       }
  315:       s/.*/./; q'`
  316:       test -d "$as_dir" && break
  317:     done
  318:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  319:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  320: 
  321: 
  322: } # as_fn_mkdir_p
  323: # as_fn_append VAR VALUE
  324: # ----------------------
  325: # Append the text in VALUE to the end of the definition contained in VAR. Take
  326: # advantage of any shell optimizations that allow amortized linear growth over
  327: # repeated appends, instead of the typical quadratic growth present in naive
  328: # implementations.
  329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  330:   eval 'as_fn_append ()
  331:   {
  332:     eval $1+=\$2
  333:   }'
  334: else
  335:   as_fn_append ()
  336:   {
  337:     eval $1=\$$1\$2
  338:   }
  339: fi # as_fn_append
  340: 
  341: # as_fn_arith ARG...
  342: # ------------------
  343: # Perform arithmetic evaluation on the ARGs, and store the result in the
  344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  345: # must be portable across $(()) and expr.
  346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  347:   eval 'as_fn_arith ()
  348:   {
  349:     as_val=$(( $* ))
  350:   }'
  351: else
  352:   as_fn_arith ()
  353:   {
  354:     as_val=`expr "$@" || test $? -eq 1`
  355:   }
  356: fi # as_fn_arith
  357: 
  358: 
  359: # as_fn_error STATUS ERROR [LINENO LOG_FD]
  360: # ----------------------------------------
  361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  363: # script with STATUS, using 1 if that was 0.
  364: as_fn_error ()
  365: {
  366:   as_status=$1; test $as_status -eq 0 && as_status=1
  367:   if test "$4"; then
  368:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  369:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  370:   fi
  371:   $as_echo "$as_me: error: $2" >&2
  372:   as_fn_exit $as_status
  373: } # as_fn_error
  374: 
  375: if expr a : '\(a\)' >/dev/null 2>&1 &&
  376:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  377:   as_expr=expr
  378: else
  379:   as_expr=false
  380: fi
  381: 
  382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  383:   as_basename=basename
  384: else
  385:   as_basename=false
  386: fi
  387: 
  388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  389:   as_dirname=dirname
  390: else
  391:   as_dirname=false
  392: fi
  393: 
  394: as_me=`$as_basename -- "$0" ||
  395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  396:      X"$0" : 'X\(//\)$' \| \
  397:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  398: $as_echo X/"$0" |
  399:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  400:         s//\1/
  401:         q
  402:       }
  403:       /^X\/\(\/\/\)$/{
  404:         s//\1/
  405:         q
  406:       }
  407:       /^X\/\(\/\).*/{
  408:         s//\1/
  409:         q
  410:       }
  411:       s/.*/./; q'`
  412: 
  413: # Avoid depending upon Character Ranges.
  414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  417: as_cr_digits='0123456789'
  418: as_cr_alnum=$as_cr_Letters$as_cr_digits
  419: 
  420: 
  421:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  422:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  423:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  424:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  425:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  426:   sed -n '
  427:     p
  428:     /[$]LINENO/=
  429:   ' <$as_myself |
  430:     sed '
  431:       s/[$]LINENO.*/&-/
  432:       t lineno
  433:       b
  434:       :lineno
  435:       N
  436:       :loop
  437:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  438:       t loop
  439:       s/-\n.*//
  440:     ' >$as_me.lineno &&
  441:   chmod +x "$as_me.lineno" ||
  442:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  443: 
  444:   # Don't try to exec as it changes $[0], causing all sort of problems
  445:   # (the dirname of $[0] is not the place where we might find the
  446:   # original and so on.  Autoconf is especially sensitive to this).
  447:   . "./$as_me.lineno"
  448:   # Exit status is that of the last command.
  449:   exit
  450: }
  451: 
  452: ECHO_C= ECHO_N= ECHO_T=
  453: case `echo -n x` in #(((((
  454: -n*)
  455:   case `echo 'xy\c'` in
  456:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  457:   xy)  ECHO_C='\c';;
  458:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  459:        ECHO_T=' ';;
  460:   esac;;
  461: *)
  462:   ECHO_N='-n';;
  463: esac
  464: 
  465: rm -f conf$$ conf$$.exe conf$$.file
  466: if test -d conf$$.dir; then
  467:   rm -f conf$$.dir/conf$$.file
  468: else
  469:   rm -f conf$$.dir
  470:   mkdir conf$$.dir 2>/dev/null
  471: fi
  472: if (echo >conf$$.file) 2>/dev/null; then
  473:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  474:     as_ln_s='ln -s'
  475:     # ... but there are two gotchas:
  476:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  477:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  478:     # In both cases, we have to default to `cp -p'.
  479:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  480:       as_ln_s='cp -p'
  481:   elif ln conf$$.file conf$$ 2>/dev/null; then
  482:     as_ln_s=ln
  483:   else
  484:     as_ln_s='cp -p'
  485:   fi
  486: else
  487:   as_ln_s='cp -p'
  488: fi
  489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  490: rmdir conf$$.dir 2>/dev/null
  491: 
  492: if mkdir -p . 2>/dev/null; then
  493:   as_mkdir_p='mkdir -p "$as_dir"'
  494: else
  495:   test -d ./-p && rmdir ./-p
  496:   as_mkdir_p=false
  497: fi
  498: 
  499: if test -x / >/dev/null 2>&1; then
  500:   as_test_x='test -x'
  501: else
  502:   if ls -dL / >/dev/null 2>&1; then
  503:     as_ls_L_option=L
  504:   else
  505:     as_ls_L_option=
  506:   fi
  507:   as_test_x='
  508:     eval sh -c '\''
  509:       if test -d "$1"; then
  510:     test -d "$1/.";
  511:       else
  512:     case $1 in #(
  513:     -*)set "./$1";;
  514:     esac;
  515:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  516:     ???[sx]*):;;*)false;;esac;fi
  517:     '\'' sh
  518:   '
  519: fi
  520: as_executable_p=$as_test_x
  521: 
  522: # Sed expression to map a string onto a valid CPP name.
  523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  524: 
  525: # Sed expression to map a string onto a valid variable name.
  526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  527: 
  528: 
  529: test -n "$DJDIR" || exec 7<&0 </dev/null
  530: exec 6>&1
  531: 
  532: # Name of the host.
  533: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  534: # so uname gets run too.
  535: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  536: 
  537: #
  538: # Initializations.
  539: #
  540: ac_default_prefix=/usr/local
  541: ac_clean_files=
  542: ac_config_libobj_dir=.
  543: LIBOBJS=
  544: cross_compiling=no
  545: subdirs=
  546: MFLAGS=
  547: MAKEFLAGS=
  548: 
  549: # Identity of this package.
  550: PACKAGE_NAME='rpl'
  551: PACKAGE_TARNAME='rpl'
  552: PACKAGE_VERSION='4.1.0.prerelease.0'
  553: PACKAGE_STRING='rpl 4.1.0.prerelease.0'
  554: PACKAGE_BUGREPORT=''
  555: PACKAGE_URL=''
  556: 
  557: ac_default_prefix=/usr/local
  558: # Factoring default headers for most tests.
  559: ac_includes_default="\
  560: #include <stdio.h>
  561: #ifdef HAVE_SYS_TYPES_H
  562: # include <sys/types.h>
  563: #endif
  564: #ifdef HAVE_SYS_STAT_H
  565: # include <sys/stat.h>
  566: #endif
  567: #ifdef STDC_HEADERS
  568: # include <stdlib.h>
  569: # include <stddef.h>
  570: #else
  571: # ifdef HAVE_STDLIB_H
  572: #  include <stdlib.h>
  573: # endif
  574: #endif
  575: #ifdef HAVE_STRING_H
  576: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  577: #  include <memory.h>
  578: # endif
  579: # include <string.h>
  580: #endif
  581: #ifdef HAVE_STRINGS_H
  582: # include <strings.h>
  583: #endif
  584: #ifdef HAVE_INTTYPES_H
  585: # include <inttypes.h>
  586: #endif
  587: #ifdef HAVE_STDINT_H
  588: # include <stdint.h>
  589: #endif
  590: #ifdef HAVE_UNISTD_H
  591: # include <unistd.h>
  592: #endif"
  593: 
  594: enable_option_checking=no
  595: ac_subst_vars='am__EXEEXT_FALSE
  596: am__EXEEXT_TRUE
  597: LTLIBOBJS
  598: LIBOBJS
  599: MPFR
  600: GMP
  601: MALLOC
  602: EXT_SQL
  603: DATE_FR
  604: FINAL_ENCODING
  605: OPENSSL
  606: SQLITE
  607: ICONV
  608: FILE
  609: GNUPLOT
  610: GPP
  611: GSL
  612: UNITS
  613: READLINE
  614: NCURSES
  615: BSH_PATH
  616: BROKEN_SIGINFO
  617: IPV6
  618: SEMUN
  619: IPCS_SYSV
  620: SEMAPHORES_NOMMES
  621: NESTED_FUNCTIONS
  622: EXPORT_DYNAMIC
  623: C_STANDARD
  624: OS
  625: GNUPLOT_COMPILATION
  626: subdirs
  627: EGREP
  628: GREP
  629: libPgSQLlib
  630: libPgSQLinc
  631: POSTGRESQL_SUPPORT
  632: libMySQLlib
  633: libMySQLinc
  634: MYSQL_SUPPORT
  635: DATE
  636: includeX
  637: libX
  638: MOTIF_SUPPORT
  639: DEBUG
  640: EXPERIMENTAL_CODE
  641: VIM_SUPPORT
  642: POSTSCRIPT_SUPPORT
  643: FORCE_GNUPLOT_PATH
  644: GNUPLOT_SUPPORT
  645: VIM
  646: GNUPLOT_P
  647: GV
  648: GS
  649: DVIPS
  650: LATEX
  651: TEX
  652: SED
  653: RANLIB
  654: LN_S
  655: RUNPATH
  656: PROFILAGE
  657: X_EXTRA_LIBS
  658: X_LIBS
  659: X_PRE_LIBS
  660: X_CFLAGS
  661: CPP
  662: XMKMF
  663: ac_ct_FC
  664: FCFLAGS
  665: FC
  666: ac_ct_F77
  667: FFLAGS
  668: F77
  669: am__fastdepCXX_FALSE
  670: am__fastdepCXX_TRUE
  671: CXXDEPMODE
  672: ac_ct_CXX
  673: CXXFLAGS
  674: CXX
  675: am__fastdepCC_FALSE
  676: am__fastdepCC_TRUE
  677: CCDEPMODE
  678: AMDEPBACKSLASH
  679: AMDEP_FALSE
  680: AMDEP_TRUE
  681: am__quote
  682: am__include
  683: DEPDIR
  684: OBJEXT
  685: EXEEXT
  686: ac_ct_CC
  687: CPPFLAGS
  688: LDFLAGS
  689: CFLAGS
  690: CC
  691: am__untar
  692: am__tar
  693: AMTAR
  694: am__leading_dot
  695: SET_MAKE
  696: AWK
  697: mkdir_p
  698: MKDIR_P
  699: INSTALL_STRIP_PROGRAM
  700: STRIP
  701: install_sh
  702: MAKEINFO
  703: AUTOHEADER
  704: AUTOMAKE
  705: AUTOCONF
  706: ACLOCAL
  707: VERSION
  708: PACKAGE
  709: CYGPATH_W
  710: am__isrc
  711: INSTALL_DATA
  712: INSTALL_SCRIPT
  713: INSTALL_PROGRAM
  714: target_os
  715: target_vendor
  716: target_cpu
  717: target
  718: host_os
  719: host_vendor
  720: host_cpu
  721: host
  722: build_os
  723: build_vendor
  724: build_cpu
  725: build
  726: target_alias
  727: host_alias
  728: build_alias
  729: LIBS
  730: ECHO_T
  731: ECHO_N
  732: ECHO_C
  733: DEFS
  734: mandir
  735: localedir
  736: libdir
  737: psdir
  738: pdfdir
  739: dvidir
  740: htmldir
  741: infodir
  742: docdir
  743: oldincludedir
  744: includedir
  745: localstatedir
  746: sharedstatedir
  747: sysconfdir
  748: datadir
  749: datarootdir
  750: libexecdir
  751: sbindir
  752: bindir
  753: program_transform_name
  754: prefix
  755: exec_prefix
  756: PACKAGE_URL
  757: PACKAGE_BUGREPORT
  758: PACKAGE_STRING
  759: PACKAGE_VERSION
  760: PACKAGE_TARNAME
  761: PACKAGE_NAME
  762: PATH_SEPARATOR
  763: SHELL'
  764: ac_subst_files=''
  765: ac_user_opts='
  766: enable_option_checking
  767: enable_dependency_tracking
  768: with_x
  769: enable_optimization
  770: enable_sysv_semaphores
  771: enable_full_static
  772: enable_final_encoding
  773: enable_tex
  774: enable_vim
  775: enable_embedded_gnuplot
  776: enable_gnuplot
  777: enable_motif
  778: enable_experimental
  779: enable_debug
  780: enable_profile
  781: enable_final_run_path
  782: with_mysql
  783: with_postgresql
  784: with_bourne_shell
  785: with_openssl_arch
  786: '
  787:       ac_precious_vars='build_alias
  788: host_alias
  789: target_alias
  790: CC
  791: CFLAGS
  792: LDFLAGS
  793: LIBS
  794: CPPFLAGS
  795: CXX
  796: CXXFLAGS
  797: CCC
  798: F77
  799: FFLAGS
  800: FC
  801: FCFLAGS
  802: XMKMF
  803: CPP'
  804: ac_subdirs_all='tools/$NCURSES
  805: tools/$READLINE
  806: tools/$GSL
  807: tools/$GPP
  808: tools/$FILE
  809: tools/$ICONV
  810: tools/$SQLITE
  811: tools/$UNITS
  812: tools/$GNUPLOT'
  813: 
  814: # Initialize some variables set by options.
  815: ac_init_help=
  816: ac_init_version=false
  817: ac_unrecognized_opts=
  818: ac_unrecognized_sep=
  819: # The variables have the same names as the options, with
  820: # dashes changed to underlines.
  821: cache_file=/dev/null
  822: exec_prefix=NONE
  823: no_create=
  824: no_recursion=
  825: prefix=NONE
  826: program_prefix=NONE
  827: program_suffix=NONE
  828: program_transform_name=s,x,x,
  829: silent=
  830: site=
  831: srcdir=
  832: verbose=
  833: x_includes=NONE
  834: x_libraries=NONE
  835: 
  836: # Installation directory options.
  837: # These are left unexpanded so users can "make install exec_prefix=/foo"
  838: # and all the variables that are supposed to be based on exec_prefix
  839: # by default will actually change.
  840: # Use braces instead of parens because sh, perl, etc. also accept them.
  841: # (The list follows the same order as the GNU Coding Standards.)
  842: bindir='${exec_prefix}/bin'
  843: sbindir='${exec_prefix}/sbin'
  844: libexecdir='${exec_prefix}/libexec'
  845: datarootdir='${prefix}/share'
  846: datadir='${datarootdir}'
  847: sysconfdir='${prefix}/etc'
  848: sharedstatedir='${prefix}/com'
  849: localstatedir='${prefix}/var'
  850: includedir='${prefix}/include'
  851: oldincludedir='/usr/include'
  852: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  853: infodir='${datarootdir}/info'
  854: htmldir='${docdir}'
  855: dvidir='${docdir}'
  856: pdfdir='${docdir}'
  857: psdir='${docdir}'
  858: libdir='${exec_prefix}/lib'
  859: localedir='${datarootdir}/locale'
  860: mandir='${datarootdir}/man'
  861: 
  862: ac_prev=
  863: ac_dashdash=
  864: for ac_option
  865: do
  866:   # If the previous option needs an argument, assign it.
  867:   if test -n "$ac_prev"; then
  868:     eval $ac_prev=\$ac_option
  869:     ac_prev=
  870:     continue
  871:   fi
  872: 
  873:   case $ac_option in
  874:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  875:   *=)   ac_optarg= ;;
  876:   *)    ac_optarg=yes ;;
  877:   esac
  878: 
  879:   # Accept the important Cygnus configure options, so we can diagnose typos.
  880: 
  881:   case $ac_dashdash$ac_option in
  882:   --)
  883:     ac_dashdash=yes ;;
  884: 
  885:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  886:     ac_prev=bindir ;;
  887:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  888:     bindir=$ac_optarg ;;
  889: 
  890:   -build | --build | --buil | --bui | --bu)
  891:     ac_prev=build_alias ;;
  892:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  893:     build_alias=$ac_optarg ;;
  894: 
  895:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  896:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  897:     ac_prev=cache_file ;;
  898:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  899:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  900:     cache_file=$ac_optarg ;;
  901: 
  902:   --config-cache | -C)
  903:     cache_file=config.cache ;;
  904: 
  905:   -datadir | --datadir | --datadi | --datad)
  906:     ac_prev=datadir ;;
  907:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  908:     datadir=$ac_optarg ;;
  909: 
  910:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  911:   | --dataroo | --dataro | --datar)
  912:     ac_prev=datarootdir ;;
  913:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  914:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  915:     datarootdir=$ac_optarg ;;
  916: 
  917:   -disable-* | --disable-*)
  918:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  919:     # Reject names that are not valid shell variable names.
  920:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  921:       as_fn_error $? "invalid feature name: $ac_useropt"
  922:     ac_useropt_orig=$ac_useropt
  923:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  924:     case $ac_user_opts in
  925:       *"
  926: "enable_$ac_useropt"
  927: "*) ;;
  928:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  929:      ac_unrecognized_sep=', ';;
  930:     esac
  931:     eval enable_$ac_useropt=no ;;
  932: 
  933:   -docdir | --docdir | --docdi | --doc | --do)
  934:     ac_prev=docdir ;;
  935:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  936:     docdir=$ac_optarg ;;
  937: 
  938:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  939:     ac_prev=dvidir ;;
  940:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  941:     dvidir=$ac_optarg ;;
  942: 
  943:   -enable-* | --enable-*)
  944:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  945:     # Reject names that are not valid shell variable names.
  946:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  947:       as_fn_error $? "invalid feature name: $ac_useropt"
  948:     ac_useropt_orig=$ac_useropt
  949:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  950:     case $ac_user_opts in
  951:       *"
  952: "enable_$ac_useropt"
  953: "*) ;;
  954:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  955:      ac_unrecognized_sep=', ';;
  956:     esac
  957:     eval enable_$ac_useropt=\$ac_optarg ;;
  958: 
  959:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  960:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  961:   | --exec | --exe | --ex)
  962:     ac_prev=exec_prefix ;;
  963:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  964:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  965:   | --exec=* | --exe=* | --ex=*)
  966:     exec_prefix=$ac_optarg ;;
  967: 
  968:   -gas | --gas | --ga | --g)
  969:     # Obsolete; use --with-gas.
  970:     with_gas=yes ;;
  971: 
  972:   -help | --help | --hel | --he | -h)
  973:     ac_init_help=long ;;
  974:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  975:     ac_init_help=recursive ;;
  976:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  977:     ac_init_help=short ;;
  978: 
  979:   -host | --host | --hos | --ho)
  980:     ac_prev=host_alias ;;
  981:   -host=* | --host=* | --hos=* | --ho=*)
  982:     host_alias=$ac_optarg ;;
  983: 
  984:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  985:     ac_prev=htmldir ;;
  986:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  987:   | --ht=*)
  988:     htmldir=$ac_optarg ;;
  989: 
  990:   -includedir | --includedir | --includedi | --included | --include \
  991:   | --includ | --inclu | --incl | --inc)
  992:     ac_prev=includedir ;;
  993:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  994:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  995:     includedir=$ac_optarg ;;
  996: 
  997:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  998:     ac_prev=infodir ;;
  999:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1000:     infodir=$ac_optarg ;;
 1001: 
 1002:   -libdir | --libdir | --libdi | --libd)
 1003:     ac_prev=libdir ;;
 1004:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1005:     libdir=$ac_optarg ;;
 1006: 
 1007:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1008:   | --libexe | --libex | --libe)
 1009:     ac_prev=libexecdir ;;
 1010:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1011:   | --libexe=* | --libex=* | --libe=*)
 1012:     libexecdir=$ac_optarg ;;
 1013: 
 1014:   -localedir | --localedir | --localedi | --localed | --locale)
 1015:     ac_prev=localedir ;;
 1016:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1017:     localedir=$ac_optarg ;;
 1018: 
 1019:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1020:   | --localstate | --localstat | --localsta | --localst | --locals)
 1021:     ac_prev=localstatedir ;;
 1022:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1023:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1024:     localstatedir=$ac_optarg ;;
 1025: 
 1026:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1027:     ac_prev=mandir ;;
 1028:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1029:     mandir=$ac_optarg ;;
 1030: 
 1031:   -nfp | --nfp | --nf)
 1032:     # Obsolete; use --without-fp.
 1033:     with_fp=no ;;
 1034: 
 1035:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1036:   | --no-cr | --no-c | -n)
 1037:     no_create=yes ;;
 1038: 
 1039:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1040:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1041:     no_recursion=yes ;;
 1042: 
 1043:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1044:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1045:   | --oldin | --oldi | --old | --ol | --o)
 1046:     ac_prev=oldincludedir ;;
 1047:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1048:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1049:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1050:     oldincludedir=$ac_optarg ;;
 1051: 
 1052:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1053:     ac_prev=prefix ;;
 1054:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1055:     prefix=$ac_optarg ;;
 1056: 
 1057:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1058:   | --program-pre | --program-pr | --program-p)
 1059:     ac_prev=program_prefix ;;
 1060:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1061:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1062:     program_prefix=$ac_optarg ;;
 1063: 
 1064:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1065:   | --program-suf | --program-su | --program-s)
 1066:     ac_prev=program_suffix ;;
 1067:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1068:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1069:     program_suffix=$ac_optarg ;;
 1070: 
 1071:   -program-transform-name | --program-transform-name \
 1072:   | --program-transform-nam | --program-transform-na \
 1073:   | --program-transform-n | --program-transform- \
 1074:   | --program-transform | --program-transfor \
 1075:   | --program-transfo | --program-transf \
 1076:   | --program-trans | --program-tran \
 1077:   | --progr-tra | --program-tr | --program-t)
 1078:     ac_prev=program_transform_name ;;
 1079:   -program-transform-name=* | --program-transform-name=* \
 1080:   | --program-transform-nam=* | --program-transform-na=* \
 1081:   | --program-transform-n=* | --program-transform-=* \
 1082:   | --program-transform=* | --program-transfor=* \
 1083:   | --program-transfo=* | --program-transf=* \
 1084:   | --program-trans=* | --program-tran=* \
 1085:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1086:     program_transform_name=$ac_optarg ;;
 1087: 
 1088:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1089:     ac_prev=pdfdir ;;
 1090:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1091:     pdfdir=$ac_optarg ;;
 1092: 
 1093:   -psdir | --psdir | --psdi | --psd | --ps)
 1094:     ac_prev=psdir ;;
 1095:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1096:     psdir=$ac_optarg ;;
 1097: 
 1098:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1099:   | -silent | --silent | --silen | --sile | --sil)
 1100:     silent=yes ;;
 1101: 
 1102:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1103:     ac_prev=sbindir ;;
 1104:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1105:   | --sbi=* | --sb=*)
 1106:     sbindir=$ac_optarg ;;
 1107: 
 1108:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1109:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1110:   | --sharedst | --shareds | --shared | --share | --shar \
 1111:   | --sha | --sh)
 1112:     ac_prev=sharedstatedir ;;
 1113:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1114:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1115:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1116:   | --sha=* | --sh=*)
 1117:     sharedstatedir=$ac_optarg ;;
 1118: 
 1119:   -site | --site | --sit)
 1120:     ac_prev=site ;;
 1121:   -site=* | --site=* | --sit=*)
 1122:     site=$ac_optarg ;;
 1123: 
 1124:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1125:     ac_prev=srcdir ;;
 1126:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1127:     srcdir=$ac_optarg ;;
 1128: 
 1129:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1130:   | --syscon | --sysco | --sysc | --sys | --sy)
 1131:     ac_prev=sysconfdir ;;
 1132:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1133:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1134:     sysconfdir=$ac_optarg ;;
 1135: 
 1136:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1137:     ac_prev=target_alias ;;
 1138:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1139:     target_alias=$ac_optarg ;;
 1140: 
 1141:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1142:     verbose=yes ;;
 1143: 
 1144:   -version | --version | --versio | --versi | --vers | -V)
 1145:     ac_init_version=: ;;
 1146: 
 1147:   -with-* | --with-*)
 1148:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1149:     # Reject names that are not valid shell variable names.
 1150:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1151:       as_fn_error $? "invalid package name: $ac_useropt"
 1152:     ac_useropt_orig=$ac_useropt
 1153:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1154:     case $ac_user_opts in
 1155:       *"
 1156: "with_$ac_useropt"
 1157: "*) ;;
 1158:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1159:      ac_unrecognized_sep=', ';;
 1160:     esac
 1161:     eval with_$ac_useropt=\$ac_optarg ;;
 1162: 
 1163:   -without-* | --without-*)
 1164:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1165:     # Reject names that are not valid shell variable names.
 1166:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1167:       as_fn_error $? "invalid package name: $ac_useropt"
 1168:     ac_useropt_orig=$ac_useropt
 1169:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1170:     case $ac_user_opts in
 1171:       *"
 1172: "with_$ac_useropt"
 1173: "*) ;;
 1174:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1175:      ac_unrecognized_sep=', ';;
 1176:     esac
 1177:     eval with_$ac_useropt=no ;;
 1178: 
 1179:   --x)
 1180:     # Obsolete; use --with-x.
 1181:     with_x=yes ;;
 1182: 
 1183:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1184:   | --x-incl | --x-inc | --x-in | --x-i)
 1185:     ac_prev=x_includes ;;
 1186:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1187:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1188:     x_includes=$ac_optarg ;;
 1189: 
 1190:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1191:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1192:     ac_prev=x_libraries ;;
 1193:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1194:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1195:     x_libraries=$ac_optarg ;;
 1196: 
 1197:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1198: Try \`$0 --help' for more information"
 1199:     ;;
 1200: 
 1201:   *=*)
 1202:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1203:     # Reject names that are not valid shell variable names.
 1204:     case $ac_envvar in #(
 1205:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1206:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1207:     esac
 1208:     eval $ac_envvar=\$ac_optarg
 1209:     export $ac_envvar ;;
 1210: 
 1211:   *)
 1212:     # FIXME: should be removed in autoconf 3.0.
 1213:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1214:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1215:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1216:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1217:     ;;
 1218: 
 1219:   esac
 1220: done
 1221: 
 1222: if test -n "$ac_prev"; then
 1223:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1224:   as_fn_error $? "missing argument to $ac_option"
 1225: fi
 1226: 
 1227: if test -n "$ac_unrecognized_opts"; then
 1228:   case $enable_option_checking in
 1229:     no) ;;
 1230:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1231:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1232:   esac
 1233: fi
 1234: 
 1235: # Check all directory arguments for consistency.
 1236: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1237:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1238:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1239:         libdir localedir mandir
 1240: do
 1241:   eval ac_val=\$$ac_var
 1242:   # Remove trailing slashes.
 1243:   case $ac_val in
 1244:     */ )
 1245:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1246:       eval $ac_var=\$ac_val;;
 1247:   esac
 1248:   # Be sure to have absolute directory names.
 1249:   case $ac_val in
 1250:     [\\/$]* | ?:[\\/]* )  continue;;
 1251:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1252:   esac
 1253:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1254: done
 1255: 
 1256: # There might be people who depend on the old broken behavior: `$host'
 1257: # used to hold the argument of --host etc.
 1258: # FIXME: To remove some day.
 1259: build=$build_alias
 1260: host=$host_alias
 1261: target=$target_alias
 1262: 
 1263: # FIXME: To remove some day.
 1264: if test "x$host_alias" != x; then
 1265:   if test "x$build_alias" = x; then
 1266:     cross_compiling=maybe
 1267:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1268:     If a cross compiler is detected then cross compile mode will be used" >&2
 1269:   elif test "x$build_alias" != "x$host_alias"; then
 1270:     cross_compiling=yes
 1271:   fi
 1272: fi
 1273: 
 1274: ac_tool_prefix=
 1275: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1276: 
 1277: test "$silent" = yes && exec 6>/dev/null
 1278: 
 1279: 
 1280: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1281: ac_ls_di=`ls -di .` &&
 1282: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1283:   as_fn_error $? "working directory cannot be determined"
 1284: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1285:   as_fn_error $? "pwd does not report name of working directory"
 1286: 
 1287: 
 1288: # Find the source files, if location was not specified.
 1289: if test -z "$srcdir"; then
 1290:   ac_srcdir_defaulted=yes
 1291:   # Try the directory containing this script, then the parent directory.
 1292:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1293: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1294:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1295:      X"$as_myself" : 'X\(//\)$' \| \
 1296:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1297: $as_echo X"$as_myself" |
 1298:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1299:         s//\1/
 1300:         q
 1301:       }
 1302:       /^X\(\/\/\)[^/].*/{
 1303:         s//\1/
 1304:         q
 1305:       }
 1306:       /^X\(\/\/\)$/{
 1307:         s//\1/
 1308:         q
 1309:       }
 1310:       /^X\(\/\).*/{
 1311:         s//\1/
 1312:         q
 1313:       }
 1314:       s/.*/./; q'`
 1315:   srcdir=$ac_confdir
 1316:   if test ! -r "$srcdir/$ac_unique_file"; then
 1317:     srcdir=..
 1318:   fi
 1319: else
 1320:   ac_srcdir_defaulted=no
 1321: fi
 1322: if test ! -r "$srcdir/$ac_unique_file"; then
 1323:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1324:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1325: fi
 1326: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1327: ac_abs_confdir=`(
 1328:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1329:     pwd)`
 1330: # When building in place, set srcdir=.
 1331: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1332:   srcdir=.
 1333: fi
 1334: # Remove unnecessary trailing slashes from srcdir.
 1335: # Double slashes in file names in object file debugging info
 1336: # mess up M-x gdb in Emacs.
 1337: case $srcdir in
 1338: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1339: esac
 1340: for ac_var in $ac_precious_vars; do
 1341:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1342:   eval ac_env_${ac_var}_value=\$${ac_var}
 1343:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1344:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1345: done
 1346: 
 1347: #
 1348: # Report the --help message.
 1349: #
 1350: if test "$ac_init_help" = "long"; then
 1351:   # Omit some internal or obsolete options to make the list less imposing.
 1352:   # This message is too long to be a string in the A/UX 3.1 sh.
 1353:   cat <<_ACEOF
 1354: \`configure' configures rpl 4.1.0.prerelease.0 to adapt to many kinds of systems.
 1355: 
 1356: Usage: $0 [OPTION]... [VAR=VALUE]...
 1357: 
 1358: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1359: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1360: 
 1361: Defaults for the options are specified in brackets.
 1362: 
 1363: Configuration:
 1364:   -h, --help              display this help and exit
 1365:       --help=short        display options specific to this package
 1366:       --help=recursive    display the short help of all the included packages
 1367:   -V, --version           display version information and exit
 1368:   -q, --quiet, --silent   do not print \`checking ...' messages
 1369:       --cache-file=FILE   cache test results in FILE [disabled]
 1370:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1371:   -n, --no-create         do not create output files
 1372:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1373: 
 1374: Installation directories:
 1375:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1376:                           [$ac_default_prefix]
 1377:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1378:                           [PREFIX]
 1379: 
 1380: By default, \`make install' will install all the files in
 1381: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1382: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1383: for instance \`--prefix=\$HOME'.
 1384: 
 1385: For better control, use the options below.
 1386: 
 1387: Fine tuning of the installation directories:
 1388:   --bindir=DIR            user executables [EPREFIX/bin]
 1389:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1390:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1391:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1392:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1393:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1394:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1395:   --includedir=DIR        C header files [PREFIX/include]
 1396:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1397:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1398:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1399:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1400:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1401:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1402:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1403:   --htmldir=DIR           html documentation [DOCDIR]
 1404:   --dvidir=DIR            dvi documentation [DOCDIR]
 1405:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1406:   --psdir=DIR             ps documentation [DOCDIR]
 1407: _ACEOF
 1408: 
 1409:   cat <<\_ACEOF
 1410: 
 1411: Program names:
 1412:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1413:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1414:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1415: 
 1416: X features:
 1417:   --x-includes=DIR    X include files are in DIR
 1418:   --x-libraries=DIR   X library files are in DIR
 1419: 
 1420: System types:
 1421:   --build=BUILD     configure for building on BUILD [guessed]
 1422:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1423:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1424: _ACEOF
 1425: fi
 1426: 
 1427: if test -n "$ac_init_help"; then
 1428:   case $ac_init_help in
 1429:      short | recursive ) echo "Configuration of rpl 4.1.0.prerelease.0:";;
 1430:    esac
 1431:   cat <<\_ACEOF
 1432: 
 1433: Optional Features:
 1434:   --disable-option-checking  ignore unrecognized --enable/--with options
 1435:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1436:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1437:   --disable-dependency-tracking  speeds up one-time build
 1438:   --enable-dependency-tracking   do not reject slow dependency extractors
 1439:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1440:   --enable-sysv-ipcs      use SystemV IPC functions [default=no]
 1441:   --enable-full-static    build static RPL/2 engine [default=shared]
 1442:   --enable-final-encoding force final encoding [default=guessed]
 1443:   --enable-tex            provide the TeX support [default=guessed]
 1444:   --enable-vim            provide the vim support [default=guessed]
 1445:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1446:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1447:   --enable-motif          provide the Motif support [default=guessed]
 1448:   --enable-experimental   enable experimental code [default=no]
 1449:   --enable-debug          enable debug code [default=no]
 1450:   --enable-profile        enable profile code [default=no]
 1451:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1452: 
 1453: Optional Packages:
 1454:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1455:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1456:   --with-x                use the X Window System
 1457:   --with-mysql=PATH         specify directory for installed mysql
 1458:   --with-postgresql=PATH    specify directory for installed postgresql
 1459:   --with-bourne-shell=PATH  specify path for OS/2 bourne shell
 1460:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
 1461: 
 1462: Some influential environment variables:
 1463:   CC          C compiler command
 1464:   CFLAGS      C compiler flags
 1465:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1466:               nonstandard directory <lib dir>
 1467:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1468:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1469:               you have headers in a nonstandard directory <include dir>
 1470:   CXX         C++ compiler command
 1471:   CXXFLAGS    C++ compiler flags
 1472:   F77         Fortran 77 compiler command
 1473:   FFLAGS      Fortran 77 compiler flags
 1474:   FC          Fortran compiler command
 1475:   FCFLAGS     Fortran compiler flags
 1476:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1477:   CPP         C preprocessor
 1478: 
 1479: Use these variables to override the choices made by `configure' or to help
 1480: it to find libraries and programs with nonstandard names/locations.
 1481: 
 1482: Report bugs to the package provider.
 1483: _ACEOF
 1484: ac_status=$?
 1485: fi
 1486: 
 1487: if test "$ac_init_help" = "recursive"; then
 1488:   # If there are subdirs, report their specific --help.
 1489:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1490:     test -d "$ac_dir" ||
 1491:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1492:       continue
 1493:     ac_builddir=.
 1494: 
 1495: case "$ac_dir" in
 1496: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1497: *)
 1498:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1499:   # A ".." for each directory in $ac_dir_suffix.
 1500:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1501:   case $ac_top_builddir_sub in
 1502:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1503:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1504:   esac ;;
 1505: esac
 1506: ac_abs_top_builddir=$ac_pwd
 1507: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1508: # for backward compatibility:
 1509: ac_top_builddir=$ac_top_build_prefix
 1510: 
 1511: case $srcdir in
 1512:   .)  # We are building in place.
 1513:     ac_srcdir=.
 1514:     ac_top_srcdir=$ac_top_builddir_sub
 1515:     ac_abs_top_srcdir=$ac_pwd ;;
 1516:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1517:     ac_srcdir=$srcdir$ac_dir_suffix;
 1518:     ac_top_srcdir=$srcdir
 1519:     ac_abs_top_srcdir=$srcdir ;;
 1520:   *) # Relative name.
 1521:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1522:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1523:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1524: esac
 1525: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1526: 
 1527:     cd "$ac_dir" || { ac_status=$?; continue; }
 1528:     # Check for guested configure.
 1529:     if test -f "$ac_srcdir/configure.gnu"; then
 1530:       echo &&
 1531:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1532:     elif test -f "$ac_srcdir/configure"; then
 1533:       echo &&
 1534:       $SHELL "$ac_srcdir/configure" --help=recursive
 1535:     else
 1536:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1537:     fi || ac_status=$?
 1538:     cd "$ac_pwd" || { ac_status=$?; break; }
 1539:   done
 1540: fi
 1541: 
 1542: test -n "$ac_init_help" && exit $ac_status
 1543: if $ac_init_version; then
 1544:   cat <<\_ACEOF
 1545: rpl configure 4.1.0.prerelease.0
 1546: generated by GNU Autoconf 2.67
 1547: 
 1548: Copyright (C) 2010 Free Software Foundation, Inc.
 1549: This configure script is free software; the Free Software Foundation
 1550: gives unlimited permission to copy, distribute and modify it.
 1551: _ACEOF
 1552:   exit
 1553: fi
 1554: 
 1555: ## ------------------------ ##
 1556: ## Autoconf initialization. ##
 1557: ## ------------------------ ##
 1558: 
 1559: # ac_fn_c_try_compile LINENO
 1560: # --------------------------
 1561: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1562: ac_fn_c_try_compile ()
 1563: {
 1564:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1565:   rm -f conftest.$ac_objext
 1566:   if { { ac_try="$ac_compile"
 1567: case "(($ac_try" in
 1568:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1569:   *) ac_try_echo=$ac_try;;
 1570: esac
 1571: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1572: $as_echo "$ac_try_echo"; } >&5
 1573:   (eval "$ac_compile") 2>conftest.err
 1574:   ac_status=$?
 1575:   if test -s conftest.err; then
 1576:     grep -v '^ *+' conftest.err >conftest.er1
 1577:     cat conftest.er1 >&5
 1578:     mv -f conftest.er1 conftest.err
 1579:   fi
 1580:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1581:   test $ac_status = 0; } && {
 1582:      test -z "$ac_c_werror_flag" ||
 1583:      test ! -s conftest.err
 1584:        } && test -s conftest.$ac_objext; then :
 1585:   ac_retval=0
 1586: else
 1587:   $as_echo "$as_me: failed program was:" >&5
 1588: sed 's/^/| /' conftest.$ac_ext >&5
 1589: 
 1590:     ac_retval=1
 1591: fi
 1592:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1593:   as_fn_set_status $ac_retval
 1594: 
 1595: } # ac_fn_c_try_compile
 1596: 
 1597: # ac_fn_cxx_try_compile LINENO
 1598: # ----------------------------
 1599: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1600: ac_fn_cxx_try_compile ()
 1601: {
 1602:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1603:   rm -f conftest.$ac_objext
 1604:   if { { ac_try="$ac_compile"
 1605: case "(($ac_try" in
 1606:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1607:   *) ac_try_echo=$ac_try;;
 1608: esac
 1609: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1610: $as_echo "$ac_try_echo"; } >&5
 1611:   (eval "$ac_compile") 2>conftest.err
 1612:   ac_status=$?
 1613:   if test -s conftest.err; then
 1614:     grep -v '^ *+' conftest.err >conftest.er1
 1615:     cat conftest.er1 >&5
 1616:     mv -f conftest.er1 conftest.err
 1617:   fi
 1618:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1619:   test $ac_status = 0; } && {
 1620:      test -z "$ac_cxx_werror_flag" ||
 1621:      test ! -s conftest.err
 1622:        } && test -s conftest.$ac_objext; then :
 1623:   ac_retval=0
 1624: else
 1625:   $as_echo "$as_me: failed program was:" >&5
 1626: sed 's/^/| /' conftest.$ac_ext >&5
 1627: 
 1628:     ac_retval=1
 1629: fi
 1630:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1631:   as_fn_set_status $ac_retval
 1632: 
 1633: } # ac_fn_cxx_try_compile
 1634: 
 1635: # ac_fn_f77_try_compile LINENO
 1636: # ----------------------------
 1637: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1638: ac_fn_f77_try_compile ()
 1639: {
 1640:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1641:   rm -f conftest.$ac_objext
 1642:   if { { ac_try="$ac_compile"
 1643: case "(($ac_try" in
 1644:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1645:   *) ac_try_echo=$ac_try;;
 1646: esac
 1647: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1648: $as_echo "$ac_try_echo"; } >&5
 1649:   (eval "$ac_compile") 2>conftest.err
 1650:   ac_status=$?
 1651:   if test -s conftest.err; then
 1652:     grep -v '^ *+' conftest.err >conftest.er1
 1653:     cat conftest.er1 >&5
 1654:     mv -f conftest.er1 conftest.err
 1655:   fi
 1656:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1657:   test $ac_status = 0; } && {
 1658:      test -z "$ac_f77_werror_flag" ||
 1659:      test ! -s conftest.err
 1660:        } && test -s conftest.$ac_objext; then :
 1661:   ac_retval=0
 1662: else
 1663:   $as_echo "$as_me: failed program was:" >&5
 1664: sed 's/^/| /' conftest.$ac_ext >&5
 1665: 
 1666:     ac_retval=1
 1667: fi
 1668:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1669:   as_fn_set_status $ac_retval
 1670: 
 1671: } # ac_fn_f77_try_compile
 1672: 
 1673: # ac_fn_fc_try_compile LINENO
 1674: # ---------------------------
 1675: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1676: ac_fn_fc_try_compile ()
 1677: {
 1678:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1679:   rm -f conftest.$ac_objext
 1680:   if { { ac_try="$ac_compile"
 1681: case "(($ac_try" in
 1682:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1683:   *) ac_try_echo=$ac_try;;
 1684: esac
 1685: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1686: $as_echo "$ac_try_echo"; } >&5
 1687:   (eval "$ac_compile") 2>conftest.err
 1688:   ac_status=$?
 1689:   if test -s conftest.err; then
 1690:     grep -v '^ *+' conftest.err >conftest.er1
 1691:     cat conftest.er1 >&5
 1692:     mv -f conftest.er1 conftest.err
 1693:   fi
 1694:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1695:   test $ac_status = 0; } && {
 1696:      test -z "$ac_fc_werror_flag" ||
 1697:      test ! -s conftest.err
 1698:        } && test -s conftest.$ac_objext; then :
 1699:   ac_retval=0
 1700: else
 1701:   $as_echo "$as_me: failed program was:" >&5
 1702: sed 's/^/| /' conftest.$ac_ext >&5
 1703: 
 1704:     ac_retval=1
 1705: fi
 1706:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1707:   as_fn_set_status $ac_retval
 1708: 
 1709: } # ac_fn_fc_try_compile
 1710: 
 1711: # ac_fn_c_try_cpp LINENO
 1712: # ----------------------
 1713: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1714: ac_fn_c_try_cpp ()
 1715: {
 1716:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1717:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1718: case "(($ac_try" in
 1719:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1720:   *) ac_try_echo=$ac_try;;
 1721: esac
 1722: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1723: $as_echo "$ac_try_echo"; } >&5
 1724:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1725:   ac_status=$?
 1726:   if test -s conftest.err; then
 1727:     grep -v '^ *+' conftest.err >conftest.er1
 1728:     cat conftest.er1 >&5
 1729:     mv -f conftest.er1 conftest.err
 1730:   fi
 1731:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1732:   test $ac_status = 0; } > conftest.i && {
 1733:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1734:      test ! -s conftest.err
 1735:        }; then :
 1736:   ac_retval=0
 1737: else
 1738:   $as_echo "$as_me: failed program was:" >&5
 1739: sed 's/^/| /' conftest.$ac_ext >&5
 1740: 
 1741:     ac_retval=1
 1742: fi
 1743:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1744:   as_fn_set_status $ac_retval
 1745: 
 1746: } # ac_fn_c_try_cpp
 1747: 
 1748: # ac_fn_c_try_link LINENO
 1749: # -----------------------
 1750: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1751: ac_fn_c_try_link ()
 1752: {
 1753:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1754:   rm -f conftest.$ac_objext conftest$ac_exeext
 1755:   if { { ac_try="$ac_link"
 1756: case "(($ac_try" in
 1757:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1758:   *) ac_try_echo=$ac_try;;
 1759: esac
 1760: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1761: $as_echo "$ac_try_echo"; } >&5
 1762:   (eval "$ac_link") 2>conftest.err
 1763:   ac_status=$?
 1764:   if test -s conftest.err; then
 1765:     grep -v '^ *+' conftest.err >conftest.er1
 1766:     cat conftest.er1 >&5
 1767:     mv -f conftest.er1 conftest.err
 1768:   fi
 1769:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1770:   test $ac_status = 0; } && {
 1771:      test -z "$ac_c_werror_flag" ||
 1772:      test ! -s conftest.err
 1773:        } && test -s conftest$ac_exeext && {
 1774:      test "$cross_compiling" = yes ||
 1775:      $as_test_x conftest$ac_exeext
 1776:        }; then :
 1777:   ac_retval=0
 1778: else
 1779:   $as_echo "$as_me: failed program was:" >&5
 1780: sed 's/^/| /' conftest.$ac_ext >&5
 1781: 
 1782:     ac_retval=1
 1783: fi
 1784:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1785:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1786:   # interfere with the next link command; also delete a directory that is
 1787:   # left behind by Apple's compiler.  We do this before executing the actions.
 1788:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1789:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1790:   as_fn_set_status $ac_retval
 1791: 
 1792: } # ac_fn_c_try_link
 1793: 
 1794: # ac_fn_c_check_func LINENO FUNC VAR
 1795: # ----------------------------------
 1796: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1797: ac_fn_c_check_func ()
 1798: {
 1799:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1800:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1801: $as_echo_n "checking for $2... " >&6; }
 1802: if eval "test \"\${$3+set}\"" = set; then :
 1803:   $as_echo_n "(cached) " >&6
 1804: else
 1805:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1806: /* end confdefs.h.  */
 1807: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1808:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1809: #define $2 innocuous_$2
 1810: 
 1811: /* System header to define __stub macros and hopefully few prototypes,
 1812:     which can conflict with char $2 (); below.
 1813:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1814:     <limits.h> exists even on freestanding compilers.  */
 1815: 
 1816: #ifdef __STDC__
 1817: # include <limits.h>
 1818: #else
 1819: # include <assert.h>
 1820: #endif
 1821: 
 1822: #undef $2
 1823: 
 1824: /* Override any GCC internal prototype to avoid an error.
 1825:    Use char because int might match the return type of a GCC
 1826:    builtin and then its argument prototype would still apply.  */
 1827: #ifdef __cplusplus
 1828: extern "C"
 1829: #endif
 1830: char $2 ();
 1831: /* The GNU C library defines this for functions which it implements
 1832:     to always fail with ENOSYS.  Some functions are actually named
 1833:     something starting with __ and the normal name is an alias.  */
 1834: #if defined __stub_$2 || defined __stub___$2
 1835: choke me
 1836: #endif
 1837: 
 1838: int
 1839: main ()
 1840: {
 1841: return $2 ();
 1842:   ;
 1843:   return 0;
 1844: }
 1845: _ACEOF
 1846: if ac_fn_c_try_link "$LINENO"; then :
 1847:   eval "$3=yes"
 1848: else
 1849:   eval "$3=no"
 1850: fi
 1851: rm -f core conftest.err conftest.$ac_objext \
 1852:     conftest$ac_exeext conftest.$ac_ext
 1853: fi
 1854: eval ac_res=\$$3
 1855:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1856: $as_echo "$ac_res" >&6; }
 1857:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1858: 
 1859: } # ac_fn_c_check_func
 1860: 
 1861: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1862: # -------------------------------------------
 1863: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1864: # variable VAR accordingly.
 1865: ac_fn_c_check_type ()
 1866: {
 1867:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1868:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1869: $as_echo_n "checking for $2... " >&6; }
 1870: if eval "test \"\${$3+set}\"" = set; then :
 1871:   $as_echo_n "(cached) " >&6
 1872: else
 1873:   eval "$3=no"
 1874:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1875: /* end confdefs.h.  */
 1876: $4
 1877: int
 1878: main ()
 1879: {
 1880: if (sizeof ($2))
 1881:      return 0;
 1882:   ;
 1883:   return 0;
 1884: }
 1885: _ACEOF
 1886: if ac_fn_c_try_compile "$LINENO"; then :
 1887:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1888: /* end confdefs.h.  */
 1889: $4
 1890: int
 1891: main ()
 1892: {
 1893: if (sizeof (($2)))
 1894:         return 0;
 1895:   ;
 1896:   return 0;
 1897: }
 1898: _ACEOF
 1899: if ac_fn_c_try_compile "$LINENO"; then :
 1900: 
 1901: else
 1902:   eval "$3=yes"
 1903: fi
 1904: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1905: fi
 1906: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1907: fi
 1908: eval ac_res=\$$3
 1909:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1910: $as_echo "$ac_res" >&6; }
 1911:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1912: 
 1913: } # ac_fn_c_check_type
 1914: 
 1915: # ac_fn_c_try_run LINENO
 1916: # ----------------------
 1917: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1918: # that executables *can* be run.
 1919: ac_fn_c_try_run ()
 1920: {
 1921:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1922:   if { { ac_try="$ac_link"
 1923: case "(($ac_try" in
 1924:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1925:   *) ac_try_echo=$ac_try;;
 1926: esac
 1927: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1928: $as_echo "$ac_try_echo"; } >&5
 1929:   (eval "$ac_link") 2>&5
 1930:   ac_status=$?
 1931:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1932:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1933:   { { case "(($ac_try" in
 1934:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1935:   *) ac_try_echo=$ac_try;;
 1936: esac
 1937: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1938: $as_echo "$ac_try_echo"; } >&5
 1939:   (eval "$ac_try") 2>&5
 1940:   ac_status=$?
 1941:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1942:   test $ac_status = 0; }; }; then :
 1943:   ac_retval=0
 1944: else
 1945:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1946:        $as_echo "$as_me: failed program was:" >&5
 1947: sed 's/^/| /' conftest.$ac_ext >&5
 1948: 
 1949:        ac_retval=$ac_status
 1950: fi
 1951:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1952:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1953:   as_fn_set_status $ac_retval
 1954: 
 1955: } # ac_fn_c_try_run
 1956: 
 1957: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1958: # --------------------------------------------
 1959: # Tries to find the compile-time value of EXPR in a program that includes
 1960: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1961: # computed
 1962: ac_fn_c_compute_int ()
 1963: {
 1964:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1965:   if test "$cross_compiling" = yes; then
 1966:     # Depending upon the size, compute the lo and hi bounds.
 1967: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1968: /* end confdefs.h.  */
 1969: $4
 1970: int
 1971: main ()
 1972: {
 1973: static int test_array [1 - 2 * !(($2) >= 0)];
 1974: test_array [0] = 0
 1975: 
 1976:   ;
 1977:   return 0;
 1978: }
 1979: _ACEOF
 1980: if ac_fn_c_try_compile "$LINENO"; then :
 1981:   ac_lo=0 ac_mid=0
 1982:   while :; do
 1983:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1984: /* end confdefs.h.  */
 1985: $4
 1986: int
 1987: main ()
 1988: {
 1989: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1990: test_array [0] = 0
 1991: 
 1992:   ;
 1993:   return 0;
 1994: }
 1995: _ACEOF
 1996: if ac_fn_c_try_compile "$LINENO"; then :
 1997:   ac_hi=$ac_mid; break
 1998: else
 1999:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2000:             if test $ac_lo -le $ac_mid; then
 2001:               ac_lo= ac_hi=
 2002:               break
 2003:             fi
 2004:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2005: fi
 2006: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2007:   done
 2008: else
 2009:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2010: /* end confdefs.h.  */
 2011: $4
 2012: int
 2013: main ()
 2014: {
 2015: static int test_array [1 - 2 * !(($2) < 0)];
 2016: test_array [0] = 0
 2017: 
 2018:   ;
 2019:   return 0;
 2020: }
 2021: _ACEOF
 2022: if ac_fn_c_try_compile "$LINENO"; then :
 2023:   ac_hi=-1 ac_mid=-1
 2024:   while :; do
 2025:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2026: /* end confdefs.h.  */
 2027: $4
 2028: int
 2029: main ()
 2030: {
 2031: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2032: test_array [0] = 0
 2033: 
 2034:   ;
 2035:   return 0;
 2036: }
 2037: _ACEOF
 2038: if ac_fn_c_try_compile "$LINENO"; then :
 2039:   ac_lo=$ac_mid; break
 2040: else
 2041:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2042:             if test $ac_mid -le $ac_hi; then
 2043:               ac_lo= ac_hi=
 2044:               break
 2045:             fi
 2046:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2047: fi
 2048: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2049:   done
 2050: else
 2051:   ac_lo= ac_hi=
 2052: fi
 2053: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2054: fi
 2055: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2056: # Binary search between lo and hi bounds.
 2057: while test "x$ac_lo" != "x$ac_hi"; do
 2058:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2059:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2060: /* end confdefs.h.  */
 2061: $4
 2062: int
 2063: main ()
 2064: {
 2065: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2066: test_array [0] = 0
 2067: 
 2068:   ;
 2069:   return 0;
 2070: }
 2071: _ACEOF
 2072: if ac_fn_c_try_compile "$LINENO"; then :
 2073:   ac_hi=$ac_mid
 2074: else
 2075:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2076: fi
 2077: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2078: done
 2079: case $ac_lo in #((
 2080: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2081: '') ac_retval=1 ;;
 2082: esac
 2083:   else
 2084:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2085: /* end confdefs.h.  */
 2086: $4
 2087: static long int longval () { return $2; }
 2088: static unsigned long int ulongval () { return $2; }
 2089: #include <stdio.h>
 2090: #include <stdlib.h>
 2091: int
 2092: main ()
 2093: {
 2094: 
 2095:   FILE *f = fopen ("conftest.val", "w");
 2096:   if (! f)
 2097:     return 1;
 2098:   if (($2) < 0)
 2099:     {
 2100:       long int i = longval ();
 2101:       if (i != ($2))
 2102:     return 1;
 2103:       fprintf (f, "%ld", i);
 2104:     }
 2105:   else
 2106:     {
 2107:       unsigned long int i = ulongval ();
 2108:       if (i != ($2))
 2109:     return 1;
 2110:       fprintf (f, "%lu", i);
 2111:     }
 2112:   /* Do not output a trailing newline, as this causes \r\n confusion
 2113:      on some platforms.  */
 2114:   return ferror (f) || fclose (f) != 0;
 2115: 
 2116:   ;
 2117:   return 0;
 2118: }
 2119: _ACEOF
 2120: if ac_fn_c_try_run "$LINENO"; then :
 2121:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2122: else
 2123:   ac_retval=1
 2124: fi
 2125: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2126:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2127: rm -f conftest.val
 2128: 
 2129:   fi
 2130:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2131:   as_fn_set_status $ac_retval
 2132: 
 2133: } # ac_fn_c_compute_int
 2134: 
 2135: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2136: # -------------------------------------------------------
 2137: # Tests whether HEADER exists and can be compiled using the include files in
 2138: # INCLUDES, setting the cache variable VAR accordingly.
 2139: ac_fn_c_check_header_compile ()
 2140: {
 2141:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2142:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2143: $as_echo_n "checking for $2... " >&6; }
 2144: if eval "test \"\${$3+set}\"" = set; then :
 2145:   $as_echo_n "(cached) " >&6
 2146: else
 2147:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2148: /* end confdefs.h.  */
 2149: $4
 2150: #include <$2>
 2151: _ACEOF
 2152: if ac_fn_c_try_compile "$LINENO"; then :
 2153:   eval "$3=yes"
 2154: else
 2155:   eval "$3=no"
 2156: fi
 2157: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2158: fi
 2159: eval ac_res=\$$3
 2160:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2161: $as_echo "$ac_res" >&6; }
 2162:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2163: 
 2164: } # ac_fn_c_check_header_compile
 2165: 
 2166: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2167: # -------------------------------------------------------
 2168: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2169: # the include files in INCLUDES and setting the cache variable VAR
 2170: # accordingly.
 2171: ac_fn_c_check_header_mongrel ()
 2172: {
 2173:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2174:   if eval "test \"\${$3+set}\"" = set; then :
 2175:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2176: $as_echo_n "checking for $2... " >&6; }
 2177: if eval "test \"\${$3+set}\"" = set; then :
 2178:   $as_echo_n "(cached) " >&6
 2179: fi
 2180: eval ac_res=\$$3
 2181:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2182: $as_echo "$ac_res" >&6; }
 2183: else
 2184:   # Is the header compilable?
 2185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2186: $as_echo_n "checking $2 usability... " >&6; }
 2187: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2188: /* end confdefs.h.  */
 2189: $4
 2190: #include <$2>
 2191: _ACEOF
 2192: if ac_fn_c_try_compile "$LINENO"; then :
 2193:   ac_header_compiler=yes
 2194: else
 2195:   ac_header_compiler=no
 2196: fi
 2197: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2198: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2199: $as_echo "$ac_header_compiler" >&6; }
 2200: 
 2201: # Is the header present?
 2202: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2203: $as_echo_n "checking $2 presence... " >&6; }
 2204: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2205: /* end confdefs.h.  */
 2206: #include <$2>
 2207: _ACEOF
 2208: if ac_fn_c_try_cpp "$LINENO"; then :
 2209:   ac_header_preproc=yes
 2210: else
 2211:   ac_header_preproc=no
 2212: fi
 2213: rm -f conftest.err conftest.i conftest.$ac_ext
 2214: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2215: $as_echo "$ac_header_preproc" >&6; }
 2216: 
 2217: # So?  What about this header?
 2218: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2219:   yes:no: )
 2220:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2221: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2222:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2223: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2224:     ;;
 2225:   no:yes:* )
 2226:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2227: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2228:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2229: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2230:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2231: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2232:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2233: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2234:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2235: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2236:     ;;
 2237: esac
 2238:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2239: $as_echo_n "checking for $2... " >&6; }
 2240: if eval "test \"\${$3+set}\"" = set; then :
 2241:   $as_echo_n "(cached) " >&6
 2242: else
 2243:   eval "$3=\$ac_header_compiler"
 2244: fi
 2245: eval ac_res=\$$3
 2246:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2247: $as_echo "$ac_res" >&6; }
 2248: fi
 2249:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2250: 
 2251: } # ac_fn_c_check_header_mongrel
 2252: cat >config.log <<_ACEOF
 2253: This file contains any messages produced by compilers while
 2254: running configure, to aid debugging if configure makes a mistake.
 2255: 
 2256: It was created by rpl $as_me 4.1.0.prerelease.0, which was
 2257: generated by GNU Autoconf 2.67.  Invocation command line was
 2258: 
 2259:   $ $0 $@
 2260: 
 2261: _ACEOF
 2262: exec 5>>config.log
 2263: {
 2264: cat <<_ASUNAME
 2265: ## --------- ##
 2266: ## Platform. ##
 2267: ## --------- ##
 2268: 
 2269: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2270: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2271: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2272: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2273: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2274: 
 2275: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2276: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2277: 
 2278: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2279: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2280: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2281: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2282: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2283: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2284: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2285: 
 2286: _ASUNAME
 2287: 
 2288: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2289: for as_dir in $PATH
 2290: do
 2291:   IFS=$as_save_IFS
 2292:   test -z "$as_dir" && as_dir=.
 2293:     $as_echo "PATH: $as_dir"
 2294:   done
 2295: IFS=$as_save_IFS
 2296: 
 2297: } >&5
 2298: 
 2299: cat >&5 <<_ACEOF
 2300: 
 2301: 
 2302: ## ----------- ##
 2303: ## Core tests. ##
 2304: ## ----------- ##
 2305: 
 2306: _ACEOF
 2307: 
 2308: 
 2309: # Keep a trace of the command line.
 2310: # Strip out --no-create and --no-recursion so they do not pile up.
 2311: # Strip out --silent because we don't want to record it for future runs.
 2312: # Also quote any args containing shell meta-characters.
 2313: # Make two passes to allow for proper duplicate-argument suppression.
 2314: ac_configure_args=
 2315: ac_configure_args0=
 2316: ac_configure_args1=
 2317: ac_must_keep_next=false
 2318: for ac_pass in 1 2
 2319: do
 2320:   for ac_arg
 2321:   do
 2322:     case $ac_arg in
 2323:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2324:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2325:     | -silent | --silent | --silen | --sile | --sil)
 2326:       continue ;;
 2327:     *\'*)
 2328:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2329:     esac
 2330:     case $ac_pass in
 2331:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2332:     2)
 2333:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2334:       if test $ac_must_keep_next = true; then
 2335:     ac_must_keep_next=false # Got value, back to normal.
 2336:       else
 2337:     case $ac_arg in
 2338:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2339:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2340:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2341:       | -with-* | --with-* | -without-* | --without-* | --x)
 2342:         case "$ac_configure_args0 " in
 2343:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2344:         esac
 2345:         ;;
 2346:       -* ) ac_must_keep_next=true ;;
 2347:     esac
 2348:       fi
 2349:       as_fn_append ac_configure_args " '$ac_arg'"
 2350:       ;;
 2351:     esac
 2352:   done
 2353: done
 2354: { ac_configure_args0=; unset ac_configure_args0;}
 2355: { ac_configure_args1=; unset ac_configure_args1;}
 2356: 
 2357: # When interrupted or exit'd, cleanup temporary files, and complete
 2358: # config.log.  We remove comments because anyway the quotes in there
 2359: # would cause problems or look ugly.
 2360: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2361: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2362: trap 'exit_status=$?
 2363:   # Save into config.log some information that might help in debugging.
 2364:   {
 2365:     echo
 2366: 
 2367:     $as_echo "## ---------------- ##
 2368: ## Cache variables. ##
 2369: ## ---------------- ##"
 2370:     echo
 2371:     # The following way of writing the cache mishandles newlines in values,
 2372: (
 2373:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2374:     eval ac_val=\$$ac_var
 2375:     case $ac_val in #(
 2376:     *${as_nl}*)
 2377:       case $ac_var in #(
 2378:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2379: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2380:       esac
 2381:       case $ac_var in #(
 2382:       _ | IFS | as_nl) ;; #(
 2383:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2384:       *) { eval $ac_var=; unset $ac_var;} ;;
 2385:       esac ;;
 2386:     esac
 2387:   done
 2388:   (set) 2>&1 |
 2389:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2390:     *${as_nl}ac_space=\ *)
 2391:       sed -n \
 2392:     "s/'\''/'\''\\\\'\'''\''/g;
 2393:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2394:       ;; #(
 2395:     *)
 2396:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2397:       ;;
 2398:     esac |
 2399:     sort
 2400: )
 2401:     echo
 2402: 
 2403:     $as_echo "## ----------------- ##
 2404: ## Output variables. ##
 2405: ## ----------------- ##"
 2406:     echo
 2407:     for ac_var in $ac_subst_vars
 2408:     do
 2409:       eval ac_val=\$$ac_var
 2410:       case $ac_val in
 2411:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2412:       esac
 2413:       $as_echo "$ac_var='\''$ac_val'\''"
 2414:     done | sort
 2415:     echo
 2416: 
 2417:     if test -n "$ac_subst_files"; then
 2418:       $as_echo "## ------------------- ##
 2419: ## File substitutions. ##
 2420: ## ------------------- ##"
 2421:       echo
 2422:       for ac_var in $ac_subst_files
 2423:       do
 2424:     eval ac_val=\$$ac_var
 2425:     case $ac_val in
 2426:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2427:     esac
 2428:     $as_echo "$ac_var='\''$ac_val'\''"
 2429:       done | sort
 2430:       echo
 2431:     fi
 2432: 
 2433:     if test -s confdefs.h; then
 2434:       $as_echo "## ----------- ##
 2435: ## confdefs.h. ##
 2436: ## ----------- ##"
 2437:       echo
 2438:       cat confdefs.h
 2439:       echo
 2440:     fi
 2441:     test "$ac_signal" != 0 &&
 2442:       $as_echo "$as_me: caught signal $ac_signal"
 2443:     $as_echo "$as_me: exit $exit_status"
 2444:   } >&5
 2445:   rm -f core *.core core.conftest.* &&
 2446:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2447:     exit $exit_status
 2448: ' 0
 2449: for ac_signal in 1 2 13 15; do
 2450:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2451: done
 2452: ac_signal=0
 2453: 
 2454: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2455: rm -f -r conftest* confdefs.h
 2456: 
 2457: $as_echo "/* confdefs.h */" > confdefs.h
 2458: 
 2459: # Predefined preprocessor variables.
 2460: 
 2461: cat >>confdefs.h <<_ACEOF
 2462: #define PACKAGE_NAME "$PACKAGE_NAME"
 2463: _ACEOF
 2464: 
 2465: cat >>confdefs.h <<_ACEOF
 2466: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2467: _ACEOF
 2468: 
 2469: cat >>confdefs.h <<_ACEOF
 2470: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2471: _ACEOF
 2472: 
 2473: cat >>confdefs.h <<_ACEOF
 2474: #define PACKAGE_STRING "$PACKAGE_STRING"
 2475: _ACEOF
 2476: 
 2477: cat >>confdefs.h <<_ACEOF
 2478: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2479: _ACEOF
 2480: 
 2481: cat >>confdefs.h <<_ACEOF
 2482: #define PACKAGE_URL "$PACKAGE_URL"
 2483: _ACEOF
 2484: 
 2485: 
 2486: # Let the site file select an alternate cache file if it wants to.
 2487: # Prefer an explicitly selected file to automatically selected ones.
 2488: ac_site_file1=NONE
 2489: ac_site_file2=NONE
 2490: if test -n "$CONFIG_SITE"; then
 2491:   # We do not want a PATH search for config.site.
 2492:   case $CONFIG_SITE in #((
 2493:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2494:     */*) ac_site_file1=$CONFIG_SITE;;
 2495:     *)   ac_site_file1=./$CONFIG_SITE;;
 2496:   esac
 2497: elif test "x$prefix" != xNONE; then
 2498:   ac_site_file1=$prefix/share/config.site
 2499:   ac_site_file2=$prefix/etc/config.site
 2500: else
 2501:   ac_site_file1=$ac_default_prefix/share/config.site
 2502:   ac_site_file2=$ac_default_prefix/etc/config.site
 2503: fi
 2504: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2505: do
 2506:   test "x$ac_site_file" = xNONE && continue
 2507:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2508:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2509: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2510:     sed 's/^/| /' "$ac_site_file" >&5
 2511:     . "$ac_site_file" \
 2512:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2513: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2514: as_fn_error $? "failed to load site script $ac_site_file
 2515: See \`config.log' for more details" "$LINENO" 5 ; }
 2516:   fi
 2517: done
 2518: 
 2519: if test -r "$cache_file"; then
 2520:   # Some versions of bash will fail to source /dev/null (special files
 2521:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2522:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2523:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2524: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2525:     case $cache_file in
 2526:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2527:       *)                      . "./$cache_file";;
 2528:     esac
 2529:   fi
 2530: else
 2531:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2532: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2533:   >$cache_file
 2534: fi
 2535: 
 2536: # Check that the precious variables saved in the cache have kept the same
 2537: # value.
 2538: ac_cache_corrupted=false
 2539: for ac_var in $ac_precious_vars; do
 2540:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2541:   eval ac_new_set=\$ac_env_${ac_var}_set
 2542:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2543:   eval ac_new_val=\$ac_env_${ac_var}_value
 2544:   case $ac_old_set,$ac_new_set in
 2545:     set,)
 2546:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2547: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2548:       ac_cache_corrupted=: ;;
 2549:     ,set)
 2550:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2551: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2552:       ac_cache_corrupted=: ;;
 2553:     ,);;
 2554:     *)
 2555:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2556:     # differences in whitespace do not lead to failure.
 2557:     ac_old_val_w=`echo x $ac_old_val`
 2558:     ac_new_val_w=`echo x $ac_new_val`
 2559:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2560:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2561: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2562:       ac_cache_corrupted=:
 2563:     else
 2564:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2565: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2566:       eval $ac_var=\$ac_old_val
 2567:     fi
 2568:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2569: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2570:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2571: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2572:       fi;;
 2573:   esac
 2574:   # Pass precious variables to config.status.
 2575:   if test "$ac_new_set" = set; then
 2576:     case $ac_new_val in
 2577:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2578:     *) ac_arg=$ac_var=$ac_new_val ;;
 2579:     esac
 2580:     case " $ac_configure_args " in
 2581:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2582:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2583:     esac
 2584:   fi
 2585: done
 2586: if $ac_cache_corrupted; then
 2587:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2588: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2589:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2590: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2591:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2592: fi
 2593: ## -------------------- ##
 2594: ## Main body of script. ##
 2595: ## -------------------- ##
 2596: 
 2597: ac_ext=c
 2598: ac_cpp='$CPP $CPPFLAGS'
 2599: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2600: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2601: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2602: 
 2603: 
 2604: ac_aux_dir=
 2605: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2606:   if test -f "$ac_dir/install-sh"; then
 2607:     ac_aux_dir=$ac_dir
 2608:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2609:     break
 2610:   elif test -f "$ac_dir/install.sh"; then
 2611:     ac_aux_dir=$ac_dir
 2612:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2613:     break
 2614:   elif test -f "$ac_dir/shtool"; then
 2615:     ac_aux_dir=$ac_dir
 2616:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2617:     break
 2618:   fi
 2619: done
 2620: if test -z "$ac_aux_dir"; then
 2621:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2622: fi
 2623: 
 2624: # These three variables are undocumented and unsupported,
 2625: # and are intended to be withdrawn in a future Autoconf release.
 2626: # They can cause serious problems if a builder's source tree is in a directory
 2627: # whose full name contains unusual characters.
 2628: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2629: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2630: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2631: 
 2632: 
 2633: # Make sure we can run config.sub.
 2634: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2635:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2636: 
 2637: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2638: $as_echo_n "checking build system type... " >&6; }
 2639: if test "${ac_cv_build+set}" = set; then :
 2640:   $as_echo_n "(cached) " >&6
 2641: else
 2642:   ac_build_alias=$build_alias
 2643: test "x$ac_build_alias" = x &&
 2644:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2645: test "x$ac_build_alias" = x &&
 2646:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2647: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2648:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2649: 
 2650: fi
 2651: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2652: $as_echo "$ac_cv_build" >&6; }
 2653: case $ac_cv_build in
 2654: *-*-*) ;;
 2655: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 2656: esac
 2657: build=$ac_cv_build
 2658: ac_save_IFS=$IFS; IFS='-'
 2659: set x $ac_cv_build
 2660: shift
 2661: build_cpu=$1
 2662: build_vendor=$2
 2663: shift; shift
 2664: # Remember, the first character of IFS is used to create $*,
 2665: # except with old shells:
 2666: build_os=$*
 2667: IFS=$ac_save_IFS
 2668: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2669: 
 2670: 
 2671: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2672: $as_echo_n "checking host system type... " >&6; }
 2673: if test "${ac_cv_host+set}" = set; then :
 2674:   $as_echo_n "(cached) " >&6
 2675: else
 2676:   if test "x$host_alias" = x; then
 2677:   ac_cv_host=$ac_cv_build
 2678: else
 2679:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2680:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2681: fi
 2682: 
 2683: fi
 2684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2685: $as_echo "$ac_cv_host" >&6; }
 2686: case $ac_cv_host in
 2687: *-*-*) ;;
 2688: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 2689: esac
 2690: host=$ac_cv_host
 2691: ac_save_IFS=$IFS; IFS='-'
 2692: set x $ac_cv_host
 2693: shift
 2694: host_cpu=$1
 2695: host_vendor=$2
 2696: shift; shift
 2697: # Remember, the first character of IFS is used to create $*,
 2698: # except with old shells:
 2699: host_os=$*
 2700: IFS=$ac_save_IFS
 2701: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2702: 
 2703: 
 2704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2705: $as_echo_n "checking target system type... " >&6; }
 2706: if test "${ac_cv_target+set}" = set; then :
 2707:   $as_echo_n "(cached) " >&6
 2708: else
 2709:   if test "x$target_alias" = x; then
 2710:   ac_cv_target=$ac_cv_host
 2711: else
 2712:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2713:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2714: fi
 2715: 
 2716: fi
 2717: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2718: $as_echo "$ac_cv_target" >&6; }
 2719: case $ac_cv_target in
 2720: *-*-*) ;;
 2721: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
 2722: esac
 2723: target=$ac_cv_target
 2724: ac_save_IFS=$IFS; IFS='-'
 2725: set x $ac_cv_target
 2726: shift
 2727: target_cpu=$1
 2728: target_vendor=$2
 2729: shift; shift
 2730: # Remember, the first character of IFS is used to create $*,
 2731: # except with old shells:
 2732: target_os=$*
 2733: IFS=$ac_save_IFS
 2734: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2735: 
 2736: 
 2737: # The aliases save the names the user supplied, while $host etc.
 2738: # will get canonicalized.
 2739: test -n "$target_alias" &&
 2740:   test "$program_prefix$program_suffix$program_transform_name" = \
 2741:     NONENONEs,x,x, &&
 2742:   program_prefix=${target_alias}-
 2743: 
 2744: am__api_version='1.11'
 2745: 
 2746: # Find a good install program.  We prefer a C program (faster),
 2747: # so one script is as good as another.  But avoid the broken or
 2748: # incompatible versions:
 2749: # SysV /etc/install, /usr/sbin/install
 2750: # SunOS /usr/etc/install
 2751: # IRIX /sbin/install
 2752: # AIX /bin/install
 2753: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2754: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2755: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2756: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2757: # OS/2's system install, which has a completely different semantic
 2758: # ./install, which can be erroneously created by make from ./install.sh.
 2759: # Reject install programs that cannot install multiple files.
 2760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2761: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2762: if test -z "$INSTALL"; then
 2763: if test "${ac_cv_path_install+set}" = set; then :
 2764:   $as_echo_n "(cached) " >&6
 2765: else
 2766:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2767: for as_dir in $PATH
 2768: do
 2769:   IFS=$as_save_IFS
 2770:   test -z "$as_dir" && as_dir=.
 2771:     # Account for people who put trailing slashes in PATH elements.
 2772: case $as_dir/ in #((
 2773:   ./ | .// | /[cC]/* | \
 2774:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2775:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2776:   /usr/ucb/* ) ;;
 2777:   *)
 2778:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2779:     # Don't use installbsd from OSF since it installs stuff as root
 2780:     # by default.
 2781:     for ac_prog in ginstall scoinst install; do
 2782:       for ac_exec_ext in '' $ac_executable_extensions; do
 2783:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2784:       if test $ac_prog = install &&
 2785:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2786:         # AIX install.  It has an incompatible calling convention.
 2787:         :
 2788:       elif test $ac_prog = install &&
 2789:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2790:         # program-specific install script used by HP pwplus--don't use.
 2791:         :
 2792:       else
 2793:         rm -rf conftest.one conftest.two conftest.dir
 2794:         echo one > conftest.one
 2795:         echo two > conftest.two
 2796:         mkdir conftest.dir
 2797:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2798:           test -s conftest.one && test -s conftest.two &&
 2799:           test -s conftest.dir/conftest.one &&
 2800:           test -s conftest.dir/conftest.two
 2801:         then
 2802:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2803:           break 3
 2804:         fi
 2805:       fi
 2806:     fi
 2807:       done
 2808:     done
 2809:     ;;
 2810: esac
 2811: 
 2812:   done
 2813: IFS=$as_save_IFS
 2814: 
 2815: rm -rf conftest.one conftest.two conftest.dir
 2816: 
 2817: fi
 2818:   if test "${ac_cv_path_install+set}" = set; then
 2819:     INSTALL=$ac_cv_path_install
 2820:   else
 2821:     # As a last resort, use the slow shell script.  Don't cache a
 2822:     # value for INSTALL within a source directory, because that will
 2823:     # break other packages using the cache if that directory is
 2824:     # removed, or if the value is a relative name.
 2825:     INSTALL=$ac_install_sh
 2826:   fi
 2827: fi
 2828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2829: $as_echo "$INSTALL" >&6; }
 2830: 
 2831: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2832: # It thinks the first close brace ends the variable substitution.
 2833: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2834: 
 2835: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2836: 
 2837: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2838: 
 2839: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2840: $as_echo_n "checking whether build environment is sane... " >&6; }
 2841: # Just in case
 2842: sleep 1
 2843: echo timestamp > conftest.file
 2844: # Reject unsafe characters in $srcdir or the absolute working directory
 2845: # name.  Accept space and tab only in the latter.
 2846: am_lf='
 2847: '
 2848: case `pwd` in
 2849:   *[\\\"\#\$\&\'\`$am_lf]*)
 2850:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 2851: esac
 2852: case $srcdir in
 2853:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2854:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 2855: esac
 2856: 
 2857: # Do `set' in a subshell so we don't clobber the current shell's
 2858: # arguments.  Must try -L first in case configure is actually a
 2859: # symlink; some systems play weird games with the mod time of symlinks
 2860: # (eg FreeBSD returns the mod time of the symlink's containing
 2861: # directory).
 2862: if (
 2863:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2864:    if test "$*" = "X"; then
 2865:       # -L didn't work.
 2866:       set X `ls -t "$srcdir/configure" conftest.file`
 2867:    fi
 2868:    rm -f conftest.file
 2869:    if test "$*" != "X $srcdir/configure conftest.file" \
 2870:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2871: 
 2872:       # If neither matched, then we have a broken ls.  This can happen
 2873:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2874:       # broken ls alias from the environment.  This has actually
 2875:       # happened.  Such a system could not be considered "sane".
 2876:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2877: alias in your environment" "$LINENO" 5
 2878:    fi
 2879: 
 2880:    test "$2" = conftest.file
 2881:    )
 2882: then
 2883:    # Ok.
 2884:    :
 2885: else
 2886:    as_fn_error $? "newly created file is older than distributed files!
 2887: Check your system clock" "$LINENO" 5
 2888: fi
 2889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2890: $as_echo "yes" >&6; }
 2891: test "$program_prefix" != NONE &&
 2892:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2893: # Use a double $ so make ignores it.
 2894: test "$program_suffix" != NONE &&
 2895:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2896: # Double any \ or $.
 2897: # By default was `s,x,x', remove it if useless.
 2898: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2899: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2900: 
 2901: # expand $ac_aux_dir to an absolute path
 2902: am_aux_dir=`cd $ac_aux_dir && pwd`
 2903: 
 2904: if test x"${MISSING+set}" != xset; then
 2905:   case $am_aux_dir in
 2906:   *\ * | *\ *)
 2907:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2908:   *)
 2909:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2910:   esac
 2911: fi
 2912: # Use eval to expand $SHELL
 2913: if eval "$MISSING --run true"; then
 2914:   am_missing_run="$MISSING --run "
 2915: else
 2916:   am_missing_run=
 2917:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2918: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2919: fi
 2920: 
 2921: if test x"${install_sh}" != xset; then
 2922:   case $am_aux_dir in
 2923:   *\ * | *\ *)
 2924:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2925:   *)
 2926:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2927:   esac
 2928: fi
 2929: 
 2930: # Installed binaries are usually stripped using `strip' when the user
 2931: # run `make install-strip'.  However `strip' might not be the right
 2932: # tool to use in cross-compilation environments, therefore Automake
 2933: # will honor the `STRIP' environment variable to overrule this program.
 2934: if test "$cross_compiling" != no; then
 2935:   if test -n "$ac_tool_prefix"; then
 2936:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2937: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2938: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2939: $as_echo_n "checking for $ac_word... " >&6; }
 2940: if test "${ac_cv_prog_STRIP+set}" = set; then :
 2941:   $as_echo_n "(cached) " >&6
 2942: else
 2943:   if test -n "$STRIP"; then
 2944:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2945: else
 2946: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2947: for as_dir in $PATH
 2948: do
 2949:   IFS=$as_save_IFS
 2950:   test -z "$as_dir" && as_dir=.
 2951:     for ac_exec_ext in '' $ac_executable_extensions; do
 2952:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2953:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2954:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2955:     break 2
 2956:   fi
 2957: done
 2958:   done
 2959: IFS=$as_save_IFS
 2960: 
 2961: fi
 2962: fi
 2963: STRIP=$ac_cv_prog_STRIP
 2964: if test -n "$STRIP"; then
 2965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2966: $as_echo "$STRIP" >&6; }
 2967: else
 2968:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2969: $as_echo "no" >&6; }
 2970: fi
 2971: 
 2972: 
 2973: fi
 2974: if test -z "$ac_cv_prog_STRIP"; then
 2975:   ac_ct_STRIP=$STRIP
 2976:   # Extract the first word of "strip", so it can be a program name with args.
 2977: set dummy strip; ac_word=$2
 2978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2979: $as_echo_n "checking for $ac_word... " >&6; }
 2980: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 2981:   $as_echo_n "(cached) " >&6
 2982: else
 2983:   if test -n "$ac_ct_STRIP"; then
 2984:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2985: else
 2986: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2987: for as_dir in $PATH
 2988: do
 2989:   IFS=$as_save_IFS
 2990:   test -z "$as_dir" && as_dir=.
 2991:     for ac_exec_ext in '' $ac_executable_extensions; do
 2992:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2993:     ac_cv_prog_ac_ct_STRIP="strip"
 2994:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2995:     break 2
 2996:   fi
 2997: done
 2998:   done
 2999: IFS=$as_save_IFS
 3000: 
 3001: fi
 3002: fi
 3003: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3004: if test -n "$ac_ct_STRIP"; then
 3005:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3006: $as_echo "$ac_ct_STRIP" >&6; }
 3007: else
 3008:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3009: $as_echo "no" >&6; }
 3010: fi
 3011: 
 3012:   if test "x$ac_ct_STRIP" = x; then
 3013:     STRIP=":"
 3014:   else
 3015:     case $cross_compiling:$ac_tool_warned in
 3016: yes:)
 3017: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3018: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3019: ac_tool_warned=yes ;;
 3020: esac
 3021:     STRIP=$ac_ct_STRIP
 3022:   fi
 3023: else
 3024:   STRIP="$ac_cv_prog_STRIP"
 3025: fi
 3026: 
 3027: fi
 3028: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3029: 
 3030: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3031: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3032: if test -z "$MKDIR_P"; then
 3033:   if test "${ac_cv_path_mkdir+set}" = set; then :
 3034:   $as_echo_n "(cached) " >&6
 3035: else
 3036:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3037: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3038: do
 3039:   IFS=$as_save_IFS
 3040:   test -z "$as_dir" && as_dir=.
 3041:     for ac_prog in mkdir gmkdir; do
 3042:      for ac_exec_ext in '' $ac_executable_extensions; do
 3043:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3044:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3045:          'mkdir (GNU coreutils) '* | \
 3046:          'mkdir (coreutils) '* | \
 3047:          'mkdir (fileutils) '4.1*)
 3048:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3049:            break 3;;
 3050:        esac
 3051:      done
 3052:        done
 3053:   done
 3054: IFS=$as_save_IFS
 3055: 
 3056: fi
 3057: 
 3058:   test -d ./--version && rmdir ./--version
 3059:   if test "${ac_cv_path_mkdir+set}" = set; then
 3060:     MKDIR_P="$ac_cv_path_mkdir -p"
 3061:   else
 3062:     # As a last resort, use the slow shell script.  Don't cache a
 3063:     # value for MKDIR_P within a source directory, because that will
 3064:     # break other packages using the cache if that directory is
 3065:     # removed, or if the value is a relative name.
 3066:     MKDIR_P="$ac_install_sh -d"
 3067:   fi
 3068: fi
 3069: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3070: $as_echo "$MKDIR_P" >&6; }
 3071: 
 3072: mkdir_p="$MKDIR_P"
 3073: case $mkdir_p in
 3074:   [\\/$]* | ?:[\\/]*) ;;
 3075:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3076: esac
 3077: 
 3078: for ac_prog in gawk mawk nawk awk
 3079: do
 3080:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3081: set dummy $ac_prog; ac_word=$2
 3082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3083: $as_echo_n "checking for $ac_word... " >&6; }
 3084: if test "${ac_cv_prog_AWK+set}" = set; then :
 3085:   $as_echo_n "(cached) " >&6
 3086: else
 3087:   if test -n "$AWK"; then
 3088:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3089: else
 3090: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3091: for as_dir in $PATH
 3092: do
 3093:   IFS=$as_save_IFS
 3094:   test -z "$as_dir" && as_dir=.
 3095:     for ac_exec_ext in '' $ac_executable_extensions; do
 3096:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3097:     ac_cv_prog_AWK="$ac_prog"
 3098:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3099:     break 2
 3100:   fi
 3101: done
 3102:   done
 3103: IFS=$as_save_IFS
 3104: 
 3105: fi
 3106: fi
 3107: AWK=$ac_cv_prog_AWK
 3108: if test -n "$AWK"; then
 3109:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3110: $as_echo "$AWK" >&6; }
 3111: else
 3112:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3113: $as_echo "no" >&6; }
 3114: fi
 3115: 
 3116: 
 3117:   test -n "$AWK" && break
 3118: done
 3119: 
 3120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3121: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3122: set x ${MAKE-make}
 3123: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3124: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 3125:   $as_echo_n "(cached) " >&6
 3126: else
 3127:   cat >conftest.make <<\_ACEOF
 3128: SHELL = /bin/sh
 3129: all:
 3130:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3131: _ACEOF
 3132: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3133: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3134:   *@@@%%%=?*=@@@%%%*)
 3135:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3136:   *)
 3137:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3138: esac
 3139: rm -f conftest.make
 3140: fi
 3141: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3143: $as_echo "yes" >&6; }
 3144:   SET_MAKE=
 3145: else
 3146:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3147: $as_echo "no" >&6; }
 3148:   SET_MAKE="MAKE=${MAKE-make}"
 3149: fi
 3150: 
 3151: rm -rf .tst 2>/dev/null
 3152: mkdir .tst 2>/dev/null
 3153: if test -d .tst; then
 3154:   am__leading_dot=.
 3155: else
 3156:   am__leading_dot=_
 3157: fi
 3158: rmdir .tst 2>/dev/null
 3159: 
 3160: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3161:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3162:   # is not polluted with repeated "-I."
 3163:   am__isrc=' -I$(srcdir)'
 3164:   # test to see if srcdir already configured
 3165:   if test -f $srcdir/config.status; then
 3166:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3167:   fi
 3168: fi
 3169: 
 3170: # test whether we have cygpath
 3171: if test -z "$CYGPATH_W"; then
 3172:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3173:     CYGPATH_W='cygpath -w'
 3174:   else
 3175:     CYGPATH_W=echo
 3176:   fi
 3177: fi
 3178: 
 3179: 
 3180: # Define the identity of the package.
 3181:  PACKAGE='rpl'
 3182:  VERSION='4.1.0.prerelease.0'
 3183: 
 3184: 
 3185: cat >>confdefs.h <<_ACEOF
 3186: #define PACKAGE "$PACKAGE"
 3187: _ACEOF
 3188: 
 3189: 
 3190: cat >>confdefs.h <<_ACEOF
 3191: #define VERSION "$VERSION"
 3192: _ACEOF
 3193: 
 3194: # Some tools Automake needs.
 3195: 
 3196: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3197: 
 3198: 
 3199: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3200: 
 3201: 
 3202: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3203: 
 3204: 
 3205: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3206: 
 3207: 
 3208: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3209: 
 3210: # We need awk for the "check" target.  The system "awk" is bad on
 3211: # some platforms.
 3212: # Always define AMTAR for backward compatibility.
 3213: 
 3214: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3215: 
 3216: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3217: 
 3218: 
 3219: 
 3220: 
 3221: 
 3222: 
 3223: ac_config_headers="$ac_config_headers rplconfig.h"
 3224: 
 3225: 
 3226: NCURSES=ncurses-5.9
 3227: READLINE=readline-6.2
 3228: UNITS=units-1.88
 3229: GSL=gsl-1.14
 3230: GPP=gpp-2.24
 3231: GNUPLOT=gnuplot-4.4.3
 3232: FILE=file-5.03
 3233: ICONV=libiconv-1.13.1
 3234: SQLITE=sqlite-3.7.5
 3235: OPENSSL=openssl-1.0.0d
 3236: 
 3237: GMP=gmp-5.0.1
 3238: MPFR=mpfr-3.0.1
 3239: 
 3240: ac_ext=c
 3241: ac_cpp='$CPP $CPPFLAGS'
 3242: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3243: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3244: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3245: if test -n "$ac_tool_prefix"; then
 3246:   for ac_prog in gcc
 3247:   do
 3248:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3249: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3250: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3251: $as_echo_n "checking for $ac_word... " >&6; }
 3252: if test "${ac_cv_prog_CC+set}" = set; then :
 3253:   $as_echo_n "(cached) " >&6
 3254: else
 3255:   if test -n "$CC"; then
 3256:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3257: else
 3258: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3259: for as_dir in $PATH
 3260: do
 3261:   IFS=$as_save_IFS
 3262:   test -z "$as_dir" && as_dir=.
 3263:     for ac_exec_ext in '' $ac_executable_extensions; do
 3264:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3265:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3266:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3267:     break 2
 3268:   fi
 3269: done
 3270:   done
 3271: IFS=$as_save_IFS
 3272: 
 3273: fi
 3274: fi
 3275: CC=$ac_cv_prog_CC
 3276: if test -n "$CC"; then
 3277:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3278: $as_echo "$CC" >&6; }
 3279: else
 3280:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3281: $as_echo "no" >&6; }
 3282: fi
 3283: 
 3284: 
 3285:     test -n "$CC" && break
 3286:   done
 3287: fi
 3288: if test -z "$CC"; then
 3289:   ac_ct_CC=$CC
 3290:   for ac_prog in gcc
 3291: do
 3292:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3293: set dummy $ac_prog; ac_word=$2
 3294: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3295: $as_echo_n "checking for $ac_word... " >&6; }
 3296: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3297:   $as_echo_n "(cached) " >&6
 3298: else
 3299:   if test -n "$ac_ct_CC"; then
 3300:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3301: else
 3302: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3303: for as_dir in $PATH
 3304: do
 3305:   IFS=$as_save_IFS
 3306:   test -z "$as_dir" && as_dir=.
 3307:     for ac_exec_ext in '' $ac_executable_extensions; do
 3308:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3309:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3310:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3311:     break 2
 3312:   fi
 3313: done
 3314:   done
 3315: IFS=$as_save_IFS
 3316: 
 3317: fi
 3318: fi
 3319: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3320: if test -n "$ac_ct_CC"; then
 3321:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3322: $as_echo "$ac_ct_CC" >&6; }
 3323: else
 3324:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3325: $as_echo "no" >&6; }
 3326: fi
 3327: 
 3328: 
 3329:   test -n "$ac_ct_CC" && break
 3330: done
 3331: 
 3332:   if test "x$ac_ct_CC" = x; then
 3333:     CC=""
 3334:   else
 3335:     case $cross_compiling:$ac_tool_warned in
 3336: yes:)
 3337: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3338: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3339: ac_tool_warned=yes ;;
 3340: esac
 3341:     CC=$ac_ct_CC
 3342:   fi
 3343: fi
 3344: 
 3345: 
 3346: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3347: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3348: as_fn_error $? "no acceptable C compiler found in \$PATH
 3349: See \`config.log' for more details" "$LINENO" 5 ; }
 3350: 
 3351: # Provide some information about the compiler.
 3352: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3353: set X $ac_compile
 3354: ac_compiler=$2
 3355: for ac_option in --version -v -V -qversion; do
 3356:   { { ac_try="$ac_compiler $ac_option >&5"
 3357: case "(($ac_try" in
 3358:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3359:   *) ac_try_echo=$ac_try;;
 3360: esac
 3361: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3362: $as_echo "$ac_try_echo"; } >&5
 3363:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3364:   ac_status=$?
 3365:   if test -s conftest.err; then
 3366:     sed '10a\
 3367: ... rest of stderr output deleted ...
 3368:          10q' conftest.err >conftest.er1
 3369:     cat conftest.er1 >&5
 3370:   fi
 3371:   rm -f conftest.er1 conftest.err
 3372:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3373:   test $ac_status = 0; }
 3374: done
 3375: 
 3376: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3377: /* end confdefs.h.  */
 3378: 
 3379: int
 3380: main ()
 3381: {
 3382: 
 3383:   ;
 3384:   return 0;
 3385: }
 3386: _ACEOF
 3387: ac_clean_files_save=$ac_clean_files
 3388: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3389: # Try to create an executable without -o first, disregard a.out.
 3390: # It will help us diagnose broken compilers, and finding out an intuition
 3391: # of exeext.
 3392: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3393: $as_echo_n "checking whether the C compiler works... " >&6; }
 3394: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3395: 
 3396: # The possible output files:
 3397: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3398: 
 3399: ac_rmfiles=
 3400: for ac_file in $ac_files
 3401: do
 3402:   case $ac_file in
 3403:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3404:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3405:   esac
 3406: done
 3407: rm -f $ac_rmfiles
 3408: 
 3409: if { { ac_try="$ac_link_default"
 3410: case "(($ac_try" in
 3411:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3412:   *) ac_try_echo=$ac_try;;
 3413: esac
 3414: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3415: $as_echo "$ac_try_echo"; } >&5
 3416:   (eval "$ac_link_default") 2>&5
 3417:   ac_status=$?
 3418:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3419:   test $ac_status = 0; }; then :
 3420:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3421: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3422: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3423: # so that the user can short-circuit this test for compilers unknown to
 3424: # Autoconf.
 3425: for ac_file in $ac_files ''
 3426: do
 3427:   test -f "$ac_file" || continue
 3428:   case $ac_file in
 3429:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3430:     ;;
 3431:     [ab].out )
 3432:     # We found the default executable, but exeext='' is most
 3433:     # certainly right.
 3434:     break;;
 3435:     *.* )
 3436:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3437:     then :; else
 3438:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3439:     fi
 3440:     # We set ac_cv_exeext here because the later test for it is not
 3441:     # safe: cross compilers may not add the suffix if given an `-o'
 3442:     # argument, so we may need to know it at that point already.
 3443:     # Even if this section looks crufty: it has the advantage of
 3444:     # actually working.
 3445:     break;;
 3446:     * )
 3447:     break;;
 3448:   esac
 3449: done
 3450: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3451: 
 3452: else
 3453:   ac_file=''
 3454: fi
 3455: if test -z "$ac_file"; then :
 3456:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3457: $as_echo "no" >&6; }
 3458: $as_echo "$as_me: failed program was:" >&5
 3459: sed 's/^/| /' conftest.$ac_ext >&5
 3460: 
 3461: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3462: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3463: as_fn_error 77 "C compiler cannot create executables
 3464: See \`config.log' for more details" "$LINENO" 5 ; }
 3465: else
 3466:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3467: $as_echo "yes" >&6; }
 3468: fi
 3469: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3470: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3472: $as_echo "$ac_file" >&6; }
 3473: ac_exeext=$ac_cv_exeext
 3474: 
 3475: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3476: ac_clean_files=$ac_clean_files_save
 3477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3478: $as_echo_n "checking for suffix of executables... " >&6; }
 3479: if { { ac_try="$ac_link"
 3480: case "(($ac_try" in
 3481:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3482:   *) ac_try_echo=$ac_try;;
 3483: esac
 3484: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3485: $as_echo "$ac_try_echo"; } >&5
 3486:   (eval "$ac_link") 2>&5
 3487:   ac_status=$?
 3488:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3489:   test $ac_status = 0; }; then :
 3490:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3491: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3492: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3493: # `rm'.
 3494: for ac_file in conftest.exe conftest conftest.*; do
 3495:   test -f "$ac_file" || continue
 3496:   case $ac_file in
 3497:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3498:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3499:       break;;
 3500:     * ) break;;
 3501:   esac
 3502: done
 3503: else
 3504:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3505: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3506: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3507: See \`config.log' for more details" "$LINENO" 5 ; }
 3508: fi
 3509: rm -f conftest conftest$ac_cv_exeext
 3510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3511: $as_echo "$ac_cv_exeext" >&6; }
 3512: 
 3513: rm -f conftest.$ac_ext
 3514: EXEEXT=$ac_cv_exeext
 3515: ac_exeext=$EXEEXT
 3516: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3517: /* end confdefs.h.  */
 3518: #include <stdio.h>
 3519: int
 3520: main ()
 3521: {
 3522: FILE *f = fopen ("conftest.out", "w");
 3523:  return ferror (f) || fclose (f) != 0;
 3524: 
 3525:   ;
 3526:   return 0;
 3527: }
 3528: _ACEOF
 3529: ac_clean_files="$ac_clean_files conftest.out"
 3530: # Check that the compiler produces executables we can run.  If not, either
 3531: # the compiler is broken, or we cross compile.
 3532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3533: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3534: if test "$cross_compiling" != yes; then
 3535:   { { ac_try="$ac_link"
 3536: case "(($ac_try" in
 3537:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3538:   *) ac_try_echo=$ac_try;;
 3539: esac
 3540: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3541: $as_echo "$ac_try_echo"; } >&5
 3542:   (eval "$ac_link") 2>&5
 3543:   ac_status=$?
 3544:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3545:   test $ac_status = 0; }
 3546:   if { ac_try='./conftest$ac_cv_exeext'
 3547:   { { case "(($ac_try" in
 3548:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3549:   *) ac_try_echo=$ac_try;;
 3550: esac
 3551: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3552: $as_echo "$ac_try_echo"; } >&5
 3553:   (eval "$ac_try") 2>&5
 3554:   ac_status=$?
 3555:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3556:   test $ac_status = 0; }; }; then
 3557:     cross_compiling=no
 3558:   else
 3559:     if test "$cross_compiling" = maybe; then
 3560:     cross_compiling=yes
 3561:     else
 3562:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3563: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3564: as_fn_error $? "cannot run C compiled programs.
 3565: If you meant to cross compile, use \`--host'.
 3566: See \`config.log' for more details" "$LINENO" 5 ; }
 3567:     fi
 3568:   fi
 3569: fi
 3570: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3571: $as_echo "$cross_compiling" >&6; }
 3572: 
 3573: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3574: ac_clean_files=$ac_clean_files_save
 3575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3576: $as_echo_n "checking for suffix of object files... " >&6; }
 3577: if test "${ac_cv_objext+set}" = set; then :
 3578:   $as_echo_n "(cached) " >&6
 3579: else
 3580:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3581: /* end confdefs.h.  */
 3582: 
 3583: int
 3584: main ()
 3585: {
 3586: 
 3587:   ;
 3588:   return 0;
 3589: }
 3590: _ACEOF
 3591: rm -f conftest.o conftest.obj
 3592: if { { ac_try="$ac_compile"
 3593: case "(($ac_try" in
 3594:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3595:   *) ac_try_echo=$ac_try;;
 3596: esac
 3597: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3598: $as_echo "$ac_try_echo"; } >&5
 3599:   (eval "$ac_compile") 2>&5
 3600:   ac_status=$?
 3601:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3602:   test $ac_status = 0; }; then :
 3603:   for ac_file in conftest.o conftest.obj conftest.*; do
 3604:   test -f "$ac_file" || continue;
 3605:   case $ac_file in
 3606:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3607:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3608:        break;;
 3609:   esac
 3610: done
 3611: else
 3612:   $as_echo "$as_me: failed program was:" >&5
 3613: sed 's/^/| /' conftest.$ac_ext >&5
 3614: 
 3615: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3616: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3617: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3618: See \`config.log' for more details" "$LINENO" 5 ; }
 3619: fi
 3620: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3621: fi
 3622: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3623: $as_echo "$ac_cv_objext" >&6; }
 3624: OBJEXT=$ac_cv_objext
 3625: ac_objext=$OBJEXT
 3626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3627: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3628: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 3629:   $as_echo_n "(cached) " >&6
 3630: else
 3631:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3632: /* end confdefs.h.  */
 3633: 
 3634: int
 3635: main ()
 3636: {
 3637: #ifndef __GNUC__
 3638:        choke me
 3639: #endif
 3640: 
 3641:   ;
 3642:   return 0;
 3643: }
 3644: _ACEOF
 3645: if ac_fn_c_try_compile "$LINENO"; then :
 3646:   ac_compiler_gnu=yes
 3647: else
 3648:   ac_compiler_gnu=no
 3649: fi
 3650: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3651: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3652: 
 3653: fi
 3654: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3655: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3656: if test $ac_compiler_gnu = yes; then
 3657:   GCC=yes
 3658: else
 3659:   GCC=
 3660: fi
 3661: ac_test_CFLAGS=${CFLAGS+set}
 3662: ac_save_CFLAGS=$CFLAGS
 3663: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3664: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3665: if test "${ac_cv_prog_cc_g+set}" = set; then :
 3666:   $as_echo_n "(cached) " >&6
 3667: else
 3668:   ac_save_c_werror_flag=$ac_c_werror_flag
 3669:    ac_c_werror_flag=yes
 3670:    ac_cv_prog_cc_g=no
 3671:    CFLAGS="-g"
 3672:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3673: /* end confdefs.h.  */
 3674: 
 3675: int
 3676: main ()
 3677: {
 3678: 
 3679:   ;
 3680:   return 0;
 3681: }
 3682: _ACEOF
 3683: if ac_fn_c_try_compile "$LINENO"; then :
 3684:   ac_cv_prog_cc_g=yes
 3685: else
 3686:   CFLAGS=""
 3687:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3688: /* end confdefs.h.  */
 3689: 
 3690: int
 3691: main ()
 3692: {
 3693: 
 3694:   ;
 3695:   return 0;
 3696: }
 3697: _ACEOF
 3698: if ac_fn_c_try_compile "$LINENO"; then :
 3699: 
 3700: else
 3701:   ac_c_werror_flag=$ac_save_c_werror_flag
 3702:      CFLAGS="-g"
 3703:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3704: /* end confdefs.h.  */
 3705: 
 3706: int
 3707: main ()
 3708: {
 3709: 
 3710:   ;
 3711:   return 0;
 3712: }
 3713: _ACEOF
 3714: if ac_fn_c_try_compile "$LINENO"; then :
 3715:   ac_cv_prog_cc_g=yes
 3716: fi
 3717: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3718: fi
 3719: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3720: fi
 3721: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3722:    ac_c_werror_flag=$ac_save_c_werror_flag
 3723: fi
 3724: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3725: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3726: if test "$ac_test_CFLAGS" = set; then
 3727:   CFLAGS=$ac_save_CFLAGS
 3728: elif test $ac_cv_prog_cc_g = yes; then
 3729:   if test "$GCC" = yes; then
 3730:     CFLAGS="-g -O2"
 3731:   else
 3732:     CFLAGS="-g"
 3733:   fi
 3734: else
 3735:   if test "$GCC" = yes; then
 3736:     CFLAGS="-O2"
 3737:   else
 3738:     CFLAGS=
 3739:   fi
 3740: fi
 3741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3742: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3743: if test "${ac_cv_prog_cc_c89+set}" = set; then :
 3744:   $as_echo_n "(cached) " >&6
 3745: else
 3746:   ac_cv_prog_cc_c89=no
 3747: ac_save_CC=$CC
 3748: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3749: /* end confdefs.h.  */
 3750: #include <stdarg.h>
 3751: #include <stdio.h>
 3752: #include <sys/types.h>
 3753: #include <sys/stat.h>
 3754: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3755: struct buf { int x; };
 3756: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3757: static char *e (p, i)
 3758:      char **p;
 3759:      int i;
 3760: {
 3761:   return p[i];
 3762: }
 3763: static char *f (char * (*g) (char **, int), char **p, ...)
 3764: {
 3765:   char *s;
 3766:   va_list v;
 3767:   va_start (v,p);
 3768:   s = g (p, va_arg (v,int));
 3769:   va_end (v);
 3770:   return s;
 3771: }
 3772: 
 3773: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3774:    function prototypes and stuff, but not '\xHH' hex character constants.
 3775:    These don't provoke an error unfortunately, instead are silently treated
 3776:    as 'x'.  The following induces an error, until -std is added to get
 3777:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3778:    array size at least.  It's necessary to write '\x00'==0 to get something
 3779:    that's true only with -std.  */
 3780: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3781: 
 3782: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3783:    inside strings and character constants.  */
 3784: #define FOO(x) 'x'
 3785: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3786: 
 3787: int test (int i, double x);
 3788: struct s1 {int (*f) (int a);};
 3789: struct s2 {int (*f) (double a);};
 3790: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3791: int argc;
 3792: char **argv;
 3793: int
 3794: main ()
 3795: {
 3796: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3797:   ;
 3798:   return 0;
 3799: }
 3800: _ACEOF
 3801: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3802:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3803: do
 3804:   CC="$ac_save_CC $ac_arg"
 3805:   if ac_fn_c_try_compile "$LINENO"; then :
 3806:   ac_cv_prog_cc_c89=$ac_arg
 3807: fi
 3808: rm -f core conftest.err conftest.$ac_objext
 3809:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3810: done
 3811: rm -f conftest.$ac_ext
 3812: CC=$ac_save_CC
 3813: 
 3814: fi
 3815: # AC_CACHE_VAL
 3816: case "x$ac_cv_prog_cc_c89" in
 3817:   x)
 3818:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3819: $as_echo "none needed" >&6; } ;;
 3820:   xno)
 3821:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3822: $as_echo "unsupported" >&6; } ;;
 3823:   *)
 3824:     CC="$CC $ac_cv_prog_cc_c89"
 3825:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3826: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3827: esac
 3828: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3829: 
 3830: fi
 3831: 
 3832: ac_ext=c
 3833: ac_cpp='$CPP $CPPFLAGS'
 3834: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3835: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3836: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3837: DEPDIR="${am__leading_dot}deps"
 3838: 
 3839: ac_config_commands="$ac_config_commands depfiles"
 3840: 
 3841: 
 3842: am_make=${MAKE-make}
 3843: cat > confinc << 'END'
 3844: am__doit:
 3845:     @echo this is the am__doit target
 3846: .PHONY: am__doit
 3847: END
 3848: # If we don't find an include directive, just comment out the code.
 3849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3850: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3851: am__include="#"
 3852: am__quote=
 3853: _am_result=none
 3854: # First try GNU make style include.
 3855: echo "include confinc" > confmf
 3856: # Ignore all kinds of additional output from `make'.
 3857: case `$am_make -s -f confmf 2> /dev/null` in #(
 3858: *the\ am__doit\ target*)
 3859:   am__include=include
 3860:   am__quote=
 3861:   _am_result=GNU
 3862:   ;;
 3863: esac
 3864: # Now try BSD make style include.
 3865: if test "$am__include" = "#"; then
 3866:    echo '.include "confinc"' > confmf
 3867:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3868:    *the\ am__doit\ target*)
 3869:      am__include=.include
 3870:      am__quote="\""
 3871:      _am_result=BSD
 3872:      ;;
 3873:    esac
 3874: fi
 3875: 
 3876: 
 3877: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3878: $as_echo "$_am_result" >&6; }
 3879: rm -f confinc confmf
 3880: 
 3881: # Check whether --enable-dependency-tracking was given.
 3882: if test "${enable_dependency_tracking+set}" = set; then :
 3883:   enableval=$enable_dependency_tracking;
 3884: fi
 3885: 
 3886: if test "x$enable_dependency_tracking" != xno; then
 3887:   am_depcomp="$ac_aux_dir/depcomp"
 3888:   AMDEPBACKSLASH='\'
 3889: fi
 3890:  if test "x$enable_dependency_tracking" != xno; then
 3891:   AMDEP_TRUE=
 3892:   AMDEP_FALSE='#'
 3893: else
 3894:   AMDEP_TRUE='#'
 3895:   AMDEP_FALSE=
 3896: fi
 3897: 
 3898: 
 3899: 
 3900: depcc="$CC"   am_compiler_list=
 3901: 
 3902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3903: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3904: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 3905:   $as_echo_n "(cached) " >&6
 3906: else
 3907:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3908:   # We make a subdir and do the tests there.  Otherwise we can end up
 3909:   # making bogus files that we don't know about and never remove.  For
 3910:   # instance it was reported that on HP-UX the gcc test will end up
 3911:   # making a dummy file named `D' -- because `-MD' means `put the output
 3912:   # in D'.
 3913:   mkdir conftest.dir
 3914:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3915:   # using a relative directory.
 3916:   cp "$am_depcomp" conftest.dir
 3917:   cd conftest.dir
 3918:   # We will build objects and dependencies in a subdirectory because
 3919:   # it helps to detect inapplicable dependency modes.  For instance
 3920:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3921:   # side effect of compilation, but ICC will put the dependencies in
 3922:   # the current directory while Tru64 will put them in the object
 3923:   # directory.
 3924:   mkdir sub
 3925: 
 3926:   am_cv_CC_dependencies_compiler_type=none
 3927:   if test "$am_compiler_list" = ""; then
 3928:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3929:   fi
 3930:   am__universal=false
 3931:   case " $depcc " in #(
 3932:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3933:      esac
 3934: 
 3935:   for depmode in $am_compiler_list; do
 3936:     # Setup a source with many dependencies, because some compilers
 3937:     # like to wrap large dependency lists on column 80 (with \), and
 3938:     # we should not choose a depcomp mode which is confused by this.
 3939:     #
 3940:     # We need to recreate these files for each test, as the compiler may
 3941:     # overwrite some of them when testing with obscure command lines.
 3942:     # This happens at least with the AIX C compiler.
 3943:     : > sub/conftest.c
 3944:     for i in 1 2 3 4 5 6; do
 3945:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3946:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3947:       # Solaris 8's {/usr,}/bin/sh.
 3948:       touch sub/conftst$i.h
 3949:     done
 3950:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3951: 
 3952:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3953:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3954:     # handle `-M -o', and we need to detect this.  Also, some Intel
 3955:     # versions had trouble with output in subdirs
 3956:     am__obj=sub/conftest.${OBJEXT-o}
 3957:     am__minus_obj="-o $am__obj"
 3958:     case $depmode in
 3959:     gcc)
 3960:       # This depmode causes a compiler race in universal mode.
 3961:       test "$am__universal" = false || continue
 3962:       ;;
 3963:     nosideeffect)
 3964:       # after this tag, mechanisms are not by side-effect, so they'll
 3965:       # only be used when explicitly requested
 3966:       if test "x$enable_dependency_tracking" = xyes; then
 3967:     continue
 3968:       else
 3969:     break
 3970:       fi
 3971:       ;;
 3972:     msvisualcpp | msvcmsys)
 3973:       # This compiler won't grok `-c -o', but also, the minuso test has
 3974:       # not run yet.  These depmodes are late enough in the game, and
 3975:       # so weak that their functioning should not be impacted.
 3976:       am__obj=conftest.${OBJEXT-o}
 3977:       am__minus_obj=
 3978:       ;;
 3979:     none) break ;;
 3980:     esac
 3981:     if depmode=$depmode \
 3982:        source=sub/conftest.c object=$am__obj \
 3983:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3984:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3985:          >/dev/null 2>conftest.err &&
 3986:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3987:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3988:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3989:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3990:       # icc doesn't choke on unknown options, it will just issue warnings
 3991:       # or remarks (even with -Werror).  So we grep stderr for any message
 3992:       # that says an option was ignored or not supported.
 3993:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3994:       #   icc: Command line warning: ignoring option '-M'; no argument required
 3995:       # The diagnosis changed in icc 8.0:
 3996:       #   icc: Command line remark: option '-MP' not supported
 3997:       if (grep 'ignoring option' conftest.err ||
 3998:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3999:         am_cv_CC_dependencies_compiler_type=$depmode
 4000:         break
 4001:       fi
 4002:     fi
 4003:   done
 4004: 
 4005:   cd ..
 4006:   rm -rf conftest.dir
 4007: else
 4008:   am_cv_CC_dependencies_compiler_type=none
 4009: fi
 4010: 
 4011: fi
 4012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4013: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4014: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4015: 
 4016:  if
 4017:   test "x$enable_dependency_tracking" != xno \
 4018:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4019:   am__fastdepCC_TRUE=
 4020:   am__fastdepCC_FALSE='#'
 4021: else
 4022:   am__fastdepCC_TRUE='#'
 4023:   am__fastdepCC_FALSE=
 4024: fi
 4025: 
 4026: 
 4027: 
 4028: EXT_SQL=
 4029: 
 4030: if test x"$CC" != x""; then
 4031:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4032:             awk -F. '{ printf("%s", $1);}'`
 4033:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4034:             awk -F. '{ printf("%s", $2);}'`
 4035:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4036:         OPTIMISATION_C=-O3
 4037:     else
 4038:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
 4039:                 then
 4040:             OPTIMISATION_C=-O3
 4041:         else
 4042:             if test $GCC_VERSION_MAJEURE -ge 2; then
 4043:                 OPTIMISATION_C=-O2
 4044:             else
 4045:                 as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
 4046:             fi
 4047:         fi
 4048:     fi
 4049: fi
 4050: 
 4051: if test "x$CC" != xcc; then
 4052:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4053: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4054: else
 4055:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4056: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4057: fi
 4058: set dummy $CC; ac_cc=`$as_echo "$2" |
 4059:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4060: if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 4061:   $as_echo_n "(cached) " >&6
 4062: else
 4063:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4064: /* end confdefs.h.  */
 4065: 
 4066: int
 4067: main ()
 4068: {
 4069: 
 4070:   ;
 4071:   return 0;
 4072: }
 4073: _ACEOF
 4074: # Make sure it works both with $CC and with simple cc.
 4075: # We do the test twice because some compilers refuse to overwrite an
 4076: # existing .o file with -o, though they will create one.
 4077: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4078: rm -f conftest2.*
 4079: if { { case "(($ac_try" in
 4080:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4081:   *) ac_try_echo=$ac_try;;
 4082: esac
 4083: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4084: $as_echo "$ac_try_echo"; } >&5
 4085:   (eval "$ac_try") 2>&5
 4086:   ac_status=$?
 4087:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4088:   test $ac_status = 0; } &&
 4089:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4090:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4091:   *) ac_try_echo=$ac_try;;
 4092: esac
 4093: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4094: $as_echo "$ac_try_echo"; } >&5
 4095:   (eval "$ac_try") 2>&5
 4096:   ac_status=$?
 4097:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4098:   test $ac_status = 0; };
 4099: then
 4100:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4101:   if test "x$CC" != xcc; then
 4102:     # Test first that cc exists at all.
 4103:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4104:   { { case "(($ac_try" in
 4105:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4106:   *) ac_try_echo=$ac_try;;
 4107: esac
 4108: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4109: $as_echo "$ac_try_echo"; } >&5
 4110:   (eval "$ac_try") 2>&5
 4111:   ac_status=$?
 4112:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4113:   test $ac_status = 0; }; }; then
 4114:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4115:       rm -f conftest2.*
 4116:       if { { case "(($ac_try" in
 4117:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4118:   *) ac_try_echo=$ac_try;;
 4119: esac
 4120: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4121: $as_echo "$ac_try_echo"; } >&5
 4122:   (eval "$ac_try") 2>&5
 4123:   ac_status=$?
 4124:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4125:   test $ac_status = 0; } &&
 4126:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4127:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4128:   *) ac_try_echo=$ac_try;;
 4129: esac
 4130: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4131: $as_echo "$ac_try_echo"; } >&5
 4132:   (eval "$ac_try") 2>&5
 4133:   ac_status=$?
 4134:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4135:   test $ac_status = 0; };
 4136:       then
 4137:     # cc works too.
 4138:     :
 4139:       else
 4140:     # cc exists but doesn't like -o.
 4141:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4142:       fi
 4143:     fi
 4144:   fi
 4145: else
 4146:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4147: fi
 4148: rm -f core conftest*
 4149: 
 4150: fi
 4151: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4152:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4153: $as_echo "yes" >&6; }
 4154: else
 4155:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4156: $as_echo "no" >&6; }
 4157: 
 4158: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4159: 
 4160: fi
 4161: 
 4162: # FIXME: we rely on the cache variable name because
 4163: # there is no other way.
 4164: set dummy $CC
 4165: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4166: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4167: if test "$am_t" != yes; then
 4168:    # Losing compiler, so override with the script.
 4169:    # FIXME: It is wrong to rewrite CC.
 4170:    # But if we don't then we get into trouble of one sort or another.
 4171:    # A longer-term fix would be to have automake use am__CC in this case,
 4172:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4173:    CC="$am_aux_dir/compile $CC"
 4174: fi
 4175: 
 4176: 
 4177: 
 4178: if test "$GCC" != yes; then
 4179:     as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
 4180: fi
 4181: 
 4182: ac_ext=cpp
 4183: ac_cpp='$CXXCPP $CPPFLAGS'
 4184: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4185: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4186: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4187: if test -z "$CXX"; then
 4188:   if test -n "$CCC"; then
 4189:     CXX=$CCC
 4190:   else
 4191:     if test -n "$ac_tool_prefix"; then
 4192:   for ac_prog in g++
 4193:   do
 4194:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4195: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4196: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4197: $as_echo_n "checking for $ac_word... " >&6; }
 4198: if test "${ac_cv_prog_CXX+set}" = set; then :
 4199:   $as_echo_n "(cached) " >&6
 4200: else
 4201:   if test -n "$CXX"; then
 4202:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4203: else
 4204: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4205: for as_dir in $PATH
 4206: do
 4207:   IFS=$as_save_IFS
 4208:   test -z "$as_dir" && as_dir=.
 4209:     for ac_exec_ext in '' $ac_executable_extensions; do
 4210:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4211:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4212:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4213:     break 2
 4214:   fi
 4215: done
 4216:   done
 4217: IFS=$as_save_IFS
 4218: 
 4219: fi
 4220: fi
 4221: CXX=$ac_cv_prog_CXX
 4222: if test -n "$CXX"; then
 4223:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4224: $as_echo "$CXX" >&6; }
 4225: else
 4226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4227: $as_echo "no" >&6; }
 4228: fi
 4229: 
 4230: 
 4231:     test -n "$CXX" && break
 4232:   done
 4233: fi
 4234: if test -z "$CXX"; then
 4235:   ac_ct_CXX=$CXX
 4236:   for ac_prog in g++
 4237: do
 4238:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4239: set dummy $ac_prog; ac_word=$2
 4240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4241: $as_echo_n "checking for $ac_word... " >&6; }
 4242: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 4243:   $as_echo_n "(cached) " >&6
 4244: else
 4245:   if test -n "$ac_ct_CXX"; then
 4246:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4247: else
 4248: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4249: for as_dir in $PATH
 4250: do
 4251:   IFS=$as_save_IFS
 4252:   test -z "$as_dir" && as_dir=.
 4253:     for ac_exec_ext in '' $ac_executable_extensions; do
 4254:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4255:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4256:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4257:     break 2
 4258:   fi
 4259: done
 4260:   done
 4261: IFS=$as_save_IFS
 4262: 
 4263: fi
 4264: fi
 4265: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4266: if test -n "$ac_ct_CXX"; then
 4267:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4268: $as_echo "$ac_ct_CXX" >&6; }
 4269: else
 4270:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4271: $as_echo "no" >&6; }
 4272: fi
 4273: 
 4274: 
 4275:   test -n "$ac_ct_CXX" && break
 4276: done
 4277: 
 4278:   if test "x$ac_ct_CXX" = x; then
 4279:     CXX="g++"
 4280:   else
 4281:     case $cross_compiling:$ac_tool_warned in
 4282: yes:)
 4283: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4284: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4285: ac_tool_warned=yes ;;
 4286: esac
 4287:     CXX=$ac_ct_CXX
 4288:   fi
 4289: fi
 4290: 
 4291:   fi
 4292: fi
 4293: # Provide some information about the compiler.
 4294: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4295: set X $ac_compile
 4296: ac_compiler=$2
 4297: for ac_option in --version -v -V -qversion; do
 4298:   { { ac_try="$ac_compiler $ac_option >&5"
 4299: case "(($ac_try" in
 4300:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4301:   *) ac_try_echo=$ac_try;;
 4302: esac
 4303: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4304: $as_echo "$ac_try_echo"; } >&5
 4305:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4306:   ac_status=$?
 4307:   if test -s conftest.err; then
 4308:     sed '10a\
 4309: ... rest of stderr output deleted ...
 4310:          10q' conftest.err >conftest.er1
 4311:     cat conftest.er1 >&5
 4312:   fi
 4313:   rm -f conftest.er1 conftest.err
 4314:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4315:   test $ac_status = 0; }
 4316: done
 4317: 
 4318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4319: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4320: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 4321:   $as_echo_n "(cached) " >&6
 4322: else
 4323:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4324: /* end confdefs.h.  */
 4325: 
 4326: int
 4327: main ()
 4328: {
 4329: #ifndef __GNUC__
 4330:        choke me
 4331: #endif
 4332: 
 4333:   ;
 4334:   return 0;
 4335: }
 4336: _ACEOF
 4337: if ac_fn_cxx_try_compile "$LINENO"; then :
 4338:   ac_compiler_gnu=yes
 4339: else
 4340:   ac_compiler_gnu=no
 4341: fi
 4342: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4343: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4344: 
 4345: fi
 4346: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4347: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4348: if test $ac_compiler_gnu = yes; then
 4349:   GXX=yes
 4350: else
 4351:   GXX=
 4352: fi
 4353: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4354: ac_save_CXXFLAGS=$CXXFLAGS
 4355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4356: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4357: if test "${ac_cv_prog_cxx_g+set}" = set; then :
 4358:   $as_echo_n "(cached) " >&6
 4359: else
 4360:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4361:    ac_cxx_werror_flag=yes
 4362:    ac_cv_prog_cxx_g=no
 4363:    CXXFLAGS="-g"
 4364:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4365: /* end confdefs.h.  */
 4366: 
 4367: int
 4368: main ()
 4369: {
 4370: 
 4371:   ;
 4372:   return 0;
 4373: }
 4374: _ACEOF
 4375: if ac_fn_cxx_try_compile "$LINENO"; then :
 4376:   ac_cv_prog_cxx_g=yes
 4377: else
 4378:   CXXFLAGS=""
 4379:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4380: /* end confdefs.h.  */
 4381: 
 4382: int
 4383: main ()
 4384: {
 4385: 
 4386:   ;
 4387:   return 0;
 4388: }
 4389: _ACEOF
 4390: if ac_fn_cxx_try_compile "$LINENO"; then :
 4391: 
 4392: else
 4393:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4394:      CXXFLAGS="-g"
 4395:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4396: /* end confdefs.h.  */
 4397: 
 4398: int
 4399: main ()
 4400: {
 4401: 
 4402:   ;
 4403:   return 0;
 4404: }
 4405: _ACEOF
 4406: if ac_fn_cxx_try_compile "$LINENO"; then :
 4407:   ac_cv_prog_cxx_g=yes
 4408: fi
 4409: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4410: fi
 4411: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4412: fi
 4413: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4414:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4415: fi
 4416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4417: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4418: if test "$ac_test_CXXFLAGS" = set; then
 4419:   CXXFLAGS=$ac_save_CXXFLAGS
 4420: elif test $ac_cv_prog_cxx_g = yes; then
 4421:   if test "$GXX" = yes; then
 4422:     CXXFLAGS="-g -O2"
 4423:   else
 4424:     CXXFLAGS="-g"
 4425:   fi
 4426: else
 4427:   if test "$GXX" = yes; then
 4428:     CXXFLAGS="-O2"
 4429:   else
 4430:     CXXFLAGS=
 4431:   fi
 4432: fi
 4433: ac_ext=c
 4434: ac_cpp='$CPP $CPPFLAGS'
 4435: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4436: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4437: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4438: 
 4439: depcc="$CXX"  am_compiler_list=
 4440: 
 4441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4442: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4443: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 4444:   $as_echo_n "(cached) " >&6
 4445: else
 4446:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4447:   # We make a subdir and do the tests there.  Otherwise we can end up
 4448:   # making bogus files that we don't know about and never remove.  For
 4449:   # instance it was reported that on HP-UX the gcc test will end up
 4450:   # making a dummy file named `D' -- because `-MD' means `put the output
 4451:   # in D'.
 4452:   mkdir conftest.dir
 4453:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4454:   # using a relative directory.
 4455:   cp "$am_depcomp" conftest.dir
 4456:   cd conftest.dir
 4457:   # We will build objects and dependencies in a subdirectory because
 4458:   # it helps to detect inapplicable dependency modes.  For instance
 4459:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4460:   # side effect of compilation, but ICC will put the dependencies in
 4461:   # the current directory while Tru64 will put them in the object
 4462:   # directory.
 4463:   mkdir sub
 4464: 
 4465:   am_cv_CXX_dependencies_compiler_type=none
 4466:   if test "$am_compiler_list" = ""; then
 4467:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4468:   fi
 4469:   am__universal=false
 4470:   case " $depcc " in #(
 4471:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4472:      esac
 4473: 
 4474:   for depmode in $am_compiler_list; do
 4475:     # Setup a source with many dependencies, because some compilers
 4476:     # like to wrap large dependency lists on column 80 (with \), and
 4477:     # we should not choose a depcomp mode which is confused by this.
 4478:     #
 4479:     # We need to recreate these files for each test, as the compiler may
 4480:     # overwrite some of them when testing with obscure command lines.
 4481:     # This happens at least with the AIX C compiler.
 4482:     : > sub/conftest.c
 4483:     for i in 1 2 3 4 5 6; do
 4484:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4485:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4486:       # Solaris 8's {/usr,}/bin/sh.
 4487:       touch sub/conftst$i.h
 4488:     done
 4489:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4490: 
 4491:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4492:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4493:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4494:     # versions had trouble with output in subdirs
 4495:     am__obj=sub/conftest.${OBJEXT-o}
 4496:     am__minus_obj="-o $am__obj"
 4497:     case $depmode in
 4498:     gcc)
 4499:       # This depmode causes a compiler race in universal mode.
 4500:       test "$am__universal" = false || continue
 4501:       ;;
 4502:     nosideeffect)
 4503:       # after this tag, mechanisms are not by side-effect, so they'll
 4504:       # only be used when explicitly requested
 4505:       if test "x$enable_dependency_tracking" = xyes; then
 4506:     continue
 4507:       else
 4508:     break
 4509:       fi
 4510:       ;;
 4511:     msvisualcpp | msvcmsys)
 4512:       # This compiler won't grok `-c -o', but also, the minuso test has
 4513:       # not run yet.  These depmodes are late enough in the game, and
 4514:       # so weak that their functioning should not be impacted.
 4515:       am__obj=conftest.${OBJEXT-o}
 4516:       am__minus_obj=
 4517:       ;;
 4518:     none) break ;;
 4519:     esac
 4520:     if depmode=$depmode \
 4521:        source=sub/conftest.c object=$am__obj \
 4522:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4523:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4524:          >/dev/null 2>conftest.err &&
 4525:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4526:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4527:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4528:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4529:       # icc doesn't choke on unknown options, it will just issue warnings
 4530:       # or remarks (even with -Werror).  So we grep stderr for any message
 4531:       # that says an option was ignored or not supported.
 4532:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4533:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4534:       # The diagnosis changed in icc 8.0:
 4535:       #   icc: Command line remark: option '-MP' not supported
 4536:       if (grep 'ignoring option' conftest.err ||
 4537:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4538:         am_cv_CXX_dependencies_compiler_type=$depmode
 4539:         break
 4540:       fi
 4541:     fi
 4542:   done
 4543: 
 4544:   cd ..
 4545:   rm -rf conftest.dir
 4546: else
 4547:   am_cv_CXX_dependencies_compiler_type=none
 4548: fi
 4549: 
 4550: fi
 4551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4552: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4553: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4554: 
 4555:  if
 4556:   test "x$enable_dependency_tracking" != xno \
 4557:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4558:   am__fastdepCXX_TRUE=
 4559:   am__fastdepCXX_FALSE='#'
 4560: else
 4561:   am__fastdepCXX_TRUE='#'
 4562:   am__fastdepCXX_FALSE=
 4563: fi
 4564: 
 4565: 
 4566: 
 4567: if test "$GXX" != yes; then
 4568:     as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
 4569: fi
 4570: 
 4571: ac_ext=f
 4572: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4573: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4574: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4575: if test -n "$ac_tool_prefix"; then
 4576:   for ac_prog in gfortran
 4577:   do
 4578:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4579: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4581: $as_echo_n "checking for $ac_word... " >&6; }
 4582: if test "${ac_cv_prog_F77+set}" = set; then :
 4583:   $as_echo_n "(cached) " >&6
 4584: else
 4585:   if test -n "$F77"; then
 4586:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4587: else
 4588: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4589: for as_dir in $PATH
 4590: do
 4591:   IFS=$as_save_IFS
 4592:   test -z "$as_dir" && as_dir=.
 4593:     for ac_exec_ext in '' $ac_executable_extensions; do
 4594:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4595:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4596:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4597:     break 2
 4598:   fi
 4599: done
 4600:   done
 4601: IFS=$as_save_IFS
 4602: 
 4603: fi
 4604: fi
 4605: F77=$ac_cv_prog_F77
 4606: if test -n "$F77"; then
 4607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4608: $as_echo "$F77" >&6; }
 4609: else
 4610:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4611: $as_echo "no" >&6; }
 4612: fi
 4613: 
 4614: 
 4615:     test -n "$F77" && break
 4616:   done
 4617: fi
 4618: if test -z "$F77"; then
 4619:   ac_ct_F77=$F77
 4620:   for ac_prog in gfortran
 4621: do
 4622:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4623: set dummy $ac_prog; ac_word=$2
 4624: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4625: $as_echo_n "checking for $ac_word... " >&6; }
 4626: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
 4627:   $as_echo_n "(cached) " >&6
 4628: else
 4629:   if test -n "$ac_ct_F77"; then
 4630:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4631: else
 4632: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4633: for as_dir in $PATH
 4634: do
 4635:   IFS=$as_save_IFS
 4636:   test -z "$as_dir" && as_dir=.
 4637:     for ac_exec_ext in '' $ac_executable_extensions; do
 4638:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4639:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4640:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4641:     break 2
 4642:   fi
 4643: done
 4644:   done
 4645: IFS=$as_save_IFS
 4646: 
 4647: fi
 4648: fi
 4649: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4650: if test -n "$ac_ct_F77"; then
 4651:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4652: $as_echo "$ac_ct_F77" >&6; }
 4653: else
 4654:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4655: $as_echo "no" >&6; }
 4656: fi
 4657: 
 4658: 
 4659:   test -n "$ac_ct_F77" && break
 4660: done
 4661: 
 4662:   if test "x$ac_ct_F77" = x; then
 4663:     F77=""
 4664:   else
 4665:     case $cross_compiling:$ac_tool_warned in
 4666: yes:)
 4667: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4668: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4669: ac_tool_warned=yes ;;
 4670: esac
 4671:     F77=$ac_ct_F77
 4672:   fi
 4673: fi
 4674: 
 4675: 
 4676: # Provide some information about the compiler.
 4677: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4678: set X $ac_compile
 4679: ac_compiler=$2
 4680: for ac_option in --version -v -V -qversion; do
 4681:   { { ac_try="$ac_compiler $ac_option >&5"
 4682: case "(($ac_try" in
 4683:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4684:   *) ac_try_echo=$ac_try;;
 4685: esac
 4686: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4687: $as_echo "$ac_try_echo"; } >&5
 4688:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4689:   ac_status=$?
 4690:   if test -s conftest.err; then
 4691:     sed '10a\
 4692: ... rest of stderr output deleted ...
 4693:          10q' conftest.err >conftest.er1
 4694:     cat conftest.er1 >&5
 4695:   fi
 4696:   rm -f conftest.er1 conftest.err
 4697:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4698:   test $ac_status = 0; }
 4699: done
 4700: rm -f a.out
 4701: 
 4702: # If we don't use `.F' as extension, the preprocessor is not run on the
 4703: # input file.  (Note that this only needs to work for GNU compilers.)
 4704: ac_save_ext=$ac_ext
 4705: ac_ext=F
 4706: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4707: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4708: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
 4709:   $as_echo_n "(cached) " >&6
 4710: else
 4711:   cat > conftest.$ac_ext <<_ACEOF
 4712:       program main
 4713: #ifndef __GNUC__
 4714:        choke me
 4715: #endif
 4716: 
 4717:       end
 4718: _ACEOF
 4719: if ac_fn_f77_try_compile "$LINENO"; then :
 4720:   ac_compiler_gnu=yes
 4721: else
 4722:   ac_compiler_gnu=no
 4723: fi
 4724: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4725: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4726: 
 4727: fi
 4728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4729: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4730: ac_ext=$ac_save_ext
 4731: ac_test_FFLAGS=${FFLAGS+set}
 4732: ac_save_FFLAGS=$FFLAGS
 4733: FFLAGS=
 4734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4735: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4736: if test "${ac_cv_prog_f77_g+set}" = set; then :
 4737:   $as_echo_n "(cached) " >&6
 4738: else
 4739:   FFLAGS=-g
 4740: cat > conftest.$ac_ext <<_ACEOF
 4741:       program main
 4742: 
 4743:       end
 4744: _ACEOF
 4745: if ac_fn_f77_try_compile "$LINENO"; then :
 4746:   ac_cv_prog_f77_g=yes
 4747: else
 4748:   ac_cv_prog_f77_g=no
 4749: fi
 4750: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4751: 
 4752: fi
 4753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4754: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4755: if test "$ac_test_FFLAGS" = set; then
 4756:   FFLAGS=$ac_save_FFLAGS
 4757: elif test $ac_cv_prog_f77_g = yes; then
 4758:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4759:     FFLAGS="-g -O2"
 4760:   else
 4761:     FFLAGS="-g"
 4762:   fi
 4763: else
 4764:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4765:     FFLAGS="-O2"
 4766:   else
 4767:     FFLAGS=
 4768:   fi
 4769: fi
 4770: 
 4771: if test $ac_compiler_gnu = yes; then
 4772:   G77=yes
 4773: else
 4774:   G77=
 4775: fi
 4776: ac_ext=c
 4777: ac_cpp='$CPP $CPPFLAGS'
 4778: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4779: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4780: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4781: 
 4782: 
 4783: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
 4784:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 4785: fi
 4786: 
 4787: ac_ext=${ac_fc_srcext-f}
 4788: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4789: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4790: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4791: if test -n "$ac_tool_prefix"; then
 4792:   for ac_prog in gfortran
 4793:   do
 4794:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4795: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4796: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4797: $as_echo_n "checking for $ac_word... " >&6; }
 4798: if test "${ac_cv_prog_FC+set}" = set; then :
 4799:   $as_echo_n "(cached) " >&6
 4800: else
 4801:   if test -n "$FC"; then
 4802:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4803: else
 4804: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4805: for as_dir in $PATH
 4806: do
 4807:   IFS=$as_save_IFS
 4808:   test -z "$as_dir" && as_dir=.
 4809:     for ac_exec_ext in '' $ac_executable_extensions; do
 4810:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4811:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4812:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4813:     break 2
 4814:   fi
 4815: done
 4816:   done
 4817: IFS=$as_save_IFS
 4818: 
 4819: fi
 4820: fi
 4821: FC=$ac_cv_prog_FC
 4822: if test -n "$FC"; then
 4823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4824: $as_echo "$FC" >&6; }
 4825: else
 4826:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4827: $as_echo "no" >&6; }
 4828: fi
 4829: 
 4830: 
 4831:     test -n "$FC" && break
 4832:   done
 4833: fi
 4834: if test -z "$FC"; then
 4835:   ac_ct_FC=$FC
 4836:   for ac_prog in gfortran
 4837: do
 4838:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4839: set dummy $ac_prog; ac_word=$2
 4840: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4841: $as_echo_n "checking for $ac_word... " >&6; }
 4842: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
 4843:   $as_echo_n "(cached) " >&6
 4844: else
 4845:   if test -n "$ac_ct_FC"; then
 4846:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4847: else
 4848: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4849: for as_dir in $PATH
 4850: do
 4851:   IFS=$as_save_IFS
 4852:   test -z "$as_dir" && as_dir=.
 4853:     for ac_exec_ext in '' $ac_executable_extensions; do
 4854:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4855:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4856:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4857:     break 2
 4858:   fi
 4859: done
 4860:   done
 4861: IFS=$as_save_IFS
 4862: 
 4863: fi
 4864: fi
 4865: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4866: if test -n "$ac_ct_FC"; then
 4867:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4868: $as_echo "$ac_ct_FC" >&6; }
 4869: else
 4870:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4871: $as_echo "no" >&6; }
 4872: fi
 4873: 
 4874: 
 4875:   test -n "$ac_ct_FC" && break
 4876: done
 4877: 
 4878:   if test "x$ac_ct_FC" = x; then
 4879:     FC=""
 4880:   else
 4881:     case $cross_compiling:$ac_tool_warned in
 4882: yes:)
 4883: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4884: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4885: ac_tool_warned=yes ;;
 4886: esac
 4887:     FC=$ac_ct_FC
 4888:   fi
 4889: fi
 4890: 
 4891: 
 4892: # Provide some information about the compiler.
 4893: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4894: set X $ac_compile
 4895: ac_compiler=$2
 4896: for ac_option in --version -v -V -qversion; do
 4897:   { { ac_try="$ac_compiler $ac_option >&5"
 4898: case "(($ac_try" in
 4899:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4900:   *) ac_try_echo=$ac_try;;
 4901: esac
 4902: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4903: $as_echo "$ac_try_echo"; } >&5
 4904:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4905:   ac_status=$?
 4906:   if test -s conftest.err; then
 4907:     sed '10a\
 4908: ... rest of stderr output deleted ...
 4909:          10q' conftest.err >conftest.er1
 4910:     cat conftest.er1 >&5
 4911:   fi
 4912:   rm -f conftest.er1 conftest.err
 4913:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4914:   test $ac_status = 0; }
 4915: done
 4916: rm -f a.out
 4917: 
 4918: # If we don't use `.F' as extension, the preprocessor is not run on the
 4919: # input file.  (Note that this only needs to work for GNU compilers.)
 4920: ac_save_ext=$ac_ext
 4921: ac_ext=F
 4922: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 4923: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 4924: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
 4925:   $as_echo_n "(cached) " >&6
 4926: else
 4927:   cat > conftest.$ac_ext <<_ACEOF
 4928:       program main
 4929: #ifndef __GNUC__
 4930:        choke me
 4931: #endif
 4932: 
 4933:       end
 4934: _ACEOF
 4935: if ac_fn_fc_try_compile "$LINENO"; then :
 4936:   ac_compiler_gnu=yes
 4937: else
 4938:   ac_compiler_gnu=no
 4939: fi
 4940: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4941: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 4942: 
 4943: fi
 4944: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 4945: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 4946: ac_ext=$ac_save_ext
 4947: ac_test_FCFLAGS=${FCFLAGS+set}
 4948: ac_save_FCFLAGS=$FCFLAGS
 4949: FCFLAGS=
 4950: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 4951: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 4952: if test "${ac_cv_prog_fc_g+set}" = set; then :
 4953:   $as_echo_n "(cached) " >&6
 4954: else
 4955:   FCFLAGS=-g
 4956: cat > conftest.$ac_ext <<_ACEOF
 4957:       program main
 4958: 
 4959:       end
 4960: _ACEOF
 4961: if ac_fn_fc_try_compile "$LINENO"; then :
 4962:   ac_cv_prog_fc_g=yes
 4963: else
 4964:   ac_cv_prog_fc_g=no
 4965: fi
 4966: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4967: 
 4968: fi
 4969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 4970: $as_echo "$ac_cv_prog_fc_g" >&6; }
 4971: if test "$ac_test_FCFLAGS" = set; then
 4972:   FCFLAGS=$ac_save_FCFLAGS
 4973: elif test $ac_cv_prog_fc_g = yes; then
 4974:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4975:     FCFLAGS="-g -O2"
 4976:   else
 4977:     FCFLAGS="-g"
 4978:   fi
 4979: else
 4980:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4981:     FCFLAGS="-O2"
 4982:   else
 4983:     FCFLAGS=
 4984:   fi
 4985: fi
 4986: 
 4987: ac_ext=c
 4988: ac_cpp='$CPP $CPPFLAGS'
 4989: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4990: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4991: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4992: 
 4993: 
 4994: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
 4995:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 4996: fi
 4997: 
 4998: if test x"$FC" != x""; then
 4999:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5000:             awk -F. '{ printf("%s", $1);}'`
 5001:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5002:             awk -F. '{ printf("%s", $2);}'`
 5003:     if test $GCC_VERSION_MAJEURE -ge 5; then
 5004:         OPTIMISATION_F=-O3
 5005:     else
 5006:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 5007:             OPTIMISATION_F=-O3
 5008:         else
 5009:             if test $GCC_VERSION_MAJEURE -ge 3; then
 5010:                 OPTIMISATION_F=-O2
 5011:             else
 5012:                 as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
 5013:             fi
 5014:         fi
 5015:     fi
 5016: fi
 5017: 
 5018: 
 5019: ac_ext=c
 5020: ac_cpp='$CPP $CPPFLAGS'
 5021: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5022: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5023: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5025: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5026: # On Suns, sometimes $CPP names a directory.
 5027: if test -n "$CPP" && test -d "$CPP"; then
 5028:   CPP=
 5029: fi
 5030: if test -z "$CPP"; then
 5031:   if test "${ac_cv_prog_CPP+set}" = set; then :
 5032:   $as_echo_n "(cached) " >&6
 5033: else
 5034:       # Double quotes because CPP needs to be expanded
 5035:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5036:     do
 5037:       ac_preproc_ok=false
 5038: for ac_c_preproc_warn_flag in '' yes
 5039: do
 5040:   # Use a header file that comes with gcc, so configuring glibc
 5041:   # with a fresh cross-compiler works.
 5042:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5043:   # <limits.h> exists even on freestanding compilers.
 5044:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5045:   # not just through cpp. "Syntax error" is here to catch this case.
 5046:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5047: /* end confdefs.h.  */
 5048: #ifdef __STDC__
 5049: # include <limits.h>
 5050: #else
 5051: # include <assert.h>
 5052: #endif
 5053:              Syntax error
 5054: _ACEOF
 5055: if ac_fn_c_try_cpp "$LINENO"; then :
 5056: 
 5057: else
 5058:   # Broken: fails on valid input.
 5059: continue
 5060: fi
 5061: rm -f conftest.err conftest.i conftest.$ac_ext
 5062: 
 5063:   # OK, works on sane cases.  Now check whether nonexistent headers
 5064:   # can be detected and how.
 5065:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5066: /* end confdefs.h.  */
 5067: #include <ac_nonexistent.h>
 5068: _ACEOF
 5069: if ac_fn_c_try_cpp "$LINENO"; then :
 5070:   # Broken: success on invalid input.
 5071: continue
 5072: else
 5073:   # Passes both tests.
 5074: ac_preproc_ok=:
 5075: break
 5076: fi
 5077: rm -f conftest.err conftest.i conftest.$ac_ext
 5078: 
 5079: done
 5080: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5081: rm -f conftest.i conftest.err conftest.$ac_ext
 5082: if $ac_preproc_ok; then :
 5083:   break
 5084: fi
 5085: 
 5086:     done
 5087:     ac_cv_prog_CPP=$CPP
 5088: 
 5089: fi
 5090:   CPP=$ac_cv_prog_CPP
 5091: else
 5092:   ac_cv_prog_CPP=$CPP
 5093: fi
 5094: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5095: $as_echo "$CPP" >&6; }
 5096: ac_preproc_ok=false
 5097: for ac_c_preproc_warn_flag in '' yes
 5098: do
 5099:   # Use a header file that comes with gcc, so configuring glibc
 5100:   # with a fresh cross-compiler works.
 5101:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5102:   # <limits.h> exists even on freestanding compilers.
 5103:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5104:   # not just through cpp. "Syntax error" is here to catch this case.
 5105:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5106: /* end confdefs.h.  */
 5107: #ifdef __STDC__
 5108: # include <limits.h>
 5109: #else
 5110: # include <assert.h>
 5111: #endif
 5112:              Syntax error
 5113: _ACEOF
 5114: if ac_fn_c_try_cpp "$LINENO"; then :
 5115: 
 5116: else
 5117:   # Broken: fails on valid input.
 5118: continue
 5119: fi
 5120: rm -f conftest.err conftest.i conftest.$ac_ext
 5121: 
 5122:   # OK, works on sane cases.  Now check whether nonexistent headers
 5123:   # can be detected and how.
 5124:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5125: /* end confdefs.h.  */
 5126: #include <ac_nonexistent.h>
 5127: _ACEOF
 5128: if ac_fn_c_try_cpp "$LINENO"; then :
 5129:   # Broken: success on invalid input.
 5130: continue
 5131: else
 5132:   # Passes both tests.
 5133: ac_preproc_ok=:
 5134: break
 5135: fi
 5136: rm -f conftest.err conftest.i conftest.$ac_ext
 5137: 
 5138: done
 5139: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5140: rm -f conftest.i conftest.err conftest.$ac_ext
 5141: if $ac_preproc_ok; then :
 5142: 
 5143: else
 5144:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5145: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5146: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5147: See \`config.log' for more details" "$LINENO" 5 ; }
 5148: fi
 5149: 
 5150: ac_ext=c
 5151: ac_cpp='$CPP $CPPFLAGS'
 5152: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5153: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5154: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5155: 
 5156: 
 5157: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5158: $as_echo_n "checking for X... " >&6; }
 5159: 
 5160: 
 5161: # Check whether --with-x was given.
 5162: if test "${with_x+set}" = set; then :
 5163:   withval=$with_x;
 5164: fi
 5165: 
 5166: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5167: if test "x$with_x" = xno; then
 5168:   # The user explicitly disabled X.
 5169:   have_x=disabled
 5170: else
 5171:   case $x_includes,$x_libraries in #(
 5172:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
 5173:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 5174:   $as_echo_n "(cached) " >&6
 5175: else
 5176:   # One or both of the vars are not set, and there is no cached value.
 5177: ac_x_includes=no ac_x_libraries=no
 5178: rm -f -r conftest.dir
 5179: if mkdir conftest.dir; then
 5180:   cd conftest.dir
 5181:   cat >Imakefile <<'_ACEOF'
 5182: incroot:
 5183:     @echo incroot='${INCROOT}'
 5184: usrlibdir:
 5185:     @echo usrlibdir='${USRLIBDIR}'
 5186: libdir:
 5187:     @echo libdir='${LIBDIR}'
 5188: _ACEOF
 5189:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5190:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 5191:     for ac_var in incroot usrlibdir libdir; do
 5192:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5193:     done
 5194:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5195:     for ac_extension in a so sl dylib la dll; do
 5196:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5197:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5198:     ac_im_usrlibdir=$ac_im_libdir; break
 5199:       fi
 5200:     done
 5201:     # Screen out bogus values from the imake configuration.  They are
 5202:     # bogus both because they are the default anyway, and because
 5203:     # using them would break gcc on systems where it needs fixed includes.
 5204:     case $ac_im_incroot in
 5205:     /usr/include) ac_x_includes= ;;
 5206:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5207:     esac
 5208:     case $ac_im_usrlibdir in
 5209:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5210:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5211:     esac
 5212:   fi
 5213:   cd ..
 5214:   rm -f -r conftest.dir
 5215: fi
 5216: 
 5217: # Standard set of common directories for X headers.
 5218: # Check X11 before X11Rn because it is often a symlink to the current release.
 5219: ac_x_header_dirs='
 5220: /usr/X11/include
 5221: /usr/X11R7/include
 5222: /usr/X11R6/include
 5223: /usr/X11R5/include
 5224: /usr/X11R4/include
 5225: 
 5226: /usr/include/X11
 5227: /usr/include/X11R7
 5228: /usr/include/X11R6
 5229: /usr/include/X11R5
 5230: /usr/include/X11R4
 5231: 
 5232: /usr/local/X11/include
 5233: /usr/local/X11R7/include
 5234: /usr/local/X11R6/include
 5235: /usr/local/X11R5/include
 5236: /usr/local/X11R4/include
 5237: 
 5238: /usr/local/include/X11
 5239: /usr/local/include/X11R7
 5240: /usr/local/include/X11R6
 5241: /usr/local/include/X11R5
 5242: /usr/local/include/X11R4
 5243: 
 5244: /usr/X386/include
 5245: /usr/x386/include
 5246: /usr/XFree86/include/X11
 5247: 
 5248: /usr/include
 5249: /usr/local/include
 5250: /usr/unsupported/include
 5251: /usr/athena/include
 5252: /usr/local/x11r5/include
 5253: /usr/lpp/Xamples/include
 5254: 
 5255: /usr/openwin/include
 5256: /usr/openwin/share/include'
 5257: 
 5258: if test "$ac_x_includes" = no; then
 5259:   # Guess where to find include files, by looking for Xlib.h.
 5260:   # First, try using that file with no special directory specified.
 5261:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5262: /* end confdefs.h.  */
 5263: #include <X11/Xlib.h>
 5264: _ACEOF
 5265: if ac_fn_c_try_cpp "$LINENO"; then :
 5266:   # We can compile using X headers with no special include directory.
 5267: ac_x_includes=
 5268: else
 5269:   for ac_dir in $ac_x_header_dirs; do
 5270:   if test -r "$ac_dir/X11/Xlib.h"; then
 5271:     ac_x_includes=$ac_dir
 5272:     break
 5273:   fi
 5274: done
 5275: fi
 5276: rm -f conftest.err conftest.i conftest.$ac_ext
 5277: fi # $ac_x_includes = no
 5278: 
 5279: if test "$ac_x_libraries" = no; then
 5280:   # Check for the libraries.
 5281:   # See if we find them without any special options.
 5282:   # Don't add to $LIBS permanently.
 5283:   ac_save_LIBS=$LIBS
 5284:   LIBS="-lX11 $LIBS"
 5285:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5286: /* end confdefs.h.  */
 5287: #include <X11/Xlib.h>
 5288: int
 5289: main ()
 5290: {
 5291: XrmInitialize ()
 5292:   ;
 5293:   return 0;
 5294: }
 5295: _ACEOF
 5296: if ac_fn_c_try_link "$LINENO"; then :
 5297:   LIBS=$ac_save_LIBS
 5298: # We can link X programs with no special library path.
 5299: ac_x_libraries=
 5300: else
 5301:   LIBS=$ac_save_LIBS
 5302: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5303: do
 5304:   # Don't even attempt the hair of trying to link an X program!
 5305:   for ac_extension in a so sl dylib la dll; do
 5306:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5307:       ac_x_libraries=$ac_dir
 5308:       break 2
 5309:     fi
 5310:   done
 5311: done
 5312: fi
 5313: rm -f core conftest.err conftest.$ac_objext \
 5314:     conftest$ac_exeext conftest.$ac_ext
 5315: fi # $ac_x_libraries = no
 5316: 
 5317: case $ac_x_includes,$ac_x_libraries in #(
 5318:   no,* | *,no | *\'*)
 5319:     # Didn't find X, or a directory has "'" in its name.
 5320:     ac_cv_have_x="have_x=no";; #(
 5321:   *)
 5322:     # Record where we found X for the cache.
 5323:     ac_cv_have_x="have_x=yes\
 5324:     ac_x_includes='$ac_x_includes'\
 5325:     ac_x_libraries='$ac_x_libraries'"
 5326: esac
 5327: fi
 5328: ;; #(
 5329:     *) have_x=yes;;
 5330:   esac
 5331:   eval "$ac_cv_have_x"
 5332: fi # $with_x != no
 5333: 
 5334: if test "$have_x" != yes; then
 5335:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5336: $as_echo "$have_x" >&6; }
 5337:   no_x=yes
 5338: else
 5339:   # If each of the values was on the command line, it overrides each guess.
 5340:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5341:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5342:   # Update the cache value to reflect the command line values.
 5343:   ac_cv_have_x="have_x=yes\
 5344:     ac_x_includes='$x_includes'\
 5345:     ac_x_libraries='$x_libraries'"
 5346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5347: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5348: fi
 5349: 
 5350: if test "$no_x" = yes; then
 5351:   # Not all programs may use this symbol, but it does not hurt to define it.
 5352: 
 5353: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5354: 
 5355:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5356: else
 5357:   if test -n "$x_includes"; then
 5358:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5359:   fi
 5360: 
 5361:   # It would also be nice to do this for all -L options, not just this one.
 5362:   if test -n "$x_libraries"; then
 5363:     X_LIBS="$X_LIBS -L$x_libraries"
 5364:     # For Solaris; some versions of Sun CC require a space after -R and
 5365:     # others require no space.  Words are not sufficient . . . .
 5366:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5367: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5368:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5369:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5370:     ac_c_werror_flag=yes
 5371:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5372: /* end confdefs.h.  */
 5373: 
 5374: int
 5375: main ()
 5376: {
 5377: 
 5378:   ;
 5379:   return 0;
 5380: }
 5381: _ACEOF
 5382: if ac_fn_c_try_link "$LINENO"; then :
 5383:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5384: $as_echo "no" >&6; }
 5385:        X_LIBS="$X_LIBS -R$x_libraries"
 5386: else
 5387:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5388:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5389: /* end confdefs.h.  */
 5390: 
 5391: int
 5392: main ()
 5393: {
 5394: 
 5395:   ;
 5396:   return 0;
 5397: }
 5398: _ACEOF
 5399: if ac_fn_c_try_link "$LINENO"; then :
 5400:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5401: $as_echo "yes" >&6; }
 5402:       X_LIBS="$X_LIBS -R $x_libraries"
 5403: else
 5404:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5405: $as_echo "neither works" >&6; }
 5406: fi
 5407: rm -f core conftest.err conftest.$ac_objext \
 5408:     conftest$ac_exeext conftest.$ac_ext
 5409: fi
 5410: rm -f core conftest.err conftest.$ac_objext \
 5411:     conftest$ac_exeext conftest.$ac_ext
 5412:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5413:     LIBS=$ac_xsave_LIBS
 5414:   fi
 5415: 
 5416:   # Check for system-dependent libraries X programs must link with.
 5417:   # Do this before checking for the system-independent R6 libraries
 5418:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5419: 
 5420:   if test "$ISC" = yes; then
 5421:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5422:   else
 5423:     # Martyn Johnson says this is needed for Ultrix, if the X
 5424:     # libraries were built with DECnet support.  And Karl Berry says
 5425:     # the Alpha needs dnet_stub (dnet does not exist).
 5426:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5427:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5428: /* end confdefs.h.  */
 5429: 
 5430: /* Override any GCC internal prototype to avoid an error.
 5431:    Use char because int might match the return type of a GCC
 5432:    builtin and then its argument prototype would still apply.  */
 5433: #ifdef __cplusplus
 5434: extern "C"
 5435: #endif
 5436: char XOpenDisplay ();
 5437: int
 5438: main ()
 5439: {
 5440: return XOpenDisplay ();
 5441:   ;
 5442:   return 0;
 5443: }
 5444: _ACEOF
 5445: if ac_fn_c_try_link "$LINENO"; then :
 5446: 
 5447: else
 5448:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5449: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5450: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 5451:   $as_echo_n "(cached) " >&6
 5452: else
 5453:   ac_check_lib_save_LIBS=$LIBS
 5454: LIBS="-ldnet  $LIBS"
 5455: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5456: /* end confdefs.h.  */
 5457: 
 5458: /* Override any GCC internal prototype to avoid an error.
 5459:    Use char because int might match the return type of a GCC
 5460:    builtin and then its argument prototype would still apply.  */
 5461: #ifdef __cplusplus
 5462: extern "C"
 5463: #endif
 5464: char dnet_ntoa ();
 5465: int
 5466: main ()
 5467: {
 5468: return dnet_ntoa ();
 5469:   ;
 5470:   return 0;
 5471: }
 5472: _ACEOF
 5473: if ac_fn_c_try_link "$LINENO"; then :
 5474:   ac_cv_lib_dnet_dnet_ntoa=yes
 5475: else
 5476:   ac_cv_lib_dnet_dnet_ntoa=no
 5477: fi
 5478: rm -f core conftest.err conftest.$ac_objext \
 5479:     conftest$ac_exeext conftest.$ac_ext
 5480: LIBS=$ac_check_lib_save_LIBS
 5481: fi
 5482: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5483: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5484: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 5485:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5486: fi
 5487: 
 5488:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5489:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5490: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5491: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 5492:   $as_echo_n "(cached) " >&6
 5493: else
 5494:   ac_check_lib_save_LIBS=$LIBS
 5495: LIBS="-ldnet_stub  $LIBS"
 5496: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5497: /* end confdefs.h.  */
 5498: 
 5499: /* Override any GCC internal prototype to avoid an error.
 5500:    Use char because int might match the return type of a GCC
 5501:    builtin and then its argument prototype would still apply.  */
 5502: #ifdef __cplusplus
 5503: extern "C"
 5504: #endif
 5505: char dnet_ntoa ();
 5506: int
 5507: main ()
 5508: {
 5509: return dnet_ntoa ();
 5510:   ;
 5511:   return 0;
 5512: }
 5513: _ACEOF
 5514: if ac_fn_c_try_link "$LINENO"; then :
 5515:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5516: else
 5517:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5518: fi
 5519: rm -f core conftest.err conftest.$ac_objext \
 5520:     conftest$ac_exeext conftest.$ac_ext
 5521: LIBS=$ac_check_lib_save_LIBS
 5522: fi
 5523: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5524: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5525: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 5526:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5527: fi
 5528: 
 5529:     fi
 5530: fi
 5531: rm -f core conftest.err conftest.$ac_objext \
 5532:     conftest$ac_exeext conftest.$ac_ext
 5533:     LIBS="$ac_xsave_LIBS"
 5534: 
 5535:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5536:     # to get the SysV transport functions.
 5537:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5538:     # needs -lnsl.
 5539:     # The nsl library prevents programs from opening the X display
 5540:     # on Irix 5.2, according to T.E. Dickey.
 5541:     # The functions gethostbyname, getservbyname, and inet_addr are
 5542:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5543:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5544: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 5545: 
 5546: fi
 5547: 
 5548:     if test $ac_cv_func_gethostbyname = no; then
 5549:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5550: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5551: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 5552:   $as_echo_n "(cached) " >&6
 5553: else
 5554:   ac_check_lib_save_LIBS=$LIBS
 5555: LIBS="-lnsl  $LIBS"
 5556: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5557: /* end confdefs.h.  */
 5558: 
 5559: /* Override any GCC internal prototype to avoid an error.
 5560:    Use char because int might match the return type of a GCC
 5561:    builtin and then its argument prototype would still apply.  */
 5562: #ifdef __cplusplus
 5563: extern "C"
 5564: #endif
 5565: char gethostbyname ();
 5566: int
 5567: main ()
 5568: {
 5569: return gethostbyname ();
 5570:   ;
 5571:   return 0;
 5572: }
 5573: _ACEOF
 5574: if ac_fn_c_try_link "$LINENO"; then :
 5575:   ac_cv_lib_nsl_gethostbyname=yes
 5576: else
 5577:   ac_cv_lib_nsl_gethostbyname=no
 5578: fi
 5579: rm -f core conftest.err conftest.$ac_objext \
 5580:     conftest$ac_exeext conftest.$ac_ext
 5581: LIBS=$ac_check_lib_save_LIBS
 5582: fi
 5583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5584: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5585: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 5586:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5587: fi
 5588: 
 5589:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5590:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5591: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5592: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 5593:   $as_echo_n "(cached) " >&6
 5594: else
 5595:   ac_check_lib_save_LIBS=$LIBS
 5596: LIBS="-lbsd  $LIBS"
 5597: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5598: /* end confdefs.h.  */
 5599: 
 5600: /* Override any GCC internal prototype to avoid an error.
 5601:    Use char because int might match the return type of a GCC
 5602:    builtin and then its argument prototype would still apply.  */
 5603: #ifdef __cplusplus
 5604: extern "C"
 5605: #endif
 5606: char gethostbyname ();
 5607: int
 5608: main ()
 5609: {
 5610: return gethostbyname ();
 5611:   ;
 5612:   return 0;
 5613: }
 5614: _ACEOF
 5615: if ac_fn_c_try_link "$LINENO"; then :
 5616:   ac_cv_lib_bsd_gethostbyname=yes
 5617: else
 5618:   ac_cv_lib_bsd_gethostbyname=no
 5619: fi
 5620: rm -f core conftest.err conftest.$ac_objext \
 5621:     conftest$ac_exeext conftest.$ac_ext
 5622: LIBS=$ac_check_lib_save_LIBS
 5623: fi
 5624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5625: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5626: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 5627:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5628: fi
 5629: 
 5630:       fi
 5631:     fi
 5632: 
 5633:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5634:     # socket/setsockopt and other routines are undefined under SCO ODT
 5635:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5636:     # on later versions), says Simon Leinen: it contains gethostby*
 5637:     # variants that don't use the name server (or something).  -lsocket
 5638:     # must be given before -lnsl if both are needed.  We assume that
 5639:     # if connect needs -lnsl, so does gethostbyname.
 5640:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5641: if test "x$ac_cv_func_connect" = x""yes; then :
 5642: 
 5643: fi
 5644: 
 5645:     if test $ac_cv_func_connect = no; then
 5646:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5647: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5648: if test "${ac_cv_lib_socket_connect+set}" = set; then :
 5649:   $as_echo_n "(cached) " >&6
 5650: else
 5651:   ac_check_lib_save_LIBS=$LIBS
 5652: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5653: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5654: /* end confdefs.h.  */
 5655: 
 5656: /* Override any GCC internal prototype to avoid an error.
 5657:    Use char because int might match the return type of a GCC
 5658:    builtin and then its argument prototype would still apply.  */
 5659: #ifdef __cplusplus
 5660: extern "C"
 5661: #endif
 5662: char connect ();
 5663: int
 5664: main ()
 5665: {
 5666: return connect ();
 5667:   ;
 5668:   return 0;
 5669: }
 5670: _ACEOF
 5671: if ac_fn_c_try_link "$LINENO"; then :
 5672:   ac_cv_lib_socket_connect=yes
 5673: else
 5674:   ac_cv_lib_socket_connect=no
 5675: fi
 5676: rm -f core conftest.err conftest.$ac_objext \
 5677:     conftest$ac_exeext conftest.$ac_ext
 5678: LIBS=$ac_check_lib_save_LIBS
 5679: fi
 5680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5681: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5682: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 5683:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5684: fi
 5685: 
 5686:     fi
 5687: 
 5688:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5689:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5690: if test "x$ac_cv_func_remove" = x""yes; then :
 5691: 
 5692: fi
 5693: 
 5694:     if test $ac_cv_func_remove = no; then
 5695:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5696: $as_echo_n "checking for remove in -lposix... " >&6; }
 5697: if test "${ac_cv_lib_posix_remove+set}" = set; then :
 5698:   $as_echo_n "(cached) " >&6
 5699: else
 5700:   ac_check_lib_save_LIBS=$LIBS
 5701: LIBS="-lposix  $LIBS"
 5702: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5703: /* end confdefs.h.  */
 5704: 
 5705: /* Override any GCC internal prototype to avoid an error.
 5706:    Use char because int might match the return type of a GCC
 5707:    builtin and then its argument prototype would still apply.  */
 5708: #ifdef __cplusplus
 5709: extern "C"
 5710: #endif
 5711: char remove ();
 5712: int
 5713: main ()
 5714: {
 5715: return remove ();
 5716:   ;
 5717:   return 0;
 5718: }
 5719: _ACEOF
 5720: if ac_fn_c_try_link "$LINENO"; then :
 5721:   ac_cv_lib_posix_remove=yes
 5722: else
 5723:   ac_cv_lib_posix_remove=no
 5724: fi
 5725: rm -f core conftest.err conftest.$ac_objext \
 5726:     conftest$ac_exeext conftest.$ac_ext
 5727: LIBS=$ac_check_lib_save_LIBS
 5728: fi
 5729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5730: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5731: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 5732:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5733: fi
 5734: 
 5735:     fi
 5736: 
 5737:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5738:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5739: if test "x$ac_cv_func_shmat" = x""yes; then :
 5740: 
 5741: fi
 5742: 
 5743:     if test $ac_cv_func_shmat = no; then
 5744:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5745: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5746: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 5747:   $as_echo_n "(cached) " >&6
 5748: else
 5749:   ac_check_lib_save_LIBS=$LIBS
 5750: LIBS="-lipc  $LIBS"
 5751: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5752: /* end confdefs.h.  */
 5753: 
 5754: /* Override any GCC internal prototype to avoid an error.
 5755:    Use char because int might match the return type of a GCC
 5756:    builtin and then its argument prototype would still apply.  */
 5757: #ifdef __cplusplus
 5758: extern "C"
 5759: #endif
 5760: char shmat ();
 5761: int
 5762: main ()
 5763: {
 5764: return shmat ();
 5765:   ;
 5766:   return 0;
 5767: }
 5768: _ACEOF
 5769: if ac_fn_c_try_link "$LINENO"; then :
 5770:   ac_cv_lib_ipc_shmat=yes
 5771: else
 5772:   ac_cv_lib_ipc_shmat=no
 5773: fi
 5774: rm -f core conftest.err conftest.$ac_objext \
 5775:     conftest$ac_exeext conftest.$ac_ext
 5776: LIBS=$ac_check_lib_save_LIBS
 5777: fi
 5778: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5779: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5780: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 5781:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5782: fi
 5783: 
 5784:     fi
 5785:   fi
 5786: 
 5787:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5788:   ac_save_LDFLAGS=$LDFLAGS
 5789:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5790:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5791:   # check for ICE first), but we must link in the order -lSM -lICE or
 5792:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5793:   # These have to be linked with before -lX11, unlike the other
 5794:   # libraries we check for below, so use a different variable.
 5795:   # John Interrante, Karl Berry
 5796:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5797: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5798: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 5799:   $as_echo_n "(cached) " >&6
 5800: else
 5801:   ac_check_lib_save_LIBS=$LIBS
 5802: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 5803: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5804: /* end confdefs.h.  */
 5805: 
 5806: /* Override any GCC internal prototype to avoid an error.
 5807:    Use char because int might match the return type of a GCC
 5808:    builtin and then its argument prototype would still apply.  */
 5809: #ifdef __cplusplus
 5810: extern "C"
 5811: #endif
 5812: char IceConnectionNumber ();
 5813: int
 5814: main ()
 5815: {
 5816: return IceConnectionNumber ();
 5817:   ;
 5818:   return 0;
 5819: }
 5820: _ACEOF
 5821: if ac_fn_c_try_link "$LINENO"; then :
 5822:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5823: else
 5824:   ac_cv_lib_ICE_IceConnectionNumber=no
 5825: fi
 5826: rm -f core conftest.err conftest.$ac_objext \
 5827:     conftest$ac_exeext conftest.$ac_ext
 5828: LIBS=$ac_check_lib_save_LIBS
 5829: fi
 5830: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 5831: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5832: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 5833:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5834: fi
 5835: 
 5836:   LDFLAGS=$ac_save_LDFLAGS
 5837: 
 5838: fi
 5839: 
 5840: 
 5841: if test "$ac_x_includes" != "no"; then
 5842:     if test x"$ac_x_includes" != x; then
 5843:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5844:         includeX="-I$ac_x_includes"
 5845:     fi
 5846: fi
 5847: if test "$ac_x_libraries" != "no"; then
 5848:     if test x"$ac_x_libraries" != x; then
 5849:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5850:     fi
 5851: fi
 5852: 
 5853: # Check whether --enable-optimization was given.
 5854: if test "${enable_optimization+set}" = set; then :
 5855:   enableval=$enable_optimization;
 5856: if test "$enableval" = "no"; then
 5857:     CFLAGS=
 5858:     FFLAGS=
 5859:     CXXFLAGS=
 5860:     FCFLAGS=
 5861: else
 5862:     CFLAGS="$CFLAGS $enable_optimization"
 5863:     FFLAGS="$FFLAGS $enable_optimization"
 5864:     FCFLAGS="$FCFLAGS $enable_optimization"
 5865: fi
 5866: else
 5867: 
 5868:     CFLAGS="$CFLAGS $OPTIMISATION_C"
 5869:     FFLAGS="$FFLAGS $OPTIMISATION_F"
 5870:     FCFLAGS="$FCFLAGS $OPTIMISATION_F"
 5871: 
 5872: 
 5873: fi
 5874: 
 5875: 
 5876: # Check whether --enable-sysv-semaphores was given.
 5877: if test "${enable_sysv_semaphores+set}" = set; then :
 5878:   enableval=$enable_sysv_semaphores;
 5879: if test "$enableval" = "no"; then
 5880:     IPCS_SYSV=no
 5881: else
 5882:     IPCS_SYSV=yes
 5883: fi
 5884: else
 5885:   IPCS_SYSV=no
 5886: fi
 5887: 
 5888: 
 5889: # Check whether --enable-full-static was given.
 5890: if test "${enable_full_static+set}" = set; then :
 5891:   enableval=$enable_full_static;
 5892: if test "$enableval" = "no"; then
 5893:     STATIC=no
 5894: else
 5895:     STATIC=yes
 5896: fi
 5897: else
 5898:   STATIC=no
 5899: fi
 5900: 
 5901: 
 5902: # Check whether --enable-final-encoding was given.
 5903: if test "${enable_final_encoding+set}" = set; then :
 5904:   enableval=$enable_final_encoding;
 5905: if test "$enableval" = "no"; then
 5906:     FINAL_ENCODING="\$(shell locale charmap | \
 5907:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5908:     FORCED_FINAL_ENCODING=0
 5909: else
 5910:     FINAL_ENCODING="$enable_final_encoding"
 5911:     FORCED_FINAL_ENCODING=1
 5912: fi
 5913: else
 5914: 
 5915: FORCED_FINAL_ENCODING=0
 5916: FINAL_ENCODING="\$(shell locale charmap | \
 5917:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5918: fi
 5919: 
 5920: 
 5921: # Check whether --enable-tex was given.
 5922: if test "${enable_tex+set}" = set; then :
 5923:   enableval=$enable_tex;
 5924: if test "$enableval" = "no"; then
 5925:     TEX_SUPPORT=no
 5926: else
 5927:     TEX_SUPPORT=yes
 5928: fi
 5929: else
 5930:   TEX_SUPPORT=guessed
 5931: fi
 5932: 
 5933: 
 5934: # Check whether --enable-vim was given.
 5935: if test "${enable_vim+set}" = set; then :
 5936:   enableval=$enable_vim;
 5937: if test "$enableval" = "no"; then
 5938:     VIM_SUPPORT=no
 5939: else
 5940:     VIM_SUPPORT=yes
 5941: fi
 5942: else
 5943:   VIM_SUPPORT=guessed
 5944: fi
 5945: 
 5946: 
 5947: # Check whether --enable-embedded-gnuplot was given.
 5948: if test "${enable_embedded_gnuplot+set}" = set; then :
 5949:   enableval=$enable_embedded_gnuplot;
 5950: if test "$enableval" = "no"; then
 5951:     MYGNUPLOT=no
 5952: else
 5953:     MYGNUPLOT=yes
 5954: fi
 5955: else
 5956: 
 5957: MYGNUPLOT=yes
 5958: fi
 5959: 
 5960: 
 5961: # Check whether --enable-gnuplot was given.
 5962: if test "${enable_gnuplot+set}" = set; then :
 5963:   enableval=$enable_gnuplot;
 5964: if test "$enableval" = "no"; then
 5965:     GNUPLOT_SUPPORT=no
 5966:     MYGNUPLOT=no
 5967:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5968: else
 5969:     GNUPLOT_SUPPORT=yes
 5970:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5971: fi
 5972: else
 5973: 
 5974: if test "$MYGNUPLOT" = "yes"; then
 5975:     GNUPLOT_SUPPORT=yes
 5976:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5977: else
 5978:     GNUPLOT_SUPPORT=guessed
 5979:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5980: fi
 5981: fi
 5982: 
 5983: 
 5984: # Check whether --enable-motif was given.
 5985: if test "${enable_motif+set}" = set; then :
 5986:   enableval=$enable_motif;
 5987: if test "$enableval" = "no"; then
 5988:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 5989: else
 5990:     CFLAGS_ORIG=$CFLAGS
 5991:     LIBS_ORIG=$LIBS
 5992:     CFLAGS="$CFLAGS $X_CFLAGS"
 5993:     LIBS="$LIB $X_LIBS"
 5994:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 5995: $as_echo_n "checking for main in -lXm... " >&6; }
 5996: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 5997:   $as_echo_n "(cached) " >&6
 5998: else
 5999:   ac_check_lib_save_LIBS=$LIBS
 6000: LIBS="-lXm  $LIBS"
 6001: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6002: /* end confdefs.h.  */
 6003: 
 6004: 
 6005: int
 6006: main ()
 6007: {
 6008: return main ();
 6009:   ;
 6010:   return 0;
 6011: }
 6012: _ACEOF
 6013: if ac_fn_c_try_link "$LINENO"; then :
 6014:   ac_cv_lib_Xm_main=yes
 6015: else
 6016:   ac_cv_lib_Xm_main=no
 6017: fi
 6018: rm -f core conftest.err conftest.$ac_objext \
 6019:     conftest$ac_exeext conftest.$ac_ext
 6020: LIBS=$ac_check_lib_save_LIBS
 6021: fi
 6022: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6023: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6024: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 6025:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6026: else
 6027:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6028: fi
 6029: 
 6030:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6031:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
 6032: Motif flag is disabled.
 6033: " >&5
 6034: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
 6035: Motif flag is disabled.
 6036: " >&2;}
 6037:     fi
 6038:     LIBS=$LIBS_ORIG
 6039:     CFLAGS=$CFLAGS_ORIG
 6040: fi
 6041: else
 6042:   MOTIF_SUPPORT=guessed
 6043: fi
 6044: 
 6045: 
 6046: # Check whether --enable-experimental was given.
 6047: if test "${enable_experimental+set}" = set; then :
 6048:   enableval=$enable_experimental;
 6049: if test "$enableval" = "no"; then
 6050:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6051: else
 6052:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6053: fi
 6054: else
 6055:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6056: fi
 6057: 
 6058: 
 6059: # Check whether --enable-debug was given.
 6060: if test "${enable_debug+set}" = set; then :
 6061:   enableval=$enable_debug;
 6062: if test "$enableval" = "no"; then
 6063:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6064: else
 6065:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6066: fi
 6067: else
 6068:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6069: fi
 6070: 
 6071: 
 6072: # Check whether --enable-profile was given.
 6073: if test "${enable_profile+set}" = set; then :
 6074:   enableval=$enable_profile;
 6075: if test "$enableval" = "no"; then
 6076:     PROFILAGE=""
 6077: else
 6078:     PROFILAGE="-pg"
 6079: fi
 6080: else
 6081:   PROFILAGE=""
 6082: fi
 6083: 
 6084: 
 6085: 
 6086: 
 6087: if test ! -d tools; then
 6088:     mkdir tools
 6089: fi
 6090: if test ! -d "$srcdir"/tools/$NCURSES; then
 6091:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6092:             (cd "$srcdir/tools" && tar -xf -)
 6093:     (cd "$srcdir/tools/"$NCURSES && \
 6094:             for i in ../$NCURSES*.patch.gz;
 6095:             do gunzip -c $i | patch -p1;
 6096:             done);
 6097: fi
 6098: if test ! -d "$srcdir"/tools/$READLINE; then
 6099:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6100:             (cd "$srcdir/tools" && tar -xf -)
 6101: fi
 6102: if test ! -d "$srcdir"/tools/$UNITS; then
 6103:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6104:             (cd "$srcdir/tools" && tar -xf -)
 6105: fi
 6106: if test ! -d "$srcdir"/tools/$GSL; then
 6107:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6108:             (cd "$srcdir/tools" && tar -xf -)
 6109:     if test $(uname) = "OS/2"; then
 6110:         (cd "$srcdir"/tools/$GSL; \
 6111:                 TMP=$(mktemp tmp.XXXXXXXXXX); \
 6112:                 sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
 6113:                 \mv -f $TMP ltmain.sh)
 6114:     fi
 6115: fi
 6116: if test ! -d "$srcdir"/tools/$GPP; then
 6117:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6118:             (cd "$srcdir/tools" && tar -xf -)
 6119: fi
 6120: if test ! -d "$srcdir"/tools/$FILE; then
 6121:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6122:             (cd "$srcdir/tools" && tar -xf - )
 6123:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6124: fi
 6125: if test ! -d "$srcdir"/tools/$ICONV; then
 6126:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6127:             (cd "$srcdir/tools" && tar -xf -)
 6128: fi
 6129: if test ! -d "$srcdir"/tools/$SQLITE; then
 6130:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6131:             (cd "$srcdir/tools" && tar -xf -)
 6132: fi
 6133: if test ! -d tools/$OPENSSL; then
 6134:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6135:             (cd tools && tar -xf -)
 6136: fi
 6137: if test ! -d rplcas; then
 6138:     mkdir rplcas
 6139: fi
 6140: if test ! -d "$srcdir"/rplcas/$GMP; then
 6141:     gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
 6142:             (cd "$srcdir/rplcas" && tar -xf -)
 6143: fi
 6144: if test ! -d "$srcdir"/rplcas/$MPFR; then
 6145:     gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
 6146:             (cd "$srcdir/rplcas" && tar -xf -)
 6147: fi
 6148: 
 6149: 
 6150: 
 6151: # Check whether --enable-final-run-path was given.
 6152: if test "${enable_final_run_path+set}" = set; then :
 6153:   enableval=$enable_final_run_path;
 6154:     if test "x$enable_final_run_path" = "x"; then
 6155:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6156: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6157:         as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
 6158:     else
 6159:         RUNPATH="$enable_final_run_path"
 6160:     fi
 6161: 
 6162: else
 6163:   RUNPATH="\${prefix}"
 6164: 
 6165: fi
 6166: 
 6167: 
 6168: 
 6169: 
 6170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6171: $as_echo_n "checking whether ln -s works... " >&6; }
 6172: LN_S=$as_ln_s
 6173: if test "$LN_S" = "ln -s"; then
 6174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6175: $as_echo "yes" >&6; }
 6176: else
 6177:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6178: $as_echo "no, using $LN_S" >&6; }
 6179: fi
 6180: 
 6181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6182: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6183: set x ${MAKE-make}
 6184: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6185: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 6186:   $as_echo_n "(cached) " >&6
 6187: else
 6188:   cat >conftest.make <<\_ACEOF
 6189: SHELL = /bin/sh
 6190: all:
 6191:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6192: _ACEOF
 6193: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 6194: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6195:   *@@@%%%=?*=@@@%%%*)
 6196:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6197:   *)
 6198:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6199: esac
 6200: rm -f conftest.make
 6201: fi
 6202: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6203:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6204: $as_echo "yes" >&6; }
 6205:   SET_MAKE=
 6206: else
 6207:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6208: $as_echo "no" >&6; }
 6209:   SET_MAKE="MAKE=${MAKE-make}"
 6210: fi
 6211: 
 6212: if test -n "$ac_tool_prefix"; then
 6213:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6214: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6216: $as_echo_n "checking for $ac_word... " >&6; }
 6217: if test "${ac_cv_prog_RANLIB+set}" = set; then :
 6218:   $as_echo_n "(cached) " >&6
 6219: else
 6220:   if test -n "$RANLIB"; then
 6221:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6222: else
 6223: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6224: for as_dir in $PATH
 6225: do
 6226:   IFS=$as_save_IFS
 6227:   test -z "$as_dir" && as_dir=.
 6228:     for ac_exec_ext in '' $ac_executable_extensions; do
 6229:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6230:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6231:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6232:     break 2
 6233:   fi
 6234: done
 6235:   done
 6236: IFS=$as_save_IFS
 6237: 
 6238: fi
 6239: fi
 6240: RANLIB=$ac_cv_prog_RANLIB
 6241: if test -n "$RANLIB"; then
 6242:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6243: $as_echo "$RANLIB" >&6; }
 6244: else
 6245:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6246: $as_echo "no" >&6; }
 6247: fi
 6248: 
 6249: 
 6250: fi
 6251: if test -z "$ac_cv_prog_RANLIB"; then
 6252:   ac_ct_RANLIB=$RANLIB
 6253:   # Extract the first word of "ranlib", so it can be a program name with args.
 6254: set dummy ranlib; ac_word=$2
 6255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6256: $as_echo_n "checking for $ac_word... " >&6; }
 6257: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 6258:   $as_echo_n "(cached) " >&6
 6259: else
 6260:   if test -n "$ac_ct_RANLIB"; then
 6261:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6262: else
 6263: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6264: for as_dir in $PATH
 6265: do
 6266:   IFS=$as_save_IFS
 6267:   test -z "$as_dir" && as_dir=.
 6268:     for ac_exec_ext in '' $ac_executable_extensions; do
 6269:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6270:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6271:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6272:     break 2
 6273:   fi
 6274: done
 6275:   done
 6276: IFS=$as_save_IFS
 6277: 
 6278: fi
 6279: fi
 6280: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6281: if test -n "$ac_ct_RANLIB"; then
 6282:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6283: $as_echo "$ac_ct_RANLIB" >&6; }
 6284: else
 6285:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6286: $as_echo "no" >&6; }
 6287: fi
 6288: 
 6289:   if test "x$ac_ct_RANLIB" = x; then
 6290:     RANLIB=":"
 6291:   else
 6292:     case $cross_compiling:$ac_tool_warned in
 6293: yes:)
 6294: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6295: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6296: ac_tool_warned=yes ;;
 6297: esac
 6298:     RANLIB=$ac_ct_RANLIB
 6299:   fi
 6300: else
 6301:   RANLIB="$ac_cv_prog_RANLIB"
 6302: fi
 6303: 
 6304: 
 6305: # Extract the first word of "nawk", so it can be a program name with args.
 6306: set dummy nawk; ac_word=$2
 6307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6308: $as_echo_n "checking for $ac_word... " >&6; }
 6309: if test "${ac_cv_prog_AWK+set}" = set; then :
 6310:   $as_echo_n "(cached) " >&6
 6311: else
 6312:   if test -n "$AWK"; then
 6313:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6314: else
 6315: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6316: for as_dir in $PATH
 6317: do
 6318:   IFS=$as_save_IFS
 6319:   test -z "$as_dir" && as_dir=.
 6320:     for ac_exec_ext in '' $ac_executable_extensions; do
 6321:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6322:     ac_cv_prog_AWK="yes"
 6323:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6324:     break 2
 6325:   fi
 6326: done
 6327:   done
 6328: IFS=$as_save_IFS
 6329: 
 6330:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6331: fi
 6332: fi
 6333: AWK=$ac_cv_prog_AWK
 6334: if test -n "$AWK"; then
 6335:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6336: $as_echo "$AWK" >&6; }
 6337: else
 6338:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6339: $as_echo "no" >&6; }
 6340: fi
 6341: 
 6342: 
 6343: if test "$AWK" = no; then
 6344:     # Extract the first word of "gawk", so it can be a program name with args.
 6345: set dummy gawk; ac_word=$2
 6346: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6347: $as_echo_n "checking for $ac_word... " >&6; }
 6348: if test "${ac_cv_prog_AWK+set}" = set; then :
 6349:   $as_echo_n "(cached) " >&6
 6350: else
 6351:   if test -n "$AWK"; then
 6352:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6353: else
 6354: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6355: for as_dir in $PATH
 6356: do
 6357:   IFS=$as_save_IFS
 6358:   test -z "$as_dir" && as_dir=.
 6359:     for ac_exec_ext in '' $ac_executable_extensions; do
 6360:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6361:     ac_cv_prog_AWK="yes"
 6362:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6363:     break 2
 6364:   fi
 6365: done
 6366:   done
 6367: IFS=$as_save_IFS
 6368: 
 6369:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6370: fi
 6371: fi
 6372: AWK=$ac_cv_prog_AWK
 6373: if test -n "$AWK"; then
 6374:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6375: $as_echo "$AWK" >&6; }
 6376: else
 6377:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6378: $as_echo "no" >&6; }
 6379: fi
 6380: 
 6381: 
 6382:     if test "$AWK" = no; then
 6383:         as_fn_error $? "Can not find nawk !" "$LINENO" 5
 6384:     fi
 6385: fi
 6386: 
 6387: # Extract the first word of "sed", so it can be a program name with args.
 6388: set dummy sed; ac_word=$2
 6389: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6390: $as_echo_n "checking for $ac_word... " >&6; }
 6391: if test "${ac_cv_prog_SED+set}" = set; then :
 6392:   $as_echo_n "(cached) " >&6
 6393: else
 6394:   if test -n "$SED"; then
 6395:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6396: else
 6397: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6398: for as_dir in $PATH
 6399: do
 6400:   IFS=$as_save_IFS
 6401:   test -z "$as_dir" && as_dir=.
 6402:     for ac_exec_ext in '' $ac_executable_extensions; do
 6403:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6404:     ac_cv_prog_SED="yes"
 6405:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6406:     break 2
 6407:   fi
 6408: done
 6409:   done
 6410: IFS=$as_save_IFS
 6411: 
 6412:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6413: fi
 6414: fi
 6415: SED=$ac_cv_prog_SED
 6416: if test -n "$SED"; then
 6417:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6418: $as_echo "$SED" >&6; }
 6419: else
 6420:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6421: $as_echo "no" >&6; }
 6422: fi
 6423: 
 6424: 
 6425: if test "$SED" = no; then
 6426:     as_fn_error $? "Can not find sed !" "$LINENO" 5
 6427: fi
 6428: 
 6429: if test "$TEX_SUPPORT" = guessed; then
 6430:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6431: 
 6432:     # Extract the first word of "tex", so it can be a program name with args.
 6433: set dummy tex; ac_word=$2
 6434: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6435: $as_echo_n "checking for $ac_word... " >&6; }
 6436: if test "${ac_cv_prog_TEX+set}" = set; then :
 6437:   $as_echo_n "(cached) " >&6
 6438: else
 6439:   if test -n "$TEX"; then
 6440:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6441: else
 6442: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6443: for as_dir in $PATH
 6444: do
 6445:   IFS=$as_save_IFS
 6446:   test -z "$as_dir" && as_dir=.
 6447:     for ac_exec_ext in '' $ac_executable_extensions; do
 6448:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6449:     ac_cv_prog_TEX="yes"
 6450:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6451:     break 2
 6452:   fi
 6453: done
 6454:   done
 6455: IFS=$as_save_IFS
 6456: 
 6457:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6458: fi
 6459: fi
 6460: TEX=$ac_cv_prog_TEX
 6461: if test -n "$TEX"; then
 6462:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6463: $as_echo "$TEX" >&6; }
 6464: else
 6465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6466: $as_echo "no" >&6; }
 6467: fi
 6468: 
 6469: 
 6470:     if test "$TEX" = no; then
 6471:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6472: Download at http://tex.loria.fr/
 6473: " >&5
 6474: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6475: Download at http://tex.loria.fr/
 6476: " >&2;}
 6477:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6478:     fi
 6479: 
 6480:     # Extract the first word of "latex", so it can be a program name with args.
 6481: set dummy latex; ac_word=$2
 6482: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6483: $as_echo_n "checking for $ac_word... " >&6; }
 6484: if test "${ac_cv_prog_LATEX+set}" = set; then :
 6485:   $as_echo_n "(cached) " >&6
 6486: else
 6487:   if test -n "$LATEX"; then
 6488:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6489: else
 6490: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6491: for as_dir in $PATH
 6492: do
 6493:   IFS=$as_save_IFS
 6494:   test -z "$as_dir" && as_dir=.
 6495:     for ac_exec_ext in '' $ac_executable_extensions; do
 6496:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6497:     ac_cv_prog_LATEX="yes"
 6498:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6499:     break 2
 6500:   fi
 6501: done
 6502:   done
 6503: IFS=$as_save_IFS
 6504: 
 6505:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6506: fi
 6507: fi
 6508: LATEX=$ac_cv_prog_LATEX
 6509: if test -n "$LATEX"; then
 6510:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6511: $as_echo "$LATEX" >&6; }
 6512: else
 6513:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6514: $as_echo "no" >&6; }
 6515: fi
 6516: 
 6517: 
 6518:     if test "$LATEX" = no; then
 6519:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6520: Download at http://tex.loria.fr/
 6521: " >&5
 6522: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6523: Download at http://tex.loria.fr/
 6524: " >&2;}
 6525:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6526:     fi
 6527: 
 6528:     # Extract the first word of "dvips", so it can be a program name with args.
 6529: set dummy dvips; ac_word=$2
 6530: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6531: $as_echo_n "checking for $ac_word... " >&6; }
 6532: if test "${ac_cv_prog_DVIPS+set}" = set; then :
 6533:   $as_echo_n "(cached) " >&6
 6534: else
 6535:   if test -n "$DVIPS"; then
 6536:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6537: else
 6538: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6539: for as_dir in $PATH
 6540: do
 6541:   IFS=$as_save_IFS
 6542:   test -z "$as_dir" && as_dir=.
 6543:     for ac_exec_ext in '' $ac_executable_extensions; do
 6544:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6545:     ac_cv_prog_DVIPS="yes"
 6546:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6547:     break 2
 6548:   fi
 6549: done
 6550:   done
 6551: IFS=$as_save_IFS
 6552: 
 6553:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6554: fi
 6555: fi
 6556: DVIPS=$ac_cv_prog_DVIPS
 6557: if test -n "$DVIPS"; then
 6558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6559: $as_echo "$DVIPS" >&6; }
 6560: else
 6561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6562: $as_echo "no" >&6; }
 6563: fi
 6564: 
 6565: 
 6566:     if test "$DVIPS" = no; then
 6567:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6568: Download at http://tex.loria.fr/
 6569: " >&5
 6570: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6571: Download at http://tex.loria.fr/
 6572: " >&2;}
 6573:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6574:     fi
 6575: 
 6576:     # Extract the first word of "gs", so it can be a program name with args.
 6577: set dummy gs; ac_word=$2
 6578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6579: $as_echo_n "checking for $ac_word... " >&6; }
 6580: if test "${ac_cv_prog_GS+set}" = set; then :
 6581:   $as_echo_n "(cached) " >&6
 6582: else
 6583:   if test -n "$GS"; then
 6584:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6585: else
 6586: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6587: for as_dir in $PATH
 6588: do
 6589:   IFS=$as_save_IFS
 6590:   test -z "$as_dir" && as_dir=.
 6591:     for ac_exec_ext in '' $ac_executable_extensions; do
 6592:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6593:     ac_cv_prog_GS="yes"
 6594:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6595:     break 2
 6596:   fi
 6597: done
 6598:   done
 6599: IFS=$as_save_IFS
 6600: 
 6601:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6602: fi
 6603: fi
 6604: GS=$ac_cv_prog_GS
 6605: if test -n "$GS"; then
 6606:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6607: $as_echo "$GS" >&6; }
 6608: else
 6609:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6610: $as_echo "no" >&6; }
 6611: fi
 6612: 
 6613: 
 6614:     if test "$GS" = no; then
 6615:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6616: Download at http://ftp.lip6.fr/
 6617: " >&5
 6618: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6619: Download at http://ftp.lip6.fr/
 6620: " >&2;}
 6621:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6622:     fi
 6623: 
 6624:     # Extract the first word of "gv", so it can be a program name with args.
 6625: set dummy gv; ac_word=$2
 6626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6627: $as_echo_n "checking for $ac_word... " >&6; }
 6628: if test "${ac_cv_prog_GV+set}" = set; then :
 6629:   $as_echo_n "(cached) " >&6
 6630: else
 6631:   if test -n "$GV"; then
 6632:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6633: else
 6634: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6635: for as_dir in $PATH
 6636: do
 6637:   IFS=$as_save_IFS
 6638:   test -z "$as_dir" && as_dir=.
 6639:     for ac_exec_ext in '' $ac_executable_extensions; do
 6640:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6641:     ac_cv_prog_GV="yes"
 6642:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6643:     break 2
 6644:   fi
 6645: done
 6646:   done
 6647: IFS=$as_save_IFS
 6648: 
 6649:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 6650: fi
 6651: fi
 6652: GV=$ac_cv_prog_GV
 6653: if test -n "$GV"; then
 6654:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 6655: $as_echo "$GV" >&6; }
 6656: else
 6657:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6658: $as_echo "no" >&6; }
 6659: fi
 6660: 
 6661: 
 6662:     if test "$GV" = no; then
 6663:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 6664: Download at http://ftp.lip6.fr/
 6665: " >&5
 6666: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 6667: Download at http://ftp.lip6.fr/
 6668: " >&2;}
 6669:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6670:     fi
 6671: else
 6672:     if test "$TEX_SUPPORT" = no; then
 6673:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6674:     else
 6675:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6676:     fi
 6677: fi
 6678: 
 6679: if test "$GNUPLOT_SUPPORT" = guessed; then
 6680:     # Extract the first word of "gnuplot", so it can be a program name with args.
 6681: set dummy gnuplot; ac_word=$2
 6682: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6683: $as_echo_n "checking for $ac_word... " >&6; }
 6684: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
 6685:   $as_echo_n "(cached) " >&6
 6686: else
 6687:   if test -n "$GNUPLOT_P"; then
 6688:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 6689: else
 6690: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6691: for as_dir in $PATH
 6692: do
 6693:   IFS=$as_save_IFS
 6694:   test -z "$as_dir" && as_dir=.
 6695:     for ac_exec_ext in '' $ac_executable_extensions; do
 6696:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6697:     ac_cv_prog_GNUPLOT_P="yes"
 6698:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6699:     break 2
 6700:   fi
 6701: done
 6702:   done
 6703: IFS=$as_save_IFS
 6704: 
 6705:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 6706: fi
 6707: fi
 6708: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 6709: if test -n "$GNUPLOT_P"; then
 6710:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 6711: $as_echo "$GNUPLOT_P" >&6; }
 6712: else
 6713:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6714: $as_echo "no" >&6; }
 6715: fi
 6716: 
 6717: 
 6718:     if test "$GNUPLOT_P" = no; then
 6719:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 6720: Download at http://www.gnuplot.vt.edu/
 6721: " >&5
 6722: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 6723: Download at http://www.gnuplot.vt.edu/
 6724: " >&2;}
 6725:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6726:     else
 6727:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6728:     fi
 6729: else
 6730:     if test "$GNUPLOT_SUPPORT" = no; then
 6731:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6732:     else
 6733:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6734:     fi
 6735: fi
 6736: 
 6737: if test "$VIM_SUPPORT" = guessed; then
 6738:     # Extract the first word of "vim", so it can be a program name with args.
 6739: set dummy vim; ac_word=$2
 6740: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6741: $as_echo_n "checking for $ac_word... " >&6; }
 6742: if test "${ac_cv_prog_VIM+set}" = set; then :
 6743:   $as_echo_n "(cached) " >&6
 6744: else
 6745:   if test -n "$VIM"; then
 6746:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 6747: else
 6748: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6749: for as_dir in $PATH
 6750: do
 6751:   IFS=$as_save_IFS
 6752:   test -z "$as_dir" && as_dir=.
 6753:     for ac_exec_ext in '' $ac_executable_extensions; do
 6754:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6755:     ac_cv_prog_VIM="yes"
 6756:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6757:     break 2
 6758:   fi
 6759: done
 6760:   done
 6761: IFS=$as_save_IFS
 6762: 
 6763:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 6764: fi
 6765: fi
 6766: VIM=$ac_cv_prog_VIM
 6767: if test -n "$VIM"; then
 6768:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 6769: $as_echo "$VIM" >&6; }
 6770: else
 6771:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6772: $as_echo "no" >&6; }
 6773: fi
 6774: 
 6775: 
 6776:     if test "$VIM" = no; then
 6777:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 6778: Download at http://www.vim.org/
 6779: " >&5
 6780: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 6781: Download at http://www.vim.org/
 6782: " >&2;}
 6783:         VIM_SUPPORT="-UVIM_SUPPORT"
 6784:     else
 6785:         VIM_SUPPORT="-DVIM_SUPPORT"
 6786:     fi
 6787: else
 6788:     if test "$VIM_SUPPORT" = no; then
 6789:         VIM_SUPPORT="-UVIM_SUPPORT"
 6790:     else
 6791:         VIM_SUPPORT="-DVIM_SUPPORT"
 6792:     fi
 6793: fi
 6794: 
 6795: if test "$MOTIF_SUPPORT" = guessed; then
 6796:     CFLAGS_ORIG=$CFLAGS
 6797:     LIBS_ORIG=$LIBS
 6798:     CFLAGS="$CFLAGS $X_CFLAGS"
 6799:     LIBS="$LIB $X_LIBS"
 6800:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6801: $as_echo_n "checking for main in -lXm... " >&6; }
 6802: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 6803:   $as_echo_n "(cached) " >&6
 6804: else
 6805:   ac_check_lib_save_LIBS=$LIBS
 6806: LIBS="-lXm  $LIBS"
 6807: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6808: /* end confdefs.h.  */
 6809: 
 6810: 
 6811: int
 6812: main ()
 6813: {
 6814: return main ();
 6815:   ;
 6816:   return 0;
 6817: }
 6818: _ACEOF
 6819: if ac_fn_c_try_link "$LINENO"; then :
 6820:   ac_cv_lib_Xm_main=yes
 6821: else
 6822:   ac_cv_lib_Xm_main=no
 6823: fi
 6824: rm -f core conftest.err conftest.$ac_objext \
 6825:     conftest$ac_exeext conftest.$ac_ext
 6826: LIBS=$ac_check_lib_save_LIBS
 6827: fi
 6828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6829: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6830: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 6831:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6832: else
 6833:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6834: fi
 6835: 
 6836:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6837:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
 6838: Motif flag is disabled.
 6839: " >&5
 6840: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
 6841: Motif flag is disabled.
 6842: " >&2;}
 6843:     fi
 6844:     LIBS=$LIBS_ORIG
 6845:     CFLAGS=$CFLAGS_ORIG
 6846: fi
 6847: 
 6848: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6849:     CFLAGS_ORIG=$CFLAGS
 6850:     LIBS_ORIG=$LIBS
 6851:     CFLAGS="$CFLAGS $X_CFLAGS"
 6852:     LIBS="$LIB $X_LIBS"
 6853:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
 6854: $as_echo_n "checking for main in -lXpm... " >&6; }
 6855: if test "${ac_cv_lib_Xpm_main+set}" = set; then :
 6856:   $as_echo_n "(cached) " >&6
 6857: else
 6858:   ac_check_lib_save_LIBS=$LIBS
 6859: LIBS="-lXpm  $LIBS"
 6860: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6861: /* end confdefs.h.  */
 6862: 
 6863: 
 6864: int
 6865: main ()
 6866: {
 6867: return main ();
 6868:   ;
 6869:   return 0;
 6870: }
 6871: _ACEOF
 6872: if ac_fn_c_try_link "$LINENO"; then :
 6873:   ac_cv_lib_Xpm_main=yes
 6874: else
 6875:   ac_cv_lib_Xpm_main=no
 6876: fi
 6877: rm -f core conftest.err conftest.$ac_objext \
 6878:     conftest$ac_exeext conftest.$ac_ext
 6879: LIBS=$ac_check_lib_save_LIBS
 6880: fi
 6881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
 6882: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
 6883: if test "x$ac_cv_lib_Xpm_main" = x""yes; then :
 6884:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6885: else
 6886:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6887: fi
 6888: 
 6889:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6890:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 6891:     else
 6892:         libX=""
 6893:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
 6894: Motif flag is disabled.
 6895: " >&5
 6896: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 6897: Motif flag is disabled.
 6898: " >&2;}
 6899:     fi
 6900:     LIBS=$LIBS_ORIG
 6901:     CFLAGS=$CFLAGS_ORIG
 6902: else
 6903:     libX=""
 6904: fi
 6905: 
 6906: 
 6907: 
 6908: 
 6909: 
 6910: 
 6911: 
 6912: 
 6913: 
 6914: 
 6915: 
 6916: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 6917: 
 6918: 
 6919: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 6920: $as_echo_n "checking for main in -lm... " >&6; }
 6921: if test "${ac_cv_lib_m_main+set}" = set; then :
 6922:   $as_echo_n "(cached) " >&6
 6923: else
 6924:   ac_check_lib_save_LIBS=$LIBS
 6925: LIBS="-lm  $LIBS"
 6926: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6927: /* end confdefs.h.  */
 6928: 
 6929: 
 6930: int
 6931: main ()
 6932: {
 6933: return main ();
 6934:   ;
 6935:   return 0;
 6936: }
 6937: _ACEOF
 6938: if ac_fn_c_try_link "$LINENO"; then :
 6939:   ac_cv_lib_m_main=yes
 6940: else
 6941:   ac_cv_lib_m_main=no
 6942: fi
 6943: rm -f core conftest.err conftest.$ac_objext \
 6944:     conftest$ac_exeext conftest.$ac_ext
 6945: LIBS=$ac_check_lib_save_LIBS
 6946: fi
 6947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 6948: $as_echo "$ac_cv_lib_m_main" >&6; }
 6949: if test "x$ac_cv_lib_m_main" = x""yes; then :
 6950:   cat >>confdefs.h <<_ACEOF
 6951: #define HAVE_LIBM 1
 6952: _ACEOF
 6953: 
 6954:   LIBS="-lm $LIBS"
 6955: 
 6956: else
 6957:   as_fn_error $? "Can not find libm !" "$LINENO" 5
 6958: fi
 6959: 
 6960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 6961: $as_echo_n "checking for main in -lpthread... " >&6; }
 6962: if test "${ac_cv_lib_pthread_main+set}" = set; then :
 6963:   $as_echo_n "(cached) " >&6
 6964: else
 6965:   ac_check_lib_save_LIBS=$LIBS
 6966: LIBS="-lpthread  $LIBS"
 6967: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6968: /* end confdefs.h.  */
 6969: 
 6970: 
 6971: int
 6972: main ()
 6973: {
 6974: return main ();
 6975:   ;
 6976:   return 0;
 6977: }
 6978: _ACEOF
 6979: if ac_fn_c_try_link "$LINENO"; then :
 6980:   ac_cv_lib_pthread_main=yes
 6981: else
 6982:   ac_cv_lib_pthread_main=no
 6983: fi
 6984: rm -f core conftest.err conftest.$ac_objext \
 6985:     conftest$ac_exeext conftest.$ac_ext
 6986: LIBS=$ac_check_lib_save_LIBS
 6987: fi
 6988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 6989: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 6990: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
 6991:   cat >>confdefs.h <<_ACEOF
 6992: #define HAVE_LIBPTHREAD 1
 6993: _ACEOF
 6994: 
 6995:   LIBS="-lpthread $LIBS"
 6996: 
 6997: else
 6998:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
 6999: fi
 7000: 
 7001: 
 7002: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 7003: #include <sys/sem.h>
 7004: 
 7005: "
 7006: if test "x$ac_cv_type_union_semun" = x""yes; then :
 7007:   SEMUN=-DUNION_SEMUN
 7008: else
 7009:   SEMUN=-UUNION_SEMUN
 7010: fi
 7011: 
 7012: 
 7013: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
 7014: #include <sys/types.h>
 7015: #include <netinet/in.h>
 7016: 
 7017: "
 7018: if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
 7019:   IPV6=-DIPV6
 7020: else
 7021:   IPV6=-UIPV6
 7022: fi
 7023: 
 7024: 
 7025: if test "$CYGWIN" != yes; then
 7026:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 7027: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 7028: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 7029:   $as_echo_n "(cached) " >&6
 7030: else
 7031:   ac_check_lib_save_LIBS=$LIBS
 7032: LIBS="-ldl  $LIBS"
 7033: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7034: /* end confdefs.h.  */
 7035: 
 7036: /* Override any GCC internal prototype to avoid an error.
 7037:    Use char because int might match the return type of a GCC
 7038:    builtin and then its argument prototype would still apply.  */
 7039: #ifdef __cplusplus
 7040: extern "C"
 7041: #endif
 7042: char dlopen ();
 7043: int
 7044: main ()
 7045: {
 7046: return dlopen ();
 7047:   ;
 7048:   return 0;
 7049: }
 7050: _ACEOF
 7051: if ac_fn_c_try_link "$LINENO"; then :
 7052:   ac_cv_lib_dl_dlopen=yes
 7053: else
 7054:   ac_cv_lib_dl_dlopen=no
 7055: fi
 7056: rm -f core conftest.err conftest.$ac_objext \
 7057:     conftest$ac_exeext conftest.$ac_ext
 7058: LIBS=$ac_check_lib_save_LIBS
 7059: fi
 7060: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 7061: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 7062: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 7063:   LIBS="$LIBS -ldl"
 7064: else
 7065:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 7066: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7067: fi
 7068: 
 7069: fi
 7070: 
 7071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 7072: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 7073: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
 7074:   $as_echo_n "(cached) " >&6
 7075: else
 7076:   ac_check_lib_save_LIBS=$LIBS
 7077: LIBS="-lrt  $LIBS"
 7078: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7079: /* end confdefs.h.  */
 7080: 
 7081: /* Override any GCC internal prototype to avoid an error.
 7082:    Use char because int might match the return type of a GCC
 7083:    builtin and then its argument prototype would still apply.  */
 7084: #ifdef __cplusplus
 7085: extern "C"
 7086: #endif
 7087: char nanosleep ();
 7088: int
 7089: main ()
 7090: {
 7091: return nanosleep ();
 7092:   ;
 7093:   return 0;
 7094: }
 7095: _ACEOF
 7096: if ac_fn_c_try_link "$LINENO"; then :
 7097:   ac_cv_lib_rt_nanosleep=yes
 7098: else
 7099:   ac_cv_lib_rt_nanosleep=no
 7100: fi
 7101: rm -f core conftest.err conftest.$ac_objext \
 7102:     conftest$ac_exeext conftest.$ac_ext
 7103: LIBS=$ac_check_lib_save_LIBS
 7104: fi
 7105: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7106: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7107: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
 7108:   LIBS="$LIBS -lrt"
 7109: else
 7110:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7111: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7112: fi
 7113: 
 7114: 
 7115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7116: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7117: if test "${ac_cv_lib_socket_bind+set}" = set; then :
 7118:   $as_echo_n "(cached) " >&6
 7119: else
 7120:   ac_check_lib_save_LIBS=$LIBS
 7121: LIBS="-lsocket  $LIBS"
 7122: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7123: /* end confdefs.h.  */
 7124: 
 7125: /* Override any GCC internal prototype to avoid an error.
 7126:    Use char because int might match the return type of a GCC
 7127:    builtin and then its argument prototype would still apply.  */
 7128: #ifdef __cplusplus
 7129: extern "C"
 7130: #endif
 7131: char bind ();
 7132: int
 7133: main ()
 7134: {
 7135: return bind ();
 7136:   ;
 7137:   return 0;
 7138: }
 7139: _ACEOF
 7140: if ac_fn_c_try_link "$LINENO"; then :
 7141:   ac_cv_lib_socket_bind=yes
 7142: else
 7143:   ac_cv_lib_socket_bind=no
 7144: fi
 7145: rm -f core conftest.err conftest.$ac_objext \
 7146:     conftest$ac_exeext conftest.$ac_ext
 7147: LIBS=$ac_check_lib_save_LIBS
 7148: fi
 7149: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7150: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7151: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
 7152:   LIBS="$LIBS -lsocket"
 7153: else
 7154:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7155: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7156: fi
 7157: 
 7158: 
 7159: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7160: 
 7161: # Check whether --with-mysql was given.
 7162: if test "${with_mysql+set}" = set; then :
 7163:   withval=$with_mysql;
 7164: else
 7165:   with_mysql=check
 7166: fi
 7167: 
 7168: 
 7169: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7170:     libMySQLinc="-I/usr/include"
 7171:     libMySQLlib="/usr/lib"
 7172: 
 7173:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7174: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7175:     saved_CFLAGS="$CFLAGS"
 7176:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7177:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7178: /* end confdefs.h.  */
 7179: #include "mysql.h"
 7180: int
 7181: main ()
 7182: {
 7183: 
 7184:   ;
 7185:   return 0;
 7186: }
 7187: _ACEOF
 7188: if ac_fn_c_try_compile "$LINENO"; then :
 7189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7190: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7191:                     libMySQLinc=$libMySQLinc/mysql
 7192: else
 7193:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7194: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7195: fi
 7196: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7197:     CFLAGS=$saved_CFLAGS
 7198: 
 7199:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7200:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7201: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7202:         saved_CFLAGS="$CFLAGS"
 7203:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7204:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7205: /* end confdefs.h.  */
 7206: #include "mysql.h"
 7207: int
 7208: main ()
 7209: {
 7210: 
 7211:   ;
 7212:   return 0;
 7213: }
 7214: _ACEOF
 7215: if ac_fn_c_try_compile "$LINENO"; then :
 7216:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7217: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7218:                         libMySQLinc=$libMySQLinc
 7219: else
 7220:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7221: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7222: fi
 7223: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7224:         CFLAGS=$saved_CFLAGS
 7225:         libMySQLinc=$libMySQLinc/mysql
 7226:     fi
 7227: 
 7228:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7229:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7230: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7231:         saved_CFLAGS="$CFLAGS"
 7232:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7233:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7234: /* end confdefs.h.  */
 7235: #include "mysql.h"
 7236: int
 7237: main ()
 7238: {
 7239: 
 7240:   ;
 7241:   return 0;
 7242: }
 7243: _ACEOF
 7244: if ac_fn_c_try_compile "$LINENO"; then :
 7245:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7246: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7247:                         libMySQLinc=$libMySQLinc/mysql
 7248: else
 7249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7250: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7251: fi
 7252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7253:         CFLAGS=$saved_CFLAGS
 7254:         libMySQLinc=$libMySQLinc/../local/include
 7255:         libMySQLlib=$libMySQLlib/../local/lib
 7256:     fi
 7257: 
 7258:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7259:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7260: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7261:         saved_CFLAGS="$CFLAGS"
 7262:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7263:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7264: /* end confdefs.h.  */
 7265: #include "mysql.h"
 7266: int
 7267: main ()
 7268: {
 7269: 
 7270:   ;
 7271:   return 0;
 7272: }
 7273: _ACEOF
 7274: if ac_fn_c_try_compile "$LINENO"; then :
 7275:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7276: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7277:                         libMySQLinc=$libMySQLinc/mysql
 7278: else
 7279:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7280: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7281: fi
 7282: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7283:         CFLAGS=$saved_CFLAGS
 7284:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7285:         libMySQLlib=$libMySQLlib/../local/lib
 7286:     fi
 7287: else
 7288:     if test "x$with_mysql" != xno; then
 7289:         libMySQLinc="-I$with_mysql/include"
 7290:         libMySQLlib="$with_mysql/lib"
 7291: 
 7292:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7293: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7294:         saved_CFLAGS="$CFLAGS"
 7295:         CFLAGS="$CFLAGS $libMySQLinc"
 7296:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7297: /* end confdefs.h.  */
 7298: #include "mysql.h"
 7299: int
 7300: main ()
 7301: {
 7302: 
 7303:   ;
 7304:   return 0;
 7305: }
 7306: _ACEOF
 7307: if ac_fn_c_try_compile "$LINENO"; then :
 7308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7309: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7310:                         libMySQLinc=$libMySQLinc/mysql
 7311: else
 7312:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7313: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7314: fi
 7315: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7316:         CFLAGS=$saved_CFLAGS
 7317: 
 7318:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7319:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7320: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7321:             saved_CFLAGS="$CFLAGS"
 7322:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7323:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7324: /* end confdefs.h.  */
 7325: #include "mysql.h"
 7326: int
 7327: main ()
 7328: {
 7329: 
 7330:   ;
 7331:   return 0;
 7332: }
 7333: _ACEOF
 7334: if ac_fn_c_try_compile "$LINENO"; then :
 7335:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7336: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7337:                             libMySQLinc=$libMySQLinc
 7338: else
 7339:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7340: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7341: fi
 7342: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7343:             CFLAGS=$saved_CFLAGS
 7344:             libMySQLinc=$libMySQLinc/mysql
 7345:         fi
 7346:     else
 7347:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7348:     fi
 7349: fi
 7350: 
 7351: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7352:     MYSQL_LIB=no
 7353: 
 7354:     if test $MYSQL_LIB = no; then
 7355:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7356: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7357:         saved_LIBS="$LIBS"
 7358:         if test $STATIC = no; then
 7359:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7360:         else
 7361:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7362:         fi
 7363:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7364: /* end confdefs.h.  */
 7365: #include "mysql.h"
 7366: int
 7367: main ()
 7368: {
 7369: MYSQL mysql; mysql_init(&mysql);
 7370:   ;
 7371:   return 0;
 7372: }
 7373: _ACEOF
 7374: if ac_fn_c_try_link "$LINENO"; then :
 7375:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7376: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7377: else
 7378:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7379: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7380: fi
 7381: rm -f core conftest.err conftest.$ac_objext \
 7382:     conftest$ac_exeext conftest.$ac_ext
 7383:         LIBS=$saved_LIBS;
 7384:         if test $STATIC = no; then
 7385:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7386:         else
 7387:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7388:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7389:         fi
 7390:     fi
 7391: 
 7392:     if test $MYSQL_LIB = no; then
 7393:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7394:     fi
 7395: fi
 7396: 
 7397: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7398:     libMySQLinc=
 7399:     libMySQLlib=
 7400: fi
 7401: 
 7402: 
 7403: 
 7404: 
 7405: 
 7406: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7407: 
 7408: # Check whether --with-postgresql was given.
 7409: if test "${with_postgresql+set}" = set; then :
 7410:   withval=$with_postgresql;
 7411: else
 7412:   with_postgresql=check
 7413: fi
 7414: 
 7415: 
 7416: # with_postgresql : check [pas défini], yes [uniquement --with],
 7417: # no [--without], valeur [--with=valeur].
 7418: 
 7419: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7420:     libPgSQLinc="-I/usr/include"
 7421:     libPgSQLlib="/usr/lib"
 7422: 
 7423:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7424: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7425:     saved_CFLAGS="$CFLAGS"
 7426:     CFLAGS="$CFLAGS $libPgSQLinc"
 7427:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7428: /* end confdefs.h.  */
 7429: #include "libpq-fe.h"
 7430: int
 7431: main ()
 7432: {
 7433: 
 7434:   ;
 7435:   return 0;
 7436: }
 7437: _ACEOF
 7438: if ac_fn_c_try_compile "$LINENO"; then :
 7439:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7440: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7441: else
 7442:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7443: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7444: fi
 7445: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7446:     CFLAGS=$saved_CFLAGS
 7447: 
 7448:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7449:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7450: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7451:         saved_CFLAGS="$CFLAGS"
 7452:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7453:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7454: /* end confdefs.h.  */
 7455: #include "libpq-fe.h"
 7456: int
 7457: main ()
 7458: {
 7459: 
 7460:   ;
 7461:   return 0;
 7462: }
 7463: _ACEOF
 7464: if ac_fn_c_try_compile "$LINENO"; then :
 7465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7466: $as_echo "yes" >&6; };
 7467:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7468: else
 7469:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7470: $as_echo "no" >&6; };
 7471:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7472: fi
 7473: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7474:         CFLAGS=$saved_CFLAGS
 7475:         libPgSQLinc=$libPgSQLinc/postgresql
 7476:     fi
 7477: 
 7478:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7479:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7480: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7481:         saved_CFLAGS="$CFLAGS"
 7482:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7483:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7484: /* end confdefs.h.  */
 7485: #include "libpq-fe.h"
 7486: int
 7487: main ()
 7488: {
 7489: 
 7490:   ;
 7491:   return 0;
 7492: }
 7493: _ACEOF
 7494: if ac_fn_c_try_compile "$LINENO"; then :
 7495:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7496: $as_echo "yes" >&6; };
 7497:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7498: else
 7499:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7500: $as_echo "no" >&6; };
 7501:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7502: fi
 7503: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7504:         CFLAGS=$saved_CFLAGS
 7505:         libPgSQLinc=$libPgSQLinc/pgsql
 7506:     fi
 7507: 
 7508:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7509:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7510: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7511:         saved_CFLAGS="$CFLAGS"
 7512:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7513:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7514: /* end confdefs.h.  */
 7515: #include "libpq-fe.h"
 7516: int
 7517: main ()
 7518: {
 7519: 
 7520:   ;
 7521:   return 0;
 7522: }
 7523: _ACEOF
 7524: if ac_fn_c_try_compile "$LINENO"; then :
 7525:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7526: $as_echo "yes" >&6; };
 7527:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7528: else
 7529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7530: $as_echo "no" >&6; };
 7531:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7532: fi
 7533: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7534:         CFLAGS=$saved_CFLAGS
 7535:         libPgSQLinc=$libPgSQLinc/../local/include
 7536:         libPgSQLlib=$libPgSQLlib/../local/lib
 7537:     fi
 7538: 
 7539:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7540:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7541: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7542:         saved_CFLAGS="$CFLAGS"
 7543:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7544:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7545: /* end confdefs.h.  */
 7546: #include "libpq-fe.h"
 7547: int
 7548: main ()
 7549: {
 7550: 
 7551:   ;
 7552:   return 0;
 7553: }
 7554: _ACEOF
 7555: if ac_fn_c_try_compile "$LINENO"; then :
 7556:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7557: $as_echo "yes" >&6; };
 7558:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7559: else
 7560:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7561: $as_echo "no" >&6; };
 7562:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7563: fi
 7564: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7565:         CFLAGS=$saved_CFLAGS
 7566:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7567:         libPgSQLlib=$libPgSQLlib/../local/lib
 7568:     fi
 7569: 
 7570:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7571:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7572: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7573:         saved_CFLAGS="$CFLAGS"
 7574:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7575:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7576: /* end confdefs.h.  */
 7577: #include "libpq-fe.h"
 7578: int
 7579: main ()
 7580: {
 7581: 
 7582:   ;
 7583:   return 0;
 7584: }
 7585: _ACEOF
 7586: if ac_fn_c_try_compile "$LINENO"; then :
 7587:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7588: $as_echo "yes" >&6; };
 7589:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7590: else
 7591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7592: $as_echo "no" >&6; };
 7593:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7594: fi
 7595: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7596:         CFLAGS=$saved_CFLAGS
 7597:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7598:         libPgSQLlib=$libPgSQLlib/../local/lib
 7599:     fi
 7600: else
 7601:     if test "x$with_postgresql" != xno; then
 7602:         libPgSQLinc="-I$with_postgresql/include"
 7603:         libPgSQLlib="$with_postgresql/lib"
 7604: 
 7605:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7606: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7607:         saved_CFLAGS="$CFLAGS"
 7608:         CFLAGS="$CFLAGS $libPgSQLinc"
 7609:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7610: /* end confdefs.h.  */
 7611: #include "libpq-fe.h"
 7612: int
 7613: main ()
 7614: {
 7615: 
 7616:   ;
 7617:   return 0;
 7618: }
 7619: _ACEOF
 7620: if ac_fn_c_try_compile "$LINENO"; then :
 7621:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7622: $as_echo "yes" >&6; };
 7623:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7624: else
 7625:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7626: $as_echo "no" >&6; };
 7627:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7628: fi
 7629: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7630:         CFLAGS=$saved_CFLAGS
 7631: 
 7632:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7633:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7634: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7635:             saved_CFLAGS="$CFLAGS"
 7636:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7637:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7638: /* end confdefs.h.  */
 7639: #include "libpq-fe.h"
 7640: int
 7641: main ()
 7642: {
 7643: 
 7644:   ;
 7645:   return 0;
 7646: }
 7647: _ACEOF
 7648: if ac_fn_c_try_compile "$LINENO"; then :
 7649:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7650: $as_echo "yes" >&6; };
 7651:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7652: else
 7653:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7654: $as_echo "no" >&6; };
 7655:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7656: fi
 7657: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7658:             CFLAGS=$saved_CFLAGS
 7659:             libPgSQLinc=$libPgSQLinc/postgresql
 7660:         fi
 7661: 
 7662:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7663:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7664: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7665:             saved_CFLAGS="$CFLAGS"
 7666:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7667:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7668: /* end confdefs.h.  */
 7669: #include "libpq-fe.h"
 7670: int
 7671: main ()
 7672: {
 7673: 
 7674:   ;
 7675:   return 0;
 7676: }
 7677: _ACEOF
 7678: if ac_fn_c_try_compile "$LINENO"; then :
 7679:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7680: $as_echo "yes" >&6; };
 7681:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7682: else
 7683:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7684: $as_echo "no" >&6; };
 7685:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7686: fi
 7687: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7688:             CFLAGS=$saved_CFLAGS
 7689:             libPgSQLinc=$libPgSQLinc/pgsql
 7690:         fi
 7691:     else
 7692:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7693:     fi
 7694: fi
 7695: 
 7696: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7697:     POSTGRESQL_LIB=no
 7698: 
 7699:     if test $POSTGRESQL_LIB = no; then
 7700:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7701: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7702:         saved_LIBS="$LIBS"
 7703:         if test $STATIC = no; then
 7704:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7705:         else
 7706:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 7707:         fi
 7708:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7709: /* end confdefs.h.  */
 7710: #include "libpq-fe.h"
 7711: int
 7712: main ()
 7713: {
 7714: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 7715:              PQconnectdb(conninfo);
 7716:   ;
 7717:   return 0;
 7718: }
 7719: _ACEOF
 7720: if ac_fn_c_try_link "$LINENO"; then :
 7721:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7722: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 7723: else
 7724:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7725: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 7726: fi
 7727: rm -f core conftest.err conftest.$ac_objext \
 7728:     conftest$ac_exeext conftest.$ac_ext
 7729:         LIBS=$saved_LIBS;
 7730:         if test $STATIC = no; then
 7731:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 7732:         else
 7733:             libPgSQLlib="$libPgSQLlib/libpq.a"
 7734:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 7735:         fi
 7736:     fi
 7737: fi
 7738: 
 7739: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 7740:     libPgSQLinc=
 7741:     libPgSQLlib=
 7742: fi
 7743: 
 7744: 
 7745: 
 7746: 
 7747: 
 7748: # with_postgresql : check [pas défini], yes [uniquement --with],
 7749: # no [--without], valeur [--with=valeur].
 7750: 
 7751: # Check whether --with-bourne_shell was given.
 7752: if test "${with_bourne_shell+set}" = set; then :
 7753:   withval=$with_bourne_shell;
 7754: else
 7755:   with_bourne_shell=no
 7756: fi
 7757: 
 7758: 
 7759: if test "x$with_bourne_shell" = xyes; then
 7760:     as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
 7761: fi
 7762: 
 7763: if test "x$with_bourne_shell" = xno; then
 7764:     if test $(uname) = "OS/2"; then
 7765:         as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
 7766:     fi
 7767: 
 7768:     BSH_PATH=
 7769: else
 7770:     if test ! -x $with_bourne_shell; then
 7771:         as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
 7772:     fi
 7773: 
 7774:     if test $(uname) = "OS/2"; then
 7775:         with_os2_bourne_shell=$(echo $with_bourne_shell | \
 7776:                 sed -e '1,$s/\//\\\\\\\\/g')
 7777:         BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
 7778:     else
 7779:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
 7780: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
 7781:         BSH_PATH=
 7782:     fi
 7783: fi
 7784: 
 7785: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 7786: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 7787: if test "${ac_cv_path_GREP+set}" = set; then :
 7788:   $as_echo_n "(cached) " >&6
 7789: else
 7790:   if test -z "$GREP"; then
 7791:   ac_path_GREP_found=false
 7792:   # Loop through the user's path and test for each of PROGNAME-LIST
 7793:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7794: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7795: do
 7796:   IFS=$as_save_IFS
 7797:   test -z "$as_dir" && as_dir=.
 7798:     for ac_prog in grep ggrep; do
 7799:     for ac_exec_ext in '' $ac_executable_extensions; do
 7800:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 7801:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 7802: # Check for GNU ac_path_GREP and select it if it is found.
 7803:   # Check for GNU $ac_path_GREP
 7804: case `"$ac_path_GREP" --version 2>&1` in
 7805: *GNU*)
 7806:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 7807: *)
 7808:   ac_count=0
 7809:   $as_echo_n 0123456789 >"conftest.in"
 7810:   while :
 7811:   do
 7812:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7813:     mv "conftest.tmp" "conftest.in"
 7814:     cp "conftest.in" "conftest.nl"
 7815:     $as_echo 'GREP' >> "conftest.nl"
 7816:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7817:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7818:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7819:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 7820:       # Best one so far, save it but keep looking for a better one
 7821:       ac_cv_path_GREP="$ac_path_GREP"
 7822:       ac_path_GREP_max=$ac_count
 7823:     fi
 7824:     # 10*(2^10) chars as input seems more than enough
 7825:     test $ac_count -gt 10 && break
 7826:   done
 7827:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7828: esac
 7829: 
 7830:       $ac_path_GREP_found && break 3
 7831:     done
 7832:   done
 7833:   done
 7834: IFS=$as_save_IFS
 7835:   if test -z "$ac_cv_path_GREP"; then
 7836:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7837:   fi
 7838: else
 7839:   ac_cv_path_GREP=$GREP
 7840: fi
 7841: 
 7842: fi
 7843: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 7844: $as_echo "$ac_cv_path_GREP" >&6; }
 7845:  GREP="$ac_cv_path_GREP"
 7846: 
 7847: 
 7848: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 7849: $as_echo_n "checking for egrep... " >&6; }
 7850: if test "${ac_cv_path_EGREP+set}" = set; then :
 7851:   $as_echo_n "(cached) " >&6
 7852: else
 7853:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 7854:    then ac_cv_path_EGREP="$GREP -E"
 7855:    else
 7856:      if test -z "$EGREP"; then
 7857:   ac_path_EGREP_found=false
 7858:   # Loop through the user's path and test for each of PROGNAME-LIST
 7859:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7860: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7861: do
 7862:   IFS=$as_save_IFS
 7863:   test -z "$as_dir" && as_dir=.
 7864:     for ac_prog in egrep; do
 7865:     for ac_exec_ext in '' $ac_executable_extensions; do
 7866:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 7867:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 7868: # Check for GNU ac_path_EGREP and select it if it is found.
 7869:   # Check for GNU $ac_path_EGREP
 7870: case `"$ac_path_EGREP" --version 2>&1` in
 7871: *GNU*)
 7872:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 7873: *)
 7874:   ac_count=0
 7875:   $as_echo_n 0123456789 >"conftest.in"
 7876:   while :
 7877:   do
 7878:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7879:     mv "conftest.tmp" "conftest.in"
 7880:     cp "conftest.in" "conftest.nl"
 7881:     $as_echo 'EGREP' >> "conftest.nl"
 7882:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7883:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7884:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7885:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 7886:       # Best one so far, save it but keep looking for a better one
 7887:       ac_cv_path_EGREP="$ac_path_EGREP"
 7888:       ac_path_EGREP_max=$ac_count
 7889:     fi
 7890:     # 10*(2^10) chars as input seems more than enough
 7891:     test $ac_count -gt 10 && break
 7892:   done
 7893:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7894: esac
 7895: 
 7896:       $ac_path_EGREP_found && break 3
 7897:     done
 7898:   done
 7899:   done
 7900: IFS=$as_save_IFS
 7901:   if test -z "$ac_cv_path_EGREP"; then
 7902:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7903:   fi
 7904: else
 7905:   ac_cv_path_EGREP=$EGREP
 7906: fi
 7907: 
 7908:    fi
 7909: fi
 7910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 7911: $as_echo "$ac_cv_path_EGREP" >&6; }
 7912:  EGREP="$ac_cv_path_EGREP"
 7913: 
 7914: 
 7915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 7916: $as_echo_n "checking for ANSI C header files... " >&6; }
 7917: if test "${ac_cv_header_stdc+set}" = set; then :
 7918:   $as_echo_n "(cached) " >&6
 7919: else
 7920:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7921: /* end confdefs.h.  */
 7922: #include <stdlib.h>
 7923: #include <stdarg.h>
 7924: #include <string.h>
 7925: #include <float.h>
 7926: 
 7927: int
 7928: main ()
 7929: {
 7930: 
 7931:   ;
 7932:   return 0;
 7933: }
 7934: _ACEOF
 7935: if ac_fn_c_try_compile "$LINENO"; then :
 7936:   ac_cv_header_stdc=yes
 7937: else
 7938:   ac_cv_header_stdc=no
 7939: fi
 7940: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7941: 
 7942: if test $ac_cv_header_stdc = yes; then
 7943:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 7944:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7945: /* end confdefs.h.  */
 7946: #include <string.h>
 7947: 
 7948: _ACEOF
 7949: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7950:   $EGREP "memchr" >/dev/null 2>&1; then :
 7951: 
 7952: else
 7953:   ac_cv_header_stdc=no
 7954: fi
 7955: rm -f conftest*
 7956: 
 7957: fi
 7958: 
 7959: if test $ac_cv_header_stdc = yes; then
 7960:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 7961:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7962: /* end confdefs.h.  */
 7963: #include <stdlib.h>
 7964: 
 7965: _ACEOF
 7966: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7967:   $EGREP "free" >/dev/null 2>&1; then :
 7968: 
 7969: else
 7970:   ac_cv_header_stdc=no
 7971: fi
 7972: rm -f conftest*
 7973: 
 7974: fi
 7975: 
 7976: if test $ac_cv_header_stdc = yes; then
 7977:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 7978:   if test "$cross_compiling" = yes; then :
 7979:   :
 7980: else
 7981:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7982: /* end confdefs.h.  */
 7983: #include <ctype.h>
 7984: #include <stdlib.h>
 7985: #if ((' ' & 0x0FF) == 0x020)
 7986: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 7987: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 7988: #else
 7989: # define ISLOWER(c) \
 7990:            (('a' <= (c) && (c) <= 'i') \
 7991:              || ('j' <= (c) && (c) <= 'r') \
 7992:              || ('s' <= (c) && (c) <= 'z'))
 7993: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 7994: #endif
 7995: 
 7996: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 7997: int
 7998: main ()
 7999: {
 8000:   int i;
 8001:   for (i = 0; i < 256; i++)
 8002:     if (XOR (islower (i), ISLOWER (i))
 8003:     || toupper (i) != TOUPPER (i))
 8004:       return 2;
 8005:   return 0;
 8006: }
 8007: _ACEOF
 8008: if ac_fn_c_try_run "$LINENO"; then :
 8009: 
 8010: else
 8011:   ac_cv_header_stdc=no
 8012: fi
 8013: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8014:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8015: fi
 8016: 
 8017: fi
 8018: fi
 8019: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8020: $as_echo "$ac_cv_header_stdc" >&6; }
 8021: if test $ac_cv_header_stdc = yes; then
 8022: 
 8023: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8024: 
 8025: fi
 8026: 
 8027: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 8028: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 8029:           inttypes.h stdint.h unistd.h
 8030: do :
 8031:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8032: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 8033: "
 8034: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8035:   cat >>confdefs.h <<_ACEOF
 8036: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8037: _ACEOF
 8038: 
 8039: fi
 8040: 
 8041: done
 8042: 
 8043: 
 8044: # The cast to long int works around a bug in the HP C Compiler
 8045: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8046: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8047: # This bug is HP SR number 8606223364.
 8048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 8049: $as_echo_n "checking size of void *... " >&6; }
 8050: if test "${ac_cv_sizeof_void_p+set}" = set; then :
 8051:   $as_echo_n "(cached) " >&6
 8052: else
 8053:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 8054: 
 8055: else
 8056:   if test "$ac_cv_type_void_p" = yes; then
 8057:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8058: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8059: as_fn_error 77 "cannot compute sizeof (void *)
 8060: See \`config.log' for more details" "$LINENO" 5 ; }
 8061:    else
 8062:      ac_cv_sizeof_void_p=0
 8063:    fi
 8064: fi
 8065: 
 8066: fi
 8067: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 8068: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 8069: 
 8070: 
 8071: 
 8072: cat >>confdefs.h <<_ACEOF
 8073: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 8074: _ACEOF
 8075: 
 8076: 
 8077: # The cast to long int works around a bug in the HP C Compiler
 8078: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8079: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8080: # This bug is HP SR number 8606223364.
 8081: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 8082: $as_echo_n "checking size of char... " >&6; }
 8083: if test "${ac_cv_sizeof_char+set}" = set; then :
 8084:   $as_echo_n "(cached) " >&6
 8085: else
 8086:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 8087: 
 8088: else
 8089:   if test "$ac_cv_type_char" = yes; then
 8090:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8091: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8092: as_fn_error 77 "cannot compute sizeof (char)
 8093: See \`config.log' for more details" "$LINENO" 5 ; }
 8094:    else
 8095:      ac_cv_sizeof_char=0
 8096:    fi
 8097: fi
 8098: 
 8099: fi
 8100: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 8101: $as_echo "$ac_cv_sizeof_char" >&6; }
 8102: 
 8103: 
 8104: 
 8105: cat >>confdefs.h <<_ACEOF
 8106: #define SIZEOF_CHAR $ac_cv_sizeof_char
 8107: _ACEOF
 8108: 
 8109: 
 8110: # The cast to long int works around a bug in the HP C Compiler
 8111: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8112: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8113: # This bug is HP SR number 8606223364.
 8114: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 8115: $as_echo_n "checking size of short int... " >&6; }
 8116: if test "${ac_cv_sizeof_short_int+set}" = set; then :
 8117:   $as_echo_n "(cached) " >&6
 8118: else
 8119:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 8120: 
 8121: else
 8122:   if test "$ac_cv_type_short_int" = yes; then
 8123:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8124: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8125: as_fn_error 77 "cannot compute sizeof (short int)
 8126: See \`config.log' for more details" "$LINENO" 5 ; }
 8127:    else
 8128:      ac_cv_sizeof_short_int=0
 8129:    fi
 8130: fi
 8131: 
 8132: fi
 8133: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8134: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8135: 
 8136: 
 8137: 
 8138: cat >>confdefs.h <<_ACEOF
 8139: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8140: _ACEOF
 8141: 
 8142: 
 8143: # The cast to long int works around a bug in the HP C Compiler
 8144: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8145: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8146: # This bug is HP SR number 8606223364.
 8147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8148: $as_echo_n "checking size of int... " >&6; }
 8149: if test "${ac_cv_sizeof_int+set}" = set; then :
 8150:   $as_echo_n "(cached) " >&6
 8151: else
 8152:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8153: 
 8154: else
 8155:   if test "$ac_cv_type_int" = yes; then
 8156:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8157: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8158: as_fn_error 77 "cannot compute sizeof (int)
 8159: See \`config.log' for more details" "$LINENO" 5 ; }
 8160:    else
 8161:      ac_cv_sizeof_int=0
 8162:    fi
 8163: fi
 8164: 
 8165: fi
 8166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8167: $as_echo "$ac_cv_sizeof_int" >&6; }
 8168: 
 8169: 
 8170: 
 8171: cat >>confdefs.h <<_ACEOF
 8172: #define SIZEOF_INT $ac_cv_sizeof_int
 8173: _ACEOF
 8174: 
 8175: 
 8176: # The cast to long int works around a bug in the HP C Compiler
 8177: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8178: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8179: # This bug is HP SR number 8606223364.
 8180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8181: $as_echo_n "checking size of long int... " >&6; }
 8182: if test "${ac_cv_sizeof_long_int+set}" = set; then :
 8183:   $as_echo_n "(cached) " >&6
 8184: else
 8185:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8186: 
 8187: else
 8188:   if test "$ac_cv_type_long_int" = yes; then
 8189:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8190: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8191: as_fn_error 77 "cannot compute sizeof (long int)
 8192: See \`config.log' for more details" "$LINENO" 5 ; }
 8193:    else
 8194:      ac_cv_sizeof_long_int=0
 8195:    fi
 8196: fi
 8197: 
 8198: fi
 8199: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8200: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8201: 
 8202: 
 8203: 
 8204: cat >>confdefs.h <<_ACEOF
 8205: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8206: _ACEOF
 8207: 
 8208: 
 8209: # The cast to long int works around a bug in the HP C Compiler
 8210: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8211: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8212: # This bug is HP SR number 8606223364.
 8213: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8214: $as_echo_n "checking size of long long int... " >&6; }
 8215: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
 8216:   $as_echo_n "(cached) " >&6
 8217: else
 8218:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8219: 
 8220: else
 8221:   if test "$ac_cv_type_long_long_int" = yes; then
 8222:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8223: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8224: as_fn_error 77 "cannot compute sizeof (long long int)
 8225: See \`config.log' for more details" "$LINENO" 5 ; }
 8226:    else
 8227:      ac_cv_sizeof_long_long_int=0
 8228:    fi
 8229: fi
 8230: 
 8231: fi
 8232: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8233: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8234: 
 8235: 
 8236: 
 8237: cat >>confdefs.h <<_ACEOF
 8238: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8239: _ACEOF
 8240: 
 8241: 
 8242: # The cast to long int works around a bug in the HP C Compiler
 8243: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8244: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8245: # This bug is HP SR number 8606223364.
 8246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8247: $as_echo_n "checking size of float... " >&6; }
 8248: if test "${ac_cv_sizeof_float+set}" = set; then :
 8249:   $as_echo_n "(cached) " >&6
 8250: else
 8251:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8252: 
 8253: else
 8254:   if test "$ac_cv_type_float" = yes; then
 8255:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8256: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8257: as_fn_error 77 "cannot compute sizeof (float)
 8258: See \`config.log' for more details" "$LINENO" 5 ; }
 8259:    else
 8260:      ac_cv_sizeof_float=0
 8261:    fi
 8262: fi
 8263: 
 8264: fi
 8265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8266: $as_echo "$ac_cv_sizeof_float" >&6; }
 8267: 
 8268: 
 8269: 
 8270: cat >>confdefs.h <<_ACEOF
 8271: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8272: _ACEOF
 8273: 
 8274: 
 8275: # The cast to long int works around a bug in the HP C Compiler
 8276: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8277: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8278: # This bug is HP SR number 8606223364.
 8279: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8280: $as_echo_n "checking size of double... " >&6; }
 8281: if test "${ac_cv_sizeof_double+set}" = set; then :
 8282:   $as_echo_n "(cached) " >&6
 8283: else
 8284:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8285: 
 8286: else
 8287:   if test "$ac_cv_type_double" = yes; then
 8288:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8289: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8290: as_fn_error 77 "cannot compute sizeof (double)
 8291: See \`config.log' for more details" "$LINENO" 5 ; }
 8292:    else
 8293:      ac_cv_sizeof_double=0
 8294:    fi
 8295: fi
 8296: 
 8297: fi
 8298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8299: $as_echo "$ac_cv_sizeof_double" >&6; }
 8300: 
 8301: 
 8302: 
 8303: cat >>confdefs.h <<_ACEOF
 8304: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8305: _ACEOF
 8306: 
 8307: 
 8308: # The cast to long int works around a bug in the HP C Compiler
 8309: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8310: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8311: # This bug is HP SR number 8606223364.
 8312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8313: $as_echo_n "checking size of long double... " >&6; }
 8314: if test "${ac_cv_sizeof_long_double+set}" = set; then :
 8315:   $as_echo_n "(cached) " >&6
 8316: else
 8317:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8318: 
 8319: else
 8320:   if test "$ac_cv_type_long_double" = yes; then
 8321:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8322: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8323: as_fn_error 77 "cannot compute sizeof (long double)
 8324: See \`config.log' for more details" "$LINENO" 5 ; }
 8325:    else
 8326:      ac_cv_sizeof_long_double=0
 8327:    fi
 8328: fi
 8329: 
 8330: fi
 8331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8332: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8333: 
 8334: 
 8335: 
 8336: cat >>confdefs.h <<_ACEOF
 8337: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8338: _ACEOF
 8339: 
 8340: 
 8341: 
 8342: ac_header_dirent=no
 8343: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8344:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8345: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8346: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8347: if eval "test \"\${$as_ac_Header+set}\"" = set; then :
 8348:   $as_echo_n "(cached) " >&6
 8349: else
 8350:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8351: /* end confdefs.h.  */
 8352: #include <sys/types.h>
 8353: #include <$ac_hdr>
 8354: 
 8355: int
 8356: main ()
 8357: {
 8358: if ((DIR *) 0)
 8359: return 0;
 8360:   ;
 8361:   return 0;
 8362: }
 8363: _ACEOF
 8364: if ac_fn_c_try_compile "$LINENO"; then :
 8365:   eval "$as_ac_Header=yes"
 8366: else
 8367:   eval "$as_ac_Header=no"
 8368: fi
 8369: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8370: fi
 8371: eval ac_res=\$$as_ac_Header
 8372:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8373: $as_echo "$ac_res" >&6; }
 8374: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8375:   cat >>confdefs.h <<_ACEOF
 8376: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8377: _ACEOF
 8378: 
 8379: ac_header_dirent=$ac_hdr; break
 8380: fi
 8381: 
 8382: done
 8383: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8384: if test $ac_header_dirent = dirent.h; then
 8385:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8386: $as_echo_n "checking for library containing opendir... " >&6; }
 8387: if test "${ac_cv_search_opendir+set}" = set; then :
 8388:   $as_echo_n "(cached) " >&6
 8389: else
 8390:   ac_func_search_save_LIBS=$LIBS
 8391: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8392: /* end confdefs.h.  */
 8393: 
 8394: /* Override any GCC internal prototype to avoid an error.
 8395:    Use char because int might match the return type of a GCC
 8396:    builtin and then its argument prototype would still apply.  */
 8397: #ifdef __cplusplus
 8398: extern "C"
 8399: #endif
 8400: char opendir ();
 8401: int
 8402: main ()
 8403: {
 8404: return opendir ();
 8405:   ;
 8406:   return 0;
 8407: }
 8408: _ACEOF
 8409: for ac_lib in '' dir; do
 8410:   if test -z "$ac_lib"; then
 8411:     ac_res="none required"
 8412:   else
 8413:     ac_res=-l$ac_lib
 8414:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8415:   fi
 8416:   if ac_fn_c_try_link "$LINENO"; then :
 8417:   ac_cv_search_opendir=$ac_res
 8418: fi
 8419: rm -f core conftest.err conftest.$ac_objext \
 8420:     conftest$ac_exeext
 8421:   if test "${ac_cv_search_opendir+set}" = set; then :
 8422:   break
 8423: fi
 8424: done
 8425: if test "${ac_cv_search_opendir+set}" = set; then :
 8426: 
 8427: else
 8428:   ac_cv_search_opendir=no
 8429: fi
 8430: rm conftest.$ac_ext
 8431: LIBS=$ac_func_search_save_LIBS
 8432: fi
 8433: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8434: $as_echo "$ac_cv_search_opendir" >&6; }
 8435: ac_res=$ac_cv_search_opendir
 8436: if test "$ac_res" != no; then :
 8437:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8438: 
 8439: fi
 8440: 
 8441: else
 8442:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8443: $as_echo_n "checking for library containing opendir... " >&6; }
 8444: if test "${ac_cv_search_opendir+set}" = set; then :
 8445:   $as_echo_n "(cached) " >&6
 8446: else
 8447:   ac_func_search_save_LIBS=$LIBS
 8448: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8449: /* end confdefs.h.  */
 8450: 
 8451: /* Override any GCC internal prototype to avoid an error.
 8452:    Use char because int might match the return type of a GCC
 8453:    builtin and then its argument prototype would still apply.  */
 8454: #ifdef __cplusplus
 8455: extern "C"
 8456: #endif
 8457: char opendir ();
 8458: int
 8459: main ()
 8460: {
 8461: return opendir ();
 8462:   ;
 8463:   return 0;
 8464: }
 8465: _ACEOF
 8466: for ac_lib in '' x; do
 8467:   if test -z "$ac_lib"; then
 8468:     ac_res="none required"
 8469:   else
 8470:     ac_res=-l$ac_lib
 8471:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8472:   fi
 8473:   if ac_fn_c_try_link "$LINENO"; then :
 8474:   ac_cv_search_opendir=$ac_res
 8475: fi
 8476: rm -f core conftest.err conftest.$ac_objext \
 8477:     conftest$ac_exeext
 8478:   if test "${ac_cv_search_opendir+set}" = set; then :
 8479:   break
 8480: fi
 8481: done
 8482: if test "${ac_cv_search_opendir+set}" = set; then :
 8483: 
 8484: else
 8485:   ac_cv_search_opendir=no
 8486: fi
 8487: rm conftest.$ac_ext
 8488: LIBS=$ac_func_search_save_LIBS
 8489: fi
 8490: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8491: $as_echo "$ac_cv_search_opendir" >&6; }
 8492: ac_res=$ac_cv_search_opendir
 8493: if test "$ac_res" != no; then :
 8494:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8495: 
 8496: fi
 8497: 
 8498: fi
 8499: 
 8500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8501: $as_echo_n "checking for ANSI C header files... " >&6; }
 8502: if test "${ac_cv_header_stdc+set}" = set; then :
 8503:   $as_echo_n "(cached) " >&6
 8504: else
 8505:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8506: /* end confdefs.h.  */
 8507: #include <stdlib.h>
 8508: #include <stdarg.h>
 8509: #include <string.h>
 8510: #include <float.h>
 8511: 
 8512: int
 8513: main ()
 8514: {
 8515: 
 8516:   ;
 8517:   return 0;
 8518: }
 8519: _ACEOF
 8520: if ac_fn_c_try_compile "$LINENO"; then :
 8521:   ac_cv_header_stdc=yes
 8522: else
 8523:   ac_cv_header_stdc=no
 8524: fi
 8525: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8526: 
 8527: if test $ac_cv_header_stdc = yes; then
 8528:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8529:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8530: /* end confdefs.h.  */
 8531: #include <string.h>
 8532: 
 8533: _ACEOF
 8534: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8535:   $EGREP "memchr" >/dev/null 2>&1; then :
 8536: 
 8537: else
 8538:   ac_cv_header_stdc=no
 8539: fi
 8540: rm -f conftest*
 8541: 
 8542: fi
 8543: 
 8544: if test $ac_cv_header_stdc = yes; then
 8545:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8546:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8547: /* end confdefs.h.  */
 8548: #include <stdlib.h>
 8549: 
 8550: _ACEOF
 8551: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8552:   $EGREP "free" >/dev/null 2>&1; then :
 8553: 
 8554: else
 8555:   ac_cv_header_stdc=no
 8556: fi
 8557: rm -f conftest*
 8558: 
 8559: fi
 8560: 
 8561: if test $ac_cv_header_stdc = yes; then
 8562:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8563:   if test "$cross_compiling" = yes; then :
 8564:   :
 8565: else
 8566:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8567: /* end confdefs.h.  */
 8568: #include <ctype.h>
 8569: #include <stdlib.h>
 8570: #if ((' ' & 0x0FF) == 0x020)
 8571: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8572: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8573: #else
 8574: # define ISLOWER(c) \
 8575:            (('a' <= (c) && (c) <= 'i') \
 8576:              || ('j' <= (c) && (c) <= 'r') \
 8577:              || ('s' <= (c) && (c) <= 'z'))
 8578: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8579: #endif
 8580: 
 8581: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8582: int
 8583: main ()
 8584: {
 8585:   int i;
 8586:   for (i = 0; i < 256; i++)
 8587:     if (XOR (islower (i), ISLOWER (i))
 8588:     || toupper (i) != TOUPPER (i))
 8589:       return 2;
 8590:   return 0;
 8591: }
 8592: _ACEOF
 8593: if ac_fn_c_try_run "$LINENO"; then :
 8594: 
 8595: else
 8596:   ac_cv_header_stdc=no
 8597: fi
 8598: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8599:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8600: fi
 8601: 
 8602: fi
 8603: fi
 8604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8605: $as_echo "$ac_cv_header_stdc" >&6; }
 8606: if test $ac_cv_header_stdc = yes; then
 8607: 
 8608: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8609: 
 8610: fi
 8611: 
 8612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8613: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8614: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 8615:   $as_echo_n "(cached) " >&6
 8616: else
 8617:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8618: /* end confdefs.h.  */
 8619: #include <sys/types.h>
 8620: #include <sys/wait.h>
 8621: #ifndef WEXITSTATUS
 8622: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8623: #endif
 8624: #ifndef WIFEXITED
 8625: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8626: #endif
 8627: 
 8628: int
 8629: main ()
 8630: {
 8631:   int s;
 8632:   wait (&s);
 8633:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8634:   ;
 8635:   return 0;
 8636: }
 8637: _ACEOF
 8638: if ac_fn_c_try_compile "$LINENO"; then :
 8639:   ac_cv_header_sys_wait_h=yes
 8640: else
 8641:   ac_cv_header_sys_wait_h=no
 8642: fi
 8643: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8644: fi
 8645: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8646: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8647: if test $ac_cv_header_sys_wait_h = yes; then
 8648: 
 8649: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8650: 
 8651: fi
 8652: 
 8653: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8654:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8655:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8656: do :
 8657:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8658: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8659: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8660:   cat >>confdefs.h <<_ACEOF
 8661: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8662: _ACEOF
 8663: 
 8664: fi
 8665: 
 8666: done
 8667: 
 8668: 
 8669: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8670: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8671: if test "${ac_cv_c_const+set}" = set; then :
 8672:   $as_echo_n "(cached) " >&6
 8673: else
 8674:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8675: /* end confdefs.h.  */
 8676: 
 8677: int
 8678: main ()
 8679: {
 8680: /* FIXME: Include the comments suggested by Paul. */
 8681: #ifndef __cplusplus
 8682:   /* Ultrix mips cc rejects this.  */
 8683:   typedef int charset[2];
 8684:   const charset cs;
 8685:   /* SunOS 4.1.1 cc rejects this.  */
 8686:   char const *const *pcpcc;
 8687:   char **ppc;
 8688:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8689:   struct point {int x, y;};
 8690:   static struct point const zero = {0,0};
 8691:   /* AIX XL C 1.02.0.0 rejects this.
 8692:      It does not let you subtract one const X* pointer from another in
 8693:      an arm of an if-expression whose if-part is not a constant
 8694:      expression */
 8695:   const char *g = "string";
 8696:   pcpcc = &g + (g ? g-g : 0);
 8697:   /* HPUX 7.0 cc rejects these. */
 8698:   ++pcpcc;
 8699:   ppc = (char**) pcpcc;
 8700:   pcpcc = (char const *const *) ppc;
 8701:   { /* SCO 3.2v4 cc rejects this.  */
 8702:     char *t;
 8703:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8704: 
 8705:     *t++ = 0;
 8706:     if (s) return 0;
 8707:   }
 8708:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8709:     int x[] = {25, 17};
 8710:     const int *foo = &x[0];
 8711:     ++foo;
 8712:   }
 8713:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 8714:     typedef const int *iptr;
 8715:     iptr p = 0;
 8716:     ++p;
 8717:   }
 8718:   { /* AIX XL C 1.02.0.0 rejects this saying
 8719:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 8720:     struct s { int j; const int *ap[3]; };
 8721:     struct s *b; b->j = 5;
 8722:   }
 8723:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 8724:     const int foo = 10;
 8725:     if (!foo) return 0;
 8726:   }
 8727:   return !cs[0] && !zero.x;
 8728: #endif
 8729: 
 8730:   ;
 8731:   return 0;
 8732: }
 8733: _ACEOF
 8734: if ac_fn_c_try_compile "$LINENO"; then :
 8735:   ac_cv_c_const=yes
 8736: else
 8737:   ac_cv_c_const=no
 8738: fi
 8739: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8740: fi
 8741: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 8742: $as_echo "$ac_cv_c_const" >&6; }
 8743: if test $ac_cv_c_const = no; then
 8744: 
 8745: $as_echo "#define const /**/" >>confdefs.h
 8746: 
 8747: fi
 8748: 
 8749: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 8750: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 8751: if test "${ac_cv_type_uid_t+set}" = set; then :
 8752:   $as_echo_n "(cached) " >&6
 8753: else
 8754:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8755: /* end confdefs.h.  */
 8756: #include <sys/types.h>
 8757: 
 8758: _ACEOF
 8759: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8760:   $EGREP "uid_t" >/dev/null 2>&1; then :
 8761:   ac_cv_type_uid_t=yes
 8762: else
 8763:   ac_cv_type_uid_t=no
 8764: fi
 8765: rm -f conftest*
 8766: 
 8767: fi
 8768: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 8769: $as_echo "$ac_cv_type_uid_t" >&6; }
 8770: if test $ac_cv_type_uid_t = no; then
 8771: 
 8772: $as_echo "#define uid_t int" >>confdefs.h
 8773: 
 8774: 
 8775: $as_echo "#define gid_t int" >>confdefs.h
 8776: 
 8777: fi
 8778: 
 8779: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 8780: if test "x$ac_cv_type_pid_t" = x""yes; then :
 8781: 
 8782: else
 8783: 
 8784: cat >>confdefs.h <<_ACEOF
 8785: #define pid_t int
 8786: _ACEOF
 8787: 
 8788: fi
 8789: 
 8790: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 8791: if test "x$ac_cv_type_size_t" = x""yes; then :
 8792: 
 8793: else
 8794: 
 8795: cat >>confdefs.h <<_ACEOF
 8796: #define size_t unsigned int
 8797: _ACEOF
 8798: 
 8799: fi
 8800: 
 8801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 8802: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 8803: if test "${ac_cv_header_time+set}" = set; then :
 8804:   $as_echo_n "(cached) " >&6
 8805: else
 8806:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8807: /* end confdefs.h.  */
 8808: #include <sys/types.h>
 8809: #include <sys/time.h>
 8810: #include <time.h>
 8811: 
 8812: int
 8813: main ()
 8814: {
 8815: if ((struct tm *) 0)
 8816: return 0;
 8817:   ;
 8818:   return 0;
 8819: }
 8820: _ACEOF
 8821: if ac_fn_c_try_compile "$LINENO"; then :
 8822:   ac_cv_header_time=yes
 8823: else
 8824:   ac_cv_header_time=no
 8825: fi
 8826: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8827: fi
 8828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 8829: $as_echo "$ac_cv_header_time" >&6; }
 8830: if test $ac_cv_header_time = yes; then
 8831: 
 8832: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 8833: 
 8834: fi
 8835: 
 8836: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 8837: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 8838: if test "${ac_cv_struct_tm+set}" = set; then :
 8839:   $as_echo_n "(cached) " >&6
 8840: else
 8841:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8842: /* end confdefs.h.  */
 8843: #include <sys/types.h>
 8844: #include <time.h>
 8845: 
 8846: int
 8847: main ()
 8848: {
 8849: struct tm tm;
 8850:                      int *p = &tm.tm_sec;
 8851:                      return !p;
 8852:   ;
 8853:   return 0;
 8854: }
 8855: _ACEOF
 8856: if ac_fn_c_try_compile "$LINENO"; then :
 8857:   ac_cv_struct_tm=time.h
 8858: else
 8859:   ac_cv_struct_tm=sys/time.h
 8860: fi
 8861: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8862: fi
 8863: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 8864: $as_echo "$ac_cv_struct_tm" >&6; }
 8865: if test $ac_cv_struct_tm = sys/time.h; then
 8866: 
 8867: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 8868: 
 8869: fi
 8870: 
 8871: 
 8872: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 8873: $as_echo_n "checking return type of signal handlers... " >&6; }
 8874: if test "${ac_cv_type_signal+set}" = set; then :
 8875:   $as_echo_n "(cached) " >&6
 8876: else
 8877:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8878: /* end confdefs.h.  */
 8879: #include <sys/types.h>
 8880: #include <signal.h>
 8881: 
 8882: int
 8883: main ()
 8884: {
 8885: return *(signal (0, 0)) (0) == 1;
 8886:   ;
 8887:   return 0;
 8888: }
 8889: _ACEOF
 8890: if ac_fn_c_try_compile "$LINENO"; then :
 8891:   ac_cv_type_signal=int
 8892: else
 8893:   ac_cv_type_signal=void
 8894: fi
 8895: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8896: fi
 8897: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 8898: $as_echo "$ac_cv_type_signal" >&6; }
 8899: 
 8900: cat >>confdefs.h <<_ACEOF
 8901: #define RETSIGTYPE $ac_cv_type_signal
 8902: _ACEOF
 8903: 
 8904: 
 8905: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
 8906: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
 8907: if test "$cross_compiling" = yes; then :
 8908:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8909: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8910: as_fn_error $? "cannot run test program while cross compiling
 8911: See \`config.log' for more details" "$LINENO" 5 ; }
 8912: else
 8913:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8914: /* end confdefs.h.  */
 8915: #include <unistd.h>
 8916: #include <signal.h>
 8917: int flag;
 8918: void handler(int signal, siginfo_t *siginfo, void *context)
 8919: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
 8920: int
 8921: main ()
 8922: {
 8923: struct sigaction    action;
 8924: action.sa_sigaction = handler;
 8925: action.sa_flags = SA_SIGINFO;
 8926: sigaction(SIGUSR1, &action, NULL);
 8927: raise(SIGUSR1);
 8928: return(flag);
 8929:   ;
 8930:   return 0;
 8931: }
 8932: _ACEOF
 8933: if ac_fn_c_try_run "$LINENO"; then :
 8934:   BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8935: $as_echo "no" >&6; }
 8936: else
 8937:   BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 8938: $as_echo "yes" >&6; }
 8939: fi
 8940: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8941:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8942: fi
 8943: 
 8944: 
 8945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 8946: $as_echo_n "checking for working strcoll... " >&6; }
 8947: if test "${ac_cv_func_strcoll_works+set}" = set; then :
 8948:   $as_echo_n "(cached) " >&6
 8949: else
 8950:   if test "$cross_compiling" = yes; then :
 8951:   ac_cv_func_strcoll_works=no
 8952: else
 8953:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8954: /* end confdefs.h.  */
 8955: $ac_includes_default
 8956: int
 8957: main ()
 8958: {
 8959: return (strcoll ("abc", "def") >= 0 ||
 8960:      strcoll ("ABC", "DEF") >= 0 ||
 8961:      strcoll ("123", "456") >= 0)
 8962:   ;
 8963:   return 0;
 8964: }
 8965: _ACEOF
 8966: if ac_fn_c_try_run "$LINENO"; then :
 8967:   ac_cv_func_strcoll_works=yes
 8968: else
 8969:   ac_cv_func_strcoll_works=no
 8970: fi
 8971: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8972:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8973: fi
 8974: 
 8975: fi
 8976: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 8977: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 8978: if test $ac_cv_func_strcoll_works = yes; then
 8979: 
 8980: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 8981: 
 8982: fi
 8983: 
 8984: for ac_func in strftime
 8985: do :
 8986:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 8987: if test "x$ac_cv_func_strftime" = x""yes; then :
 8988:   cat >>confdefs.h <<_ACEOF
 8989: #define HAVE_STRFTIME 1
 8990: _ACEOF
 8991: 
 8992: else
 8993:   # strftime is in -lintl on SCO UNIX.
 8994: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 8995: $as_echo_n "checking for strftime in -lintl... " >&6; }
 8996: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 8997:   $as_echo_n "(cached) " >&6
 8998: else
 8999:   ac_check_lib_save_LIBS=$LIBS
 9000: LIBS="-lintl  $LIBS"
 9001: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9002: /* end confdefs.h.  */
 9003: 
 9004: /* Override any GCC internal prototype to avoid an error.
 9005:    Use char because int might match the return type of a GCC
 9006:    builtin and then its argument prototype would still apply.  */
 9007: #ifdef __cplusplus
 9008: extern "C"
 9009: #endif
 9010: char strftime ();
 9011: int
 9012: main ()
 9013: {
 9014: return strftime ();
 9015:   ;
 9016:   return 0;
 9017: }
 9018: _ACEOF
 9019: if ac_fn_c_try_link "$LINENO"; then :
 9020:   ac_cv_lib_intl_strftime=yes
 9021: else
 9022:   ac_cv_lib_intl_strftime=no
 9023: fi
 9024: rm -f core conftest.err conftest.$ac_objext \
 9025:     conftest$ac_exeext conftest.$ac_ext
 9026: LIBS=$ac_check_lib_save_LIBS
 9027: fi
 9028: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 9029: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 9030: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 9031:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 9032: 
 9033: LIBS="-lintl $LIBS"
 9034: fi
 9035: 
 9036: fi
 9037: done
 9038: 
 9039: for ac_func in vprintf
 9040: do :
 9041:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 9042: if test "x$ac_cv_func_vprintf" = x""yes; then :
 9043:   cat >>confdefs.h <<_ACEOF
 9044: #define HAVE_VPRINTF 1
 9045: _ACEOF
 9046: 
 9047: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 9048: if test "x$ac_cv_func__doprnt" = x""yes; then :
 9049: 
 9050: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 9051: 
 9052: fi
 9053: 
 9054: fi
 9055: done
 9056: 
 9057: 
 9058: for ac_func in ftime getcwd putenv select strcspn strdup \
 9059:         strerror strspn strstr strtod
 9060: do :
 9061:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 9062: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 9063: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 9064:   cat >>confdefs.h <<_ACEOF
 9065: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 9066: _ACEOF
 9067: 
 9068: fi
 9069: done
 9070: 
 9071: 
 9072: 
 9073: # Check whether --with-openssl_arch was given.
 9074: if test "${with_openssl_arch+set}" = set; then :
 9075:   withval=$with_openssl_arch;
 9076: else
 9077:   with_openssl_arch=none
 9078: fi
 9079: 
 9080: 
 9081: if test $(uname) = "OS/2"; then
 9082:     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 9083: else
 9084:     if test "x$with_openssl_arch" = xnone; then
 9085:         (cd tools/$OPENSSL && ./config)
 9086:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 9087:         (cd tools/$OPENSSL && ./Configure)
 9088:         as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
 9089:     elif test "x$with_openssl_arch" = xlist; then
 9090:         (cd tools/$OPENSSL && ./Configure)
 9091:         as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
 9092:     else
 9093:         (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
 9094:     fi
 9095: fi
 9096: 
 9097: 
 9098: 
 9099: subdirs="$subdirs tools/$NCURSES"
 9100: 
 9101: subdirs="$subdirs tools/$READLINE"
 9102: 
 9103: subdirs="$subdirs tools/$GSL"
 9104: 
 9105: subdirs="$subdirs tools/$GPP"
 9106: 
 9107: subdirs="$subdirs tools/$FILE"
 9108: 
 9109: subdirs="$subdirs tools/$ICONV"
 9110: 
 9111: subdirs="$subdirs tools/$SQLITE"
 9112: 
 9113: subdirs="$subdirs tools/$UNITS"
 9114: 
 9115: 
 9116: if test "$MYGNUPLOT" = "yes"; then
 9117:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 9118:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 9119:                 (cd "$srcdir/tools" && tar -xf -)
 9120:     fi
 9121:     subdirs="$subdirs tools/$GNUPLOT"
 9122: 
 9123:     GNUPLOT_COMPILATION=$GNUPLOT
 9124: else
 9125:     GNUPLOT_COMPILATION=
 9126: fi
 9127: 
 9128: 
 9129: 
 9130: case $host_cpu in
 9131: 
 9132:     i?86)
 9133:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9134:             -Wno-pointer-sign"
 9135:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9136:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9137:     break ;;
 9138: 
 9139:     x86_64*)
 9140:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9141:             -Wno-pointer-sign"
 9142:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9143:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9144:     break ;;
 9145: 
 9146:     alpha*)
 9147:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
 9148:             -Wno-pointer-sign"
 9149:     FFLAGS="$FFLAGS -mieee -Wall"
 9150:     FCFLAGS="$FCFLAGS -mieee -Wall"
 9151:     break ;;
 9152: 
 9153:     sparc*)
 9154:     CFLAGS="$CFLAGS -Wall -funsigned-char \
 9155:             -Wno-pointer-sign"
 9156:     FFLAGS="$FFLAGS -Wall"
 9157:     FCFLAGS="$FCFLAGS -Wall"
 9158:     break ;;
 9159: 
 9160: esac
 9161: 
 9162: case $host_os in
 9163: 
 9164:     cygwin*)
 9165:         OS=Cygwin
 9166:     break ;;
 9167: 
 9168:     interix*)
 9169:         OS=Interix
 9170:     break ;;
 9171: 
 9172:     *)
 9173:         OS=$(uname)
 9174:     break ;;
 9175: 
 9176: esac
 9177: 
 9178: 
 9179: 
 9180: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9181: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9182: MALLOC=
 9183: 
 9184: case $OS in
 9185: 
 9186:     Darwin)
 9187:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9188:         NESTED_FUNCTIONS=-fnested-functions
 9189:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9190:         IPCS_SYSV=-UIPCS_SYSV
 9191:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9192:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9193:                 --disable-shared --enable-static --enable-threads"
 9194:         C_STANDARD=-std=gnu99
 9195:     break ;;
 9196: 
 9197:     Cygwin)
 9198:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9199:         NESTED_FUNCTIONS=
 9200:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9201:         IPCS_SYSV=-UIPCS_SYSV
 9202:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9203:                 --disable-shared --enable-static --enable-threads"
 9204:         C_STANDARD=-std=gnu99
 9205:     break ;;
 9206: 
 9207:     Interix)
 9208:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9209:         NESTED_FUNCTIONS=
 9210:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9211:         IPCS_SYSV=-UIPCS_SYSV
 9212:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9213:                 --disable-shared --enable-static --enable-threads"
 9214:         C_STANDARD=-std=gnu99
 9215:     break;;
 9216: 
 9217:     AIX)
 9218:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9219:         NESTED_FUNCTIONS=
 9220:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9221:         IPCS_SYSV=-UIPCS_SYSV
 9222:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9223:                 --disable-shared --enable-static --enable-threads"
 9224:         C_STANDARD=-std=gnu99
 9225:     break ;;
 9226: 
 9227:     OS/2)
 9228:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9229:             FINAL_ENCODING=CP850; \
 9230:         fi;
 9231:         OS=OS2
 9232:         NESTED_FUNCTIONS=
 9233:         EXPORT_DYNAMIC=-Zmap
 9234:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9235:         IPCS_SYSV=-DIPCS_SYSV
 9236:         ac_configure_args="$ac_configure_args --without-readline \
 9237:                 --without-cairo --disable-shared --enable-static \
 9238:                 --enable-threads"
 9239:         C_STANDARD=
 9240:     break;;
 9241: 
 9242:     OpenBSD)
 9243:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9244:             FINAL_ENCODING=UTF-8; \
 9245:         fi;
 9246:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9247:         NESTED_FUNCTIONS=
 9248:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9249:         IPCS_SYSV=-DIPCS_SYSV
 9250:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9251:                 --disable-shared --enable-static --enable-threads"
 9252:         C_STANDARD=-std=gnu99
 9253:     break;;
 9254: 
 9255:     SunOS)
 9256:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9257:         NESTED_FUNCTIONS=
 9258:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9259: 
 9260:         if test $IPCS_SYSV = no; then
 9261:             IPCS_SYSV=-UIPCS_SYSV
 9262:         else
 9263:             IPCS_SYSV=-DIPCS_SYSV
 9264:         fi
 9265: 
 9266:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9267:                 --disable-shared --enable-static --enable-threads"
 9268:         C_STANDARD=-std=gnu99
 9269:         MALLOC=-lumem
 9270:     break ;;
 9271: 
 9272:     *)
 9273:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9274:         NESTED_FUNCTIONS=
 9275:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9276: 
 9277:         if test $IPCS_SYSV = no; then
 9278:             IPCS_SYSV=-UIPCS_SYSV
 9279:         else
 9280:             IPCS_SYSV=-DIPCS_SYSV
 9281:         fi
 9282: 
 9283:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9284:                 --disable-shared --enable-static --enable-threads"
 9285:         C_STANDARD=-std=gnu99
 9286:     break ;;
 9287: 
 9288: esac
 9289: 
 9290: 
 9291: 
 9292: 
 9293: 
 9294: 
 9295: 
 9296: 
 9297: 
 9298: 
 9299: 
 9300: 
 9301: 
 9302: 
 9303: 
 9304: 
 9305: 
 9306: 
 9307: 
 9308: 
 9309: 
 9310: 
 9311: 
 9312: 
 9313: 
 9314: 
 9315: 
 9316: 
 9317: 
 9318: 
 9319: 
 9320: 
 9321: 
 9322: 
 9323: ac_config_files="$ac_config_files Makefile"
 9324: 
 9325: ac_config_files="$ac_config_files COPYING"
 9326: 
 9327: ac_config_files="$ac_config_files tools/Makefile"
 9328: 
 9329: ac_config_files="$ac_config_files src/Makefile"
 9330: 
 9331: ac_config_files="$ac_config_files man/Makefile"
 9332: 
 9333: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9334: 
 9335: ac_config_files="$ac_config_files doc/Makefile"
 9336: 
 9337: ac_config_files="$ac_config_files scripts/Makefile"
 9338: 
 9339: ac_config_files="$ac_config_files scripts/mkrplso"
 9340: 
 9341: ac_config_files="$ac_config_files scripts/rplcc"
 9342: 
 9343: ac_config_files="$ac_config_files scripts/rpllink"
 9344: 
 9345: ac_config_files="$ac_config_files rpltags/Makefile"
 9346: 
 9347: ac_config_files="$ac_config_files rpliconv/Makefile"
 9348: 
 9349: ac_config_files="$ac_config_files rplsums/Makefile"
 9350: 
 9351: ac_config_files="$ac_config_files rplcas/Makefile"
 9352: 
 9353: ac_config_files="$ac_config_files rplawk/Makefile"
 9354: 
 9355: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9356: 
 9357: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9358: 
 9359: 
 9360: ac_config_files="$ac_config_files man/rpl.1"
 9361: 
 9362: ac_config_files="$ac_config_files man/rplcc.1"
 9363: 
 9364: ac_config_files="$ac_config_files man/rpllink.1"
 9365: 
 9366: ac_config_files="$ac_config_files man/rpltags.1"
 9367: 
 9368: ac_config_files="$ac_config_files man/mkrplso.1"
 9369: 
 9370: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9371: 
 9372: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9373: 
 9374: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9375: 
 9376: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9377: 
 9378: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9379: 
 9380: 
 9381: cat >confcache <<\_ACEOF
 9382: # This file is a shell script that caches the results of configure
 9383: # tests run on this system so they can be shared between configure
 9384: # scripts and configure runs, see configure's option --config-cache.
 9385: # It is not useful on other systems.  If it contains results you don't
 9386: # want to keep, you may remove or edit it.
 9387: #
 9388: # config.status only pays attention to the cache file if you give it
 9389: # the --recheck option to rerun configure.
 9390: #
 9391: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9392: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9393: # following values.
 9394: 
 9395: _ACEOF
 9396: 
 9397: # The following way of writing the cache mishandles newlines in values,
 9398: # but we know of no workaround that is simple, portable, and efficient.
 9399: # So, we kill variables containing newlines.
 9400: # Ultrix sh set writes to stderr and can't be redirected directly,
 9401: # and sets the high bit in the cache file unless we assign to the vars.
 9402: (
 9403:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9404:     eval ac_val=\$$ac_var
 9405:     case $ac_val in #(
 9406:     *${as_nl}*)
 9407:       case $ac_var in #(
 9408:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9409: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9410:       esac
 9411:       case $ac_var in #(
 9412:       _ | IFS | as_nl) ;; #(
 9413:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9414:       *) { eval $ac_var=; unset $ac_var;} ;;
 9415:       esac ;;
 9416:     esac
 9417:   done
 9418: 
 9419:   (set) 2>&1 |
 9420:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9421:     *${as_nl}ac_space=\ *)
 9422:       # `set' does not quote correctly, so add quotes: double-quote
 9423:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9424:       sed -n \
 9425:     "s/'/'\\\\''/g;
 9426:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9427:       ;; #(
 9428:     *)
 9429:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9430:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9431:       ;;
 9432:     esac |
 9433:     sort
 9434: ) |
 9435:   sed '
 9436:      /^ac_cv_env_/b end
 9437:      t clear
 9438:      :clear
 9439:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9440:      t end
 9441:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9442:      :end' >>confcache
 9443: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9444:   if test -w "$cache_file"; then
 9445:     test "x$cache_file" != "x/dev/null" &&
 9446:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9447: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9448:     cat confcache >$cache_file
 9449:   else
 9450:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9451: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9452:   fi
 9453: fi
 9454: rm -f confcache
 9455: 
 9456: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9457: # Let make expand exec_prefix.
 9458: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9459: 
 9460: DEFS=-DHAVE_CONFIG_H
 9461: 
 9462: ac_libobjs=
 9463: ac_ltlibobjs=
 9464: U=
 9465: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9466:   # 1. Remove the extension, and $U if already installed.
 9467:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9468:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9469:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9470:   #    will be set to the directory where LIBOBJS objects are built.
 9471:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9472:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9473: done
 9474: LIBOBJS=$ac_libobjs
 9475: 
 9476: LTLIBOBJS=$ac_ltlibobjs
 9477: 
 9478: 
 9479:  if test -n "$EXEEXT"; then
 9480:   am__EXEEXT_TRUE=
 9481:   am__EXEEXT_FALSE='#'
 9482: else
 9483:   am__EXEEXT_TRUE='#'
 9484:   am__EXEEXT_FALSE=
 9485: fi
 9486: 
 9487: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9488:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 9489: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9490: fi
 9491: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9492:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 9493: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9494: fi
 9495: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9496:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 9497: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9498: fi
 9499: 
 9500: : ${CONFIG_STATUS=./config.status}
 9501: ac_write_fail=0
 9502: ac_clean_files_save=$ac_clean_files
 9503: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9504: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9505: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9506: as_write_fail=0
 9507: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9508: #! $SHELL
 9509: # Generated by $as_me.
 9510: # Run this file to recreate the current configuration.
 9511: # Compiler output produced by configure, useful for debugging
 9512: # configure, is in config.log if it exists.
 9513: 
 9514: debug=false
 9515: ac_cs_recheck=false
 9516: ac_cs_silent=false
 9517: 
 9518: SHELL=\${CONFIG_SHELL-$SHELL}
 9519: export SHELL
 9520: _ASEOF
 9521: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9522: ## -------------------- ##
 9523: ## M4sh Initialization. ##
 9524: ## -------------------- ##
 9525: 
 9526: # Be more Bourne compatible
 9527: DUALCASE=1; export DUALCASE # for MKS sh
 9528: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9529:   emulate sh
 9530:   NULLCMD=:
 9531:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9532:   # is contrary to our usage.  Disable this feature.
 9533:   alias -g '${1+"$@"}'='"$@"'
 9534:   setopt NO_GLOB_SUBST
 9535: else
 9536:   case `(set -o) 2>/dev/null` in #(
 9537:   *posix*) :
 9538:     set -o posix ;; #(
 9539:   *) :
 9540:      ;;
 9541: esac
 9542: fi
 9543: 
 9544: 
 9545: as_nl='
 9546: '
 9547: export as_nl
 9548: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9549: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9550: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9551: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9552: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9553: # but without wasting forks for bash or zsh.
 9554: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9555:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9556:   as_echo='print -r --'
 9557:   as_echo_n='print -rn --'
 9558: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9559:   as_echo='printf %s\n'
 9560:   as_echo_n='printf %s'
 9561: else
 9562:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9563:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9564:     as_echo_n='/usr/ucb/echo -n'
 9565:   else
 9566:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9567:     as_echo_n_body='eval
 9568:       arg=$1;
 9569:       case $arg in #(
 9570:       *"$as_nl"*)
 9571:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9572:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9573:       esac;
 9574:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9575:     '
 9576:     export as_echo_n_body
 9577:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9578:   fi
 9579:   export as_echo_body
 9580:   as_echo='sh -c $as_echo_body as_echo'
 9581: fi
 9582: 
 9583: # The user is always right.
 9584: if test "${PATH_SEPARATOR+set}" != set; then
 9585:   PATH_SEPARATOR=:
 9586:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9587:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9588:       PATH_SEPARATOR=';'
 9589:   }
 9590: fi
 9591: 
 9592: 
 9593: # IFS
 9594: # We need space, tab and new line, in precisely that order.  Quoting is
 9595: # there to prevent editors from complaining about space-tab.
 9596: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9597: # splitting by setting IFS to empty value.)
 9598: IFS=" ""    $as_nl"
 9599: 
 9600: # Find who we are.  Look in the path if we contain no directory separator.
 9601: case $0 in #((
 9602:   *[\\/]* ) as_myself=$0 ;;
 9603:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9604: for as_dir in $PATH
 9605: do
 9606:   IFS=$as_save_IFS
 9607:   test -z "$as_dir" && as_dir=.
 9608:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9609:   done
 9610: IFS=$as_save_IFS
 9611: 
 9612:      ;;
 9613: esac
 9614: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9615: # in which case we are not to be found in the path.
 9616: if test "x$as_myself" = x; then
 9617:   as_myself=$0
 9618: fi
 9619: if test ! -f "$as_myself"; then
 9620:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9621:   exit 1
 9622: fi
 9623: 
 9624: # Unset variables that we do not need and which cause bugs (e.g. in
 9625: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9626: # suppresses any "Segmentation fault" message there.  '((' could
 9627: # trigger a bug in pdksh 5.2.14.
 9628: for as_var in BASH_ENV ENV MAIL MAILPATH
 9629: do eval test x\${$as_var+set} = xset \
 9630:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9631: done
 9632: PS1='$ '
 9633: PS2='> '
 9634: PS4='+ '
 9635: 
 9636: # NLS nuisances.
 9637: LC_ALL=C
 9638: export LC_ALL
 9639: LANGUAGE=C
 9640: export LANGUAGE
 9641: 
 9642: # CDPATH.
 9643: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9644: 
 9645: 
 9646: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 9647: # ----------------------------------------
 9648: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9649: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9650: # script with STATUS, using 1 if that was 0.
 9651: as_fn_error ()
 9652: {
 9653:   as_status=$1; test $as_status -eq 0 && as_status=1
 9654:   if test "$4"; then
 9655:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 9656:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 9657:   fi
 9658:   $as_echo "$as_me: error: $2" >&2
 9659:   as_fn_exit $as_status
 9660: } # as_fn_error
 9661: 
 9662: 
 9663: # as_fn_set_status STATUS
 9664: # -----------------------
 9665: # Set $? to STATUS, without forking.
 9666: as_fn_set_status ()
 9667: {
 9668:   return $1
 9669: } # as_fn_set_status
 9670: 
 9671: # as_fn_exit STATUS
 9672: # -----------------
 9673: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 9674: as_fn_exit ()
 9675: {
 9676:   set +e
 9677:   as_fn_set_status $1
 9678:   exit $1
 9679: } # as_fn_exit
 9680: 
 9681: # as_fn_unset VAR
 9682: # ---------------
 9683: # Portably unset VAR.
 9684: as_fn_unset ()
 9685: {
 9686:   { eval $1=; unset $1;}
 9687: }
 9688: as_unset=as_fn_unset
 9689: # as_fn_append VAR VALUE
 9690: # ----------------------
 9691: # Append the text in VALUE to the end of the definition contained in VAR. Take
 9692: # advantage of any shell optimizations that allow amortized linear growth over
 9693: # repeated appends, instead of the typical quadratic growth present in naive
 9694: # implementations.
 9695: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 9696:   eval 'as_fn_append ()
 9697:   {
 9698:     eval $1+=\$2
 9699:   }'
 9700: else
 9701:   as_fn_append ()
 9702:   {
 9703:     eval $1=\$$1\$2
 9704:   }
 9705: fi # as_fn_append
 9706: 
 9707: # as_fn_arith ARG...
 9708: # ------------------
 9709: # Perform arithmetic evaluation on the ARGs, and store the result in the
 9710: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 9711: # must be portable across $(()) and expr.
 9712: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 9713:   eval 'as_fn_arith ()
 9714:   {
 9715:     as_val=$(( $* ))
 9716:   }'
 9717: else
 9718:   as_fn_arith ()
 9719:   {
 9720:     as_val=`expr "$@" || test $? -eq 1`
 9721:   }
 9722: fi # as_fn_arith
 9723: 
 9724: 
 9725: if expr a : '\(a\)' >/dev/null 2>&1 &&
 9726:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 9727:   as_expr=expr
 9728: else
 9729:   as_expr=false
 9730: fi
 9731: 
 9732: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 9733:   as_basename=basename
 9734: else
 9735:   as_basename=false
 9736: fi
 9737: 
 9738: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 9739:   as_dirname=dirname
 9740: else
 9741:   as_dirname=false
 9742: fi
 9743: 
 9744: as_me=`$as_basename -- "$0" ||
 9745: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 9746:      X"$0" : 'X\(//\)$' \| \
 9747:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 9748: $as_echo X/"$0" |
 9749:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 9750:         s//\1/
 9751:         q
 9752:       }
 9753:       /^X\/\(\/\/\)$/{
 9754:         s//\1/
 9755:         q
 9756:       }
 9757:       /^X\/\(\/\).*/{
 9758:         s//\1/
 9759:         q
 9760:       }
 9761:       s/.*/./; q'`
 9762: 
 9763: # Avoid depending upon Character Ranges.
 9764: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 9765: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 9766: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 9767: as_cr_digits='0123456789'
 9768: as_cr_alnum=$as_cr_Letters$as_cr_digits
 9769: 
 9770: ECHO_C= ECHO_N= ECHO_T=
 9771: case `echo -n x` in #(((((
 9772: -n*)
 9773:   case `echo 'xy\c'` in
 9774:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 9775:   xy)  ECHO_C='\c';;
 9776:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 9777:        ECHO_T=' ';;
 9778:   esac;;
 9779: *)
 9780:   ECHO_N='-n';;
 9781: esac
 9782: 
 9783: rm -f conf$$ conf$$.exe conf$$.file
 9784: if test -d conf$$.dir; then
 9785:   rm -f conf$$.dir/conf$$.file
 9786: else
 9787:   rm -f conf$$.dir
 9788:   mkdir conf$$.dir 2>/dev/null
 9789: fi
 9790: if (echo >conf$$.file) 2>/dev/null; then
 9791:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 9792:     as_ln_s='ln -s'
 9793:     # ... but there are two gotchas:
 9794:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 9795:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 9796:     # In both cases, we have to default to `cp -p'.
 9797:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 9798:       as_ln_s='cp -p'
 9799:   elif ln conf$$.file conf$$ 2>/dev/null; then
 9800:     as_ln_s=ln
 9801:   else
 9802:     as_ln_s='cp -p'
 9803:   fi
 9804: else
 9805:   as_ln_s='cp -p'
 9806: fi
 9807: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 9808: rmdir conf$$.dir 2>/dev/null
 9809: 
 9810: 
 9811: # as_fn_mkdir_p
 9812: # -------------
 9813: # Create "$as_dir" as a directory, including parents if necessary.
 9814: as_fn_mkdir_p ()
 9815: {
 9816: 
 9817:   case $as_dir in #(
 9818:   -*) as_dir=./$as_dir;;
 9819:   esac
 9820:   test -d "$as_dir" || eval $as_mkdir_p || {
 9821:     as_dirs=
 9822:     while :; do
 9823:       case $as_dir in #(
 9824:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 9825:       *) as_qdir=$as_dir;;
 9826:       esac
 9827:       as_dirs="'$as_qdir' $as_dirs"
 9828:       as_dir=`$as_dirname -- "$as_dir" ||
 9829: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 9830:      X"$as_dir" : 'X\(//\)[^/]' \| \
 9831:      X"$as_dir" : 'X\(//\)$' \| \
 9832:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 9833: $as_echo X"$as_dir" |
 9834:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 9835:         s//\1/
 9836:         q
 9837:       }
 9838:       /^X\(\/\/\)[^/].*/{
 9839:         s//\1/
 9840:         q
 9841:       }
 9842:       /^X\(\/\/\)$/{
 9843:         s//\1/
 9844:         q
 9845:       }
 9846:       /^X\(\/\).*/{
 9847:         s//\1/
 9848:         q
 9849:       }
 9850:       s/.*/./; q'`
 9851:       test -d "$as_dir" && break
 9852:     done
 9853:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 9854:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 9855: 
 9856: 
 9857: } # as_fn_mkdir_p
 9858: if mkdir -p . 2>/dev/null; then
 9859:   as_mkdir_p='mkdir -p "$as_dir"'
 9860: else
 9861:   test -d ./-p && rmdir ./-p
 9862:   as_mkdir_p=false
 9863: fi
 9864: 
 9865: if test -x / >/dev/null 2>&1; then
 9866:   as_test_x='test -x'
 9867: else
 9868:   if ls -dL / >/dev/null 2>&1; then
 9869:     as_ls_L_option=L
 9870:   else
 9871:     as_ls_L_option=
 9872:   fi
 9873:   as_test_x='
 9874:     eval sh -c '\''
 9875:       if test -d "$1"; then
 9876:     test -d "$1/.";
 9877:       else
 9878:     case $1 in #(
 9879:     -*)set "./$1";;
 9880:     esac;
 9881:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 9882:     ???[sx]*):;;*)false;;esac;fi
 9883:     '\'' sh
 9884:   '
 9885: fi
 9886: as_executable_p=$as_test_x
 9887: 
 9888: # Sed expression to map a string onto a valid CPP name.
 9889: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 9890: 
 9891: # Sed expression to map a string onto a valid variable name.
 9892: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 9893: 
 9894: 
 9895: exec 6>&1
 9896: ## ----------------------------------- ##
 9897: ## Main body of $CONFIG_STATUS script. ##
 9898: ## ----------------------------------- ##
 9899: _ASEOF
 9900: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 9901: 
 9902: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9903: # Save the log message, to keep $0 and so on meaningful, and to
 9904: # report actual input values of CONFIG_FILES etc. instead of their
 9905: # values after options handling.
 9906: ac_log="
 9907: This file was extended by rpl $as_me 4.1.0.prerelease.0, which was
 9908: generated by GNU Autoconf 2.67.  Invocation command line was
 9909: 
 9910:   CONFIG_FILES    = $CONFIG_FILES
 9911:   CONFIG_HEADERS  = $CONFIG_HEADERS
 9912:   CONFIG_LINKS    = $CONFIG_LINKS
 9913:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 9914:   $ $0 $@
 9915: 
 9916: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 9917: "
 9918: 
 9919: _ACEOF
 9920: 
 9921: case $ac_config_files in *"
 9922: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 9923: esac
 9924: 
 9925: case $ac_config_headers in *"
 9926: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 9927: esac
 9928: 
 9929: 
 9930: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9931: # Files that config.status was made for.
 9932: config_files="$ac_config_files"
 9933: config_headers="$ac_config_headers"
 9934: config_commands="$ac_config_commands"
 9935: 
 9936: _ACEOF
 9937: 
 9938: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9939: ac_cs_usage="\
 9940: \`$as_me' instantiates files and other configuration actions
 9941: from templates according to the current configuration.  Unless the files
 9942: and actions are specified as TAGs, all are instantiated by default.
 9943: 
 9944: Usage: $0 [OPTION]... [TAG]...
 9945: 
 9946:   -h, --help       print this help, then exit
 9947:   -V, --version    print version number and configuration settings, then exit
 9948:       --config     print configuration, then exit
 9949:   -q, --quiet, --silent
 9950:                    do not print progress messages
 9951:   -d, --debug      don't remove temporary files
 9952:       --recheck    update $as_me by reconfiguring in the same conditions
 9953:       --file=FILE[:TEMPLATE]
 9954:                    instantiate the configuration file FILE
 9955:       --header=FILE[:TEMPLATE]
 9956:                    instantiate the configuration header FILE
 9957: 
 9958: Configuration files:
 9959: $config_files
 9960: 
 9961: Configuration headers:
 9962: $config_headers
 9963: 
 9964: Configuration commands:
 9965: $config_commands
 9966: 
 9967: Report bugs to the package provider."
 9968: 
 9969: _ACEOF
 9970: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9971: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 9972: ac_cs_version="\\
 9973: rpl config.status 4.1.0.prerelease.0
 9974: configured by $0, generated by GNU Autoconf 2.67,
 9975:   with options \\"\$ac_cs_config\\"
 9976: 
 9977: Copyright (C) 2010 Free Software Foundation, Inc.
 9978: This config.status script is free software; the Free Software Foundation
 9979: gives unlimited permission to copy, distribute and modify it."
 9980: 
 9981: ac_pwd='$ac_pwd'
 9982: srcdir='$srcdir'
 9983: INSTALL='$INSTALL'
 9984: MKDIR_P='$MKDIR_P'
 9985: AWK='$AWK'
 9986: test -n "\$AWK" || AWK=awk
 9987: _ACEOF
 9988: 
 9989: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9990: # The default lists apply if the user does not specify any file.
 9991: ac_need_defaults=:
 9992: while test $# != 0
 9993: do
 9994:   case $1 in
 9995:   --*=?*)
 9996:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 9997:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 9998:     ac_shift=:
 9999:     ;;
10000:   --*=)
10001:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10002:     ac_optarg=
10003:     ac_shift=:
10004:     ;;
10005:   *)
10006:     ac_option=$1
10007:     ac_optarg=$2
10008:     ac_shift=shift
10009:     ;;
10010:   esac
10011: 
10012:   case $ac_option in
10013:   # Handling of the options.
10014:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10015:     ac_cs_recheck=: ;;
10016:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10017:     $as_echo "$ac_cs_version"; exit ;;
10018:   --config | --confi | --conf | --con | --co | --c )
10019:     $as_echo "$ac_cs_config"; exit ;;
10020:   --debug | --debu | --deb | --de | --d | -d )
10021:     debug=: ;;
10022:   --file | --fil | --fi | --f )
10023:     $ac_shift
10024:     case $ac_optarg in
10025:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10026:     '') as_fn_error $? "missing file argument" ;;
10027:     esac
10028:     as_fn_append CONFIG_FILES " '$ac_optarg'"
10029:     ac_need_defaults=false;;
10030:   --header | --heade | --head | --hea )
10031:     $ac_shift
10032:     case $ac_optarg in
10033:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10034:     esac
10035:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10036:     ac_need_defaults=false;;
10037:   --he | --h)
10038:     # Conflict between --help and --header
10039:     as_fn_error $? "ambiguous option: \`$1'
10040: Try \`$0 --help' for more information.";;
10041:   --help | --hel | -h )
10042:     $as_echo "$ac_cs_usage"; exit ;;
10043:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10044:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
10045:     ac_cs_silent=: ;;
10046: 
10047:   # This is an error.
10048:   -*) as_fn_error $? "unrecognized option: \`$1'
10049: Try \`$0 --help' for more information." ;;
10050: 
10051:   *) as_fn_append ac_config_targets " $1"
10052:      ac_need_defaults=false ;;
10053: 
10054:   esac
10055:   shift
10056: done
10057: 
10058: ac_configure_extra_args=
10059: 
10060: if $ac_cs_silent; then
10061:   exec 6>/dev/null
10062:   ac_configure_extra_args="$ac_configure_extra_args --silent"
10063: fi
10064: 
10065: _ACEOF
10066: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10067: if \$ac_cs_recheck; then
10068:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10069:   shift
10070:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10071:   CONFIG_SHELL='$SHELL'
10072:   export CONFIG_SHELL
10073:   exec "\$@"
10074: fi
10075: 
10076: _ACEOF
10077: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10078: exec 5>>config.log
10079: {
10080:   echo
10081:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10082: ## Running $as_me. ##
10083: _ASBOX
10084:   $as_echo "$ac_log"
10085: } >&5
10086: 
10087: _ACEOF
10088: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10089: #
10090: # INIT-COMMANDS
10091: #
10092: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10093: 
10094: _ACEOF
10095: 
10096: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10097: 
10098: # Handling of arguments.
10099: for ac_config_target in $ac_config_targets
10100: do
10101:   case $ac_config_target in
10102:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10103:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10104:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10105:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10106:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10107:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10108:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10109:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10110:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10111:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10112:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10113:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10114:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10115:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10116:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10117:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10118:     "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10119:     "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10120:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10121:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10122:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10123:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10124:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10125:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10126:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10127:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10128:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10129:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10130:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10131:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10132: 
10133:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
10134:   esac
10135: done
10136: 
10137: 
10138: # If the user did not use the arguments to specify the items to instantiate,
10139: # then the envvar interface is used.  Set only those that are not.
10140: # We use the long form for the default assignment because of an extremely
10141: # bizarre bug on SunOS 4.1.3.
10142: if $ac_need_defaults; then
10143:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10144:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10145:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10146: fi
10147: 
10148: # Have a temporary directory for convenience.  Make it in the build tree
10149: # simply because there is no reason against having it here, and in addition,
10150: # creating and moving files from /tmp can sometimes cause problems.
10151: # Hook for its removal unless debugging.
10152: # Note that there is a small window in which the directory will not be cleaned:
10153: # after its creation but before its name has been assigned to `$tmp'.
10154: $debug ||
10155: {
10156:   tmp=
10157:   trap 'exit_status=$?
10158:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10159: ' 0
10160:   trap 'as_fn_exit 1' 1 2 13 15
10161: }
10162: # Create a (secure) tmp directory for tmp files.
10163: 
10164: {
10165:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10166:   test -n "$tmp" && test -d "$tmp"
10167: }  ||
10168: {
10169:   tmp=./conf$$-$RANDOM
10170:   (umask 077 && mkdir "$tmp")
10171: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10172: 
10173: # Set up the scripts for CONFIG_FILES section.
10174: # No need to generate them if there are no CONFIG_FILES.
10175: # This happens for instance with `./config.status config.h'.
10176: if test -n "$CONFIG_FILES"; then
10177: 
10178: 
10179: ac_cr=`echo X | tr X '\015'`
10180: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10181: # But we know of no other shell where ac_cr would be empty at this
10182: # point, so we can use a bashism as a fallback.
10183: if test "x$ac_cr" = x; then
10184:   eval ac_cr=\$\'\\r\'
10185: fi
10186: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10187: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10188:   ac_cs_awk_cr='\\r'
10189: else
10190:   ac_cs_awk_cr=$ac_cr
10191: fi
10192: 
10193: echo 'BEGIN {' >"$tmp/subs1.awk" &&
10194: _ACEOF
10195: 
10196: 
10197: {
10198:   echo "cat >conf$$subs.awk <<_ACEOF" &&
10199:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10200:   echo "_ACEOF"
10201: } >conf$$subs.sh ||
10202:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10203: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10204: ac_delim='%!_!# '
10205: for ac_last_try in false false false false false :; do
10206:   . ./conf$$subs.sh ||
10207:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10208: 
10209:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10210:   if test $ac_delim_n = $ac_delim_num; then
10211:     break
10212:   elif $ac_last_try; then
10213:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10214:   else
10215:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10216:   fi
10217: done
10218: rm -f conf$$subs.sh
10219: 
10220: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10221: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10222: _ACEOF
10223: sed -n '
10224: h
10225: s/^/S["/; s/!.*/"]=/
10226: p
10227: g
10228: s/^[^!]*!//
10229: :repl
10230: t repl
10231: s/'"$ac_delim"'$//
10232: t delim
10233: :nl
10234: h
10235: s/\(.\{148\}\)..*/\1/
10236: t more1
10237: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10238: p
10239: n
10240: b repl
10241: :more1
10242: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10243: p
10244: g
10245: s/.\{148\}//
10246: t nl
10247: :delim
10248: h
10249: s/\(.\{148\}\)..*/\1/
10250: t more2
10251: s/["\\]/\\&/g; s/^/"/; s/$/"/
10252: p
10253: b
10254: :more2
10255: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10256: p
10257: g
10258: s/.\{148\}//
10259: t delim
10260: ' <conf$$subs.awk | sed '
10261: /^[^""]/{
10262:   N
10263:   s/\n//
10264: }
10265: ' >>$CONFIG_STATUS || ac_write_fail=1
10266: rm -f conf$$subs.awk
10267: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10268: _ACAWK
10269: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10270:   for (key in S) S_is_set[key] = 1
10271:   FS = ""
10272: 
10273: }
10274: {
10275:   line = $ 0
10276:   nfields = split(line, field, "@")
10277:   substed = 0
10278:   len = length(field[1])
10279:   for (i = 2; i < nfields; i++) {
10280:     key = field[i]
10281:     keylen = length(key)
10282:     if (S_is_set[key]) {
10283:       value = S[key]
10284:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10285:       len += length(value) + length(field[++i])
10286:       substed = 1
10287:     } else
10288:       len += 1 + keylen
10289:   }
10290: 
10291:   print line
10292: }
10293: 
10294: _ACAWK
10295: _ACEOF
10296: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10297: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10298:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10299: else
10300:   cat
10301: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10302:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10303: _ACEOF
10304: 
10305: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10306: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10307: # trailing colons and then remove the whole line if VPATH becomes empty
10308: # (actually we leave an empty line to preserve line numbers).
10309: if test "x$srcdir" = x.; then
10310:   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
10311: h
10312: s///
10313: s/^/:/
10314: s/[  ]*$/:/
10315: s/:\$(srcdir):/:/g
10316: s/:\${srcdir}:/:/g
10317: s/:@srcdir@:/:/g
10318: s/^:*//
10319: s/:*$//
10320: x
10321: s/\(=[   ]*\).*/\1/
10322: G
10323: s/\n//
10324: s/^[^=]*=[   ]*$//
10325: }'
10326: fi
10327: 
10328: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10329: fi # test -n "$CONFIG_FILES"
10330: 
10331: # Set up the scripts for CONFIG_HEADERS section.
10332: # No need to generate them if there are no CONFIG_HEADERS.
10333: # This happens for instance with `./config.status Makefile'.
10334: if test -n "$CONFIG_HEADERS"; then
10335: cat >"$tmp/defines.awk" <<\_ACAWK ||
10336: BEGIN {
10337: _ACEOF
10338: 
10339: # Transform confdefs.h into an awk script `defines.awk', embedded as
10340: # here-document in config.status, that substitutes the proper values into
10341: # config.h.in to produce config.h.
10342: 
10343: # Create a delimiter string that does not exist in confdefs.h, to ease
10344: # handling of long lines.
10345: ac_delim='%!_!# '
10346: for ac_last_try in false false :; do
10347:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10348:   if test -z "$ac_t"; then
10349:     break
10350:   elif $ac_last_try; then
10351:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10352:   else
10353:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10354:   fi
10355: done
10356: 
10357: # For the awk script, D is an array of macro values keyed by name,
10358: # likewise P contains macro parameters if any.  Preserve backslash
10359: # newline sequences.
10360: 
10361: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10362: sed -n '
10363: s/.\{148\}/&'"$ac_delim"'/g
10364: t rset
10365: :rset
10366: s/^[     ]*#[    ]*define[   ][  ]*/ /
10367: t def
10368: d
10369: :def
10370: s/\\$//
10371: t bsnl
10372: s/["\\]/\\&/g
10373: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10374: D["\1"]=" \3"/p
10375: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10376: d
10377: :bsnl
10378: s/["\\]/\\&/g
10379: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10380: D["\1"]=" \3\\\\\\n"\\/p
10381: t cont
10382: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10383: t cont
10384: d
10385: :cont
10386: n
10387: s/.\{148\}/&'"$ac_delim"'/g
10388: t clear
10389: :clear
10390: s/\\$//
10391: t bsnlc
10392: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10393: d
10394: :bsnlc
10395: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10396: b cont
10397: ' <confdefs.h | sed '
10398: s/'"$ac_delim"'/"\\\
10399: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10400: 
10401: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10402:   for (key in D) D_is_set[key] = 1
10403:   FS = ""
10404: }
10405: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10406:   line = \$ 0
10407:   split(line, arg, " ")
10408:   if (arg[1] == "#") {
10409:     defundef = arg[2]
10410:     mac1 = arg[3]
10411:   } else {
10412:     defundef = substr(arg[1], 2)
10413:     mac1 = arg[2]
10414:   }
10415:   split(mac1, mac2, "(") #)
10416:   macro = mac2[1]
10417:   prefix = substr(line, 1, index(line, defundef) - 1)
10418:   if (D_is_set[macro]) {
10419:     # Preserve the white space surrounding the "#".
10420:     print prefix "define", macro P[macro] D[macro]
10421:     next
10422:   } else {
10423:     # Replace #undef with comments.  This is necessary, for example,
10424:     # in the case of _POSIX_SOURCE, which is predefined and required
10425:     # on some systems where configure will not decide to define it.
10426:     if (defundef == "undef") {
10427:       print "/*", prefix defundef, macro, "*/"
10428:       next
10429:     }
10430:   }
10431: }
10432: { print }
10433: _ACAWK
10434: _ACEOF
10435: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10436:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10437: fi # test -n "$CONFIG_HEADERS"
10438: 
10439: 
10440: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10441: shift
10442: for ac_tag
10443: do
10444:   case $ac_tag in
10445:   :[FHLC]) ac_mode=$ac_tag; continue;;
10446:   esac
10447:   case $ac_mode$ac_tag in
10448:   :[FHL]*:*);;
10449:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
10450:   :[FH]-) ac_tag=-:-;;
10451:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10452:   esac
10453:   ac_save_IFS=$IFS
10454:   IFS=:
10455:   set x $ac_tag
10456:   IFS=$ac_save_IFS
10457:   shift
10458:   ac_file=$1
10459:   shift
10460: 
10461:   case $ac_mode in
10462:   :L) ac_source=$1;;
10463:   :[FH])
10464:     ac_file_inputs=
10465:     for ac_f
10466:     do
10467:       case $ac_f in
10468:       -) ac_f="$tmp/stdin";;
10469:       *) # Look for the file first in the build tree, then in the source tree
10470:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10471:      # because $ac_f cannot contain `:'.
10472:      test -f "$ac_f" ||
10473:        case $ac_f in
10474:        [\\/$]*) false;;
10475:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10476:        esac ||
10477:        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
10478:       esac
10479:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10480:       as_fn_append ac_file_inputs " '$ac_f'"
10481:     done
10482: 
10483:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10484:     # use $as_me), people would be surprised to read:
10485:     #    /* config.h.  Generated by config.status.  */
10486:     configure_input='Generated from '`
10487:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10488:     `' by configure.'
10489:     if test x"$ac_file" != x-; then
10490:       configure_input="$ac_file.  $configure_input"
10491:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10492: $as_echo "$as_me: creating $ac_file" >&6;}
10493:     fi
10494:     # Neutralize special characters interpreted by sed in replacement strings.
10495:     case $configure_input in #(
10496:     *\&* | *\|* | *\\* )
10497:        ac_sed_conf_input=`$as_echo "$configure_input" |
10498:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10499:     *) ac_sed_conf_input=$configure_input;;
10500:     esac
10501: 
10502:     case $ac_tag in
10503:     *:-:* | *:-) cat >"$tmp/stdin" \
10504:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
10505:     esac
10506:     ;;
10507:   esac
10508: 
10509:   ac_dir=`$as_dirname -- "$ac_file" ||
10510: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10511:      X"$ac_file" : 'X\(//\)[^/]' \| \
10512:      X"$ac_file" : 'X\(//\)$' \| \
10513:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10514: $as_echo X"$ac_file" |
10515:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10516:         s//\1/
10517:         q
10518:       }
10519:       /^X\(\/\/\)[^/].*/{
10520:         s//\1/
10521:         q
10522:       }
10523:       /^X\(\/\/\)$/{
10524:         s//\1/
10525:         q
10526:       }
10527:       /^X\(\/\).*/{
10528:         s//\1/
10529:         q
10530:       }
10531:       s/.*/./; q'`
10532:   as_dir="$ac_dir"; as_fn_mkdir_p
10533:   ac_builddir=.
10534: 
10535: case "$ac_dir" in
10536: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10537: *)
10538:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10539:   # A ".." for each directory in $ac_dir_suffix.
10540:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10541:   case $ac_top_builddir_sub in
10542:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10543:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10544:   esac ;;
10545: esac
10546: ac_abs_top_builddir=$ac_pwd
10547: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10548: # for backward compatibility:
10549: ac_top_builddir=$ac_top_build_prefix
10550: 
10551: case $srcdir in
10552:   .)  # We are building in place.
10553:     ac_srcdir=.
10554:     ac_top_srcdir=$ac_top_builddir_sub
10555:     ac_abs_top_srcdir=$ac_pwd ;;
10556:   [\\/]* | ?:[\\/]* )  # Absolute name.
10557:     ac_srcdir=$srcdir$ac_dir_suffix;
10558:     ac_top_srcdir=$srcdir
10559:     ac_abs_top_srcdir=$srcdir ;;
10560:   *) # Relative name.
10561:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10562:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10563:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10564: esac
10565: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10566: 
10567: 
10568:   case $ac_mode in
10569:   :F)
10570:   #
10571:   # CONFIG_FILE
10572:   #
10573: 
10574:   case $INSTALL in
10575:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10576:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10577:   esac
10578:   ac_MKDIR_P=$MKDIR_P
10579:   case $MKDIR_P in
10580:   [\\/$]* | ?:[\\/]* ) ;;
10581:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10582:   esac
10583: _ACEOF
10584: 
10585: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10586: # If the template does not know about datarootdir, expand it.
10587: # FIXME: This hack should be removed a few years after 2.60.
10588: ac_datarootdir_hack=; ac_datarootdir_seen=
10589: ac_sed_dataroot='
10590: /datarootdir/ {
10591:   p
10592:   q
10593: }
10594: /@datadir@/p
10595: /@docdir@/p
10596: /@infodir@/p
10597: /@localedir@/p
10598: /@mandir@/p'
10599: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10600: *datarootdir*) ac_datarootdir_seen=yes;;
10601: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10602:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10603: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10604: _ACEOF
10605: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10606:   ac_datarootdir_hack='
10607:   s&@datadir@&$datadir&g
10608:   s&@docdir@&$docdir&g
10609:   s&@infodir@&$infodir&g
10610:   s&@localedir@&$localedir&g
10611:   s&@mandir@&$mandir&g
10612:   s&\\\${datarootdir}&$datarootdir&g' ;;
10613: esac
10614: _ACEOF
10615: 
10616: # Neutralize VPATH when `$srcdir' = `.'.
10617: # Shell code in configure.ac might set extrasub.
10618: # FIXME: do we really want to maintain this feature?
10619: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10620: ac_sed_extra="$ac_vpsub
10621: $extrasub
10622: _ACEOF
10623: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10624: :t
10625: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10626: s|@configure_input@|$ac_sed_conf_input|;t t
10627: s&@top_builddir@&$ac_top_builddir_sub&;t t
10628: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10629: s&@srcdir@&$ac_srcdir&;t t
10630: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10631: s&@top_srcdir@&$ac_top_srcdir&;t t
10632: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10633: s&@builddir@&$ac_builddir&;t t
10634: s&@abs_builddir@&$ac_abs_builddir&;t t
10635: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10636: s&@INSTALL@&$ac_INSTALL&;t t
10637: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10638: $ac_datarootdir_hack
10639: "
10640: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10641:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10642: 
10643: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10644:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10645:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10646:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10647: which seems to be undefined.  Please make sure it is defined" >&5
10648: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10649: which seems to be undefined.  Please make sure it is defined" >&2;}
10650: 
10651:   rm -f "$tmp/stdin"
10652:   case $ac_file in
10653:   -) cat "$tmp/out" && rm -f "$tmp/out";;
10654:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10655:   esac \
10656:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10657:  ;;
10658:   :H)
10659:   #
10660:   # CONFIG_HEADER
10661:   #
10662:   if test x"$ac_file" != x-; then
10663:     {
10664:       $as_echo "/* $configure_input  */" \
10665:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10666:     } >"$tmp/config.h" \
10667:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10668:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10669:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10670: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10671:     else
10672:       rm -f "$ac_file"
10673:       mv "$tmp/config.h" "$ac_file" \
10674:     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10675:     fi
10676:   else
10677:     $as_echo "/* $configure_input  */" \
10678:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10679:       || as_fn_error $? "could not create -" "$LINENO" 5
10680:   fi
10681: # Compute "$ac_file"'s index in $config_headers.
10682: _am_arg="$ac_file"
10683: _am_stamp_count=1
10684: for _am_header in $config_headers :; do
10685:   case $_am_header in
10686:     $_am_arg | $_am_arg:* )
10687:       break ;;
10688:     * )
10689:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10690:   esac
10691: done
10692: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10693: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10694:      X"$_am_arg" : 'X\(//\)[^/]' \| \
10695:      X"$_am_arg" : 'X\(//\)$' \| \
10696:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10697: $as_echo X"$_am_arg" |
10698:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10699:         s//\1/
10700:         q
10701:       }
10702:       /^X\(\/\/\)[^/].*/{
10703:         s//\1/
10704:         q
10705:       }
10706:       /^X\(\/\/\)$/{
10707:         s//\1/
10708:         q
10709:       }
10710:       /^X\(\/\).*/{
10711:         s//\1/
10712:         q
10713:       }
10714:       s/.*/./; q'`/stamp-h$_am_stamp_count
10715:  ;;
10716: 
10717:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10718: $as_echo "$as_me: executing $ac_file commands" >&6;}
10719:  ;;
10720:   esac
10721: 
10722: 
10723:   case $ac_file$ac_mode in
10724:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10725:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10726:   # are listed without --file.  Let's play safe and only enable the eval
10727:   # if we detect the quoting.
10728:   case $CONFIG_FILES in
10729:   *\'*) eval set x "$CONFIG_FILES" ;;
10730:   *)   set x $CONFIG_FILES ;;
10731:   esac
10732:   shift
10733:   for mf
10734:   do
10735:     # Strip MF so we end up with the name of the file.
10736:     mf=`echo "$mf" | sed -e 's/:.*$//'`
10737:     # Check whether this is an Automake generated Makefile or not.
10738:     # We used to match only the files named `Makefile.in', but
10739:     # some people rename them; so instead we look at the file content.
10740:     # Grep'ing the first line is not enough: some people post-process
10741:     # each Makefile.in and add a new line on top of each file to say so.
10742:     # Grep'ing the whole file is not good either: AIX grep has a line
10743:     # limit of 2048, but all sed's we know have understand at least 4000.
10744:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10745:       dirpart=`$as_dirname -- "$mf" ||
10746: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10747:      X"$mf" : 'X\(//\)[^/]' \| \
10748:      X"$mf" : 'X\(//\)$' \| \
10749:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10750: $as_echo X"$mf" |
10751:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10752:         s//\1/
10753:         q
10754:       }
10755:       /^X\(\/\/\)[^/].*/{
10756:         s//\1/
10757:         q
10758:       }
10759:       /^X\(\/\/\)$/{
10760:         s//\1/
10761:         q
10762:       }
10763:       /^X\(\/\).*/{
10764:         s//\1/
10765:         q
10766:       }
10767:       s/.*/./; q'`
10768:     else
10769:       continue
10770:     fi
10771:     # Extract the definition of DEPDIR, am__include, and am__quote
10772:     # from the Makefile without running `make'.
10773:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10774:     test -z "$DEPDIR" && continue
10775:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10776:     test -z "am__include" && continue
10777:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10778:     # When using ansi2knr, U may be empty or an underscore; expand it
10779:     U=`sed -n 's/^U = //p' < "$mf"`
10780:     # Find all dependency output files, they are included files with
10781:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10782:     # simplest approach to changing $(DEPDIR) to its actual value in the
10783:     # expansion.
10784:     for file in `sed -n "
10785:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10786:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10787:       # Make sure the directory exists.
10788:       test -f "$dirpart/$file" && continue
10789:       fdir=`$as_dirname -- "$file" ||
10790: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10791:      X"$file" : 'X\(//\)[^/]' \| \
10792:      X"$file" : 'X\(//\)$' \| \
10793:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10794: $as_echo X"$file" |
10795:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10796:         s//\1/
10797:         q
10798:       }
10799:       /^X\(\/\/\)[^/].*/{
10800:         s//\1/
10801:         q
10802:       }
10803:       /^X\(\/\/\)$/{
10804:         s//\1/
10805:         q
10806:       }
10807:       /^X\(\/\).*/{
10808:         s//\1/
10809:         q
10810:       }
10811:       s/.*/./; q'`
10812:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10813:       # echo "creating $dirpart/$file"
10814:       echo '# dummy' > "$dirpart/$file"
10815:     done
10816:   done
10817: }
10818:  ;;
10819: 
10820:   esac
10821: done # for ac_tag
10822: 
10823: 
10824: as_fn_exit 0
10825: _ACEOF
10826: ac_clean_files=$ac_clean_files_save
10827: 
10828: test $ac_write_fail = 0 ||
10829:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10830: 
10831: 
10832: # configure is writing to config.log, and then calls config.status.
10833: # config.status does its own redirection, appending to config.log.
10834: # Unfortunately, on DOS this fails, as config.log is still kept open
10835: # by configure, so config.status won't be able to write to it; its
10836: # output is simply discarded.  So we exec the FD to /dev/null,
10837: # effectively closing config.log, so it can be properly (re)opened and
10838: # appended to by config.status.  When coming back to configure, we
10839: # need to make the FD available again.
10840: if test "$no_create" != yes; then
10841:   ac_cs_success=:
10842:   ac_config_status_args=
10843:   test "$silent" = yes &&
10844:     ac_config_status_args="$ac_config_status_args --quiet"
10845:   exec 5>/dev/null
10846:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10847:   exec 5>>config.log
10848:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10849:   # would make configure fail if this is the last instruction.
10850:   $ac_cs_success || as_fn_exit 1
10851: fi
10852: 
10853: #
10854: # CONFIG_SUBDIRS section.
10855: #
10856: if test "$no_recursion" != yes; then
10857: 
10858:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10859:   # so they do not pile up.
10860:   ac_sub_configure_args=
10861:   ac_prev=
10862:   eval "set x $ac_configure_args"
10863:   shift
10864:   for ac_arg
10865:   do
10866:     if test -n "$ac_prev"; then
10867:       ac_prev=
10868:       continue
10869:     fi
10870:     case $ac_arg in
10871:     -cache-file | --cache-file | --cache-fil | --cache-fi \
10872:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10873:       ac_prev=cache_file ;;
10874:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10875:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10876:     | --c=*)
10877:       ;;
10878:     --config-cache | -C)
10879:       ;;
10880:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10881:       ac_prev=srcdir ;;
10882:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10883:       ;;
10884:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10885:       ac_prev=prefix ;;
10886:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10887:       ;;
10888:     --disable-option-checking)
10889:       ;;
10890:     *)
10891:       case $ac_arg in
10892:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10893:       esac
10894:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10895:     esac
10896:   done
10897: 
10898:   # Always prepend --prefix to ensure using the same prefix
10899:   # in subdir configurations.
10900:   ac_arg="--prefix=$prefix"
10901:   case $ac_arg in
10902:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10903:   esac
10904:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10905: 
10906:   # Pass --silent
10907:   if test "$silent" = yes; then
10908:     ac_sub_configure_args="--silent $ac_sub_configure_args"
10909:   fi
10910: 
10911:   # Always prepend --disable-option-checking to silence warnings, since
10912:   # different subdirs can have different --enable and --with options.
10913:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10914: 
10915:   ac_popdir=`pwd`
10916:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10917: 
10918:     # Do not complain, so a configure script can configure whichever
10919:     # parts of a large source tree are present.
10920:     test -d "$srcdir/$ac_dir" || continue
10921: 
10922:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10923:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10924:     $as_echo "$ac_msg" >&6
10925:     as_dir="$ac_dir"; as_fn_mkdir_p
10926:     ac_builddir=.
10927: 
10928: case "$ac_dir" in
10929: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10930: *)
10931:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10932:   # A ".." for each directory in $ac_dir_suffix.
10933:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10934:   case $ac_top_builddir_sub in
10935:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10936:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10937:   esac ;;
10938: esac
10939: ac_abs_top_builddir=$ac_pwd
10940: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10941: # for backward compatibility:
10942: ac_top_builddir=$ac_top_build_prefix
10943: 
10944: case $srcdir in
10945:   .)  # We are building in place.
10946:     ac_srcdir=.
10947:     ac_top_srcdir=$ac_top_builddir_sub
10948:     ac_abs_top_srcdir=$ac_pwd ;;
10949:   [\\/]* | ?:[\\/]* )  # Absolute name.
10950:     ac_srcdir=$srcdir$ac_dir_suffix;
10951:     ac_top_srcdir=$srcdir
10952:     ac_abs_top_srcdir=$srcdir ;;
10953:   *) # Relative name.
10954:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10955:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10956:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10957: esac
10958: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10959: 
10960: 
10961:     cd "$ac_dir"
10962: 
10963:     # Check for guested configure; otherwise get Cygnus style configure.
10964:     if test -f "$ac_srcdir/configure.gnu"; then
10965:       ac_sub_configure=$ac_srcdir/configure.gnu
10966:     elif test -f "$ac_srcdir/configure"; then
10967:       ac_sub_configure=$ac_srcdir/configure
10968:     elif test -f "$ac_srcdir/configure.in"; then
10969:       # This should be Cygnus configure.
10970:       ac_sub_configure=$ac_aux_dir/configure
10971:     else
10972:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
10973: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10974:       ac_sub_configure=
10975:     fi
10976: 
10977:     # The recursion is here.
10978:     if test -n "$ac_sub_configure"; then
10979:       # Make the cache file name correct relative to the subdirectory.
10980:       case $cache_file in
10981:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10982:       *) # Relative name.
10983:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10984:       esac
10985: 
10986:       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10987: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10988:       # The eval makes quoting arguments work.
10989:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10990:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10991:     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
10992:     fi
10993: 
10994:     cd "$ac_popdir"
10995:   done
10996: fi
10997: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10998:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10999: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11000: fi
11001: 

CVSweb interface <joel.bertrand@systella.fr>