File:  [local] / rpl / Attic / configure
Revision 1.38: download - view: text, annotated - select for diffs - revision graph
Thu Aug 26 19:07:33 2010 UTC (13 years, 8 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
En route pour la 4.0.19 !

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.67 for rpl 4.0.19.
    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.0.19'
  553: PACKAGE_STRING='rpl 4.0.19'
  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: EXT_SQL
  600: MALLOC
  601: DATE_FR
  602: FINAL_ENCODING
  603: OPENSSL
  604: SQLITE
  605: ICONV
  606: FILE
  607: GNUPLOT
  608: GPP
  609: GSL
  610: UNITS
  611: READLINE
  612: NCURSES
  613: BROKEN_SIGINFO
  614: IPV6
  615: SEMUN
  616: IPCS_SYSV
  617: SEMAPHORES_SYSV
  618: SEMAPHORES_NOMMES
  619: NESTED_FUNCTIONS
  620: EXPORT_DYNAMIC
  621: C_STANDARD
  622: OS
  623: GNUPLOT_COMPILATION
  624: subdirs
  625: EGREP
  626: GREP
  627: libPgSQLlib
  628: libPgSQLinc
  629: POSTGRESQL_SUPPORT
  630: libMySQLlib
  631: libMySQLinc
  632: MYSQL_SUPPORT
  633: DATE
  634: includeX
  635: libX
  636: MOTIF_SUPPORT
  637: DEBUG
  638: EXPERIMENTAL_CODE
  639: VIM_SUPPORT
  640: POSTSCRIPT_SUPPORT
  641: FORCE_GNUPLOT_PATH
  642: GNUPLOT_SUPPORT
  643: VIM
  644: GNUPLOT_P
  645: GV
  646: GS
  647: DVIPS
  648: LATEX
  649: TEX
  650: SED
  651: RANLIB
  652: LN_S
  653: RUNPATH
  654: PROFILAGE
  655: X_EXTRA_LIBS
  656: X_LIBS
  657: X_PRE_LIBS
  658: X_CFLAGS
  659: CPP
  660: XMKMF
  661: ac_ct_FC
  662: FCFLAGS
  663: FC
  664: ac_ct_F77
  665: FFLAGS
  666: F77
  667: am__fastdepCXX_FALSE
  668: am__fastdepCXX_TRUE
  669: CXXDEPMODE
  670: ac_ct_CXX
  671: CXXFLAGS
  672: CXX
  673: am__fastdepCC_FALSE
  674: am__fastdepCC_TRUE
  675: CCDEPMODE
  676: AMDEPBACKSLASH
  677: AMDEP_FALSE
  678: AMDEP_TRUE
  679: am__quote
  680: am__include
  681: DEPDIR
  682: OBJEXT
  683: EXEEXT
  684: ac_ct_CC
  685: CPPFLAGS
  686: LDFLAGS
  687: CFLAGS
  688: CC
  689: am__untar
  690: am__tar
  691: AMTAR
  692: am__leading_dot
  693: SET_MAKE
  694: AWK
  695: mkdir_p
  696: MKDIR_P
  697: INSTALL_STRIP_PROGRAM
  698: STRIP
  699: install_sh
  700: MAKEINFO
  701: AUTOHEADER
  702: AUTOMAKE
  703: AUTOCONF
  704: ACLOCAL
  705: VERSION
  706: PACKAGE
  707: CYGPATH_W
  708: am__isrc
  709: INSTALL_DATA
  710: INSTALL_SCRIPT
  711: INSTALL_PROGRAM
  712: target_os
  713: target_vendor
  714: target_cpu
  715: target
  716: host_os
  717: host_vendor
  718: host_cpu
  719: host
  720: build_os
  721: build_vendor
  722: build_cpu
  723: build
  724: target_alias
  725: host_alias
  726: build_alias
  727: LIBS
  728: ECHO_T
  729: ECHO_N
  730: ECHO_C
  731: DEFS
  732: mandir
  733: localedir
  734: libdir
  735: psdir
  736: pdfdir
  737: dvidir
  738: htmldir
  739: infodir
  740: docdir
  741: oldincludedir
  742: includedir
  743: localstatedir
  744: sharedstatedir
  745: sysconfdir
  746: datadir
  747: datarootdir
  748: libexecdir
  749: sbindir
  750: bindir
  751: program_transform_name
  752: prefix
  753: exec_prefix
  754: PACKAGE_URL
  755: PACKAGE_BUGREPORT
  756: PACKAGE_STRING
  757: PACKAGE_VERSION
  758: PACKAGE_TARNAME
  759: PACKAGE_NAME
  760: PATH_SEPARATOR
  761: SHELL'
  762: ac_subst_files=''
  763: ac_user_opts='
  764: enable_option_checking
  765: enable_dependency_tracking
  766: with_x
  767: enable_optimization
  768: enable_sysv_semaphores
  769: enable_full_static
  770: enable_final_encoding
  771: enable_tex
  772: enable_vim
  773: enable_embedded_gnuplot
  774: enable_gnuplot
  775: enable_motif
  776: enable_experimental
  777: enable_debug
  778: enable_profile
  779: enable_final_run_path
  780: with_mysql
  781: with_postgresql
  782: with_openssl_arch
  783: '
  784:       ac_precious_vars='build_alias
  785: host_alias
  786: target_alias
  787: CC
  788: CFLAGS
  789: LDFLAGS
  790: LIBS
  791: CPPFLAGS
  792: CXX
  793: CXXFLAGS
  794: CCC
  795: F77
  796: FFLAGS
  797: FC
  798: FCFLAGS
  799: XMKMF
  800: CPP'
  801: ac_subdirs_all='tools/$NCURSES
  802: tools/$READLINE
  803: tools/$GSL
  804: tools/$GPP
  805: tools/$FILE
  806: tools/$ICONV
  807: tools/$SQLITE
  808: tools/$UNITS
  809: tools/$GNUPLOT'
  810: 
  811: # Initialize some variables set by options.
  812: ac_init_help=
  813: ac_init_version=false
  814: ac_unrecognized_opts=
  815: ac_unrecognized_sep=
  816: # The variables have the same names as the options, with
  817: # dashes changed to underlines.
  818: cache_file=/dev/null
  819: exec_prefix=NONE
  820: no_create=
  821: no_recursion=
  822: prefix=NONE
  823: program_prefix=NONE
  824: program_suffix=NONE
  825: program_transform_name=s,x,x,
  826: silent=
  827: site=
  828: srcdir=
  829: verbose=
  830: x_includes=NONE
  831: x_libraries=NONE
  832: 
  833: # Installation directory options.
  834: # These are left unexpanded so users can "make install exec_prefix=/foo"
  835: # and all the variables that are supposed to be based on exec_prefix
  836: # by default will actually change.
  837: # Use braces instead of parens because sh, perl, etc. also accept them.
  838: # (The list follows the same order as the GNU Coding Standards.)
  839: bindir='${exec_prefix}/bin'
  840: sbindir='${exec_prefix}/sbin'
  841: libexecdir='${exec_prefix}/libexec'
  842: datarootdir='${prefix}/share'
  843: datadir='${datarootdir}'
  844: sysconfdir='${prefix}/etc'
  845: sharedstatedir='${prefix}/com'
  846: localstatedir='${prefix}/var'
  847: includedir='${prefix}/include'
  848: oldincludedir='/usr/include'
  849: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  850: infodir='${datarootdir}/info'
  851: htmldir='${docdir}'
  852: dvidir='${docdir}'
  853: pdfdir='${docdir}'
  854: psdir='${docdir}'
  855: libdir='${exec_prefix}/lib'
  856: localedir='${datarootdir}/locale'
  857: mandir='${datarootdir}/man'
  858: 
  859: ac_prev=
  860: ac_dashdash=
  861: for ac_option
  862: do
  863:   # If the previous option needs an argument, assign it.
  864:   if test -n "$ac_prev"; then
  865:     eval $ac_prev=\$ac_option
  866:     ac_prev=
  867:     continue
  868:   fi
  869: 
  870:   case $ac_option in
  871:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  872:   *=)   ac_optarg= ;;
  873:   *)    ac_optarg=yes ;;
  874:   esac
  875: 
  876:   # Accept the important Cygnus configure options, so we can diagnose typos.
  877: 
  878:   case $ac_dashdash$ac_option in
  879:   --)
  880:     ac_dashdash=yes ;;
  881: 
  882:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  883:     ac_prev=bindir ;;
  884:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  885:     bindir=$ac_optarg ;;
  886: 
  887:   -build | --build | --buil | --bui | --bu)
  888:     ac_prev=build_alias ;;
  889:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  890:     build_alias=$ac_optarg ;;
  891: 
  892:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  893:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  894:     ac_prev=cache_file ;;
  895:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  896:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  897:     cache_file=$ac_optarg ;;
  898: 
  899:   --config-cache | -C)
  900:     cache_file=config.cache ;;
  901: 
  902:   -datadir | --datadir | --datadi | --datad)
  903:     ac_prev=datadir ;;
  904:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  905:     datadir=$ac_optarg ;;
  906: 
  907:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  908:   | --dataroo | --dataro | --datar)
  909:     ac_prev=datarootdir ;;
  910:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  911:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  912:     datarootdir=$ac_optarg ;;
  913: 
  914:   -disable-* | --disable-*)
  915:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  916:     # Reject names that are not valid shell variable names.
  917:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  918:       as_fn_error $? "invalid feature name: $ac_useropt"
  919:     ac_useropt_orig=$ac_useropt
  920:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  921:     case $ac_user_opts in
  922:       *"
  923: "enable_$ac_useropt"
  924: "*) ;;
  925:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  926:      ac_unrecognized_sep=', ';;
  927:     esac
  928:     eval enable_$ac_useropt=no ;;
  929: 
  930:   -docdir | --docdir | --docdi | --doc | --do)
  931:     ac_prev=docdir ;;
  932:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  933:     docdir=$ac_optarg ;;
  934: 
  935:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  936:     ac_prev=dvidir ;;
  937:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  938:     dvidir=$ac_optarg ;;
  939: 
  940:   -enable-* | --enable-*)
  941:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  942:     # Reject names that are not valid shell variable names.
  943:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  944:       as_fn_error $? "invalid feature name: $ac_useropt"
  945:     ac_useropt_orig=$ac_useropt
  946:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  947:     case $ac_user_opts in
  948:       *"
  949: "enable_$ac_useropt"
  950: "*) ;;
  951:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  952:      ac_unrecognized_sep=', ';;
  953:     esac
  954:     eval enable_$ac_useropt=\$ac_optarg ;;
  955: 
  956:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  957:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  958:   | --exec | --exe | --ex)
  959:     ac_prev=exec_prefix ;;
  960:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  961:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  962:   | --exec=* | --exe=* | --ex=*)
  963:     exec_prefix=$ac_optarg ;;
  964: 
  965:   -gas | --gas | --ga | --g)
  966:     # Obsolete; use --with-gas.
  967:     with_gas=yes ;;
  968: 
  969:   -help | --help | --hel | --he | -h)
  970:     ac_init_help=long ;;
  971:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  972:     ac_init_help=recursive ;;
  973:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  974:     ac_init_help=short ;;
  975: 
  976:   -host | --host | --hos | --ho)
  977:     ac_prev=host_alias ;;
  978:   -host=* | --host=* | --hos=* | --ho=*)
  979:     host_alias=$ac_optarg ;;
  980: 
  981:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  982:     ac_prev=htmldir ;;
  983:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  984:   | --ht=*)
  985:     htmldir=$ac_optarg ;;
  986: 
  987:   -includedir | --includedir | --includedi | --included | --include \
  988:   | --includ | --inclu | --incl | --inc)
  989:     ac_prev=includedir ;;
  990:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  991:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  992:     includedir=$ac_optarg ;;
  993: 
  994:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  995:     ac_prev=infodir ;;
  996:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  997:     infodir=$ac_optarg ;;
  998: 
  999:   -libdir | --libdir | --libdi | --libd)
 1000:     ac_prev=libdir ;;
 1001:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1002:     libdir=$ac_optarg ;;
 1003: 
 1004:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1005:   | --libexe | --libex | --libe)
 1006:     ac_prev=libexecdir ;;
 1007:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1008:   | --libexe=* | --libex=* | --libe=*)
 1009:     libexecdir=$ac_optarg ;;
 1010: 
 1011:   -localedir | --localedir | --localedi | --localed | --locale)
 1012:     ac_prev=localedir ;;
 1013:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1014:     localedir=$ac_optarg ;;
 1015: 
 1016:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1017:   | --localstate | --localstat | --localsta | --localst | --locals)
 1018:     ac_prev=localstatedir ;;
 1019:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1020:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1021:     localstatedir=$ac_optarg ;;
 1022: 
 1023:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1024:     ac_prev=mandir ;;
 1025:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1026:     mandir=$ac_optarg ;;
 1027: 
 1028:   -nfp | --nfp | --nf)
 1029:     # Obsolete; use --without-fp.
 1030:     with_fp=no ;;
 1031: 
 1032:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1033:   | --no-cr | --no-c | -n)
 1034:     no_create=yes ;;
 1035: 
 1036:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1037:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1038:     no_recursion=yes ;;
 1039: 
 1040:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1041:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1042:   | --oldin | --oldi | --old | --ol | --o)
 1043:     ac_prev=oldincludedir ;;
 1044:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1045:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1046:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1047:     oldincludedir=$ac_optarg ;;
 1048: 
 1049:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1050:     ac_prev=prefix ;;
 1051:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1052:     prefix=$ac_optarg ;;
 1053: 
 1054:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1055:   | --program-pre | --program-pr | --program-p)
 1056:     ac_prev=program_prefix ;;
 1057:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1058:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1059:     program_prefix=$ac_optarg ;;
 1060: 
 1061:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1062:   | --program-suf | --program-su | --program-s)
 1063:     ac_prev=program_suffix ;;
 1064:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1065:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1066:     program_suffix=$ac_optarg ;;
 1067: 
 1068:   -program-transform-name | --program-transform-name \
 1069:   | --program-transform-nam | --program-transform-na \
 1070:   | --program-transform-n | --program-transform- \
 1071:   | --program-transform | --program-transfor \
 1072:   | --program-transfo | --program-transf \
 1073:   | --program-trans | --program-tran \
 1074:   | --progr-tra | --program-tr | --program-t)
 1075:     ac_prev=program_transform_name ;;
 1076:   -program-transform-name=* | --program-transform-name=* \
 1077:   | --program-transform-nam=* | --program-transform-na=* \
 1078:   | --program-transform-n=* | --program-transform-=* \
 1079:   | --program-transform=* | --program-transfor=* \
 1080:   | --program-transfo=* | --program-transf=* \
 1081:   | --program-trans=* | --program-tran=* \
 1082:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1083:     program_transform_name=$ac_optarg ;;
 1084: 
 1085:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1086:     ac_prev=pdfdir ;;
 1087:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1088:     pdfdir=$ac_optarg ;;
 1089: 
 1090:   -psdir | --psdir | --psdi | --psd | --ps)
 1091:     ac_prev=psdir ;;
 1092:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1093:     psdir=$ac_optarg ;;
 1094: 
 1095:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1096:   | -silent | --silent | --silen | --sile | --sil)
 1097:     silent=yes ;;
 1098: 
 1099:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1100:     ac_prev=sbindir ;;
 1101:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1102:   | --sbi=* | --sb=*)
 1103:     sbindir=$ac_optarg ;;
 1104: 
 1105:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1106:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1107:   | --sharedst | --shareds | --shared | --share | --shar \
 1108:   | --sha | --sh)
 1109:     ac_prev=sharedstatedir ;;
 1110:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1111:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1112:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1113:   | --sha=* | --sh=*)
 1114:     sharedstatedir=$ac_optarg ;;
 1115: 
 1116:   -site | --site | --sit)
 1117:     ac_prev=site ;;
 1118:   -site=* | --site=* | --sit=*)
 1119:     site=$ac_optarg ;;
 1120: 
 1121:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1122:     ac_prev=srcdir ;;
 1123:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1124:     srcdir=$ac_optarg ;;
 1125: 
 1126:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1127:   | --syscon | --sysco | --sysc | --sys | --sy)
 1128:     ac_prev=sysconfdir ;;
 1129:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1130:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1131:     sysconfdir=$ac_optarg ;;
 1132: 
 1133:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1134:     ac_prev=target_alias ;;
 1135:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1136:     target_alias=$ac_optarg ;;
 1137: 
 1138:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1139:     verbose=yes ;;
 1140: 
 1141:   -version | --version | --versio | --versi | --vers | -V)
 1142:     ac_init_version=: ;;
 1143: 
 1144:   -with-* | --with-*)
 1145:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1146:     # Reject names that are not valid shell variable names.
 1147:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1148:       as_fn_error $? "invalid package name: $ac_useropt"
 1149:     ac_useropt_orig=$ac_useropt
 1150:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1151:     case $ac_user_opts in
 1152:       *"
 1153: "with_$ac_useropt"
 1154: "*) ;;
 1155:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1156:      ac_unrecognized_sep=', ';;
 1157:     esac
 1158:     eval with_$ac_useropt=\$ac_optarg ;;
 1159: 
 1160:   -without-* | --without-*)
 1161:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1162:     # Reject names that are not valid shell variable names.
 1163:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1164:       as_fn_error $? "invalid package name: $ac_useropt"
 1165:     ac_useropt_orig=$ac_useropt
 1166:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1167:     case $ac_user_opts in
 1168:       *"
 1169: "with_$ac_useropt"
 1170: "*) ;;
 1171:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1172:      ac_unrecognized_sep=', ';;
 1173:     esac
 1174:     eval with_$ac_useropt=no ;;
 1175: 
 1176:   --x)
 1177:     # Obsolete; use --with-x.
 1178:     with_x=yes ;;
 1179: 
 1180:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1181:   | --x-incl | --x-inc | --x-in | --x-i)
 1182:     ac_prev=x_includes ;;
 1183:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1184:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1185:     x_includes=$ac_optarg ;;
 1186: 
 1187:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1188:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1189:     ac_prev=x_libraries ;;
 1190:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1191:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1192:     x_libraries=$ac_optarg ;;
 1193: 
 1194:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1195: Try \`$0 --help' for more information"
 1196:     ;;
 1197: 
 1198:   *=*)
 1199:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1200:     # Reject names that are not valid shell variable names.
 1201:     case $ac_envvar in #(
 1202:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1203:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1204:     esac
 1205:     eval $ac_envvar=\$ac_optarg
 1206:     export $ac_envvar ;;
 1207: 
 1208:   *)
 1209:     # FIXME: should be removed in autoconf 3.0.
 1210:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1211:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1212:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1213:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1214:     ;;
 1215: 
 1216:   esac
 1217: done
 1218: 
 1219: if test -n "$ac_prev"; then
 1220:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1221:   as_fn_error $? "missing argument to $ac_option"
 1222: fi
 1223: 
 1224: if test -n "$ac_unrecognized_opts"; then
 1225:   case $enable_option_checking in
 1226:     no) ;;
 1227:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1228:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1229:   esac
 1230: fi
 1231: 
 1232: # Check all directory arguments for consistency.
 1233: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1234:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1235:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1236:         libdir localedir mandir
 1237: do
 1238:   eval ac_val=\$$ac_var
 1239:   # Remove trailing slashes.
 1240:   case $ac_val in
 1241:     */ )
 1242:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1243:       eval $ac_var=\$ac_val;;
 1244:   esac
 1245:   # Be sure to have absolute directory names.
 1246:   case $ac_val in
 1247:     [\\/$]* | ?:[\\/]* )  continue;;
 1248:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1249:   esac
 1250:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1251: done
 1252: 
 1253: # There might be people who depend on the old broken behavior: `$host'
 1254: # used to hold the argument of --host etc.
 1255: # FIXME: To remove some day.
 1256: build=$build_alias
 1257: host=$host_alias
 1258: target=$target_alias
 1259: 
 1260: # FIXME: To remove some day.
 1261: if test "x$host_alias" != x; then
 1262:   if test "x$build_alias" = x; then
 1263:     cross_compiling=maybe
 1264:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1265:     If a cross compiler is detected then cross compile mode will be used" >&2
 1266:   elif test "x$build_alias" != "x$host_alias"; then
 1267:     cross_compiling=yes
 1268:   fi
 1269: fi
 1270: 
 1271: ac_tool_prefix=
 1272: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1273: 
 1274: test "$silent" = yes && exec 6>/dev/null
 1275: 
 1276: 
 1277: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1278: ac_ls_di=`ls -di .` &&
 1279: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1280:   as_fn_error $? "working directory cannot be determined"
 1281: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1282:   as_fn_error $? "pwd does not report name of working directory"
 1283: 
 1284: 
 1285: # Find the source files, if location was not specified.
 1286: if test -z "$srcdir"; then
 1287:   ac_srcdir_defaulted=yes
 1288:   # Try the directory containing this script, then the parent directory.
 1289:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1290: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1291:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1292:      X"$as_myself" : 'X\(//\)$' \| \
 1293:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1294: $as_echo X"$as_myself" |
 1295:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1296:         s//\1/
 1297:         q
 1298:       }
 1299:       /^X\(\/\/\)[^/].*/{
 1300:         s//\1/
 1301:         q
 1302:       }
 1303:       /^X\(\/\/\)$/{
 1304:         s//\1/
 1305:         q
 1306:       }
 1307:       /^X\(\/\).*/{
 1308:         s//\1/
 1309:         q
 1310:       }
 1311:       s/.*/./; q'`
 1312:   srcdir=$ac_confdir
 1313:   if test ! -r "$srcdir/$ac_unique_file"; then
 1314:     srcdir=..
 1315:   fi
 1316: else
 1317:   ac_srcdir_defaulted=no
 1318: fi
 1319: if test ! -r "$srcdir/$ac_unique_file"; then
 1320:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1321:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1322: fi
 1323: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1324: ac_abs_confdir=`(
 1325:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1326:     pwd)`
 1327: # When building in place, set srcdir=.
 1328: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1329:   srcdir=.
 1330: fi
 1331: # Remove unnecessary trailing slashes from srcdir.
 1332: # Double slashes in file names in object file debugging info
 1333: # mess up M-x gdb in Emacs.
 1334: case $srcdir in
 1335: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1336: esac
 1337: for ac_var in $ac_precious_vars; do
 1338:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1339:   eval ac_env_${ac_var}_value=\$${ac_var}
 1340:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1341:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1342: done
 1343: 
 1344: #
 1345: # Report the --help message.
 1346: #
 1347: if test "$ac_init_help" = "long"; then
 1348:   # Omit some internal or obsolete options to make the list less imposing.
 1349:   # This message is too long to be a string in the A/UX 3.1 sh.
 1350:   cat <<_ACEOF
 1351: \`configure' configures rpl 4.0.19 to adapt to many kinds of systems.
 1352: 
 1353: Usage: $0 [OPTION]... [VAR=VALUE]...
 1354: 
 1355: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1356: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1357: 
 1358: Defaults for the options are specified in brackets.
 1359: 
 1360: Configuration:
 1361:   -h, --help              display this help and exit
 1362:       --help=short        display options specific to this package
 1363:       --help=recursive    display the short help of all the included packages
 1364:   -V, --version           display version information and exit
 1365:   -q, --quiet, --silent   do not print \`checking ...' messages
 1366:       --cache-file=FILE   cache test results in FILE [disabled]
 1367:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1368:   -n, --no-create         do not create output files
 1369:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1370: 
 1371: Installation directories:
 1372:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1373:                           [$ac_default_prefix]
 1374:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1375:                           [PREFIX]
 1376: 
 1377: By default, \`make install' will install all the files in
 1378: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1379: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1380: for instance \`--prefix=\$HOME'.
 1381: 
 1382: For better control, use the options below.
 1383: 
 1384: Fine tuning of the installation directories:
 1385:   --bindir=DIR            user executables [EPREFIX/bin]
 1386:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1387:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1388:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1389:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1390:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1391:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1392:   --includedir=DIR        C header files [PREFIX/include]
 1393:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1394:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1395:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1396:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1397:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1398:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1399:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1400:   --htmldir=DIR           html documentation [DOCDIR]
 1401:   --dvidir=DIR            dvi documentation [DOCDIR]
 1402:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1403:   --psdir=DIR             ps documentation [DOCDIR]
 1404: _ACEOF
 1405: 
 1406:   cat <<\_ACEOF
 1407: 
 1408: Program names:
 1409:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1410:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1411:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1412: 
 1413: X features:
 1414:   --x-includes=DIR    X include files are in DIR
 1415:   --x-libraries=DIR   X library files are in DIR
 1416: 
 1417: System types:
 1418:   --build=BUILD     configure for building on BUILD [guessed]
 1419:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1420:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1421: _ACEOF
 1422: fi
 1423: 
 1424: if test -n "$ac_init_help"; then
 1425:   case $ac_init_help in
 1426:      short | recursive ) echo "Configuration of rpl 4.0.19:";;
 1427:    esac
 1428:   cat <<\_ACEOF
 1429: 
 1430: Optional Features:
 1431:   --disable-option-checking  ignore unrecognized --enable/--with options
 1432:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1433:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1434:   --disable-dependency-tracking  speeds up one-time build
 1435:   --enable-dependency-tracking   do not reject slow dependency extractors
 1436:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1437:   --enable-sysv-ipcs      use SystemV IPC functions [default=no]
 1438:   --enable-full-static    build static RPL/2 engine [default=shared]
 1439:   --enable-final-encoding force final encoding [default=guessed]
 1440:   --enable-tex            provide the TeX support [default=guessed]
 1441:   --enable-vim            provide the vim support [default=guessed]
 1442:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1443:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1444:   --enable-motif          provide the Motif support [default=guessed]
 1445:   --enable-experimental   enable experimental code [default=no]
 1446:   --enable-debug          enable debug code [default=no]
 1447:   --enable-profile        enable profile code [default=no]
 1448:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1449: 
 1450: Optional Packages:
 1451:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1452:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1453:   --with-x                use the X Window System
 1454:   --with-mysql=PATH         specify directory for installed mysql
 1455:   --with-postgresql=PATH    specify directory for installed postgresql
 1456:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
 1457: 
 1458: Some influential environment variables:
 1459:   CC          C compiler command
 1460:   CFLAGS      C compiler flags
 1461:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1462:               nonstandard directory <lib dir>
 1463:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1464:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1465:               you have headers in a nonstandard directory <include dir>
 1466:   CXX         C++ compiler command
 1467:   CXXFLAGS    C++ compiler flags
 1468:   F77         Fortran 77 compiler command
 1469:   FFLAGS      Fortran 77 compiler flags
 1470:   FC          Fortran compiler command
 1471:   FCFLAGS     Fortran compiler flags
 1472:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1473:   CPP         C preprocessor
 1474: 
 1475: Use these variables to override the choices made by `configure' or to help
 1476: it to find libraries and programs with nonstandard names/locations.
 1477: 
 1478: Report bugs to the package provider.
 1479: _ACEOF
 1480: ac_status=$?
 1481: fi
 1482: 
 1483: if test "$ac_init_help" = "recursive"; then
 1484:   # If there are subdirs, report their specific --help.
 1485:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1486:     test -d "$ac_dir" ||
 1487:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1488:       continue
 1489:     ac_builddir=.
 1490: 
 1491: case "$ac_dir" in
 1492: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1493: *)
 1494:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1495:   # A ".." for each directory in $ac_dir_suffix.
 1496:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1497:   case $ac_top_builddir_sub in
 1498:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1499:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1500:   esac ;;
 1501: esac
 1502: ac_abs_top_builddir=$ac_pwd
 1503: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1504: # for backward compatibility:
 1505: ac_top_builddir=$ac_top_build_prefix
 1506: 
 1507: case $srcdir in
 1508:   .)  # We are building in place.
 1509:     ac_srcdir=.
 1510:     ac_top_srcdir=$ac_top_builddir_sub
 1511:     ac_abs_top_srcdir=$ac_pwd ;;
 1512:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1513:     ac_srcdir=$srcdir$ac_dir_suffix;
 1514:     ac_top_srcdir=$srcdir
 1515:     ac_abs_top_srcdir=$srcdir ;;
 1516:   *) # Relative name.
 1517:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1518:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1519:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1520: esac
 1521: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1522: 
 1523:     cd "$ac_dir" || { ac_status=$?; continue; }
 1524:     # Check for guested configure.
 1525:     if test -f "$ac_srcdir/configure.gnu"; then
 1526:       echo &&
 1527:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1528:     elif test -f "$ac_srcdir/configure"; then
 1529:       echo &&
 1530:       $SHELL "$ac_srcdir/configure" --help=recursive
 1531:     else
 1532:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1533:     fi || ac_status=$?
 1534:     cd "$ac_pwd" || { ac_status=$?; break; }
 1535:   done
 1536: fi
 1537: 
 1538: test -n "$ac_init_help" && exit $ac_status
 1539: if $ac_init_version; then
 1540:   cat <<\_ACEOF
 1541: rpl configure 4.0.19
 1542: generated by GNU Autoconf 2.67
 1543: 
 1544: Copyright (C) 2010 Free Software Foundation, Inc.
 1545: This configure script is free software; the Free Software Foundation
 1546: gives unlimited permission to copy, distribute and modify it.
 1547: _ACEOF
 1548:   exit
 1549: fi
 1550: 
 1551: ## ------------------------ ##
 1552: ## Autoconf initialization. ##
 1553: ## ------------------------ ##
 1554: 
 1555: # ac_fn_c_try_compile LINENO
 1556: # --------------------------
 1557: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1558: ac_fn_c_try_compile ()
 1559: {
 1560:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1561:   rm -f conftest.$ac_objext
 1562:   if { { ac_try="$ac_compile"
 1563: case "(($ac_try" in
 1564:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1565:   *) ac_try_echo=$ac_try;;
 1566: esac
 1567: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1568: $as_echo "$ac_try_echo"; } >&5
 1569:   (eval "$ac_compile") 2>conftest.err
 1570:   ac_status=$?
 1571:   if test -s conftest.err; then
 1572:     grep -v '^ *+' conftest.err >conftest.er1
 1573:     cat conftest.er1 >&5
 1574:     mv -f conftest.er1 conftest.err
 1575:   fi
 1576:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1577:   test $ac_status = 0; } && {
 1578:      test -z "$ac_c_werror_flag" ||
 1579:      test ! -s conftest.err
 1580:        } && test -s conftest.$ac_objext; then :
 1581:   ac_retval=0
 1582: else
 1583:   $as_echo "$as_me: failed program was:" >&5
 1584: sed 's/^/| /' conftest.$ac_ext >&5
 1585: 
 1586:     ac_retval=1
 1587: fi
 1588:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1589:   as_fn_set_status $ac_retval
 1590: 
 1591: } # ac_fn_c_try_compile
 1592: 
 1593: # ac_fn_cxx_try_compile LINENO
 1594: # ----------------------------
 1595: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1596: ac_fn_cxx_try_compile ()
 1597: {
 1598:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1599:   rm -f conftest.$ac_objext
 1600:   if { { ac_try="$ac_compile"
 1601: case "(($ac_try" in
 1602:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1603:   *) ac_try_echo=$ac_try;;
 1604: esac
 1605: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1606: $as_echo "$ac_try_echo"; } >&5
 1607:   (eval "$ac_compile") 2>conftest.err
 1608:   ac_status=$?
 1609:   if test -s conftest.err; then
 1610:     grep -v '^ *+' conftest.err >conftest.er1
 1611:     cat conftest.er1 >&5
 1612:     mv -f conftest.er1 conftest.err
 1613:   fi
 1614:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1615:   test $ac_status = 0; } && {
 1616:      test -z "$ac_cxx_werror_flag" ||
 1617:      test ! -s conftest.err
 1618:        } && test -s conftest.$ac_objext; then :
 1619:   ac_retval=0
 1620: else
 1621:   $as_echo "$as_me: failed program was:" >&5
 1622: sed 's/^/| /' conftest.$ac_ext >&5
 1623: 
 1624:     ac_retval=1
 1625: fi
 1626:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1627:   as_fn_set_status $ac_retval
 1628: 
 1629: } # ac_fn_cxx_try_compile
 1630: 
 1631: # ac_fn_f77_try_compile LINENO
 1632: # ----------------------------
 1633: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1634: ac_fn_f77_try_compile ()
 1635: {
 1636:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1637:   rm -f conftest.$ac_objext
 1638:   if { { ac_try="$ac_compile"
 1639: case "(($ac_try" in
 1640:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1641:   *) ac_try_echo=$ac_try;;
 1642: esac
 1643: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1644: $as_echo "$ac_try_echo"; } >&5
 1645:   (eval "$ac_compile") 2>conftest.err
 1646:   ac_status=$?
 1647:   if test -s conftest.err; then
 1648:     grep -v '^ *+' conftest.err >conftest.er1
 1649:     cat conftest.er1 >&5
 1650:     mv -f conftest.er1 conftest.err
 1651:   fi
 1652:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1653:   test $ac_status = 0; } && {
 1654:      test -z "$ac_f77_werror_flag" ||
 1655:      test ! -s conftest.err
 1656:        } && test -s conftest.$ac_objext; then :
 1657:   ac_retval=0
 1658: else
 1659:   $as_echo "$as_me: failed program was:" >&5
 1660: sed 's/^/| /' conftest.$ac_ext >&5
 1661: 
 1662:     ac_retval=1
 1663: fi
 1664:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1665:   as_fn_set_status $ac_retval
 1666: 
 1667: } # ac_fn_f77_try_compile
 1668: 
 1669: # ac_fn_fc_try_compile LINENO
 1670: # ---------------------------
 1671: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1672: ac_fn_fc_try_compile ()
 1673: {
 1674:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1675:   rm -f conftest.$ac_objext
 1676:   if { { ac_try="$ac_compile"
 1677: case "(($ac_try" in
 1678:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1679:   *) ac_try_echo=$ac_try;;
 1680: esac
 1681: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1682: $as_echo "$ac_try_echo"; } >&5
 1683:   (eval "$ac_compile") 2>conftest.err
 1684:   ac_status=$?
 1685:   if test -s conftest.err; then
 1686:     grep -v '^ *+' conftest.err >conftest.er1
 1687:     cat conftest.er1 >&5
 1688:     mv -f conftest.er1 conftest.err
 1689:   fi
 1690:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1691:   test $ac_status = 0; } && {
 1692:      test -z "$ac_fc_werror_flag" ||
 1693:      test ! -s conftest.err
 1694:        } && test -s conftest.$ac_objext; then :
 1695:   ac_retval=0
 1696: else
 1697:   $as_echo "$as_me: failed program was:" >&5
 1698: sed 's/^/| /' conftest.$ac_ext >&5
 1699: 
 1700:     ac_retval=1
 1701: fi
 1702:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1703:   as_fn_set_status $ac_retval
 1704: 
 1705: } # ac_fn_fc_try_compile
 1706: 
 1707: # ac_fn_c_try_cpp LINENO
 1708: # ----------------------
 1709: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1710: ac_fn_c_try_cpp ()
 1711: {
 1712:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1713:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1714: case "(($ac_try" in
 1715:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1716:   *) ac_try_echo=$ac_try;;
 1717: esac
 1718: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1719: $as_echo "$ac_try_echo"; } >&5
 1720:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1721:   ac_status=$?
 1722:   if test -s conftest.err; then
 1723:     grep -v '^ *+' conftest.err >conftest.er1
 1724:     cat conftest.er1 >&5
 1725:     mv -f conftest.er1 conftest.err
 1726:   fi
 1727:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1728:   test $ac_status = 0; } > conftest.i && {
 1729:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1730:      test ! -s conftest.err
 1731:        }; then :
 1732:   ac_retval=0
 1733: else
 1734:   $as_echo "$as_me: failed program was:" >&5
 1735: sed 's/^/| /' conftest.$ac_ext >&5
 1736: 
 1737:     ac_retval=1
 1738: fi
 1739:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1740:   as_fn_set_status $ac_retval
 1741: 
 1742: } # ac_fn_c_try_cpp
 1743: 
 1744: # ac_fn_c_try_link LINENO
 1745: # -----------------------
 1746: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1747: ac_fn_c_try_link ()
 1748: {
 1749:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1750:   rm -f conftest.$ac_objext conftest$ac_exeext
 1751:   if { { ac_try="$ac_link"
 1752: case "(($ac_try" in
 1753:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1754:   *) ac_try_echo=$ac_try;;
 1755: esac
 1756: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1757: $as_echo "$ac_try_echo"; } >&5
 1758:   (eval "$ac_link") 2>conftest.err
 1759:   ac_status=$?
 1760:   if test -s conftest.err; then
 1761:     grep -v '^ *+' conftest.err >conftest.er1
 1762:     cat conftest.er1 >&5
 1763:     mv -f conftest.er1 conftest.err
 1764:   fi
 1765:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1766:   test $ac_status = 0; } && {
 1767:      test -z "$ac_c_werror_flag" ||
 1768:      test ! -s conftest.err
 1769:        } && test -s conftest$ac_exeext && {
 1770:      test "$cross_compiling" = yes ||
 1771:      $as_test_x conftest$ac_exeext
 1772:        }; then :
 1773:   ac_retval=0
 1774: else
 1775:   $as_echo "$as_me: failed program was:" >&5
 1776: sed 's/^/| /' conftest.$ac_ext >&5
 1777: 
 1778:     ac_retval=1
 1779: fi
 1780:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1781:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1782:   # interfere with the next link command; also delete a directory that is
 1783:   # left behind by Apple's compiler.  We do this before executing the actions.
 1784:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1785:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1786:   as_fn_set_status $ac_retval
 1787: 
 1788: } # ac_fn_c_try_link
 1789: 
 1790: # ac_fn_c_check_func LINENO FUNC VAR
 1791: # ----------------------------------
 1792: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1793: ac_fn_c_check_func ()
 1794: {
 1795:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1796:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1797: $as_echo_n "checking for $2... " >&6; }
 1798: if eval "test \"\${$3+set}\"" = set; then :
 1799:   $as_echo_n "(cached) " >&6
 1800: else
 1801:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1802: /* end confdefs.h.  */
 1803: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1804:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1805: #define $2 innocuous_$2
 1806: 
 1807: /* System header to define __stub macros and hopefully few prototypes,
 1808:     which can conflict with char $2 (); below.
 1809:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1810:     <limits.h> exists even on freestanding compilers.  */
 1811: 
 1812: #ifdef __STDC__
 1813: # include <limits.h>
 1814: #else
 1815: # include <assert.h>
 1816: #endif
 1817: 
 1818: #undef $2
 1819: 
 1820: /* Override any GCC internal prototype to avoid an error.
 1821:    Use char because int might match the return type of a GCC
 1822:    builtin and then its argument prototype would still apply.  */
 1823: #ifdef __cplusplus
 1824: extern "C"
 1825: #endif
 1826: char $2 ();
 1827: /* The GNU C library defines this for functions which it implements
 1828:     to always fail with ENOSYS.  Some functions are actually named
 1829:     something starting with __ and the normal name is an alias.  */
 1830: #if defined __stub_$2 || defined __stub___$2
 1831: choke me
 1832: #endif
 1833: 
 1834: int
 1835: main ()
 1836: {
 1837: return $2 ();
 1838:   ;
 1839:   return 0;
 1840: }
 1841: _ACEOF
 1842: if ac_fn_c_try_link "$LINENO"; then :
 1843:   eval "$3=yes"
 1844: else
 1845:   eval "$3=no"
 1846: fi
 1847: rm -f core conftest.err conftest.$ac_objext \
 1848:     conftest$ac_exeext conftest.$ac_ext
 1849: fi
 1850: eval ac_res=\$$3
 1851:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1852: $as_echo "$ac_res" >&6; }
 1853:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1854: 
 1855: } # ac_fn_c_check_func
 1856: 
 1857: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1858: # -------------------------------------------
 1859: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1860: # variable VAR accordingly.
 1861: ac_fn_c_check_type ()
 1862: {
 1863:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1864:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1865: $as_echo_n "checking for $2... " >&6; }
 1866: if eval "test \"\${$3+set}\"" = set; then :
 1867:   $as_echo_n "(cached) " >&6
 1868: else
 1869:   eval "$3=no"
 1870:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1871: /* end confdefs.h.  */
 1872: $4
 1873: int
 1874: main ()
 1875: {
 1876: if (sizeof ($2))
 1877:      return 0;
 1878:   ;
 1879:   return 0;
 1880: }
 1881: _ACEOF
 1882: if ac_fn_c_try_compile "$LINENO"; then :
 1883:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1884: /* end confdefs.h.  */
 1885: $4
 1886: int
 1887: main ()
 1888: {
 1889: if (sizeof (($2)))
 1890:         return 0;
 1891:   ;
 1892:   return 0;
 1893: }
 1894: _ACEOF
 1895: if ac_fn_c_try_compile "$LINENO"; then :
 1896: 
 1897: else
 1898:   eval "$3=yes"
 1899: fi
 1900: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1901: fi
 1902: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1903: fi
 1904: eval ac_res=\$$3
 1905:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1906: $as_echo "$ac_res" >&6; }
 1907:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1908: 
 1909: } # ac_fn_c_check_type
 1910: 
 1911: # ac_fn_c_try_run LINENO
 1912: # ----------------------
 1913: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1914: # that executables *can* be run.
 1915: ac_fn_c_try_run ()
 1916: {
 1917:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1918:   if { { ac_try="$ac_link"
 1919: case "(($ac_try" in
 1920:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1921:   *) ac_try_echo=$ac_try;;
 1922: esac
 1923: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1924: $as_echo "$ac_try_echo"; } >&5
 1925:   (eval "$ac_link") 2>&5
 1926:   ac_status=$?
 1927:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1928:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1929:   { { case "(($ac_try" in
 1930:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1931:   *) ac_try_echo=$ac_try;;
 1932: esac
 1933: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1934: $as_echo "$ac_try_echo"; } >&5
 1935:   (eval "$ac_try") 2>&5
 1936:   ac_status=$?
 1937:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1938:   test $ac_status = 0; }; }; then :
 1939:   ac_retval=0
 1940: else
 1941:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1942:        $as_echo "$as_me: failed program was:" >&5
 1943: sed 's/^/| /' conftest.$ac_ext >&5
 1944: 
 1945:        ac_retval=$ac_status
 1946: fi
 1947:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1948:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1949:   as_fn_set_status $ac_retval
 1950: 
 1951: } # ac_fn_c_try_run
 1952: 
 1953: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1954: # --------------------------------------------
 1955: # Tries to find the compile-time value of EXPR in a program that includes
 1956: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1957: # computed
 1958: ac_fn_c_compute_int ()
 1959: {
 1960:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1961:   if test "$cross_compiling" = yes; then
 1962:     # Depending upon the size, compute the lo and hi bounds.
 1963: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1964: /* end confdefs.h.  */
 1965: $4
 1966: int
 1967: main ()
 1968: {
 1969: static int test_array [1 - 2 * !(($2) >= 0)];
 1970: test_array [0] = 0
 1971: 
 1972:   ;
 1973:   return 0;
 1974: }
 1975: _ACEOF
 1976: if ac_fn_c_try_compile "$LINENO"; then :
 1977:   ac_lo=0 ac_mid=0
 1978:   while :; do
 1979:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1980: /* end confdefs.h.  */
 1981: $4
 1982: int
 1983: main ()
 1984: {
 1985: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1986: test_array [0] = 0
 1987: 
 1988:   ;
 1989:   return 0;
 1990: }
 1991: _ACEOF
 1992: if ac_fn_c_try_compile "$LINENO"; then :
 1993:   ac_hi=$ac_mid; break
 1994: else
 1995:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 1996:             if test $ac_lo -le $ac_mid; then
 1997:               ac_lo= ac_hi=
 1998:               break
 1999:             fi
 2000:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2001: fi
 2002: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2003:   done
 2004: else
 2005:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2006: /* end confdefs.h.  */
 2007: $4
 2008: int
 2009: main ()
 2010: {
 2011: static int test_array [1 - 2 * !(($2) < 0)];
 2012: test_array [0] = 0
 2013: 
 2014:   ;
 2015:   return 0;
 2016: }
 2017: _ACEOF
 2018: if ac_fn_c_try_compile "$LINENO"; then :
 2019:   ac_hi=-1 ac_mid=-1
 2020:   while :; do
 2021:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2022: /* end confdefs.h.  */
 2023: $4
 2024: int
 2025: main ()
 2026: {
 2027: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2028: test_array [0] = 0
 2029: 
 2030:   ;
 2031:   return 0;
 2032: }
 2033: _ACEOF
 2034: if ac_fn_c_try_compile "$LINENO"; then :
 2035:   ac_lo=$ac_mid; break
 2036: else
 2037:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2038:             if test $ac_mid -le $ac_hi; then
 2039:               ac_lo= ac_hi=
 2040:               break
 2041:             fi
 2042:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2043: fi
 2044: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2045:   done
 2046: else
 2047:   ac_lo= ac_hi=
 2048: fi
 2049: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2050: fi
 2051: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2052: # Binary search between lo and hi bounds.
 2053: while test "x$ac_lo" != "x$ac_hi"; do
 2054:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2055:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2056: /* end confdefs.h.  */
 2057: $4
 2058: int
 2059: main ()
 2060: {
 2061: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2062: test_array [0] = 0
 2063: 
 2064:   ;
 2065:   return 0;
 2066: }
 2067: _ACEOF
 2068: if ac_fn_c_try_compile "$LINENO"; then :
 2069:   ac_hi=$ac_mid
 2070: else
 2071:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2072: fi
 2073: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2074: done
 2075: case $ac_lo in #((
 2076: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2077: '') ac_retval=1 ;;
 2078: esac
 2079:   else
 2080:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2081: /* end confdefs.h.  */
 2082: $4
 2083: static long int longval () { return $2; }
 2084: static unsigned long int ulongval () { return $2; }
 2085: #include <stdio.h>
 2086: #include <stdlib.h>
 2087: int
 2088: main ()
 2089: {
 2090: 
 2091:   FILE *f = fopen ("conftest.val", "w");
 2092:   if (! f)
 2093:     return 1;
 2094:   if (($2) < 0)
 2095:     {
 2096:       long int i = longval ();
 2097:       if (i != ($2))
 2098:     return 1;
 2099:       fprintf (f, "%ld", i);
 2100:     }
 2101:   else
 2102:     {
 2103:       unsigned long int i = ulongval ();
 2104:       if (i != ($2))
 2105:     return 1;
 2106:       fprintf (f, "%lu", i);
 2107:     }
 2108:   /* Do not output a trailing newline, as this causes \r\n confusion
 2109:      on some platforms.  */
 2110:   return ferror (f) || fclose (f) != 0;
 2111: 
 2112:   ;
 2113:   return 0;
 2114: }
 2115: _ACEOF
 2116: if ac_fn_c_try_run "$LINENO"; then :
 2117:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2118: else
 2119:   ac_retval=1
 2120: fi
 2121: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2122:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2123: rm -f conftest.val
 2124: 
 2125:   fi
 2126:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2127:   as_fn_set_status $ac_retval
 2128: 
 2129: } # ac_fn_c_compute_int
 2130: 
 2131: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2132: # -------------------------------------------------------
 2133: # Tests whether HEADER exists and can be compiled using the include files in
 2134: # INCLUDES, setting the cache variable VAR accordingly.
 2135: ac_fn_c_check_header_compile ()
 2136: {
 2137:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2138:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2139: $as_echo_n "checking for $2... " >&6; }
 2140: if eval "test \"\${$3+set}\"" = set; then :
 2141:   $as_echo_n "(cached) " >&6
 2142: else
 2143:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2144: /* end confdefs.h.  */
 2145: $4
 2146: #include <$2>
 2147: _ACEOF
 2148: if ac_fn_c_try_compile "$LINENO"; then :
 2149:   eval "$3=yes"
 2150: else
 2151:   eval "$3=no"
 2152: fi
 2153: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2154: fi
 2155: eval ac_res=\$$3
 2156:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2157: $as_echo "$ac_res" >&6; }
 2158:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2159: 
 2160: } # ac_fn_c_check_header_compile
 2161: 
 2162: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2163: # -------------------------------------------------------
 2164: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2165: # the include files in INCLUDES and setting the cache variable VAR
 2166: # accordingly.
 2167: ac_fn_c_check_header_mongrel ()
 2168: {
 2169:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2170:   if eval "test \"\${$3+set}\"" = set; then :
 2171:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2172: $as_echo_n "checking for $2... " >&6; }
 2173: if eval "test \"\${$3+set}\"" = set; then :
 2174:   $as_echo_n "(cached) " >&6
 2175: fi
 2176: eval ac_res=\$$3
 2177:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2178: $as_echo "$ac_res" >&6; }
 2179: else
 2180:   # Is the header compilable?
 2181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2182: $as_echo_n "checking $2 usability... " >&6; }
 2183: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2184: /* end confdefs.h.  */
 2185: $4
 2186: #include <$2>
 2187: _ACEOF
 2188: if ac_fn_c_try_compile "$LINENO"; then :
 2189:   ac_header_compiler=yes
 2190: else
 2191:   ac_header_compiler=no
 2192: fi
 2193: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2194: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2195: $as_echo "$ac_header_compiler" >&6; }
 2196: 
 2197: # Is the header present?
 2198: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2199: $as_echo_n "checking $2 presence... " >&6; }
 2200: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2201: /* end confdefs.h.  */
 2202: #include <$2>
 2203: _ACEOF
 2204: if ac_fn_c_try_cpp "$LINENO"; then :
 2205:   ac_header_preproc=yes
 2206: else
 2207:   ac_header_preproc=no
 2208: fi
 2209: rm -f conftest.err conftest.i conftest.$ac_ext
 2210: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2211: $as_echo "$ac_header_preproc" >&6; }
 2212: 
 2213: # So?  What about this header?
 2214: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2215:   yes:no: )
 2216:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2217: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2218:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2219: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2220:     ;;
 2221:   no:yes:* )
 2222:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2223: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2224:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2225: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2226:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2227: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2228:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2229: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2230:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2231: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2232:     ;;
 2233: esac
 2234:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2235: $as_echo_n "checking for $2... " >&6; }
 2236: if eval "test \"\${$3+set}\"" = set; then :
 2237:   $as_echo_n "(cached) " >&6
 2238: else
 2239:   eval "$3=\$ac_header_compiler"
 2240: fi
 2241: eval ac_res=\$$3
 2242:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2243: $as_echo "$ac_res" >&6; }
 2244: fi
 2245:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2246: 
 2247: } # ac_fn_c_check_header_mongrel
 2248: cat >config.log <<_ACEOF
 2249: This file contains any messages produced by compilers while
 2250: running configure, to aid debugging if configure makes a mistake.
 2251: 
 2252: It was created by rpl $as_me 4.0.19, which was
 2253: generated by GNU Autoconf 2.67.  Invocation command line was
 2254: 
 2255:   $ $0 $@
 2256: 
 2257: _ACEOF
 2258: exec 5>>config.log
 2259: {
 2260: cat <<_ASUNAME
 2261: ## --------- ##
 2262: ## Platform. ##
 2263: ## --------- ##
 2264: 
 2265: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2266: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2267: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2268: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2269: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2270: 
 2271: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2272: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2273: 
 2274: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2275: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2276: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2277: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2278: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2279: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2280: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2281: 
 2282: _ASUNAME
 2283: 
 2284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2285: for as_dir in $PATH
 2286: do
 2287:   IFS=$as_save_IFS
 2288:   test -z "$as_dir" && as_dir=.
 2289:     $as_echo "PATH: $as_dir"
 2290:   done
 2291: IFS=$as_save_IFS
 2292: 
 2293: } >&5
 2294: 
 2295: cat >&5 <<_ACEOF
 2296: 
 2297: 
 2298: ## ----------- ##
 2299: ## Core tests. ##
 2300: ## ----------- ##
 2301: 
 2302: _ACEOF
 2303: 
 2304: 
 2305: # Keep a trace of the command line.
 2306: # Strip out --no-create and --no-recursion so they do not pile up.
 2307: # Strip out --silent because we don't want to record it for future runs.
 2308: # Also quote any args containing shell meta-characters.
 2309: # Make two passes to allow for proper duplicate-argument suppression.
 2310: ac_configure_args=
 2311: ac_configure_args0=
 2312: ac_configure_args1=
 2313: ac_must_keep_next=false
 2314: for ac_pass in 1 2
 2315: do
 2316:   for ac_arg
 2317:   do
 2318:     case $ac_arg in
 2319:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2320:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2321:     | -silent | --silent | --silen | --sile | --sil)
 2322:       continue ;;
 2323:     *\'*)
 2324:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2325:     esac
 2326:     case $ac_pass in
 2327:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2328:     2)
 2329:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2330:       if test $ac_must_keep_next = true; then
 2331:     ac_must_keep_next=false # Got value, back to normal.
 2332:       else
 2333:     case $ac_arg in
 2334:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2335:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2336:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2337:       | -with-* | --with-* | -without-* | --without-* | --x)
 2338:         case "$ac_configure_args0 " in
 2339:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2340:         esac
 2341:         ;;
 2342:       -* ) ac_must_keep_next=true ;;
 2343:     esac
 2344:       fi
 2345:       as_fn_append ac_configure_args " '$ac_arg'"
 2346:       ;;
 2347:     esac
 2348:   done
 2349: done
 2350: { ac_configure_args0=; unset ac_configure_args0;}
 2351: { ac_configure_args1=; unset ac_configure_args1;}
 2352: 
 2353: # When interrupted or exit'd, cleanup temporary files, and complete
 2354: # config.log.  We remove comments because anyway the quotes in there
 2355: # would cause problems or look ugly.
 2356: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2357: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2358: trap 'exit_status=$?
 2359:   # Save into config.log some information that might help in debugging.
 2360:   {
 2361:     echo
 2362: 
 2363:     $as_echo "## ---------------- ##
 2364: ## Cache variables. ##
 2365: ## ---------------- ##"
 2366:     echo
 2367:     # The following way of writing the cache mishandles newlines in values,
 2368: (
 2369:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2370:     eval ac_val=\$$ac_var
 2371:     case $ac_val in #(
 2372:     *${as_nl}*)
 2373:       case $ac_var in #(
 2374:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2375: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2376:       esac
 2377:       case $ac_var in #(
 2378:       _ | IFS | as_nl) ;; #(
 2379:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2380:       *) { eval $ac_var=; unset $ac_var;} ;;
 2381:       esac ;;
 2382:     esac
 2383:   done
 2384:   (set) 2>&1 |
 2385:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2386:     *${as_nl}ac_space=\ *)
 2387:       sed -n \
 2388:     "s/'\''/'\''\\\\'\'''\''/g;
 2389:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2390:       ;; #(
 2391:     *)
 2392:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2393:       ;;
 2394:     esac |
 2395:     sort
 2396: )
 2397:     echo
 2398: 
 2399:     $as_echo "## ----------------- ##
 2400: ## Output variables. ##
 2401: ## ----------------- ##"
 2402:     echo
 2403:     for ac_var in $ac_subst_vars
 2404:     do
 2405:       eval ac_val=\$$ac_var
 2406:       case $ac_val in
 2407:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2408:       esac
 2409:       $as_echo "$ac_var='\''$ac_val'\''"
 2410:     done | sort
 2411:     echo
 2412: 
 2413:     if test -n "$ac_subst_files"; then
 2414:       $as_echo "## ------------------- ##
 2415: ## File substitutions. ##
 2416: ## ------------------- ##"
 2417:       echo
 2418:       for ac_var in $ac_subst_files
 2419:       do
 2420:     eval ac_val=\$$ac_var
 2421:     case $ac_val in
 2422:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2423:     esac
 2424:     $as_echo "$ac_var='\''$ac_val'\''"
 2425:       done | sort
 2426:       echo
 2427:     fi
 2428: 
 2429:     if test -s confdefs.h; then
 2430:       $as_echo "## ----------- ##
 2431: ## confdefs.h. ##
 2432: ## ----------- ##"
 2433:       echo
 2434:       cat confdefs.h
 2435:       echo
 2436:     fi
 2437:     test "$ac_signal" != 0 &&
 2438:       $as_echo "$as_me: caught signal $ac_signal"
 2439:     $as_echo "$as_me: exit $exit_status"
 2440:   } >&5
 2441:   rm -f core *.core core.conftest.* &&
 2442:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2443:     exit $exit_status
 2444: ' 0
 2445: for ac_signal in 1 2 13 15; do
 2446:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2447: done
 2448: ac_signal=0
 2449: 
 2450: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2451: rm -f -r conftest* confdefs.h
 2452: 
 2453: $as_echo "/* confdefs.h */" > confdefs.h
 2454: 
 2455: # Predefined preprocessor variables.
 2456: 
 2457: cat >>confdefs.h <<_ACEOF
 2458: #define PACKAGE_NAME "$PACKAGE_NAME"
 2459: _ACEOF
 2460: 
 2461: cat >>confdefs.h <<_ACEOF
 2462: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2463: _ACEOF
 2464: 
 2465: cat >>confdefs.h <<_ACEOF
 2466: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2467: _ACEOF
 2468: 
 2469: cat >>confdefs.h <<_ACEOF
 2470: #define PACKAGE_STRING "$PACKAGE_STRING"
 2471: _ACEOF
 2472: 
 2473: cat >>confdefs.h <<_ACEOF
 2474: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2475: _ACEOF
 2476: 
 2477: cat >>confdefs.h <<_ACEOF
 2478: #define PACKAGE_URL "$PACKAGE_URL"
 2479: _ACEOF
 2480: 
 2481: 
 2482: # Let the site file select an alternate cache file if it wants to.
 2483: # Prefer an explicitly selected file to automatically selected ones.
 2484: ac_site_file1=NONE
 2485: ac_site_file2=NONE
 2486: if test -n "$CONFIG_SITE"; then
 2487:   # We do not want a PATH search for config.site.
 2488:   case $CONFIG_SITE in #((
 2489:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2490:     */*) ac_site_file1=$CONFIG_SITE;;
 2491:     *)   ac_site_file1=./$CONFIG_SITE;;
 2492:   esac
 2493: elif test "x$prefix" != xNONE; then
 2494:   ac_site_file1=$prefix/share/config.site
 2495:   ac_site_file2=$prefix/etc/config.site
 2496: else
 2497:   ac_site_file1=$ac_default_prefix/share/config.site
 2498:   ac_site_file2=$ac_default_prefix/etc/config.site
 2499: fi
 2500: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2501: do
 2502:   test "x$ac_site_file" = xNONE && continue
 2503:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2504:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2505: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2506:     sed 's/^/| /' "$ac_site_file" >&5
 2507:     . "$ac_site_file" \
 2508:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2509: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2510: as_fn_error $? "failed to load site script $ac_site_file
 2511: See \`config.log' for more details" "$LINENO" 5 ; }
 2512:   fi
 2513: done
 2514: 
 2515: if test -r "$cache_file"; then
 2516:   # Some versions of bash will fail to source /dev/null (special files
 2517:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2518:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2519:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2520: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2521:     case $cache_file in
 2522:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2523:       *)                      . "./$cache_file";;
 2524:     esac
 2525:   fi
 2526: else
 2527:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2528: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2529:   >$cache_file
 2530: fi
 2531: 
 2532: # Check that the precious variables saved in the cache have kept the same
 2533: # value.
 2534: ac_cache_corrupted=false
 2535: for ac_var in $ac_precious_vars; do
 2536:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2537:   eval ac_new_set=\$ac_env_${ac_var}_set
 2538:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2539:   eval ac_new_val=\$ac_env_${ac_var}_value
 2540:   case $ac_old_set,$ac_new_set in
 2541:     set,)
 2542:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2543: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2544:       ac_cache_corrupted=: ;;
 2545:     ,set)
 2546:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2547: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2548:       ac_cache_corrupted=: ;;
 2549:     ,);;
 2550:     *)
 2551:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2552:     # differences in whitespace do not lead to failure.
 2553:     ac_old_val_w=`echo x $ac_old_val`
 2554:     ac_new_val_w=`echo x $ac_new_val`
 2555:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2556:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2557: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2558:       ac_cache_corrupted=:
 2559:     else
 2560:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2561: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2562:       eval $ac_var=\$ac_old_val
 2563:     fi
 2564:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2565: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2566:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2567: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2568:       fi;;
 2569:   esac
 2570:   # Pass precious variables to config.status.
 2571:   if test "$ac_new_set" = set; then
 2572:     case $ac_new_val in
 2573:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2574:     *) ac_arg=$ac_var=$ac_new_val ;;
 2575:     esac
 2576:     case " $ac_configure_args " in
 2577:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2578:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2579:     esac
 2580:   fi
 2581: done
 2582: if $ac_cache_corrupted; then
 2583:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2584: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2585:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2586: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2587:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2588: fi
 2589: ## -------------------- ##
 2590: ## Main body of script. ##
 2591: ## -------------------- ##
 2592: 
 2593: ac_ext=c
 2594: ac_cpp='$CPP $CPPFLAGS'
 2595: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2596: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2597: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2598: 
 2599: 
 2600: ac_aux_dir=
 2601: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2602:   if test -f "$ac_dir/install-sh"; then
 2603:     ac_aux_dir=$ac_dir
 2604:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2605:     break
 2606:   elif 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/shtool"; then
 2611:     ac_aux_dir=$ac_dir
 2612:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2613:     break
 2614:   fi
 2615: done
 2616: if test -z "$ac_aux_dir"; then
 2617:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2618: fi
 2619: 
 2620: # These three variables are undocumented and unsupported,
 2621: # and are intended to be withdrawn in a future Autoconf release.
 2622: # They can cause serious problems if a builder's source tree is in a directory
 2623: # whose full name contains unusual characters.
 2624: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2625: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2626: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2627: 
 2628: 
 2629: # Make sure we can run config.sub.
 2630: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2631:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2632: 
 2633: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2634: $as_echo_n "checking build system type... " >&6; }
 2635: if test "${ac_cv_build+set}" = set; then :
 2636:   $as_echo_n "(cached) " >&6
 2637: else
 2638:   ac_build_alias=$build_alias
 2639: test "x$ac_build_alias" = x &&
 2640:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2641: test "x$ac_build_alias" = x &&
 2642:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2643: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2644:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2645: 
 2646: fi
 2647: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2648: $as_echo "$ac_cv_build" >&6; }
 2649: case $ac_cv_build in
 2650: *-*-*) ;;
 2651: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 2652: esac
 2653: build=$ac_cv_build
 2654: ac_save_IFS=$IFS; IFS='-'
 2655: set x $ac_cv_build
 2656: shift
 2657: build_cpu=$1
 2658: build_vendor=$2
 2659: shift; shift
 2660: # Remember, the first character of IFS is used to create $*,
 2661: # except with old shells:
 2662: build_os=$*
 2663: IFS=$ac_save_IFS
 2664: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2665: 
 2666: 
 2667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2668: $as_echo_n "checking host system type... " >&6; }
 2669: if test "${ac_cv_host+set}" = set; then :
 2670:   $as_echo_n "(cached) " >&6
 2671: else
 2672:   if test "x$host_alias" = x; then
 2673:   ac_cv_host=$ac_cv_build
 2674: else
 2675:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2676:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2677: fi
 2678: 
 2679: fi
 2680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2681: $as_echo "$ac_cv_host" >&6; }
 2682: case $ac_cv_host in
 2683: *-*-*) ;;
 2684: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 2685: esac
 2686: host=$ac_cv_host
 2687: ac_save_IFS=$IFS; IFS='-'
 2688: set x $ac_cv_host
 2689: shift
 2690: host_cpu=$1
 2691: host_vendor=$2
 2692: shift; shift
 2693: # Remember, the first character of IFS is used to create $*,
 2694: # except with old shells:
 2695: host_os=$*
 2696: IFS=$ac_save_IFS
 2697: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2698: 
 2699: 
 2700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2701: $as_echo_n "checking target system type... " >&6; }
 2702: if test "${ac_cv_target+set}" = set; then :
 2703:   $as_echo_n "(cached) " >&6
 2704: else
 2705:   if test "x$target_alias" = x; then
 2706:   ac_cv_target=$ac_cv_host
 2707: else
 2708:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2709:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2710: fi
 2711: 
 2712: fi
 2713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2714: $as_echo "$ac_cv_target" >&6; }
 2715: case $ac_cv_target in
 2716: *-*-*) ;;
 2717: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
 2718: esac
 2719: target=$ac_cv_target
 2720: ac_save_IFS=$IFS; IFS='-'
 2721: set x $ac_cv_target
 2722: shift
 2723: target_cpu=$1
 2724: target_vendor=$2
 2725: shift; shift
 2726: # Remember, the first character of IFS is used to create $*,
 2727: # except with old shells:
 2728: target_os=$*
 2729: IFS=$ac_save_IFS
 2730: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2731: 
 2732: 
 2733: # The aliases save the names the user supplied, while $host etc.
 2734: # will get canonicalized.
 2735: test -n "$target_alias" &&
 2736:   test "$program_prefix$program_suffix$program_transform_name" = \
 2737:     NONENONEs,x,x, &&
 2738:   program_prefix=${target_alias}-
 2739: 
 2740: am__api_version='1.11'
 2741: 
 2742: # Find a good install program.  We prefer a C program (faster),
 2743: # so one script is as good as another.  But avoid the broken or
 2744: # incompatible versions:
 2745: # SysV /etc/install, /usr/sbin/install
 2746: # SunOS /usr/etc/install
 2747: # IRIX /sbin/install
 2748: # AIX /bin/install
 2749: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2750: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2751: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2752: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2753: # OS/2's system install, which has a completely different semantic
 2754: # ./install, which can be erroneously created by make from ./install.sh.
 2755: # Reject install programs that cannot install multiple files.
 2756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2757: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2758: if test -z "$INSTALL"; then
 2759: if test "${ac_cv_path_install+set}" = set; then :
 2760:   $as_echo_n "(cached) " >&6
 2761: else
 2762:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2763: for as_dir in $PATH
 2764: do
 2765:   IFS=$as_save_IFS
 2766:   test -z "$as_dir" && as_dir=.
 2767:     # Account for people who put trailing slashes in PATH elements.
 2768: case $as_dir/ in #((
 2769:   ./ | .// | /[cC]/* | \
 2770:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2771:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2772:   /usr/ucb/* ) ;;
 2773:   *)
 2774:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2775:     # Don't use installbsd from OSF since it installs stuff as root
 2776:     # by default.
 2777:     for ac_prog in ginstall scoinst install; do
 2778:       for ac_exec_ext in '' $ac_executable_extensions; do
 2779:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2780:       if test $ac_prog = install &&
 2781:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2782:         # AIX install.  It has an incompatible calling convention.
 2783:         :
 2784:       elif test $ac_prog = install &&
 2785:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2786:         # program-specific install script used by HP pwplus--don't use.
 2787:         :
 2788:       else
 2789:         rm -rf conftest.one conftest.two conftest.dir
 2790:         echo one > conftest.one
 2791:         echo two > conftest.two
 2792:         mkdir conftest.dir
 2793:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2794:           test -s conftest.one && test -s conftest.two &&
 2795:           test -s conftest.dir/conftest.one &&
 2796:           test -s conftest.dir/conftest.two
 2797:         then
 2798:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2799:           break 3
 2800:         fi
 2801:       fi
 2802:     fi
 2803:       done
 2804:     done
 2805:     ;;
 2806: esac
 2807: 
 2808:   done
 2809: IFS=$as_save_IFS
 2810: 
 2811: rm -rf conftest.one conftest.two conftest.dir
 2812: 
 2813: fi
 2814:   if test "${ac_cv_path_install+set}" = set; then
 2815:     INSTALL=$ac_cv_path_install
 2816:   else
 2817:     # As a last resort, use the slow shell script.  Don't cache a
 2818:     # value for INSTALL within a source directory, because that will
 2819:     # break other packages using the cache if that directory is
 2820:     # removed, or if the value is a relative name.
 2821:     INSTALL=$ac_install_sh
 2822:   fi
 2823: fi
 2824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2825: $as_echo "$INSTALL" >&6; }
 2826: 
 2827: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2828: # It thinks the first close brace ends the variable substitution.
 2829: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2830: 
 2831: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2832: 
 2833: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2834: 
 2835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2836: $as_echo_n "checking whether build environment is sane... " >&6; }
 2837: # Just in case
 2838: sleep 1
 2839: echo timestamp > conftest.file
 2840: # Reject unsafe characters in $srcdir or the absolute working directory
 2841: # name.  Accept space and tab only in the latter.
 2842: am_lf='
 2843: '
 2844: case `pwd` in
 2845:   *[\\\"\#\$\&\'\`$am_lf]*)
 2846:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 2847: esac
 2848: case $srcdir in
 2849:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2850:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 2851: esac
 2852: 
 2853: # Do `set' in a subshell so we don't clobber the current shell's
 2854: # arguments.  Must try -L first in case configure is actually a
 2855: # symlink; some systems play weird games with the mod time of symlinks
 2856: # (eg FreeBSD returns the mod time of the symlink's containing
 2857: # directory).
 2858: if (
 2859:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2860:    if test "$*" = "X"; then
 2861:       # -L didn't work.
 2862:       set X `ls -t "$srcdir/configure" conftest.file`
 2863:    fi
 2864:    rm -f conftest.file
 2865:    if test "$*" != "X $srcdir/configure conftest.file" \
 2866:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2867: 
 2868:       # If neither matched, then we have a broken ls.  This can happen
 2869:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2870:       # broken ls alias from the environment.  This has actually
 2871:       # happened.  Such a system could not be considered "sane".
 2872:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2873: alias in your environment" "$LINENO" 5
 2874:    fi
 2875: 
 2876:    test "$2" = conftest.file
 2877:    )
 2878: then
 2879:    # Ok.
 2880:    :
 2881: else
 2882:    as_fn_error $? "newly created file is older than distributed files!
 2883: Check your system clock" "$LINENO" 5
 2884: fi
 2885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2886: $as_echo "yes" >&6; }
 2887: test "$program_prefix" != NONE &&
 2888:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2889: # Use a double $ so make ignores it.
 2890: test "$program_suffix" != NONE &&
 2891:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2892: # Double any \ or $.
 2893: # By default was `s,x,x', remove it if useless.
 2894: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2895: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2896: 
 2897: # expand $ac_aux_dir to an absolute path
 2898: am_aux_dir=`cd $ac_aux_dir && pwd`
 2899: 
 2900: if test x"${MISSING+set}" != xset; then
 2901:   case $am_aux_dir in
 2902:   *\ * | *\ *)
 2903:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2904:   *)
 2905:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2906:   esac
 2907: fi
 2908: # Use eval to expand $SHELL
 2909: if eval "$MISSING --run true"; then
 2910:   am_missing_run="$MISSING --run "
 2911: else
 2912:   am_missing_run=
 2913:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2914: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2915: fi
 2916: 
 2917: if test x"${install_sh}" != xset; then
 2918:   case $am_aux_dir in
 2919:   *\ * | *\ *)
 2920:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2921:   *)
 2922:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2923:   esac
 2924: fi
 2925: 
 2926: # Installed binaries are usually stripped using `strip' when the user
 2927: # run `make install-strip'.  However `strip' might not be the right
 2928: # tool to use in cross-compilation environments, therefore Automake
 2929: # will honor the `STRIP' environment variable to overrule this program.
 2930: if test "$cross_compiling" != no; then
 2931:   if test -n "$ac_tool_prefix"; then
 2932:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2933: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2935: $as_echo_n "checking for $ac_word... " >&6; }
 2936: if test "${ac_cv_prog_STRIP+set}" = set; then :
 2937:   $as_echo_n "(cached) " >&6
 2938: else
 2939:   if test -n "$STRIP"; then
 2940:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2941: else
 2942: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2943: for as_dir in $PATH
 2944: do
 2945:   IFS=$as_save_IFS
 2946:   test -z "$as_dir" && as_dir=.
 2947:     for ac_exec_ext in '' $ac_executable_extensions; do
 2948:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2949:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2950:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2951:     break 2
 2952:   fi
 2953: done
 2954:   done
 2955: IFS=$as_save_IFS
 2956: 
 2957: fi
 2958: fi
 2959: STRIP=$ac_cv_prog_STRIP
 2960: if test -n "$STRIP"; then
 2961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2962: $as_echo "$STRIP" >&6; }
 2963: else
 2964:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2965: $as_echo "no" >&6; }
 2966: fi
 2967: 
 2968: 
 2969: fi
 2970: if test -z "$ac_cv_prog_STRIP"; then
 2971:   ac_ct_STRIP=$STRIP
 2972:   # Extract the first word of "strip", so it can be a program name with args.
 2973: set dummy strip; ac_word=$2
 2974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2975: $as_echo_n "checking for $ac_word... " >&6; }
 2976: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 2977:   $as_echo_n "(cached) " >&6
 2978: else
 2979:   if test -n "$ac_ct_STRIP"; then
 2980:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2981: else
 2982: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2983: for as_dir in $PATH
 2984: do
 2985:   IFS=$as_save_IFS
 2986:   test -z "$as_dir" && as_dir=.
 2987:     for ac_exec_ext in '' $ac_executable_extensions; do
 2988:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2989:     ac_cv_prog_ac_ct_STRIP="strip"
 2990:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2991:     break 2
 2992:   fi
 2993: done
 2994:   done
 2995: IFS=$as_save_IFS
 2996: 
 2997: fi
 2998: fi
 2999: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3000: if test -n "$ac_ct_STRIP"; then
 3001:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3002: $as_echo "$ac_ct_STRIP" >&6; }
 3003: else
 3004:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3005: $as_echo "no" >&6; }
 3006: fi
 3007: 
 3008:   if test "x$ac_ct_STRIP" = x; then
 3009:     STRIP=":"
 3010:   else
 3011:     case $cross_compiling:$ac_tool_warned in
 3012: yes:)
 3013: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3014: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3015: ac_tool_warned=yes ;;
 3016: esac
 3017:     STRIP=$ac_ct_STRIP
 3018:   fi
 3019: else
 3020:   STRIP="$ac_cv_prog_STRIP"
 3021: fi
 3022: 
 3023: fi
 3024: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3025: 
 3026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3027: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3028: if test -z "$MKDIR_P"; then
 3029:   if test "${ac_cv_path_mkdir+set}" = set; then :
 3030:   $as_echo_n "(cached) " >&6
 3031: else
 3032:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3033: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3034: do
 3035:   IFS=$as_save_IFS
 3036:   test -z "$as_dir" && as_dir=.
 3037:     for ac_prog in mkdir gmkdir; do
 3038:      for ac_exec_ext in '' $ac_executable_extensions; do
 3039:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3040:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3041:          'mkdir (GNU coreutils) '* | \
 3042:          'mkdir (coreutils) '* | \
 3043:          'mkdir (fileutils) '4.1*)
 3044:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3045:            break 3;;
 3046:        esac
 3047:      done
 3048:        done
 3049:   done
 3050: IFS=$as_save_IFS
 3051: 
 3052: fi
 3053: 
 3054:   test -d ./--version && rmdir ./--version
 3055:   if test "${ac_cv_path_mkdir+set}" = set; then
 3056:     MKDIR_P="$ac_cv_path_mkdir -p"
 3057:   else
 3058:     # As a last resort, use the slow shell script.  Don't cache a
 3059:     # value for MKDIR_P within a source directory, because that will
 3060:     # break other packages using the cache if that directory is
 3061:     # removed, or if the value is a relative name.
 3062:     MKDIR_P="$ac_install_sh -d"
 3063:   fi
 3064: fi
 3065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3066: $as_echo "$MKDIR_P" >&6; }
 3067: 
 3068: mkdir_p="$MKDIR_P"
 3069: case $mkdir_p in
 3070:   [\\/$]* | ?:[\\/]*) ;;
 3071:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3072: esac
 3073: 
 3074: for ac_prog in gawk mawk nawk awk
 3075: do
 3076:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3077: set dummy $ac_prog; ac_word=$2
 3078: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3079: $as_echo_n "checking for $ac_word... " >&6; }
 3080: if test "${ac_cv_prog_AWK+set}" = set; then :
 3081:   $as_echo_n "(cached) " >&6
 3082: else
 3083:   if test -n "$AWK"; then
 3084:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3085: else
 3086: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3087: for as_dir in $PATH
 3088: do
 3089:   IFS=$as_save_IFS
 3090:   test -z "$as_dir" && as_dir=.
 3091:     for ac_exec_ext in '' $ac_executable_extensions; do
 3092:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3093:     ac_cv_prog_AWK="$ac_prog"
 3094:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3095:     break 2
 3096:   fi
 3097: done
 3098:   done
 3099: IFS=$as_save_IFS
 3100: 
 3101: fi
 3102: fi
 3103: AWK=$ac_cv_prog_AWK
 3104: if test -n "$AWK"; then
 3105:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3106: $as_echo "$AWK" >&6; }
 3107: else
 3108:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3109: $as_echo "no" >&6; }
 3110: fi
 3111: 
 3112: 
 3113:   test -n "$AWK" && break
 3114: done
 3115: 
 3116: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3117: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3118: set x ${MAKE-make}
 3119: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3120: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 3121:   $as_echo_n "(cached) " >&6
 3122: else
 3123:   cat >conftest.make <<\_ACEOF
 3124: SHELL = /bin/sh
 3125: all:
 3126:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3127: _ACEOF
 3128: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3129: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3130:   *@@@%%%=?*=@@@%%%*)
 3131:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3132:   *)
 3133:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3134: esac
 3135: rm -f conftest.make
 3136: fi
 3137: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3139: $as_echo "yes" >&6; }
 3140:   SET_MAKE=
 3141: else
 3142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3143: $as_echo "no" >&6; }
 3144:   SET_MAKE="MAKE=${MAKE-make}"
 3145: fi
 3146: 
 3147: rm -rf .tst 2>/dev/null
 3148: mkdir .tst 2>/dev/null
 3149: if test -d .tst; then
 3150:   am__leading_dot=.
 3151: else
 3152:   am__leading_dot=_
 3153: fi
 3154: rmdir .tst 2>/dev/null
 3155: 
 3156: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3157:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3158:   # is not polluted with repeated "-I."
 3159:   am__isrc=' -I$(srcdir)'
 3160:   # test to see if srcdir already configured
 3161:   if test -f $srcdir/config.status; then
 3162:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3163:   fi
 3164: fi
 3165: 
 3166: # test whether we have cygpath
 3167: if test -z "$CYGPATH_W"; then
 3168:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3169:     CYGPATH_W='cygpath -w'
 3170:   else
 3171:     CYGPATH_W=echo
 3172:   fi
 3173: fi
 3174: 
 3175: 
 3176: # Define the identity of the package.
 3177:  PACKAGE='rpl'
 3178:  VERSION='4.0.19'
 3179: 
 3180: 
 3181: cat >>confdefs.h <<_ACEOF
 3182: #define PACKAGE "$PACKAGE"
 3183: _ACEOF
 3184: 
 3185: 
 3186: cat >>confdefs.h <<_ACEOF
 3187: #define VERSION "$VERSION"
 3188: _ACEOF
 3189: 
 3190: # Some tools Automake needs.
 3191: 
 3192: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3193: 
 3194: 
 3195: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3196: 
 3197: 
 3198: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3199: 
 3200: 
 3201: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3202: 
 3203: 
 3204: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3205: 
 3206: # We need awk for the "check" target.  The system "awk" is bad on
 3207: # some platforms.
 3208: # Always define AMTAR for backward compatibility.
 3209: 
 3210: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3211: 
 3212: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3213: 
 3214: 
 3215: 
 3216: 
 3217: 
 3218: 
 3219: ac_config_headers="$ac_config_headers rplconfig.h"
 3220: 
 3221: 
 3222: NCURSES=ncurses-5.7-20100619
 3223: READLINE=readline-6.1
 3224: UNITS=units-1.88
 3225: GSL=gsl-1.14
 3226: GPP=gpp-2.24
 3227: GNUPLOT=gnuplot-4.4.0
 3228: FILE=file-5.03
 3229: ICONV=libiconv-1.13.1
 3230: SQLITE=sqlite-3.7.0.1
 3231: OPENSSL=openssl-1.0.0a
 3232: 
 3233: ac_ext=c
 3234: ac_cpp='$CPP $CPPFLAGS'
 3235: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3236: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3237: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3238: if test -n "$ac_tool_prefix"; then
 3239:   for ac_prog in gcc
 3240:   do
 3241:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3242: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3244: $as_echo_n "checking for $ac_word... " >&6; }
 3245: if test "${ac_cv_prog_CC+set}" = set; then :
 3246:   $as_echo_n "(cached) " >&6
 3247: else
 3248:   if test -n "$CC"; then
 3249:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3250: else
 3251: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3252: for as_dir in $PATH
 3253: do
 3254:   IFS=$as_save_IFS
 3255:   test -z "$as_dir" && as_dir=.
 3256:     for ac_exec_ext in '' $ac_executable_extensions; do
 3257:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3258:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3259:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3260:     break 2
 3261:   fi
 3262: done
 3263:   done
 3264: IFS=$as_save_IFS
 3265: 
 3266: fi
 3267: fi
 3268: CC=$ac_cv_prog_CC
 3269: if test -n "$CC"; then
 3270:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3271: $as_echo "$CC" >&6; }
 3272: else
 3273:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3274: $as_echo "no" >&6; }
 3275: fi
 3276: 
 3277: 
 3278:     test -n "$CC" && break
 3279:   done
 3280: fi
 3281: if test -z "$CC"; then
 3282:   ac_ct_CC=$CC
 3283:   for ac_prog in gcc
 3284: do
 3285:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3286: set dummy $ac_prog; ac_word=$2
 3287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3288: $as_echo_n "checking for $ac_word... " >&6; }
 3289: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3290:   $as_echo_n "(cached) " >&6
 3291: else
 3292:   if test -n "$ac_ct_CC"; then
 3293:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3294: else
 3295: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3296: for as_dir in $PATH
 3297: do
 3298:   IFS=$as_save_IFS
 3299:   test -z "$as_dir" && as_dir=.
 3300:     for ac_exec_ext in '' $ac_executable_extensions; do
 3301:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3302:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3303:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3304:     break 2
 3305:   fi
 3306: done
 3307:   done
 3308: IFS=$as_save_IFS
 3309: 
 3310: fi
 3311: fi
 3312: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3313: if test -n "$ac_ct_CC"; then
 3314:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3315: $as_echo "$ac_ct_CC" >&6; }
 3316: else
 3317:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3318: $as_echo "no" >&6; }
 3319: fi
 3320: 
 3321: 
 3322:   test -n "$ac_ct_CC" && break
 3323: done
 3324: 
 3325:   if test "x$ac_ct_CC" = x; then
 3326:     CC=""
 3327:   else
 3328:     case $cross_compiling:$ac_tool_warned in
 3329: yes:)
 3330: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3331: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3332: ac_tool_warned=yes ;;
 3333: esac
 3334:     CC=$ac_ct_CC
 3335:   fi
 3336: fi
 3337: 
 3338: 
 3339: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3340: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3341: as_fn_error $? "no acceptable C compiler found in \$PATH
 3342: See \`config.log' for more details" "$LINENO" 5 ; }
 3343: 
 3344: # Provide some information about the compiler.
 3345: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3346: set X $ac_compile
 3347: ac_compiler=$2
 3348: for ac_option in --version -v -V -qversion; do
 3349:   { { ac_try="$ac_compiler $ac_option >&5"
 3350: case "(($ac_try" in
 3351:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3352:   *) ac_try_echo=$ac_try;;
 3353: esac
 3354: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3355: $as_echo "$ac_try_echo"; } >&5
 3356:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3357:   ac_status=$?
 3358:   if test -s conftest.err; then
 3359:     sed '10a\
 3360: ... rest of stderr output deleted ...
 3361:          10q' conftest.err >conftest.er1
 3362:     cat conftest.er1 >&5
 3363:   fi
 3364:   rm -f conftest.er1 conftest.err
 3365:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3366:   test $ac_status = 0; }
 3367: done
 3368: 
 3369: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3370: /* end confdefs.h.  */
 3371: 
 3372: int
 3373: main ()
 3374: {
 3375: 
 3376:   ;
 3377:   return 0;
 3378: }
 3379: _ACEOF
 3380: ac_clean_files_save=$ac_clean_files
 3381: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3382: # Try to create an executable without -o first, disregard a.out.
 3383: # It will help us diagnose broken compilers, and finding out an intuition
 3384: # of exeext.
 3385: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3386: $as_echo_n "checking whether the C compiler works... " >&6; }
 3387: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3388: 
 3389: # The possible output files:
 3390: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3391: 
 3392: ac_rmfiles=
 3393: for ac_file in $ac_files
 3394: do
 3395:   case $ac_file in
 3396:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3397:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3398:   esac
 3399: done
 3400: rm -f $ac_rmfiles
 3401: 
 3402: if { { ac_try="$ac_link_default"
 3403: case "(($ac_try" in
 3404:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3405:   *) ac_try_echo=$ac_try;;
 3406: esac
 3407: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3408: $as_echo "$ac_try_echo"; } >&5
 3409:   (eval "$ac_link_default") 2>&5
 3410:   ac_status=$?
 3411:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3412:   test $ac_status = 0; }; then :
 3413:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3414: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3415: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3416: # so that the user can short-circuit this test for compilers unknown to
 3417: # Autoconf.
 3418: for ac_file in $ac_files ''
 3419: do
 3420:   test -f "$ac_file" || continue
 3421:   case $ac_file in
 3422:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3423:     ;;
 3424:     [ab].out )
 3425:     # We found the default executable, but exeext='' is most
 3426:     # certainly right.
 3427:     break;;
 3428:     *.* )
 3429:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3430:     then :; else
 3431:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3432:     fi
 3433:     # We set ac_cv_exeext here because the later test for it is not
 3434:     # safe: cross compilers may not add the suffix if given an `-o'
 3435:     # argument, so we may need to know it at that point already.
 3436:     # Even if this section looks crufty: it has the advantage of
 3437:     # actually working.
 3438:     break;;
 3439:     * )
 3440:     break;;
 3441:   esac
 3442: done
 3443: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3444: 
 3445: else
 3446:   ac_file=''
 3447: fi
 3448: if test -z "$ac_file"; then :
 3449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3450: $as_echo "no" >&6; }
 3451: $as_echo "$as_me: failed program was:" >&5
 3452: sed 's/^/| /' conftest.$ac_ext >&5
 3453: 
 3454: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3455: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3456: as_fn_error 77 "C compiler cannot create executables
 3457: See \`config.log' for more details" "$LINENO" 5 ; }
 3458: else
 3459:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3460: $as_echo "yes" >&6; }
 3461: fi
 3462: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3463: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3465: $as_echo "$ac_file" >&6; }
 3466: ac_exeext=$ac_cv_exeext
 3467: 
 3468: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3469: ac_clean_files=$ac_clean_files_save
 3470: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3471: $as_echo_n "checking for suffix of executables... " >&6; }
 3472: if { { ac_try="$ac_link"
 3473: case "(($ac_try" in
 3474:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3475:   *) ac_try_echo=$ac_try;;
 3476: esac
 3477: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3478: $as_echo "$ac_try_echo"; } >&5
 3479:   (eval "$ac_link") 2>&5
 3480:   ac_status=$?
 3481:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3482:   test $ac_status = 0; }; then :
 3483:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3484: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3485: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3486: # `rm'.
 3487: for ac_file in conftest.exe conftest conftest.*; do
 3488:   test -f "$ac_file" || continue
 3489:   case $ac_file in
 3490:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3491:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3492:       break;;
 3493:     * ) break;;
 3494:   esac
 3495: done
 3496: else
 3497:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3498: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3499: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3500: See \`config.log' for more details" "$LINENO" 5 ; }
 3501: fi
 3502: rm -f conftest conftest$ac_cv_exeext
 3503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3504: $as_echo "$ac_cv_exeext" >&6; }
 3505: 
 3506: rm -f conftest.$ac_ext
 3507: EXEEXT=$ac_cv_exeext
 3508: ac_exeext=$EXEEXT
 3509: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3510: /* end confdefs.h.  */
 3511: #include <stdio.h>
 3512: int
 3513: main ()
 3514: {
 3515: FILE *f = fopen ("conftest.out", "w");
 3516:  return ferror (f) || fclose (f) != 0;
 3517: 
 3518:   ;
 3519:   return 0;
 3520: }
 3521: _ACEOF
 3522: ac_clean_files="$ac_clean_files conftest.out"
 3523: # Check that the compiler produces executables we can run.  If not, either
 3524: # the compiler is broken, or we cross compile.
 3525: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3526: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3527: if test "$cross_compiling" != yes; then
 3528:   { { ac_try="$ac_link"
 3529: case "(($ac_try" in
 3530:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3531:   *) ac_try_echo=$ac_try;;
 3532: esac
 3533: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3534: $as_echo "$ac_try_echo"; } >&5
 3535:   (eval "$ac_link") 2>&5
 3536:   ac_status=$?
 3537:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3538:   test $ac_status = 0; }
 3539:   if { ac_try='./conftest$ac_cv_exeext'
 3540:   { { case "(($ac_try" in
 3541:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3542:   *) ac_try_echo=$ac_try;;
 3543: esac
 3544: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3545: $as_echo "$ac_try_echo"; } >&5
 3546:   (eval "$ac_try") 2>&5
 3547:   ac_status=$?
 3548:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3549:   test $ac_status = 0; }; }; then
 3550:     cross_compiling=no
 3551:   else
 3552:     if test "$cross_compiling" = maybe; then
 3553:     cross_compiling=yes
 3554:     else
 3555:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3556: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3557: as_fn_error $? "cannot run C compiled programs.
 3558: If you meant to cross compile, use \`--host'.
 3559: See \`config.log' for more details" "$LINENO" 5 ; }
 3560:     fi
 3561:   fi
 3562: fi
 3563: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3564: $as_echo "$cross_compiling" >&6; }
 3565: 
 3566: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3567: ac_clean_files=$ac_clean_files_save
 3568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3569: $as_echo_n "checking for suffix of object files... " >&6; }
 3570: if test "${ac_cv_objext+set}" = set; then :
 3571:   $as_echo_n "(cached) " >&6
 3572: else
 3573:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3574: /* end confdefs.h.  */
 3575: 
 3576: int
 3577: main ()
 3578: {
 3579: 
 3580:   ;
 3581:   return 0;
 3582: }
 3583: _ACEOF
 3584: rm -f conftest.o conftest.obj
 3585: if { { ac_try="$ac_compile"
 3586: case "(($ac_try" in
 3587:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3588:   *) ac_try_echo=$ac_try;;
 3589: esac
 3590: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3591: $as_echo "$ac_try_echo"; } >&5
 3592:   (eval "$ac_compile") 2>&5
 3593:   ac_status=$?
 3594:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3595:   test $ac_status = 0; }; then :
 3596:   for ac_file in conftest.o conftest.obj conftest.*; do
 3597:   test -f "$ac_file" || continue;
 3598:   case $ac_file in
 3599:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3600:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3601:        break;;
 3602:   esac
 3603: done
 3604: else
 3605:   $as_echo "$as_me: failed program was:" >&5
 3606: sed 's/^/| /' conftest.$ac_ext >&5
 3607: 
 3608: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3609: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3610: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3611: See \`config.log' for more details" "$LINENO" 5 ; }
 3612: fi
 3613: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3614: fi
 3615: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3616: $as_echo "$ac_cv_objext" >&6; }
 3617: OBJEXT=$ac_cv_objext
 3618: ac_objext=$OBJEXT
 3619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3620: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3621: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 3622:   $as_echo_n "(cached) " >&6
 3623: else
 3624:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3625: /* end confdefs.h.  */
 3626: 
 3627: int
 3628: main ()
 3629: {
 3630: #ifndef __GNUC__
 3631:        choke me
 3632: #endif
 3633: 
 3634:   ;
 3635:   return 0;
 3636: }
 3637: _ACEOF
 3638: if ac_fn_c_try_compile "$LINENO"; then :
 3639:   ac_compiler_gnu=yes
 3640: else
 3641:   ac_compiler_gnu=no
 3642: fi
 3643: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3644: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3645: 
 3646: fi
 3647: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3648: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3649: if test $ac_compiler_gnu = yes; then
 3650:   GCC=yes
 3651: else
 3652:   GCC=
 3653: fi
 3654: ac_test_CFLAGS=${CFLAGS+set}
 3655: ac_save_CFLAGS=$CFLAGS
 3656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3657: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3658: if test "${ac_cv_prog_cc_g+set}" = set; then :
 3659:   $as_echo_n "(cached) " >&6
 3660: else
 3661:   ac_save_c_werror_flag=$ac_c_werror_flag
 3662:    ac_c_werror_flag=yes
 3663:    ac_cv_prog_cc_g=no
 3664:    CFLAGS="-g"
 3665:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3666: /* end confdefs.h.  */
 3667: 
 3668: int
 3669: main ()
 3670: {
 3671: 
 3672:   ;
 3673:   return 0;
 3674: }
 3675: _ACEOF
 3676: if ac_fn_c_try_compile "$LINENO"; then :
 3677:   ac_cv_prog_cc_g=yes
 3678: else
 3679:   CFLAGS=""
 3680:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3681: /* end confdefs.h.  */
 3682: 
 3683: int
 3684: main ()
 3685: {
 3686: 
 3687:   ;
 3688:   return 0;
 3689: }
 3690: _ACEOF
 3691: if ac_fn_c_try_compile "$LINENO"; then :
 3692: 
 3693: else
 3694:   ac_c_werror_flag=$ac_save_c_werror_flag
 3695:      CFLAGS="-g"
 3696:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3697: /* end confdefs.h.  */
 3698: 
 3699: int
 3700: main ()
 3701: {
 3702: 
 3703:   ;
 3704:   return 0;
 3705: }
 3706: _ACEOF
 3707: if ac_fn_c_try_compile "$LINENO"; then :
 3708:   ac_cv_prog_cc_g=yes
 3709: fi
 3710: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3711: fi
 3712: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3713: fi
 3714: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3715:    ac_c_werror_flag=$ac_save_c_werror_flag
 3716: fi
 3717: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3718: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3719: if test "$ac_test_CFLAGS" = set; then
 3720:   CFLAGS=$ac_save_CFLAGS
 3721: elif test $ac_cv_prog_cc_g = yes; then
 3722:   if test "$GCC" = yes; then
 3723:     CFLAGS="-g -O2"
 3724:   else
 3725:     CFLAGS="-g"
 3726:   fi
 3727: else
 3728:   if test "$GCC" = yes; then
 3729:     CFLAGS="-O2"
 3730:   else
 3731:     CFLAGS=
 3732:   fi
 3733: fi
 3734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3735: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3736: if test "${ac_cv_prog_cc_c89+set}" = set; then :
 3737:   $as_echo_n "(cached) " >&6
 3738: else
 3739:   ac_cv_prog_cc_c89=no
 3740: ac_save_CC=$CC
 3741: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3742: /* end confdefs.h.  */
 3743: #include <stdarg.h>
 3744: #include <stdio.h>
 3745: #include <sys/types.h>
 3746: #include <sys/stat.h>
 3747: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3748: struct buf { int x; };
 3749: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3750: static char *e (p, i)
 3751:      char **p;
 3752:      int i;
 3753: {
 3754:   return p[i];
 3755: }
 3756: static char *f (char * (*g) (char **, int), char **p, ...)
 3757: {
 3758:   char *s;
 3759:   va_list v;
 3760:   va_start (v,p);
 3761:   s = g (p, va_arg (v,int));
 3762:   va_end (v);
 3763:   return s;
 3764: }
 3765: 
 3766: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3767:    function prototypes and stuff, but not '\xHH' hex character constants.
 3768:    These don't provoke an error unfortunately, instead are silently treated
 3769:    as 'x'.  The following induces an error, until -std is added to get
 3770:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3771:    array size at least.  It's necessary to write '\x00'==0 to get something
 3772:    that's true only with -std.  */
 3773: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3774: 
 3775: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3776:    inside strings and character constants.  */
 3777: #define FOO(x) 'x'
 3778: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3779: 
 3780: int test (int i, double x);
 3781: struct s1 {int (*f) (int a);};
 3782: struct s2 {int (*f) (double a);};
 3783: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3784: int argc;
 3785: char **argv;
 3786: int
 3787: main ()
 3788: {
 3789: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3790:   ;
 3791:   return 0;
 3792: }
 3793: _ACEOF
 3794: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3795:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3796: do
 3797:   CC="$ac_save_CC $ac_arg"
 3798:   if ac_fn_c_try_compile "$LINENO"; then :
 3799:   ac_cv_prog_cc_c89=$ac_arg
 3800: fi
 3801: rm -f core conftest.err conftest.$ac_objext
 3802:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3803: done
 3804: rm -f conftest.$ac_ext
 3805: CC=$ac_save_CC
 3806: 
 3807: fi
 3808: # AC_CACHE_VAL
 3809: case "x$ac_cv_prog_cc_c89" in
 3810:   x)
 3811:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3812: $as_echo "none needed" >&6; } ;;
 3813:   xno)
 3814:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3815: $as_echo "unsupported" >&6; } ;;
 3816:   *)
 3817:     CC="$CC $ac_cv_prog_cc_c89"
 3818:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3819: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3820: esac
 3821: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3822: 
 3823: fi
 3824: 
 3825: ac_ext=c
 3826: ac_cpp='$CPP $CPPFLAGS'
 3827: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3828: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3829: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3830: DEPDIR="${am__leading_dot}deps"
 3831: 
 3832: ac_config_commands="$ac_config_commands depfiles"
 3833: 
 3834: 
 3835: am_make=${MAKE-make}
 3836: cat > confinc << 'END'
 3837: am__doit:
 3838:     @echo this is the am__doit target
 3839: .PHONY: am__doit
 3840: END
 3841: # If we don't find an include directive, just comment out the code.
 3842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3843: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3844: am__include="#"
 3845: am__quote=
 3846: _am_result=none
 3847: # First try GNU make style include.
 3848: echo "include confinc" > confmf
 3849: # Ignore all kinds of additional output from `make'.
 3850: case `$am_make -s -f confmf 2> /dev/null` in #(
 3851: *the\ am__doit\ target*)
 3852:   am__include=include
 3853:   am__quote=
 3854:   _am_result=GNU
 3855:   ;;
 3856: esac
 3857: # Now try BSD make style include.
 3858: if test "$am__include" = "#"; then
 3859:    echo '.include "confinc"' > confmf
 3860:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3861:    *the\ am__doit\ target*)
 3862:      am__include=.include
 3863:      am__quote="\""
 3864:      _am_result=BSD
 3865:      ;;
 3866:    esac
 3867: fi
 3868: 
 3869: 
 3870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3871: $as_echo "$_am_result" >&6; }
 3872: rm -f confinc confmf
 3873: 
 3874: # Check whether --enable-dependency-tracking was given.
 3875: if test "${enable_dependency_tracking+set}" = set; then :
 3876:   enableval=$enable_dependency_tracking;
 3877: fi
 3878: 
 3879: if test "x$enable_dependency_tracking" != xno; then
 3880:   am_depcomp="$ac_aux_dir/depcomp"
 3881:   AMDEPBACKSLASH='\'
 3882: fi
 3883:  if test "x$enable_dependency_tracking" != xno; then
 3884:   AMDEP_TRUE=
 3885:   AMDEP_FALSE='#'
 3886: else
 3887:   AMDEP_TRUE='#'
 3888:   AMDEP_FALSE=
 3889: fi
 3890: 
 3891: 
 3892: 
 3893: depcc="$CC"   am_compiler_list=
 3894: 
 3895: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3896: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3897: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 3898:   $as_echo_n "(cached) " >&6
 3899: else
 3900:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3901:   # We make a subdir and do the tests there.  Otherwise we can end up
 3902:   # making bogus files that we don't know about and never remove.  For
 3903:   # instance it was reported that on HP-UX the gcc test will end up
 3904:   # making a dummy file named `D' -- because `-MD' means `put the output
 3905:   # in D'.
 3906:   mkdir conftest.dir
 3907:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3908:   # using a relative directory.
 3909:   cp "$am_depcomp" conftest.dir
 3910:   cd conftest.dir
 3911:   # We will build objects and dependencies in a subdirectory because
 3912:   # it helps to detect inapplicable dependency modes.  For instance
 3913:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3914:   # side effect of compilation, but ICC will put the dependencies in
 3915:   # the current directory while Tru64 will put them in the object
 3916:   # directory.
 3917:   mkdir sub
 3918: 
 3919:   am_cv_CC_dependencies_compiler_type=none
 3920:   if test "$am_compiler_list" = ""; then
 3921:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3922:   fi
 3923:   am__universal=false
 3924:   case " $depcc " in #(
 3925:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3926:      esac
 3927: 
 3928:   for depmode in $am_compiler_list; do
 3929:     # Setup a source with many dependencies, because some compilers
 3930:     # like to wrap large dependency lists on column 80 (with \), and
 3931:     # we should not choose a depcomp mode which is confused by this.
 3932:     #
 3933:     # We need to recreate these files for each test, as the compiler may
 3934:     # overwrite some of them when testing with obscure command lines.
 3935:     # This happens at least with the AIX C compiler.
 3936:     : > sub/conftest.c
 3937:     for i in 1 2 3 4 5 6; do
 3938:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3939:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3940:       # Solaris 8's {/usr,}/bin/sh.
 3941:       touch sub/conftst$i.h
 3942:     done
 3943:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3944: 
 3945:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3946:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3947:     # handle `-M -o', and we need to detect this.  Also, some Intel
 3948:     # versions had trouble with output in subdirs
 3949:     am__obj=sub/conftest.${OBJEXT-o}
 3950:     am__minus_obj="-o $am__obj"
 3951:     case $depmode in
 3952:     gcc)
 3953:       # This depmode causes a compiler race in universal mode.
 3954:       test "$am__universal" = false || continue
 3955:       ;;
 3956:     nosideeffect)
 3957:       # after this tag, mechanisms are not by side-effect, so they'll
 3958:       # only be used when explicitly requested
 3959:       if test "x$enable_dependency_tracking" = xyes; then
 3960:     continue
 3961:       else
 3962:     break
 3963:       fi
 3964:       ;;
 3965:     msvisualcpp | msvcmsys)
 3966:       # This compiler won't grok `-c -o', but also, the minuso test has
 3967:       # not run yet.  These depmodes are late enough in the game, and
 3968:       # so weak that their functioning should not be impacted.
 3969:       am__obj=conftest.${OBJEXT-o}
 3970:       am__minus_obj=
 3971:       ;;
 3972:     none) break ;;
 3973:     esac
 3974:     if depmode=$depmode \
 3975:        source=sub/conftest.c object=$am__obj \
 3976:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3977:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3978:          >/dev/null 2>conftest.err &&
 3979:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3980:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3981:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3982:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3983:       # icc doesn't choke on unknown options, it will just issue warnings
 3984:       # or remarks (even with -Werror).  So we grep stderr for any message
 3985:       # that says an option was ignored or not supported.
 3986:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3987:       #   icc: Command line warning: ignoring option '-M'; no argument required
 3988:       # The diagnosis changed in icc 8.0:
 3989:       #   icc: Command line remark: option '-MP' not supported
 3990:       if (grep 'ignoring option' conftest.err ||
 3991:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3992:         am_cv_CC_dependencies_compiler_type=$depmode
 3993:         break
 3994:       fi
 3995:     fi
 3996:   done
 3997: 
 3998:   cd ..
 3999:   rm -rf conftest.dir
 4000: else
 4001:   am_cv_CC_dependencies_compiler_type=none
 4002: fi
 4003: 
 4004: fi
 4005: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4006: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4007: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4008: 
 4009:  if
 4010:   test "x$enable_dependency_tracking" != xno \
 4011:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4012:   am__fastdepCC_TRUE=
 4013:   am__fastdepCC_FALSE='#'
 4014: else
 4015:   am__fastdepCC_TRUE='#'
 4016:   am__fastdepCC_FALSE=
 4017: fi
 4018: 
 4019: 
 4020: 
 4021: EXT_SQL=
 4022: 
 4023: if test x"$CC" != x""; then
 4024:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4025:             awk -F. '{ printf("%s", $1);}'`
 4026:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4027:             awk -F. '{ printf("%s", $2);}'`
 4028:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4029:         OPTIMISATION_C=-O3
 4030:     else
 4031:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
 4032:                 then
 4033:             OPTIMISATION_C=-O3
 4034:         else
 4035:             if test $GCC_VERSION_MAJEURE -ge 2; then
 4036:                 OPTIMISATION_C=-O2
 4037:             else
 4038:                 as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
 4039:             fi
 4040:         fi
 4041:     fi
 4042: fi
 4043: 
 4044: if test "x$CC" != xcc; then
 4045:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4046: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4047: else
 4048:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4049: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4050: fi
 4051: set dummy $CC; ac_cc=`$as_echo "$2" |
 4052:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4053: if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 4054:   $as_echo_n "(cached) " >&6
 4055: else
 4056:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4057: /* end confdefs.h.  */
 4058: 
 4059: int
 4060: main ()
 4061: {
 4062: 
 4063:   ;
 4064:   return 0;
 4065: }
 4066: _ACEOF
 4067: # Make sure it works both with $CC and with simple cc.
 4068: # We do the test twice because some compilers refuse to overwrite an
 4069: # existing .o file with -o, though they will create one.
 4070: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4071: rm -f conftest2.*
 4072: if { { case "(($ac_try" in
 4073:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4074:   *) ac_try_echo=$ac_try;;
 4075: esac
 4076: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4077: $as_echo "$ac_try_echo"; } >&5
 4078:   (eval "$ac_try") 2>&5
 4079:   ac_status=$?
 4080:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4081:   test $ac_status = 0; } &&
 4082:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4083:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4084:   *) ac_try_echo=$ac_try;;
 4085: esac
 4086: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4087: $as_echo "$ac_try_echo"; } >&5
 4088:   (eval "$ac_try") 2>&5
 4089:   ac_status=$?
 4090:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4091:   test $ac_status = 0; };
 4092: then
 4093:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4094:   if test "x$CC" != xcc; then
 4095:     # Test first that cc exists at all.
 4096:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4097:   { { case "(($ac_try" in
 4098:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4099:   *) ac_try_echo=$ac_try;;
 4100: esac
 4101: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4102: $as_echo "$ac_try_echo"; } >&5
 4103:   (eval "$ac_try") 2>&5
 4104:   ac_status=$?
 4105:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4106:   test $ac_status = 0; }; }; then
 4107:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4108:       rm -f conftest2.*
 4109:       if { { case "(($ac_try" in
 4110:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4111:   *) ac_try_echo=$ac_try;;
 4112: esac
 4113: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4114: $as_echo "$ac_try_echo"; } >&5
 4115:   (eval "$ac_try") 2>&5
 4116:   ac_status=$?
 4117:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4118:   test $ac_status = 0; } &&
 4119:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4120:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4121:   *) ac_try_echo=$ac_try;;
 4122: esac
 4123: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4124: $as_echo "$ac_try_echo"; } >&5
 4125:   (eval "$ac_try") 2>&5
 4126:   ac_status=$?
 4127:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4128:   test $ac_status = 0; };
 4129:       then
 4130:     # cc works too.
 4131:     :
 4132:       else
 4133:     # cc exists but doesn't like -o.
 4134:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4135:       fi
 4136:     fi
 4137:   fi
 4138: else
 4139:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4140: fi
 4141: rm -f core conftest*
 4142: 
 4143: fi
 4144: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4146: $as_echo "yes" >&6; }
 4147: else
 4148:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4149: $as_echo "no" >&6; }
 4150: 
 4151: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4152: 
 4153: fi
 4154: 
 4155: # FIXME: we rely on the cache variable name because
 4156: # there is no other way.
 4157: set dummy $CC
 4158: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4159: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4160: if test "$am_t" != yes; then
 4161:    # Losing compiler, so override with the script.
 4162:    # FIXME: It is wrong to rewrite CC.
 4163:    # But if we don't then we get into trouble of one sort or another.
 4164:    # A longer-term fix would be to have automake use am__CC in this case,
 4165:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4166:    CC="$am_aux_dir/compile $CC"
 4167: fi
 4168: 
 4169: 
 4170: 
 4171: if test "$GCC" != yes; then
 4172:     as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
 4173: fi
 4174: 
 4175: ac_ext=cpp
 4176: ac_cpp='$CXXCPP $CPPFLAGS'
 4177: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4178: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4179: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4180: if test -z "$CXX"; then
 4181:   if test -n "$CCC"; then
 4182:     CXX=$CCC
 4183:   else
 4184:     if test -n "$ac_tool_prefix"; then
 4185:   for ac_prog in g++
 4186:   do
 4187:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4188: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4190: $as_echo_n "checking for $ac_word... " >&6; }
 4191: if test "${ac_cv_prog_CXX+set}" = set; then :
 4192:   $as_echo_n "(cached) " >&6
 4193: else
 4194:   if test -n "$CXX"; then
 4195:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4196: else
 4197: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4198: for as_dir in $PATH
 4199: do
 4200:   IFS=$as_save_IFS
 4201:   test -z "$as_dir" && as_dir=.
 4202:     for ac_exec_ext in '' $ac_executable_extensions; do
 4203:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4204:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4205:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4206:     break 2
 4207:   fi
 4208: done
 4209:   done
 4210: IFS=$as_save_IFS
 4211: 
 4212: fi
 4213: fi
 4214: CXX=$ac_cv_prog_CXX
 4215: if test -n "$CXX"; then
 4216:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4217: $as_echo "$CXX" >&6; }
 4218: else
 4219:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4220: $as_echo "no" >&6; }
 4221: fi
 4222: 
 4223: 
 4224:     test -n "$CXX" && break
 4225:   done
 4226: fi
 4227: if test -z "$CXX"; then
 4228:   ac_ct_CXX=$CXX
 4229:   for ac_prog in g++
 4230: do
 4231:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4232: set dummy $ac_prog; ac_word=$2
 4233: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4234: $as_echo_n "checking for $ac_word... " >&6; }
 4235: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 4236:   $as_echo_n "(cached) " >&6
 4237: else
 4238:   if test -n "$ac_ct_CXX"; then
 4239:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4240: else
 4241: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4242: for as_dir in $PATH
 4243: do
 4244:   IFS=$as_save_IFS
 4245:   test -z "$as_dir" && as_dir=.
 4246:     for ac_exec_ext in '' $ac_executable_extensions; do
 4247:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4248:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4249:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4250:     break 2
 4251:   fi
 4252: done
 4253:   done
 4254: IFS=$as_save_IFS
 4255: 
 4256: fi
 4257: fi
 4258: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4259: if test -n "$ac_ct_CXX"; then
 4260:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4261: $as_echo "$ac_ct_CXX" >&6; }
 4262: else
 4263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4264: $as_echo "no" >&6; }
 4265: fi
 4266: 
 4267: 
 4268:   test -n "$ac_ct_CXX" && break
 4269: done
 4270: 
 4271:   if test "x$ac_ct_CXX" = x; then
 4272:     CXX="g++"
 4273:   else
 4274:     case $cross_compiling:$ac_tool_warned in
 4275: yes:)
 4276: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4277: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4278: ac_tool_warned=yes ;;
 4279: esac
 4280:     CXX=$ac_ct_CXX
 4281:   fi
 4282: fi
 4283: 
 4284:   fi
 4285: fi
 4286: # Provide some information about the compiler.
 4287: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4288: set X $ac_compile
 4289: ac_compiler=$2
 4290: for ac_option in --version -v -V -qversion; do
 4291:   { { ac_try="$ac_compiler $ac_option >&5"
 4292: case "(($ac_try" in
 4293:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4294:   *) ac_try_echo=$ac_try;;
 4295: esac
 4296: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4297: $as_echo "$ac_try_echo"; } >&5
 4298:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4299:   ac_status=$?
 4300:   if test -s conftest.err; then
 4301:     sed '10a\
 4302: ... rest of stderr output deleted ...
 4303:          10q' conftest.err >conftest.er1
 4304:     cat conftest.er1 >&5
 4305:   fi
 4306:   rm -f conftest.er1 conftest.err
 4307:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4308:   test $ac_status = 0; }
 4309: done
 4310: 
 4311: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4312: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4313: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 4314:   $as_echo_n "(cached) " >&6
 4315: else
 4316:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4317: /* end confdefs.h.  */
 4318: 
 4319: int
 4320: main ()
 4321: {
 4322: #ifndef __GNUC__
 4323:        choke me
 4324: #endif
 4325: 
 4326:   ;
 4327:   return 0;
 4328: }
 4329: _ACEOF
 4330: if ac_fn_cxx_try_compile "$LINENO"; then :
 4331:   ac_compiler_gnu=yes
 4332: else
 4333:   ac_compiler_gnu=no
 4334: fi
 4335: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4336: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4337: 
 4338: fi
 4339: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4340: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4341: if test $ac_compiler_gnu = yes; then
 4342:   GXX=yes
 4343: else
 4344:   GXX=
 4345: fi
 4346: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4347: ac_save_CXXFLAGS=$CXXFLAGS
 4348: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4349: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4350: if test "${ac_cv_prog_cxx_g+set}" = set; then :
 4351:   $as_echo_n "(cached) " >&6
 4352: else
 4353:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4354:    ac_cxx_werror_flag=yes
 4355:    ac_cv_prog_cxx_g=no
 4356:    CXXFLAGS="-g"
 4357:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4358: /* end confdefs.h.  */
 4359: 
 4360: int
 4361: main ()
 4362: {
 4363: 
 4364:   ;
 4365:   return 0;
 4366: }
 4367: _ACEOF
 4368: if ac_fn_cxx_try_compile "$LINENO"; then :
 4369:   ac_cv_prog_cxx_g=yes
 4370: else
 4371:   CXXFLAGS=""
 4372:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4373: /* end confdefs.h.  */
 4374: 
 4375: int
 4376: main ()
 4377: {
 4378: 
 4379:   ;
 4380:   return 0;
 4381: }
 4382: _ACEOF
 4383: if ac_fn_cxx_try_compile "$LINENO"; then :
 4384: 
 4385: else
 4386:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4387:      CXXFLAGS="-g"
 4388:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4389: /* end confdefs.h.  */
 4390: 
 4391: int
 4392: main ()
 4393: {
 4394: 
 4395:   ;
 4396:   return 0;
 4397: }
 4398: _ACEOF
 4399: if ac_fn_cxx_try_compile "$LINENO"; then :
 4400:   ac_cv_prog_cxx_g=yes
 4401: fi
 4402: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4403: fi
 4404: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4405: fi
 4406: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4407:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4408: fi
 4409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4410: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4411: if test "$ac_test_CXXFLAGS" = set; then
 4412:   CXXFLAGS=$ac_save_CXXFLAGS
 4413: elif test $ac_cv_prog_cxx_g = yes; then
 4414:   if test "$GXX" = yes; then
 4415:     CXXFLAGS="-g -O2"
 4416:   else
 4417:     CXXFLAGS="-g"
 4418:   fi
 4419: else
 4420:   if test "$GXX" = yes; then
 4421:     CXXFLAGS="-O2"
 4422:   else
 4423:     CXXFLAGS=
 4424:   fi
 4425: fi
 4426: ac_ext=c
 4427: ac_cpp='$CPP $CPPFLAGS'
 4428: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4429: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4430: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4431: 
 4432: depcc="$CXX"  am_compiler_list=
 4433: 
 4434: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4435: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4436: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 4437:   $as_echo_n "(cached) " >&6
 4438: else
 4439:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4440:   # We make a subdir and do the tests there.  Otherwise we can end up
 4441:   # making bogus files that we don't know about and never remove.  For
 4442:   # instance it was reported that on HP-UX the gcc test will end up
 4443:   # making a dummy file named `D' -- because `-MD' means `put the output
 4444:   # in D'.
 4445:   mkdir conftest.dir
 4446:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4447:   # using a relative directory.
 4448:   cp "$am_depcomp" conftest.dir
 4449:   cd conftest.dir
 4450:   # We will build objects and dependencies in a subdirectory because
 4451:   # it helps to detect inapplicable dependency modes.  For instance
 4452:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4453:   # side effect of compilation, but ICC will put the dependencies in
 4454:   # the current directory while Tru64 will put them in the object
 4455:   # directory.
 4456:   mkdir sub
 4457: 
 4458:   am_cv_CXX_dependencies_compiler_type=none
 4459:   if test "$am_compiler_list" = ""; then
 4460:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4461:   fi
 4462:   am__universal=false
 4463:   case " $depcc " in #(
 4464:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4465:      esac
 4466: 
 4467:   for depmode in $am_compiler_list; do
 4468:     # Setup a source with many dependencies, because some compilers
 4469:     # like to wrap large dependency lists on column 80 (with \), and
 4470:     # we should not choose a depcomp mode which is confused by this.
 4471:     #
 4472:     # We need to recreate these files for each test, as the compiler may
 4473:     # overwrite some of them when testing with obscure command lines.
 4474:     # This happens at least with the AIX C compiler.
 4475:     : > sub/conftest.c
 4476:     for i in 1 2 3 4 5 6; do
 4477:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4478:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4479:       # Solaris 8's {/usr,}/bin/sh.
 4480:       touch sub/conftst$i.h
 4481:     done
 4482:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4483: 
 4484:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4485:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4486:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4487:     # versions had trouble with output in subdirs
 4488:     am__obj=sub/conftest.${OBJEXT-o}
 4489:     am__minus_obj="-o $am__obj"
 4490:     case $depmode in
 4491:     gcc)
 4492:       # This depmode causes a compiler race in universal mode.
 4493:       test "$am__universal" = false || continue
 4494:       ;;
 4495:     nosideeffect)
 4496:       # after this tag, mechanisms are not by side-effect, so they'll
 4497:       # only be used when explicitly requested
 4498:       if test "x$enable_dependency_tracking" = xyes; then
 4499:     continue
 4500:       else
 4501:     break
 4502:       fi
 4503:       ;;
 4504:     msvisualcpp | msvcmsys)
 4505:       # This compiler won't grok `-c -o', but also, the minuso test has
 4506:       # not run yet.  These depmodes are late enough in the game, and
 4507:       # so weak that their functioning should not be impacted.
 4508:       am__obj=conftest.${OBJEXT-o}
 4509:       am__minus_obj=
 4510:       ;;
 4511:     none) break ;;
 4512:     esac
 4513:     if depmode=$depmode \
 4514:        source=sub/conftest.c object=$am__obj \
 4515:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4516:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4517:          >/dev/null 2>conftest.err &&
 4518:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4519:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4520:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4521:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4522:       # icc doesn't choke on unknown options, it will just issue warnings
 4523:       # or remarks (even with -Werror).  So we grep stderr for any message
 4524:       # that says an option was ignored or not supported.
 4525:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4526:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4527:       # The diagnosis changed in icc 8.0:
 4528:       #   icc: Command line remark: option '-MP' not supported
 4529:       if (grep 'ignoring option' conftest.err ||
 4530:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4531:         am_cv_CXX_dependencies_compiler_type=$depmode
 4532:         break
 4533:       fi
 4534:     fi
 4535:   done
 4536: 
 4537:   cd ..
 4538:   rm -rf conftest.dir
 4539: else
 4540:   am_cv_CXX_dependencies_compiler_type=none
 4541: fi
 4542: 
 4543: fi
 4544: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4545: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4546: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4547: 
 4548:  if
 4549:   test "x$enable_dependency_tracking" != xno \
 4550:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4551:   am__fastdepCXX_TRUE=
 4552:   am__fastdepCXX_FALSE='#'
 4553: else
 4554:   am__fastdepCXX_TRUE='#'
 4555:   am__fastdepCXX_FALSE=
 4556: fi
 4557: 
 4558: 
 4559: 
 4560: if test "$GXX" != yes; then
 4561:     as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
 4562: fi
 4563: 
 4564: ac_ext=f
 4565: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4566: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4567: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4568: if test -n "$ac_tool_prefix"; then
 4569:   for ac_prog in gfortran
 4570:   do
 4571:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4572: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4574: $as_echo_n "checking for $ac_word... " >&6; }
 4575: if test "${ac_cv_prog_F77+set}" = set; then :
 4576:   $as_echo_n "(cached) " >&6
 4577: else
 4578:   if test -n "$F77"; then
 4579:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4580: else
 4581: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4582: for as_dir in $PATH
 4583: do
 4584:   IFS=$as_save_IFS
 4585:   test -z "$as_dir" && as_dir=.
 4586:     for ac_exec_ext in '' $ac_executable_extensions; do
 4587:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4588:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4589:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4590:     break 2
 4591:   fi
 4592: done
 4593:   done
 4594: IFS=$as_save_IFS
 4595: 
 4596: fi
 4597: fi
 4598: F77=$ac_cv_prog_F77
 4599: if test -n "$F77"; then
 4600:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4601: $as_echo "$F77" >&6; }
 4602: else
 4603:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4604: $as_echo "no" >&6; }
 4605: fi
 4606: 
 4607: 
 4608:     test -n "$F77" && break
 4609:   done
 4610: fi
 4611: if test -z "$F77"; then
 4612:   ac_ct_F77=$F77
 4613:   for ac_prog in gfortran
 4614: do
 4615:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4616: set dummy $ac_prog; ac_word=$2
 4617: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4618: $as_echo_n "checking for $ac_word... " >&6; }
 4619: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
 4620:   $as_echo_n "(cached) " >&6
 4621: else
 4622:   if test -n "$ac_ct_F77"; then
 4623:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4624: else
 4625: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4626: for as_dir in $PATH
 4627: do
 4628:   IFS=$as_save_IFS
 4629:   test -z "$as_dir" && as_dir=.
 4630:     for ac_exec_ext in '' $ac_executable_extensions; do
 4631:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4632:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4633:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4634:     break 2
 4635:   fi
 4636: done
 4637:   done
 4638: IFS=$as_save_IFS
 4639: 
 4640: fi
 4641: fi
 4642: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4643: if test -n "$ac_ct_F77"; then
 4644:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4645: $as_echo "$ac_ct_F77" >&6; }
 4646: else
 4647:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4648: $as_echo "no" >&6; }
 4649: fi
 4650: 
 4651: 
 4652:   test -n "$ac_ct_F77" && break
 4653: done
 4654: 
 4655:   if test "x$ac_ct_F77" = x; then
 4656:     F77=""
 4657:   else
 4658:     case $cross_compiling:$ac_tool_warned in
 4659: yes:)
 4660: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4661: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4662: ac_tool_warned=yes ;;
 4663: esac
 4664:     F77=$ac_ct_F77
 4665:   fi
 4666: fi
 4667: 
 4668: 
 4669: # Provide some information about the compiler.
 4670: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4671: set X $ac_compile
 4672: ac_compiler=$2
 4673: for ac_option in --version -v -V -qversion; do
 4674:   { { ac_try="$ac_compiler $ac_option >&5"
 4675: case "(($ac_try" in
 4676:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4677:   *) ac_try_echo=$ac_try;;
 4678: esac
 4679: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4680: $as_echo "$ac_try_echo"; } >&5
 4681:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4682:   ac_status=$?
 4683:   if test -s conftest.err; then
 4684:     sed '10a\
 4685: ... rest of stderr output deleted ...
 4686:          10q' conftest.err >conftest.er1
 4687:     cat conftest.er1 >&5
 4688:   fi
 4689:   rm -f conftest.er1 conftest.err
 4690:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4691:   test $ac_status = 0; }
 4692: done
 4693: rm -f a.out
 4694: 
 4695: # If we don't use `.F' as extension, the preprocessor is not run on the
 4696: # input file.  (Note that this only needs to work for GNU compilers.)
 4697: ac_save_ext=$ac_ext
 4698: ac_ext=F
 4699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4700: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4701: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
 4702:   $as_echo_n "(cached) " >&6
 4703: else
 4704:   cat > conftest.$ac_ext <<_ACEOF
 4705:       program main
 4706: #ifndef __GNUC__
 4707:        choke me
 4708: #endif
 4709: 
 4710:       end
 4711: _ACEOF
 4712: if ac_fn_f77_try_compile "$LINENO"; then :
 4713:   ac_compiler_gnu=yes
 4714: else
 4715:   ac_compiler_gnu=no
 4716: fi
 4717: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4718: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4719: 
 4720: fi
 4721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4722: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4723: ac_ext=$ac_save_ext
 4724: ac_test_FFLAGS=${FFLAGS+set}
 4725: ac_save_FFLAGS=$FFLAGS
 4726: FFLAGS=
 4727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4728: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4729: if test "${ac_cv_prog_f77_g+set}" = set; then :
 4730:   $as_echo_n "(cached) " >&6
 4731: else
 4732:   FFLAGS=-g
 4733: cat > conftest.$ac_ext <<_ACEOF
 4734:       program main
 4735: 
 4736:       end
 4737: _ACEOF
 4738: if ac_fn_f77_try_compile "$LINENO"; then :
 4739:   ac_cv_prog_f77_g=yes
 4740: else
 4741:   ac_cv_prog_f77_g=no
 4742: fi
 4743: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4744: 
 4745: fi
 4746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4747: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4748: if test "$ac_test_FFLAGS" = set; then
 4749:   FFLAGS=$ac_save_FFLAGS
 4750: elif test $ac_cv_prog_f77_g = yes; then
 4751:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4752:     FFLAGS="-g -O2"
 4753:   else
 4754:     FFLAGS="-g"
 4755:   fi
 4756: else
 4757:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4758:     FFLAGS="-O2"
 4759:   else
 4760:     FFLAGS=
 4761:   fi
 4762: fi
 4763: 
 4764: if test $ac_compiler_gnu = yes; then
 4765:   G77=yes
 4766: else
 4767:   G77=
 4768: fi
 4769: ac_ext=c
 4770: ac_cpp='$CPP $CPPFLAGS'
 4771: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4772: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4773: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4774: 
 4775: 
 4776: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
 4777:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 4778: fi
 4779: 
 4780: ac_ext=${ac_fc_srcext-f}
 4781: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4782: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4783: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4784: if test -n "$ac_tool_prefix"; then
 4785:   for ac_prog in gfortran
 4786:   do
 4787:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4788: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4789: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4790: $as_echo_n "checking for $ac_word... " >&6; }
 4791: if test "${ac_cv_prog_FC+set}" = set; then :
 4792:   $as_echo_n "(cached) " >&6
 4793: else
 4794:   if test -n "$FC"; then
 4795:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4796: else
 4797: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4798: for as_dir in $PATH
 4799: do
 4800:   IFS=$as_save_IFS
 4801:   test -z "$as_dir" && as_dir=.
 4802:     for ac_exec_ext in '' $ac_executable_extensions; do
 4803:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4804:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4805:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4806:     break 2
 4807:   fi
 4808: done
 4809:   done
 4810: IFS=$as_save_IFS
 4811: 
 4812: fi
 4813: fi
 4814: FC=$ac_cv_prog_FC
 4815: if test -n "$FC"; then
 4816:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4817: $as_echo "$FC" >&6; }
 4818: else
 4819:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4820: $as_echo "no" >&6; }
 4821: fi
 4822: 
 4823: 
 4824:     test -n "$FC" && break
 4825:   done
 4826: fi
 4827: if test -z "$FC"; then
 4828:   ac_ct_FC=$FC
 4829:   for ac_prog in gfortran
 4830: do
 4831:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4832: set dummy $ac_prog; ac_word=$2
 4833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4834: $as_echo_n "checking for $ac_word... " >&6; }
 4835: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
 4836:   $as_echo_n "(cached) " >&6
 4837: else
 4838:   if test -n "$ac_ct_FC"; then
 4839:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4840: else
 4841: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4842: for as_dir in $PATH
 4843: do
 4844:   IFS=$as_save_IFS
 4845:   test -z "$as_dir" && as_dir=.
 4846:     for ac_exec_ext in '' $ac_executable_extensions; do
 4847:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4848:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4849:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4850:     break 2
 4851:   fi
 4852: done
 4853:   done
 4854: IFS=$as_save_IFS
 4855: 
 4856: fi
 4857: fi
 4858: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4859: if test -n "$ac_ct_FC"; then
 4860:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4861: $as_echo "$ac_ct_FC" >&6; }
 4862: else
 4863:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4864: $as_echo "no" >&6; }
 4865: fi
 4866: 
 4867: 
 4868:   test -n "$ac_ct_FC" && break
 4869: done
 4870: 
 4871:   if test "x$ac_ct_FC" = x; then
 4872:     FC=""
 4873:   else
 4874:     case $cross_compiling:$ac_tool_warned in
 4875: yes:)
 4876: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4877: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4878: ac_tool_warned=yes ;;
 4879: esac
 4880:     FC=$ac_ct_FC
 4881:   fi
 4882: fi
 4883: 
 4884: 
 4885: # Provide some information about the compiler.
 4886: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4887: set X $ac_compile
 4888: ac_compiler=$2
 4889: for ac_option in --version -v -V -qversion; do
 4890:   { { ac_try="$ac_compiler $ac_option >&5"
 4891: case "(($ac_try" in
 4892:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4893:   *) ac_try_echo=$ac_try;;
 4894: esac
 4895: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4896: $as_echo "$ac_try_echo"; } >&5
 4897:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4898:   ac_status=$?
 4899:   if test -s conftest.err; then
 4900:     sed '10a\
 4901: ... rest of stderr output deleted ...
 4902:          10q' conftest.err >conftest.er1
 4903:     cat conftest.er1 >&5
 4904:   fi
 4905:   rm -f conftest.er1 conftest.err
 4906:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4907:   test $ac_status = 0; }
 4908: done
 4909: rm -f a.out
 4910: 
 4911: # If we don't use `.F' as extension, the preprocessor is not run on the
 4912: # input file.  (Note that this only needs to work for GNU compilers.)
 4913: ac_save_ext=$ac_ext
 4914: ac_ext=F
 4915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 4916: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 4917: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
 4918:   $as_echo_n "(cached) " >&6
 4919: else
 4920:   cat > conftest.$ac_ext <<_ACEOF
 4921:       program main
 4922: #ifndef __GNUC__
 4923:        choke me
 4924: #endif
 4925: 
 4926:       end
 4927: _ACEOF
 4928: if ac_fn_fc_try_compile "$LINENO"; then :
 4929:   ac_compiler_gnu=yes
 4930: else
 4931:   ac_compiler_gnu=no
 4932: fi
 4933: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4934: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 4935: 
 4936: fi
 4937: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 4938: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 4939: ac_ext=$ac_save_ext
 4940: ac_test_FCFLAGS=${FCFLAGS+set}
 4941: ac_save_FCFLAGS=$FCFLAGS
 4942: FCFLAGS=
 4943: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 4944: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 4945: if test "${ac_cv_prog_fc_g+set}" = set; then :
 4946:   $as_echo_n "(cached) " >&6
 4947: else
 4948:   FCFLAGS=-g
 4949: cat > conftest.$ac_ext <<_ACEOF
 4950:       program main
 4951: 
 4952:       end
 4953: _ACEOF
 4954: if ac_fn_fc_try_compile "$LINENO"; then :
 4955:   ac_cv_prog_fc_g=yes
 4956: else
 4957:   ac_cv_prog_fc_g=no
 4958: fi
 4959: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4960: 
 4961: fi
 4962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 4963: $as_echo "$ac_cv_prog_fc_g" >&6; }
 4964: if test "$ac_test_FCFLAGS" = set; then
 4965:   FCFLAGS=$ac_save_FCFLAGS
 4966: elif test $ac_cv_prog_fc_g = yes; then
 4967:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4968:     FCFLAGS="-g -O2"
 4969:   else
 4970:     FCFLAGS="-g"
 4971:   fi
 4972: else
 4973:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4974:     FCFLAGS="-O2"
 4975:   else
 4976:     FCFLAGS=
 4977:   fi
 4978: fi
 4979: 
 4980: ac_ext=c
 4981: ac_cpp='$CPP $CPPFLAGS'
 4982: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4983: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4984: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4985: 
 4986: 
 4987: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
 4988:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 4989: fi
 4990: 
 4991: if test x"$FC" != x""; then
 4992:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4993:             awk -F. '{ printf("%s", $1);}'`
 4994:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4995:             awk -F. '{ printf("%s", $2);}'`
 4996:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4997:         OPTIMISATION_F=-O3
 4998:     else
 4999:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 5000:             OPTIMISATION_F=-O3
 5001:         else
 5002:             if test $GCC_VERSION_MAJEURE -ge 3; then
 5003:                 OPTIMISATION_F=-O2
 5004:             else
 5005:                 as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
 5006:             fi
 5007:         fi
 5008:     fi
 5009: fi
 5010: 
 5011: 
 5012: ac_ext=c
 5013: ac_cpp='$CPP $CPPFLAGS'
 5014: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5015: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5016: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5018: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5019: # On Suns, sometimes $CPP names a directory.
 5020: if test -n "$CPP" && test -d "$CPP"; then
 5021:   CPP=
 5022: fi
 5023: if test -z "$CPP"; then
 5024:   if test "${ac_cv_prog_CPP+set}" = set; then :
 5025:   $as_echo_n "(cached) " >&6
 5026: else
 5027:       # Double quotes because CPP needs to be expanded
 5028:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5029:     do
 5030:       ac_preproc_ok=false
 5031: for ac_c_preproc_warn_flag in '' yes
 5032: do
 5033:   # Use a header file that comes with gcc, so configuring glibc
 5034:   # with a fresh cross-compiler works.
 5035:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5036:   # <limits.h> exists even on freestanding compilers.
 5037:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5038:   # not just through cpp. "Syntax error" is here to catch this case.
 5039:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5040: /* end confdefs.h.  */
 5041: #ifdef __STDC__
 5042: # include <limits.h>
 5043: #else
 5044: # include <assert.h>
 5045: #endif
 5046:              Syntax error
 5047: _ACEOF
 5048: if ac_fn_c_try_cpp "$LINENO"; then :
 5049: 
 5050: else
 5051:   # Broken: fails on valid input.
 5052: continue
 5053: fi
 5054: rm -f conftest.err conftest.i conftest.$ac_ext
 5055: 
 5056:   # OK, works on sane cases.  Now check whether nonexistent headers
 5057:   # can be detected and how.
 5058:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5059: /* end confdefs.h.  */
 5060: #include <ac_nonexistent.h>
 5061: _ACEOF
 5062: if ac_fn_c_try_cpp "$LINENO"; then :
 5063:   # Broken: success on invalid input.
 5064: continue
 5065: else
 5066:   # Passes both tests.
 5067: ac_preproc_ok=:
 5068: break
 5069: fi
 5070: rm -f conftest.err conftest.i conftest.$ac_ext
 5071: 
 5072: done
 5073: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5074: rm -f conftest.i conftest.err conftest.$ac_ext
 5075: if $ac_preproc_ok; then :
 5076:   break
 5077: fi
 5078: 
 5079:     done
 5080:     ac_cv_prog_CPP=$CPP
 5081: 
 5082: fi
 5083:   CPP=$ac_cv_prog_CPP
 5084: else
 5085:   ac_cv_prog_CPP=$CPP
 5086: fi
 5087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5088: $as_echo "$CPP" >&6; }
 5089: ac_preproc_ok=false
 5090: for ac_c_preproc_warn_flag in '' yes
 5091: do
 5092:   # Use a header file that comes with gcc, so configuring glibc
 5093:   # with a fresh cross-compiler works.
 5094:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5095:   # <limits.h> exists even on freestanding compilers.
 5096:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5097:   # not just through cpp. "Syntax error" is here to catch this case.
 5098:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5099: /* end confdefs.h.  */
 5100: #ifdef __STDC__
 5101: # include <limits.h>
 5102: #else
 5103: # include <assert.h>
 5104: #endif
 5105:              Syntax error
 5106: _ACEOF
 5107: if ac_fn_c_try_cpp "$LINENO"; then :
 5108: 
 5109: else
 5110:   # Broken: fails on valid input.
 5111: continue
 5112: fi
 5113: rm -f conftest.err conftest.i conftest.$ac_ext
 5114: 
 5115:   # OK, works on sane cases.  Now check whether nonexistent headers
 5116:   # can be detected and how.
 5117:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5118: /* end confdefs.h.  */
 5119: #include <ac_nonexistent.h>
 5120: _ACEOF
 5121: if ac_fn_c_try_cpp "$LINENO"; then :
 5122:   # Broken: success on invalid input.
 5123: continue
 5124: else
 5125:   # Passes both tests.
 5126: ac_preproc_ok=:
 5127: break
 5128: fi
 5129: rm -f conftest.err conftest.i conftest.$ac_ext
 5130: 
 5131: done
 5132: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5133: rm -f conftest.i conftest.err conftest.$ac_ext
 5134: if $ac_preproc_ok; then :
 5135: 
 5136: else
 5137:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5138: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5139: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5140: See \`config.log' for more details" "$LINENO" 5 ; }
 5141: fi
 5142: 
 5143: ac_ext=c
 5144: ac_cpp='$CPP $CPPFLAGS'
 5145: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5146: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5147: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5148: 
 5149: 
 5150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5151: $as_echo_n "checking for X... " >&6; }
 5152: 
 5153: 
 5154: # Check whether --with-x was given.
 5155: if test "${with_x+set}" = set; then :
 5156:   withval=$with_x;
 5157: fi
 5158: 
 5159: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5160: if test "x$with_x" = xno; then
 5161:   # The user explicitly disabled X.
 5162:   have_x=disabled
 5163: else
 5164:   case $x_includes,$x_libraries in #(
 5165:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
 5166:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 5167:   $as_echo_n "(cached) " >&6
 5168: else
 5169:   # One or both of the vars are not set, and there is no cached value.
 5170: ac_x_includes=no ac_x_libraries=no
 5171: rm -f -r conftest.dir
 5172: if mkdir conftest.dir; then
 5173:   cd conftest.dir
 5174:   cat >Imakefile <<'_ACEOF'
 5175: incroot:
 5176:     @echo incroot='${INCROOT}'
 5177: usrlibdir:
 5178:     @echo usrlibdir='${USRLIBDIR}'
 5179: libdir:
 5180:     @echo libdir='${LIBDIR}'
 5181: _ACEOF
 5182:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5183:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 5184:     for ac_var in incroot usrlibdir libdir; do
 5185:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5186:     done
 5187:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5188:     for ac_extension in a so sl dylib la dll; do
 5189:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5190:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5191:     ac_im_usrlibdir=$ac_im_libdir; break
 5192:       fi
 5193:     done
 5194:     # Screen out bogus values from the imake configuration.  They are
 5195:     # bogus both because they are the default anyway, and because
 5196:     # using them would break gcc on systems where it needs fixed includes.
 5197:     case $ac_im_incroot in
 5198:     /usr/include) ac_x_includes= ;;
 5199:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5200:     esac
 5201:     case $ac_im_usrlibdir in
 5202:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5203:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5204:     esac
 5205:   fi
 5206:   cd ..
 5207:   rm -f -r conftest.dir
 5208: fi
 5209: 
 5210: # Standard set of common directories for X headers.
 5211: # Check X11 before X11Rn because it is often a symlink to the current release.
 5212: ac_x_header_dirs='
 5213: /usr/X11/include
 5214: /usr/X11R7/include
 5215: /usr/X11R6/include
 5216: /usr/X11R5/include
 5217: /usr/X11R4/include
 5218: 
 5219: /usr/include/X11
 5220: /usr/include/X11R7
 5221: /usr/include/X11R6
 5222: /usr/include/X11R5
 5223: /usr/include/X11R4
 5224: 
 5225: /usr/local/X11/include
 5226: /usr/local/X11R7/include
 5227: /usr/local/X11R6/include
 5228: /usr/local/X11R5/include
 5229: /usr/local/X11R4/include
 5230: 
 5231: /usr/local/include/X11
 5232: /usr/local/include/X11R7
 5233: /usr/local/include/X11R6
 5234: /usr/local/include/X11R5
 5235: /usr/local/include/X11R4
 5236: 
 5237: /usr/X386/include
 5238: /usr/x386/include
 5239: /usr/XFree86/include/X11
 5240: 
 5241: /usr/include
 5242: /usr/local/include
 5243: /usr/unsupported/include
 5244: /usr/athena/include
 5245: /usr/local/x11r5/include
 5246: /usr/lpp/Xamples/include
 5247: 
 5248: /usr/openwin/include
 5249: /usr/openwin/share/include'
 5250: 
 5251: if test "$ac_x_includes" = no; then
 5252:   # Guess where to find include files, by looking for Xlib.h.
 5253:   # First, try using that file with no special directory specified.
 5254:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5255: /* end confdefs.h.  */
 5256: #include <X11/Xlib.h>
 5257: _ACEOF
 5258: if ac_fn_c_try_cpp "$LINENO"; then :
 5259:   # We can compile using X headers with no special include directory.
 5260: ac_x_includes=
 5261: else
 5262:   for ac_dir in $ac_x_header_dirs; do
 5263:   if test -r "$ac_dir/X11/Xlib.h"; then
 5264:     ac_x_includes=$ac_dir
 5265:     break
 5266:   fi
 5267: done
 5268: fi
 5269: rm -f conftest.err conftest.i conftest.$ac_ext
 5270: fi # $ac_x_includes = no
 5271: 
 5272: if test "$ac_x_libraries" = no; then
 5273:   # Check for the libraries.
 5274:   # See if we find them without any special options.
 5275:   # Don't add to $LIBS permanently.
 5276:   ac_save_LIBS=$LIBS
 5277:   LIBS="-lX11 $LIBS"
 5278:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5279: /* end confdefs.h.  */
 5280: #include <X11/Xlib.h>
 5281: int
 5282: main ()
 5283: {
 5284: XrmInitialize ()
 5285:   ;
 5286:   return 0;
 5287: }
 5288: _ACEOF
 5289: if ac_fn_c_try_link "$LINENO"; then :
 5290:   LIBS=$ac_save_LIBS
 5291: # We can link X programs with no special library path.
 5292: ac_x_libraries=
 5293: else
 5294:   LIBS=$ac_save_LIBS
 5295: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5296: do
 5297:   # Don't even attempt the hair of trying to link an X program!
 5298:   for ac_extension in a so sl dylib la dll; do
 5299:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5300:       ac_x_libraries=$ac_dir
 5301:       break 2
 5302:     fi
 5303:   done
 5304: done
 5305: fi
 5306: rm -f core conftest.err conftest.$ac_objext \
 5307:     conftest$ac_exeext conftest.$ac_ext
 5308: fi # $ac_x_libraries = no
 5309: 
 5310: case $ac_x_includes,$ac_x_libraries in #(
 5311:   no,* | *,no | *\'*)
 5312:     # Didn't find X, or a directory has "'" in its name.
 5313:     ac_cv_have_x="have_x=no";; #(
 5314:   *)
 5315:     # Record where we found X for the cache.
 5316:     ac_cv_have_x="have_x=yes\
 5317:     ac_x_includes='$ac_x_includes'\
 5318:     ac_x_libraries='$ac_x_libraries'"
 5319: esac
 5320: fi
 5321: ;; #(
 5322:     *) have_x=yes;;
 5323:   esac
 5324:   eval "$ac_cv_have_x"
 5325: fi # $with_x != no
 5326: 
 5327: if test "$have_x" != yes; then
 5328:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5329: $as_echo "$have_x" >&6; }
 5330:   no_x=yes
 5331: else
 5332:   # If each of the values was on the command line, it overrides each guess.
 5333:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5334:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5335:   # Update the cache value to reflect the command line values.
 5336:   ac_cv_have_x="have_x=yes\
 5337:     ac_x_includes='$x_includes'\
 5338:     ac_x_libraries='$x_libraries'"
 5339:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5340: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5341: fi
 5342: 
 5343: if test "$no_x" = yes; then
 5344:   # Not all programs may use this symbol, but it does not hurt to define it.
 5345: 
 5346: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5347: 
 5348:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5349: else
 5350:   if test -n "$x_includes"; then
 5351:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5352:   fi
 5353: 
 5354:   # It would also be nice to do this for all -L options, not just this one.
 5355:   if test -n "$x_libraries"; then
 5356:     X_LIBS="$X_LIBS -L$x_libraries"
 5357:     # For Solaris; some versions of Sun CC require a space after -R and
 5358:     # others require no space.  Words are not sufficient . . . .
 5359:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5360: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5361:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5362:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5363:     ac_c_werror_flag=yes
 5364:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5365: /* end confdefs.h.  */
 5366: 
 5367: int
 5368: main ()
 5369: {
 5370: 
 5371:   ;
 5372:   return 0;
 5373: }
 5374: _ACEOF
 5375: if ac_fn_c_try_link "$LINENO"; then :
 5376:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5377: $as_echo "no" >&6; }
 5378:        X_LIBS="$X_LIBS -R$x_libraries"
 5379: else
 5380:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5381:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5382: /* end confdefs.h.  */
 5383: 
 5384: int
 5385: main ()
 5386: {
 5387: 
 5388:   ;
 5389:   return 0;
 5390: }
 5391: _ACEOF
 5392: if ac_fn_c_try_link "$LINENO"; then :
 5393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5394: $as_echo "yes" >&6; }
 5395:       X_LIBS="$X_LIBS -R $x_libraries"
 5396: else
 5397:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5398: $as_echo "neither works" >&6; }
 5399: fi
 5400: rm -f core conftest.err conftest.$ac_objext \
 5401:     conftest$ac_exeext conftest.$ac_ext
 5402: fi
 5403: rm -f core conftest.err conftest.$ac_objext \
 5404:     conftest$ac_exeext conftest.$ac_ext
 5405:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5406:     LIBS=$ac_xsave_LIBS
 5407:   fi
 5408: 
 5409:   # Check for system-dependent libraries X programs must link with.
 5410:   # Do this before checking for the system-independent R6 libraries
 5411:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5412: 
 5413:   if test "$ISC" = yes; then
 5414:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5415:   else
 5416:     # Martyn Johnson says this is needed for Ultrix, if the X
 5417:     # libraries were built with DECnet support.  And Karl Berry says
 5418:     # the Alpha needs dnet_stub (dnet does not exist).
 5419:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5420:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5421: /* end confdefs.h.  */
 5422: 
 5423: /* Override any GCC internal prototype to avoid an error.
 5424:    Use char because int might match the return type of a GCC
 5425:    builtin and then its argument prototype would still apply.  */
 5426: #ifdef __cplusplus
 5427: extern "C"
 5428: #endif
 5429: char XOpenDisplay ();
 5430: int
 5431: main ()
 5432: {
 5433: return XOpenDisplay ();
 5434:   ;
 5435:   return 0;
 5436: }
 5437: _ACEOF
 5438: if ac_fn_c_try_link "$LINENO"; then :
 5439: 
 5440: else
 5441:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5442: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5443: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 5444:   $as_echo_n "(cached) " >&6
 5445: else
 5446:   ac_check_lib_save_LIBS=$LIBS
 5447: LIBS="-ldnet  $LIBS"
 5448: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5449: /* end confdefs.h.  */
 5450: 
 5451: /* Override any GCC internal prototype to avoid an error.
 5452:    Use char because int might match the return type of a GCC
 5453:    builtin and then its argument prototype would still apply.  */
 5454: #ifdef __cplusplus
 5455: extern "C"
 5456: #endif
 5457: char dnet_ntoa ();
 5458: int
 5459: main ()
 5460: {
 5461: return dnet_ntoa ();
 5462:   ;
 5463:   return 0;
 5464: }
 5465: _ACEOF
 5466: if ac_fn_c_try_link "$LINENO"; then :
 5467:   ac_cv_lib_dnet_dnet_ntoa=yes
 5468: else
 5469:   ac_cv_lib_dnet_dnet_ntoa=no
 5470: fi
 5471: rm -f core conftest.err conftest.$ac_objext \
 5472:     conftest$ac_exeext conftest.$ac_ext
 5473: LIBS=$ac_check_lib_save_LIBS
 5474: fi
 5475: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5476: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5477: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 5478:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5479: fi
 5480: 
 5481:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5482:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5483: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5484: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 5485:   $as_echo_n "(cached) " >&6
 5486: else
 5487:   ac_check_lib_save_LIBS=$LIBS
 5488: LIBS="-ldnet_stub  $LIBS"
 5489: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5490: /* end confdefs.h.  */
 5491: 
 5492: /* Override any GCC internal prototype to avoid an error.
 5493:    Use char because int might match the return type of a GCC
 5494:    builtin and then its argument prototype would still apply.  */
 5495: #ifdef __cplusplus
 5496: extern "C"
 5497: #endif
 5498: char dnet_ntoa ();
 5499: int
 5500: main ()
 5501: {
 5502: return dnet_ntoa ();
 5503:   ;
 5504:   return 0;
 5505: }
 5506: _ACEOF
 5507: if ac_fn_c_try_link "$LINENO"; then :
 5508:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5509: else
 5510:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5511: fi
 5512: rm -f core conftest.err conftest.$ac_objext \
 5513:     conftest$ac_exeext conftest.$ac_ext
 5514: LIBS=$ac_check_lib_save_LIBS
 5515: fi
 5516: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5517: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5518: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 5519:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5520: fi
 5521: 
 5522:     fi
 5523: fi
 5524: rm -f core conftest.err conftest.$ac_objext \
 5525:     conftest$ac_exeext conftest.$ac_ext
 5526:     LIBS="$ac_xsave_LIBS"
 5527: 
 5528:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5529:     # to get the SysV transport functions.
 5530:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5531:     # needs -lnsl.
 5532:     # The nsl library prevents programs from opening the X display
 5533:     # on Irix 5.2, according to T.E. Dickey.
 5534:     # The functions gethostbyname, getservbyname, and inet_addr are
 5535:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5536:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5537: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 5538: 
 5539: fi
 5540: 
 5541:     if test $ac_cv_func_gethostbyname = no; then
 5542:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5543: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5544: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 5545:   $as_echo_n "(cached) " >&6
 5546: else
 5547:   ac_check_lib_save_LIBS=$LIBS
 5548: LIBS="-lnsl  $LIBS"
 5549: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5550: /* end confdefs.h.  */
 5551: 
 5552: /* Override any GCC internal prototype to avoid an error.
 5553:    Use char because int might match the return type of a GCC
 5554:    builtin and then its argument prototype would still apply.  */
 5555: #ifdef __cplusplus
 5556: extern "C"
 5557: #endif
 5558: char gethostbyname ();
 5559: int
 5560: main ()
 5561: {
 5562: return gethostbyname ();
 5563:   ;
 5564:   return 0;
 5565: }
 5566: _ACEOF
 5567: if ac_fn_c_try_link "$LINENO"; then :
 5568:   ac_cv_lib_nsl_gethostbyname=yes
 5569: else
 5570:   ac_cv_lib_nsl_gethostbyname=no
 5571: fi
 5572: rm -f core conftest.err conftest.$ac_objext \
 5573:     conftest$ac_exeext conftest.$ac_ext
 5574: LIBS=$ac_check_lib_save_LIBS
 5575: fi
 5576: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5577: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5578: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 5579:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5580: fi
 5581: 
 5582:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5583:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5584: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5585: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 5586:   $as_echo_n "(cached) " >&6
 5587: else
 5588:   ac_check_lib_save_LIBS=$LIBS
 5589: LIBS="-lbsd  $LIBS"
 5590: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5591: /* end confdefs.h.  */
 5592: 
 5593: /* Override any GCC internal prototype to avoid an error.
 5594:    Use char because int might match the return type of a GCC
 5595:    builtin and then its argument prototype would still apply.  */
 5596: #ifdef __cplusplus
 5597: extern "C"
 5598: #endif
 5599: char gethostbyname ();
 5600: int
 5601: main ()
 5602: {
 5603: return gethostbyname ();
 5604:   ;
 5605:   return 0;
 5606: }
 5607: _ACEOF
 5608: if ac_fn_c_try_link "$LINENO"; then :
 5609:   ac_cv_lib_bsd_gethostbyname=yes
 5610: else
 5611:   ac_cv_lib_bsd_gethostbyname=no
 5612: fi
 5613: rm -f core conftest.err conftest.$ac_objext \
 5614:     conftest$ac_exeext conftest.$ac_ext
 5615: LIBS=$ac_check_lib_save_LIBS
 5616: fi
 5617: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5618: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5619: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 5620:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5621: fi
 5622: 
 5623:       fi
 5624:     fi
 5625: 
 5626:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5627:     # socket/setsockopt and other routines are undefined under SCO ODT
 5628:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5629:     # on later versions), says Simon Leinen: it contains gethostby*
 5630:     # variants that don't use the name server (or something).  -lsocket
 5631:     # must be given before -lnsl if both are needed.  We assume that
 5632:     # if connect needs -lnsl, so does gethostbyname.
 5633:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5634: if test "x$ac_cv_func_connect" = x""yes; then :
 5635: 
 5636: fi
 5637: 
 5638:     if test $ac_cv_func_connect = no; then
 5639:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5640: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5641: if test "${ac_cv_lib_socket_connect+set}" = set; then :
 5642:   $as_echo_n "(cached) " >&6
 5643: else
 5644:   ac_check_lib_save_LIBS=$LIBS
 5645: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5646: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5647: /* end confdefs.h.  */
 5648: 
 5649: /* Override any GCC internal prototype to avoid an error.
 5650:    Use char because int might match the return type of a GCC
 5651:    builtin and then its argument prototype would still apply.  */
 5652: #ifdef __cplusplus
 5653: extern "C"
 5654: #endif
 5655: char connect ();
 5656: int
 5657: main ()
 5658: {
 5659: return connect ();
 5660:   ;
 5661:   return 0;
 5662: }
 5663: _ACEOF
 5664: if ac_fn_c_try_link "$LINENO"; then :
 5665:   ac_cv_lib_socket_connect=yes
 5666: else
 5667:   ac_cv_lib_socket_connect=no
 5668: fi
 5669: rm -f core conftest.err conftest.$ac_objext \
 5670:     conftest$ac_exeext conftest.$ac_ext
 5671: LIBS=$ac_check_lib_save_LIBS
 5672: fi
 5673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5674: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5675: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 5676:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5677: fi
 5678: 
 5679:     fi
 5680: 
 5681:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5682:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5683: if test "x$ac_cv_func_remove" = x""yes; then :
 5684: 
 5685: fi
 5686: 
 5687:     if test $ac_cv_func_remove = no; then
 5688:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5689: $as_echo_n "checking for remove in -lposix... " >&6; }
 5690: if test "${ac_cv_lib_posix_remove+set}" = set; then :
 5691:   $as_echo_n "(cached) " >&6
 5692: else
 5693:   ac_check_lib_save_LIBS=$LIBS
 5694: LIBS="-lposix  $LIBS"
 5695: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5696: /* end confdefs.h.  */
 5697: 
 5698: /* Override any GCC internal prototype to avoid an error.
 5699:    Use char because int might match the return type of a GCC
 5700:    builtin and then its argument prototype would still apply.  */
 5701: #ifdef __cplusplus
 5702: extern "C"
 5703: #endif
 5704: char remove ();
 5705: int
 5706: main ()
 5707: {
 5708: return remove ();
 5709:   ;
 5710:   return 0;
 5711: }
 5712: _ACEOF
 5713: if ac_fn_c_try_link "$LINENO"; then :
 5714:   ac_cv_lib_posix_remove=yes
 5715: else
 5716:   ac_cv_lib_posix_remove=no
 5717: fi
 5718: rm -f core conftest.err conftest.$ac_objext \
 5719:     conftest$ac_exeext conftest.$ac_ext
 5720: LIBS=$ac_check_lib_save_LIBS
 5721: fi
 5722: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5723: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5724: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 5725:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5726: fi
 5727: 
 5728:     fi
 5729: 
 5730:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5731:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5732: if test "x$ac_cv_func_shmat" = x""yes; then :
 5733: 
 5734: fi
 5735: 
 5736:     if test $ac_cv_func_shmat = no; then
 5737:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5738: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5739: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 5740:   $as_echo_n "(cached) " >&6
 5741: else
 5742:   ac_check_lib_save_LIBS=$LIBS
 5743: LIBS="-lipc  $LIBS"
 5744: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5745: /* end confdefs.h.  */
 5746: 
 5747: /* Override any GCC internal prototype to avoid an error.
 5748:    Use char because int might match the return type of a GCC
 5749:    builtin and then its argument prototype would still apply.  */
 5750: #ifdef __cplusplus
 5751: extern "C"
 5752: #endif
 5753: char shmat ();
 5754: int
 5755: main ()
 5756: {
 5757: return shmat ();
 5758:   ;
 5759:   return 0;
 5760: }
 5761: _ACEOF
 5762: if ac_fn_c_try_link "$LINENO"; then :
 5763:   ac_cv_lib_ipc_shmat=yes
 5764: else
 5765:   ac_cv_lib_ipc_shmat=no
 5766: fi
 5767: rm -f core conftest.err conftest.$ac_objext \
 5768:     conftest$ac_exeext conftest.$ac_ext
 5769: LIBS=$ac_check_lib_save_LIBS
 5770: fi
 5771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5772: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5773: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 5774:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5775: fi
 5776: 
 5777:     fi
 5778:   fi
 5779: 
 5780:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5781:   ac_save_LDFLAGS=$LDFLAGS
 5782:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5783:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5784:   # check for ICE first), but we must link in the order -lSM -lICE or
 5785:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5786:   # These have to be linked with before -lX11, unlike the other
 5787:   # libraries we check for below, so use a different variable.
 5788:   # John Interrante, Karl Berry
 5789:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5790: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5791: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 5792:   $as_echo_n "(cached) " >&6
 5793: else
 5794:   ac_check_lib_save_LIBS=$LIBS
 5795: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 5796: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5797: /* end confdefs.h.  */
 5798: 
 5799: /* Override any GCC internal prototype to avoid an error.
 5800:    Use char because int might match the return type of a GCC
 5801:    builtin and then its argument prototype would still apply.  */
 5802: #ifdef __cplusplus
 5803: extern "C"
 5804: #endif
 5805: char IceConnectionNumber ();
 5806: int
 5807: main ()
 5808: {
 5809: return IceConnectionNumber ();
 5810:   ;
 5811:   return 0;
 5812: }
 5813: _ACEOF
 5814: if ac_fn_c_try_link "$LINENO"; then :
 5815:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5816: else
 5817:   ac_cv_lib_ICE_IceConnectionNumber=no
 5818: fi
 5819: rm -f core conftest.err conftest.$ac_objext \
 5820:     conftest$ac_exeext conftest.$ac_ext
 5821: LIBS=$ac_check_lib_save_LIBS
 5822: fi
 5823: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 5824: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5825: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 5826:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5827: fi
 5828: 
 5829:   LDFLAGS=$ac_save_LDFLAGS
 5830: 
 5831: fi
 5832: 
 5833: 
 5834: if test "$ac_x_includes" != "no"; then
 5835:     if test x"$ac_x_includes" != x; then
 5836:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5837:         includeX="-I$ac_x_includes"
 5838:     fi
 5839: fi
 5840: if test "$ac_x_libraries" != "no"; then
 5841:     if test x"$ac_x_libraries" != x; then
 5842:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5843:     fi
 5844: fi
 5845: 
 5846: # Check whether --enable-optimization was given.
 5847: if test "${enable_optimization+set}" = set; then :
 5848:   enableval=$enable_optimization;
 5849: if test "$enableval" = "no"; then
 5850:     CFLAGS=
 5851:     FFLAGS=
 5852:     CXXFLAGS=
 5853:     FCFLAGS=
 5854: else
 5855:     CFLAGS="$CFLAGS $enable_optimization"
 5856:     FFLAGS="$FFLAGS $enable_optimization"
 5857:     FCFLAGS="$FCFLAGS $enable_optimization"
 5858: fi
 5859: else
 5860: 
 5861:     CFLAGS="$CFLAGS $OPTIMISATION_C"
 5862:     FFLAGS="$FFLAGS $OPTIMISATION_F"
 5863:     FCFLAGS="$FCFLAGS $OPTIMISATION_F"
 5864: 
 5865: 
 5866: fi
 5867: 
 5868: 
 5869: # Check whether --enable-sysv-semaphores was given.
 5870: if test "${enable_sysv_semaphores+set}" = set; then :
 5871:   enableval=$enable_sysv_semaphores;
 5872: if test "$enableval" = "no"; then
 5873:     IPCS_SYSV=no
 5874: else
 5875:     IPCS_SYSV=yes
 5876: fi
 5877: else
 5878:   IPCS_SYSV=no
 5879: fi
 5880: 
 5881: 
 5882: # Check whether --enable-full-static was given.
 5883: if test "${enable_full_static+set}" = set; then :
 5884:   enableval=$enable_full_static;
 5885: if test "$enableval" = "no"; then
 5886:     STATIC=no
 5887: else
 5888:     STATIC=yes
 5889: fi
 5890: else
 5891:   STATIC=no
 5892: fi
 5893: 
 5894: 
 5895: # Check whether --enable-final-encoding was given.
 5896: if test "${enable_final_encoding+set}" = set; then :
 5897:   enableval=$enable_final_encoding;
 5898: if test "$enableval" = "no"; then
 5899:     FINAL_ENCODING="\$(shell locale charmap | \
 5900:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5901:     FORCED_FINAL_ENCODING=0
 5902: else
 5903:     FINAL_ENCODING="$enable_final_encoding"
 5904:     FORCED_FINAL_ENCODING=1
 5905: fi
 5906: else
 5907: 
 5908: FORCED_FINAL_ENCODING=0
 5909: FINAL_ENCODING="\$(shell locale charmap | \
 5910:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5911: fi
 5912: 
 5913: 
 5914: # Check whether --enable-tex was given.
 5915: if test "${enable_tex+set}" = set; then :
 5916:   enableval=$enable_tex;
 5917: if test "$enableval" = "no"; then
 5918:     TEX_SUPPORT=no
 5919: else
 5920:     TEX_SUPPORT=yes
 5921: fi
 5922: else
 5923:   TEX_SUPPORT=guessed
 5924: fi
 5925: 
 5926: 
 5927: # Check whether --enable-vim was given.
 5928: if test "${enable_vim+set}" = set; then :
 5929:   enableval=$enable_vim;
 5930: if test "$enableval" = "no"; then
 5931:     VIM_SUPPORT=no
 5932: else
 5933:     VIM_SUPPORT=yes
 5934: fi
 5935: else
 5936:   VIM_SUPPORT=guessed
 5937: fi
 5938: 
 5939: 
 5940: # Check whether --enable-embedded-gnuplot was given.
 5941: if test "${enable_embedded_gnuplot+set}" = set; then :
 5942:   enableval=$enable_embedded_gnuplot;
 5943: if test "$enableval" = "no"; then
 5944:     MYGNUPLOT=no
 5945: else
 5946:     MYGNUPLOT=yes
 5947: fi
 5948: else
 5949: 
 5950: MYGNUPLOT=yes
 5951: fi
 5952: 
 5953: 
 5954: # Check whether --enable-gnuplot was given.
 5955: if test "${enable_gnuplot+set}" = set; then :
 5956:   enableval=$enable_gnuplot;
 5957: if test "$enableval" = "no"; then
 5958:     GNUPLOT_SUPPORT=no
 5959:     MYGNUPLOT=no
 5960:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5961: else
 5962:     GNUPLOT_SUPPORT=yes
 5963:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5964: fi
 5965: else
 5966: 
 5967: if test "$MYGNUPLOT" = "yes"; then
 5968:     GNUPLOT_SUPPORT=yes
 5969:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5970: else
 5971:     GNUPLOT_SUPPORT=guessed
 5972:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5973: fi
 5974: fi
 5975: 
 5976: 
 5977: # Check whether --enable-motif was given.
 5978: if test "${enable_motif+set}" = set; then :
 5979:   enableval=$enable_motif;
 5980: if test "$enableval" = "no"; then
 5981:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 5982: else
 5983:     CFLAGS_ORIG=$CFLAGS
 5984:     LIBS_ORIG=$LIBS
 5985:     CFLAGS="$CFLAGS $X_CFLAGS"
 5986:     LIBS="$LIB $X_LIBS"
 5987:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 5988: $as_echo_n "checking for main in -lXm... " >&6; }
 5989: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 5990:   $as_echo_n "(cached) " >&6
 5991: else
 5992:   ac_check_lib_save_LIBS=$LIBS
 5993: LIBS="-lXm  $LIBS"
 5994: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5995: /* end confdefs.h.  */
 5996: 
 5997: 
 5998: int
 5999: main ()
 6000: {
 6001: return main ();
 6002:   ;
 6003:   return 0;
 6004: }
 6005: _ACEOF
 6006: if ac_fn_c_try_link "$LINENO"; then :
 6007:   ac_cv_lib_Xm_main=yes
 6008: else
 6009:   ac_cv_lib_Xm_main=no
 6010: fi
 6011: rm -f core conftest.err conftest.$ac_objext \
 6012:     conftest$ac_exeext conftest.$ac_ext
 6013: LIBS=$ac_check_lib_save_LIBS
 6014: fi
 6015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6016: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6017: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 6018:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6019: else
 6020:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6021: fi
 6022: 
 6023:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6024:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
 6025: Motif flag is disabled.
 6026: " >&5
 6027: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
 6028: Motif flag is disabled.
 6029: " >&2;}
 6030:     fi
 6031:     LIBS=$LIBS_ORIG
 6032:     CFLAGS=$CFLAGS_ORIG
 6033: fi
 6034: else
 6035:   MOTIF_SUPPORT=guessed
 6036: fi
 6037: 
 6038: 
 6039: # Check whether --enable-experimental was given.
 6040: if test "${enable_experimental+set}" = set; then :
 6041:   enableval=$enable_experimental;
 6042: if test "$enableval" = "no"; then
 6043:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6044: else
 6045:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6046: fi
 6047: else
 6048:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6049: fi
 6050: 
 6051: 
 6052: # Check whether --enable-debug was given.
 6053: if test "${enable_debug+set}" = set; then :
 6054:   enableval=$enable_debug;
 6055: if test "$enableval" = "no"; then
 6056:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6057:     MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"
 6058: else
 6059:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6060:     MALLOC=""
 6061: fi
 6062: else
 6063:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6064:     MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"
 6065: fi
 6066: 
 6067: 
 6068: # Check whether --enable-profile was given.
 6069: if test "${enable_profile+set}" = set; then :
 6070:   enableval=$enable_profile;
 6071: if test "$enableval" = "no"; then
 6072:     PROFILAGE=""
 6073: else
 6074:     PROFILAGE="-pg"
 6075: fi
 6076: else
 6077:   PROFILAGE=""
 6078: fi
 6079: 
 6080: 
 6081: 
 6082: 
 6083: if test ! -d tools; then
 6084:     mkdir tools
 6085: fi
 6086: if test ! -d "$srcdir"/tools/$NCURSES; then
 6087:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6088:             (cd "$srcdir/tools" && tar -xf -)
 6089: fi
 6090: if test ! -d "$srcdir"/tools/$READLINE; then
 6091:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6092:             (cd "$srcdir/tools" && tar -xf -)
 6093: fi
 6094: if test ! -d "$srcdir"/tools/$UNITS; then
 6095:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6096:             (cd "$srcdir/tools" && tar -xf -)
 6097: fi
 6098: if test ! -d "$srcdir"/tools/$GSL; then
 6099:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6100:             (cd "$srcdir/tools" && tar -xf -)
 6101:     if test $(uname) = "OS/2"; then
 6102:         (cd "$srcdir"/tools/$GSL; \
 6103:                 TMP=$(mktemp tmp.XXXXXXXXXX); \
 6104:                 sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
 6105:                 \mv -f $TMP ltmain.sh)
 6106:     fi
 6107: fi
 6108: if test ! -d "$srcdir"/tools/$GPP; then
 6109:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6110:             (cd "$srcdir/tools" && tar -xf -)
 6111: fi
 6112: if test ! -d "$srcdir"/tools/$FILE; then
 6113:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6114:             (cd "$srcdir/tools" && tar -xf - )
 6115:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6116: fi
 6117: if test ! -d "$srcdir"/tools/$ICONV; then
 6118:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6119:             (cd "$srcdir/tools" && tar -xf -)
 6120: fi
 6121: if test ! -d "$srcdir"/tools/$SQLITE; then
 6122:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6123:             (cd "$srcdir/tools" && tar -xf -)
 6124:     (cd "$srcdir/tools"/$SQLITE && gunzip -c ../$SQLITE.diff.gz | patch -p1)
 6125: fi
 6126: if test ! -d tools/$OPENSSL; then
 6127:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6128:             (cd tools && tar -xf -)
 6129: fi
 6130: 
 6131: 
 6132: 
 6133: # Check whether --enable-final-run-path was given.
 6134: if test "${enable_final_run_path+set}" = set; then :
 6135:   enableval=$enable_final_run_path;
 6136:     if test "x$enable_final_run_path" = "x"; then
 6137:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6138: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6139:         as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
 6140:     else
 6141:         RUNPATH="$enable_final_run_path"
 6142:     fi
 6143: 
 6144: else
 6145:   RUNPATH="\${prefix}"
 6146: 
 6147: fi
 6148: 
 6149: 
 6150: 
 6151: 
 6152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6153: $as_echo_n "checking whether ln -s works... " >&6; }
 6154: LN_S=$as_ln_s
 6155: if test "$LN_S" = "ln -s"; then
 6156:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6157: $as_echo "yes" >&6; }
 6158: else
 6159:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6160: $as_echo "no, using $LN_S" >&6; }
 6161: fi
 6162: 
 6163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6164: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6165: set x ${MAKE-make}
 6166: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6167: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 6168:   $as_echo_n "(cached) " >&6
 6169: else
 6170:   cat >conftest.make <<\_ACEOF
 6171: SHELL = /bin/sh
 6172: all:
 6173:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6174: _ACEOF
 6175: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 6176: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6177:   *@@@%%%=?*=@@@%%%*)
 6178:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6179:   *)
 6180:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6181: esac
 6182: rm -f conftest.make
 6183: fi
 6184: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6185:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6186: $as_echo "yes" >&6; }
 6187:   SET_MAKE=
 6188: else
 6189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6190: $as_echo "no" >&6; }
 6191:   SET_MAKE="MAKE=${MAKE-make}"
 6192: fi
 6193: 
 6194: if test -n "$ac_tool_prefix"; then
 6195:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6196: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6198: $as_echo_n "checking for $ac_word... " >&6; }
 6199: if test "${ac_cv_prog_RANLIB+set}" = set; then :
 6200:   $as_echo_n "(cached) " >&6
 6201: else
 6202:   if test -n "$RANLIB"; then
 6203:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6204: else
 6205: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6206: for as_dir in $PATH
 6207: do
 6208:   IFS=$as_save_IFS
 6209:   test -z "$as_dir" && as_dir=.
 6210:     for ac_exec_ext in '' $ac_executable_extensions; do
 6211:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6212:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6213:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6214:     break 2
 6215:   fi
 6216: done
 6217:   done
 6218: IFS=$as_save_IFS
 6219: 
 6220: fi
 6221: fi
 6222: RANLIB=$ac_cv_prog_RANLIB
 6223: if test -n "$RANLIB"; then
 6224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6225: $as_echo "$RANLIB" >&6; }
 6226: else
 6227:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6228: $as_echo "no" >&6; }
 6229: fi
 6230: 
 6231: 
 6232: fi
 6233: if test -z "$ac_cv_prog_RANLIB"; then
 6234:   ac_ct_RANLIB=$RANLIB
 6235:   # Extract the first word of "ranlib", so it can be a program name with args.
 6236: set dummy ranlib; ac_word=$2
 6237: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6238: $as_echo_n "checking for $ac_word... " >&6; }
 6239: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 6240:   $as_echo_n "(cached) " >&6
 6241: else
 6242:   if test -n "$ac_ct_RANLIB"; then
 6243:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6244: else
 6245: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6246: for as_dir in $PATH
 6247: do
 6248:   IFS=$as_save_IFS
 6249:   test -z "$as_dir" && as_dir=.
 6250:     for ac_exec_ext in '' $ac_executable_extensions; do
 6251:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6252:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6253:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6254:     break 2
 6255:   fi
 6256: done
 6257:   done
 6258: IFS=$as_save_IFS
 6259: 
 6260: fi
 6261: fi
 6262: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6263: if test -n "$ac_ct_RANLIB"; then
 6264:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6265: $as_echo "$ac_ct_RANLIB" >&6; }
 6266: else
 6267:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6268: $as_echo "no" >&6; }
 6269: fi
 6270: 
 6271:   if test "x$ac_ct_RANLIB" = x; then
 6272:     RANLIB=":"
 6273:   else
 6274:     case $cross_compiling:$ac_tool_warned in
 6275: yes:)
 6276: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6277: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6278: ac_tool_warned=yes ;;
 6279: esac
 6280:     RANLIB=$ac_ct_RANLIB
 6281:   fi
 6282: else
 6283:   RANLIB="$ac_cv_prog_RANLIB"
 6284: fi
 6285: 
 6286: 
 6287: # Extract the first word of "nawk", so it can be a program name with args.
 6288: set dummy nawk; ac_word=$2
 6289: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6290: $as_echo_n "checking for $ac_word... " >&6; }
 6291: if test "${ac_cv_prog_AWK+set}" = set; then :
 6292:   $as_echo_n "(cached) " >&6
 6293: else
 6294:   if test -n "$AWK"; then
 6295:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6296: else
 6297: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6298: for as_dir in $PATH
 6299: do
 6300:   IFS=$as_save_IFS
 6301:   test -z "$as_dir" && as_dir=.
 6302:     for ac_exec_ext in '' $ac_executable_extensions; do
 6303:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6304:     ac_cv_prog_AWK="yes"
 6305:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6306:     break 2
 6307:   fi
 6308: done
 6309:   done
 6310: IFS=$as_save_IFS
 6311: 
 6312:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6313: fi
 6314: fi
 6315: AWK=$ac_cv_prog_AWK
 6316: if test -n "$AWK"; then
 6317:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6318: $as_echo "$AWK" >&6; }
 6319: else
 6320:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6321: $as_echo "no" >&6; }
 6322: fi
 6323: 
 6324: 
 6325: if test "$AWK" = no; then
 6326:     as_fn_error $? "Can not find nawk !" "$LINENO" 5
 6327: fi
 6328: 
 6329: # Extract the first word of "sed", so it can be a program name with args.
 6330: set dummy sed; ac_word=$2
 6331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6332: $as_echo_n "checking for $ac_word... " >&6; }
 6333: if test "${ac_cv_prog_SED+set}" = set; then :
 6334:   $as_echo_n "(cached) " >&6
 6335: else
 6336:   if test -n "$SED"; then
 6337:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6338: else
 6339: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6340: for as_dir in $PATH
 6341: do
 6342:   IFS=$as_save_IFS
 6343:   test -z "$as_dir" && as_dir=.
 6344:     for ac_exec_ext in '' $ac_executable_extensions; do
 6345:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6346:     ac_cv_prog_SED="yes"
 6347:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6348:     break 2
 6349:   fi
 6350: done
 6351:   done
 6352: IFS=$as_save_IFS
 6353: 
 6354:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6355: fi
 6356: fi
 6357: SED=$ac_cv_prog_SED
 6358: if test -n "$SED"; then
 6359:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6360: $as_echo "$SED" >&6; }
 6361: else
 6362:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6363: $as_echo "no" >&6; }
 6364: fi
 6365: 
 6366: 
 6367: if test "$SED" = no; then
 6368:     as_fn_error $? "Can not find sed !" "$LINENO" 5
 6369: fi
 6370: 
 6371: if test "$TEX_SUPPORT" = guessed; then
 6372:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6373: 
 6374:     # Extract the first word of "tex", so it can be a program name with args.
 6375: set dummy tex; ac_word=$2
 6376: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6377: $as_echo_n "checking for $ac_word... " >&6; }
 6378: if test "${ac_cv_prog_TEX+set}" = set; then :
 6379:   $as_echo_n "(cached) " >&6
 6380: else
 6381:   if test -n "$TEX"; then
 6382:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6383: else
 6384: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6385: for as_dir in $PATH
 6386: do
 6387:   IFS=$as_save_IFS
 6388:   test -z "$as_dir" && as_dir=.
 6389:     for ac_exec_ext in '' $ac_executable_extensions; do
 6390:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6391:     ac_cv_prog_TEX="yes"
 6392:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6393:     break 2
 6394:   fi
 6395: done
 6396:   done
 6397: IFS=$as_save_IFS
 6398: 
 6399:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6400: fi
 6401: fi
 6402: TEX=$ac_cv_prog_TEX
 6403: if test -n "$TEX"; then
 6404:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6405: $as_echo "$TEX" >&6; }
 6406: else
 6407:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6408: $as_echo "no" >&6; }
 6409: fi
 6410: 
 6411: 
 6412:     if test "$TEX" = no; then
 6413:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6414: Download at http://tex.loria.fr/
 6415: " >&5
 6416: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6417: Download at http://tex.loria.fr/
 6418: " >&2;}
 6419:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6420:     fi
 6421: 
 6422:     # Extract the first word of "latex", so it can be a program name with args.
 6423: set dummy latex; ac_word=$2
 6424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6425: $as_echo_n "checking for $ac_word... " >&6; }
 6426: if test "${ac_cv_prog_LATEX+set}" = set; then :
 6427:   $as_echo_n "(cached) " >&6
 6428: else
 6429:   if test -n "$LATEX"; then
 6430:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6431: else
 6432: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6433: for as_dir in $PATH
 6434: do
 6435:   IFS=$as_save_IFS
 6436:   test -z "$as_dir" && as_dir=.
 6437:     for ac_exec_ext in '' $ac_executable_extensions; do
 6438:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6439:     ac_cv_prog_LATEX="yes"
 6440:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6441:     break 2
 6442:   fi
 6443: done
 6444:   done
 6445: IFS=$as_save_IFS
 6446: 
 6447:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6448: fi
 6449: fi
 6450: LATEX=$ac_cv_prog_LATEX
 6451: if test -n "$LATEX"; then
 6452:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6453: $as_echo "$LATEX" >&6; }
 6454: else
 6455:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6456: $as_echo "no" >&6; }
 6457: fi
 6458: 
 6459: 
 6460:     if test "$LATEX" = no; then
 6461:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6462: Download at http://tex.loria.fr/
 6463: " >&5
 6464: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6465: Download at http://tex.loria.fr/
 6466: " >&2;}
 6467:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6468:     fi
 6469: 
 6470:     # Extract the first word of "dvips", so it can be a program name with args.
 6471: set dummy dvips; ac_word=$2
 6472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6473: $as_echo_n "checking for $ac_word... " >&6; }
 6474: if test "${ac_cv_prog_DVIPS+set}" = set; then :
 6475:   $as_echo_n "(cached) " >&6
 6476: else
 6477:   if test -n "$DVIPS"; then
 6478:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6479: else
 6480: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6481: for as_dir in $PATH
 6482: do
 6483:   IFS=$as_save_IFS
 6484:   test -z "$as_dir" && as_dir=.
 6485:     for ac_exec_ext in '' $ac_executable_extensions; do
 6486:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6487:     ac_cv_prog_DVIPS="yes"
 6488:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6489:     break 2
 6490:   fi
 6491: done
 6492:   done
 6493: IFS=$as_save_IFS
 6494: 
 6495:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6496: fi
 6497: fi
 6498: DVIPS=$ac_cv_prog_DVIPS
 6499: if test -n "$DVIPS"; then
 6500:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6501: $as_echo "$DVIPS" >&6; }
 6502: else
 6503:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6504: $as_echo "no" >&6; }
 6505: fi
 6506: 
 6507: 
 6508:     if test "$DVIPS" = no; then
 6509:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6510: Download at http://tex.loria.fr/
 6511: " >&5
 6512: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6513: Download at http://tex.loria.fr/
 6514: " >&2;}
 6515:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6516:     fi
 6517: 
 6518:     # Extract the first word of "gs", so it can be a program name with args.
 6519: set dummy gs; ac_word=$2
 6520: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6521: $as_echo_n "checking for $ac_word... " >&6; }
 6522: if test "${ac_cv_prog_GS+set}" = set; then :
 6523:   $as_echo_n "(cached) " >&6
 6524: else
 6525:   if test -n "$GS"; then
 6526:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6527: else
 6528: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6529: for as_dir in $PATH
 6530: do
 6531:   IFS=$as_save_IFS
 6532:   test -z "$as_dir" && as_dir=.
 6533:     for ac_exec_ext in '' $ac_executable_extensions; do
 6534:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6535:     ac_cv_prog_GS="yes"
 6536:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6537:     break 2
 6538:   fi
 6539: done
 6540:   done
 6541: IFS=$as_save_IFS
 6542: 
 6543:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6544: fi
 6545: fi
 6546: GS=$ac_cv_prog_GS
 6547: if test -n "$GS"; then
 6548:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6549: $as_echo "$GS" >&6; }
 6550: else
 6551:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6552: $as_echo "no" >&6; }
 6553: fi
 6554: 
 6555: 
 6556:     if test "$GS" = no; then
 6557:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6558: Download at http://ftp.lip6.fr/
 6559: " >&5
 6560: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6561: Download at http://ftp.lip6.fr/
 6562: " >&2;}
 6563:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6564:     fi
 6565: 
 6566:     # Extract the first word of "gv", so it can be a program name with args.
 6567: set dummy gv; ac_word=$2
 6568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6569: $as_echo_n "checking for $ac_word... " >&6; }
 6570: if test "${ac_cv_prog_GV+set}" = set; then :
 6571:   $as_echo_n "(cached) " >&6
 6572: else
 6573:   if test -n "$GV"; then
 6574:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6575: else
 6576: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6577: for as_dir in $PATH
 6578: do
 6579:   IFS=$as_save_IFS
 6580:   test -z "$as_dir" && as_dir=.
 6581:     for ac_exec_ext in '' $ac_executable_extensions; do
 6582:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6583:     ac_cv_prog_GV="yes"
 6584:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6585:     break 2
 6586:   fi
 6587: done
 6588:   done
 6589: IFS=$as_save_IFS
 6590: 
 6591:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 6592: fi
 6593: fi
 6594: GV=$ac_cv_prog_GV
 6595: if test -n "$GV"; then
 6596:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 6597: $as_echo "$GV" >&6; }
 6598: else
 6599:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6600: $as_echo "no" >&6; }
 6601: fi
 6602: 
 6603: 
 6604:     if test "$GV" = no; then
 6605:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 6606: Download at http://ftp.lip6.fr/
 6607: " >&5
 6608: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 6609: Download at http://ftp.lip6.fr/
 6610: " >&2;}
 6611:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6612:     fi
 6613: else
 6614:     if test "$TEX_SUPPORT" = no; then
 6615:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6616:     else
 6617:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6618:     fi
 6619: fi
 6620: 
 6621: if test "$GNUPLOT_SUPPORT" = guessed; then
 6622:     # Extract the first word of "gnuplot", so it can be a program name with args.
 6623: set dummy gnuplot; ac_word=$2
 6624: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6625: $as_echo_n "checking for $ac_word... " >&6; }
 6626: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
 6627:   $as_echo_n "(cached) " >&6
 6628: else
 6629:   if test -n "$GNUPLOT_P"; then
 6630:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 6631: else
 6632: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6633: for as_dir in $PATH
 6634: do
 6635:   IFS=$as_save_IFS
 6636:   test -z "$as_dir" && as_dir=.
 6637:     for ac_exec_ext in '' $ac_executable_extensions; do
 6638:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6639:     ac_cv_prog_GNUPLOT_P="yes"
 6640:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6641:     break 2
 6642:   fi
 6643: done
 6644:   done
 6645: IFS=$as_save_IFS
 6646: 
 6647:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 6648: fi
 6649: fi
 6650: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 6651: if test -n "$GNUPLOT_P"; then
 6652:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 6653: $as_echo "$GNUPLOT_P" >&6; }
 6654: else
 6655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6656: $as_echo "no" >&6; }
 6657: fi
 6658: 
 6659: 
 6660:     if test "$GNUPLOT_P" = no; then
 6661:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 6662: Download at http://www.gnuplot.vt.edu/
 6663: " >&5
 6664: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 6665: Download at http://www.gnuplot.vt.edu/
 6666: " >&2;}
 6667:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6668:     else
 6669:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6670:     fi
 6671: else
 6672:     if test "$GNUPLOT_SUPPORT" = no; then
 6673:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6674:     else
 6675:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6676:     fi
 6677: fi
 6678: 
 6679: if test "$VIM_SUPPORT" = guessed; then
 6680:     # Extract the first word of "vim", so it can be a program name with args.
 6681: set dummy vim; 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_VIM+set}" = set; then :
 6685:   $as_echo_n "(cached) " >&6
 6686: else
 6687:   if test -n "$VIM"; then
 6688:   ac_cv_prog_VIM="$VIM" # 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_VIM="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_VIM" && ac_cv_prog_VIM="no"
 6706: fi
 6707: fi
 6708: VIM=$ac_cv_prog_VIM
 6709: if test -n "$VIM"; then
 6710:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 6711: $as_echo "$VIM" >&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 "$VIM" = no; then
 6719:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 6720: Download at http://www.vim.org/
 6721: " >&5
 6722: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 6723: Download at http://www.vim.org/
 6724: " >&2;}
 6725:         VIM_SUPPORT="-UVIM_SUPPORT"
 6726:     else
 6727:         VIM_SUPPORT="-DVIM_SUPPORT"
 6728:     fi
 6729: else
 6730:     if test "$VIM_SUPPORT" = no; then
 6731:         VIM_SUPPORT="-UVIM_SUPPORT"
 6732:     else
 6733:         VIM_SUPPORT="-DVIM_SUPPORT"
 6734:     fi
 6735: fi
 6736: 
 6737: if test "$MOTIF_SUPPORT" = guessed; then
 6738:     CFLAGS_ORIG=$CFLAGS
 6739:     LIBS_ORIG=$LIBS
 6740:     CFLAGS="$CFLAGS $X_CFLAGS"
 6741:     LIBS="$LIB $X_LIBS"
 6742:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6743: $as_echo_n "checking for main in -lXm... " >&6; }
 6744: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 6745:   $as_echo_n "(cached) " >&6
 6746: else
 6747:   ac_check_lib_save_LIBS=$LIBS
 6748: LIBS="-lXm  $LIBS"
 6749: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6750: /* end confdefs.h.  */
 6751: 
 6752: 
 6753: int
 6754: main ()
 6755: {
 6756: return main ();
 6757:   ;
 6758:   return 0;
 6759: }
 6760: _ACEOF
 6761: if ac_fn_c_try_link "$LINENO"; then :
 6762:   ac_cv_lib_Xm_main=yes
 6763: else
 6764:   ac_cv_lib_Xm_main=no
 6765: fi
 6766: rm -f core conftest.err conftest.$ac_objext \
 6767:     conftest$ac_exeext conftest.$ac_ext
 6768: LIBS=$ac_check_lib_save_LIBS
 6769: fi
 6770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6771: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6772: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 6773:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6774: else
 6775:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6776: fi
 6777: 
 6778:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6779:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
 6780: Motif flag is disabled.
 6781: " >&5
 6782: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
 6783: Motif flag is disabled.
 6784: " >&2;}
 6785:     fi
 6786:     LIBS=$LIBS_ORIG
 6787:     CFLAGS=$CFLAGS_ORIG
 6788: fi
 6789: 
 6790: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6791:     CFLAGS_ORIG=$CFLAGS
 6792:     LIBS_ORIG=$LIBS
 6793:     CFLAGS="$CFLAGS $X_CFLAGS"
 6794:     LIBS="$LIB $X_LIBS"
 6795:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
 6796: $as_echo_n "checking for main in -lXpm... " >&6; }
 6797: if test "${ac_cv_lib_Xpm_main+set}" = set; then :
 6798:   $as_echo_n "(cached) " >&6
 6799: else
 6800:   ac_check_lib_save_LIBS=$LIBS
 6801: LIBS="-lXpm  $LIBS"
 6802: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6803: /* end confdefs.h.  */
 6804: 
 6805: 
 6806: int
 6807: main ()
 6808: {
 6809: return main ();
 6810:   ;
 6811:   return 0;
 6812: }
 6813: _ACEOF
 6814: if ac_fn_c_try_link "$LINENO"; then :
 6815:   ac_cv_lib_Xpm_main=yes
 6816: else
 6817:   ac_cv_lib_Xpm_main=no
 6818: fi
 6819: rm -f core conftest.err conftest.$ac_objext \
 6820:     conftest$ac_exeext conftest.$ac_ext
 6821: LIBS=$ac_check_lib_save_LIBS
 6822: fi
 6823: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
 6824: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
 6825: if test "x$ac_cv_lib_Xpm_main" = x""yes; then :
 6826:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6827: else
 6828:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6829: fi
 6830: 
 6831:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6832:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 6833:     else
 6834:         libX=""
 6835:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
 6836: Motif flag is disabled.
 6837: " >&5
 6838: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 6839: Motif flag is disabled.
 6840: " >&2;}
 6841:     fi
 6842:     LIBS=$LIBS_ORIG
 6843:     CFLAGS=$CFLAGS_ORIG
 6844: else
 6845:     libX=""
 6846: fi
 6847: 
 6848: 
 6849: 
 6850: 
 6851: 
 6852: 
 6853: 
 6854: 
 6855: 
 6856: 
 6857: 
 6858: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 6859: 
 6860: 
 6861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 6862: $as_echo_n "checking for main in -lm... " >&6; }
 6863: if test "${ac_cv_lib_m_main+set}" = set; then :
 6864:   $as_echo_n "(cached) " >&6
 6865: else
 6866:   ac_check_lib_save_LIBS=$LIBS
 6867: LIBS="-lm  $LIBS"
 6868: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6869: /* end confdefs.h.  */
 6870: 
 6871: 
 6872: int
 6873: main ()
 6874: {
 6875: return main ();
 6876:   ;
 6877:   return 0;
 6878: }
 6879: _ACEOF
 6880: if ac_fn_c_try_link "$LINENO"; then :
 6881:   ac_cv_lib_m_main=yes
 6882: else
 6883:   ac_cv_lib_m_main=no
 6884: fi
 6885: rm -f core conftest.err conftest.$ac_objext \
 6886:     conftest$ac_exeext conftest.$ac_ext
 6887: LIBS=$ac_check_lib_save_LIBS
 6888: fi
 6889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 6890: $as_echo "$ac_cv_lib_m_main" >&6; }
 6891: if test "x$ac_cv_lib_m_main" = x""yes; then :
 6892:   cat >>confdefs.h <<_ACEOF
 6893: #define HAVE_LIBM 1
 6894: _ACEOF
 6895: 
 6896:   LIBS="-lm $LIBS"
 6897: 
 6898: else
 6899:   as_fn_error $? "Can not find libm !" "$LINENO" 5
 6900: fi
 6901: 
 6902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 6903: $as_echo_n "checking for main in -lpthread... " >&6; }
 6904: if test "${ac_cv_lib_pthread_main+set}" = set; then :
 6905:   $as_echo_n "(cached) " >&6
 6906: else
 6907:   ac_check_lib_save_LIBS=$LIBS
 6908: LIBS="-lpthread  $LIBS"
 6909: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6910: /* end confdefs.h.  */
 6911: 
 6912: 
 6913: int
 6914: main ()
 6915: {
 6916: return main ();
 6917:   ;
 6918:   return 0;
 6919: }
 6920: _ACEOF
 6921: if ac_fn_c_try_link "$LINENO"; then :
 6922:   ac_cv_lib_pthread_main=yes
 6923: else
 6924:   ac_cv_lib_pthread_main=no
 6925: fi
 6926: rm -f core conftest.err conftest.$ac_objext \
 6927:     conftest$ac_exeext conftest.$ac_ext
 6928: LIBS=$ac_check_lib_save_LIBS
 6929: fi
 6930: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 6931: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 6932: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
 6933:   cat >>confdefs.h <<_ACEOF
 6934: #define HAVE_LIBPTHREAD 1
 6935: _ACEOF
 6936: 
 6937:   LIBS="-lpthread $LIBS"
 6938: 
 6939: else
 6940:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
 6941: fi
 6942: 
 6943: 
 6944: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 6945: #include <sys/sem.h>
 6946: 
 6947: "
 6948: if test "x$ac_cv_type_union_semun" = x""yes; then :
 6949:   SEMUN=-DUNION_SEMUN
 6950: else
 6951:   SEMUN=-UUNION_SEMUN
 6952: fi
 6953: 
 6954: 
 6955: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
 6956: #include <sys/types.h>
 6957: #include <netinet/in.h>
 6958: 
 6959: "
 6960: if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
 6961:   IPV6=-DIPV6
 6962: else
 6963:   IPV6=-UIPV6
 6964: fi
 6965: 
 6966: 
 6967: if test "$CYGWIN" != yes; then
 6968:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 6969: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 6970: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 6971:   $as_echo_n "(cached) " >&6
 6972: else
 6973:   ac_check_lib_save_LIBS=$LIBS
 6974: LIBS="-ldl  $LIBS"
 6975: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6976: /* end confdefs.h.  */
 6977: 
 6978: /* Override any GCC internal prototype to avoid an error.
 6979:    Use char because int might match the return type of a GCC
 6980:    builtin and then its argument prototype would still apply.  */
 6981: #ifdef __cplusplus
 6982: extern "C"
 6983: #endif
 6984: char dlopen ();
 6985: int
 6986: main ()
 6987: {
 6988: return dlopen ();
 6989:   ;
 6990:   return 0;
 6991: }
 6992: _ACEOF
 6993: if ac_fn_c_try_link "$LINENO"; then :
 6994:   ac_cv_lib_dl_dlopen=yes
 6995: else
 6996:   ac_cv_lib_dl_dlopen=no
 6997: fi
 6998: rm -f core conftest.err conftest.$ac_objext \
 6999:     conftest$ac_exeext conftest.$ac_ext
 7000: LIBS=$ac_check_lib_save_LIBS
 7001: fi
 7002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 7003: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 7004: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 7005:   LIBS="$LIBS -ldl"
 7006: else
 7007:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 7008: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7009: fi
 7010: 
 7011: fi
 7012: 
 7013: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 7014: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 7015: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
 7016:   $as_echo_n "(cached) " >&6
 7017: else
 7018:   ac_check_lib_save_LIBS=$LIBS
 7019: LIBS="-lrt  $LIBS"
 7020: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7021: /* end confdefs.h.  */
 7022: 
 7023: /* Override any GCC internal prototype to avoid an error.
 7024:    Use char because int might match the return type of a GCC
 7025:    builtin and then its argument prototype would still apply.  */
 7026: #ifdef __cplusplus
 7027: extern "C"
 7028: #endif
 7029: char nanosleep ();
 7030: int
 7031: main ()
 7032: {
 7033: return nanosleep ();
 7034:   ;
 7035:   return 0;
 7036: }
 7037: _ACEOF
 7038: if ac_fn_c_try_link "$LINENO"; then :
 7039:   ac_cv_lib_rt_nanosleep=yes
 7040: else
 7041:   ac_cv_lib_rt_nanosleep=no
 7042: fi
 7043: rm -f core conftest.err conftest.$ac_objext \
 7044:     conftest$ac_exeext conftest.$ac_ext
 7045: LIBS=$ac_check_lib_save_LIBS
 7046: fi
 7047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7048: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7049: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
 7050:   LIBS="$LIBS -lrt"
 7051: else
 7052:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7053: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7054: fi
 7055: 
 7056: 
 7057: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7058: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7059: if test "${ac_cv_lib_socket_bind+set}" = set; then :
 7060:   $as_echo_n "(cached) " >&6
 7061: else
 7062:   ac_check_lib_save_LIBS=$LIBS
 7063: LIBS="-lsocket  $LIBS"
 7064: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7065: /* end confdefs.h.  */
 7066: 
 7067: /* Override any GCC internal prototype to avoid an error.
 7068:    Use char because int might match the return type of a GCC
 7069:    builtin and then its argument prototype would still apply.  */
 7070: #ifdef __cplusplus
 7071: extern "C"
 7072: #endif
 7073: char bind ();
 7074: int
 7075: main ()
 7076: {
 7077: return bind ();
 7078:   ;
 7079:   return 0;
 7080: }
 7081: _ACEOF
 7082: if ac_fn_c_try_link "$LINENO"; then :
 7083:   ac_cv_lib_socket_bind=yes
 7084: else
 7085:   ac_cv_lib_socket_bind=no
 7086: fi
 7087: rm -f core conftest.err conftest.$ac_objext \
 7088:     conftest$ac_exeext conftest.$ac_ext
 7089: LIBS=$ac_check_lib_save_LIBS
 7090: fi
 7091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7092: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7093: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
 7094:   LIBS="$LIBS -lsocket"
 7095: else
 7096:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7097: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7098: fi
 7099: 
 7100: 
 7101: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7102: 
 7103: # Check whether --with-mysql was given.
 7104: if test "${with_mysql+set}" = set; then :
 7105:   withval=$with_mysql;
 7106: else
 7107:   with_mysql=check
 7108: fi
 7109: 
 7110: 
 7111: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7112:     libMySQLinc="-I/usr/include"
 7113:     libMySQLlib="/usr/lib"
 7114: 
 7115:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7116: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7117:     saved_CFLAGS="$CFLAGS"
 7118:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7119:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7120: /* end confdefs.h.  */
 7121: #include "mysql.h"
 7122: int
 7123: main ()
 7124: {
 7125: 
 7126:   ;
 7127:   return 0;
 7128: }
 7129: _ACEOF
 7130: if ac_fn_c_try_compile "$LINENO"; then :
 7131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7132: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7133:                     libMySQLinc=$libMySQLinc/mysql
 7134: else
 7135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7136: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7137: fi
 7138: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7139:     CFLAGS=$saved_CFLAGS
 7140: 
 7141:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7142:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7143: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7144:         saved_CFLAGS="$CFLAGS"
 7145:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7146:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7147: /* end confdefs.h.  */
 7148: #include "mysql.h"
 7149: int
 7150: main ()
 7151: {
 7152: 
 7153:   ;
 7154:   return 0;
 7155: }
 7156: _ACEOF
 7157: if ac_fn_c_try_compile "$LINENO"; then :
 7158:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7159: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7160:                         libMySQLinc=$libMySQLinc
 7161: else
 7162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7163: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7164: fi
 7165: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7166:         CFLAGS=$saved_CFLAGS
 7167:         libMySQLinc=$libMySQLinc/mysql
 7168:     fi
 7169: 
 7170:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7171:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7172: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7173:         saved_CFLAGS="$CFLAGS"
 7174:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7175:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7176: /* end confdefs.h.  */
 7177: #include "mysql.h"
 7178: int
 7179: main ()
 7180: {
 7181: 
 7182:   ;
 7183:   return 0;
 7184: }
 7185: _ACEOF
 7186: if ac_fn_c_try_compile "$LINENO"; then :
 7187:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7188: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7189:                         libMySQLinc=$libMySQLinc/mysql
 7190: else
 7191:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7192: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7193: fi
 7194: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7195:         CFLAGS=$saved_CFLAGS
 7196:         libMySQLinc=$libMySQLinc/../local/include
 7197:         libMySQLlib=$libMySQLlib/../local/lib
 7198:     fi
 7199: 
 7200:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7201:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7202: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7203:         saved_CFLAGS="$CFLAGS"
 7204:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7205:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7206: /* end confdefs.h.  */
 7207: #include "mysql.h"
 7208: int
 7209: main ()
 7210: {
 7211: 
 7212:   ;
 7213:   return 0;
 7214: }
 7215: _ACEOF
 7216: if ac_fn_c_try_compile "$LINENO"; then :
 7217:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7218: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7219:                         libMySQLinc=$libMySQLinc/mysql
 7220: else
 7221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7222: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7223: fi
 7224: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7225:         CFLAGS=$saved_CFLAGS
 7226:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7227:         libMySQLlib=$libMySQLlib/../local/lib
 7228:     fi
 7229: else
 7230:     if test "x$with_mysql" != xno; then
 7231:         libMySQLinc="-I$with_mysql/include"
 7232:         libMySQLlib="$with_mysql/lib"
 7233: 
 7234:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7235: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7236:         saved_CFLAGS="$CFLAGS"
 7237:         CFLAGS="$CFLAGS $libMySQLinc"
 7238:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7239: /* end confdefs.h.  */
 7240: #include "mysql.h"
 7241: int
 7242: main ()
 7243: {
 7244: 
 7245:   ;
 7246:   return 0;
 7247: }
 7248: _ACEOF
 7249: if ac_fn_c_try_compile "$LINENO"; then :
 7250:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7251: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7252:                         libMySQLinc=$libMySQLinc/mysql
 7253: else
 7254:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7255: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7256: fi
 7257: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7258:         CFLAGS=$saved_CFLAGS
 7259: 
 7260:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7261:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7262: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7263:             saved_CFLAGS="$CFLAGS"
 7264:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7265:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7266: /* end confdefs.h.  */
 7267: #include "mysql.h"
 7268: int
 7269: main ()
 7270: {
 7271: 
 7272:   ;
 7273:   return 0;
 7274: }
 7275: _ACEOF
 7276: if ac_fn_c_try_compile "$LINENO"; then :
 7277:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7278: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7279:                             libMySQLinc=$libMySQLinc
 7280: else
 7281:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7282: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7283: fi
 7284: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7285:             CFLAGS=$saved_CFLAGS
 7286:             libMySQLinc=$libMySQLinc/mysql
 7287:         fi
 7288:     else
 7289:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7290:     fi
 7291: fi
 7292: 
 7293: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7294:     MYSQL_LIB=no
 7295: 
 7296:     if test $MYSQL_LIB = no; then
 7297:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7298: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7299:         saved_LIBS="$LIBS"
 7300:         if test $STATIC = no; then
 7301:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7302:         else
 7303:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7304:         fi
 7305:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7306: /* end confdefs.h.  */
 7307: #include "mysql.h"
 7308: int
 7309: main ()
 7310: {
 7311: MYSQL mysql; mysql_init(&mysql);
 7312:   ;
 7313:   return 0;
 7314: }
 7315: _ACEOF
 7316: if ac_fn_c_try_link "$LINENO"; then :
 7317:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7318: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7319: else
 7320:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7321: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7322: fi
 7323: rm -f core conftest.err conftest.$ac_objext \
 7324:     conftest$ac_exeext conftest.$ac_ext
 7325:         LIBS=$saved_LIBS;
 7326:         if test $STATIC = no; then
 7327:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7328:         else
 7329:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7330:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7331:         fi
 7332:     fi
 7333: 
 7334:     if test $MYSQL_LIB = no; then
 7335:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7336:     fi
 7337: fi
 7338: 
 7339: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7340:     libMySQLinc=
 7341:     libMySQLlib=
 7342: fi
 7343: 
 7344: 
 7345: 
 7346: 
 7347: 
 7348: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7349: 
 7350: # Check whether --with-postgresql was given.
 7351: if test "${with_postgresql+set}" = set; then :
 7352:   withval=$with_postgresql;
 7353: else
 7354:   with_postgresql=check
 7355: fi
 7356: 
 7357: 
 7358: # with_postgresql : check [pas défini], yes [uniquement --with],
 7359: # no [--without], valeur [--with=valeur].
 7360: 
 7361: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7362:     libPgSQLinc="-I/usr/include"
 7363:     libPgSQLlib="/usr/lib"
 7364: 
 7365:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7366: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7367:     saved_CFLAGS="$CFLAGS"
 7368:     CFLAGS="$CFLAGS $libPgSQLinc"
 7369:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7370: /* end confdefs.h.  */
 7371: #include "libpq-fe.h"
 7372: int
 7373: main ()
 7374: {
 7375: 
 7376:   ;
 7377:   return 0;
 7378: }
 7379: _ACEOF
 7380: if ac_fn_c_try_compile "$LINENO"; then :
 7381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7382: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7383: else
 7384:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7385: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7386: fi
 7387: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7388:     CFLAGS=$saved_CFLAGS
 7389: 
 7390:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7391:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7392: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7393:         saved_CFLAGS="$CFLAGS"
 7394:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7395:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7396: /* end confdefs.h.  */
 7397: #include "libpq-fe.h"
 7398: int
 7399: main ()
 7400: {
 7401: 
 7402:   ;
 7403:   return 0;
 7404: }
 7405: _ACEOF
 7406: if ac_fn_c_try_compile "$LINENO"; then :
 7407:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7408: $as_echo "yes" >&6; };
 7409:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7410: else
 7411:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7412: $as_echo "no" >&6; };
 7413:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7414: fi
 7415: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7416:         CFLAGS=$saved_CFLAGS
 7417:         libPgSQLinc=$libPgSQLinc/postgresql
 7418:     fi
 7419: 
 7420:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7421:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7422: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7423:         saved_CFLAGS="$CFLAGS"
 7424:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7425:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7426: /* end confdefs.h.  */
 7427: #include "libpq-fe.h"
 7428: int
 7429: main ()
 7430: {
 7431: 
 7432:   ;
 7433:   return 0;
 7434: }
 7435: _ACEOF
 7436: if ac_fn_c_try_compile "$LINENO"; then :
 7437:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7438: $as_echo "yes" >&6; };
 7439:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7440: else
 7441:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7442: $as_echo "no" >&6; };
 7443:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7444: fi
 7445: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7446:         CFLAGS=$saved_CFLAGS
 7447:         libPgSQLinc=$libPgSQLinc/pgsql
 7448:     fi
 7449: 
 7450:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7451:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7452: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7453:         saved_CFLAGS="$CFLAGS"
 7454:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7455:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7456: /* end confdefs.h.  */
 7457: #include "libpq-fe.h"
 7458: int
 7459: main ()
 7460: {
 7461: 
 7462:   ;
 7463:   return 0;
 7464: }
 7465: _ACEOF
 7466: if ac_fn_c_try_compile "$LINENO"; then :
 7467:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7468: $as_echo "yes" >&6; };
 7469:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7470: else
 7471:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7472: $as_echo "no" >&6; };
 7473:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7474: fi
 7475: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7476:         CFLAGS=$saved_CFLAGS
 7477:         libPgSQLinc=$libPgSQLinc/../local/include
 7478:         libPgSQLlib=$libPgSQLlib/../local/lib
 7479:     fi
 7480: 
 7481:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7482:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7483: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7484:         saved_CFLAGS="$CFLAGS"
 7485:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7486:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7487: /* end confdefs.h.  */
 7488: #include "libpq-fe.h"
 7489: int
 7490: main ()
 7491: {
 7492: 
 7493:   ;
 7494:   return 0;
 7495: }
 7496: _ACEOF
 7497: if ac_fn_c_try_compile "$LINENO"; then :
 7498:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7499: $as_echo "yes" >&6; };
 7500:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7501: else
 7502:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7503: $as_echo "no" >&6; };
 7504:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7505: fi
 7506: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7507:         CFLAGS=$saved_CFLAGS
 7508:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7509:         libPgSQLlib=$libPgSQLlib/../local/lib
 7510:     fi
 7511: 
 7512:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7513:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7514: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7515:         saved_CFLAGS="$CFLAGS"
 7516:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7517:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7518: /* end confdefs.h.  */
 7519: #include "libpq-fe.h"
 7520: int
 7521: main ()
 7522: {
 7523: 
 7524:   ;
 7525:   return 0;
 7526: }
 7527: _ACEOF
 7528: if ac_fn_c_try_compile "$LINENO"; then :
 7529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7530: $as_echo "yes" >&6; };
 7531:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7532: else
 7533:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7534: $as_echo "no" >&6; };
 7535:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7536: fi
 7537: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7538:         CFLAGS=$saved_CFLAGS
 7539:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7540:         libPgSQLlib=$libPgSQLlib/../local/lib
 7541:     fi
 7542: else
 7543:     if test "x$with_postgresql" != xno; then
 7544:         libPgSQLinc="-I$with_postgresql/include"
 7545:         libPgSQLlib="$with_postgresql/lib"
 7546: 
 7547:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7548: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7549:         saved_CFLAGS="$CFLAGS"
 7550:         CFLAGS="$CFLAGS $libPgSQLinc"
 7551:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7552: /* end confdefs.h.  */
 7553: #include "libpq-fe.h"
 7554: int
 7555: main ()
 7556: {
 7557: 
 7558:   ;
 7559:   return 0;
 7560: }
 7561: _ACEOF
 7562: if ac_fn_c_try_compile "$LINENO"; then :
 7563:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7564: $as_echo "yes" >&6; };
 7565:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7566: else
 7567:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7568: $as_echo "no" >&6; };
 7569:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7570: fi
 7571: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7572:         CFLAGS=$saved_CFLAGS
 7573: 
 7574:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7575:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7576: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7577:             saved_CFLAGS="$CFLAGS"
 7578:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7579:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7580: /* end confdefs.h.  */
 7581: #include "libpq-fe.h"
 7582: int
 7583: main ()
 7584: {
 7585: 
 7586:   ;
 7587:   return 0;
 7588: }
 7589: _ACEOF
 7590: if ac_fn_c_try_compile "$LINENO"; then :
 7591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7592: $as_echo "yes" >&6; };
 7593:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7594: else
 7595:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7596: $as_echo "no" >&6; };
 7597:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7598: fi
 7599: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7600:             CFLAGS=$saved_CFLAGS
 7601:             libPgSQLinc=$libPgSQLinc/postgresql
 7602:         fi
 7603: 
 7604:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7605:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7606: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7607:             saved_CFLAGS="$CFLAGS"
 7608:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 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:             libPgSQLinc=$libPgSQLinc/pgsql
 7632:         fi
 7633:     else
 7634:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7635:     fi
 7636: fi
 7637: 
 7638: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7639:     POSTGRESQL_LIB=no
 7640: 
 7641:     if test $POSTGRESQL_LIB = no; then
 7642:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7643: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7644:         saved_LIBS="$LIBS"
 7645:         if test $STATIC = no; then
 7646:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7647:         else
 7648:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 7649:         fi
 7650:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7651: /* end confdefs.h.  */
 7652: #include "libpq-fe.h"
 7653: int
 7654: main ()
 7655: {
 7656: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 7657:              PQconnectdb(conninfo);
 7658:   ;
 7659:   return 0;
 7660: }
 7661: _ACEOF
 7662: if ac_fn_c_try_link "$LINENO"; then :
 7663:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7664: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 7665: else
 7666:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7667: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 7668: fi
 7669: rm -f core conftest.err conftest.$ac_objext \
 7670:     conftest$ac_exeext conftest.$ac_ext
 7671:         LIBS=$saved_LIBS;
 7672:         if test $STATIC = no; then
 7673:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 7674:         else
 7675:             libPgSQLlib="$libPgSQLlib/libpq.a"
 7676:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 7677:         fi
 7678:     fi
 7679: fi
 7680: 
 7681: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 7682:     libPgSQLinc=
 7683:     libPgSQLlib=
 7684: fi
 7685: 
 7686: 
 7687: 
 7688: 
 7689: 
 7690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 7691: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 7692: if test "${ac_cv_path_GREP+set}" = set; then :
 7693:   $as_echo_n "(cached) " >&6
 7694: else
 7695:   if test -z "$GREP"; then
 7696:   ac_path_GREP_found=false
 7697:   # Loop through the user's path and test for each of PROGNAME-LIST
 7698:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7699: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7700: do
 7701:   IFS=$as_save_IFS
 7702:   test -z "$as_dir" && as_dir=.
 7703:     for ac_prog in grep ggrep; do
 7704:     for ac_exec_ext in '' $ac_executable_extensions; do
 7705:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 7706:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 7707: # Check for GNU ac_path_GREP and select it if it is found.
 7708:   # Check for GNU $ac_path_GREP
 7709: case `"$ac_path_GREP" --version 2>&1` in
 7710: *GNU*)
 7711:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 7712: *)
 7713:   ac_count=0
 7714:   $as_echo_n 0123456789 >"conftest.in"
 7715:   while :
 7716:   do
 7717:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7718:     mv "conftest.tmp" "conftest.in"
 7719:     cp "conftest.in" "conftest.nl"
 7720:     $as_echo 'GREP' >> "conftest.nl"
 7721:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7722:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7723:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7724:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 7725:       # Best one so far, save it but keep looking for a better one
 7726:       ac_cv_path_GREP="$ac_path_GREP"
 7727:       ac_path_GREP_max=$ac_count
 7728:     fi
 7729:     # 10*(2^10) chars as input seems more than enough
 7730:     test $ac_count -gt 10 && break
 7731:   done
 7732:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7733: esac
 7734: 
 7735:       $ac_path_GREP_found && break 3
 7736:     done
 7737:   done
 7738:   done
 7739: IFS=$as_save_IFS
 7740:   if test -z "$ac_cv_path_GREP"; then
 7741:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7742:   fi
 7743: else
 7744:   ac_cv_path_GREP=$GREP
 7745: fi
 7746: 
 7747: fi
 7748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 7749: $as_echo "$ac_cv_path_GREP" >&6; }
 7750:  GREP="$ac_cv_path_GREP"
 7751: 
 7752: 
 7753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 7754: $as_echo_n "checking for egrep... " >&6; }
 7755: if test "${ac_cv_path_EGREP+set}" = set; then :
 7756:   $as_echo_n "(cached) " >&6
 7757: else
 7758:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 7759:    then ac_cv_path_EGREP="$GREP -E"
 7760:    else
 7761:      if test -z "$EGREP"; then
 7762:   ac_path_EGREP_found=false
 7763:   # Loop through the user's path and test for each of PROGNAME-LIST
 7764:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7765: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7766: do
 7767:   IFS=$as_save_IFS
 7768:   test -z "$as_dir" && as_dir=.
 7769:     for ac_prog in egrep; do
 7770:     for ac_exec_ext in '' $ac_executable_extensions; do
 7771:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 7772:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 7773: # Check for GNU ac_path_EGREP and select it if it is found.
 7774:   # Check for GNU $ac_path_EGREP
 7775: case `"$ac_path_EGREP" --version 2>&1` in
 7776: *GNU*)
 7777:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 7778: *)
 7779:   ac_count=0
 7780:   $as_echo_n 0123456789 >"conftest.in"
 7781:   while :
 7782:   do
 7783:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7784:     mv "conftest.tmp" "conftest.in"
 7785:     cp "conftest.in" "conftest.nl"
 7786:     $as_echo 'EGREP' >> "conftest.nl"
 7787:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7788:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7789:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7790:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 7791:       # Best one so far, save it but keep looking for a better one
 7792:       ac_cv_path_EGREP="$ac_path_EGREP"
 7793:       ac_path_EGREP_max=$ac_count
 7794:     fi
 7795:     # 10*(2^10) chars as input seems more than enough
 7796:     test $ac_count -gt 10 && break
 7797:   done
 7798:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7799: esac
 7800: 
 7801:       $ac_path_EGREP_found && break 3
 7802:     done
 7803:   done
 7804:   done
 7805: IFS=$as_save_IFS
 7806:   if test -z "$ac_cv_path_EGREP"; then
 7807:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7808:   fi
 7809: else
 7810:   ac_cv_path_EGREP=$EGREP
 7811: fi
 7812: 
 7813:    fi
 7814: fi
 7815: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 7816: $as_echo "$ac_cv_path_EGREP" >&6; }
 7817:  EGREP="$ac_cv_path_EGREP"
 7818: 
 7819: 
 7820: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 7821: $as_echo_n "checking for ANSI C header files... " >&6; }
 7822: if test "${ac_cv_header_stdc+set}" = set; then :
 7823:   $as_echo_n "(cached) " >&6
 7824: else
 7825:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7826: /* end confdefs.h.  */
 7827: #include <stdlib.h>
 7828: #include <stdarg.h>
 7829: #include <string.h>
 7830: #include <float.h>
 7831: 
 7832: int
 7833: main ()
 7834: {
 7835: 
 7836:   ;
 7837:   return 0;
 7838: }
 7839: _ACEOF
 7840: if ac_fn_c_try_compile "$LINENO"; then :
 7841:   ac_cv_header_stdc=yes
 7842: else
 7843:   ac_cv_header_stdc=no
 7844: fi
 7845: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7846: 
 7847: if test $ac_cv_header_stdc = yes; then
 7848:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 7849:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7850: /* end confdefs.h.  */
 7851: #include <string.h>
 7852: 
 7853: _ACEOF
 7854: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7855:   $EGREP "memchr" >/dev/null 2>&1; then :
 7856: 
 7857: else
 7858:   ac_cv_header_stdc=no
 7859: fi
 7860: rm -f conftest*
 7861: 
 7862: fi
 7863: 
 7864: if test $ac_cv_header_stdc = yes; then
 7865:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 7866:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7867: /* end confdefs.h.  */
 7868: #include <stdlib.h>
 7869: 
 7870: _ACEOF
 7871: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7872:   $EGREP "free" >/dev/null 2>&1; then :
 7873: 
 7874: else
 7875:   ac_cv_header_stdc=no
 7876: fi
 7877: rm -f conftest*
 7878: 
 7879: fi
 7880: 
 7881: if test $ac_cv_header_stdc = yes; then
 7882:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 7883:   if test "$cross_compiling" = yes; then :
 7884:   :
 7885: else
 7886:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7887: /* end confdefs.h.  */
 7888: #include <ctype.h>
 7889: #include <stdlib.h>
 7890: #if ((' ' & 0x0FF) == 0x020)
 7891: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 7892: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 7893: #else
 7894: # define ISLOWER(c) \
 7895:            (('a' <= (c) && (c) <= 'i') \
 7896:              || ('j' <= (c) && (c) <= 'r') \
 7897:              || ('s' <= (c) && (c) <= 'z'))
 7898: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 7899: #endif
 7900: 
 7901: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 7902: int
 7903: main ()
 7904: {
 7905:   int i;
 7906:   for (i = 0; i < 256; i++)
 7907:     if (XOR (islower (i), ISLOWER (i))
 7908:     || toupper (i) != TOUPPER (i))
 7909:       return 2;
 7910:   return 0;
 7911: }
 7912: _ACEOF
 7913: if ac_fn_c_try_run "$LINENO"; then :
 7914: 
 7915: else
 7916:   ac_cv_header_stdc=no
 7917: fi
 7918: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 7919:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 7920: fi
 7921: 
 7922: fi
 7923: fi
 7924: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 7925: $as_echo "$ac_cv_header_stdc" >&6; }
 7926: if test $ac_cv_header_stdc = yes; then
 7927: 
 7928: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 7929: 
 7930: fi
 7931: 
 7932: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 7933: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 7934:           inttypes.h stdint.h unistd.h
 7935: do :
 7936:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 7937: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 7938: "
 7939: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 7940:   cat >>confdefs.h <<_ACEOF
 7941: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 7942: _ACEOF
 7943: 
 7944: fi
 7945: 
 7946: done
 7947: 
 7948: 
 7949: # The cast to long int works around a bug in the HP C Compiler
 7950: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7951: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7952: # This bug is HP SR number 8606223364.
 7953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 7954: $as_echo_n "checking size of void *... " >&6; }
 7955: if test "${ac_cv_sizeof_void_p+set}" = set; then :
 7956:   $as_echo_n "(cached) " >&6
 7957: else
 7958:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 7959: 
 7960: else
 7961:   if test "$ac_cv_type_void_p" = yes; then
 7962:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7963: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7964: as_fn_error 77 "cannot compute sizeof (void *)
 7965: See \`config.log' for more details" "$LINENO" 5 ; }
 7966:    else
 7967:      ac_cv_sizeof_void_p=0
 7968:    fi
 7969: fi
 7970: 
 7971: fi
 7972: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 7973: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 7974: 
 7975: 
 7976: 
 7977: cat >>confdefs.h <<_ACEOF
 7978: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 7979: _ACEOF
 7980: 
 7981: 
 7982: # The cast to long int works around a bug in the HP C Compiler
 7983: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7984: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7985: # This bug is HP SR number 8606223364.
 7986: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 7987: $as_echo_n "checking size of char... " >&6; }
 7988: if test "${ac_cv_sizeof_char+set}" = set; then :
 7989:   $as_echo_n "(cached) " >&6
 7990: else
 7991:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 7992: 
 7993: else
 7994:   if test "$ac_cv_type_char" = yes; then
 7995:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7996: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7997: as_fn_error 77 "cannot compute sizeof (char)
 7998: See \`config.log' for more details" "$LINENO" 5 ; }
 7999:    else
 8000:      ac_cv_sizeof_char=0
 8001:    fi
 8002: fi
 8003: 
 8004: fi
 8005: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 8006: $as_echo "$ac_cv_sizeof_char" >&6; }
 8007: 
 8008: 
 8009: 
 8010: cat >>confdefs.h <<_ACEOF
 8011: #define SIZEOF_CHAR $ac_cv_sizeof_char
 8012: _ACEOF
 8013: 
 8014: 
 8015: # The cast to long int works around a bug in the HP C Compiler
 8016: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8017: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8018: # This bug is HP SR number 8606223364.
 8019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 8020: $as_echo_n "checking size of short int... " >&6; }
 8021: if test "${ac_cv_sizeof_short_int+set}" = set; then :
 8022:   $as_echo_n "(cached) " >&6
 8023: else
 8024:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 8025: 
 8026: else
 8027:   if test "$ac_cv_type_short_int" = yes; then
 8028:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8029: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8030: as_fn_error 77 "cannot compute sizeof (short int)
 8031: See \`config.log' for more details" "$LINENO" 5 ; }
 8032:    else
 8033:      ac_cv_sizeof_short_int=0
 8034:    fi
 8035: fi
 8036: 
 8037: fi
 8038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8039: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8040: 
 8041: 
 8042: 
 8043: cat >>confdefs.h <<_ACEOF
 8044: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8045: _ACEOF
 8046: 
 8047: 
 8048: # The cast to long int works around a bug in the HP C Compiler
 8049: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8050: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8051: # This bug is HP SR number 8606223364.
 8052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8053: $as_echo_n "checking size of int... " >&6; }
 8054: if test "${ac_cv_sizeof_int+set}" = set; then :
 8055:   $as_echo_n "(cached) " >&6
 8056: else
 8057:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8058: 
 8059: else
 8060:   if test "$ac_cv_type_int" = yes; then
 8061:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8062: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8063: as_fn_error 77 "cannot compute sizeof (int)
 8064: See \`config.log' for more details" "$LINENO" 5 ; }
 8065:    else
 8066:      ac_cv_sizeof_int=0
 8067:    fi
 8068: fi
 8069: 
 8070: fi
 8071: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8072: $as_echo "$ac_cv_sizeof_int" >&6; }
 8073: 
 8074: 
 8075: 
 8076: cat >>confdefs.h <<_ACEOF
 8077: #define SIZEOF_INT $ac_cv_sizeof_int
 8078: _ACEOF
 8079: 
 8080: 
 8081: # The cast to long int works around a bug in the HP C Compiler
 8082: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8083: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8084: # This bug is HP SR number 8606223364.
 8085: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8086: $as_echo_n "checking size of long int... " >&6; }
 8087: if test "${ac_cv_sizeof_long_int+set}" = set; then :
 8088:   $as_echo_n "(cached) " >&6
 8089: else
 8090:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8091: 
 8092: else
 8093:   if test "$ac_cv_type_long_int" = yes; then
 8094:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8095: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8096: as_fn_error 77 "cannot compute sizeof (long int)
 8097: See \`config.log' for more details" "$LINENO" 5 ; }
 8098:    else
 8099:      ac_cv_sizeof_long_int=0
 8100:    fi
 8101: fi
 8102: 
 8103: fi
 8104: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8105: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8106: 
 8107: 
 8108: 
 8109: cat >>confdefs.h <<_ACEOF
 8110: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8111: _ACEOF
 8112: 
 8113: 
 8114: # The cast to long int works around a bug in the HP C Compiler
 8115: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8116: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8117: # This bug is HP SR number 8606223364.
 8118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8119: $as_echo_n "checking size of long long int... " >&6; }
 8120: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
 8121:   $as_echo_n "(cached) " >&6
 8122: else
 8123:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8124: 
 8125: else
 8126:   if test "$ac_cv_type_long_long_int" = yes; then
 8127:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8128: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8129: as_fn_error 77 "cannot compute sizeof (long long int)
 8130: See \`config.log' for more details" "$LINENO" 5 ; }
 8131:    else
 8132:      ac_cv_sizeof_long_long_int=0
 8133:    fi
 8134: fi
 8135: 
 8136: fi
 8137: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8138: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8139: 
 8140: 
 8141: 
 8142: cat >>confdefs.h <<_ACEOF
 8143: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8144: _ACEOF
 8145: 
 8146: 
 8147: # The cast to long int works around a bug in the HP C Compiler
 8148: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8149: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8150: # This bug is HP SR number 8606223364.
 8151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8152: $as_echo_n "checking size of float... " >&6; }
 8153: if test "${ac_cv_sizeof_float+set}" = set; then :
 8154:   $as_echo_n "(cached) " >&6
 8155: else
 8156:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8157: 
 8158: else
 8159:   if test "$ac_cv_type_float" = yes; then
 8160:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8161: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8162: as_fn_error 77 "cannot compute sizeof (float)
 8163: See \`config.log' for more details" "$LINENO" 5 ; }
 8164:    else
 8165:      ac_cv_sizeof_float=0
 8166:    fi
 8167: fi
 8168: 
 8169: fi
 8170: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8171: $as_echo "$ac_cv_sizeof_float" >&6; }
 8172: 
 8173: 
 8174: 
 8175: cat >>confdefs.h <<_ACEOF
 8176: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8177: _ACEOF
 8178: 
 8179: 
 8180: # The cast to long int works around a bug in the HP C Compiler
 8181: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8182: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8183: # This bug is HP SR number 8606223364.
 8184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8185: $as_echo_n "checking size of double... " >&6; }
 8186: if test "${ac_cv_sizeof_double+set}" = set; then :
 8187:   $as_echo_n "(cached) " >&6
 8188: else
 8189:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8190: 
 8191: else
 8192:   if test "$ac_cv_type_double" = yes; then
 8193:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8194: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8195: as_fn_error 77 "cannot compute sizeof (double)
 8196: See \`config.log' for more details" "$LINENO" 5 ; }
 8197:    else
 8198:      ac_cv_sizeof_double=0
 8199:    fi
 8200: fi
 8201: 
 8202: fi
 8203: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8204: $as_echo "$ac_cv_sizeof_double" >&6; }
 8205: 
 8206: 
 8207: 
 8208: cat >>confdefs.h <<_ACEOF
 8209: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8210: _ACEOF
 8211: 
 8212: 
 8213: # The cast to long int works around a bug in the HP C Compiler
 8214: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8215: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8216: # This bug is HP SR number 8606223364.
 8217: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8218: $as_echo_n "checking size of long double... " >&6; }
 8219: if test "${ac_cv_sizeof_long_double+set}" = set; then :
 8220:   $as_echo_n "(cached) " >&6
 8221: else
 8222:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8223: 
 8224: else
 8225:   if test "$ac_cv_type_long_double" = yes; then
 8226:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8227: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8228: as_fn_error 77 "cannot compute sizeof (long double)
 8229: See \`config.log' for more details" "$LINENO" 5 ; }
 8230:    else
 8231:      ac_cv_sizeof_long_double=0
 8232:    fi
 8233: fi
 8234: 
 8235: fi
 8236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8237: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8238: 
 8239: 
 8240: 
 8241: cat >>confdefs.h <<_ACEOF
 8242: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8243: _ACEOF
 8244: 
 8245: 
 8246: 
 8247: ac_header_dirent=no
 8248: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8249:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8250: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8251: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8252: if eval "test \"\${$as_ac_Header+set}\"" = set; then :
 8253:   $as_echo_n "(cached) " >&6
 8254: else
 8255:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8256: /* end confdefs.h.  */
 8257: #include <sys/types.h>
 8258: #include <$ac_hdr>
 8259: 
 8260: int
 8261: main ()
 8262: {
 8263: if ((DIR *) 0)
 8264: return 0;
 8265:   ;
 8266:   return 0;
 8267: }
 8268: _ACEOF
 8269: if ac_fn_c_try_compile "$LINENO"; then :
 8270:   eval "$as_ac_Header=yes"
 8271: else
 8272:   eval "$as_ac_Header=no"
 8273: fi
 8274: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8275: fi
 8276: eval ac_res=\$$as_ac_Header
 8277:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8278: $as_echo "$ac_res" >&6; }
 8279: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8280:   cat >>confdefs.h <<_ACEOF
 8281: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8282: _ACEOF
 8283: 
 8284: ac_header_dirent=$ac_hdr; break
 8285: fi
 8286: 
 8287: done
 8288: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8289: if test $ac_header_dirent = dirent.h; then
 8290:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8291: $as_echo_n "checking for library containing opendir... " >&6; }
 8292: if test "${ac_cv_search_opendir+set}" = set; then :
 8293:   $as_echo_n "(cached) " >&6
 8294: else
 8295:   ac_func_search_save_LIBS=$LIBS
 8296: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8297: /* end confdefs.h.  */
 8298: 
 8299: /* Override any GCC internal prototype to avoid an error.
 8300:    Use char because int might match the return type of a GCC
 8301:    builtin and then its argument prototype would still apply.  */
 8302: #ifdef __cplusplus
 8303: extern "C"
 8304: #endif
 8305: char opendir ();
 8306: int
 8307: main ()
 8308: {
 8309: return opendir ();
 8310:   ;
 8311:   return 0;
 8312: }
 8313: _ACEOF
 8314: for ac_lib in '' dir; do
 8315:   if test -z "$ac_lib"; then
 8316:     ac_res="none required"
 8317:   else
 8318:     ac_res=-l$ac_lib
 8319:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8320:   fi
 8321:   if ac_fn_c_try_link "$LINENO"; then :
 8322:   ac_cv_search_opendir=$ac_res
 8323: fi
 8324: rm -f core conftest.err conftest.$ac_objext \
 8325:     conftest$ac_exeext
 8326:   if test "${ac_cv_search_opendir+set}" = set; then :
 8327:   break
 8328: fi
 8329: done
 8330: if test "${ac_cv_search_opendir+set}" = set; then :
 8331: 
 8332: else
 8333:   ac_cv_search_opendir=no
 8334: fi
 8335: rm conftest.$ac_ext
 8336: LIBS=$ac_func_search_save_LIBS
 8337: fi
 8338: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8339: $as_echo "$ac_cv_search_opendir" >&6; }
 8340: ac_res=$ac_cv_search_opendir
 8341: if test "$ac_res" != no; then :
 8342:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8343: 
 8344: fi
 8345: 
 8346: else
 8347:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8348: $as_echo_n "checking for library containing opendir... " >&6; }
 8349: if test "${ac_cv_search_opendir+set}" = set; then :
 8350:   $as_echo_n "(cached) " >&6
 8351: else
 8352:   ac_func_search_save_LIBS=$LIBS
 8353: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8354: /* end confdefs.h.  */
 8355: 
 8356: /* Override any GCC internal prototype to avoid an error.
 8357:    Use char because int might match the return type of a GCC
 8358:    builtin and then its argument prototype would still apply.  */
 8359: #ifdef __cplusplus
 8360: extern "C"
 8361: #endif
 8362: char opendir ();
 8363: int
 8364: main ()
 8365: {
 8366: return opendir ();
 8367:   ;
 8368:   return 0;
 8369: }
 8370: _ACEOF
 8371: for ac_lib in '' x; do
 8372:   if test -z "$ac_lib"; then
 8373:     ac_res="none required"
 8374:   else
 8375:     ac_res=-l$ac_lib
 8376:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8377:   fi
 8378:   if ac_fn_c_try_link "$LINENO"; then :
 8379:   ac_cv_search_opendir=$ac_res
 8380: fi
 8381: rm -f core conftest.err conftest.$ac_objext \
 8382:     conftest$ac_exeext
 8383:   if test "${ac_cv_search_opendir+set}" = set; then :
 8384:   break
 8385: fi
 8386: done
 8387: if test "${ac_cv_search_opendir+set}" = set; then :
 8388: 
 8389: else
 8390:   ac_cv_search_opendir=no
 8391: fi
 8392: rm conftest.$ac_ext
 8393: LIBS=$ac_func_search_save_LIBS
 8394: fi
 8395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8396: $as_echo "$ac_cv_search_opendir" >&6; }
 8397: ac_res=$ac_cv_search_opendir
 8398: if test "$ac_res" != no; then :
 8399:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8400: 
 8401: fi
 8402: 
 8403: fi
 8404: 
 8405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8406: $as_echo_n "checking for ANSI C header files... " >&6; }
 8407: if test "${ac_cv_header_stdc+set}" = set; then :
 8408:   $as_echo_n "(cached) " >&6
 8409: else
 8410:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8411: /* end confdefs.h.  */
 8412: #include <stdlib.h>
 8413: #include <stdarg.h>
 8414: #include <string.h>
 8415: #include <float.h>
 8416: 
 8417: int
 8418: main ()
 8419: {
 8420: 
 8421:   ;
 8422:   return 0;
 8423: }
 8424: _ACEOF
 8425: if ac_fn_c_try_compile "$LINENO"; then :
 8426:   ac_cv_header_stdc=yes
 8427: else
 8428:   ac_cv_header_stdc=no
 8429: fi
 8430: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8431: 
 8432: if test $ac_cv_header_stdc = yes; then
 8433:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8434:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8435: /* end confdefs.h.  */
 8436: #include <string.h>
 8437: 
 8438: _ACEOF
 8439: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8440:   $EGREP "memchr" >/dev/null 2>&1; then :
 8441: 
 8442: else
 8443:   ac_cv_header_stdc=no
 8444: fi
 8445: rm -f conftest*
 8446: 
 8447: fi
 8448: 
 8449: if test $ac_cv_header_stdc = yes; then
 8450:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8451:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8452: /* end confdefs.h.  */
 8453: #include <stdlib.h>
 8454: 
 8455: _ACEOF
 8456: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8457:   $EGREP "free" >/dev/null 2>&1; then :
 8458: 
 8459: else
 8460:   ac_cv_header_stdc=no
 8461: fi
 8462: rm -f conftest*
 8463: 
 8464: fi
 8465: 
 8466: if test $ac_cv_header_stdc = yes; then
 8467:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8468:   if test "$cross_compiling" = yes; then :
 8469:   :
 8470: else
 8471:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8472: /* end confdefs.h.  */
 8473: #include <ctype.h>
 8474: #include <stdlib.h>
 8475: #if ((' ' & 0x0FF) == 0x020)
 8476: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8477: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8478: #else
 8479: # define ISLOWER(c) \
 8480:            (('a' <= (c) && (c) <= 'i') \
 8481:              || ('j' <= (c) && (c) <= 'r') \
 8482:              || ('s' <= (c) && (c) <= 'z'))
 8483: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8484: #endif
 8485: 
 8486: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8487: int
 8488: main ()
 8489: {
 8490:   int i;
 8491:   for (i = 0; i < 256; i++)
 8492:     if (XOR (islower (i), ISLOWER (i))
 8493:     || toupper (i) != TOUPPER (i))
 8494:       return 2;
 8495:   return 0;
 8496: }
 8497: _ACEOF
 8498: if ac_fn_c_try_run "$LINENO"; then :
 8499: 
 8500: else
 8501:   ac_cv_header_stdc=no
 8502: fi
 8503: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8504:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8505: fi
 8506: 
 8507: fi
 8508: fi
 8509: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8510: $as_echo "$ac_cv_header_stdc" >&6; }
 8511: if test $ac_cv_header_stdc = yes; then
 8512: 
 8513: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8514: 
 8515: fi
 8516: 
 8517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8518: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8519: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 8520:   $as_echo_n "(cached) " >&6
 8521: else
 8522:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8523: /* end confdefs.h.  */
 8524: #include <sys/types.h>
 8525: #include <sys/wait.h>
 8526: #ifndef WEXITSTATUS
 8527: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8528: #endif
 8529: #ifndef WIFEXITED
 8530: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8531: #endif
 8532: 
 8533: int
 8534: main ()
 8535: {
 8536:   int s;
 8537:   wait (&s);
 8538:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8539:   ;
 8540:   return 0;
 8541: }
 8542: _ACEOF
 8543: if ac_fn_c_try_compile "$LINENO"; then :
 8544:   ac_cv_header_sys_wait_h=yes
 8545: else
 8546:   ac_cv_header_sys_wait_h=no
 8547: fi
 8548: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8549: fi
 8550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8551: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8552: if test $ac_cv_header_sys_wait_h = yes; then
 8553: 
 8554: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8555: 
 8556: fi
 8557: 
 8558: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8559:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8560:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8561: do :
 8562:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8563: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8564: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8565:   cat >>confdefs.h <<_ACEOF
 8566: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8567: _ACEOF
 8568: 
 8569: fi
 8570: 
 8571: done
 8572: 
 8573: 
 8574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8575: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8576: if test "${ac_cv_c_const+set}" = set; then :
 8577:   $as_echo_n "(cached) " >&6
 8578: else
 8579:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8580: /* end confdefs.h.  */
 8581: 
 8582: int
 8583: main ()
 8584: {
 8585: /* FIXME: Include the comments suggested by Paul. */
 8586: #ifndef __cplusplus
 8587:   /* Ultrix mips cc rejects this.  */
 8588:   typedef int charset[2];
 8589:   const charset cs;
 8590:   /* SunOS 4.1.1 cc rejects this.  */
 8591:   char const *const *pcpcc;
 8592:   char **ppc;
 8593:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8594:   struct point {int x, y;};
 8595:   static struct point const zero = {0,0};
 8596:   /* AIX XL C 1.02.0.0 rejects this.
 8597:      It does not let you subtract one const X* pointer from another in
 8598:      an arm of an if-expression whose if-part is not a constant
 8599:      expression */
 8600:   const char *g = "string";
 8601:   pcpcc = &g + (g ? g-g : 0);
 8602:   /* HPUX 7.0 cc rejects these. */
 8603:   ++pcpcc;
 8604:   ppc = (char**) pcpcc;
 8605:   pcpcc = (char const *const *) ppc;
 8606:   { /* SCO 3.2v4 cc rejects this.  */
 8607:     char *t;
 8608:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8609: 
 8610:     *t++ = 0;
 8611:     if (s) return 0;
 8612:   }
 8613:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8614:     int x[] = {25, 17};
 8615:     const int *foo = &x[0];
 8616:     ++foo;
 8617:   }
 8618:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 8619:     typedef const int *iptr;
 8620:     iptr p = 0;
 8621:     ++p;
 8622:   }
 8623:   { /* AIX XL C 1.02.0.0 rejects this saying
 8624:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 8625:     struct s { int j; const int *ap[3]; };
 8626:     struct s *b; b->j = 5;
 8627:   }
 8628:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 8629:     const int foo = 10;
 8630:     if (!foo) return 0;
 8631:   }
 8632:   return !cs[0] && !zero.x;
 8633: #endif
 8634: 
 8635:   ;
 8636:   return 0;
 8637: }
 8638: _ACEOF
 8639: if ac_fn_c_try_compile "$LINENO"; then :
 8640:   ac_cv_c_const=yes
 8641: else
 8642:   ac_cv_c_const=no
 8643: fi
 8644: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8645: fi
 8646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 8647: $as_echo "$ac_cv_c_const" >&6; }
 8648: if test $ac_cv_c_const = no; then
 8649: 
 8650: $as_echo "#define const /**/" >>confdefs.h
 8651: 
 8652: fi
 8653: 
 8654: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 8655: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 8656: if test "${ac_cv_type_uid_t+set}" = set; then :
 8657:   $as_echo_n "(cached) " >&6
 8658: else
 8659:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8660: /* end confdefs.h.  */
 8661: #include <sys/types.h>
 8662: 
 8663: _ACEOF
 8664: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8665:   $EGREP "uid_t" >/dev/null 2>&1; then :
 8666:   ac_cv_type_uid_t=yes
 8667: else
 8668:   ac_cv_type_uid_t=no
 8669: fi
 8670: rm -f conftest*
 8671: 
 8672: fi
 8673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 8674: $as_echo "$ac_cv_type_uid_t" >&6; }
 8675: if test $ac_cv_type_uid_t = no; then
 8676: 
 8677: $as_echo "#define uid_t int" >>confdefs.h
 8678: 
 8679: 
 8680: $as_echo "#define gid_t int" >>confdefs.h
 8681: 
 8682: fi
 8683: 
 8684: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 8685: if test "x$ac_cv_type_pid_t" = x""yes; then :
 8686: 
 8687: else
 8688: 
 8689: cat >>confdefs.h <<_ACEOF
 8690: #define pid_t int
 8691: _ACEOF
 8692: 
 8693: fi
 8694: 
 8695: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 8696: if test "x$ac_cv_type_size_t" = x""yes; then :
 8697: 
 8698: else
 8699: 
 8700: cat >>confdefs.h <<_ACEOF
 8701: #define size_t unsigned int
 8702: _ACEOF
 8703: 
 8704: fi
 8705: 
 8706: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 8707: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 8708: if test "${ac_cv_header_time+set}" = set; then :
 8709:   $as_echo_n "(cached) " >&6
 8710: else
 8711:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8712: /* end confdefs.h.  */
 8713: #include <sys/types.h>
 8714: #include <sys/time.h>
 8715: #include <time.h>
 8716: 
 8717: int
 8718: main ()
 8719: {
 8720: if ((struct tm *) 0)
 8721: return 0;
 8722:   ;
 8723:   return 0;
 8724: }
 8725: _ACEOF
 8726: if ac_fn_c_try_compile "$LINENO"; then :
 8727:   ac_cv_header_time=yes
 8728: else
 8729:   ac_cv_header_time=no
 8730: fi
 8731: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8732: fi
 8733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 8734: $as_echo "$ac_cv_header_time" >&6; }
 8735: if test $ac_cv_header_time = yes; then
 8736: 
 8737: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 8738: 
 8739: fi
 8740: 
 8741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 8742: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 8743: if test "${ac_cv_struct_tm+set}" = set; then :
 8744:   $as_echo_n "(cached) " >&6
 8745: else
 8746:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8747: /* end confdefs.h.  */
 8748: #include <sys/types.h>
 8749: #include <time.h>
 8750: 
 8751: int
 8752: main ()
 8753: {
 8754: struct tm tm;
 8755:                      int *p = &tm.tm_sec;
 8756:                      return !p;
 8757:   ;
 8758:   return 0;
 8759: }
 8760: _ACEOF
 8761: if ac_fn_c_try_compile "$LINENO"; then :
 8762:   ac_cv_struct_tm=time.h
 8763: else
 8764:   ac_cv_struct_tm=sys/time.h
 8765: fi
 8766: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8767: fi
 8768: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 8769: $as_echo "$ac_cv_struct_tm" >&6; }
 8770: if test $ac_cv_struct_tm = sys/time.h; then
 8771: 
 8772: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 8773: 
 8774: fi
 8775: 
 8776: 
 8777: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 8778: $as_echo_n "checking return type of signal handlers... " >&6; }
 8779: if test "${ac_cv_type_signal+set}" = set; then :
 8780:   $as_echo_n "(cached) " >&6
 8781: else
 8782:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8783: /* end confdefs.h.  */
 8784: #include <sys/types.h>
 8785: #include <signal.h>
 8786: 
 8787: int
 8788: main ()
 8789: {
 8790: return *(signal (0, 0)) (0) == 1;
 8791:   ;
 8792:   return 0;
 8793: }
 8794: _ACEOF
 8795: if ac_fn_c_try_compile "$LINENO"; then :
 8796:   ac_cv_type_signal=int
 8797: else
 8798:   ac_cv_type_signal=void
 8799: fi
 8800: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8801: fi
 8802: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 8803: $as_echo "$ac_cv_type_signal" >&6; }
 8804: 
 8805: cat >>confdefs.h <<_ACEOF
 8806: #define RETSIGTYPE $ac_cv_type_signal
 8807: _ACEOF
 8808: 
 8809: 
 8810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
 8811: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
 8812: if test "$cross_compiling" = yes; then :
 8813:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8814: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8815: as_fn_error $? "cannot run test program while cross compiling
 8816: See \`config.log' for more details" "$LINENO" 5 ; }
 8817: else
 8818:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8819: /* end confdefs.h.  */
 8820: #include <unistd.h>
 8821: #include <signal.h>
 8822: int flag;
 8823: void handler(int signal, siginfo_t *siginfo, void *context)
 8824: { flag = ((*siginfo).si_pid == getpid()) ? 0 : -1; }
 8825: int
 8826: main ()
 8827: {
 8828: struct sigaction    action;
 8829: action.sa_sigaction = handler;
 8830: action.sa_flags = SA_SIGINFO;
 8831: sigaction(SIGUSR1, &action, NULL);
 8832: raise(SIGUSR1);
 8833: return(flag);
 8834:   ;
 8835:   return 0;
 8836: }
 8837: _ACEOF
 8838: if ac_fn_c_try_run "$LINENO"; then :
 8839:   BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8840: $as_echo "no" >&6; }
 8841: else
 8842:   BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 8843: $as_echo "yes" >&6; }
 8844: fi
 8845: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8846:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8847: fi
 8848: 
 8849: 
 8850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 8851: $as_echo_n "checking for working strcoll... " >&6; }
 8852: if test "${ac_cv_func_strcoll_works+set}" = set; then :
 8853:   $as_echo_n "(cached) " >&6
 8854: else
 8855:   if test "$cross_compiling" = yes; then :
 8856:   ac_cv_func_strcoll_works=no
 8857: else
 8858:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8859: /* end confdefs.h.  */
 8860: $ac_includes_default
 8861: int
 8862: main ()
 8863: {
 8864: return (strcoll ("abc", "def") >= 0 ||
 8865:      strcoll ("ABC", "DEF") >= 0 ||
 8866:      strcoll ("123", "456") >= 0)
 8867:   ;
 8868:   return 0;
 8869: }
 8870: _ACEOF
 8871: if ac_fn_c_try_run "$LINENO"; then :
 8872:   ac_cv_func_strcoll_works=yes
 8873: else
 8874:   ac_cv_func_strcoll_works=no
 8875: fi
 8876: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8877:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8878: fi
 8879: 
 8880: fi
 8881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 8882: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 8883: if test $ac_cv_func_strcoll_works = yes; then
 8884: 
 8885: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 8886: 
 8887: fi
 8888: 
 8889: for ac_func in strftime
 8890: do :
 8891:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 8892: if test "x$ac_cv_func_strftime" = x""yes; then :
 8893:   cat >>confdefs.h <<_ACEOF
 8894: #define HAVE_STRFTIME 1
 8895: _ACEOF
 8896: 
 8897: else
 8898:   # strftime is in -lintl on SCO UNIX.
 8899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 8900: $as_echo_n "checking for strftime in -lintl... " >&6; }
 8901: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 8902:   $as_echo_n "(cached) " >&6
 8903: else
 8904:   ac_check_lib_save_LIBS=$LIBS
 8905: LIBS="-lintl  $LIBS"
 8906: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8907: /* end confdefs.h.  */
 8908: 
 8909: /* Override any GCC internal prototype to avoid an error.
 8910:    Use char because int might match the return type of a GCC
 8911:    builtin and then its argument prototype would still apply.  */
 8912: #ifdef __cplusplus
 8913: extern "C"
 8914: #endif
 8915: char strftime ();
 8916: int
 8917: main ()
 8918: {
 8919: return strftime ();
 8920:   ;
 8921:   return 0;
 8922: }
 8923: _ACEOF
 8924: if ac_fn_c_try_link "$LINENO"; then :
 8925:   ac_cv_lib_intl_strftime=yes
 8926: else
 8927:   ac_cv_lib_intl_strftime=no
 8928: fi
 8929: rm -f core conftest.err conftest.$ac_objext \
 8930:     conftest$ac_exeext conftest.$ac_ext
 8931: LIBS=$ac_check_lib_save_LIBS
 8932: fi
 8933: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 8934: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 8935: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 8936:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 8937: 
 8938: LIBS="-lintl $LIBS"
 8939: fi
 8940: 
 8941: fi
 8942: done
 8943: 
 8944: for ac_func in vprintf
 8945: do :
 8946:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 8947: if test "x$ac_cv_func_vprintf" = x""yes; then :
 8948:   cat >>confdefs.h <<_ACEOF
 8949: #define HAVE_VPRINTF 1
 8950: _ACEOF
 8951: 
 8952: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 8953: if test "x$ac_cv_func__doprnt" = x""yes; then :
 8954: 
 8955: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 8956: 
 8957: fi
 8958: 
 8959: fi
 8960: done
 8961: 
 8962: 
 8963: for ac_func in ftime getcwd putenv select strcspn strdup \
 8964:         strerror strspn strstr strtod
 8965: do :
 8966:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 8967: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 8968: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 8969:   cat >>confdefs.h <<_ACEOF
 8970: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 8971: _ACEOF
 8972: 
 8973: fi
 8974: done
 8975: 
 8976: 
 8977: 
 8978: # Check whether --with-openssl_arch was given.
 8979: if test "${with_openssl_arch+set}" = set; then :
 8980:   withval=$with_openssl_arch;
 8981: else
 8982:   with_openssl_arch=none
 8983: fi
 8984: 
 8985: 
 8986: if test $(uname) = "OS/2"; then
 8987:     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 8988: else
 8989:     if test "x$with_openssl_arch" = xnone; then
 8990:         (cd tools/$OPENSSL && ./config)
 8991:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 8992:         (cd tools/$OPENSSL && ./Configure)
 8993:         as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
 8994:     elif test "x$with_openssl_arch" = xlist; then
 8995:         (cd tools/$OPENSSL && ./Configure)
 8996:         as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
 8997:     else
 8998:         (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
 8999:     fi
 9000: fi
 9001: 
 9002: 
 9003: 
 9004: subdirs="$subdirs tools/$NCURSES"
 9005: 
 9006: subdirs="$subdirs tools/$READLINE"
 9007: 
 9008: subdirs="$subdirs tools/$GSL"
 9009: 
 9010: subdirs="$subdirs tools/$GPP"
 9011: 
 9012: subdirs="$subdirs tools/$FILE"
 9013: 
 9014: subdirs="$subdirs tools/$ICONV"
 9015: 
 9016: subdirs="$subdirs tools/$SQLITE"
 9017: 
 9018: subdirs="$subdirs tools/$UNITS"
 9019: 
 9020: 
 9021: if test "$MYGNUPLOT" = "yes"; then
 9022:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 9023:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 9024:                 (cd "$srcdir/tools" && tar -xf -)
 9025:     fi
 9026:     subdirs="$subdirs tools/$GNUPLOT"
 9027: 
 9028:     GNUPLOT_COMPILATION=$GNUPLOT
 9029: else
 9030:     GNUPLOT_COMPILATION=
 9031: fi
 9032: 
 9033: 
 9034: 
 9035: case $host_cpu in
 9036: 
 9037:     i?86)
 9038:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9039:             -Wno-pointer-sign"
 9040:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9041:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9042:     break ;;
 9043: 
 9044:     x86_64*)
 9045:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9046:             -Wno-pointer-sign"
 9047:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9048:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9049:     break ;;
 9050: 
 9051:     alpha*)
 9052:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
 9053:             -Wno-pointer-sign"
 9054:     FFLAGS="$FFLAGS -mieee -Wall"
 9055:     FCFLAGS="$FCFLAGS -mieee -Wall"
 9056:     break ;;
 9057: 
 9058:     sparc*)
 9059:     CFLAGS="$CFLAGS -Wall -funsigned-char \
 9060:             -Wno-pointer-sign"
 9061:     FFLAGS="$FFLAGS -Wall"
 9062:     FCFLAGS="$FCFLAGS -Wall"
 9063:     break ;;
 9064: 
 9065: esac
 9066: 
 9067: case $host_os in
 9068: 
 9069:     cygwin*)
 9070:         OS=Cygwin
 9071:     break ;;
 9072: 
 9073:     interix*)
 9074:         OS=Interix
 9075:     break ;;
 9076: 
 9077:     *)
 9078:         OS=$(uname)
 9079:     break ;;
 9080: 
 9081: esac
 9082: 
 9083: 
 9084: 
 9085: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9086: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9087: 
 9088: case $OS in
 9089: 
 9090:     Darwin)
 9091:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9092:         NESTED_FUNCTIONS=-fnested-functions
 9093:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9094:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9095:         IPCS_SYSV=-UIPCS_SYSV
 9096:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9097:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9098:                 --disable-shared --enable-static"
 9099:         C_STANDARD=-std=gnu99
 9100:     break ;;
 9101: 
 9102:     Cygwin)
 9103:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9104:         NESTED_FUNCTIONS=
 9105:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9106:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9107:         IPCS_SYSV=-UIPCS_SYSV
 9108:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9109:                 --disable-shared --enable-static"
 9110:         C_STANDARD=-std=gnu99
 9111:     break ;;
 9112: 
 9113:     Interix)
 9114:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9115:         NESTED_FUNCTIONS=
 9116:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9117:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9118:         IPCS_SYSV=-UIPCS_SYSV
 9119:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9120:                 --disable-shared --enable-static"
 9121:         C_STANDARD=-std=gnu99
 9122:     break;;
 9123: 
 9124:     AIX)
 9125:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9126:         NESTED_FUNCTIONS=
 9127:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9128:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9129:         IPCS_SYSV=-UIPCS_SYSV
 9130:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9131:                 --disable-shared --enable-static"
 9132:         C_STANDARD=-std=gnu99
 9133:     break ;;
 9134: 
 9135:     OS/2)
 9136:         MALLOC=
 9137:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9138:             FINAL_ENCODING=CP850; \
 9139:         fi;
 9140:         OS=OS2
 9141:         NESTED_FUNCTIONS=
 9142:         EXPORT_DYNAMIC=-Zmap
 9143:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9144:         SEMAPHORES_SYSV=-DSEMAPHORES_SYSV
 9145:         IPCS_SYSV=-DIPCS_SYSV
 9146:         ac_configure_args="$ac_configure_args --without-readline \
 9147:                 --without-cairo --disable-shared --enable-static"
 9148:         C_STANDARD=
 9149:     break;;
 9150: 
 9151:     OpenBSD)
 9152:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9153:             FINAL_ENCODING=UTF-8; \
 9154:         fi;
 9155:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9156:         NESTED_FUNCTIONS=
 9157:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9158:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9159:         IPCS_SYSV=-DIPCS_SYSV
 9160:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9161:                 --disable-shared --enable-static"
 9162:         C_STANDARD=-std=gnu99
 9163:     break;;
 9164: 
 9165:     *)
 9166:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9167:         NESTED_FUNCTIONS=
 9168:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9169: 
 9170:         if test $IPCS_SYSV = no; then
 9171:             SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9172:             IPCS_SYSV=-UIPCS_SYSV
 9173:         else
 9174:             SEMAPHORES_SYSV=-DSEMAPHORES_SYSV
 9175:             IPCS_SYSV=-DIPCS_SYSV
 9176:         fi
 9177: 
 9178:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9179:                 --disable-shared --enable-static"
 9180:         C_STANDARD=-std=gnu99
 9181:     break ;;
 9182: 
 9183: esac
 9184: 
 9185: 
 9186: 
 9187: 
 9188: 
 9189: 
 9190: 
 9191: 
 9192: 
 9193: 
 9194: 
 9195: 
 9196: 
 9197: 
 9198: 
 9199: 
 9200: 
 9201: 
 9202: 
 9203: 
 9204: 
 9205: 
 9206: 
 9207: 
 9208: 
 9209: 
 9210: 
 9211: 
 9212: 
 9213: 
 9214: 
 9215: 
 9216: ac_config_files="$ac_config_files Makefile"
 9217: 
 9218: ac_config_files="$ac_config_files COPYING"
 9219: 
 9220: ac_config_files="$ac_config_files tools/Makefile"
 9221: 
 9222: ac_config_files="$ac_config_files src/Makefile"
 9223: 
 9224: ac_config_files="$ac_config_files man/Makefile"
 9225: 
 9226: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9227: 
 9228: ac_config_files="$ac_config_files doc/Makefile"
 9229: 
 9230: ac_config_files="$ac_config_files scripts/Makefile"
 9231: 
 9232: ac_config_files="$ac_config_files scripts/mkrplso"
 9233: 
 9234: ac_config_files="$ac_config_files scripts/rplcc"
 9235: 
 9236: ac_config_files="$ac_config_files scripts/rpllink"
 9237: 
 9238: ac_config_files="$ac_config_files rpltags/Makefile"
 9239: 
 9240: ac_config_files="$ac_config_files rpliconv/Makefile"
 9241: 
 9242: ac_config_files="$ac_config_files rplsums/Makefile"
 9243: 
 9244: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9245: 
 9246: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9247: 
 9248: ac_config_files="$ac_config_files ptmalloc3/Makefile"
 9249: 
 9250: 
 9251: ac_config_files="$ac_config_files man/rpl.1"
 9252: 
 9253: ac_config_files="$ac_config_files man/rplcc.1"
 9254: 
 9255: ac_config_files="$ac_config_files man/rpllink.1"
 9256: 
 9257: ac_config_files="$ac_config_files man/rpltags.1"
 9258: 
 9259: ac_config_files="$ac_config_files man/mkrplso.1"
 9260: 
 9261: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9262: 
 9263: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9264: 
 9265: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9266: 
 9267: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9268: 
 9269: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9270: 
 9271: 
 9272: cat >confcache <<\_ACEOF
 9273: # This file is a shell script that caches the results of configure
 9274: # tests run on this system so they can be shared between configure
 9275: # scripts and configure runs, see configure's option --config-cache.
 9276: # It is not useful on other systems.  If it contains results you don't
 9277: # want to keep, you may remove or edit it.
 9278: #
 9279: # config.status only pays attention to the cache file if you give it
 9280: # the --recheck option to rerun configure.
 9281: #
 9282: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9283: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9284: # following values.
 9285: 
 9286: _ACEOF
 9287: 
 9288: # The following way of writing the cache mishandles newlines in values,
 9289: # but we know of no workaround that is simple, portable, and efficient.
 9290: # So, we kill variables containing newlines.
 9291: # Ultrix sh set writes to stderr and can't be redirected directly,
 9292: # and sets the high bit in the cache file unless we assign to the vars.
 9293: (
 9294:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9295:     eval ac_val=\$$ac_var
 9296:     case $ac_val in #(
 9297:     *${as_nl}*)
 9298:       case $ac_var in #(
 9299:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9300: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9301:       esac
 9302:       case $ac_var in #(
 9303:       _ | IFS | as_nl) ;; #(
 9304:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9305:       *) { eval $ac_var=; unset $ac_var;} ;;
 9306:       esac ;;
 9307:     esac
 9308:   done
 9309: 
 9310:   (set) 2>&1 |
 9311:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9312:     *${as_nl}ac_space=\ *)
 9313:       # `set' does not quote correctly, so add quotes: double-quote
 9314:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9315:       sed -n \
 9316:     "s/'/'\\\\''/g;
 9317:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9318:       ;; #(
 9319:     *)
 9320:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9321:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9322:       ;;
 9323:     esac |
 9324:     sort
 9325: ) |
 9326:   sed '
 9327:      /^ac_cv_env_/b end
 9328:      t clear
 9329:      :clear
 9330:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9331:      t end
 9332:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9333:      :end' >>confcache
 9334: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9335:   if test -w "$cache_file"; then
 9336:     test "x$cache_file" != "x/dev/null" &&
 9337:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9338: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9339:     cat confcache >$cache_file
 9340:   else
 9341:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9342: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9343:   fi
 9344: fi
 9345: rm -f confcache
 9346: 
 9347: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9348: # Let make expand exec_prefix.
 9349: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9350: 
 9351: DEFS=-DHAVE_CONFIG_H
 9352: 
 9353: ac_libobjs=
 9354: ac_ltlibobjs=
 9355: U=
 9356: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9357:   # 1. Remove the extension, and $U if already installed.
 9358:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9359:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9360:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9361:   #    will be set to the directory where LIBOBJS objects are built.
 9362:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9363:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9364: done
 9365: LIBOBJS=$ac_libobjs
 9366: 
 9367: LTLIBOBJS=$ac_ltlibobjs
 9368: 
 9369: 
 9370:  if test -n "$EXEEXT"; then
 9371:   am__EXEEXT_TRUE=
 9372:   am__EXEEXT_FALSE='#'
 9373: else
 9374:   am__EXEEXT_TRUE='#'
 9375:   am__EXEEXT_FALSE=
 9376: fi
 9377: 
 9378: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9379:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 9380: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9381: fi
 9382: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9383:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 9384: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9385: fi
 9386: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9387:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 9388: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9389: fi
 9390: 
 9391: : ${CONFIG_STATUS=./config.status}
 9392: ac_write_fail=0
 9393: ac_clean_files_save=$ac_clean_files
 9394: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9395: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9396: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9397: as_write_fail=0
 9398: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9399: #! $SHELL
 9400: # Generated by $as_me.
 9401: # Run this file to recreate the current configuration.
 9402: # Compiler output produced by configure, useful for debugging
 9403: # configure, is in config.log if it exists.
 9404: 
 9405: debug=false
 9406: ac_cs_recheck=false
 9407: ac_cs_silent=false
 9408: 
 9409: SHELL=\${CONFIG_SHELL-$SHELL}
 9410: export SHELL
 9411: _ASEOF
 9412: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9413: ## -------------------- ##
 9414: ## M4sh Initialization. ##
 9415: ## -------------------- ##
 9416: 
 9417: # Be more Bourne compatible
 9418: DUALCASE=1; export DUALCASE # for MKS sh
 9419: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9420:   emulate sh
 9421:   NULLCMD=:
 9422:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9423:   # is contrary to our usage.  Disable this feature.
 9424:   alias -g '${1+"$@"}'='"$@"'
 9425:   setopt NO_GLOB_SUBST
 9426: else
 9427:   case `(set -o) 2>/dev/null` in #(
 9428:   *posix*) :
 9429:     set -o posix ;; #(
 9430:   *) :
 9431:      ;;
 9432: esac
 9433: fi
 9434: 
 9435: 
 9436: as_nl='
 9437: '
 9438: export as_nl
 9439: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9440: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9441: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9442: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9443: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9444: # but without wasting forks for bash or zsh.
 9445: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9446:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9447:   as_echo='print -r --'
 9448:   as_echo_n='print -rn --'
 9449: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9450:   as_echo='printf %s\n'
 9451:   as_echo_n='printf %s'
 9452: else
 9453:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9454:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9455:     as_echo_n='/usr/ucb/echo -n'
 9456:   else
 9457:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9458:     as_echo_n_body='eval
 9459:       arg=$1;
 9460:       case $arg in #(
 9461:       *"$as_nl"*)
 9462:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9463:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9464:       esac;
 9465:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9466:     '
 9467:     export as_echo_n_body
 9468:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9469:   fi
 9470:   export as_echo_body
 9471:   as_echo='sh -c $as_echo_body as_echo'
 9472: fi
 9473: 
 9474: # The user is always right.
 9475: if test "${PATH_SEPARATOR+set}" != set; then
 9476:   PATH_SEPARATOR=:
 9477:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9478:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9479:       PATH_SEPARATOR=';'
 9480:   }
 9481: fi
 9482: 
 9483: 
 9484: # IFS
 9485: # We need space, tab and new line, in precisely that order.  Quoting is
 9486: # there to prevent editors from complaining about space-tab.
 9487: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9488: # splitting by setting IFS to empty value.)
 9489: IFS=" ""    $as_nl"
 9490: 
 9491: # Find who we are.  Look in the path if we contain no directory separator.
 9492: case $0 in #((
 9493:   *[\\/]* ) as_myself=$0 ;;
 9494:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9495: for as_dir in $PATH
 9496: do
 9497:   IFS=$as_save_IFS
 9498:   test -z "$as_dir" && as_dir=.
 9499:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9500:   done
 9501: IFS=$as_save_IFS
 9502: 
 9503:      ;;
 9504: esac
 9505: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9506: # in which case we are not to be found in the path.
 9507: if test "x$as_myself" = x; then
 9508:   as_myself=$0
 9509: fi
 9510: if test ! -f "$as_myself"; then
 9511:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9512:   exit 1
 9513: fi
 9514: 
 9515: # Unset variables that we do not need and which cause bugs (e.g. in
 9516: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9517: # suppresses any "Segmentation fault" message there.  '((' could
 9518: # trigger a bug in pdksh 5.2.14.
 9519: for as_var in BASH_ENV ENV MAIL MAILPATH
 9520: do eval test x\${$as_var+set} = xset \
 9521:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9522: done
 9523: PS1='$ '
 9524: PS2='> '
 9525: PS4='+ '
 9526: 
 9527: # NLS nuisances.
 9528: LC_ALL=C
 9529: export LC_ALL
 9530: LANGUAGE=C
 9531: export LANGUAGE
 9532: 
 9533: # CDPATH.
 9534: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9535: 
 9536: 
 9537: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 9538: # ----------------------------------------
 9539: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9540: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9541: # script with STATUS, using 1 if that was 0.
 9542: as_fn_error ()
 9543: {
 9544:   as_status=$1; test $as_status -eq 0 && as_status=1
 9545:   if test "$4"; then
 9546:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 9547:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 9548:   fi
 9549:   $as_echo "$as_me: error: $2" >&2
 9550:   as_fn_exit $as_status
 9551: } # as_fn_error
 9552: 
 9553: 
 9554: # as_fn_set_status STATUS
 9555: # -----------------------
 9556: # Set $? to STATUS, without forking.
 9557: as_fn_set_status ()
 9558: {
 9559:   return $1
 9560: } # as_fn_set_status
 9561: 
 9562: # as_fn_exit STATUS
 9563: # -----------------
 9564: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 9565: as_fn_exit ()
 9566: {
 9567:   set +e
 9568:   as_fn_set_status $1
 9569:   exit $1
 9570: } # as_fn_exit
 9571: 
 9572: # as_fn_unset VAR
 9573: # ---------------
 9574: # Portably unset VAR.
 9575: as_fn_unset ()
 9576: {
 9577:   { eval $1=; unset $1;}
 9578: }
 9579: as_unset=as_fn_unset
 9580: # as_fn_append VAR VALUE
 9581: # ----------------------
 9582: # Append the text in VALUE to the end of the definition contained in VAR. Take
 9583: # advantage of any shell optimizations that allow amortized linear growth over
 9584: # repeated appends, instead of the typical quadratic growth present in naive
 9585: # implementations.
 9586: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 9587:   eval 'as_fn_append ()
 9588:   {
 9589:     eval $1+=\$2
 9590:   }'
 9591: else
 9592:   as_fn_append ()
 9593:   {
 9594:     eval $1=\$$1\$2
 9595:   }
 9596: fi # as_fn_append
 9597: 
 9598: # as_fn_arith ARG...
 9599: # ------------------
 9600: # Perform arithmetic evaluation on the ARGs, and store the result in the
 9601: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 9602: # must be portable across $(()) and expr.
 9603: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 9604:   eval 'as_fn_arith ()
 9605:   {
 9606:     as_val=$(( $* ))
 9607:   }'
 9608: else
 9609:   as_fn_arith ()
 9610:   {
 9611:     as_val=`expr "$@" || test $? -eq 1`
 9612:   }
 9613: fi # as_fn_arith
 9614: 
 9615: 
 9616: if expr a : '\(a\)' >/dev/null 2>&1 &&
 9617:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 9618:   as_expr=expr
 9619: else
 9620:   as_expr=false
 9621: fi
 9622: 
 9623: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 9624:   as_basename=basename
 9625: else
 9626:   as_basename=false
 9627: fi
 9628: 
 9629: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 9630:   as_dirname=dirname
 9631: else
 9632:   as_dirname=false
 9633: fi
 9634: 
 9635: as_me=`$as_basename -- "$0" ||
 9636: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 9637:      X"$0" : 'X\(//\)$' \| \
 9638:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 9639: $as_echo X/"$0" |
 9640:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 9641:         s//\1/
 9642:         q
 9643:       }
 9644:       /^X\/\(\/\/\)$/{
 9645:         s//\1/
 9646:         q
 9647:       }
 9648:       /^X\/\(\/\).*/{
 9649:         s//\1/
 9650:         q
 9651:       }
 9652:       s/.*/./; q'`
 9653: 
 9654: # Avoid depending upon Character Ranges.
 9655: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 9656: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 9657: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 9658: as_cr_digits='0123456789'
 9659: as_cr_alnum=$as_cr_Letters$as_cr_digits
 9660: 
 9661: ECHO_C= ECHO_N= ECHO_T=
 9662: case `echo -n x` in #(((((
 9663: -n*)
 9664:   case `echo 'xy\c'` in
 9665:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 9666:   xy)  ECHO_C='\c';;
 9667:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 9668:        ECHO_T=' ';;
 9669:   esac;;
 9670: *)
 9671:   ECHO_N='-n';;
 9672: esac
 9673: 
 9674: rm -f conf$$ conf$$.exe conf$$.file
 9675: if test -d conf$$.dir; then
 9676:   rm -f conf$$.dir/conf$$.file
 9677: else
 9678:   rm -f conf$$.dir
 9679:   mkdir conf$$.dir 2>/dev/null
 9680: fi
 9681: if (echo >conf$$.file) 2>/dev/null; then
 9682:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 9683:     as_ln_s='ln -s'
 9684:     # ... but there are two gotchas:
 9685:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 9686:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 9687:     # In both cases, we have to default to `cp -p'.
 9688:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 9689:       as_ln_s='cp -p'
 9690:   elif ln conf$$.file conf$$ 2>/dev/null; then
 9691:     as_ln_s=ln
 9692:   else
 9693:     as_ln_s='cp -p'
 9694:   fi
 9695: else
 9696:   as_ln_s='cp -p'
 9697: fi
 9698: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 9699: rmdir conf$$.dir 2>/dev/null
 9700: 
 9701: 
 9702: # as_fn_mkdir_p
 9703: # -------------
 9704: # Create "$as_dir" as a directory, including parents if necessary.
 9705: as_fn_mkdir_p ()
 9706: {
 9707: 
 9708:   case $as_dir in #(
 9709:   -*) as_dir=./$as_dir;;
 9710:   esac
 9711:   test -d "$as_dir" || eval $as_mkdir_p || {
 9712:     as_dirs=
 9713:     while :; do
 9714:       case $as_dir in #(
 9715:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 9716:       *) as_qdir=$as_dir;;
 9717:       esac
 9718:       as_dirs="'$as_qdir' $as_dirs"
 9719:       as_dir=`$as_dirname -- "$as_dir" ||
 9720: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 9721:      X"$as_dir" : 'X\(//\)[^/]' \| \
 9722:      X"$as_dir" : 'X\(//\)$' \| \
 9723:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 9724: $as_echo X"$as_dir" |
 9725:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 9726:         s//\1/
 9727:         q
 9728:       }
 9729:       /^X\(\/\/\)[^/].*/{
 9730:         s//\1/
 9731:         q
 9732:       }
 9733:       /^X\(\/\/\)$/{
 9734:         s//\1/
 9735:         q
 9736:       }
 9737:       /^X\(\/\).*/{
 9738:         s//\1/
 9739:         q
 9740:       }
 9741:       s/.*/./; q'`
 9742:       test -d "$as_dir" && break
 9743:     done
 9744:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 9745:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 9746: 
 9747: 
 9748: } # as_fn_mkdir_p
 9749: if mkdir -p . 2>/dev/null; then
 9750:   as_mkdir_p='mkdir -p "$as_dir"'
 9751: else
 9752:   test -d ./-p && rmdir ./-p
 9753:   as_mkdir_p=false
 9754: fi
 9755: 
 9756: if test -x / >/dev/null 2>&1; then
 9757:   as_test_x='test -x'
 9758: else
 9759:   if ls -dL / >/dev/null 2>&1; then
 9760:     as_ls_L_option=L
 9761:   else
 9762:     as_ls_L_option=
 9763:   fi
 9764:   as_test_x='
 9765:     eval sh -c '\''
 9766:       if test -d "$1"; then
 9767:     test -d "$1/.";
 9768:       else
 9769:     case $1 in #(
 9770:     -*)set "./$1";;
 9771:     esac;
 9772:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 9773:     ???[sx]*):;;*)false;;esac;fi
 9774:     '\'' sh
 9775:   '
 9776: fi
 9777: as_executable_p=$as_test_x
 9778: 
 9779: # Sed expression to map a string onto a valid CPP name.
 9780: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 9781: 
 9782: # Sed expression to map a string onto a valid variable name.
 9783: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 9784: 
 9785: 
 9786: exec 6>&1
 9787: ## ----------------------------------- ##
 9788: ## Main body of $CONFIG_STATUS script. ##
 9789: ## ----------------------------------- ##
 9790: _ASEOF
 9791: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 9792: 
 9793: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9794: # Save the log message, to keep $0 and so on meaningful, and to
 9795: # report actual input values of CONFIG_FILES etc. instead of their
 9796: # values after options handling.
 9797: ac_log="
 9798: This file was extended by rpl $as_me 4.0.19, which was
 9799: generated by GNU Autoconf 2.67.  Invocation command line was
 9800: 
 9801:   CONFIG_FILES    = $CONFIG_FILES
 9802:   CONFIG_HEADERS  = $CONFIG_HEADERS
 9803:   CONFIG_LINKS    = $CONFIG_LINKS
 9804:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 9805:   $ $0 $@
 9806: 
 9807: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 9808: "
 9809: 
 9810: _ACEOF
 9811: 
 9812: case $ac_config_files in *"
 9813: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 9814: esac
 9815: 
 9816: case $ac_config_headers in *"
 9817: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 9818: esac
 9819: 
 9820: 
 9821: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9822: # Files that config.status was made for.
 9823: config_files="$ac_config_files"
 9824: config_headers="$ac_config_headers"
 9825: config_commands="$ac_config_commands"
 9826: 
 9827: _ACEOF
 9828: 
 9829: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9830: ac_cs_usage="\
 9831: \`$as_me' instantiates files and other configuration actions
 9832: from templates according to the current configuration.  Unless the files
 9833: and actions are specified as TAGs, all are instantiated by default.
 9834: 
 9835: Usage: $0 [OPTION]... [TAG]...
 9836: 
 9837:   -h, --help       print this help, then exit
 9838:   -V, --version    print version number and configuration settings, then exit
 9839:       --config     print configuration, then exit
 9840:   -q, --quiet, --silent
 9841:                    do not print progress messages
 9842:   -d, --debug      don't remove temporary files
 9843:       --recheck    update $as_me by reconfiguring in the same conditions
 9844:       --file=FILE[:TEMPLATE]
 9845:                    instantiate the configuration file FILE
 9846:       --header=FILE[:TEMPLATE]
 9847:                    instantiate the configuration header FILE
 9848: 
 9849: Configuration files:
 9850: $config_files
 9851: 
 9852: Configuration headers:
 9853: $config_headers
 9854: 
 9855: Configuration commands:
 9856: $config_commands
 9857: 
 9858: Report bugs to the package provider."
 9859: 
 9860: _ACEOF
 9861: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9862: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 9863: ac_cs_version="\\
 9864: rpl config.status 4.0.19
 9865: configured by $0, generated by GNU Autoconf 2.67,
 9866:   with options \\"\$ac_cs_config\\"
 9867: 
 9868: Copyright (C) 2010 Free Software Foundation, Inc.
 9869: This config.status script is free software; the Free Software Foundation
 9870: gives unlimited permission to copy, distribute and modify it."
 9871: 
 9872: ac_pwd='$ac_pwd'
 9873: srcdir='$srcdir'
 9874: INSTALL='$INSTALL'
 9875: MKDIR_P='$MKDIR_P'
 9876: AWK='$AWK'
 9877: test -n "\$AWK" || AWK=awk
 9878: _ACEOF
 9879: 
 9880: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9881: # The default lists apply if the user does not specify any file.
 9882: ac_need_defaults=:
 9883: while test $# != 0
 9884: do
 9885:   case $1 in
 9886:   --*=?*)
 9887:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 9888:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 9889:     ac_shift=:
 9890:     ;;
 9891:   --*=)
 9892:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 9893:     ac_optarg=
 9894:     ac_shift=:
 9895:     ;;
 9896:   *)
 9897:     ac_option=$1
 9898:     ac_optarg=$2
 9899:     ac_shift=shift
 9900:     ;;
 9901:   esac
 9902: 
 9903:   case $ac_option in
 9904:   # Handling of the options.
 9905:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 9906:     ac_cs_recheck=: ;;
 9907:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 9908:     $as_echo "$ac_cs_version"; exit ;;
 9909:   --config | --confi | --conf | --con | --co | --c )
 9910:     $as_echo "$ac_cs_config"; exit ;;
 9911:   --debug | --debu | --deb | --de | --d | -d )
 9912:     debug=: ;;
 9913:   --file | --fil | --fi | --f )
 9914:     $ac_shift
 9915:     case $ac_optarg in
 9916:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 9917:     '') as_fn_error $? "missing file argument" ;;
 9918:     esac
 9919:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 9920:     ac_need_defaults=false;;
 9921:   --header | --heade | --head | --hea )
 9922:     $ac_shift
 9923:     case $ac_optarg in
 9924:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 9925:     esac
 9926:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 9927:     ac_need_defaults=false;;
 9928:   --he | --h)
 9929:     # Conflict between --help and --header
 9930:     as_fn_error $? "ambiguous option: \`$1'
 9931: Try \`$0 --help' for more information.";;
 9932:   --help | --hel | -h )
 9933:     $as_echo "$ac_cs_usage"; exit ;;
 9934:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 9935:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 9936:     ac_cs_silent=: ;;
 9937: 
 9938:   # This is an error.
 9939:   -*) as_fn_error $? "unrecognized option: \`$1'
 9940: Try \`$0 --help' for more information." ;;
 9941: 
 9942:   *) as_fn_append ac_config_targets " $1"
 9943:      ac_need_defaults=false ;;
 9944: 
 9945:   esac
 9946:   shift
 9947: done
 9948: 
 9949: ac_configure_extra_args=
 9950: 
 9951: if $ac_cs_silent; then
 9952:   exec 6>/dev/null
 9953:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 9954: fi
 9955: 
 9956: _ACEOF
 9957: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9958: if \$ac_cs_recheck; then
 9959:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 9960:   shift
 9961:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 9962:   CONFIG_SHELL='$SHELL'
 9963:   export CONFIG_SHELL
 9964:   exec "\$@"
 9965: fi
 9966: 
 9967: _ACEOF
 9968: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9969: exec 5>>config.log
 9970: {
 9971:   echo
 9972:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 9973: ## Running $as_me. ##
 9974: _ASBOX
 9975:   $as_echo "$ac_log"
 9976: } >&5
 9977: 
 9978: _ACEOF
 9979: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9980: #
 9981: # INIT-COMMANDS
 9982: #
 9983: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 9984: 
 9985: _ACEOF
 9986: 
 9987: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9988: 
 9989: # Handling of arguments.
 9990: for ac_config_target in $ac_config_targets
 9991: do
 9992:   case $ac_config_target in
 9993:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
 9994:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 9995:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 9996:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
 9997:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 9998:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 9999:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10000:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10001:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10002:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10003:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10004:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10005:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10006:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10007:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10008:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10009:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10010:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10011:     "ptmalloc3/Makefile") CONFIG_FILES="$CONFIG_FILES ptmalloc3/Makefile" ;;
10012:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10013:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10014:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10015:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10016:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10017:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10018:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10019:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10020:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10021:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10022: 
10023:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
10024:   esac
10025: done
10026: 
10027: 
10028: # If the user did not use the arguments to specify the items to instantiate,
10029: # then the envvar interface is used.  Set only those that are not.
10030: # We use the long form for the default assignment because of an extremely
10031: # bizarre bug on SunOS 4.1.3.
10032: if $ac_need_defaults; then
10033:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10034:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10035:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10036: fi
10037: 
10038: # Have a temporary directory for convenience.  Make it in the build tree
10039: # simply because there is no reason against having it here, and in addition,
10040: # creating and moving files from /tmp can sometimes cause problems.
10041: # Hook for its removal unless debugging.
10042: # Note that there is a small window in which the directory will not be cleaned:
10043: # after its creation but before its name has been assigned to `$tmp'.
10044: $debug ||
10045: {
10046:   tmp=
10047:   trap 'exit_status=$?
10048:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10049: ' 0
10050:   trap 'as_fn_exit 1' 1 2 13 15
10051: }
10052: # Create a (secure) tmp directory for tmp files.
10053: 
10054: {
10055:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10056:   test -n "$tmp" && test -d "$tmp"
10057: }  ||
10058: {
10059:   tmp=./conf$$-$RANDOM
10060:   (umask 077 && mkdir "$tmp")
10061: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10062: 
10063: # Set up the scripts for CONFIG_FILES section.
10064: # No need to generate them if there are no CONFIG_FILES.
10065: # This happens for instance with `./config.status config.h'.
10066: if test -n "$CONFIG_FILES"; then
10067: 
10068: 
10069: ac_cr=`echo X | tr X '\015'`
10070: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10071: # But we know of no other shell where ac_cr would be empty at this
10072: # point, so we can use a bashism as a fallback.
10073: if test "x$ac_cr" = x; then
10074:   eval ac_cr=\$\'\\r\'
10075: fi
10076: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10077: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10078:   ac_cs_awk_cr='\\r'
10079: else
10080:   ac_cs_awk_cr=$ac_cr
10081: fi
10082: 
10083: echo 'BEGIN {' >"$tmp/subs1.awk" &&
10084: _ACEOF
10085: 
10086: 
10087: {
10088:   echo "cat >conf$$subs.awk <<_ACEOF" &&
10089:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10090:   echo "_ACEOF"
10091: } >conf$$subs.sh ||
10092:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10093: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10094: ac_delim='%!_!# '
10095: for ac_last_try in false false false false false :; do
10096:   . ./conf$$subs.sh ||
10097:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10098: 
10099:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10100:   if test $ac_delim_n = $ac_delim_num; then
10101:     break
10102:   elif $ac_last_try; then
10103:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10104:   else
10105:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10106:   fi
10107: done
10108: rm -f conf$$subs.sh
10109: 
10110: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10111: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10112: _ACEOF
10113: sed -n '
10114: h
10115: s/^/S["/; s/!.*/"]=/
10116: p
10117: g
10118: s/^[^!]*!//
10119: :repl
10120: t repl
10121: s/'"$ac_delim"'$//
10122: t delim
10123: :nl
10124: h
10125: s/\(.\{148\}\)..*/\1/
10126: t more1
10127: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10128: p
10129: n
10130: b repl
10131: :more1
10132: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10133: p
10134: g
10135: s/.\{148\}//
10136: t nl
10137: :delim
10138: h
10139: s/\(.\{148\}\)..*/\1/
10140: t more2
10141: s/["\\]/\\&/g; s/^/"/; s/$/"/
10142: p
10143: b
10144: :more2
10145: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10146: p
10147: g
10148: s/.\{148\}//
10149: t delim
10150: ' <conf$$subs.awk | sed '
10151: /^[^""]/{
10152:   N
10153:   s/\n//
10154: }
10155: ' >>$CONFIG_STATUS || ac_write_fail=1
10156: rm -f conf$$subs.awk
10157: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10158: _ACAWK
10159: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10160:   for (key in S) S_is_set[key] = 1
10161:   FS = ""
10162: 
10163: }
10164: {
10165:   line = $ 0
10166:   nfields = split(line, field, "@")
10167:   substed = 0
10168:   len = length(field[1])
10169:   for (i = 2; i < nfields; i++) {
10170:     key = field[i]
10171:     keylen = length(key)
10172:     if (S_is_set[key]) {
10173:       value = S[key]
10174:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10175:       len += length(value) + length(field[++i])
10176:       substed = 1
10177:     } else
10178:       len += 1 + keylen
10179:   }
10180: 
10181:   print line
10182: }
10183: 
10184: _ACAWK
10185: _ACEOF
10186: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10187: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10188:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10189: else
10190:   cat
10191: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10192:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10193: _ACEOF
10194: 
10195: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10196: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10197: # trailing colons and then remove the whole line if VPATH becomes empty
10198: # (actually we leave an empty line to preserve line numbers).
10199: if test "x$srcdir" = x.; then
10200:   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
10201: h
10202: s///
10203: s/^/:/
10204: s/[  ]*$/:/
10205: s/:\$(srcdir):/:/g
10206: s/:\${srcdir}:/:/g
10207: s/:@srcdir@:/:/g
10208: s/^:*//
10209: s/:*$//
10210: x
10211: s/\(=[   ]*\).*/\1/
10212: G
10213: s/\n//
10214: s/^[^=]*=[   ]*$//
10215: }'
10216: fi
10217: 
10218: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10219: fi # test -n "$CONFIG_FILES"
10220: 
10221: # Set up the scripts for CONFIG_HEADERS section.
10222: # No need to generate them if there are no CONFIG_HEADERS.
10223: # This happens for instance with `./config.status Makefile'.
10224: if test -n "$CONFIG_HEADERS"; then
10225: cat >"$tmp/defines.awk" <<\_ACAWK ||
10226: BEGIN {
10227: _ACEOF
10228: 
10229: # Transform confdefs.h into an awk script `defines.awk', embedded as
10230: # here-document in config.status, that substitutes the proper values into
10231: # config.h.in to produce config.h.
10232: 
10233: # Create a delimiter string that does not exist in confdefs.h, to ease
10234: # handling of long lines.
10235: ac_delim='%!_!# '
10236: for ac_last_try in false false :; do
10237:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10238:   if test -z "$ac_t"; then
10239:     break
10240:   elif $ac_last_try; then
10241:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10242:   else
10243:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10244:   fi
10245: done
10246: 
10247: # For the awk script, D is an array of macro values keyed by name,
10248: # likewise P contains macro parameters if any.  Preserve backslash
10249: # newline sequences.
10250: 
10251: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10252: sed -n '
10253: s/.\{148\}/&'"$ac_delim"'/g
10254: t rset
10255: :rset
10256: s/^[     ]*#[    ]*define[   ][  ]*/ /
10257: t def
10258: d
10259: :def
10260: s/\\$//
10261: t bsnl
10262: s/["\\]/\\&/g
10263: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10264: D["\1"]=" \3"/p
10265: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10266: d
10267: :bsnl
10268: s/["\\]/\\&/g
10269: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10270: D["\1"]=" \3\\\\\\n"\\/p
10271: t cont
10272: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10273: t cont
10274: d
10275: :cont
10276: n
10277: s/.\{148\}/&'"$ac_delim"'/g
10278: t clear
10279: :clear
10280: s/\\$//
10281: t bsnlc
10282: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10283: d
10284: :bsnlc
10285: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10286: b cont
10287: ' <confdefs.h | sed '
10288: s/'"$ac_delim"'/"\\\
10289: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10290: 
10291: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10292:   for (key in D) D_is_set[key] = 1
10293:   FS = ""
10294: }
10295: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10296:   line = \$ 0
10297:   split(line, arg, " ")
10298:   if (arg[1] == "#") {
10299:     defundef = arg[2]
10300:     mac1 = arg[3]
10301:   } else {
10302:     defundef = substr(arg[1], 2)
10303:     mac1 = arg[2]
10304:   }
10305:   split(mac1, mac2, "(") #)
10306:   macro = mac2[1]
10307:   prefix = substr(line, 1, index(line, defundef) - 1)
10308:   if (D_is_set[macro]) {
10309:     # Preserve the white space surrounding the "#".
10310:     print prefix "define", macro P[macro] D[macro]
10311:     next
10312:   } else {
10313:     # Replace #undef with comments.  This is necessary, for example,
10314:     # in the case of _POSIX_SOURCE, which is predefined and required
10315:     # on some systems where configure will not decide to define it.
10316:     if (defundef == "undef") {
10317:       print "/*", prefix defundef, macro, "*/"
10318:       next
10319:     }
10320:   }
10321: }
10322: { print }
10323: _ACAWK
10324: _ACEOF
10325: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10326:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10327: fi # test -n "$CONFIG_HEADERS"
10328: 
10329: 
10330: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10331: shift
10332: for ac_tag
10333: do
10334:   case $ac_tag in
10335:   :[FHLC]) ac_mode=$ac_tag; continue;;
10336:   esac
10337:   case $ac_mode$ac_tag in
10338:   :[FHL]*:*);;
10339:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
10340:   :[FH]-) ac_tag=-:-;;
10341:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10342:   esac
10343:   ac_save_IFS=$IFS
10344:   IFS=:
10345:   set x $ac_tag
10346:   IFS=$ac_save_IFS
10347:   shift
10348:   ac_file=$1
10349:   shift
10350: 
10351:   case $ac_mode in
10352:   :L) ac_source=$1;;
10353:   :[FH])
10354:     ac_file_inputs=
10355:     for ac_f
10356:     do
10357:       case $ac_f in
10358:       -) ac_f="$tmp/stdin";;
10359:       *) # Look for the file first in the build tree, then in the source tree
10360:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10361:      # because $ac_f cannot contain `:'.
10362:      test -f "$ac_f" ||
10363:        case $ac_f in
10364:        [\\/$]*) false;;
10365:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10366:        esac ||
10367:        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
10368:       esac
10369:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10370:       as_fn_append ac_file_inputs " '$ac_f'"
10371:     done
10372: 
10373:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10374:     # use $as_me), people would be surprised to read:
10375:     #    /* config.h.  Generated by config.status.  */
10376:     configure_input='Generated from '`
10377:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10378:     `' by configure.'
10379:     if test x"$ac_file" != x-; then
10380:       configure_input="$ac_file.  $configure_input"
10381:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10382: $as_echo "$as_me: creating $ac_file" >&6;}
10383:     fi
10384:     # Neutralize special characters interpreted by sed in replacement strings.
10385:     case $configure_input in #(
10386:     *\&* | *\|* | *\\* )
10387:        ac_sed_conf_input=`$as_echo "$configure_input" |
10388:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10389:     *) ac_sed_conf_input=$configure_input;;
10390:     esac
10391: 
10392:     case $ac_tag in
10393:     *:-:* | *:-) cat >"$tmp/stdin" \
10394:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
10395:     esac
10396:     ;;
10397:   esac
10398: 
10399:   ac_dir=`$as_dirname -- "$ac_file" ||
10400: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10401:      X"$ac_file" : 'X\(//\)[^/]' \| \
10402:      X"$ac_file" : 'X\(//\)$' \| \
10403:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10404: $as_echo X"$ac_file" |
10405:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10406:         s//\1/
10407:         q
10408:       }
10409:       /^X\(\/\/\)[^/].*/{
10410:         s//\1/
10411:         q
10412:       }
10413:       /^X\(\/\/\)$/{
10414:         s//\1/
10415:         q
10416:       }
10417:       /^X\(\/\).*/{
10418:         s//\1/
10419:         q
10420:       }
10421:       s/.*/./; q'`
10422:   as_dir="$ac_dir"; as_fn_mkdir_p
10423:   ac_builddir=.
10424: 
10425: case "$ac_dir" in
10426: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10427: *)
10428:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10429:   # A ".." for each directory in $ac_dir_suffix.
10430:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10431:   case $ac_top_builddir_sub in
10432:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10433:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10434:   esac ;;
10435: esac
10436: ac_abs_top_builddir=$ac_pwd
10437: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10438: # for backward compatibility:
10439: ac_top_builddir=$ac_top_build_prefix
10440: 
10441: case $srcdir in
10442:   .)  # We are building in place.
10443:     ac_srcdir=.
10444:     ac_top_srcdir=$ac_top_builddir_sub
10445:     ac_abs_top_srcdir=$ac_pwd ;;
10446:   [\\/]* | ?:[\\/]* )  # Absolute name.
10447:     ac_srcdir=$srcdir$ac_dir_suffix;
10448:     ac_top_srcdir=$srcdir
10449:     ac_abs_top_srcdir=$srcdir ;;
10450:   *) # Relative name.
10451:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10452:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10453:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10454: esac
10455: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10456: 
10457: 
10458:   case $ac_mode in
10459:   :F)
10460:   #
10461:   # CONFIG_FILE
10462:   #
10463: 
10464:   case $INSTALL in
10465:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10466:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10467:   esac
10468:   ac_MKDIR_P=$MKDIR_P
10469:   case $MKDIR_P in
10470:   [\\/$]* | ?:[\\/]* ) ;;
10471:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10472:   esac
10473: _ACEOF
10474: 
10475: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10476: # If the template does not know about datarootdir, expand it.
10477: # FIXME: This hack should be removed a few years after 2.60.
10478: ac_datarootdir_hack=; ac_datarootdir_seen=
10479: ac_sed_dataroot='
10480: /datarootdir/ {
10481:   p
10482:   q
10483: }
10484: /@datadir@/p
10485: /@docdir@/p
10486: /@infodir@/p
10487: /@localedir@/p
10488: /@mandir@/p'
10489: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10490: *datarootdir*) ac_datarootdir_seen=yes;;
10491: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10492:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10493: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10494: _ACEOF
10495: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10496:   ac_datarootdir_hack='
10497:   s&@datadir@&$datadir&g
10498:   s&@docdir@&$docdir&g
10499:   s&@infodir@&$infodir&g
10500:   s&@localedir@&$localedir&g
10501:   s&@mandir@&$mandir&g
10502:   s&\\\${datarootdir}&$datarootdir&g' ;;
10503: esac
10504: _ACEOF
10505: 
10506: # Neutralize VPATH when `$srcdir' = `.'.
10507: # Shell code in configure.ac might set extrasub.
10508: # FIXME: do we really want to maintain this feature?
10509: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10510: ac_sed_extra="$ac_vpsub
10511: $extrasub
10512: _ACEOF
10513: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10514: :t
10515: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10516: s|@configure_input@|$ac_sed_conf_input|;t t
10517: s&@top_builddir@&$ac_top_builddir_sub&;t t
10518: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10519: s&@srcdir@&$ac_srcdir&;t t
10520: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10521: s&@top_srcdir@&$ac_top_srcdir&;t t
10522: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10523: s&@builddir@&$ac_builddir&;t t
10524: s&@abs_builddir@&$ac_abs_builddir&;t t
10525: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10526: s&@INSTALL@&$ac_INSTALL&;t t
10527: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10528: $ac_datarootdir_hack
10529: "
10530: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10531:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10532: 
10533: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10534:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10535:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10536:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10537: which seems to be undefined.  Please make sure it is defined" >&5
10538: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10539: which seems to be undefined.  Please make sure it is defined" >&2;}
10540: 
10541:   rm -f "$tmp/stdin"
10542:   case $ac_file in
10543:   -) cat "$tmp/out" && rm -f "$tmp/out";;
10544:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10545:   esac \
10546:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10547:  ;;
10548:   :H)
10549:   #
10550:   # CONFIG_HEADER
10551:   #
10552:   if test x"$ac_file" != x-; then
10553:     {
10554:       $as_echo "/* $configure_input  */" \
10555:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10556:     } >"$tmp/config.h" \
10557:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10558:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10559:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10560: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10561:     else
10562:       rm -f "$ac_file"
10563:       mv "$tmp/config.h" "$ac_file" \
10564:     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10565:     fi
10566:   else
10567:     $as_echo "/* $configure_input  */" \
10568:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10569:       || as_fn_error $? "could not create -" "$LINENO" 5
10570:   fi
10571: # Compute "$ac_file"'s index in $config_headers.
10572: _am_arg="$ac_file"
10573: _am_stamp_count=1
10574: for _am_header in $config_headers :; do
10575:   case $_am_header in
10576:     $_am_arg | $_am_arg:* )
10577:       break ;;
10578:     * )
10579:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10580:   esac
10581: done
10582: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10583: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10584:      X"$_am_arg" : 'X\(//\)[^/]' \| \
10585:      X"$_am_arg" : 'X\(//\)$' \| \
10586:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10587: $as_echo X"$_am_arg" |
10588:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10589:         s//\1/
10590:         q
10591:       }
10592:       /^X\(\/\/\)[^/].*/{
10593:         s//\1/
10594:         q
10595:       }
10596:       /^X\(\/\/\)$/{
10597:         s//\1/
10598:         q
10599:       }
10600:       /^X\(\/\).*/{
10601:         s//\1/
10602:         q
10603:       }
10604:       s/.*/./; q'`/stamp-h$_am_stamp_count
10605:  ;;
10606: 
10607:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10608: $as_echo "$as_me: executing $ac_file commands" >&6;}
10609:  ;;
10610:   esac
10611: 
10612: 
10613:   case $ac_file$ac_mode in
10614:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10615:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10616:   # are listed without --file.  Let's play safe and only enable the eval
10617:   # if we detect the quoting.
10618:   case $CONFIG_FILES in
10619:   *\'*) eval set x "$CONFIG_FILES" ;;
10620:   *)   set x $CONFIG_FILES ;;
10621:   esac
10622:   shift
10623:   for mf
10624:   do
10625:     # Strip MF so we end up with the name of the file.
10626:     mf=`echo "$mf" | sed -e 's/:.*$//'`
10627:     # Check whether this is an Automake generated Makefile or not.
10628:     # We used to match only the files named `Makefile.in', but
10629:     # some people rename them; so instead we look at the file content.
10630:     # Grep'ing the first line is not enough: some people post-process
10631:     # each Makefile.in and add a new line on top of each file to say so.
10632:     # Grep'ing the whole file is not good either: AIX grep has a line
10633:     # limit of 2048, but all sed's we know have understand at least 4000.
10634:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10635:       dirpart=`$as_dirname -- "$mf" ||
10636: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10637:      X"$mf" : 'X\(//\)[^/]' \| \
10638:      X"$mf" : 'X\(//\)$' \| \
10639:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10640: $as_echo X"$mf" |
10641:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10642:         s//\1/
10643:         q
10644:       }
10645:       /^X\(\/\/\)[^/].*/{
10646:         s//\1/
10647:         q
10648:       }
10649:       /^X\(\/\/\)$/{
10650:         s//\1/
10651:         q
10652:       }
10653:       /^X\(\/\).*/{
10654:         s//\1/
10655:         q
10656:       }
10657:       s/.*/./; q'`
10658:     else
10659:       continue
10660:     fi
10661:     # Extract the definition of DEPDIR, am__include, and am__quote
10662:     # from the Makefile without running `make'.
10663:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10664:     test -z "$DEPDIR" && continue
10665:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10666:     test -z "am__include" && continue
10667:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10668:     # When using ansi2knr, U may be empty or an underscore; expand it
10669:     U=`sed -n 's/^U = //p' < "$mf"`
10670:     # Find all dependency output files, they are included files with
10671:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10672:     # simplest approach to changing $(DEPDIR) to its actual value in the
10673:     # expansion.
10674:     for file in `sed -n "
10675:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10676:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10677:       # Make sure the directory exists.
10678:       test -f "$dirpart/$file" && continue
10679:       fdir=`$as_dirname -- "$file" ||
10680: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10681:      X"$file" : 'X\(//\)[^/]' \| \
10682:      X"$file" : 'X\(//\)$' \| \
10683:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10684: $as_echo X"$file" |
10685:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10686:         s//\1/
10687:         q
10688:       }
10689:       /^X\(\/\/\)[^/].*/{
10690:         s//\1/
10691:         q
10692:       }
10693:       /^X\(\/\/\)$/{
10694:         s//\1/
10695:         q
10696:       }
10697:       /^X\(\/\).*/{
10698:         s//\1/
10699:         q
10700:       }
10701:       s/.*/./; q'`
10702:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10703:       # echo "creating $dirpart/$file"
10704:       echo '# dummy' > "$dirpart/$file"
10705:     done
10706:   done
10707: }
10708:  ;;
10709: 
10710:   esac
10711: done # for ac_tag
10712: 
10713: 
10714: as_fn_exit 0
10715: _ACEOF
10716: ac_clean_files=$ac_clean_files_save
10717: 
10718: test $ac_write_fail = 0 ||
10719:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10720: 
10721: 
10722: # configure is writing to config.log, and then calls config.status.
10723: # config.status does its own redirection, appending to config.log.
10724: # Unfortunately, on DOS this fails, as config.log is still kept open
10725: # by configure, so config.status won't be able to write to it; its
10726: # output is simply discarded.  So we exec the FD to /dev/null,
10727: # effectively closing config.log, so it can be properly (re)opened and
10728: # appended to by config.status.  When coming back to configure, we
10729: # need to make the FD available again.
10730: if test "$no_create" != yes; then
10731:   ac_cs_success=:
10732:   ac_config_status_args=
10733:   test "$silent" = yes &&
10734:     ac_config_status_args="$ac_config_status_args --quiet"
10735:   exec 5>/dev/null
10736:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10737:   exec 5>>config.log
10738:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10739:   # would make configure fail if this is the last instruction.
10740:   $ac_cs_success || as_fn_exit 1
10741: fi
10742: 
10743: #
10744: # CONFIG_SUBDIRS section.
10745: #
10746: if test "$no_recursion" != yes; then
10747: 
10748:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10749:   # so they do not pile up.
10750:   ac_sub_configure_args=
10751:   ac_prev=
10752:   eval "set x $ac_configure_args"
10753:   shift
10754:   for ac_arg
10755:   do
10756:     if test -n "$ac_prev"; then
10757:       ac_prev=
10758:       continue
10759:     fi
10760:     case $ac_arg in
10761:     -cache-file | --cache-file | --cache-fil | --cache-fi \
10762:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10763:       ac_prev=cache_file ;;
10764:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10765:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10766:     | --c=*)
10767:       ;;
10768:     --config-cache | -C)
10769:       ;;
10770:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10771:       ac_prev=srcdir ;;
10772:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10773:       ;;
10774:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10775:       ac_prev=prefix ;;
10776:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10777:       ;;
10778:     --disable-option-checking)
10779:       ;;
10780:     *)
10781:       case $ac_arg in
10782:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10783:       esac
10784:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10785:     esac
10786:   done
10787: 
10788:   # Always prepend --prefix to ensure using the same prefix
10789:   # in subdir configurations.
10790:   ac_arg="--prefix=$prefix"
10791:   case $ac_arg in
10792:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10793:   esac
10794:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10795: 
10796:   # Pass --silent
10797:   if test "$silent" = yes; then
10798:     ac_sub_configure_args="--silent $ac_sub_configure_args"
10799:   fi
10800: 
10801:   # Always prepend --disable-option-checking to silence warnings, since
10802:   # different subdirs can have different --enable and --with options.
10803:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10804: 
10805:   ac_popdir=`pwd`
10806:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10807: 
10808:     # Do not complain, so a configure script can configure whichever
10809:     # parts of a large source tree are present.
10810:     test -d "$srcdir/$ac_dir" || continue
10811: 
10812:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10813:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10814:     $as_echo "$ac_msg" >&6
10815:     as_dir="$ac_dir"; as_fn_mkdir_p
10816:     ac_builddir=.
10817: 
10818: case "$ac_dir" in
10819: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10820: *)
10821:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10822:   # A ".." for each directory in $ac_dir_suffix.
10823:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10824:   case $ac_top_builddir_sub in
10825:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10826:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10827:   esac ;;
10828: esac
10829: ac_abs_top_builddir=$ac_pwd
10830: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10831: # for backward compatibility:
10832: ac_top_builddir=$ac_top_build_prefix
10833: 
10834: case $srcdir in
10835:   .)  # We are building in place.
10836:     ac_srcdir=.
10837:     ac_top_srcdir=$ac_top_builddir_sub
10838:     ac_abs_top_srcdir=$ac_pwd ;;
10839:   [\\/]* | ?:[\\/]* )  # Absolute name.
10840:     ac_srcdir=$srcdir$ac_dir_suffix;
10841:     ac_top_srcdir=$srcdir
10842:     ac_abs_top_srcdir=$srcdir ;;
10843:   *) # Relative name.
10844:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10845:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10846:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10847: esac
10848: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10849: 
10850: 
10851:     cd "$ac_dir"
10852: 
10853:     # Check for guested configure; otherwise get Cygnus style configure.
10854:     if test -f "$ac_srcdir/configure.gnu"; then
10855:       ac_sub_configure=$ac_srcdir/configure.gnu
10856:     elif test -f "$ac_srcdir/configure"; then
10857:       ac_sub_configure=$ac_srcdir/configure
10858:     elif test -f "$ac_srcdir/configure.in"; then
10859:       # This should be Cygnus configure.
10860:       ac_sub_configure=$ac_aux_dir/configure
10861:     else
10862:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
10863: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10864:       ac_sub_configure=
10865:     fi
10866: 
10867:     # The recursion is here.
10868:     if test -n "$ac_sub_configure"; then
10869:       # Make the cache file name correct relative to the subdirectory.
10870:       case $cache_file in
10871:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10872:       *) # Relative name.
10873:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10874:       esac
10875: 
10876:       { $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
10877: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10878:       # The eval makes quoting arguments work.
10879:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10880:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10881:     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
10882:     fi
10883: 
10884:     cd "$ac_popdir"
10885:   done
10886: fi
10887: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10888:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10889: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10890: fi
10891: 

CVSweb interface <joel.bertrand@systella.fr>