File:  [local] / rpl / Attic / configure
Revision 1.32: download - view: text, annotated - select for diffs - revision graph
Fri Aug 6 15:32:16 2010 UTC (13 years, 8 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Cohérence

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.65 for rpl 4.0.18.
    4: #
    5: #
    6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
    8: # 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 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=$?; test $as_status -eq 0 && as_status=1
  367:   if test "$3"; then
  368:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  369:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  370:   fi
  371:   $as_echo "$as_me: error: $1" >&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, 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.18'
  553: PACKAGE_STRING='rpl 4.0.18'
  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: SEMAPHORES_NOMMES
  614: NESTED_FUNCTIONS
  615: EXPORT_DYNAMIC
  616: OS
  617: GNUPLOT_COMPILATION
  618: subdirs
  619: EGREP
  620: GREP
  621: libPgSQLlib
  622: libPgSQLinc
  623: POSTGRESQL_SUPPORT
  624: libMySQLlib
  625: libMySQLinc
  626: MYSQL_SUPPORT
  627: DATE
  628: includeX
  629: libX
  630: MOTIF_SUPPORT
  631: DEBUG
  632: EXPERIMENTAL_CODE
  633: VIM_SUPPORT
  634: POSTSCRIPT_SUPPORT
  635: FORCE_GNUPLOT_PATH
  636: GNUPLOT_SUPPORT
  637: VIM
  638: GNUPLOT_P
  639: GV
  640: GS
  641: DVIPS
  642: LATEX
  643: TEX
  644: SED
  645: RANLIB
  646: LN_S
  647: RUNPATH
  648: PROFILAGE
  649: X_EXTRA_LIBS
  650: X_LIBS
  651: X_PRE_LIBS
  652: X_CFLAGS
  653: CPP
  654: XMKMF
  655: ac_ct_FC
  656: FCFLAGS
  657: FC
  658: ac_ct_F77
  659: FFLAGS
  660: F77
  661: am__fastdepCXX_FALSE
  662: am__fastdepCXX_TRUE
  663: CXXDEPMODE
  664: ac_ct_CXX
  665: CXXFLAGS
  666: CXX
  667: am__fastdepCC_FALSE
  668: am__fastdepCC_TRUE
  669: CCDEPMODE
  670: AMDEPBACKSLASH
  671: AMDEP_FALSE
  672: AMDEP_TRUE
  673: am__quote
  674: am__include
  675: DEPDIR
  676: OBJEXT
  677: EXEEXT
  678: ac_ct_CC
  679: CPPFLAGS
  680: LDFLAGS
  681: CFLAGS
  682: CC
  683: am__untar
  684: am__tar
  685: AMTAR
  686: am__leading_dot
  687: SET_MAKE
  688: AWK
  689: mkdir_p
  690: MKDIR_P
  691: INSTALL_STRIP_PROGRAM
  692: STRIP
  693: install_sh
  694: MAKEINFO
  695: AUTOHEADER
  696: AUTOMAKE
  697: AUTOCONF
  698: ACLOCAL
  699: VERSION
  700: PACKAGE
  701: CYGPATH_W
  702: am__isrc
  703: INSTALL_DATA
  704: INSTALL_SCRIPT
  705: INSTALL_PROGRAM
  706: target_os
  707: target_vendor
  708: target_cpu
  709: target
  710: host_os
  711: host_vendor
  712: host_cpu
  713: host
  714: build_os
  715: build_vendor
  716: build_cpu
  717: build
  718: target_alias
  719: host_alias
  720: build_alias
  721: LIBS
  722: ECHO_T
  723: ECHO_N
  724: ECHO_C
  725: DEFS
  726: mandir
  727: localedir
  728: libdir
  729: psdir
  730: pdfdir
  731: dvidir
  732: htmldir
  733: infodir
  734: docdir
  735: oldincludedir
  736: includedir
  737: localstatedir
  738: sharedstatedir
  739: sysconfdir
  740: datadir
  741: datarootdir
  742: libexecdir
  743: sbindir
  744: bindir
  745: program_transform_name
  746: prefix
  747: exec_prefix
  748: PACKAGE_URL
  749: PACKAGE_BUGREPORT
  750: PACKAGE_STRING
  751: PACKAGE_VERSION
  752: PACKAGE_TARNAME
  753: PACKAGE_NAME
  754: PATH_SEPARATOR
  755: SHELL'
  756: ac_subst_files=''
  757: ac_user_opts='
  758: enable_option_checking
  759: enable_dependency_tracking
  760: with_x
  761: enable_optimization
  762: enable_full_static
  763: enable_final_encoding
  764: enable_tex
  765: enable_vim
  766: enable_embedded_gnuplot
  767: enable_gnuplot
  768: enable_motif
  769: enable_experimental
  770: enable_debug
  771: enable_profile
  772: enable_final_run_path
  773: with_mysql
  774: with_postgresql
  775: with_openssl_arch
  776: '
  777:       ac_precious_vars='build_alias
  778: host_alias
  779: target_alias
  780: CC
  781: CFLAGS
  782: LDFLAGS
  783: LIBS
  784: CPPFLAGS
  785: CXX
  786: CXXFLAGS
  787: CCC
  788: F77
  789: FFLAGS
  790: FC
  791: FCFLAGS
  792: XMKMF
  793: CPP'
  794: ac_subdirs_all='tools/$NCURSES
  795: tools/$READLINE
  796: tools/$GSL
  797: tools/$GPP
  798: tools/$FILE
  799: tools/$ICONV
  800: tools/$SQLITE
  801: tools/$UNITS
  802: tools/$GNUPLOT'
  803: 
  804: # Initialize some variables set by options.
  805: ac_init_help=
  806: ac_init_version=false
  807: ac_unrecognized_opts=
  808: ac_unrecognized_sep=
  809: # The variables have the same names as the options, with
  810: # dashes changed to underlines.
  811: cache_file=/dev/null
  812: exec_prefix=NONE
  813: no_create=
  814: no_recursion=
  815: prefix=NONE
  816: program_prefix=NONE
  817: program_suffix=NONE
  818: program_transform_name=s,x,x,
  819: silent=
  820: site=
  821: srcdir=
  822: verbose=
  823: x_includes=NONE
  824: x_libraries=NONE
  825: 
  826: # Installation directory options.
  827: # These are left unexpanded so users can "make install exec_prefix=/foo"
  828: # and all the variables that are supposed to be based on exec_prefix
  829: # by default will actually change.
  830: # Use braces instead of parens because sh, perl, etc. also accept them.
  831: # (The list follows the same order as the GNU Coding Standards.)
  832: bindir='${exec_prefix}/bin'
  833: sbindir='${exec_prefix}/sbin'
  834: libexecdir='${exec_prefix}/libexec'
  835: datarootdir='${prefix}/share'
  836: datadir='${datarootdir}'
  837: sysconfdir='${prefix}/etc'
  838: sharedstatedir='${prefix}/com'
  839: localstatedir='${prefix}/var'
  840: includedir='${prefix}/include'
  841: oldincludedir='/usr/include'
  842: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  843: infodir='${datarootdir}/info'
  844: htmldir='${docdir}'
  845: dvidir='${docdir}'
  846: pdfdir='${docdir}'
  847: psdir='${docdir}'
  848: libdir='${exec_prefix}/lib'
  849: localedir='${datarootdir}/locale'
  850: mandir='${datarootdir}/man'
  851: 
  852: ac_prev=
  853: ac_dashdash=
  854: for ac_option
  855: do
  856:   # If the previous option needs an argument, assign it.
  857:   if test -n "$ac_prev"; then
  858:     eval $ac_prev=\$ac_option
  859:     ac_prev=
  860:     continue
  861:   fi
  862: 
  863:   case $ac_option in
  864:   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  865:   *)    ac_optarg=yes ;;
  866:   esac
  867: 
  868:   # Accept the important Cygnus configure options, so we can diagnose typos.
  869: 
  870:   case $ac_dashdash$ac_option in
  871:   --)
  872:     ac_dashdash=yes ;;
  873: 
  874:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  875:     ac_prev=bindir ;;
  876:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  877:     bindir=$ac_optarg ;;
  878: 
  879:   -build | --build | --buil | --bui | --bu)
  880:     ac_prev=build_alias ;;
  881:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  882:     build_alias=$ac_optarg ;;
  883: 
  884:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  885:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  886:     ac_prev=cache_file ;;
  887:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  888:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  889:     cache_file=$ac_optarg ;;
  890: 
  891:   --config-cache | -C)
  892:     cache_file=config.cache ;;
  893: 
  894:   -datadir | --datadir | --datadi | --datad)
  895:     ac_prev=datadir ;;
  896:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  897:     datadir=$ac_optarg ;;
  898: 
  899:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  900:   | --dataroo | --dataro | --datar)
  901:     ac_prev=datarootdir ;;
  902:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  903:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  904:     datarootdir=$ac_optarg ;;
  905: 
  906:   -disable-* | --disable-*)
  907:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  908:     # Reject names that are not valid shell variable names.
  909:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  910:       as_fn_error "invalid feature name: $ac_useropt"
  911:     ac_useropt_orig=$ac_useropt
  912:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  913:     case $ac_user_opts in
  914:       *"
  915: "enable_$ac_useropt"
  916: "*) ;;
  917:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  918:      ac_unrecognized_sep=', ';;
  919:     esac
  920:     eval enable_$ac_useropt=no ;;
  921: 
  922:   -docdir | --docdir | --docdi | --doc | --do)
  923:     ac_prev=docdir ;;
  924:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  925:     docdir=$ac_optarg ;;
  926: 
  927:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  928:     ac_prev=dvidir ;;
  929:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  930:     dvidir=$ac_optarg ;;
  931: 
  932:   -enable-* | --enable-*)
  933:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  934:     # Reject names that are not valid shell variable names.
  935:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  936:       as_fn_error "invalid feature name: $ac_useropt"
  937:     ac_useropt_orig=$ac_useropt
  938:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  939:     case $ac_user_opts in
  940:       *"
  941: "enable_$ac_useropt"
  942: "*) ;;
  943:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  944:      ac_unrecognized_sep=', ';;
  945:     esac
  946:     eval enable_$ac_useropt=\$ac_optarg ;;
  947: 
  948:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  949:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  950:   | --exec | --exe | --ex)
  951:     ac_prev=exec_prefix ;;
  952:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  953:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  954:   | --exec=* | --exe=* | --ex=*)
  955:     exec_prefix=$ac_optarg ;;
  956: 
  957:   -gas | --gas | --ga | --g)
  958:     # Obsolete; use --with-gas.
  959:     with_gas=yes ;;
  960: 
  961:   -help | --help | --hel | --he | -h)
  962:     ac_init_help=long ;;
  963:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  964:     ac_init_help=recursive ;;
  965:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  966:     ac_init_help=short ;;
  967: 
  968:   -host | --host | --hos | --ho)
  969:     ac_prev=host_alias ;;
  970:   -host=* | --host=* | --hos=* | --ho=*)
  971:     host_alias=$ac_optarg ;;
  972: 
  973:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  974:     ac_prev=htmldir ;;
  975:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  976:   | --ht=*)
  977:     htmldir=$ac_optarg ;;
  978: 
  979:   -includedir | --includedir | --includedi | --included | --include \
  980:   | --includ | --inclu | --incl | --inc)
  981:     ac_prev=includedir ;;
  982:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  983:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  984:     includedir=$ac_optarg ;;
  985: 
  986:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  987:     ac_prev=infodir ;;
  988:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  989:     infodir=$ac_optarg ;;
  990: 
  991:   -libdir | --libdir | --libdi | --libd)
  992:     ac_prev=libdir ;;
  993:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  994:     libdir=$ac_optarg ;;
  995: 
  996:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  997:   | --libexe | --libex | --libe)
  998:     ac_prev=libexecdir ;;
  999:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1000:   | --libexe=* | --libex=* | --libe=*)
 1001:     libexecdir=$ac_optarg ;;
 1002: 
 1003:   -localedir | --localedir | --localedi | --localed | --locale)
 1004:     ac_prev=localedir ;;
 1005:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1006:     localedir=$ac_optarg ;;
 1007: 
 1008:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1009:   | --localstate | --localstat | --localsta | --localst | --locals)
 1010:     ac_prev=localstatedir ;;
 1011:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1012:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1013:     localstatedir=$ac_optarg ;;
 1014: 
 1015:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1016:     ac_prev=mandir ;;
 1017:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1018:     mandir=$ac_optarg ;;
 1019: 
 1020:   -nfp | --nfp | --nf)
 1021:     # Obsolete; use --without-fp.
 1022:     with_fp=no ;;
 1023: 
 1024:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1025:   | --no-cr | --no-c | -n)
 1026:     no_create=yes ;;
 1027: 
 1028:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1029:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1030:     no_recursion=yes ;;
 1031: 
 1032:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1033:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1034:   | --oldin | --oldi | --old | --ol | --o)
 1035:     ac_prev=oldincludedir ;;
 1036:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1037:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1038:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1039:     oldincludedir=$ac_optarg ;;
 1040: 
 1041:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1042:     ac_prev=prefix ;;
 1043:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1044:     prefix=$ac_optarg ;;
 1045: 
 1046:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1047:   | --program-pre | --program-pr | --program-p)
 1048:     ac_prev=program_prefix ;;
 1049:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1050:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1051:     program_prefix=$ac_optarg ;;
 1052: 
 1053:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1054:   | --program-suf | --program-su | --program-s)
 1055:     ac_prev=program_suffix ;;
 1056:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1057:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1058:     program_suffix=$ac_optarg ;;
 1059: 
 1060:   -program-transform-name | --program-transform-name \
 1061:   | --program-transform-nam | --program-transform-na \
 1062:   | --program-transform-n | --program-transform- \
 1063:   | --program-transform | --program-transfor \
 1064:   | --program-transfo | --program-transf \
 1065:   | --program-trans | --program-tran \
 1066:   | --progr-tra | --program-tr | --program-t)
 1067:     ac_prev=program_transform_name ;;
 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:     program_transform_name=$ac_optarg ;;
 1076: 
 1077:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1078:     ac_prev=pdfdir ;;
 1079:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1080:     pdfdir=$ac_optarg ;;
 1081: 
 1082:   -psdir | --psdir | --psdi | --psd | --ps)
 1083:     ac_prev=psdir ;;
 1084:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1085:     psdir=$ac_optarg ;;
 1086: 
 1087:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1088:   | -silent | --silent | --silen | --sile | --sil)
 1089:     silent=yes ;;
 1090: 
 1091:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1092:     ac_prev=sbindir ;;
 1093:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1094:   | --sbi=* | --sb=*)
 1095:     sbindir=$ac_optarg ;;
 1096: 
 1097:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1098:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1099:   | --sharedst | --shareds | --shared | --share | --shar \
 1100:   | --sha | --sh)
 1101:     ac_prev=sharedstatedir ;;
 1102:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1103:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1104:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1105:   | --sha=* | --sh=*)
 1106:     sharedstatedir=$ac_optarg ;;
 1107: 
 1108:   -site | --site | --sit)
 1109:     ac_prev=site ;;
 1110:   -site=* | --site=* | --sit=*)
 1111:     site=$ac_optarg ;;
 1112: 
 1113:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1114:     ac_prev=srcdir ;;
 1115:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1116:     srcdir=$ac_optarg ;;
 1117: 
 1118:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1119:   | --syscon | --sysco | --sysc | --sys | --sy)
 1120:     ac_prev=sysconfdir ;;
 1121:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1122:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1123:     sysconfdir=$ac_optarg ;;
 1124: 
 1125:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1126:     ac_prev=target_alias ;;
 1127:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1128:     target_alias=$ac_optarg ;;
 1129: 
 1130:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1131:     verbose=yes ;;
 1132: 
 1133:   -version | --version | --versio | --versi | --vers | -V)
 1134:     ac_init_version=: ;;
 1135: 
 1136:   -with-* | --with-*)
 1137:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1138:     # Reject names that are not valid shell variable names.
 1139:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1140:       as_fn_error "invalid package name: $ac_useropt"
 1141:     ac_useropt_orig=$ac_useropt
 1142:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1143:     case $ac_user_opts in
 1144:       *"
 1145: "with_$ac_useropt"
 1146: "*) ;;
 1147:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1148:      ac_unrecognized_sep=', ';;
 1149:     esac
 1150:     eval with_$ac_useropt=\$ac_optarg ;;
 1151: 
 1152:   -without-* | --without-*)
 1153:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1154:     # Reject names that are not valid shell variable names.
 1155:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1156:       as_fn_error "invalid package name: $ac_useropt"
 1157:     ac_useropt_orig=$ac_useropt
 1158:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1159:     case $ac_user_opts in
 1160:       *"
 1161: "with_$ac_useropt"
 1162: "*) ;;
 1163:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1164:      ac_unrecognized_sep=', ';;
 1165:     esac
 1166:     eval with_$ac_useropt=no ;;
 1167: 
 1168:   --x)
 1169:     # Obsolete; use --with-x.
 1170:     with_x=yes ;;
 1171: 
 1172:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1173:   | --x-incl | --x-inc | --x-in | --x-i)
 1174:     ac_prev=x_includes ;;
 1175:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1176:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1177:     x_includes=$ac_optarg ;;
 1178: 
 1179:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1180:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1181:     ac_prev=x_libraries ;;
 1182:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1183:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1184:     x_libraries=$ac_optarg ;;
 1185: 
 1186:   -*) as_fn_error "unrecognized option: \`$ac_option'
 1187: Try \`$0 --help' for more information."
 1188:     ;;
 1189: 
 1190:   *=*)
 1191:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1192:     # Reject names that are not valid shell variable names.
 1193:     case $ac_envvar in #(
 1194:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1195:       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 1196:     esac
 1197:     eval $ac_envvar=\$ac_optarg
 1198:     export $ac_envvar ;;
 1199: 
 1200:   *)
 1201:     # FIXME: should be removed in autoconf 3.0.
 1202:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1203:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1204:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1205:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1206:     ;;
 1207: 
 1208:   esac
 1209: done
 1210: 
 1211: if test -n "$ac_prev"; then
 1212:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1213:   as_fn_error "missing argument to $ac_option"
 1214: fi
 1215: 
 1216: if test -n "$ac_unrecognized_opts"; then
 1217:   case $enable_option_checking in
 1218:     no) ;;
 1219:     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 1220:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1221:   esac
 1222: fi
 1223: 
 1224: # Check all directory arguments for consistency.
 1225: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1226:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1227:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1228:         libdir localedir mandir
 1229: do
 1230:   eval ac_val=\$$ac_var
 1231:   # Remove trailing slashes.
 1232:   case $ac_val in
 1233:     */ )
 1234:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1235:       eval $ac_var=\$ac_val;;
 1236:   esac
 1237:   # Be sure to have absolute directory names.
 1238:   case $ac_val in
 1239:     [\\/$]* | ?:[\\/]* )  continue;;
 1240:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1241:   esac
 1242:   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 1243: done
 1244: 
 1245: # There might be people who depend on the old broken behavior: `$host'
 1246: # used to hold the argument of --host etc.
 1247: # FIXME: To remove some day.
 1248: build=$build_alias
 1249: host=$host_alias
 1250: target=$target_alias
 1251: 
 1252: # FIXME: To remove some day.
 1253: if test "x$host_alias" != x; then
 1254:   if test "x$build_alias" = x; then
 1255:     cross_compiling=maybe
 1256:     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1257:     If a cross compiler is detected then cross compile mode will be used." >&2
 1258:   elif test "x$build_alias" != "x$host_alias"; then
 1259:     cross_compiling=yes
 1260:   fi
 1261: fi
 1262: 
 1263: ac_tool_prefix=
 1264: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1265: 
 1266: test "$silent" = yes && exec 6>/dev/null
 1267: 
 1268: 
 1269: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1270: ac_ls_di=`ls -di .` &&
 1271: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1272:   as_fn_error "working directory cannot be determined"
 1273: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1274:   as_fn_error "pwd does not report name of working directory"
 1275: 
 1276: 
 1277: # Find the source files, if location was not specified.
 1278: if test -z "$srcdir"; then
 1279:   ac_srcdir_defaulted=yes
 1280:   # Try the directory containing this script, then the parent directory.
 1281:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1282: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1283:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1284:      X"$as_myself" : 'X\(//\)$' \| \
 1285:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1286: $as_echo X"$as_myself" |
 1287:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1288:         s//\1/
 1289:         q
 1290:       }
 1291:       /^X\(\/\/\)[^/].*/{
 1292:         s//\1/
 1293:         q
 1294:       }
 1295:       /^X\(\/\/\)$/{
 1296:         s//\1/
 1297:         q
 1298:       }
 1299:       /^X\(\/\).*/{
 1300:         s//\1/
 1301:         q
 1302:       }
 1303:       s/.*/./; q'`
 1304:   srcdir=$ac_confdir
 1305:   if test ! -r "$srcdir/$ac_unique_file"; then
 1306:     srcdir=..
 1307:   fi
 1308: else
 1309:   ac_srcdir_defaulted=no
 1310: fi
 1311: if test ! -r "$srcdir/$ac_unique_file"; then
 1312:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1313:   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 1314: fi
 1315: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1316: ac_abs_confdir=`(
 1317:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 1318:     pwd)`
 1319: # When building in place, set srcdir=.
 1320: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1321:   srcdir=.
 1322: fi
 1323: # Remove unnecessary trailing slashes from srcdir.
 1324: # Double slashes in file names in object file debugging info
 1325: # mess up M-x gdb in Emacs.
 1326: case $srcdir in
 1327: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1328: esac
 1329: for ac_var in $ac_precious_vars; do
 1330:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1331:   eval ac_env_${ac_var}_value=\$${ac_var}
 1332:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1333:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1334: done
 1335: 
 1336: #
 1337: # Report the --help message.
 1338: #
 1339: if test "$ac_init_help" = "long"; then
 1340:   # Omit some internal or obsolete options to make the list less imposing.
 1341:   # This message is too long to be a string in the A/UX 3.1 sh.
 1342:   cat <<_ACEOF
 1343: \`configure' configures rpl 4.0.18 to adapt to many kinds of systems.
 1344: 
 1345: Usage: $0 [OPTION]... [VAR=VALUE]...
 1346: 
 1347: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1348: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1349: 
 1350: Defaults for the options are specified in brackets.
 1351: 
 1352: Configuration:
 1353:   -h, --help              display this help and exit
 1354:       --help=short        display options specific to this package
 1355:       --help=recursive    display the short help of all the included packages
 1356:   -V, --version           display version information and exit
 1357:   -q, --quiet, --silent   do not print \`checking...' messages
 1358:       --cache-file=FILE   cache test results in FILE [disabled]
 1359:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1360:   -n, --no-create         do not create output files
 1361:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1362: 
 1363: Installation directories:
 1364:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1365:                           [$ac_default_prefix]
 1366:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1367:                           [PREFIX]
 1368: 
 1369: By default, \`make install' will install all the files in
 1370: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1371: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1372: for instance \`--prefix=\$HOME'.
 1373: 
 1374: For better control, use the options below.
 1375: 
 1376: Fine tuning of the installation directories:
 1377:   --bindir=DIR            user executables [EPREFIX/bin]
 1378:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1379:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1380:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1381:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1382:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1383:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1384:   --includedir=DIR        C header files [PREFIX/include]
 1385:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1386:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1387:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1388:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1389:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1390:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1391:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1392:   --htmldir=DIR           html documentation [DOCDIR]
 1393:   --dvidir=DIR            dvi documentation [DOCDIR]
 1394:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1395:   --psdir=DIR             ps documentation [DOCDIR]
 1396: _ACEOF
 1397: 
 1398:   cat <<\_ACEOF
 1399: 
 1400: Program names:
 1401:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1402:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1403:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1404: 
 1405: X features:
 1406:   --x-includes=DIR    X include files are in DIR
 1407:   --x-libraries=DIR   X library files are in DIR
 1408: 
 1409: System types:
 1410:   --build=BUILD     configure for building on BUILD [guessed]
 1411:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1412:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1413: _ACEOF
 1414: fi
 1415: 
 1416: if test -n "$ac_init_help"; then
 1417:   case $ac_init_help in
 1418:      short | recursive ) echo "Configuration of rpl 4.0.18:";;
 1419:    esac
 1420:   cat <<\_ACEOF
 1421: 
 1422: Optional Features:
 1423:   --disable-option-checking  ignore unrecognized --enable/--with options
 1424:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1425:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1426:   --disable-dependency-tracking  speeds up one-time build
 1427:   --enable-dependency-tracking   do not reject slow dependency extractors
 1428:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1429:   --enable-full-static    build static RPL/2 engine [default=shared]
 1430:   --enable-final-encoding force final encoding [default=guessed]
 1431:   --enable-tex            provide the TeX support [default=guessed]
 1432:   --enable-vim            provide the vim support [default=guessed]
 1433:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1434:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1435:   --enable-motif          provide the Motif support [default=guessed]
 1436:   --enable-experimental   enable experimental code [default=no]
 1437:   --enable-debug          enable debug code [default=no]
 1438:   --enable-profile        enable profile code [default=no]
 1439:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1440: 
 1441: Optional Packages:
 1442:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1443:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1444:   --with-x                use the X Window System
 1445:   --with-mysql=PATH         specify directory for installed mysql
 1446:   --with-postgresql=PATH    specify directory for installed postgresql
 1447:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
 1448: 
 1449: Some influential environment variables:
 1450:   CC          C compiler command
 1451:   CFLAGS      C compiler flags
 1452:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1453:               nonstandard directory <lib dir>
 1454:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1455:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1456:               you have headers in a nonstandard directory <include dir>
 1457:   CXX         C++ compiler command
 1458:   CXXFLAGS    C++ compiler flags
 1459:   F77         Fortran 77 compiler command
 1460:   FFLAGS      Fortran 77 compiler flags
 1461:   FC          Fortran compiler command
 1462:   FCFLAGS     Fortran compiler flags
 1463:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1464:   CPP         C preprocessor
 1465: 
 1466: Use these variables to override the choices made by `configure' or to help
 1467: it to find libraries and programs with nonstandard names/locations.
 1468: 
 1469: Report bugs to the package provider.
 1470: _ACEOF
 1471: ac_status=$?
 1472: fi
 1473: 
 1474: if test "$ac_init_help" = "recursive"; then
 1475:   # If there are subdirs, report their specific --help.
 1476:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1477:     test -d "$ac_dir" ||
 1478:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1479:       continue
 1480:     ac_builddir=.
 1481: 
 1482: case "$ac_dir" in
 1483: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1484: *)
 1485:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1486:   # A ".." for each directory in $ac_dir_suffix.
 1487:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1488:   case $ac_top_builddir_sub in
 1489:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1490:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1491:   esac ;;
 1492: esac
 1493: ac_abs_top_builddir=$ac_pwd
 1494: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1495: # for backward compatibility:
 1496: ac_top_builddir=$ac_top_build_prefix
 1497: 
 1498: case $srcdir in
 1499:   .)  # We are building in place.
 1500:     ac_srcdir=.
 1501:     ac_top_srcdir=$ac_top_builddir_sub
 1502:     ac_abs_top_srcdir=$ac_pwd ;;
 1503:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1504:     ac_srcdir=$srcdir$ac_dir_suffix;
 1505:     ac_top_srcdir=$srcdir
 1506:     ac_abs_top_srcdir=$srcdir ;;
 1507:   *) # Relative name.
 1508:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1509:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1510:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1511: esac
 1512: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1513: 
 1514:     cd "$ac_dir" || { ac_status=$?; continue; }
 1515:     # Check for guested configure.
 1516:     if test -f "$ac_srcdir/configure.gnu"; then
 1517:       echo &&
 1518:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1519:     elif test -f "$ac_srcdir/configure"; then
 1520:       echo &&
 1521:       $SHELL "$ac_srcdir/configure" --help=recursive
 1522:     else
 1523:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1524:     fi || ac_status=$?
 1525:     cd "$ac_pwd" || { ac_status=$?; break; }
 1526:   done
 1527: fi
 1528: 
 1529: test -n "$ac_init_help" && exit $ac_status
 1530: if $ac_init_version; then
 1531:   cat <<\_ACEOF
 1532: rpl configure 4.0.18
 1533: generated by GNU Autoconf 2.65
 1534: 
 1535: Copyright (C) 2009 Free Software Foundation, Inc.
 1536: This configure script is free software; the Free Software Foundation
 1537: gives unlimited permission to copy, distribute and modify it.
 1538: _ACEOF
 1539:   exit
 1540: fi
 1541: 
 1542: ## ------------------------ ##
 1543: ## Autoconf initialization. ##
 1544: ## ------------------------ ##
 1545: 
 1546: # ac_fn_c_try_compile LINENO
 1547: # --------------------------
 1548: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1549: ac_fn_c_try_compile ()
 1550: {
 1551:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1552:   rm -f conftest.$ac_objext
 1553:   if { { ac_try="$ac_compile"
 1554: case "(($ac_try" in
 1555:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1556:   *) ac_try_echo=$ac_try;;
 1557: esac
 1558: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1559: $as_echo "$ac_try_echo"; } >&5
 1560:   (eval "$ac_compile") 2>conftest.err
 1561:   ac_status=$?
 1562:   if test -s conftest.err; then
 1563:     grep -v '^ *+' conftest.err >conftest.er1
 1564:     cat conftest.er1 >&5
 1565:     mv -f conftest.er1 conftest.err
 1566:   fi
 1567:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1568:   test $ac_status = 0; } && {
 1569:      test -z "$ac_c_werror_flag" ||
 1570:      test ! -s conftest.err
 1571:        } && test -s conftest.$ac_objext; then :
 1572:   ac_retval=0
 1573: else
 1574:   $as_echo "$as_me: failed program was:" >&5
 1575: sed 's/^/| /' conftest.$ac_ext >&5
 1576: 
 1577:     ac_retval=1
 1578: fi
 1579:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1580:   as_fn_set_status $ac_retval
 1581: 
 1582: } # ac_fn_c_try_compile
 1583: 
 1584: # ac_fn_cxx_try_compile LINENO
 1585: # ----------------------------
 1586: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1587: ac_fn_cxx_try_compile ()
 1588: {
 1589:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1590:   rm -f conftest.$ac_objext
 1591:   if { { ac_try="$ac_compile"
 1592: case "(($ac_try" in
 1593:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1594:   *) ac_try_echo=$ac_try;;
 1595: esac
 1596: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1597: $as_echo "$ac_try_echo"; } >&5
 1598:   (eval "$ac_compile") 2>conftest.err
 1599:   ac_status=$?
 1600:   if test -s conftest.err; then
 1601:     grep -v '^ *+' conftest.err >conftest.er1
 1602:     cat conftest.er1 >&5
 1603:     mv -f conftest.er1 conftest.err
 1604:   fi
 1605:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1606:   test $ac_status = 0; } && {
 1607:      test -z "$ac_cxx_werror_flag" ||
 1608:      test ! -s conftest.err
 1609:        } && test -s conftest.$ac_objext; then :
 1610:   ac_retval=0
 1611: else
 1612:   $as_echo "$as_me: failed program was:" >&5
 1613: sed 's/^/| /' conftest.$ac_ext >&5
 1614: 
 1615:     ac_retval=1
 1616: fi
 1617:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1618:   as_fn_set_status $ac_retval
 1619: 
 1620: } # ac_fn_cxx_try_compile
 1621: 
 1622: # ac_fn_f77_try_compile LINENO
 1623: # ----------------------------
 1624: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1625: ac_fn_f77_try_compile ()
 1626: {
 1627:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1628:   rm -f conftest.$ac_objext
 1629:   if { { ac_try="$ac_compile"
 1630: case "(($ac_try" in
 1631:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1632:   *) ac_try_echo=$ac_try;;
 1633: esac
 1634: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1635: $as_echo "$ac_try_echo"; } >&5
 1636:   (eval "$ac_compile") 2>conftest.err
 1637:   ac_status=$?
 1638:   if test -s conftest.err; then
 1639:     grep -v '^ *+' conftest.err >conftest.er1
 1640:     cat conftest.er1 >&5
 1641:     mv -f conftest.er1 conftest.err
 1642:   fi
 1643:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1644:   test $ac_status = 0; } && {
 1645:      test -z "$ac_f77_werror_flag" ||
 1646:      test ! -s conftest.err
 1647:        } && test -s conftest.$ac_objext; then :
 1648:   ac_retval=0
 1649: else
 1650:   $as_echo "$as_me: failed program was:" >&5
 1651: sed 's/^/| /' conftest.$ac_ext >&5
 1652: 
 1653:     ac_retval=1
 1654: fi
 1655:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1656:   as_fn_set_status $ac_retval
 1657: 
 1658: } # ac_fn_f77_try_compile
 1659: 
 1660: # ac_fn_fc_try_compile LINENO
 1661: # ---------------------------
 1662: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1663: ac_fn_fc_try_compile ()
 1664: {
 1665:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1666:   rm -f conftest.$ac_objext
 1667:   if { { ac_try="$ac_compile"
 1668: case "(($ac_try" in
 1669:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1670:   *) ac_try_echo=$ac_try;;
 1671: esac
 1672: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1673: $as_echo "$ac_try_echo"; } >&5
 1674:   (eval "$ac_compile") 2>conftest.err
 1675:   ac_status=$?
 1676:   if test -s conftest.err; then
 1677:     grep -v '^ *+' conftest.err >conftest.er1
 1678:     cat conftest.er1 >&5
 1679:     mv -f conftest.er1 conftest.err
 1680:   fi
 1681:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1682:   test $ac_status = 0; } && {
 1683:      test -z "$ac_fc_werror_flag" ||
 1684:      test ! -s conftest.err
 1685:        } && test -s conftest.$ac_objext; then :
 1686:   ac_retval=0
 1687: else
 1688:   $as_echo "$as_me: failed program was:" >&5
 1689: sed 's/^/| /' conftest.$ac_ext >&5
 1690: 
 1691:     ac_retval=1
 1692: fi
 1693:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1694:   as_fn_set_status $ac_retval
 1695: 
 1696: } # ac_fn_fc_try_compile
 1697: 
 1698: # ac_fn_c_try_cpp LINENO
 1699: # ----------------------
 1700: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1701: ac_fn_c_try_cpp ()
 1702: {
 1703:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1704:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1705: case "(($ac_try" in
 1706:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1707:   *) ac_try_echo=$ac_try;;
 1708: esac
 1709: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1710: $as_echo "$ac_try_echo"; } >&5
 1711:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1712:   ac_status=$?
 1713:   if test -s conftest.err; then
 1714:     grep -v '^ *+' conftest.err >conftest.er1
 1715:     cat conftest.er1 >&5
 1716:     mv -f conftest.er1 conftest.err
 1717:   fi
 1718:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1719:   test $ac_status = 0; } >/dev/null && {
 1720:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1721:      test ! -s conftest.err
 1722:        }; then :
 1723:   ac_retval=0
 1724: else
 1725:   $as_echo "$as_me: failed program was:" >&5
 1726: sed 's/^/| /' conftest.$ac_ext >&5
 1727: 
 1728:     ac_retval=1
 1729: fi
 1730:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1731:   as_fn_set_status $ac_retval
 1732: 
 1733: } # ac_fn_c_try_cpp
 1734: 
 1735: # ac_fn_c_try_link LINENO
 1736: # -----------------------
 1737: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1738: ac_fn_c_try_link ()
 1739: {
 1740:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1741:   rm -f conftest.$ac_objext conftest$ac_exeext
 1742:   if { { ac_try="$ac_link"
 1743: case "(($ac_try" in
 1744:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1745:   *) ac_try_echo=$ac_try;;
 1746: esac
 1747: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1748: $as_echo "$ac_try_echo"; } >&5
 1749:   (eval "$ac_link") 2>conftest.err
 1750:   ac_status=$?
 1751:   if test -s conftest.err; then
 1752:     grep -v '^ *+' conftest.err >conftest.er1
 1753:     cat conftest.er1 >&5
 1754:     mv -f conftest.er1 conftest.err
 1755:   fi
 1756:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1757:   test $ac_status = 0; } && {
 1758:      test -z "$ac_c_werror_flag" ||
 1759:      test ! -s conftest.err
 1760:        } && test -s conftest$ac_exeext && {
 1761:      test "$cross_compiling" = yes ||
 1762:      $as_test_x conftest$ac_exeext
 1763:        }; then :
 1764:   ac_retval=0
 1765: else
 1766:   $as_echo "$as_me: failed program was:" >&5
 1767: sed 's/^/| /' conftest.$ac_ext >&5
 1768: 
 1769:     ac_retval=1
 1770: fi
 1771:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1772:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1773:   # interfere with the next link command; also delete a directory that is
 1774:   # left behind by Apple's compiler.  We do this before executing the actions.
 1775:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1776:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1777:   as_fn_set_status $ac_retval
 1778: 
 1779: } # ac_fn_c_try_link
 1780: 
 1781: # ac_fn_c_check_func LINENO FUNC VAR
 1782: # ----------------------------------
 1783: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1784: ac_fn_c_check_func ()
 1785: {
 1786:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1787:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1788: $as_echo_n "checking for $2... " >&6; }
 1789: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 1790:   $as_echo_n "(cached) " >&6
 1791: else
 1792:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1793: /* end confdefs.h.  */
 1794: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1795:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1796: #define $2 innocuous_$2
 1797: 
 1798: /* System header to define __stub macros and hopefully few prototypes,
 1799:     which can conflict with char $2 (); below.
 1800:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1801:     <limits.h> exists even on freestanding compilers.  */
 1802: 
 1803: #ifdef __STDC__
 1804: # include <limits.h>
 1805: #else
 1806: # include <assert.h>
 1807: #endif
 1808: 
 1809: #undef $2
 1810: 
 1811: /* Override any GCC internal prototype to avoid an error.
 1812:    Use char because int might match the return type of a GCC
 1813:    builtin and then its argument prototype would still apply.  */
 1814: #ifdef __cplusplus
 1815: extern "C"
 1816: #endif
 1817: char $2 ();
 1818: /* The GNU C library defines this for functions which it implements
 1819:     to always fail with ENOSYS.  Some functions are actually named
 1820:     something starting with __ and the normal name is an alias.  */
 1821: #if defined __stub_$2 || defined __stub___$2
 1822: choke me
 1823: #endif
 1824: 
 1825: int
 1826: main ()
 1827: {
 1828: return $2 ();
 1829:   ;
 1830:   return 0;
 1831: }
 1832: _ACEOF
 1833: if ac_fn_c_try_link "$LINENO"; then :
 1834:   eval "$3=yes"
 1835: else
 1836:   eval "$3=no"
 1837: fi
 1838: rm -f core conftest.err conftest.$ac_objext \
 1839:     conftest$ac_exeext conftest.$ac_ext
 1840: fi
 1841: eval ac_res=\$$3
 1842:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1843: $as_echo "$ac_res" >&6; }
 1844:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1845: 
 1846: } # ac_fn_c_check_func
 1847: 
 1848: # ac_fn_c_try_run LINENO
 1849: # ----------------------
 1850: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1851: # that executables *can* be run.
 1852: ac_fn_c_try_run ()
 1853: {
 1854:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1855:   if { { ac_try="$ac_link"
 1856: case "(($ac_try" in
 1857:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1858:   *) ac_try_echo=$ac_try;;
 1859: esac
 1860: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1861: $as_echo "$ac_try_echo"; } >&5
 1862:   (eval "$ac_link") 2>&5
 1863:   ac_status=$?
 1864:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1865:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1866:   { { case "(($ac_try" in
 1867:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1868:   *) ac_try_echo=$ac_try;;
 1869: esac
 1870: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1871: $as_echo "$ac_try_echo"; } >&5
 1872:   (eval "$ac_try") 2>&5
 1873:   ac_status=$?
 1874:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1875:   test $ac_status = 0; }; }; then :
 1876:   ac_retval=0
 1877: else
 1878:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1879:        $as_echo "$as_me: failed program was:" >&5
 1880: sed 's/^/| /' conftest.$ac_ext >&5
 1881: 
 1882:        ac_retval=$ac_status
 1883: fi
 1884:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1885:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1886:   as_fn_set_status $ac_retval
 1887: 
 1888: } # ac_fn_c_try_run
 1889: 
 1890: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1891: # --------------------------------------------
 1892: # Tries to find the compile-time value of EXPR in a program that includes
 1893: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1894: # computed
 1895: ac_fn_c_compute_int ()
 1896: {
 1897:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1898:   if test "$cross_compiling" = yes; then
 1899:     # Depending upon the size, compute the lo and hi bounds.
 1900: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1901: /* end confdefs.h.  */
 1902: $4
 1903: int
 1904: main ()
 1905: {
 1906: static int test_array [1 - 2 * !(($2) >= 0)];
 1907: test_array [0] = 0
 1908: 
 1909:   ;
 1910:   return 0;
 1911: }
 1912: _ACEOF
 1913: if ac_fn_c_try_compile "$LINENO"; then :
 1914:   ac_lo=0 ac_mid=0
 1915:   while :; do
 1916:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1917: /* end confdefs.h.  */
 1918: $4
 1919: int
 1920: main ()
 1921: {
 1922: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1923: test_array [0] = 0
 1924: 
 1925:   ;
 1926:   return 0;
 1927: }
 1928: _ACEOF
 1929: if ac_fn_c_try_compile "$LINENO"; then :
 1930:   ac_hi=$ac_mid; break
 1931: else
 1932:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 1933:             if test $ac_lo -le $ac_mid; then
 1934:               ac_lo= ac_hi=
 1935:               break
 1936:             fi
 1937:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 1938: fi
 1939: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1940:   done
 1941: else
 1942:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1943: /* end confdefs.h.  */
 1944: $4
 1945: int
 1946: main ()
 1947: {
 1948: static int test_array [1 - 2 * !(($2) < 0)];
 1949: test_array [0] = 0
 1950: 
 1951:   ;
 1952:   return 0;
 1953: }
 1954: _ACEOF
 1955: if ac_fn_c_try_compile "$LINENO"; then :
 1956:   ac_hi=-1 ac_mid=-1
 1957:   while :; do
 1958:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1959: /* end confdefs.h.  */
 1960: $4
 1961: int
 1962: main ()
 1963: {
 1964: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 1965: test_array [0] = 0
 1966: 
 1967:   ;
 1968:   return 0;
 1969: }
 1970: _ACEOF
 1971: if ac_fn_c_try_compile "$LINENO"; then :
 1972:   ac_lo=$ac_mid; break
 1973: else
 1974:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 1975:             if test $ac_mid -le $ac_hi; then
 1976:               ac_lo= ac_hi=
 1977:               break
 1978:             fi
 1979:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 1980: fi
 1981: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1982:   done
 1983: else
 1984:   ac_lo= ac_hi=
 1985: fi
 1986: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1987: fi
 1988: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1989: # Binary search between lo and hi bounds.
 1990: while test "x$ac_lo" != "x$ac_hi"; do
 1991:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 1992:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1993: /* end confdefs.h.  */
 1994: $4
 1995: int
 1996: main ()
 1997: {
 1998: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1999: test_array [0] = 0
 2000: 
 2001:   ;
 2002:   return 0;
 2003: }
 2004: _ACEOF
 2005: if ac_fn_c_try_compile "$LINENO"; then :
 2006:   ac_hi=$ac_mid
 2007: else
 2008:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2009: fi
 2010: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2011: done
 2012: case $ac_lo in #((
 2013: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2014: '') ac_retval=1 ;;
 2015: esac
 2016:   else
 2017:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2018: /* end confdefs.h.  */
 2019: $4
 2020: static long int longval () { return $2; }
 2021: static unsigned long int ulongval () { return $2; }
 2022: #include <stdio.h>
 2023: #include <stdlib.h>
 2024: int
 2025: main ()
 2026: {
 2027: 
 2028:   FILE *f = fopen ("conftest.val", "w");
 2029:   if (! f)
 2030:     return 1;
 2031:   if (($2) < 0)
 2032:     {
 2033:       long int i = longval ();
 2034:       if (i != ($2))
 2035:     return 1;
 2036:       fprintf (f, "%ld", i);
 2037:     }
 2038:   else
 2039:     {
 2040:       unsigned long int i = ulongval ();
 2041:       if (i != ($2))
 2042:     return 1;
 2043:       fprintf (f, "%lu", i);
 2044:     }
 2045:   /* Do not output a trailing newline, as this causes \r\n confusion
 2046:      on some platforms.  */
 2047:   return ferror (f) || fclose (f) != 0;
 2048: 
 2049:   ;
 2050:   return 0;
 2051: }
 2052: _ACEOF
 2053: if ac_fn_c_try_run "$LINENO"; then :
 2054:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2055: else
 2056:   ac_retval=1
 2057: fi
 2058: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2059:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2060: rm -f conftest.val
 2061: 
 2062:   fi
 2063:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2064:   as_fn_set_status $ac_retval
 2065: 
 2066: } # ac_fn_c_compute_int
 2067: 
 2068: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2069: # -------------------------------------------------------
 2070: # Tests whether HEADER exists and can be compiled using the include files in
 2071: # INCLUDES, setting the cache variable VAR accordingly.
 2072: ac_fn_c_check_header_compile ()
 2073: {
 2074:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2075:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2076: $as_echo_n "checking for $2... " >&6; }
 2077: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2078:   $as_echo_n "(cached) " >&6
 2079: else
 2080:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2081: /* end confdefs.h.  */
 2082: $4
 2083: #include <$2>
 2084: _ACEOF
 2085: if ac_fn_c_try_compile "$LINENO"; then :
 2086:   eval "$3=yes"
 2087: else
 2088:   eval "$3=no"
 2089: fi
 2090: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2091: fi
 2092: eval ac_res=\$$3
 2093:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2094: $as_echo "$ac_res" >&6; }
 2095:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2096: 
 2097: } # ac_fn_c_check_header_compile
 2098: 
 2099: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2100: # -------------------------------------------------------
 2101: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2102: # the include files in INCLUDES and setting the cache variable VAR
 2103: # accordingly.
 2104: ac_fn_c_check_header_mongrel ()
 2105: {
 2106:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2107:   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2108:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2109: $as_echo_n "checking for $2... " >&6; }
 2110: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2111:   $as_echo_n "(cached) " >&6
 2112: fi
 2113: eval ac_res=\$$3
 2114:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2115: $as_echo "$ac_res" >&6; }
 2116: else
 2117:   # Is the header compilable?
 2118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2119: $as_echo_n "checking $2 usability... " >&6; }
 2120: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2121: /* end confdefs.h.  */
 2122: $4
 2123: #include <$2>
 2124: _ACEOF
 2125: if ac_fn_c_try_compile "$LINENO"; then :
 2126:   ac_header_compiler=yes
 2127: else
 2128:   ac_header_compiler=no
 2129: fi
 2130: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2131: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2132: $as_echo "$ac_header_compiler" >&6; }
 2133: 
 2134: # Is the header present?
 2135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2136: $as_echo_n "checking $2 presence... " >&6; }
 2137: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2138: /* end confdefs.h.  */
 2139: #include <$2>
 2140: _ACEOF
 2141: if ac_fn_c_try_cpp "$LINENO"; then :
 2142:   ac_header_preproc=yes
 2143: else
 2144:   ac_header_preproc=no
 2145: fi
 2146: rm -f conftest.err conftest.$ac_ext
 2147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2148: $as_echo "$ac_header_preproc" >&6; }
 2149: 
 2150: # So?  What about this header?
 2151: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2152:   yes:no: )
 2153:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2154: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2155:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2156: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2157:     ;;
 2158:   no:yes:* )
 2159:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2160: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2161:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2162: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2163:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2164: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2165:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2166: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2167:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2168: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2169:     ;;
 2170: esac
 2171:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2172: $as_echo_n "checking for $2... " >&6; }
 2173: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2174:   $as_echo_n "(cached) " >&6
 2175: else
 2176:   eval "$3=\$ac_header_compiler"
 2177: fi
 2178: eval ac_res=\$$3
 2179:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2180: $as_echo "$ac_res" >&6; }
 2181: fi
 2182:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2183: 
 2184: } # ac_fn_c_check_header_mongrel
 2185: 
 2186: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 2187: # -------------------------------------------
 2188: # Tests whether TYPE exists after having included INCLUDES, setting cache
 2189: # variable VAR accordingly.
 2190: ac_fn_c_check_type ()
 2191: {
 2192:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2193:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2194: $as_echo_n "checking for $2... " >&6; }
 2195: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2196:   $as_echo_n "(cached) " >&6
 2197: else
 2198:   eval "$3=no"
 2199:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2200: /* end confdefs.h.  */
 2201: $4
 2202: int
 2203: main ()
 2204: {
 2205: if (sizeof ($2))
 2206:      return 0;
 2207:   ;
 2208:   return 0;
 2209: }
 2210: _ACEOF
 2211: if ac_fn_c_try_compile "$LINENO"; then :
 2212:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2213: /* end confdefs.h.  */
 2214: $4
 2215: int
 2216: main ()
 2217: {
 2218: if (sizeof (($2)))
 2219:         return 0;
 2220:   ;
 2221:   return 0;
 2222: }
 2223: _ACEOF
 2224: if ac_fn_c_try_compile "$LINENO"; then :
 2225: 
 2226: else
 2227:   eval "$3=yes"
 2228: fi
 2229: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2230: fi
 2231: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2232: fi
 2233: eval ac_res=\$$3
 2234:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2235: $as_echo "$ac_res" >&6; }
 2236:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2237: 
 2238: } # ac_fn_c_check_type
 2239: cat >config.log <<_ACEOF
 2240: This file contains any messages produced by compilers while
 2241: running configure, to aid debugging if configure makes a mistake.
 2242: 
 2243: It was created by rpl $as_me 4.0.18, which was
 2244: generated by GNU Autoconf 2.65.  Invocation command line was
 2245: 
 2246:   $ $0 $@
 2247: 
 2248: _ACEOF
 2249: exec 5>>config.log
 2250: {
 2251: cat <<_ASUNAME
 2252: ## --------- ##
 2253: ## Platform. ##
 2254: ## --------- ##
 2255: 
 2256: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2257: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2258: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2259: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2260: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2261: 
 2262: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2263: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2264: 
 2265: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2266: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2267: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2268: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2269: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2270: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2271: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2272: 
 2273: _ASUNAME
 2274: 
 2275: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2276: for as_dir in $PATH
 2277: do
 2278:   IFS=$as_save_IFS
 2279:   test -z "$as_dir" && as_dir=.
 2280:     $as_echo "PATH: $as_dir"
 2281:   done
 2282: IFS=$as_save_IFS
 2283: 
 2284: } >&5
 2285: 
 2286: cat >&5 <<_ACEOF
 2287: 
 2288: 
 2289: ## ----------- ##
 2290: ## Core tests. ##
 2291: ## ----------- ##
 2292: 
 2293: _ACEOF
 2294: 
 2295: 
 2296: # Keep a trace of the command line.
 2297: # Strip out --no-create and --no-recursion so they do not pile up.
 2298: # Strip out --silent because we don't want to record it for future runs.
 2299: # Also quote any args containing shell meta-characters.
 2300: # Make two passes to allow for proper duplicate-argument suppression.
 2301: ac_configure_args=
 2302: ac_configure_args0=
 2303: ac_configure_args1=
 2304: ac_must_keep_next=false
 2305: for ac_pass in 1 2
 2306: do
 2307:   for ac_arg
 2308:   do
 2309:     case $ac_arg in
 2310:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2311:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2312:     | -silent | --silent | --silen | --sile | --sil)
 2313:       continue ;;
 2314:     *\'*)
 2315:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2316:     esac
 2317:     case $ac_pass in
 2318:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2319:     2)
 2320:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2321:       if test $ac_must_keep_next = true; then
 2322:     ac_must_keep_next=false # Got value, back to normal.
 2323:       else
 2324:     case $ac_arg in
 2325:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2326:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2327:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2328:       | -with-* | --with-* | -without-* | --without-* | --x)
 2329:         case "$ac_configure_args0 " in
 2330:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2331:         esac
 2332:         ;;
 2333:       -* ) ac_must_keep_next=true ;;
 2334:     esac
 2335:       fi
 2336:       as_fn_append ac_configure_args " '$ac_arg'"
 2337:       ;;
 2338:     esac
 2339:   done
 2340: done
 2341: { ac_configure_args0=; unset ac_configure_args0;}
 2342: { ac_configure_args1=; unset ac_configure_args1;}
 2343: 
 2344: # When interrupted or exit'd, cleanup temporary files, and complete
 2345: # config.log.  We remove comments because anyway the quotes in there
 2346: # would cause problems or look ugly.
 2347: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2348: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2349: trap 'exit_status=$?
 2350:   # Save into config.log some information that might help in debugging.
 2351:   {
 2352:     echo
 2353: 
 2354:     cat <<\_ASBOX
 2355: ## ---------------- ##
 2356: ## Cache variables. ##
 2357: ## ---------------- ##
 2358: _ASBOX
 2359:     echo
 2360:     # The following way of writing the cache mishandles newlines in values,
 2361: (
 2362:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2363:     eval ac_val=\$$ac_var
 2364:     case $ac_val in #(
 2365:     *${as_nl}*)
 2366:       case $ac_var in #(
 2367:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2368: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2369:       esac
 2370:       case $ac_var in #(
 2371:       _ | IFS | as_nl) ;; #(
 2372:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2373:       *) { eval $ac_var=; unset $ac_var;} ;;
 2374:       esac ;;
 2375:     esac
 2376:   done
 2377:   (set) 2>&1 |
 2378:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2379:     *${as_nl}ac_space=\ *)
 2380:       sed -n \
 2381:     "s/'\''/'\''\\\\'\'''\''/g;
 2382:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2383:       ;; #(
 2384:     *)
 2385:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2386:       ;;
 2387:     esac |
 2388:     sort
 2389: )
 2390:     echo
 2391: 
 2392:     cat <<\_ASBOX
 2393: ## ----------------- ##
 2394: ## Output variables. ##
 2395: ## ----------------- ##
 2396: _ASBOX
 2397:     echo
 2398:     for ac_var in $ac_subst_vars
 2399:     do
 2400:       eval ac_val=\$$ac_var
 2401:       case $ac_val in
 2402:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2403:       esac
 2404:       $as_echo "$ac_var='\''$ac_val'\''"
 2405:     done | sort
 2406:     echo
 2407: 
 2408:     if test -n "$ac_subst_files"; then
 2409:       cat <<\_ASBOX
 2410: ## ------------------- ##
 2411: ## File substitutions. ##
 2412: ## ------------------- ##
 2413: _ASBOX
 2414:       echo
 2415:       for ac_var in $ac_subst_files
 2416:       do
 2417:     eval ac_val=\$$ac_var
 2418:     case $ac_val in
 2419:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2420:     esac
 2421:     $as_echo "$ac_var='\''$ac_val'\''"
 2422:       done | sort
 2423:       echo
 2424:     fi
 2425: 
 2426:     if test -s confdefs.h; then
 2427:       cat <<\_ASBOX
 2428: ## ----------- ##
 2429: ## confdefs.h. ##
 2430: ## ----------- ##
 2431: _ASBOX
 2432:       echo
 2433:       cat confdefs.h
 2434:       echo
 2435:     fi
 2436:     test "$ac_signal" != 0 &&
 2437:       $as_echo "$as_me: caught signal $ac_signal"
 2438:     $as_echo "$as_me: exit $exit_status"
 2439:   } >&5
 2440:   rm -f core *.core core.conftest.* &&
 2441:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2442:     exit $exit_status
 2443: ' 0
 2444: for ac_signal in 1 2 13 15; do
 2445:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2446: done
 2447: ac_signal=0
 2448: 
 2449: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2450: rm -f -r conftest* confdefs.h
 2451: 
 2452: $as_echo "/* confdefs.h */" > confdefs.h
 2453: 
 2454: # Predefined preprocessor variables.
 2455: 
 2456: cat >>confdefs.h <<_ACEOF
 2457: #define PACKAGE_NAME "$PACKAGE_NAME"
 2458: _ACEOF
 2459: 
 2460: cat >>confdefs.h <<_ACEOF
 2461: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2462: _ACEOF
 2463: 
 2464: cat >>confdefs.h <<_ACEOF
 2465: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2466: _ACEOF
 2467: 
 2468: cat >>confdefs.h <<_ACEOF
 2469: #define PACKAGE_STRING "$PACKAGE_STRING"
 2470: _ACEOF
 2471: 
 2472: cat >>confdefs.h <<_ACEOF
 2473: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2474: _ACEOF
 2475: 
 2476: cat >>confdefs.h <<_ACEOF
 2477: #define PACKAGE_URL "$PACKAGE_URL"
 2478: _ACEOF
 2479: 
 2480: 
 2481: # Let the site file select an alternate cache file if it wants to.
 2482: # Prefer an explicitly selected file to automatically selected ones.
 2483: ac_site_file1=NONE
 2484: ac_site_file2=NONE
 2485: if test -n "$CONFIG_SITE"; then
 2486:   ac_site_file1=$CONFIG_SITE
 2487: elif test "x$prefix" != xNONE; then
 2488:   ac_site_file1=$prefix/share/config.site
 2489:   ac_site_file2=$prefix/etc/config.site
 2490: else
 2491:   ac_site_file1=$ac_default_prefix/share/config.site
 2492:   ac_site_file2=$ac_default_prefix/etc/config.site
 2493: fi
 2494: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2495: do
 2496:   test "x$ac_site_file" = xNONE && continue
 2497:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2498:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2499: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2500:     sed 's/^/| /' "$ac_site_file" >&5
 2501:     . "$ac_site_file"
 2502:   fi
 2503: done
 2504: 
 2505: if test -r "$cache_file"; then
 2506:   # Some versions of bash will fail to source /dev/null (special files
 2507:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2508:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2509:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2510: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2511:     case $cache_file in
 2512:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2513:       *)                      . "./$cache_file";;
 2514:     esac
 2515:   fi
 2516: else
 2517:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2518: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2519:   >$cache_file
 2520: fi
 2521: 
 2522: # Check that the precious variables saved in the cache have kept the same
 2523: # value.
 2524: ac_cache_corrupted=false
 2525: for ac_var in $ac_precious_vars; do
 2526:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2527:   eval ac_new_set=\$ac_env_${ac_var}_set
 2528:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2529:   eval ac_new_val=\$ac_env_${ac_var}_value
 2530:   case $ac_old_set,$ac_new_set in
 2531:     set,)
 2532:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2533: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2534:       ac_cache_corrupted=: ;;
 2535:     ,set)
 2536:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2537: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2538:       ac_cache_corrupted=: ;;
 2539:     ,);;
 2540:     *)
 2541:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2542:     # differences in whitespace do not lead to failure.
 2543:     ac_old_val_w=`echo x $ac_old_val`
 2544:     ac_new_val_w=`echo x $ac_new_val`
 2545:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2546:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2547: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2548:       ac_cache_corrupted=:
 2549:     else
 2550:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2551: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2552:       eval $ac_var=\$ac_old_val
 2553:     fi
 2554:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2555: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2556:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2557: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2558:       fi;;
 2559:   esac
 2560:   # Pass precious variables to config.status.
 2561:   if test "$ac_new_set" = set; then
 2562:     case $ac_new_val in
 2563:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2564:     *) ac_arg=$ac_var=$ac_new_val ;;
 2565:     esac
 2566:     case " $ac_configure_args " in
 2567:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2568:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2569:     esac
 2570:   fi
 2571: done
 2572: if $ac_cache_corrupted; then
 2573:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2574: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2575:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2576: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2577:   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2578: fi
 2579: ## -------------------- ##
 2580: ## Main body of script. ##
 2581: ## -------------------- ##
 2582: 
 2583: ac_ext=c
 2584: ac_cpp='$CPP $CPPFLAGS'
 2585: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2586: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2587: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2588: 
 2589: 
 2590: ac_aux_dir=
 2591: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2592:   for ac_t in install-sh install.sh shtool; do
 2593:     if test -f "$ac_dir/$ac_t"; then
 2594:       ac_aux_dir=$ac_dir
 2595:       ac_install_sh="$ac_aux_dir/$ac_t -c"
 2596:       break 2
 2597:     fi
 2598:   done
 2599: done
 2600: if test -z "$ac_aux_dir"; then
 2601:   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2602: fi
 2603: 
 2604: # These three variables are undocumented and unsupported,
 2605: # and are intended to be withdrawn in a future Autoconf release.
 2606: # They can cause serious problems if a builder's source tree is in a directory
 2607: # whose full name contains unusual characters.
 2608: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2609: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2610: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2611: 
 2612: 
 2613: # Make sure we can run config.sub.
 2614: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2615:   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2616: 
 2617: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2618: $as_echo_n "checking build system type... " >&6; }
 2619: if test "${ac_cv_build+set}" = set; then :
 2620:   $as_echo_n "(cached) " >&6
 2621: else
 2622:   ac_build_alias=$build_alias
 2623: test "x$ac_build_alias" = x &&
 2624:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2625: test "x$ac_build_alias" = x &&
 2626:   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 2627: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2628:   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2629: 
 2630: fi
 2631: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2632: $as_echo "$ac_cv_build" >&6; }
 2633: case $ac_cv_build in
 2634: *-*-*) ;;
 2635: *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 2636: esac
 2637: build=$ac_cv_build
 2638: ac_save_IFS=$IFS; IFS='-'
 2639: set x $ac_cv_build
 2640: shift
 2641: build_cpu=$1
 2642: build_vendor=$2
 2643: shift; shift
 2644: # Remember, the first character of IFS is used to create $*,
 2645: # except with old shells:
 2646: build_os=$*
 2647: IFS=$ac_save_IFS
 2648: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2649: 
 2650: 
 2651: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2652: $as_echo_n "checking host system type... " >&6; }
 2653: if test "${ac_cv_host+set}" = set; then :
 2654:   $as_echo_n "(cached) " >&6
 2655: else
 2656:   if test "x$host_alias" = x; then
 2657:   ac_cv_host=$ac_cv_build
 2658: else
 2659:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2660:     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2661: fi
 2662: 
 2663: fi
 2664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2665: $as_echo "$ac_cv_host" >&6; }
 2666: case $ac_cv_host in
 2667: *-*-*) ;;
 2668: *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 2669: esac
 2670: host=$ac_cv_host
 2671: ac_save_IFS=$IFS; IFS='-'
 2672: set x $ac_cv_host
 2673: shift
 2674: host_cpu=$1
 2675: host_vendor=$2
 2676: shift; shift
 2677: # Remember, the first character of IFS is used to create $*,
 2678: # except with old shells:
 2679: host_os=$*
 2680: IFS=$ac_save_IFS
 2681: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2682: 
 2683: 
 2684: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2685: $as_echo_n "checking target system type... " >&6; }
 2686: if test "${ac_cv_target+set}" = set; then :
 2687:   $as_echo_n "(cached) " >&6
 2688: else
 2689:   if test "x$target_alias" = x; then
 2690:   ac_cv_target=$ac_cv_host
 2691: else
 2692:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2693:     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2694: fi
 2695: 
 2696: fi
 2697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2698: $as_echo "$ac_cv_target" >&6; }
 2699: case $ac_cv_target in
 2700: *-*-*) ;;
 2701: *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 2702: esac
 2703: target=$ac_cv_target
 2704: ac_save_IFS=$IFS; IFS='-'
 2705: set x $ac_cv_target
 2706: shift
 2707: target_cpu=$1
 2708: target_vendor=$2
 2709: shift; shift
 2710: # Remember, the first character of IFS is used to create $*,
 2711: # except with old shells:
 2712: target_os=$*
 2713: IFS=$ac_save_IFS
 2714: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2715: 
 2716: 
 2717: # The aliases save the names the user supplied, while $host etc.
 2718: # will get canonicalized.
 2719: test -n "$target_alias" &&
 2720:   test "$program_prefix$program_suffix$program_transform_name" = \
 2721:     NONENONEs,x,x, &&
 2722:   program_prefix=${target_alias}-
 2723: 
 2724: am__api_version='1.11'
 2725: 
 2726: # Find a good install program.  We prefer a C program (faster),
 2727: # so one script is as good as another.  But avoid the broken or
 2728: # incompatible versions:
 2729: # SysV /etc/install, /usr/sbin/install
 2730: # SunOS /usr/etc/install
 2731: # IRIX /sbin/install
 2732: # AIX /bin/install
 2733: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2734: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2735: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2736: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2737: # OS/2's system install, which has a completely different semantic
 2738: # ./install, which can be erroneously created by make from ./install.sh.
 2739: # Reject install programs that cannot install multiple files.
 2740: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2741: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2742: if test -z "$INSTALL"; then
 2743: if test "${ac_cv_path_install+set}" = set; then :
 2744:   $as_echo_n "(cached) " >&6
 2745: else
 2746:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2747: for as_dir in $PATH
 2748: do
 2749:   IFS=$as_save_IFS
 2750:   test -z "$as_dir" && as_dir=.
 2751:     # Account for people who put trailing slashes in PATH elements.
 2752: case $as_dir/ in #((
 2753:   ./ | .// | /[cC]/* | \
 2754:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2755:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2756:   /usr/ucb/* ) ;;
 2757:   *)
 2758:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2759:     # Don't use installbsd from OSF since it installs stuff as root
 2760:     # by default.
 2761:     for ac_prog in ginstall scoinst install; do
 2762:       for ac_exec_ext in '' $ac_executable_extensions; do
 2763:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2764:       if test $ac_prog = install &&
 2765:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2766:         # AIX install.  It has an incompatible calling convention.
 2767:         :
 2768:       elif test $ac_prog = install &&
 2769:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2770:         # program-specific install script used by HP pwplus--don't use.
 2771:         :
 2772:       else
 2773:         rm -rf conftest.one conftest.two conftest.dir
 2774:         echo one > conftest.one
 2775:         echo two > conftest.two
 2776:         mkdir conftest.dir
 2777:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2778:           test -s conftest.one && test -s conftest.two &&
 2779:           test -s conftest.dir/conftest.one &&
 2780:           test -s conftest.dir/conftest.two
 2781:         then
 2782:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2783:           break 3
 2784:         fi
 2785:       fi
 2786:     fi
 2787:       done
 2788:     done
 2789:     ;;
 2790: esac
 2791: 
 2792:   done
 2793: IFS=$as_save_IFS
 2794: 
 2795: rm -rf conftest.one conftest.two conftest.dir
 2796: 
 2797: fi
 2798:   if test "${ac_cv_path_install+set}" = set; then
 2799:     INSTALL=$ac_cv_path_install
 2800:   else
 2801:     # As a last resort, use the slow shell script.  Don't cache a
 2802:     # value for INSTALL within a source directory, because that will
 2803:     # break other packages using the cache if that directory is
 2804:     # removed, or if the value is a relative name.
 2805:     INSTALL=$ac_install_sh
 2806:   fi
 2807: fi
 2808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2809: $as_echo "$INSTALL" >&6; }
 2810: 
 2811: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2812: # It thinks the first close brace ends the variable substitution.
 2813: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2814: 
 2815: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2816: 
 2817: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2818: 
 2819: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2820: $as_echo_n "checking whether build environment is sane... " >&6; }
 2821: # Just in case
 2822: sleep 1
 2823: echo timestamp > conftest.file
 2824: # Reject unsafe characters in $srcdir or the absolute working directory
 2825: # name.  Accept space and tab only in the latter.
 2826: am_lf='
 2827: '
 2828: case `pwd` in
 2829:   *[\\\"\#\$\&\'\`$am_lf]*)
 2830:     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 2831: esac
 2832: case $srcdir in
 2833:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2834:     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2835: esac
 2836: 
 2837: # Do `set' in a subshell so we don't clobber the current shell's
 2838: # arguments.  Must try -L first in case configure is actually a
 2839: # symlink; some systems play weird games with the mod time of symlinks
 2840: # (eg FreeBSD returns the mod time of the symlink's containing
 2841: # directory).
 2842: if (
 2843:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2844:    if test "$*" = "X"; then
 2845:       # -L didn't work.
 2846:       set X `ls -t "$srcdir/configure" conftest.file`
 2847:    fi
 2848:    rm -f conftest.file
 2849:    if test "$*" != "X $srcdir/configure conftest.file" \
 2850:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2851: 
 2852:       # If neither matched, then we have a broken ls.  This can happen
 2853:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2854:       # broken ls alias from the environment.  This has actually
 2855:       # happened.  Such a system could not be considered "sane".
 2856:       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 2857: alias in your environment" "$LINENO" 5
 2858:    fi
 2859: 
 2860:    test "$2" = conftest.file
 2861:    )
 2862: then
 2863:    # Ok.
 2864:    :
 2865: else
 2866:    as_fn_error "newly created file is older than distributed files!
 2867: Check your system clock" "$LINENO" 5
 2868: fi
 2869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2870: $as_echo "yes" >&6; }
 2871: test "$program_prefix" != NONE &&
 2872:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2873: # Use a double $ so make ignores it.
 2874: test "$program_suffix" != NONE &&
 2875:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2876: # Double any \ or $.
 2877: # By default was `s,x,x', remove it if useless.
 2878: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2879: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2880: 
 2881: # expand $ac_aux_dir to an absolute path
 2882: am_aux_dir=`cd $ac_aux_dir && pwd`
 2883: 
 2884: if test x"${MISSING+set}" != xset; then
 2885:   case $am_aux_dir in
 2886:   *\ * | *\ *)
 2887:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2888:   *)
 2889:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2890:   esac
 2891: fi
 2892: # Use eval to expand $SHELL
 2893: if eval "$MISSING --run true"; then
 2894:   am_missing_run="$MISSING --run "
 2895: else
 2896:   am_missing_run=
 2897:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2898: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2899: fi
 2900: 
 2901: if test x"${install_sh}" != xset; then
 2902:   case $am_aux_dir in
 2903:   *\ * | *\ *)
 2904:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2905:   *)
 2906:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2907:   esac
 2908: fi
 2909: 
 2910: # Installed binaries are usually stripped using `strip' when the user
 2911: # run `make install-strip'.  However `strip' might not be the right
 2912: # tool to use in cross-compilation environments, therefore Automake
 2913: # will honor the `STRIP' environment variable to overrule this program.
 2914: if test "$cross_compiling" != no; then
 2915:   if test -n "$ac_tool_prefix"; then
 2916:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2917: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2919: $as_echo_n "checking for $ac_word... " >&6; }
 2920: if test "${ac_cv_prog_STRIP+set}" = set; then :
 2921:   $as_echo_n "(cached) " >&6
 2922: else
 2923:   if test -n "$STRIP"; then
 2924:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2925: else
 2926: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2927: for as_dir in $PATH
 2928: do
 2929:   IFS=$as_save_IFS
 2930:   test -z "$as_dir" && as_dir=.
 2931:     for ac_exec_ext in '' $ac_executable_extensions; do
 2932:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2933:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2934:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2935:     break 2
 2936:   fi
 2937: done
 2938:   done
 2939: IFS=$as_save_IFS
 2940: 
 2941: fi
 2942: fi
 2943: STRIP=$ac_cv_prog_STRIP
 2944: if test -n "$STRIP"; then
 2945:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2946: $as_echo "$STRIP" >&6; }
 2947: else
 2948:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2949: $as_echo "no" >&6; }
 2950: fi
 2951: 
 2952: 
 2953: fi
 2954: if test -z "$ac_cv_prog_STRIP"; then
 2955:   ac_ct_STRIP=$STRIP
 2956:   # Extract the first word of "strip", so it can be a program name with args.
 2957: set dummy strip; ac_word=$2
 2958: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2959: $as_echo_n "checking for $ac_word... " >&6; }
 2960: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 2961:   $as_echo_n "(cached) " >&6
 2962: else
 2963:   if test -n "$ac_ct_STRIP"; then
 2964:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2965: else
 2966: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2967: for as_dir in $PATH
 2968: do
 2969:   IFS=$as_save_IFS
 2970:   test -z "$as_dir" && as_dir=.
 2971:     for ac_exec_ext in '' $ac_executable_extensions; do
 2972:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2973:     ac_cv_prog_ac_ct_STRIP="strip"
 2974:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2975:     break 2
 2976:   fi
 2977: done
 2978:   done
 2979: IFS=$as_save_IFS
 2980: 
 2981: fi
 2982: fi
 2983: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2984: if test -n "$ac_ct_STRIP"; then
 2985:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2986: $as_echo "$ac_ct_STRIP" >&6; }
 2987: else
 2988:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2989: $as_echo "no" >&6; }
 2990: fi
 2991: 
 2992:   if test "x$ac_ct_STRIP" = x; then
 2993:     STRIP=":"
 2994:   else
 2995:     case $cross_compiling:$ac_tool_warned in
 2996: yes:)
 2997: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2998: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2999: ac_tool_warned=yes ;;
 3000: esac
 3001:     STRIP=$ac_ct_STRIP
 3002:   fi
 3003: else
 3004:   STRIP="$ac_cv_prog_STRIP"
 3005: fi
 3006: 
 3007: fi
 3008: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3009: 
 3010: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3011: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3012: if test -z "$MKDIR_P"; then
 3013:   if test "${ac_cv_path_mkdir+set}" = set; then :
 3014:   $as_echo_n "(cached) " >&6
 3015: else
 3016:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3017: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3018: do
 3019:   IFS=$as_save_IFS
 3020:   test -z "$as_dir" && as_dir=.
 3021:     for ac_prog in mkdir gmkdir; do
 3022:      for ac_exec_ext in '' $ac_executable_extensions; do
 3023:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3024:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3025:          'mkdir (GNU coreutils) '* | \
 3026:          'mkdir (coreutils) '* | \
 3027:          'mkdir (fileutils) '4.1*)
 3028:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3029:            break 3;;
 3030:        esac
 3031:      done
 3032:        done
 3033:   done
 3034: IFS=$as_save_IFS
 3035: 
 3036: fi
 3037: 
 3038:   test -d ./--version && rmdir ./--version
 3039:   if test "${ac_cv_path_mkdir+set}" = set; then
 3040:     MKDIR_P="$ac_cv_path_mkdir -p"
 3041:   else
 3042:     # As a last resort, use the slow shell script.  Don't cache a
 3043:     # value for MKDIR_P within a source directory, because that will
 3044:     # break other packages using the cache if that directory is
 3045:     # removed, or if the value is a relative name.
 3046:     MKDIR_P="$ac_install_sh -d"
 3047:   fi
 3048: fi
 3049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3050: $as_echo "$MKDIR_P" >&6; }
 3051: 
 3052: mkdir_p="$MKDIR_P"
 3053: case $mkdir_p in
 3054:   [\\/$]* | ?:[\\/]*) ;;
 3055:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3056: esac
 3057: 
 3058: for ac_prog in gawk mawk nawk awk
 3059: do
 3060:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3061: set dummy $ac_prog; ac_word=$2
 3062: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3063: $as_echo_n "checking for $ac_word... " >&6; }
 3064: if test "${ac_cv_prog_AWK+set}" = set; then :
 3065:   $as_echo_n "(cached) " >&6
 3066: else
 3067:   if test -n "$AWK"; then
 3068:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3069: else
 3070: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3071: for as_dir in $PATH
 3072: do
 3073:   IFS=$as_save_IFS
 3074:   test -z "$as_dir" && as_dir=.
 3075:     for ac_exec_ext in '' $ac_executable_extensions; do
 3076:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3077:     ac_cv_prog_AWK="$ac_prog"
 3078:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3079:     break 2
 3080:   fi
 3081: done
 3082:   done
 3083: IFS=$as_save_IFS
 3084: 
 3085: fi
 3086: fi
 3087: AWK=$ac_cv_prog_AWK
 3088: if test -n "$AWK"; then
 3089:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3090: $as_echo "$AWK" >&6; }
 3091: else
 3092:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3093: $as_echo "no" >&6; }
 3094: fi
 3095: 
 3096: 
 3097:   test -n "$AWK" && break
 3098: done
 3099: 
 3100: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3101: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3102: set x ${MAKE-make}
 3103: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3104: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 3105:   $as_echo_n "(cached) " >&6
 3106: else
 3107:   cat >conftest.make <<\_ACEOF
 3108: SHELL = /bin/sh
 3109: all:
 3110:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3111: _ACEOF
 3112: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 3113: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3114:   *@@@%%%=?*=@@@%%%*)
 3115:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3116:   *)
 3117:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3118: esac
 3119: rm -f conftest.make
 3120: fi
 3121: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3123: $as_echo "yes" >&6; }
 3124:   SET_MAKE=
 3125: else
 3126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3127: $as_echo "no" >&6; }
 3128:   SET_MAKE="MAKE=${MAKE-make}"
 3129: fi
 3130: 
 3131: rm -rf .tst 2>/dev/null
 3132: mkdir .tst 2>/dev/null
 3133: if test -d .tst; then
 3134:   am__leading_dot=.
 3135: else
 3136:   am__leading_dot=_
 3137: fi
 3138: rmdir .tst 2>/dev/null
 3139: 
 3140: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3141:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3142:   # is not polluted with repeated "-I."
 3143:   am__isrc=' -I$(srcdir)'
 3144:   # test to see if srcdir already configured
 3145:   if test -f $srcdir/config.status; then
 3146:     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3147:   fi
 3148: fi
 3149: 
 3150: # test whether we have cygpath
 3151: if test -z "$CYGPATH_W"; then
 3152:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3153:     CYGPATH_W='cygpath -w'
 3154:   else
 3155:     CYGPATH_W=echo
 3156:   fi
 3157: fi
 3158: 
 3159: 
 3160: # Define the identity of the package.
 3161:  PACKAGE='rpl'
 3162:  VERSION='4.0.18'
 3163: 
 3164: 
 3165: cat >>confdefs.h <<_ACEOF
 3166: #define PACKAGE "$PACKAGE"
 3167: _ACEOF
 3168: 
 3169: 
 3170: cat >>confdefs.h <<_ACEOF
 3171: #define VERSION "$VERSION"
 3172: _ACEOF
 3173: 
 3174: # Some tools Automake needs.
 3175: 
 3176: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3177: 
 3178: 
 3179: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3180: 
 3181: 
 3182: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3183: 
 3184: 
 3185: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3186: 
 3187: 
 3188: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3189: 
 3190: # We need awk for the "check" target.  The system "awk" is bad on
 3191: # some platforms.
 3192: # Always define AMTAR for backward compatibility.
 3193: 
 3194: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3195: 
 3196: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3197: 
 3198: 
 3199: 
 3200: 
 3201: 
 3202: 
 3203: ac_config_headers="$ac_config_headers rplconfig.h"
 3204: 
 3205: 
 3206: NCURSES=ncurses-5.7-20100619
 3207: READLINE=readline-6.1
 3208: UNITS=units-1.88
 3209: GSL=gsl-1.14
 3210: GPP=gpp-2.24
 3211: GNUPLOT=gnuplot-4.4.0
 3212: FILE=file-5.03
 3213: ICONV=libiconv-1.13.1
 3214: SQLITE=sqlite-3.7.0.1
 3215: OPENSSL=openssl-1.0.0a
 3216: 
 3217: ac_ext=c
 3218: ac_cpp='$CPP $CPPFLAGS'
 3219: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3220: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3221: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3222: if test -n "$ac_tool_prefix"; then
 3223:   for ac_prog in gcc
 3224:   do
 3225:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3226: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3228: $as_echo_n "checking for $ac_word... " >&6; }
 3229: if test "${ac_cv_prog_CC+set}" = set; then :
 3230:   $as_echo_n "(cached) " >&6
 3231: else
 3232:   if test -n "$CC"; then
 3233:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3234: else
 3235: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3236: for as_dir in $PATH
 3237: do
 3238:   IFS=$as_save_IFS
 3239:   test -z "$as_dir" && as_dir=.
 3240:     for ac_exec_ext in '' $ac_executable_extensions; do
 3241:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3242:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3243:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3244:     break 2
 3245:   fi
 3246: done
 3247:   done
 3248: IFS=$as_save_IFS
 3249: 
 3250: fi
 3251: fi
 3252: CC=$ac_cv_prog_CC
 3253: if test -n "$CC"; then
 3254:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3255: $as_echo "$CC" >&6; }
 3256: else
 3257:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3258: $as_echo "no" >&6; }
 3259: fi
 3260: 
 3261: 
 3262:     test -n "$CC" && break
 3263:   done
 3264: fi
 3265: if test -z "$CC"; then
 3266:   ac_ct_CC=$CC
 3267:   for ac_prog in gcc
 3268: do
 3269:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3270: set dummy $ac_prog; ac_word=$2
 3271: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3272: $as_echo_n "checking for $ac_word... " >&6; }
 3273: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3274:   $as_echo_n "(cached) " >&6
 3275: else
 3276:   if test -n "$ac_ct_CC"; then
 3277:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3278: else
 3279: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3280: for as_dir in $PATH
 3281: do
 3282:   IFS=$as_save_IFS
 3283:   test -z "$as_dir" && as_dir=.
 3284:     for ac_exec_ext in '' $ac_executable_extensions; do
 3285:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3286:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3287:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3288:     break 2
 3289:   fi
 3290: done
 3291:   done
 3292: IFS=$as_save_IFS
 3293: 
 3294: fi
 3295: fi
 3296: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3297: if test -n "$ac_ct_CC"; then
 3298:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3299: $as_echo "$ac_ct_CC" >&6; }
 3300: else
 3301:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3302: $as_echo "no" >&6; }
 3303: fi
 3304: 
 3305: 
 3306:   test -n "$ac_ct_CC" && break
 3307: done
 3308: 
 3309:   if test "x$ac_ct_CC" = x; then
 3310:     CC=""
 3311:   else
 3312:     case $cross_compiling:$ac_tool_warned in
 3313: yes:)
 3314: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3315: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3316: ac_tool_warned=yes ;;
 3317: esac
 3318:     CC=$ac_ct_CC
 3319:   fi
 3320: fi
 3321: 
 3322: 
 3323: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3324: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3325: as_fn_error "no acceptable C compiler found in \$PATH
 3326: See \`config.log' for more details." "$LINENO" 5; }
 3327: 
 3328: # Provide some information about the compiler.
 3329: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3330: set X $ac_compile
 3331: ac_compiler=$2
 3332: for ac_option in --version -v -V -qversion; do
 3333:   { { ac_try="$ac_compiler $ac_option >&5"
 3334: case "(($ac_try" in
 3335:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3336:   *) ac_try_echo=$ac_try;;
 3337: esac
 3338: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3339: $as_echo "$ac_try_echo"; } >&5
 3340:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3341:   ac_status=$?
 3342:   if test -s conftest.err; then
 3343:     sed '10a\
 3344: ... rest of stderr output deleted ...
 3345:          10q' conftest.err >conftest.er1
 3346:     cat conftest.er1 >&5
 3347:   fi
 3348:   rm -f conftest.er1 conftest.err
 3349:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3350:   test $ac_status = 0; }
 3351: done
 3352: 
 3353: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3354: /* end confdefs.h.  */
 3355: 
 3356: int
 3357: main ()
 3358: {
 3359: 
 3360:   ;
 3361:   return 0;
 3362: }
 3363: _ACEOF
 3364: ac_clean_files_save=$ac_clean_files
 3365: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3366: # Try to create an executable without -o first, disregard a.out.
 3367: # It will help us diagnose broken compilers, and finding out an intuition
 3368: # of exeext.
 3369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3370: $as_echo_n "checking whether the C compiler works... " >&6; }
 3371: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3372: 
 3373: # The possible output files:
 3374: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3375: 
 3376: ac_rmfiles=
 3377: for ac_file in $ac_files
 3378: do
 3379:   case $ac_file in
 3380:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3381:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3382:   esac
 3383: done
 3384: rm -f $ac_rmfiles
 3385: 
 3386: if { { ac_try="$ac_link_default"
 3387: case "(($ac_try" in
 3388:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3389:   *) ac_try_echo=$ac_try;;
 3390: esac
 3391: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3392: $as_echo "$ac_try_echo"; } >&5
 3393:   (eval "$ac_link_default") 2>&5
 3394:   ac_status=$?
 3395:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3396:   test $ac_status = 0; }; then :
 3397:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3398: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3399: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3400: # so that the user can short-circuit this test for compilers unknown to
 3401: # Autoconf.
 3402: for ac_file in $ac_files ''
 3403: do
 3404:   test -f "$ac_file" || continue
 3405:   case $ac_file in
 3406:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3407:     ;;
 3408:     [ab].out )
 3409:     # We found the default executable, but exeext='' is most
 3410:     # certainly right.
 3411:     break;;
 3412:     *.* )
 3413:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3414:     then :; else
 3415:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3416:     fi
 3417:     # We set ac_cv_exeext here because the later test for it is not
 3418:     # safe: cross compilers may not add the suffix if given an `-o'
 3419:     # argument, so we may need to know it at that point already.
 3420:     # Even if this section looks crufty: it has the advantage of
 3421:     # actually working.
 3422:     break;;
 3423:     * )
 3424:     break;;
 3425:   esac
 3426: done
 3427: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3428: 
 3429: else
 3430:   ac_file=''
 3431: fi
 3432: if test -z "$ac_file"; then :
 3433:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3434: $as_echo "no" >&6; }
 3435: $as_echo "$as_me: failed program was:" >&5
 3436: sed 's/^/| /' conftest.$ac_ext >&5
 3437: 
 3438: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3439: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3440: { as_fn_set_status 77
 3441: as_fn_error "C compiler cannot create executables
 3442: See \`config.log' for more details." "$LINENO" 5; }; }
 3443: else
 3444:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3445: $as_echo "yes" >&6; }
 3446: fi
 3447: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3448: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3450: $as_echo "$ac_file" >&6; }
 3451: ac_exeext=$ac_cv_exeext
 3452: 
 3453: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3454: ac_clean_files=$ac_clean_files_save
 3455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3456: $as_echo_n "checking for suffix of executables... " >&6; }
 3457: if { { ac_try="$ac_link"
 3458: case "(($ac_try" in
 3459:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3460:   *) ac_try_echo=$ac_try;;
 3461: esac
 3462: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3463: $as_echo "$ac_try_echo"; } >&5
 3464:   (eval "$ac_link") 2>&5
 3465:   ac_status=$?
 3466:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3467:   test $ac_status = 0; }; then :
 3468:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3469: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3470: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3471: # `rm'.
 3472: for ac_file in conftest.exe conftest conftest.*; do
 3473:   test -f "$ac_file" || continue
 3474:   case $ac_file in
 3475:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3476:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3477:       break;;
 3478:     * ) break;;
 3479:   esac
 3480: done
 3481: else
 3482:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3483: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3484: as_fn_error "cannot compute suffix of executables: cannot compile and link
 3485: See \`config.log' for more details." "$LINENO" 5; }
 3486: fi
 3487: rm -f conftest conftest$ac_cv_exeext
 3488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3489: $as_echo "$ac_cv_exeext" >&6; }
 3490: 
 3491: rm -f conftest.$ac_ext
 3492: EXEEXT=$ac_cv_exeext
 3493: ac_exeext=$EXEEXT
 3494: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3495: /* end confdefs.h.  */
 3496: #include <stdio.h>
 3497: int
 3498: main ()
 3499: {
 3500: FILE *f = fopen ("conftest.out", "w");
 3501:  return ferror (f) || fclose (f) != 0;
 3502: 
 3503:   ;
 3504:   return 0;
 3505: }
 3506: _ACEOF
 3507: ac_clean_files="$ac_clean_files conftest.out"
 3508: # Check that the compiler produces executables we can run.  If not, either
 3509: # the compiler is broken, or we cross compile.
 3510: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3511: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3512: if test "$cross_compiling" != yes; then
 3513:   { { ac_try="$ac_link"
 3514: case "(($ac_try" in
 3515:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3516:   *) ac_try_echo=$ac_try;;
 3517: esac
 3518: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3519: $as_echo "$ac_try_echo"; } >&5
 3520:   (eval "$ac_link") 2>&5
 3521:   ac_status=$?
 3522:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3523:   test $ac_status = 0; }
 3524:   if { ac_try='./conftest$ac_cv_exeext'
 3525:   { { case "(($ac_try" in
 3526:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3527:   *) ac_try_echo=$ac_try;;
 3528: esac
 3529: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3530: $as_echo "$ac_try_echo"; } >&5
 3531:   (eval "$ac_try") 2>&5
 3532:   ac_status=$?
 3533:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3534:   test $ac_status = 0; }; }; then
 3535:     cross_compiling=no
 3536:   else
 3537:     if test "$cross_compiling" = maybe; then
 3538:     cross_compiling=yes
 3539:     else
 3540:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3541: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3542: as_fn_error "cannot run C compiled programs.
 3543: If you meant to cross compile, use \`--host'.
 3544: See \`config.log' for more details." "$LINENO" 5; }
 3545:     fi
 3546:   fi
 3547: fi
 3548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3549: $as_echo "$cross_compiling" >&6; }
 3550: 
 3551: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3552: ac_clean_files=$ac_clean_files_save
 3553: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3554: $as_echo_n "checking for suffix of object files... " >&6; }
 3555: if test "${ac_cv_objext+set}" = set; then :
 3556:   $as_echo_n "(cached) " >&6
 3557: else
 3558:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3559: /* end confdefs.h.  */
 3560: 
 3561: int
 3562: main ()
 3563: {
 3564: 
 3565:   ;
 3566:   return 0;
 3567: }
 3568: _ACEOF
 3569: rm -f conftest.o conftest.obj
 3570: if { { ac_try="$ac_compile"
 3571: case "(($ac_try" in
 3572:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3573:   *) ac_try_echo=$ac_try;;
 3574: esac
 3575: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3576: $as_echo "$ac_try_echo"; } >&5
 3577:   (eval "$ac_compile") 2>&5
 3578:   ac_status=$?
 3579:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3580:   test $ac_status = 0; }; then :
 3581:   for ac_file in conftest.o conftest.obj conftest.*; do
 3582:   test -f "$ac_file" || continue;
 3583:   case $ac_file in
 3584:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3585:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3586:        break;;
 3587:   esac
 3588: done
 3589: else
 3590:   $as_echo "$as_me: failed program was:" >&5
 3591: sed 's/^/| /' conftest.$ac_ext >&5
 3592: 
 3593: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3594: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3595: as_fn_error "cannot compute suffix of object files: cannot compile
 3596: See \`config.log' for more details." "$LINENO" 5; }
 3597: fi
 3598: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3599: fi
 3600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3601: $as_echo "$ac_cv_objext" >&6; }
 3602: OBJEXT=$ac_cv_objext
 3603: ac_objext=$OBJEXT
 3604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3605: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3606: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 3607:   $as_echo_n "(cached) " >&6
 3608: else
 3609:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3610: /* end confdefs.h.  */
 3611: 
 3612: int
 3613: main ()
 3614: {
 3615: #ifndef __GNUC__
 3616:        choke me
 3617: #endif
 3618: 
 3619:   ;
 3620:   return 0;
 3621: }
 3622: _ACEOF
 3623: if ac_fn_c_try_compile "$LINENO"; then :
 3624:   ac_compiler_gnu=yes
 3625: else
 3626:   ac_compiler_gnu=no
 3627: fi
 3628: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3629: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3630: 
 3631: fi
 3632: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3633: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3634: if test $ac_compiler_gnu = yes; then
 3635:   GCC=yes
 3636: else
 3637:   GCC=
 3638: fi
 3639: ac_test_CFLAGS=${CFLAGS+set}
 3640: ac_save_CFLAGS=$CFLAGS
 3641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3642: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3643: if test "${ac_cv_prog_cc_g+set}" = set; then :
 3644:   $as_echo_n "(cached) " >&6
 3645: else
 3646:   ac_save_c_werror_flag=$ac_c_werror_flag
 3647:    ac_c_werror_flag=yes
 3648:    ac_cv_prog_cc_g=no
 3649:    CFLAGS="-g"
 3650:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3651: /* end confdefs.h.  */
 3652: 
 3653: int
 3654: main ()
 3655: {
 3656: 
 3657:   ;
 3658:   return 0;
 3659: }
 3660: _ACEOF
 3661: if ac_fn_c_try_compile "$LINENO"; then :
 3662:   ac_cv_prog_cc_g=yes
 3663: else
 3664:   CFLAGS=""
 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: 
 3678: else
 3679:   ac_c_werror_flag=$ac_save_c_werror_flag
 3680:      CFLAGS="-g"
 3681:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3682: /* end confdefs.h.  */
 3683: 
 3684: int
 3685: main ()
 3686: {
 3687: 
 3688:   ;
 3689:   return 0;
 3690: }
 3691: _ACEOF
 3692: if ac_fn_c_try_compile "$LINENO"; then :
 3693:   ac_cv_prog_cc_g=yes
 3694: fi
 3695: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3696: fi
 3697: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3698: fi
 3699: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3700:    ac_c_werror_flag=$ac_save_c_werror_flag
 3701: fi
 3702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3703: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3704: if test "$ac_test_CFLAGS" = set; then
 3705:   CFLAGS=$ac_save_CFLAGS
 3706: elif test $ac_cv_prog_cc_g = yes; then
 3707:   if test "$GCC" = yes; then
 3708:     CFLAGS="-g -O2"
 3709:   else
 3710:     CFLAGS="-g"
 3711:   fi
 3712: else
 3713:   if test "$GCC" = yes; then
 3714:     CFLAGS="-O2"
 3715:   else
 3716:     CFLAGS=
 3717:   fi
 3718: fi
 3719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3720: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3721: if test "${ac_cv_prog_cc_c89+set}" = set; then :
 3722:   $as_echo_n "(cached) " >&6
 3723: else
 3724:   ac_cv_prog_cc_c89=no
 3725: ac_save_CC=$CC
 3726: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3727: /* end confdefs.h.  */
 3728: #include <stdarg.h>
 3729: #include <stdio.h>
 3730: #include <sys/types.h>
 3731: #include <sys/stat.h>
 3732: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3733: struct buf { int x; };
 3734: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3735: static char *e (p, i)
 3736:      char **p;
 3737:      int i;
 3738: {
 3739:   return p[i];
 3740: }
 3741: static char *f (char * (*g) (char **, int), char **p, ...)
 3742: {
 3743:   char *s;
 3744:   va_list v;
 3745:   va_start (v,p);
 3746:   s = g (p, va_arg (v,int));
 3747:   va_end (v);
 3748:   return s;
 3749: }
 3750: 
 3751: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3752:    function prototypes and stuff, but not '\xHH' hex character constants.
 3753:    These don't provoke an error unfortunately, instead are silently treated
 3754:    as 'x'.  The following induces an error, until -std is added to get
 3755:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3756:    array size at least.  It's necessary to write '\x00'==0 to get something
 3757:    that's true only with -std.  */
 3758: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3759: 
 3760: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3761:    inside strings and character constants.  */
 3762: #define FOO(x) 'x'
 3763: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3764: 
 3765: int test (int i, double x);
 3766: struct s1 {int (*f) (int a);};
 3767: struct s2 {int (*f) (double a);};
 3768: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3769: int argc;
 3770: char **argv;
 3771: int
 3772: main ()
 3773: {
 3774: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3775:   ;
 3776:   return 0;
 3777: }
 3778: _ACEOF
 3779: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3780:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3781: do
 3782:   CC="$ac_save_CC $ac_arg"
 3783:   if ac_fn_c_try_compile "$LINENO"; then :
 3784:   ac_cv_prog_cc_c89=$ac_arg
 3785: fi
 3786: rm -f core conftest.err conftest.$ac_objext
 3787:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3788: done
 3789: rm -f conftest.$ac_ext
 3790: CC=$ac_save_CC
 3791: 
 3792: fi
 3793: # AC_CACHE_VAL
 3794: case "x$ac_cv_prog_cc_c89" in
 3795:   x)
 3796:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3797: $as_echo "none needed" >&6; } ;;
 3798:   xno)
 3799:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3800: $as_echo "unsupported" >&6; } ;;
 3801:   *)
 3802:     CC="$CC $ac_cv_prog_cc_c89"
 3803:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3804: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3805: esac
 3806: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3807: 
 3808: fi
 3809: 
 3810: ac_ext=c
 3811: ac_cpp='$CPP $CPPFLAGS'
 3812: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3813: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3814: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3815: DEPDIR="${am__leading_dot}deps"
 3816: 
 3817: ac_config_commands="$ac_config_commands depfiles"
 3818: 
 3819: 
 3820: am_make=${MAKE-make}
 3821: cat > confinc << 'END'
 3822: am__doit:
 3823:     @echo this is the am__doit target
 3824: .PHONY: am__doit
 3825: END
 3826: # If we don't find an include directive, just comment out the code.
 3827: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3828: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3829: am__include="#"
 3830: am__quote=
 3831: _am_result=none
 3832: # First try GNU make style include.
 3833: echo "include confinc" > confmf
 3834: # Ignore all kinds of additional output from `make'.
 3835: case `$am_make -s -f confmf 2> /dev/null` in #(
 3836: *the\ am__doit\ target*)
 3837:   am__include=include
 3838:   am__quote=
 3839:   _am_result=GNU
 3840:   ;;
 3841: esac
 3842: # Now try BSD make style include.
 3843: if test "$am__include" = "#"; then
 3844:    echo '.include "confinc"' > confmf
 3845:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3846:    *the\ am__doit\ target*)
 3847:      am__include=.include
 3848:      am__quote="\""
 3849:      _am_result=BSD
 3850:      ;;
 3851:    esac
 3852: fi
 3853: 
 3854: 
 3855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3856: $as_echo "$_am_result" >&6; }
 3857: rm -f confinc confmf
 3858: 
 3859: # Check whether --enable-dependency-tracking was given.
 3860: if test "${enable_dependency_tracking+set}" = set; then :
 3861:   enableval=$enable_dependency_tracking;
 3862: fi
 3863: 
 3864: if test "x$enable_dependency_tracking" != xno; then
 3865:   am_depcomp="$ac_aux_dir/depcomp"
 3866:   AMDEPBACKSLASH='\'
 3867: fi
 3868:  if test "x$enable_dependency_tracking" != xno; then
 3869:   AMDEP_TRUE=
 3870:   AMDEP_FALSE='#'
 3871: else
 3872:   AMDEP_TRUE='#'
 3873:   AMDEP_FALSE=
 3874: fi
 3875: 
 3876: 
 3877: 
 3878: depcc="$CC"   am_compiler_list=
 3879: 
 3880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3881: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3882: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 3883:   $as_echo_n "(cached) " >&6
 3884: else
 3885:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3886:   # We make a subdir and do the tests there.  Otherwise we can end up
 3887:   # making bogus files that we don't know about and never remove.  For
 3888:   # instance it was reported that on HP-UX the gcc test will end up
 3889:   # making a dummy file named `D' -- because `-MD' means `put the output
 3890:   # in D'.
 3891:   mkdir conftest.dir
 3892:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3893:   # using a relative directory.
 3894:   cp "$am_depcomp" conftest.dir
 3895:   cd conftest.dir
 3896:   # We will build objects and dependencies in a subdirectory because
 3897:   # it helps to detect inapplicable dependency modes.  For instance
 3898:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3899:   # side effect of compilation, but ICC will put the dependencies in
 3900:   # the current directory while Tru64 will put them in the object
 3901:   # directory.
 3902:   mkdir sub
 3903: 
 3904:   am_cv_CC_dependencies_compiler_type=none
 3905:   if test "$am_compiler_list" = ""; then
 3906:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3907:   fi
 3908:   am__universal=false
 3909:   case " $depcc " in #(
 3910:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3911:      esac
 3912: 
 3913:   for depmode in $am_compiler_list; do
 3914:     # Setup a source with many dependencies, because some compilers
 3915:     # like to wrap large dependency lists on column 80 (with \), and
 3916:     # we should not choose a depcomp mode which is confused by this.
 3917:     #
 3918:     # We need to recreate these files for each test, as the compiler may
 3919:     # overwrite some of them when testing with obscure command lines.
 3920:     # This happens at least with the AIX C compiler.
 3921:     : > sub/conftest.c
 3922:     for i in 1 2 3 4 5 6; do
 3923:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3924:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3925:       # Solaris 8's {/usr,}/bin/sh.
 3926:       touch sub/conftst$i.h
 3927:     done
 3928:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3929: 
 3930:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3931:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3932:     # handle `-M -o', and we need to detect this.  Also, some Intel
 3933:     # versions had trouble with output in subdirs
 3934:     am__obj=sub/conftest.${OBJEXT-o}
 3935:     am__minus_obj="-o $am__obj"
 3936:     case $depmode in
 3937:     gcc)
 3938:       # This depmode causes a compiler race in universal mode.
 3939:       test "$am__universal" = false || continue
 3940:       ;;
 3941:     nosideeffect)
 3942:       # after this tag, mechanisms are not by side-effect, so they'll
 3943:       # only be used when explicitly requested
 3944:       if test "x$enable_dependency_tracking" = xyes; then
 3945:     continue
 3946:       else
 3947:     break
 3948:       fi
 3949:       ;;
 3950:     msvisualcpp | msvcmsys)
 3951:       # This compiler won't grok `-c -o', but also, the minuso test has
 3952:       # not run yet.  These depmodes are late enough in the game, and
 3953:       # so weak that their functioning should not be impacted.
 3954:       am__obj=conftest.${OBJEXT-o}
 3955:       am__minus_obj=
 3956:       ;;
 3957:     none) break ;;
 3958:     esac
 3959:     if depmode=$depmode \
 3960:        source=sub/conftest.c object=$am__obj \
 3961:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3962:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3963:          >/dev/null 2>conftest.err &&
 3964:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3965:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3966:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3967:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3968:       # icc doesn't choke on unknown options, it will just issue warnings
 3969:       # or remarks (even with -Werror).  So we grep stderr for any message
 3970:       # that says an option was ignored or not supported.
 3971:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3972:       #   icc: Command line warning: ignoring option '-M'; no argument required
 3973:       # The diagnosis changed in icc 8.0:
 3974:       #   icc: Command line remark: option '-MP' not supported
 3975:       if (grep 'ignoring option' conftest.err ||
 3976:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3977:         am_cv_CC_dependencies_compiler_type=$depmode
 3978:         break
 3979:       fi
 3980:     fi
 3981:   done
 3982: 
 3983:   cd ..
 3984:   rm -rf conftest.dir
 3985: else
 3986:   am_cv_CC_dependencies_compiler_type=none
 3987: fi
 3988: 
 3989: fi
 3990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 3991: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 3992: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3993: 
 3994:  if
 3995:   test "x$enable_dependency_tracking" != xno \
 3996:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3997:   am__fastdepCC_TRUE=
 3998:   am__fastdepCC_FALSE='#'
 3999: else
 4000:   am__fastdepCC_TRUE='#'
 4001:   am__fastdepCC_FALSE=
 4002: fi
 4003: 
 4004: 
 4005: 
 4006: EXT_SQL=
 4007: 
 4008: if test x"$CC" != x""; then
 4009:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4010:             awk -F. '{ printf("%s", $1);}'`
 4011:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4012:             awk -F. '{ printf("%s", $2);}'`
 4013:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4014:         OPTIMISATION_C=-O3
 4015:     else
 4016:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
 4017:                 then
 4018:             OPTIMISATION_C=-O3
 4019:         else
 4020:             if test $GCC_VERSION_MAJEURE -ge 2; then
 4021:                 OPTIMISATION_C=-O2
 4022:             else
 4023:                 as_fn_error "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
 4024:             fi
 4025:         fi
 4026:     fi
 4027: fi
 4028: 
 4029: if test "x$CC" != xcc; then
 4030:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4031: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4032: else
 4033:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4034: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4035: fi
 4036: set dummy $CC; ac_cc=`$as_echo "$2" |
 4037:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4038: if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 4039:   $as_echo_n "(cached) " >&6
 4040: else
 4041:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4042: /* end confdefs.h.  */
 4043: 
 4044: int
 4045: main ()
 4046: {
 4047: 
 4048:   ;
 4049:   return 0;
 4050: }
 4051: _ACEOF
 4052: # Make sure it works both with $CC and with simple cc.
 4053: # We do the test twice because some compilers refuse to overwrite an
 4054: # existing .o file with -o, though they will create one.
 4055: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4056: rm -f conftest2.*
 4057: if { { case "(($ac_try" in
 4058:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4059:   *) ac_try_echo=$ac_try;;
 4060: esac
 4061: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4062: $as_echo "$ac_try_echo"; } >&5
 4063:   (eval "$ac_try") 2>&5
 4064:   ac_status=$?
 4065:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4066:   test $ac_status = 0; } &&
 4067:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4068:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4069:   *) ac_try_echo=$ac_try;;
 4070: esac
 4071: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4072: $as_echo "$ac_try_echo"; } >&5
 4073:   (eval "$ac_try") 2>&5
 4074:   ac_status=$?
 4075:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4076:   test $ac_status = 0; };
 4077: then
 4078:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4079:   if test "x$CC" != xcc; then
 4080:     # Test first that cc exists at all.
 4081:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4082:   { { 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; }; }; then
 4092:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4093:       rm -f conftest2.*
 4094:       if { { case "(($ac_try" in
 4095:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4096:   *) ac_try_echo=$ac_try;;
 4097: esac
 4098: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4099: $as_echo "$ac_try_echo"; } >&5
 4100:   (eval "$ac_try") 2>&5
 4101:   ac_status=$?
 4102:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4103:   test $ac_status = 0; } &&
 4104:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4105:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4106:   *) ac_try_echo=$ac_try;;
 4107: esac
 4108: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4109: $as_echo "$ac_try_echo"; } >&5
 4110:   (eval "$ac_try") 2>&5
 4111:   ac_status=$?
 4112:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4113:   test $ac_status = 0; };
 4114:       then
 4115:     # cc works too.
 4116:     :
 4117:       else
 4118:     # cc exists but doesn't like -o.
 4119:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4120:       fi
 4121:     fi
 4122:   fi
 4123: else
 4124:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4125: fi
 4126: rm -f core conftest*
 4127: 
 4128: fi
 4129: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4130:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4131: $as_echo "yes" >&6; }
 4132: else
 4133:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4134: $as_echo "no" >&6; }
 4135: 
 4136: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4137: 
 4138: fi
 4139: 
 4140: # FIXME: we rely on the cache variable name because
 4141: # there is no other way.
 4142: set dummy $CC
 4143: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4144: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4145: if test "$am_t" != yes; then
 4146:    # Losing compiler, so override with the script.
 4147:    # FIXME: It is wrong to rewrite CC.
 4148:    # But if we don't then we get into trouble of one sort or another.
 4149:    # A longer-term fix would be to have automake use am__CC in this case,
 4150:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4151:    CC="$am_aux_dir/compile $CC"
 4152: fi
 4153: 
 4154: 
 4155: 
 4156: if test "$GCC" != yes; then
 4157:     as_fn_error "Cannot find gcc! You have to install it." "$LINENO" 5
 4158: fi
 4159: 
 4160: ac_ext=cpp
 4161: ac_cpp='$CXXCPP $CPPFLAGS'
 4162: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4163: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4164: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4165: if test -z "$CXX"; then
 4166:   if test -n "$CCC"; then
 4167:     CXX=$CCC
 4168:   else
 4169:     if test -n "$ac_tool_prefix"; then
 4170:   for ac_prog in g++
 4171:   do
 4172:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4173: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4174: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4175: $as_echo_n "checking for $ac_word... " >&6; }
 4176: if test "${ac_cv_prog_CXX+set}" = set; then :
 4177:   $as_echo_n "(cached) " >&6
 4178: else
 4179:   if test -n "$CXX"; then
 4180:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4181: else
 4182: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4183: for as_dir in $PATH
 4184: do
 4185:   IFS=$as_save_IFS
 4186:   test -z "$as_dir" && as_dir=.
 4187:     for ac_exec_ext in '' $ac_executable_extensions; do
 4188:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4189:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4190:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4191:     break 2
 4192:   fi
 4193: done
 4194:   done
 4195: IFS=$as_save_IFS
 4196: 
 4197: fi
 4198: fi
 4199: CXX=$ac_cv_prog_CXX
 4200: if test -n "$CXX"; then
 4201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4202: $as_echo "$CXX" >&6; }
 4203: else
 4204:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4205: $as_echo "no" >&6; }
 4206: fi
 4207: 
 4208: 
 4209:     test -n "$CXX" && break
 4210:   done
 4211: fi
 4212: if test -z "$CXX"; then
 4213:   ac_ct_CXX=$CXX
 4214:   for ac_prog in g++
 4215: do
 4216:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4217: set dummy $ac_prog; ac_word=$2
 4218: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4219: $as_echo_n "checking for $ac_word... " >&6; }
 4220: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 4221:   $as_echo_n "(cached) " >&6
 4222: else
 4223:   if test -n "$ac_ct_CXX"; then
 4224:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4225: else
 4226: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4227: for as_dir in $PATH
 4228: do
 4229:   IFS=$as_save_IFS
 4230:   test -z "$as_dir" && as_dir=.
 4231:     for ac_exec_ext in '' $ac_executable_extensions; do
 4232:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4233:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4234:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4235:     break 2
 4236:   fi
 4237: done
 4238:   done
 4239: IFS=$as_save_IFS
 4240: 
 4241: fi
 4242: fi
 4243: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4244: if test -n "$ac_ct_CXX"; then
 4245:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4246: $as_echo "$ac_ct_CXX" >&6; }
 4247: else
 4248:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4249: $as_echo "no" >&6; }
 4250: fi
 4251: 
 4252: 
 4253:   test -n "$ac_ct_CXX" && break
 4254: done
 4255: 
 4256:   if test "x$ac_ct_CXX" = x; then
 4257:     CXX="g++"
 4258:   else
 4259:     case $cross_compiling:$ac_tool_warned in
 4260: yes:)
 4261: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4262: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4263: ac_tool_warned=yes ;;
 4264: esac
 4265:     CXX=$ac_ct_CXX
 4266:   fi
 4267: fi
 4268: 
 4269:   fi
 4270: fi
 4271: # Provide some information about the compiler.
 4272: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4273: set X $ac_compile
 4274: ac_compiler=$2
 4275: for ac_option in --version -v -V -qversion; do
 4276:   { { ac_try="$ac_compiler $ac_option >&5"
 4277: case "(($ac_try" in
 4278:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4279:   *) ac_try_echo=$ac_try;;
 4280: esac
 4281: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4282: $as_echo "$ac_try_echo"; } >&5
 4283:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4284:   ac_status=$?
 4285:   if test -s conftest.err; then
 4286:     sed '10a\
 4287: ... rest of stderr output deleted ...
 4288:          10q' conftest.err >conftest.er1
 4289:     cat conftest.er1 >&5
 4290:   fi
 4291:   rm -f conftest.er1 conftest.err
 4292:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4293:   test $ac_status = 0; }
 4294: done
 4295: 
 4296: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4297: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4298: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 4299:   $as_echo_n "(cached) " >&6
 4300: else
 4301:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4302: /* end confdefs.h.  */
 4303: 
 4304: int
 4305: main ()
 4306: {
 4307: #ifndef __GNUC__
 4308:        choke me
 4309: #endif
 4310: 
 4311:   ;
 4312:   return 0;
 4313: }
 4314: _ACEOF
 4315: if ac_fn_cxx_try_compile "$LINENO"; then :
 4316:   ac_compiler_gnu=yes
 4317: else
 4318:   ac_compiler_gnu=no
 4319: fi
 4320: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4321: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4322: 
 4323: fi
 4324: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4325: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4326: if test $ac_compiler_gnu = yes; then
 4327:   GXX=yes
 4328: else
 4329:   GXX=
 4330: fi
 4331: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4332: ac_save_CXXFLAGS=$CXXFLAGS
 4333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4334: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4335: if test "${ac_cv_prog_cxx_g+set}" = set; then :
 4336:   $as_echo_n "(cached) " >&6
 4337: else
 4338:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4339:    ac_cxx_werror_flag=yes
 4340:    ac_cv_prog_cxx_g=no
 4341:    CXXFLAGS="-g"
 4342:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4343: /* end confdefs.h.  */
 4344: 
 4345: int
 4346: main ()
 4347: {
 4348: 
 4349:   ;
 4350:   return 0;
 4351: }
 4352: _ACEOF
 4353: if ac_fn_cxx_try_compile "$LINENO"; then :
 4354:   ac_cv_prog_cxx_g=yes
 4355: else
 4356:   CXXFLAGS=""
 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: 
 4370: else
 4371:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4372:      CXXFLAGS="-g"
 4373:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4374: /* end confdefs.h.  */
 4375: 
 4376: int
 4377: main ()
 4378: {
 4379: 
 4380:   ;
 4381:   return 0;
 4382: }
 4383: _ACEOF
 4384: if ac_fn_cxx_try_compile "$LINENO"; then :
 4385:   ac_cv_prog_cxx_g=yes
 4386: fi
 4387: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4388: fi
 4389: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4390: fi
 4391: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4392:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4393: fi
 4394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4395: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4396: if test "$ac_test_CXXFLAGS" = set; then
 4397:   CXXFLAGS=$ac_save_CXXFLAGS
 4398: elif test $ac_cv_prog_cxx_g = yes; then
 4399:   if test "$GXX" = yes; then
 4400:     CXXFLAGS="-g -O2"
 4401:   else
 4402:     CXXFLAGS="-g"
 4403:   fi
 4404: else
 4405:   if test "$GXX" = yes; then
 4406:     CXXFLAGS="-O2"
 4407:   else
 4408:     CXXFLAGS=
 4409:   fi
 4410: fi
 4411: ac_ext=c
 4412: ac_cpp='$CPP $CPPFLAGS'
 4413: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4414: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4415: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4416: 
 4417: depcc="$CXX"  am_compiler_list=
 4418: 
 4419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4420: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4421: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 4422:   $as_echo_n "(cached) " >&6
 4423: else
 4424:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4425:   # We make a subdir and do the tests there.  Otherwise we can end up
 4426:   # making bogus files that we don't know about and never remove.  For
 4427:   # instance it was reported that on HP-UX the gcc test will end up
 4428:   # making a dummy file named `D' -- because `-MD' means `put the output
 4429:   # in D'.
 4430:   mkdir conftest.dir
 4431:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4432:   # using a relative directory.
 4433:   cp "$am_depcomp" conftest.dir
 4434:   cd conftest.dir
 4435:   # We will build objects and dependencies in a subdirectory because
 4436:   # it helps to detect inapplicable dependency modes.  For instance
 4437:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4438:   # side effect of compilation, but ICC will put the dependencies in
 4439:   # the current directory while Tru64 will put them in the object
 4440:   # directory.
 4441:   mkdir sub
 4442: 
 4443:   am_cv_CXX_dependencies_compiler_type=none
 4444:   if test "$am_compiler_list" = ""; then
 4445:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4446:   fi
 4447:   am__universal=false
 4448:   case " $depcc " in #(
 4449:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4450:      esac
 4451: 
 4452:   for depmode in $am_compiler_list; do
 4453:     # Setup a source with many dependencies, because some compilers
 4454:     # like to wrap large dependency lists on column 80 (with \), and
 4455:     # we should not choose a depcomp mode which is confused by this.
 4456:     #
 4457:     # We need to recreate these files for each test, as the compiler may
 4458:     # overwrite some of them when testing with obscure command lines.
 4459:     # This happens at least with the AIX C compiler.
 4460:     : > sub/conftest.c
 4461:     for i in 1 2 3 4 5 6; do
 4462:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4463:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4464:       # Solaris 8's {/usr,}/bin/sh.
 4465:       touch sub/conftst$i.h
 4466:     done
 4467:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4468: 
 4469:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4470:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4471:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4472:     # versions had trouble with output in subdirs
 4473:     am__obj=sub/conftest.${OBJEXT-o}
 4474:     am__minus_obj="-o $am__obj"
 4475:     case $depmode in
 4476:     gcc)
 4477:       # This depmode causes a compiler race in universal mode.
 4478:       test "$am__universal" = false || continue
 4479:       ;;
 4480:     nosideeffect)
 4481:       # after this tag, mechanisms are not by side-effect, so they'll
 4482:       # only be used when explicitly requested
 4483:       if test "x$enable_dependency_tracking" = xyes; then
 4484:     continue
 4485:       else
 4486:     break
 4487:       fi
 4488:       ;;
 4489:     msvisualcpp | msvcmsys)
 4490:       # This compiler won't grok `-c -o', but also, the minuso test has
 4491:       # not run yet.  These depmodes are late enough in the game, and
 4492:       # so weak that their functioning should not be impacted.
 4493:       am__obj=conftest.${OBJEXT-o}
 4494:       am__minus_obj=
 4495:       ;;
 4496:     none) break ;;
 4497:     esac
 4498:     if depmode=$depmode \
 4499:        source=sub/conftest.c object=$am__obj \
 4500:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4501:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4502:          >/dev/null 2>conftest.err &&
 4503:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4504:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4505:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4506:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4507:       # icc doesn't choke on unknown options, it will just issue warnings
 4508:       # or remarks (even with -Werror).  So we grep stderr for any message
 4509:       # that says an option was ignored or not supported.
 4510:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4511:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4512:       # The diagnosis changed in icc 8.0:
 4513:       #   icc: Command line remark: option '-MP' not supported
 4514:       if (grep 'ignoring option' conftest.err ||
 4515:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4516:         am_cv_CXX_dependencies_compiler_type=$depmode
 4517:         break
 4518:       fi
 4519:     fi
 4520:   done
 4521: 
 4522:   cd ..
 4523:   rm -rf conftest.dir
 4524: else
 4525:   am_cv_CXX_dependencies_compiler_type=none
 4526: fi
 4527: 
 4528: fi
 4529: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4530: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4531: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4532: 
 4533:  if
 4534:   test "x$enable_dependency_tracking" != xno \
 4535:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4536:   am__fastdepCXX_TRUE=
 4537:   am__fastdepCXX_FALSE='#'
 4538: else
 4539:   am__fastdepCXX_TRUE='#'
 4540:   am__fastdepCXX_FALSE=
 4541: fi
 4542: 
 4543: 
 4544: 
 4545: if test "$GXX" != yes; then
 4546:     as_fn_error "Cannot find g++! You have to install it." "$LINENO" 5
 4547: fi
 4548: 
 4549: ac_ext=f
 4550: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4551: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4552: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4553: if test -n "$ac_tool_prefix"; then
 4554:   for ac_prog in gfortran
 4555:   do
 4556:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4557: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4558: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4559: $as_echo_n "checking for $ac_word... " >&6; }
 4560: if test "${ac_cv_prog_F77+set}" = set; then :
 4561:   $as_echo_n "(cached) " >&6
 4562: else
 4563:   if test -n "$F77"; then
 4564:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4565: else
 4566: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4567: for as_dir in $PATH
 4568: do
 4569:   IFS=$as_save_IFS
 4570:   test -z "$as_dir" && as_dir=.
 4571:     for ac_exec_ext in '' $ac_executable_extensions; do
 4572:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4573:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4574:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4575:     break 2
 4576:   fi
 4577: done
 4578:   done
 4579: IFS=$as_save_IFS
 4580: 
 4581: fi
 4582: fi
 4583: F77=$ac_cv_prog_F77
 4584: if test -n "$F77"; then
 4585:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4586: $as_echo "$F77" >&6; }
 4587: else
 4588:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4589: $as_echo "no" >&6; }
 4590: fi
 4591: 
 4592: 
 4593:     test -n "$F77" && break
 4594:   done
 4595: fi
 4596: if test -z "$F77"; then
 4597:   ac_ct_F77=$F77
 4598:   for ac_prog in gfortran
 4599: do
 4600:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4601: set dummy $ac_prog; ac_word=$2
 4602: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4603: $as_echo_n "checking for $ac_word... " >&6; }
 4604: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
 4605:   $as_echo_n "(cached) " >&6
 4606: else
 4607:   if test -n "$ac_ct_F77"; then
 4608:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4609: else
 4610: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4611: for as_dir in $PATH
 4612: do
 4613:   IFS=$as_save_IFS
 4614:   test -z "$as_dir" && as_dir=.
 4615:     for ac_exec_ext in '' $ac_executable_extensions; do
 4616:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4617:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4618:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4619:     break 2
 4620:   fi
 4621: done
 4622:   done
 4623: IFS=$as_save_IFS
 4624: 
 4625: fi
 4626: fi
 4627: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4628: if test -n "$ac_ct_F77"; then
 4629:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4630: $as_echo "$ac_ct_F77" >&6; }
 4631: else
 4632:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4633: $as_echo "no" >&6; }
 4634: fi
 4635: 
 4636: 
 4637:   test -n "$ac_ct_F77" && break
 4638: done
 4639: 
 4640:   if test "x$ac_ct_F77" = x; then
 4641:     F77=""
 4642:   else
 4643:     case $cross_compiling:$ac_tool_warned in
 4644: yes:)
 4645: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4646: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4647: ac_tool_warned=yes ;;
 4648: esac
 4649:     F77=$ac_ct_F77
 4650:   fi
 4651: fi
 4652: 
 4653: 
 4654: # Provide some information about the compiler.
 4655: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4656: set X $ac_compile
 4657: ac_compiler=$2
 4658: for ac_option in --version -v -V -qversion; do
 4659:   { { ac_try="$ac_compiler $ac_option >&5"
 4660: case "(($ac_try" in
 4661:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4662:   *) ac_try_echo=$ac_try;;
 4663: esac
 4664: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4665: $as_echo "$ac_try_echo"; } >&5
 4666:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4667:   ac_status=$?
 4668:   if test -s conftest.err; then
 4669:     sed '10a\
 4670: ... rest of stderr output deleted ...
 4671:          10q' conftest.err >conftest.er1
 4672:     cat conftest.er1 >&5
 4673:   fi
 4674:   rm -f conftest.er1 conftest.err
 4675:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4676:   test $ac_status = 0; }
 4677: done
 4678: rm -f a.out
 4679: 
 4680: # If we don't use `.F' as extension, the preprocessor is not run on the
 4681: # input file.  (Note that this only needs to work for GNU compilers.)
 4682: ac_save_ext=$ac_ext
 4683: ac_ext=F
 4684: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4685: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4686: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
 4687:   $as_echo_n "(cached) " >&6
 4688: else
 4689:   cat > conftest.$ac_ext <<_ACEOF
 4690:       program main
 4691: #ifndef __GNUC__
 4692:        choke me
 4693: #endif
 4694: 
 4695:       end
 4696: _ACEOF
 4697: if ac_fn_f77_try_compile "$LINENO"; then :
 4698:   ac_compiler_gnu=yes
 4699: else
 4700:   ac_compiler_gnu=no
 4701: fi
 4702: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4703: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4704: 
 4705: fi
 4706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4707: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4708: ac_ext=$ac_save_ext
 4709: ac_test_FFLAGS=${FFLAGS+set}
 4710: ac_save_FFLAGS=$FFLAGS
 4711: FFLAGS=
 4712: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4713: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4714: if test "${ac_cv_prog_f77_g+set}" = set; then :
 4715:   $as_echo_n "(cached) " >&6
 4716: else
 4717:   FFLAGS=-g
 4718: cat > conftest.$ac_ext <<_ACEOF
 4719:       program main
 4720: 
 4721:       end
 4722: _ACEOF
 4723: if ac_fn_f77_try_compile "$LINENO"; then :
 4724:   ac_cv_prog_f77_g=yes
 4725: else
 4726:   ac_cv_prog_f77_g=no
 4727: fi
 4728: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4729: 
 4730: fi
 4731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4732: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4733: if test "$ac_test_FFLAGS" = set; then
 4734:   FFLAGS=$ac_save_FFLAGS
 4735: elif test $ac_cv_prog_f77_g = yes; then
 4736:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4737:     FFLAGS="-g -O2"
 4738:   else
 4739:     FFLAGS="-g"
 4740:   fi
 4741: else
 4742:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4743:     FFLAGS="-O2"
 4744:   else
 4745:     FFLAGS=
 4746:   fi
 4747: fi
 4748: 
 4749: if test $ac_compiler_gnu = yes; then
 4750:   G77=yes
 4751: else
 4752:   G77=
 4753: fi
 4754: ac_ext=c
 4755: ac_cpp='$CPP $CPPFLAGS'
 4756: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4757: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4758: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4759: 
 4760: 
 4761: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
 4762:     as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
 4763: fi
 4764: 
 4765: ac_ext=${ac_fc_srcext-f}
 4766: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4767: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4768: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4769: if test -n "$ac_tool_prefix"; then
 4770:   for ac_prog in gfortran
 4771:   do
 4772:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4773: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4775: $as_echo_n "checking for $ac_word... " >&6; }
 4776: if test "${ac_cv_prog_FC+set}" = set; then :
 4777:   $as_echo_n "(cached) " >&6
 4778: else
 4779:   if test -n "$FC"; then
 4780:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4781: else
 4782: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4783: for as_dir in $PATH
 4784: do
 4785:   IFS=$as_save_IFS
 4786:   test -z "$as_dir" && as_dir=.
 4787:     for ac_exec_ext in '' $ac_executable_extensions; do
 4788:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4789:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4790:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4791:     break 2
 4792:   fi
 4793: done
 4794:   done
 4795: IFS=$as_save_IFS
 4796: 
 4797: fi
 4798: fi
 4799: FC=$ac_cv_prog_FC
 4800: if test -n "$FC"; then
 4801:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4802: $as_echo "$FC" >&6; }
 4803: else
 4804:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4805: $as_echo "no" >&6; }
 4806: fi
 4807: 
 4808: 
 4809:     test -n "$FC" && break
 4810:   done
 4811: fi
 4812: if test -z "$FC"; then
 4813:   ac_ct_FC=$FC
 4814:   for ac_prog in gfortran
 4815: do
 4816:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4817: set dummy $ac_prog; ac_word=$2
 4818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4819: $as_echo_n "checking for $ac_word... " >&6; }
 4820: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
 4821:   $as_echo_n "(cached) " >&6
 4822: else
 4823:   if test -n "$ac_ct_FC"; then
 4824:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4825: else
 4826: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4827: for as_dir in $PATH
 4828: do
 4829:   IFS=$as_save_IFS
 4830:   test -z "$as_dir" && as_dir=.
 4831:     for ac_exec_ext in '' $ac_executable_extensions; do
 4832:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4833:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4834:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4835:     break 2
 4836:   fi
 4837: done
 4838:   done
 4839: IFS=$as_save_IFS
 4840: 
 4841: fi
 4842: fi
 4843: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4844: if test -n "$ac_ct_FC"; then
 4845:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4846: $as_echo "$ac_ct_FC" >&6; }
 4847: else
 4848:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4849: $as_echo "no" >&6; }
 4850: fi
 4851: 
 4852: 
 4853:   test -n "$ac_ct_FC" && break
 4854: done
 4855: 
 4856:   if test "x$ac_ct_FC" = x; then
 4857:     FC=""
 4858:   else
 4859:     case $cross_compiling:$ac_tool_warned in
 4860: yes:)
 4861: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4862: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4863: ac_tool_warned=yes ;;
 4864: esac
 4865:     FC=$ac_ct_FC
 4866:   fi
 4867: fi
 4868: 
 4869: 
 4870: # Provide some information about the compiler.
 4871: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4872: set X $ac_compile
 4873: ac_compiler=$2
 4874: for ac_option in --version -v -V -qversion; do
 4875:   { { ac_try="$ac_compiler $ac_option >&5"
 4876: case "(($ac_try" in
 4877:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4878:   *) ac_try_echo=$ac_try;;
 4879: esac
 4880: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4881: $as_echo "$ac_try_echo"; } >&5
 4882:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4883:   ac_status=$?
 4884:   if test -s conftest.err; then
 4885:     sed '10a\
 4886: ... rest of stderr output deleted ...
 4887:          10q' conftest.err >conftest.er1
 4888:     cat conftest.er1 >&5
 4889:   fi
 4890:   rm -f conftest.er1 conftest.err
 4891:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4892:   test $ac_status = 0; }
 4893: done
 4894: rm -f a.out
 4895: 
 4896: # If we don't use `.F' as extension, the preprocessor is not run on the
 4897: # input file.  (Note that this only needs to work for GNU compilers.)
 4898: ac_save_ext=$ac_ext
 4899: ac_ext=F
 4900: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 4901: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 4902: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
 4903:   $as_echo_n "(cached) " >&6
 4904: else
 4905:   cat > conftest.$ac_ext <<_ACEOF
 4906:       program main
 4907: #ifndef __GNUC__
 4908:        choke me
 4909: #endif
 4910: 
 4911:       end
 4912: _ACEOF
 4913: if ac_fn_fc_try_compile "$LINENO"; then :
 4914:   ac_compiler_gnu=yes
 4915: else
 4916:   ac_compiler_gnu=no
 4917: fi
 4918: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4919: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 4920: 
 4921: fi
 4922: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 4923: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 4924: ac_ext=$ac_save_ext
 4925: ac_test_FCFLAGS=${FCFLAGS+set}
 4926: ac_save_FCFLAGS=$FCFLAGS
 4927: FCFLAGS=
 4928: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 4929: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 4930: if test "${ac_cv_prog_fc_g+set}" = set; then :
 4931:   $as_echo_n "(cached) " >&6
 4932: else
 4933:   FCFLAGS=-g
 4934: cat > conftest.$ac_ext <<_ACEOF
 4935:       program main
 4936: 
 4937:       end
 4938: _ACEOF
 4939: if ac_fn_fc_try_compile "$LINENO"; then :
 4940:   ac_cv_prog_fc_g=yes
 4941: else
 4942:   ac_cv_prog_fc_g=no
 4943: fi
 4944: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4945: 
 4946: fi
 4947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 4948: $as_echo "$ac_cv_prog_fc_g" >&6; }
 4949: if test "$ac_test_FCFLAGS" = set; then
 4950:   FCFLAGS=$ac_save_FCFLAGS
 4951: elif test $ac_cv_prog_fc_g = yes; then
 4952:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4953:     FCFLAGS="-g -O2"
 4954:   else
 4955:     FCFLAGS="-g"
 4956:   fi
 4957: else
 4958:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4959:     FCFLAGS="-O2"
 4960:   else
 4961:     FCFLAGS=
 4962:   fi
 4963: fi
 4964: 
 4965: ac_ext=c
 4966: ac_cpp='$CPP $CPPFLAGS'
 4967: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4968: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4969: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4970: 
 4971: 
 4972: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
 4973:     as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
 4974: fi
 4975: 
 4976: if test x"$FC" != x""; then
 4977:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4978:             awk -F. '{ printf("%s", $1);}'`
 4979:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4980:             awk -F. '{ printf("%s", $2);}'`
 4981:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4982:         OPTIMISATION_F=-O3
 4983:     else
 4984:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 4985:             OPTIMISATION_F=-O3
 4986:         else
 4987:             if test $GCC_VERSION_MAJEURE -ge 3; then
 4988:                 OPTIMISATION_F=-O2
 4989:             else
 4990:                 as_fn_error "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
 4991:             fi
 4992:         fi
 4993:     fi
 4994: fi
 4995: 
 4996: 
 4997: ac_ext=c
 4998: ac_cpp='$CPP $CPPFLAGS'
 4999: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5000: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5001: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5002: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5003: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5004: # On Suns, sometimes $CPP names a directory.
 5005: if test -n "$CPP" && test -d "$CPP"; then
 5006:   CPP=
 5007: fi
 5008: if test -z "$CPP"; then
 5009:   if test "${ac_cv_prog_CPP+set}" = set; then :
 5010:   $as_echo_n "(cached) " >&6
 5011: else
 5012:       # Double quotes because CPP needs to be expanded
 5013:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5014:     do
 5015:       ac_preproc_ok=false
 5016: for ac_c_preproc_warn_flag in '' yes
 5017: do
 5018:   # Use a header file that comes with gcc, so configuring glibc
 5019:   # with a fresh cross-compiler works.
 5020:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5021:   # <limits.h> exists even on freestanding compilers.
 5022:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5023:   # not just through cpp. "Syntax error" is here to catch this case.
 5024:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5025: /* end confdefs.h.  */
 5026: #ifdef __STDC__
 5027: # include <limits.h>
 5028: #else
 5029: # include <assert.h>
 5030: #endif
 5031:              Syntax error
 5032: _ACEOF
 5033: if ac_fn_c_try_cpp "$LINENO"; then :
 5034: 
 5035: else
 5036:   # Broken: fails on valid input.
 5037: continue
 5038: fi
 5039: rm -f conftest.err conftest.$ac_ext
 5040: 
 5041:   # OK, works on sane cases.  Now check whether nonexistent headers
 5042:   # can be detected and how.
 5043:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5044: /* end confdefs.h.  */
 5045: #include <ac_nonexistent.h>
 5046: _ACEOF
 5047: if ac_fn_c_try_cpp "$LINENO"; then :
 5048:   # Broken: success on invalid input.
 5049: continue
 5050: else
 5051:   # Passes both tests.
 5052: ac_preproc_ok=:
 5053: break
 5054: fi
 5055: rm -f conftest.err conftest.$ac_ext
 5056: 
 5057: done
 5058: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5059: rm -f conftest.err conftest.$ac_ext
 5060: if $ac_preproc_ok; then :
 5061:   break
 5062: fi
 5063: 
 5064:     done
 5065:     ac_cv_prog_CPP=$CPP
 5066: 
 5067: fi
 5068:   CPP=$ac_cv_prog_CPP
 5069: else
 5070:   ac_cv_prog_CPP=$CPP
 5071: fi
 5072: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5073: $as_echo "$CPP" >&6; }
 5074: ac_preproc_ok=false
 5075: for ac_c_preproc_warn_flag in '' yes
 5076: do
 5077:   # Use a header file that comes with gcc, so configuring glibc
 5078:   # with a fresh cross-compiler works.
 5079:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5080:   # <limits.h> exists even on freestanding compilers.
 5081:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5082:   # not just through cpp. "Syntax error" is here to catch this case.
 5083:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5084: /* end confdefs.h.  */
 5085: #ifdef __STDC__
 5086: # include <limits.h>
 5087: #else
 5088: # include <assert.h>
 5089: #endif
 5090:              Syntax error
 5091: _ACEOF
 5092: if ac_fn_c_try_cpp "$LINENO"; then :
 5093: 
 5094: else
 5095:   # Broken: fails on valid input.
 5096: continue
 5097: fi
 5098: rm -f conftest.err conftest.$ac_ext
 5099: 
 5100:   # OK, works on sane cases.  Now check whether nonexistent headers
 5101:   # can be detected and how.
 5102:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5103: /* end confdefs.h.  */
 5104: #include <ac_nonexistent.h>
 5105: _ACEOF
 5106: if ac_fn_c_try_cpp "$LINENO"; then :
 5107:   # Broken: success on invalid input.
 5108: continue
 5109: else
 5110:   # Passes both tests.
 5111: ac_preproc_ok=:
 5112: break
 5113: fi
 5114: rm -f conftest.err conftest.$ac_ext
 5115: 
 5116: done
 5117: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5118: rm -f conftest.err conftest.$ac_ext
 5119: if $ac_preproc_ok; then :
 5120: 
 5121: else
 5122:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5123: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5124: as_fn_error "C preprocessor \"$CPP\" fails sanity check
 5125: See \`config.log' for more details." "$LINENO" 5; }
 5126: fi
 5127: 
 5128: ac_ext=c
 5129: ac_cpp='$CPP $CPPFLAGS'
 5130: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5131: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5132: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5133: 
 5134: 
 5135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5136: $as_echo_n "checking for X... " >&6; }
 5137: 
 5138: 
 5139: # Check whether --with-x was given.
 5140: if test "${with_x+set}" = set; then :
 5141:   withval=$with_x;
 5142: fi
 5143: 
 5144: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5145: if test "x$with_x" = xno; then
 5146:   # The user explicitly disabled X.
 5147:   have_x=disabled
 5148: else
 5149:   case $x_includes,$x_libraries in #(
 5150:     *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
 5151:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 5152:   $as_echo_n "(cached) " >&6
 5153: else
 5154:   # One or both of the vars are not set, and there is no cached value.
 5155: ac_x_includes=no ac_x_libraries=no
 5156: rm -f -r conftest.dir
 5157: if mkdir conftest.dir; then
 5158:   cd conftest.dir
 5159:   cat >Imakefile <<'_ACEOF'
 5160: incroot:
 5161:     @echo incroot='${INCROOT}'
 5162: usrlibdir:
 5163:     @echo usrlibdir='${USRLIBDIR}'
 5164: libdir:
 5165:     @echo libdir='${LIBDIR}'
 5166: _ACEOF
 5167:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5168:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 5169:     for ac_var in incroot usrlibdir libdir; do
 5170:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5171:     done
 5172:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5173:     for ac_extension in a so sl dylib la dll; do
 5174:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5175:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5176:     ac_im_usrlibdir=$ac_im_libdir; break
 5177:       fi
 5178:     done
 5179:     # Screen out bogus values from the imake configuration.  They are
 5180:     # bogus both because they are the default anyway, and because
 5181:     # using them would break gcc on systems where it needs fixed includes.
 5182:     case $ac_im_incroot in
 5183:     /usr/include) ac_x_includes= ;;
 5184:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5185:     esac
 5186:     case $ac_im_usrlibdir in
 5187:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5188:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5189:     esac
 5190:   fi
 5191:   cd ..
 5192:   rm -f -r conftest.dir
 5193: fi
 5194: 
 5195: # Standard set of common directories for X headers.
 5196: # Check X11 before X11Rn because it is often a symlink to the current release.
 5197: ac_x_header_dirs='
 5198: /usr/X11/include
 5199: /usr/X11R7/include
 5200: /usr/X11R6/include
 5201: /usr/X11R5/include
 5202: /usr/X11R4/include
 5203: 
 5204: /usr/include/X11
 5205: /usr/include/X11R7
 5206: /usr/include/X11R6
 5207: /usr/include/X11R5
 5208: /usr/include/X11R4
 5209: 
 5210: /usr/local/X11/include
 5211: /usr/local/X11R7/include
 5212: /usr/local/X11R6/include
 5213: /usr/local/X11R5/include
 5214: /usr/local/X11R4/include
 5215: 
 5216: /usr/local/include/X11
 5217: /usr/local/include/X11R7
 5218: /usr/local/include/X11R6
 5219: /usr/local/include/X11R5
 5220: /usr/local/include/X11R4
 5221: 
 5222: /usr/X386/include
 5223: /usr/x386/include
 5224: /usr/XFree86/include/X11
 5225: 
 5226: /usr/include
 5227: /usr/local/include
 5228: /usr/unsupported/include
 5229: /usr/athena/include
 5230: /usr/local/x11r5/include
 5231: /usr/lpp/Xamples/include
 5232: 
 5233: /usr/openwin/include
 5234: /usr/openwin/share/include'
 5235: 
 5236: if test "$ac_x_includes" = no; then
 5237:   # Guess where to find include files, by looking for Xlib.h.
 5238:   # First, try using that file with no special directory specified.
 5239:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5240: /* end confdefs.h.  */
 5241: #include <X11/Xlib.h>
 5242: _ACEOF
 5243: if ac_fn_c_try_cpp "$LINENO"; then :
 5244:   # We can compile using X headers with no special include directory.
 5245: ac_x_includes=
 5246: else
 5247:   for ac_dir in $ac_x_header_dirs; do
 5248:   if test -r "$ac_dir/X11/Xlib.h"; then
 5249:     ac_x_includes=$ac_dir
 5250:     break
 5251:   fi
 5252: done
 5253: fi
 5254: rm -f conftest.err conftest.$ac_ext
 5255: fi # $ac_x_includes = no
 5256: 
 5257: if test "$ac_x_libraries" = no; then
 5258:   # Check for the libraries.
 5259:   # See if we find them without any special options.
 5260:   # Don't add to $LIBS permanently.
 5261:   ac_save_LIBS=$LIBS
 5262:   LIBS="-lX11 $LIBS"
 5263:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5264: /* end confdefs.h.  */
 5265: #include <X11/Xlib.h>
 5266: int
 5267: main ()
 5268: {
 5269: XrmInitialize ()
 5270:   ;
 5271:   return 0;
 5272: }
 5273: _ACEOF
 5274: if ac_fn_c_try_link "$LINENO"; then :
 5275:   LIBS=$ac_save_LIBS
 5276: # We can link X programs with no special library path.
 5277: ac_x_libraries=
 5278: else
 5279:   LIBS=$ac_save_LIBS
 5280: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5281: do
 5282:   # Don't even attempt the hair of trying to link an X program!
 5283:   for ac_extension in a so sl dylib la dll; do
 5284:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5285:       ac_x_libraries=$ac_dir
 5286:       break 2
 5287:     fi
 5288:   done
 5289: done
 5290: fi
 5291: rm -f core conftest.err conftest.$ac_objext \
 5292:     conftest$ac_exeext conftest.$ac_ext
 5293: fi # $ac_x_libraries = no
 5294: 
 5295: case $ac_x_includes,$ac_x_libraries in #(
 5296:   no,* | *,no | *\'*)
 5297:     # Didn't find X, or a directory has "'" in its name.
 5298:     ac_cv_have_x="have_x=no";; #(
 5299:   *)
 5300:     # Record where we found X for the cache.
 5301:     ac_cv_have_x="have_x=yes\
 5302:     ac_x_includes='$ac_x_includes'\
 5303:     ac_x_libraries='$ac_x_libraries'"
 5304: esac
 5305: fi
 5306: ;; #(
 5307:     *) have_x=yes;;
 5308:   esac
 5309:   eval "$ac_cv_have_x"
 5310: fi # $with_x != no
 5311: 
 5312: if test "$have_x" != yes; then
 5313:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5314: $as_echo "$have_x" >&6; }
 5315:   no_x=yes
 5316: else
 5317:   # If each of the values was on the command line, it overrides each guess.
 5318:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5319:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5320:   # Update the cache value to reflect the command line values.
 5321:   ac_cv_have_x="have_x=yes\
 5322:     ac_x_includes='$x_includes'\
 5323:     ac_x_libraries='$x_libraries'"
 5324:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5325: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5326: fi
 5327: 
 5328: if test "$no_x" = yes; then
 5329:   # Not all programs may use this symbol, but it does not hurt to define it.
 5330: 
 5331: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5332: 
 5333:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5334: else
 5335:   if test -n "$x_includes"; then
 5336:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5337:   fi
 5338: 
 5339:   # It would also be nice to do this for all -L options, not just this one.
 5340:   if test -n "$x_libraries"; then
 5341:     X_LIBS="$X_LIBS -L$x_libraries"
 5342:     # For Solaris; some versions of Sun CC require a space after -R and
 5343:     # others require no space.  Words are not sufficient . . . .
 5344:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5345: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5346:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5347:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5348:     ac_c_werror_flag=yes
 5349:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5350: /* end confdefs.h.  */
 5351: 
 5352: int
 5353: main ()
 5354: {
 5355: 
 5356:   ;
 5357:   return 0;
 5358: }
 5359: _ACEOF
 5360: if ac_fn_c_try_link "$LINENO"; then :
 5361:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5362: $as_echo "no" >&6; }
 5363:        X_LIBS="$X_LIBS -R$x_libraries"
 5364: else
 5365:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5366:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5367: /* end confdefs.h.  */
 5368: 
 5369: int
 5370: main ()
 5371: {
 5372: 
 5373:   ;
 5374:   return 0;
 5375: }
 5376: _ACEOF
 5377: if ac_fn_c_try_link "$LINENO"; then :
 5378:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5379: $as_echo "yes" >&6; }
 5380:       X_LIBS="$X_LIBS -R $x_libraries"
 5381: else
 5382:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5383: $as_echo "neither works" >&6; }
 5384: fi
 5385: rm -f core conftest.err conftest.$ac_objext \
 5386:     conftest$ac_exeext conftest.$ac_ext
 5387: fi
 5388: rm -f core conftest.err conftest.$ac_objext \
 5389:     conftest$ac_exeext conftest.$ac_ext
 5390:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5391:     LIBS=$ac_xsave_LIBS
 5392:   fi
 5393: 
 5394:   # Check for system-dependent libraries X programs must link with.
 5395:   # Do this before checking for the system-independent R6 libraries
 5396:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5397: 
 5398:   if test "$ISC" = yes; then
 5399:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5400:   else
 5401:     # Martyn Johnson says this is needed for Ultrix, if the X
 5402:     # libraries were built with DECnet support.  And Karl Berry says
 5403:     # the Alpha needs dnet_stub (dnet does not exist).
 5404:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5405:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5406: /* end confdefs.h.  */
 5407: 
 5408: /* Override any GCC internal prototype to avoid an error.
 5409:    Use char because int might match the return type of a GCC
 5410:    builtin and then its argument prototype would still apply.  */
 5411: #ifdef __cplusplus
 5412: extern "C"
 5413: #endif
 5414: char XOpenDisplay ();
 5415: int
 5416: main ()
 5417: {
 5418: return XOpenDisplay ();
 5419:   ;
 5420:   return 0;
 5421: }
 5422: _ACEOF
 5423: if ac_fn_c_try_link "$LINENO"; then :
 5424: 
 5425: else
 5426:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5427: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5428: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 5429:   $as_echo_n "(cached) " >&6
 5430: else
 5431:   ac_check_lib_save_LIBS=$LIBS
 5432: LIBS="-ldnet  $LIBS"
 5433: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5434: /* end confdefs.h.  */
 5435: 
 5436: /* Override any GCC internal prototype to avoid an error.
 5437:    Use char because int might match the return type of a GCC
 5438:    builtin and then its argument prototype would still apply.  */
 5439: #ifdef __cplusplus
 5440: extern "C"
 5441: #endif
 5442: char dnet_ntoa ();
 5443: int
 5444: main ()
 5445: {
 5446: return dnet_ntoa ();
 5447:   ;
 5448:   return 0;
 5449: }
 5450: _ACEOF
 5451: if ac_fn_c_try_link "$LINENO"; then :
 5452:   ac_cv_lib_dnet_dnet_ntoa=yes
 5453: else
 5454:   ac_cv_lib_dnet_dnet_ntoa=no
 5455: fi
 5456: rm -f core conftest.err conftest.$ac_objext \
 5457:     conftest$ac_exeext conftest.$ac_ext
 5458: LIBS=$ac_check_lib_save_LIBS
 5459: fi
 5460: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5461: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5462: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 5463:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5464: fi
 5465: 
 5466:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5467:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5468: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5469: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 5470:   $as_echo_n "(cached) " >&6
 5471: else
 5472:   ac_check_lib_save_LIBS=$LIBS
 5473: LIBS="-ldnet_stub  $LIBS"
 5474: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5475: /* end confdefs.h.  */
 5476: 
 5477: /* Override any GCC internal prototype to avoid an error.
 5478:    Use char because int might match the return type of a GCC
 5479:    builtin and then its argument prototype would still apply.  */
 5480: #ifdef __cplusplus
 5481: extern "C"
 5482: #endif
 5483: char dnet_ntoa ();
 5484: int
 5485: main ()
 5486: {
 5487: return dnet_ntoa ();
 5488:   ;
 5489:   return 0;
 5490: }
 5491: _ACEOF
 5492: if ac_fn_c_try_link "$LINENO"; then :
 5493:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5494: else
 5495:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5496: fi
 5497: rm -f core conftest.err conftest.$ac_objext \
 5498:     conftest$ac_exeext conftest.$ac_ext
 5499: LIBS=$ac_check_lib_save_LIBS
 5500: fi
 5501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5502: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5503: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 5504:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5505: fi
 5506: 
 5507:     fi
 5508: fi
 5509: rm -f core conftest.err conftest.$ac_objext \
 5510:     conftest$ac_exeext conftest.$ac_ext
 5511:     LIBS="$ac_xsave_LIBS"
 5512: 
 5513:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5514:     # to get the SysV transport functions.
 5515:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5516:     # needs -lnsl.
 5517:     # The nsl library prevents programs from opening the X display
 5518:     # on Irix 5.2, according to T.E. Dickey.
 5519:     # The functions gethostbyname, getservbyname, and inet_addr are
 5520:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5521:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5522: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 5523: 
 5524: fi
 5525: 
 5526:     if test $ac_cv_func_gethostbyname = no; then
 5527:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5528: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5529: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 5530:   $as_echo_n "(cached) " >&6
 5531: else
 5532:   ac_check_lib_save_LIBS=$LIBS
 5533: LIBS="-lnsl  $LIBS"
 5534: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5535: /* end confdefs.h.  */
 5536: 
 5537: /* Override any GCC internal prototype to avoid an error.
 5538:    Use char because int might match the return type of a GCC
 5539:    builtin and then its argument prototype would still apply.  */
 5540: #ifdef __cplusplus
 5541: extern "C"
 5542: #endif
 5543: char gethostbyname ();
 5544: int
 5545: main ()
 5546: {
 5547: return gethostbyname ();
 5548:   ;
 5549:   return 0;
 5550: }
 5551: _ACEOF
 5552: if ac_fn_c_try_link "$LINENO"; then :
 5553:   ac_cv_lib_nsl_gethostbyname=yes
 5554: else
 5555:   ac_cv_lib_nsl_gethostbyname=no
 5556: fi
 5557: rm -f core conftest.err conftest.$ac_objext \
 5558:     conftest$ac_exeext conftest.$ac_ext
 5559: LIBS=$ac_check_lib_save_LIBS
 5560: fi
 5561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5562: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5563: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 5564:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5565: fi
 5566: 
 5567:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5568:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5569: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5570: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 5571:   $as_echo_n "(cached) " >&6
 5572: else
 5573:   ac_check_lib_save_LIBS=$LIBS
 5574: LIBS="-lbsd  $LIBS"
 5575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5576: /* end confdefs.h.  */
 5577: 
 5578: /* Override any GCC internal prototype to avoid an error.
 5579:    Use char because int might match the return type of a GCC
 5580:    builtin and then its argument prototype would still apply.  */
 5581: #ifdef __cplusplus
 5582: extern "C"
 5583: #endif
 5584: char gethostbyname ();
 5585: int
 5586: main ()
 5587: {
 5588: return gethostbyname ();
 5589:   ;
 5590:   return 0;
 5591: }
 5592: _ACEOF
 5593: if ac_fn_c_try_link "$LINENO"; then :
 5594:   ac_cv_lib_bsd_gethostbyname=yes
 5595: else
 5596:   ac_cv_lib_bsd_gethostbyname=no
 5597: fi
 5598: rm -f core conftest.err conftest.$ac_objext \
 5599:     conftest$ac_exeext conftest.$ac_ext
 5600: LIBS=$ac_check_lib_save_LIBS
 5601: fi
 5602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5603: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5604: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 5605:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5606: fi
 5607: 
 5608:       fi
 5609:     fi
 5610: 
 5611:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5612:     # socket/setsockopt and other routines are undefined under SCO ODT
 5613:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5614:     # on later versions), says Simon Leinen: it contains gethostby*
 5615:     # variants that don't use the name server (or something).  -lsocket
 5616:     # must be given before -lnsl if both are needed.  We assume that
 5617:     # if connect needs -lnsl, so does gethostbyname.
 5618:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5619: if test "x$ac_cv_func_connect" = x""yes; then :
 5620: 
 5621: fi
 5622: 
 5623:     if test $ac_cv_func_connect = no; then
 5624:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5625: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5626: if test "${ac_cv_lib_socket_connect+set}" = set; then :
 5627:   $as_echo_n "(cached) " >&6
 5628: else
 5629:   ac_check_lib_save_LIBS=$LIBS
 5630: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5631: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5632: /* end confdefs.h.  */
 5633: 
 5634: /* Override any GCC internal prototype to avoid an error.
 5635:    Use char because int might match the return type of a GCC
 5636:    builtin and then its argument prototype would still apply.  */
 5637: #ifdef __cplusplus
 5638: extern "C"
 5639: #endif
 5640: char connect ();
 5641: int
 5642: main ()
 5643: {
 5644: return connect ();
 5645:   ;
 5646:   return 0;
 5647: }
 5648: _ACEOF
 5649: if ac_fn_c_try_link "$LINENO"; then :
 5650:   ac_cv_lib_socket_connect=yes
 5651: else
 5652:   ac_cv_lib_socket_connect=no
 5653: fi
 5654: rm -f core conftest.err conftest.$ac_objext \
 5655:     conftest$ac_exeext conftest.$ac_ext
 5656: LIBS=$ac_check_lib_save_LIBS
 5657: fi
 5658: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5659: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5660: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 5661:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5662: fi
 5663: 
 5664:     fi
 5665: 
 5666:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5667:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5668: if test "x$ac_cv_func_remove" = x""yes; then :
 5669: 
 5670: fi
 5671: 
 5672:     if test $ac_cv_func_remove = no; then
 5673:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5674: $as_echo_n "checking for remove in -lposix... " >&6; }
 5675: if test "${ac_cv_lib_posix_remove+set}" = set; then :
 5676:   $as_echo_n "(cached) " >&6
 5677: else
 5678:   ac_check_lib_save_LIBS=$LIBS
 5679: LIBS="-lposix  $LIBS"
 5680: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5681: /* end confdefs.h.  */
 5682: 
 5683: /* Override any GCC internal prototype to avoid an error.
 5684:    Use char because int might match the return type of a GCC
 5685:    builtin and then its argument prototype would still apply.  */
 5686: #ifdef __cplusplus
 5687: extern "C"
 5688: #endif
 5689: char remove ();
 5690: int
 5691: main ()
 5692: {
 5693: return remove ();
 5694:   ;
 5695:   return 0;
 5696: }
 5697: _ACEOF
 5698: if ac_fn_c_try_link "$LINENO"; then :
 5699:   ac_cv_lib_posix_remove=yes
 5700: else
 5701:   ac_cv_lib_posix_remove=no
 5702: fi
 5703: rm -f core conftest.err conftest.$ac_objext \
 5704:     conftest$ac_exeext conftest.$ac_ext
 5705: LIBS=$ac_check_lib_save_LIBS
 5706: fi
 5707: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5708: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5709: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 5710:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5711: fi
 5712: 
 5713:     fi
 5714: 
 5715:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5716:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5717: if test "x$ac_cv_func_shmat" = x""yes; then :
 5718: 
 5719: fi
 5720: 
 5721:     if test $ac_cv_func_shmat = no; then
 5722:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5723: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5724: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 5725:   $as_echo_n "(cached) " >&6
 5726: else
 5727:   ac_check_lib_save_LIBS=$LIBS
 5728: LIBS="-lipc  $LIBS"
 5729: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5730: /* end confdefs.h.  */
 5731: 
 5732: /* Override any GCC internal prototype to avoid an error.
 5733:    Use char because int might match the return type of a GCC
 5734:    builtin and then its argument prototype would still apply.  */
 5735: #ifdef __cplusplus
 5736: extern "C"
 5737: #endif
 5738: char shmat ();
 5739: int
 5740: main ()
 5741: {
 5742: return shmat ();
 5743:   ;
 5744:   return 0;
 5745: }
 5746: _ACEOF
 5747: if ac_fn_c_try_link "$LINENO"; then :
 5748:   ac_cv_lib_ipc_shmat=yes
 5749: else
 5750:   ac_cv_lib_ipc_shmat=no
 5751: fi
 5752: rm -f core conftest.err conftest.$ac_objext \
 5753:     conftest$ac_exeext conftest.$ac_ext
 5754: LIBS=$ac_check_lib_save_LIBS
 5755: fi
 5756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5757: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5758: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 5759:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5760: fi
 5761: 
 5762:     fi
 5763:   fi
 5764: 
 5765:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5766:   ac_save_LDFLAGS=$LDFLAGS
 5767:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5768:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5769:   # check for ICE first), but we must link in the order -lSM -lICE or
 5770:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5771:   # These have to be linked with before -lX11, unlike the other
 5772:   # libraries we check for below, so use a different variable.
 5773:   # John Interrante, Karl Berry
 5774:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5775: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5776: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 5777:   $as_echo_n "(cached) " >&6
 5778: else
 5779:   ac_check_lib_save_LIBS=$LIBS
 5780: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 5781: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5782: /* end confdefs.h.  */
 5783: 
 5784: /* Override any GCC internal prototype to avoid an error.
 5785:    Use char because int might match the return type of a GCC
 5786:    builtin and then its argument prototype would still apply.  */
 5787: #ifdef __cplusplus
 5788: extern "C"
 5789: #endif
 5790: char IceConnectionNumber ();
 5791: int
 5792: main ()
 5793: {
 5794: return IceConnectionNumber ();
 5795:   ;
 5796:   return 0;
 5797: }
 5798: _ACEOF
 5799: if ac_fn_c_try_link "$LINENO"; then :
 5800:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5801: else
 5802:   ac_cv_lib_ICE_IceConnectionNumber=no
 5803: fi
 5804: rm -f core conftest.err conftest.$ac_objext \
 5805:     conftest$ac_exeext conftest.$ac_ext
 5806: LIBS=$ac_check_lib_save_LIBS
 5807: fi
 5808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 5809: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5810: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 5811:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5812: fi
 5813: 
 5814:   LDFLAGS=$ac_save_LDFLAGS
 5815: 
 5816: fi
 5817: 
 5818: 
 5819: if test "$ac_x_includes" != "no"; then
 5820:     if test x"$ac_x_includes" != x; then
 5821:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5822:         includeX="-I$ac_x_includes"
 5823:     fi
 5824: fi
 5825: if test "$ac_x_libraries" != "no"; then
 5826:     if test x"$ac_x_libraries" != x; then
 5827:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5828:     fi
 5829: fi
 5830: 
 5831: # Check whether --enable-optimization was given.
 5832: if test "${enable_optimization+set}" = set; then :
 5833:   enableval=$enable_optimization;
 5834: if test "$enableval" = "no"; then
 5835:     CFLAGS=
 5836:     FFLAGS=
 5837:     CXXFLAGS=
 5838:     FCFLAGS=
 5839: else
 5840:     CFLAGS="$CFLAGS $enable_optimization"
 5841:     FFLAGS="$FFLAGS $enable_optimization"
 5842:     FCFLAGS="$FCFLAGS $enable_optimization"
 5843: fi
 5844: else
 5845: 
 5846:     CFLAGS="$CFLAGS $OPTIMISATION_C"
 5847:     FFLAGS="$FFLAGS $OPTIMISATION_F"
 5848:     FCFLAGS="$FCFLAGS $OPTIMISATION_F"
 5849: 
 5850: 
 5851: fi
 5852: 
 5853: 
 5854: # Check whether --enable-full-static was given.
 5855: if test "${enable_full_static+set}" = set; then :
 5856:   enableval=$enable_full_static;
 5857: if test "$enableval" = "no"; then
 5858:     STATIC=no
 5859: else
 5860:     STATIC=yes
 5861: fi
 5862: else
 5863:   STATIC=no
 5864: fi
 5865: 
 5866: 
 5867: # Check whether --enable-final-encoding was given.
 5868: if test "${enable_final_encoding+set}" = set; then :
 5869:   enableval=$enable_final_encoding;
 5870: if test "$enableval" = "no"; then
 5871:     FINAL_ENCODING="\$(shell locale charmap | \
 5872:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5873: else
 5874:     FINAL_ENCODING="$enable_final_encoding"
 5875: fi
 5876: else
 5877:   FINAL_ENCODING="\$(shell locale charmap | \
 5878:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5879: fi
 5880: 
 5881: 
 5882: # Check whether --enable-tex was given.
 5883: if test "${enable_tex+set}" = set; then :
 5884:   enableval=$enable_tex;
 5885: if test "$enableval" = "no"; then
 5886:     TEX_SUPPORT=no
 5887: else
 5888:     TEX_SUPPORT=yes
 5889: fi
 5890: else
 5891:   TEX_SUPPORT=guessed
 5892: fi
 5893: 
 5894: 
 5895: # Check whether --enable-vim was given.
 5896: if test "${enable_vim+set}" = set; then :
 5897:   enableval=$enable_vim;
 5898: if test "$enableval" = "no"; then
 5899:     VIM_SUPPORT=no
 5900: else
 5901:     VIM_SUPPORT=yes
 5902: fi
 5903: else
 5904:   VIM_SUPPORT=guessed
 5905: fi
 5906: 
 5907: 
 5908: # Check whether --enable-embedded-gnuplot was given.
 5909: if test "${enable_embedded_gnuplot+set}" = set; then :
 5910:   enableval=$enable_embedded_gnuplot;
 5911: if test "$enableval" = "no"; then
 5912:     MYGNUPLOT=no
 5913: else
 5914:     MYGNUPLOT=yes
 5915: fi
 5916: else
 5917: 
 5918: MYGNUPLOT=yes
 5919: fi
 5920: 
 5921: 
 5922: # Check whether --enable-gnuplot was given.
 5923: if test "${enable_gnuplot+set}" = set; then :
 5924:   enableval=$enable_gnuplot;
 5925: if test "$enableval" = "no"; then
 5926:     GNUPLOT_SUPPORT=no
 5927:     MYGNUPLOT=no
 5928:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5929: else
 5930:     GNUPLOT_SUPPORT=yes
 5931:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5932: fi
 5933: else
 5934: 
 5935: if test "$MYGNUPLOT" = "yes"; then
 5936:     GNUPLOT_SUPPORT=yes
 5937:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5938: else
 5939:     GNUPLOT_SUPPORT=guessed
 5940:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5941: fi
 5942: fi
 5943: 
 5944: 
 5945: # Check whether --enable-motif was given.
 5946: if test "${enable_motif+set}" = set; then :
 5947:   enableval=$enable_motif;
 5948: if test "$enableval" = "no"; then
 5949:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 5950: else
 5951:     CFLAGS_ORIG=$CFLAGS
 5952:     LIBS_ORIG=$LIBS
 5953:     CFLAGS="$CFLAGS $X_CFLAGS"
 5954:     LIBS="$LIB $X_LIBS"
 5955:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 5956: $as_echo_n "checking for main in -lXm... " >&6; }
 5957: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 5958:   $as_echo_n "(cached) " >&6
 5959: else
 5960:   ac_check_lib_save_LIBS=$LIBS
 5961: LIBS="-lXm  $LIBS"
 5962: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5963: /* end confdefs.h.  */
 5964: 
 5965: 
 5966: int
 5967: main ()
 5968: {
 5969: return main ();
 5970:   ;
 5971:   return 0;
 5972: }
 5973: _ACEOF
 5974: if ac_fn_c_try_link "$LINENO"; then :
 5975:   ac_cv_lib_Xm_main=yes
 5976: else
 5977:   ac_cv_lib_Xm_main=no
 5978: fi
 5979: rm -f core conftest.err conftest.$ac_objext \
 5980:     conftest$ac_exeext conftest.$ac_ext
 5981: LIBS=$ac_check_lib_save_LIBS
 5982: fi
 5983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 5984: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 5985: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 5986:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 5987: else
 5988:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 5989: fi
 5990: 
 5991:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 5992:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
 5993: Motif flag is disabled.
 5994: " >&5
 5995: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
 5996: Motif flag is disabled.
 5997: " >&2;}
 5998:     fi
 5999:     LIBS=$LIBS_ORIG
 6000:     CFLAGS=$CFLAGS_ORIG
 6001: fi
 6002: else
 6003:   MOTIF_SUPPORT=guessed
 6004: fi
 6005: 
 6006: 
 6007: # Check whether --enable-experimental was given.
 6008: if test "${enable_experimental+set}" = set; then :
 6009:   enableval=$enable_experimental;
 6010: if test "$enableval" = "no"; then
 6011:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6012: else
 6013:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6014: fi
 6015: else
 6016:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6017: fi
 6018: 
 6019: 
 6020: # Check whether --enable-debug was given.
 6021: if test "${enable_debug+set}" = set; then :
 6022:   enableval=$enable_debug;
 6023: if test "$enableval" = "no"; then
 6024:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6025:     MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"
 6026: else
 6027:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6028:     MALLOC=""
 6029: fi
 6030: else
 6031:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6032:     MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"
 6033: fi
 6034: 
 6035: 
 6036: # Check whether --enable-profile was given.
 6037: if test "${enable_profile+set}" = set; then :
 6038:   enableval=$enable_profile;
 6039: if test "$enableval" = "no"; then
 6040:     PROFILAGE=""
 6041: else
 6042:     PROFILAGE="-pg"
 6043: fi
 6044: else
 6045:   PROFILAGE=""
 6046: fi
 6047: 
 6048: 
 6049: 
 6050: 
 6051: if test ! -d tools; then
 6052:     mkdir tools
 6053: fi
 6054: if test ! -d "$srcdir"/tools/$NCURSES; then
 6055:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6056:             (cd "$srcdir/tools" && tar -xf -)
 6057: fi
 6058: if test ! -d "$srcdir"/tools/$READLINE; then
 6059:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6060:             (cd "$srcdir/tools" && tar -xf -)
 6061: fi
 6062: if test ! -d "$srcdir"/tools/$UNITS; then
 6063:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6064:             (cd "$srcdir/tools" && tar -xf -)
 6065: fi
 6066: if test ! -d "$srcdir"/tools/$GSL; then
 6067:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6068:             (cd "$srcdir/tools" && tar -xf -)
 6069: fi
 6070: if test ! -d "$srcdir"/tools/$GPP; then
 6071:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6072:             (cd "$srcdir/tools" && tar -xf -)
 6073: fi
 6074: if test ! -d "$srcdir"/tools/$FILE; then
 6075:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6076:             (cd "$srcdir/tools" && tar -xf - )
 6077:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6078: fi
 6079: if test ! -d "$srcdir"/tools/$ICONV; then
 6080:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6081:             (cd "$srcdir/tools" && tar -xf -)
 6082: fi
 6083: if test ! -d "$srcdir"/tools/$SQLITE; then
 6084:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6085:             (cd "$srcdir/tools" && tar -xf -)
 6086:     (cd "$srcdir/tools"/$SQLITE && gunzip -c ../$SQLITE.diff.gz | patch -p1)
 6087: fi
 6088: if test ! -d tools/$OPENSSL; then
 6089:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6090:             (cd tools && tar -xf -)
 6091: fi
 6092: 
 6093: 
 6094: 
 6095: # Check whether --enable-final-run-path was given.
 6096: if test "${enable_final_run_path+set}" = set; then :
 6097:   enableval=$enable_final_run_path;
 6098:     if test "x$enable_final_run_path" = "x"; then
 6099:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6100: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6101:         as_fn_error "\"You should specify final path !\"" "$LINENO" 5
 6102:     else
 6103:         RUNPATH="$enable_final_run_path"
 6104:     fi
 6105: 
 6106: else
 6107:   RUNPATH="\${prefix}"
 6108: 
 6109: fi
 6110: 
 6111: 
 6112: 
 6113: 
 6114: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6115: $as_echo_n "checking whether ln -s works... " >&6; }
 6116: LN_S=$as_ln_s
 6117: if test "$LN_S" = "ln -s"; then
 6118:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6119: $as_echo "yes" >&6; }
 6120: else
 6121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6122: $as_echo "no, using $LN_S" >&6; }
 6123: fi
 6124: 
 6125: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6126: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6127: set x ${MAKE-make}
 6128: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6129: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 6130:   $as_echo_n "(cached) " >&6
 6131: else
 6132:   cat >conftest.make <<\_ACEOF
 6133: SHELL = /bin/sh
 6134: all:
 6135:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6136: _ACEOF
 6137: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 6138: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6139:   *@@@%%%=?*=@@@%%%*)
 6140:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6141:   *)
 6142:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6143: esac
 6144: rm -f conftest.make
 6145: fi
 6146: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6147:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6148: $as_echo "yes" >&6; }
 6149:   SET_MAKE=
 6150: else
 6151:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6152: $as_echo "no" >&6; }
 6153:   SET_MAKE="MAKE=${MAKE-make}"
 6154: fi
 6155: 
 6156: if test -n "$ac_tool_prefix"; then
 6157:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6158: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6159: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6160: $as_echo_n "checking for $ac_word... " >&6; }
 6161: if test "${ac_cv_prog_RANLIB+set}" = set; then :
 6162:   $as_echo_n "(cached) " >&6
 6163: else
 6164:   if test -n "$RANLIB"; then
 6165:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6166: else
 6167: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6168: for as_dir in $PATH
 6169: do
 6170:   IFS=$as_save_IFS
 6171:   test -z "$as_dir" && as_dir=.
 6172:     for ac_exec_ext in '' $ac_executable_extensions; do
 6173:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6174:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6175:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6176:     break 2
 6177:   fi
 6178: done
 6179:   done
 6180: IFS=$as_save_IFS
 6181: 
 6182: fi
 6183: fi
 6184: RANLIB=$ac_cv_prog_RANLIB
 6185: if test -n "$RANLIB"; then
 6186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6187: $as_echo "$RANLIB" >&6; }
 6188: else
 6189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6190: $as_echo "no" >&6; }
 6191: fi
 6192: 
 6193: 
 6194: fi
 6195: if test -z "$ac_cv_prog_RANLIB"; then
 6196:   ac_ct_RANLIB=$RANLIB
 6197:   # Extract the first word of "ranlib", so it can be a program name with args.
 6198: set dummy ranlib; ac_word=$2
 6199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6200: $as_echo_n "checking for $ac_word... " >&6; }
 6201: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 6202:   $as_echo_n "(cached) " >&6
 6203: else
 6204:   if test -n "$ac_ct_RANLIB"; then
 6205:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6206: else
 6207: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6208: for as_dir in $PATH
 6209: do
 6210:   IFS=$as_save_IFS
 6211:   test -z "$as_dir" && as_dir=.
 6212:     for ac_exec_ext in '' $ac_executable_extensions; do
 6213:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6214:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6215:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6216:     break 2
 6217:   fi
 6218: done
 6219:   done
 6220: IFS=$as_save_IFS
 6221: 
 6222: fi
 6223: fi
 6224: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6225: if test -n "$ac_ct_RANLIB"; then
 6226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6227: $as_echo "$ac_ct_RANLIB" >&6; }
 6228: else
 6229:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6230: $as_echo "no" >&6; }
 6231: fi
 6232: 
 6233:   if test "x$ac_ct_RANLIB" = x; then
 6234:     RANLIB=":"
 6235:   else
 6236:     case $cross_compiling:$ac_tool_warned in
 6237: yes:)
 6238: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6239: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6240: ac_tool_warned=yes ;;
 6241: esac
 6242:     RANLIB=$ac_ct_RANLIB
 6243:   fi
 6244: else
 6245:   RANLIB="$ac_cv_prog_RANLIB"
 6246: fi
 6247: 
 6248: 
 6249: # Extract the first word of "nawk", so it can be a program name with args.
 6250: set dummy nawk; ac_word=$2
 6251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6252: $as_echo_n "checking for $ac_word... " >&6; }
 6253: if test "${ac_cv_prog_AWK+set}" = set; then :
 6254:   $as_echo_n "(cached) " >&6
 6255: else
 6256:   if test -n "$AWK"; then
 6257:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6258: else
 6259: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6260: for as_dir in $PATH
 6261: do
 6262:   IFS=$as_save_IFS
 6263:   test -z "$as_dir" && as_dir=.
 6264:     for ac_exec_ext in '' $ac_executable_extensions; do
 6265:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6266:     ac_cv_prog_AWK="yes"
 6267:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6268:     break 2
 6269:   fi
 6270: done
 6271:   done
 6272: IFS=$as_save_IFS
 6273: 
 6274:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6275: fi
 6276: fi
 6277: AWK=$ac_cv_prog_AWK
 6278: if test -n "$AWK"; then
 6279:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6280: $as_echo "$AWK" >&6; }
 6281: else
 6282:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6283: $as_echo "no" >&6; }
 6284: fi
 6285: 
 6286: 
 6287: if test "$AWK" = no; then
 6288:     as_fn_error "Can not find nawk !" "$LINENO" 5
 6289: fi
 6290: 
 6291: # Extract the first word of "sed", so it can be a program name with args.
 6292: set dummy sed; ac_word=$2
 6293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6294: $as_echo_n "checking for $ac_word... " >&6; }
 6295: if test "${ac_cv_prog_SED+set}" = set; then :
 6296:   $as_echo_n "(cached) " >&6
 6297: else
 6298:   if test -n "$SED"; then
 6299:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6300: else
 6301: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6302: for as_dir in $PATH
 6303: do
 6304:   IFS=$as_save_IFS
 6305:   test -z "$as_dir" && as_dir=.
 6306:     for ac_exec_ext in '' $ac_executable_extensions; do
 6307:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6308:     ac_cv_prog_SED="yes"
 6309:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6310:     break 2
 6311:   fi
 6312: done
 6313:   done
 6314: IFS=$as_save_IFS
 6315: 
 6316:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6317: fi
 6318: fi
 6319: SED=$ac_cv_prog_SED
 6320: if test -n "$SED"; then
 6321:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6322: $as_echo "$SED" >&6; }
 6323: else
 6324:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6325: $as_echo "no" >&6; }
 6326: fi
 6327: 
 6328: 
 6329: if test "$SED" = no; then
 6330:     as_fn_error "Can not find sed !" "$LINENO" 5
 6331: fi
 6332: 
 6333: if test "$TEX_SUPPORT" = guessed; then
 6334:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6335: 
 6336:     # Extract the first word of "tex", so it can be a program name with args.
 6337: set dummy tex; ac_word=$2
 6338: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6339: $as_echo_n "checking for $ac_word... " >&6; }
 6340: if test "${ac_cv_prog_TEX+set}" = set; then :
 6341:   $as_echo_n "(cached) " >&6
 6342: else
 6343:   if test -n "$TEX"; then
 6344:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6345: else
 6346: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6347: for as_dir in $PATH
 6348: do
 6349:   IFS=$as_save_IFS
 6350:   test -z "$as_dir" && as_dir=.
 6351:     for ac_exec_ext in '' $ac_executable_extensions; do
 6352:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6353:     ac_cv_prog_TEX="yes"
 6354:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6355:     break 2
 6356:   fi
 6357: done
 6358:   done
 6359: IFS=$as_save_IFS
 6360: 
 6361:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6362: fi
 6363: fi
 6364: TEX=$ac_cv_prog_TEX
 6365: if test -n "$TEX"; then
 6366:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6367: $as_echo "$TEX" >&6; }
 6368: else
 6369:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6370: $as_echo "no" >&6; }
 6371: fi
 6372: 
 6373: 
 6374:     if test "$TEX" = no; then
 6375:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6376: Download at http://tex.loria.fr/
 6377: " >&5
 6378: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6379: Download at http://tex.loria.fr/
 6380: " >&2;}
 6381:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6382:     fi
 6383: 
 6384:     # Extract the first word of "latex", so it can be a program name with args.
 6385: set dummy latex; ac_word=$2
 6386: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6387: $as_echo_n "checking for $ac_word... " >&6; }
 6388: if test "${ac_cv_prog_LATEX+set}" = set; then :
 6389:   $as_echo_n "(cached) " >&6
 6390: else
 6391:   if test -n "$LATEX"; then
 6392:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6393: else
 6394: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6395: for as_dir in $PATH
 6396: do
 6397:   IFS=$as_save_IFS
 6398:   test -z "$as_dir" && as_dir=.
 6399:     for ac_exec_ext in '' $ac_executable_extensions; do
 6400:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6401:     ac_cv_prog_LATEX="yes"
 6402:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6403:     break 2
 6404:   fi
 6405: done
 6406:   done
 6407: IFS=$as_save_IFS
 6408: 
 6409:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6410: fi
 6411: fi
 6412: LATEX=$ac_cv_prog_LATEX
 6413: if test -n "$LATEX"; then
 6414:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6415: $as_echo "$LATEX" >&6; }
 6416: else
 6417:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6418: $as_echo "no" >&6; }
 6419: fi
 6420: 
 6421: 
 6422:     if test "$LATEX" = no; then
 6423:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6424: Download at http://tex.loria.fr/
 6425: " >&5
 6426: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6427: Download at http://tex.loria.fr/
 6428: " >&2;}
 6429:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6430:     fi
 6431: 
 6432:     # Extract the first word of "dvips", so it can be a program name with args.
 6433: set dummy dvips; ac_word=$2
 6434: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6435: $as_echo_n "checking for $ac_word... " >&6; }
 6436: if test "${ac_cv_prog_DVIPS+set}" = set; then :
 6437:   $as_echo_n "(cached) " >&6
 6438: else
 6439:   if test -n "$DVIPS"; then
 6440:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6441: else
 6442: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6443: for as_dir in $PATH
 6444: do
 6445:   IFS=$as_save_IFS
 6446:   test -z "$as_dir" && as_dir=.
 6447:     for ac_exec_ext in '' $ac_executable_extensions; do
 6448:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6449:     ac_cv_prog_DVIPS="yes"
 6450:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6451:     break 2
 6452:   fi
 6453: done
 6454:   done
 6455: IFS=$as_save_IFS
 6456: 
 6457:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6458: fi
 6459: fi
 6460: DVIPS=$ac_cv_prog_DVIPS
 6461: if test -n "$DVIPS"; then
 6462:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6463: $as_echo "$DVIPS" >&6; }
 6464: else
 6465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6466: $as_echo "no" >&6; }
 6467: fi
 6468: 
 6469: 
 6470:     if test "$DVIPS" = no; then
 6471:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6472: Download at http://tex.loria.fr/
 6473: " >&5
 6474: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6475: Download at http://tex.loria.fr/
 6476: " >&2;}
 6477:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6478:     fi
 6479: 
 6480:     # Extract the first word of "gs", so it can be a program name with args.
 6481: set dummy gs; ac_word=$2
 6482: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6483: $as_echo_n "checking for $ac_word... " >&6; }
 6484: if test "${ac_cv_prog_GS+set}" = set; then :
 6485:   $as_echo_n "(cached) " >&6
 6486: else
 6487:   if test -n "$GS"; then
 6488:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6489: else
 6490: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6491: for as_dir in $PATH
 6492: do
 6493:   IFS=$as_save_IFS
 6494:   test -z "$as_dir" && as_dir=.
 6495:     for ac_exec_ext in '' $ac_executable_extensions; do
 6496:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6497:     ac_cv_prog_GS="yes"
 6498:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6499:     break 2
 6500:   fi
 6501: done
 6502:   done
 6503: IFS=$as_save_IFS
 6504: 
 6505:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6506: fi
 6507: fi
 6508: GS=$ac_cv_prog_GS
 6509: if test -n "$GS"; then
 6510:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6511: $as_echo "$GS" >&6; }
 6512: else
 6513:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6514: $as_echo "no" >&6; }
 6515: fi
 6516: 
 6517: 
 6518:     if test "$GS" = no; then
 6519:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6520: Download at http://ftp.lip6.fr/
 6521: " >&5
 6522: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6523: Download at http://ftp.lip6.fr/
 6524: " >&2;}
 6525:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6526:     fi
 6527: 
 6528:     # Extract the first word of "gv", so it can be a program name with args.
 6529: set dummy gv; ac_word=$2
 6530: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6531: $as_echo_n "checking for $ac_word... " >&6; }
 6532: if test "${ac_cv_prog_GV+set}" = set; then :
 6533:   $as_echo_n "(cached) " >&6
 6534: else
 6535:   if test -n "$GV"; then
 6536:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6537: else
 6538: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6539: for as_dir in $PATH
 6540: do
 6541:   IFS=$as_save_IFS
 6542:   test -z "$as_dir" && as_dir=.
 6543:     for ac_exec_ext in '' $ac_executable_extensions; do
 6544:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6545:     ac_cv_prog_GV="yes"
 6546:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6547:     break 2
 6548:   fi
 6549: done
 6550:   done
 6551: IFS=$as_save_IFS
 6552: 
 6553:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 6554: fi
 6555: fi
 6556: GV=$ac_cv_prog_GV
 6557: if test -n "$GV"; then
 6558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 6559: $as_echo "$GV" >&6; }
 6560: else
 6561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6562: $as_echo "no" >&6; }
 6563: fi
 6564: 
 6565: 
 6566:     if test "$GV" = no; then
 6567:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 6568: Download at http://ftp.lip6.fr/
 6569: " >&5
 6570: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 6571: Download at http://ftp.lip6.fr/
 6572: " >&2;}
 6573:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6574:     fi
 6575: else
 6576:     if test "$TEX_SUPPORT" = no; then
 6577:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6578:     else
 6579:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6580:     fi
 6581: fi
 6582: 
 6583: if test "$GNUPLOT_SUPPORT" = guessed; then
 6584:     # Extract the first word of "gnuplot", so it can be a program name with args.
 6585: set dummy gnuplot; ac_word=$2
 6586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6587: $as_echo_n "checking for $ac_word... " >&6; }
 6588: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
 6589:   $as_echo_n "(cached) " >&6
 6590: else
 6591:   if test -n "$GNUPLOT_P"; then
 6592:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 6593: else
 6594: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6595: for as_dir in $PATH
 6596: do
 6597:   IFS=$as_save_IFS
 6598:   test -z "$as_dir" && as_dir=.
 6599:     for ac_exec_ext in '' $ac_executable_extensions; do
 6600:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6601:     ac_cv_prog_GNUPLOT_P="yes"
 6602:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6603:     break 2
 6604:   fi
 6605: done
 6606:   done
 6607: IFS=$as_save_IFS
 6608: 
 6609:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 6610: fi
 6611: fi
 6612: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 6613: if test -n "$GNUPLOT_P"; then
 6614:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 6615: $as_echo "$GNUPLOT_P" >&6; }
 6616: else
 6617:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6618: $as_echo "no" >&6; }
 6619: fi
 6620: 
 6621: 
 6622:     if test "$GNUPLOT_P" = no; then
 6623:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 6624: Download at http://www.gnuplot.vt.edu/
 6625: " >&5
 6626: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 6627: Download at http://www.gnuplot.vt.edu/
 6628: " >&2;}
 6629:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6630:     else
 6631:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6632:     fi
 6633: else
 6634:     if test "$GNUPLOT_SUPPORT" = no; then
 6635:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6636:     else
 6637:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6638:     fi
 6639: fi
 6640: 
 6641: if test "$VIM_SUPPORT" = guessed; then
 6642:     # Extract the first word of "vim", so it can be a program name with args.
 6643: set dummy vim; ac_word=$2
 6644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6645: $as_echo_n "checking for $ac_word... " >&6; }
 6646: if test "${ac_cv_prog_VIM+set}" = set; then :
 6647:   $as_echo_n "(cached) " >&6
 6648: else
 6649:   if test -n "$VIM"; then
 6650:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 6651: else
 6652: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6653: for as_dir in $PATH
 6654: do
 6655:   IFS=$as_save_IFS
 6656:   test -z "$as_dir" && as_dir=.
 6657:     for ac_exec_ext in '' $ac_executable_extensions; do
 6658:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6659:     ac_cv_prog_VIM="yes"
 6660:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6661:     break 2
 6662:   fi
 6663: done
 6664:   done
 6665: IFS=$as_save_IFS
 6666: 
 6667:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 6668: fi
 6669: fi
 6670: VIM=$ac_cv_prog_VIM
 6671: if test -n "$VIM"; then
 6672:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 6673: $as_echo "$VIM" >&6; }
 6674: else
 6675:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6676: $as_echo "no" >&6; }
 6677: fi
 6678: 
 6679: 
 6680:     if test "$VIM" = no; then
 6681:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 6682: Download at http://www.vim.org/
 6683: " >&5
 6684: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 6685: Download at http://www.vim.org/
 6686: " >&2;}
 6687:         VIM_SUPPORT="-UVIM_SUPPORT"
 6688:     else
 6689:         VIM_SUPPORT="-DVIM_SUPPORT"
 6690:     fi
 6691: else
 6692:     if test "$VIM_SUPPORT" = no; then
 6693:         VIM_SUPPORT="-UVIM_SUPPORT"
 6694:     else
 6695:         VIM_SUPPORT="-DVIM_SUPPORT"
 6696:     fi
 6697: fi
 6698: 
 6699: if test "$MOTIF_SUPPORT" = guessed; then
 6700:     CFLAGS_ORIG=$CFLAGS
 6701:     LIBS_ORIG=$LIBS
 6702:     CFLAGS="$CFLAGS $X_CFLAGS"
 6703:     LIBS="$LIB $X_LIBS"
 6704:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6705: $as_echo_n "checking for main in -lXm... " >&6; }
 6706: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 6707:   $as_echo_n "(cached) " >&6
 6708: else
 6709:   ac_check_lib_save_LIBS=$LIBS
 6710: LIBS="-lXm  $LIBS"
 6711: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6712: /* end confdefs.h.  */
 6713: 
 6714: 
 6715: int
 6716: main ()
 6717: {
 6718: return main ();
 6719:   ;
 6720:   return 0;
 6721: }
 6722: _ACEOF
 6723: if ac_fn_c_try_link "$LINENO"; then :
 6724:   ac_cv_lib_Xm_main=yes
 6725: else
 6726:   ac_cv_lib_Xm_main=no
 6727: fi
 6728: rm -f core conftest.err conftest.$ac_objext \
 6729:     conftest$ac_exeext conftest.$ac_ext
 6730: LIBS=$ac_check_lib_save_LIBS
 6731: fi
 6732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6733: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6734: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 6735:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6736: else
 6737:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6738: fi
 6739: 
 6740:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6741:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
 6742: Motif flag is disabled.
 6743: " >&5
 6744: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
 6745: Motif flag is disabled.
 6746: " >&2;}
 6747:     fi
 6748:     LIBS=$LIBS_ORIG
 6749:     CFLAGS=$CFLAGS_ORIG
 6750: fi
 6751: 
 6752: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6753:     CFLAGS_ORIG=$CFLAGS
 6754:     LIBS_ORIG=$LIBS
 6755:     CFLAGS="$CFLAGS $X_CFLAGS"
 6756:     LIBS="$LIB $X_LIBS"
 6757:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
 6758: $as_echo_n "checking for main in -lXpm... " >&6; }
 6759: if test "${ac_cv_lib_Xpm_main+set}" = set; then :
 6760:   $as_echo_n "(cached) " >&6
 6761: else
 6762:   ac_check_lib_save_LIBS=$LIBS
 6763: LIBS="-lXpm  $LIBS"
 6764: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6765: /* end confdefs.h.  */
 6766: 
 6767: 
 6768: int
 6769: main ()
 6770: {
 6771: return main ();
 6772:   ;
 6773:   return 0;
 6774: }
 6775: _ACEOF
 6776: if ac_fn_c_try_link "$LINENO"; then :
 6777:   ac_cv_lib_Xpm_main=yes
 6778: else
 6779:   ac_cv_lib_Xpm_main=no
 6780: fi
 6781: rm -f core conftest.err conftest.$ac_objext \
 6782:     conftest$ac_exeext conftest.$ac_ext
 6783: LIBS=$ac_check_lib_save_LIBS
 6784: fi
 6785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
 6786: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
 6787: if test "x$ac_cv_lib_Xpm_main" = x""yes; then :
 6788:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6789: else
 6790:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6791: fi
 6792: 
 6793:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6794:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 6795:     else
 6796:         libX=""
 6797:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
 6798: Motif flag is disabled.
 6799: " >&5
 6800: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 6801: Motif flag is disabled.
 6802: " >&2;}
 6803:     fi
 6804:     LIBS=$LIBS_ORIG
 6805:     CFLAGS=$CFLAGS_ORIG
 6806: else
 6807:     libX=""
 6808: fi
 6809: 
 6810: 
 6811: 
 6812: 
 6813: 
 6814: 
 6815: 
 6816: 
 6817: 
 6818: 
 6819: 
 6820: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 6821: 
 6822: 
 6823: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 6824: $as_echo_n "checking for main in -lm... " >&6; }
 6825: if test "${ac_cv_lib_m_main+set}" = set; then :
 6826:   $as_echo_n "(cached) " >&6
 6827: else
 6828:   ac_check_lib_save_LIBS=$LIBS
 6829: LIBS="-lm  $LIBS"
 6830: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6831: /* end confdefs.h.  */
 6832: 
 6833: 
 6834: int
 6835: main ()
 6836: {
 6837: return main ();
 6838:   ;
 6839:   return 0;
 6840: }
 6841: _ACEOF
 6842: if ac_fn_c_try_link "$LINENO"; then :
 6843:   ac_cv_lib_m_main=yes
 6844: else
 6845:   ac_cv_lib_m_main=no
 6846: fi
 6847: rm -f core conftest.err conftest.$ac_objext \
 6848:     conftest$ac_exeext conftest.$ac_ext
 6849: LIBS=$ac_check_lib_save_LIBS
 6850: fi
 6851: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 6852: $as_echo "$ac_cv_lib_m_main" >&6; }
 6853: if test "x$ac_cv_lib_m_main" = x""yes; then :
 6854:   cat >>confdefs.h <<_ACEOF
 6855: #define HAVE_LIBM 1
 6856: _ACEOF
 6857: 
 6858:   LIBS="-lm $LIBS"
 6859: 
 6860: else
 6861:   as_fn_error "Can not find libm !" "$LINENO" 5
 6862: fi
 6863: 
 6864: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 6865: $as_echo_n "checking for main in -lpthread... " >&6; }
 6866: if test "${ac_cv_lib_pthread_main+set}" = set; then :
 6867:   $as_echo_n "(cached) " >&6
 6868: else
 6869:   ac_check_lib_save_LIBS=$LIBS
 6870: LIBS="-lpthread  $LIBS"
 6871: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6872: /* end confdefs.h.  */
 6873: 
 6874: 
 6875: int
 6876: main ()
 6877: {
 6878: return main ();
 6879:   ;
 6880:   return 0;
 6881: }
 6882: _ACEOF
 6883: if ac_fn_c_try_link "$LINENO"; then :
 6884:   ac_cv_lib_pthread_main=yes
 6885: else
 6886:   ac_cv_lib_pthread_main=no
 6887: fi
 6888: rm -f core conftest.err conftest.$ac_objext \
 6889:     conftest$ac_exeext conftest.$ac_ext
 6890: LIBS=$ac_check_lib_save_LIBS
 6891: fi
 6892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 6893: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 6894: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
 6895:   cat >>confdefs.h <<_ACEOF
 6896: #define HAVE_LIBPTHREAD 1
 6897: _ACEOF
 6898: 
 6899:   LIBS="-lpthread $LIBS"
 6900: 
 6901: else
 6902:   as_fn_error "Can not find libpthread !" "$LINENO" 5
 6903: fi
 6904: 
 6905: 
 6906: if test "$CYGWIN" != yes; then
 6907:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 6908: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 6909: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 6910:   $as_echo_n "(cached) " >&6
 6911: else
 6912:   ac_check_lib_save_LIBS=$LIBS
 6913: LIBS="-ldl  $LIBS"
 6914: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6915: /* end confdefs.h.  */
 6916: 
 6917: /* Override any GCC internal prototype to avoid an error.
 6918:    Use char because int might match the return type of a GCC
 6919:    builtin and then its argument prototype would still apply.  */
 6920: #ifdef __cplusplus
 6921: extern "C"
 6922: #endif
 6923: char dlopen ();
 6924: int
 6925: main ()
 6926: {
 6927: return dlopen ();
 6928:   ;
 6929:   return 0;
 6930: }
 6931: _ACEOF
 6932: if ac_fn_c_try_link "$LINENO"; then :
 6933:   ac_cv_lib_dl_dlopen=yes
 6934: else
 6935:   ac_cv_lib_dl_dlopen=no
 6936: fi
 6937: rm -f core conftest.err conftest.$ac_objext \
 6938:     conftest$ac_exeext conftest.$ac_ext
 6939: LIBS=$ac_check_lib_save_LIBS
 6940: fi
 6941: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 6942: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 6943: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 6944:   LIBS="$LIBS -ldl"
 6945: else
 6946:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 6947: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 6948: fi
 6949: 
 6950: fi
 6951: 
 6952: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 6953: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 6954: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
 6955:   $as_echo_n "(cached) " >&6
 6956: else
 6957:   ac_check_lib_save_LIBS=$LIBS
 6958: LIBS="-lrt  $LIBS"
 6959: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6960: /* end confdefs.h.  */
 6961: 
 6962: /* Override any GCC internal prototype to avoid an error.
 6963:    Use char because int might match the return type of a GCC
 6964:    builtin and then its argument prototype would still apply.  */
 6965: #ifdef __cplusplus
 6966: extern "C"
 6967: #endif
 6968: char nanosleep ();
 6969: int
 6970: main ()
 6971: {
 6972: return nanosleep ();
 6973:   ;
 6974:   return 0;
 6975: }
 6976: _ACEOF
 6977: if ac_fn_c_try_link "$LINENO"; then :
 6978:   ac_cv_lib_rt_nanosleep=yes
 6979: else
 6980:   ac_cv_lib_rt_nanosleep=no
 6981: fi
 6982: rm -f core conftest.err conftest.$ac_objext \
 6983:     conftest$ac_exeext conftest.$ac_ext
 6984: LIBS=$ac_check_lib_save_LIBS
 6985: fi
 6986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 6987: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 6988: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
 6989:   LIBS="$LIBS -lrt"
 6990: else
 6991:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 6992: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 6993: fi
 6994: 
 6995: 
 6996: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 6997: $as_echo_n "checking for bind in -lsocket... " >&6; }
 6998: if test "${ac_cv_lib_socket_bind+set}" = set; then :
 6999:   $as_echo_n "(cached) " >&6
 7000: else
 7001:   ac_check_lib_save_LIBS=$LIBS
 7002: LIBS="-lsocket  $LIBS"
 7003: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7004: /* end confdefs.h.  */
 7005: 
 7006: /* Override any GCC internal prototype to avoid an error.
 7007:    Use char because int might match the return type of a GCC
 7008:    builtin and then its argument prototype would still apply.  */
 7009: #ifdef __cplusplus
 7010: extern "C"
 7011: #endif
 7012: char bind ();
 7013: int
 7014: main ()
 7015: {
 7016: return bind ();
 7017:   ;
 7018:   return 0;
 7019: }
 7020: _ACEOF
 7021: if ac_fn_c_try_link "$LINENO"; then :
 7022:   ac_cv_lib_socket_bind=yes
 7023: else
 7024:   ac_cv_lib_socket_bind=no
 7025: fi
 7026: rm -f core conftest.err conftest.$ac_objext \
 7027:     conftest$ac_exeext conftest.$ac_ext
 7028: LIBS=$ac_check_lib_save_LIBS
 7029: fi
 7030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7031: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7032: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
 7033:   LIBS="$LIBS -lsocket"
 7034: else
 7035:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7036: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7037: fi
 7038: 
 7039: 
 7040: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7041: 
 7042: # Check whether --with-mysql was given.
 7043: if test "${with_mysql+set}" = set; then :
 7044:   withval=$with_mysql;
 7045: else
 7046:   with_mysql=check
 7047: fi
 7048: 
 7049: 
 7050: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7051:     libMySQLinc="-I/usr/include"
 7052:     libMySQLlib="/usr/lib"
 7053: 
 7054:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7055: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7056:     saved_CFLAGS="$CFLAGS"
 7057:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7058:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7059: /* end confdefs.h.  */
 7060: #include "mysql.h"
 7061: int
 7062: main ()
 7063: {
 7064: 
 7065:   ;
 7066:   return 0;
 7067: }
 7068: _ACEOF
 7069: if ac_fn_c_try_compile "$LINENO"; then :
 7070:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7071: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7072:                     libMySQLinc=$libMySQLinc/mysql
 7073: else
 7074:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7075: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7076: fi
 7077: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7078:     CFLAGS=$saved_CFLAGS
 7079: 
 7080:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7081:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7082: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7083:         saved_CFLAGS="$CFLAGS"
 7084:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7085:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7086: /* end confdefs.h.  */
 7087: #include "mysql.h"
 7088: int
 7089: main ()
 7090: {
 7091: 
 7092:   ;
 7093:   return 0;
 7094: }
 7095: _ACEOF
 7096: if ac_fn_c_try_compile "$LINENO"; then :
 7097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7098: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7099:                         libMySQLinc=$libMySQLinc
 7100: else
 7101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7102: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7103: fi
 7104: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7105:         CFLAGS=$saved_CFLAGS
 7106:         libMySQLinc=$libMySQLinc/mysql
 7107:     fi
 7108: 
 7109:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7110:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7111: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7112:         saved_CFLAGS="$CFLAGS"
 7113:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7114:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7115: /* end confdefs.h.  */
 7116: #include "mysql.h"
 7117: int
 7118: main ()
 7119: {
 7120: 
 7121:   ;
 7122:   return 0;
 7123: }
 7124: _ACEOF
 7125: if ac_fn_c_try_compile "$LINENO"; then :
 7126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7127: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7128:                         libMySQLinc=$libMySQLinc/mysql
 7129: else
 7130:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7131: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7132: fi
 7133: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7134:         CFLAGS=$saved_CFLAGS
 7135:         libMySQLinc=$libMySQLinc/../local/include
 7136:         libMySQLlib=$libMySQLlib/../local/lib
 7137:     fi
 7138: 
 7139:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7140:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7141: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7142:         saved_CFLAGS="$CFLAGS"
 7143:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7144:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7145: /* end confdefs.h.  */
 7146: #include "mysql.h"
 7147: int
 7148: main ()
 7149: {
 7150: 
 7151:   ;
 7152:   return 0;
 7153: }
 7154: _ACEOF
 7155: if ac_fn_c_try_compile "$LINENO"; then :
 7156:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7157: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7158:                         libMySQLinc=$libMySQLinc/mysql
 7159: else
 7160:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7161: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7162: fi
 7163: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7164:         CFLAGS=$saved_CFLAGS
 7165:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7166:         libMySQLlib=$libMySQLlib/../local/lib
 7167:     fi
 7168: else
 7169:     if test "x$with_mysql" != xno; then
 7170:         libMySQLinc="-I$with_mysql/include"
 7171:         libMySQLlib="$with_mysql/lib"
 7172: 
 7173:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7174: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7175:         saved_CFLAGS="$CFLAGS"
 7176:         CFLAGS="$CFLAGS $libMySQLinc"
 7177:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7178: /* end confdefs.h.  */
 7179: #include "mysql.h"
 7180: int
 7181: main ()
 7182: {
 7183: 
 7184:   ;
 7185:   return 0;
 7186: }
 7187: _ACEOF
 7188: if ac_fn_c_try_compile "$LINENO"; then :
 7189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7190: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7191:                         libMySQLinc=$libMySQLinc/mysql
 7192: else
 7193:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7194: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7195: fi
 7196: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7197:         CFLAGS=$saved_CFLAGS
 7198: 
 7199:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7200:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7201: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7202:             saved_CFLAGS="$CFLAGS"
 7203:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7204:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7205: /* end confdefs.h.  */
 7206: #include "mysql.h"
 7207: int
 7208: main ()
 7209: {
 7210: 
 7211:   ;
 7212:   return 0;
 7213: }
 7214: _ACEOF
 7215: if ac_fn_c_try_compile "$LINENO"; then :
 7216:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7217: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7218:                             libMySQLinc=$libMySQLinc
 7219: else
 7220:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7221: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7222: fi
 7223: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7224:             CFLAGS=$saved_CFLAGS
 7225:             libMySQLinc=$libMySQLinc/mysql
 7226:         fi
 7227:     else
 7228:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7229:     fi
 7230: fi
 7231: 
 7232: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7233:     MYSQL_LIB=no
 7234: 
 7235:     if test $MYSQL_LIB = no; then
 7236:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7237: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7238:         saved_LIBS="$LIBS"
 7239:         if test $STATIC = no; then
 7240:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7241:         else
 7242:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7243:         fi
 7244:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7245: /* end confdefs.h.  */
 7246: #include "mysql.h"
 7247: int
 7248: main ()
 7249: {
 7250: MYSQL mysql; mysql_init(&mysql);
 7251:   ;
 7252:   return 0;
 7253: }
 7254: _ACEOF
 7255: if ac_fn_c_try_link "$LINENO"; then :
 7256:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7257: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7258: else
 7259:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7260: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7261: fi
 7262: rm -f core conftest.err conftest.$ac_objext \
 7263:     conftest$ac_exeext conftest.$ac_ext
 7264:         LIBS=$saved_LIBS;
 7265:         if test $STATIC = no; then
 7266:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7267:         else
 7268:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7269:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7270:         fi
 7271:     fi
 7272: 
 7273:     if test $MYSQL_LIB = no; then
 7274:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7275:     fi
 7276: fi
 7277: 
 7278: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7279:     libMySQLinc=
 7280:     libMySQLlib=
 7281: fi
 7282: 
 7283: 
 7284: 
 7285: 
 7286: 
 7287: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7288: 
 7289: # Check whether --with-postgresql was given.
 7290: if test "${with_postgresql+set}" = set; then :
 7291:   withval=$with_postgresql;
 7292: else
 7293:   with_postgresql=check
 7294: fi
 7295: 
 7296: 
 7297: # with_postgresql : check [pas défini], yes [uniquement --with],
 7298: # no [--without], valeur [--with=valeur].
 7299: 
 7300: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7301:     libPgSQLinc="-I/usr/include"
 7302:     libPgSQLlib="/usr/lib"
 7303: 
 7304:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7305: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7306:     saved_CFLAGS="$CFLAGS"
 7307:     CFLAGS="$CFLAGS $libPgSQLinc"
 7308:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7309: /* end confdefs.h.  */
 7310: #include "libpq-fe.h"
 7311: int
 7312: main ()
 7313: {
 7314: 
 7315:   ;
 7316:   return 0;
 7317: }
 7318: _ACEOF
 7319: if ac_fn_c_try_compile "$LINENO"; then :
 7320:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7321: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7322: else
 7323:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7324: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7325: fi
 7326: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7327:     CFLAGS=$saved_CFLAGS
 7328: 
 7329:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7330:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7331: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7332:         saved_CFLAGS="$CFLAGS"
 7333:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7334:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7335: /* end confdefs.h.  */
 7336: #include "libpq-fe.h"
 7337: int
 7338: main ()
 7339: {
 7340: 
 7341:   ;
 7342:   return 0;
 7343: }
 7344: _ACEOF
 7345: if ac_fn_c_try_compile "$LINENO"; then :
 7346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7347: $as_echo "yes" >&6; };
 7348:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7349: else
 7350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7351: $as_echo "no" >&6; };
 7352:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7353: fi
 7354: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7355:         CFLAGS=$saved_CFLAGS
 7356:         libPgSQLinc=$libPgSQLinc/postgresql
 7357:     fi
 7358: 
 7359:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7360:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7361: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7362:         saved_CFLAGS="$CFLAGS"
 7363:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7364:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7365: /* end confdefs.h.  */
 7366: #include "libpq-fe.h"
 7367: int
 7368: main ()
 7369: {
 7370: 
 7371:   ;
 7372:   return 0;
 7373: }
 7374: _ACEOF
 7375: if ac_fn_c_try_compile "$LINENO"; then :
 7376:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7377: $as_echo "yes" >&6; };
 7378:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7379: else
 7380:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7381: $as_echo "no" >&6; };
 7382:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7383: fi
 7384: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7385:         CFLAGS=$saved_CFLAGS
 7386:         libPgSQLinc=$libPgSQLinc/pgsql
 7387:     fi
 7388: 
 7389:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7390:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7391: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7392:         saved_CFLAGS="$CFLAGS"
 7393:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7394:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7395: /* end confdefs.h.  */
 7396: #include "libpq-fe.h"
 7397: int
 7398: main ()
 7399: {
 7400: 
 7401:   ;
 7402:   return 0;
 7403: }
 7404: _ACEOF
 7405: if ac_fn_c_try_compile "$LINENO"; then :
 7406:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7407: $as_echo "yes" >&6; };
 7408:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7409: else
 7410:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7411: $as_echo "no" >&6; };
 7412:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7413: fi
 7414: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7415:         CFLAGS=$saved_CFLAGS
 7416:         libPgSQLinc=$libPgSQLinc/../local/include
 7417:         libPgSQLlib=$libPgSQLlib/../local/lib
 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/local/include/postgresql" >&5
 7422: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7423:         saved_CFLAGS="$CFLAGS"
 7424:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 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/../local/include/postgresql
 7448:         libPgSQLlib=$libPgSQLlib/../local/lib
 7449:     fi
 7450: 
 7451:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7452:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7453: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7454:         saved_CFLAGS="$CFLAGS"
 7455:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7456:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7457: /* end confdefs.h.  */
 7458: #include "libpq-fe.h"
 7459: int
 7460: main ()
 7461: {
 7462: 
 7463:   ;
 7464:   return 0;
 7465: }
 7466: _ACEOF
 7467: if ac_fn_c_try_compile "$LINENO"; then :
 7468:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7469: $as_echo "yes" >&6; };
 7470:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7471: else
 7472:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7473: $as_echo "no" >&6; };
 7474:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7475: fi
 7476: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7477:         CFLAGS=$saved_CFLAGS
 7478:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7479:         libPgSQLlib=$libPgSQLlib/../local/lib
 7480:     fi
 7481: else
 7482:     if test "x$with_postgresql" != xno; then
 7483:         libPgSQLinc="-I$with_postgresql/include"
 7484:         libPgSQLlib="$with_postgresql/lib"
 7485: 
 7486:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7487: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7488:         saved_CFLAGS="$CFLAGS"
 7489:         CFLAGS="$CFLAGS $libPgSQLinc"
 7490:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7491: /* end confdefs.h.  */
 7492: #include "libpq-fe.h"
 7493: int
 7494: main ()
 7495: {
 7496: 
 7497:   ;
 7498:   return 0;
 7499: }
 7500: _ACEOF
 7501: if ac_fn_c_try_compile "$LINENO"; then :
 7502:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7503: $as_echo "yes" >&6; };
 7504:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7505: else
 7506:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7507: $as_echo "no" >&6; };
 7508:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7509: fi
 7510: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7511:         CFLAGS=$saved_CFLAGS
 7512: 
 7513:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7514:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7515: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7516:             saved_CFLAGS="$CFLAGS"
 7517:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7518:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7519: /* end confdefs.h.  */
 7520: #include "libpq-fe.h"
 7521: int
 7522: main ()
 7523: {
 7524: 
 7525:   ;
 7526:   return 0;
 7527: }
 7528: _ACEOF
 7529: if ac_fn_c_try_compile "$LINENO"; then :
 7530:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7531: $as_echo "yes" >&6; };
 7532:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7533: else
 7534:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7535: $as_echo "no" >&6; };
 7536:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7537: fi
 7538: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7539:             CFLAGS=$saved_CFLAGS
 7540:             libPgSQLinc=$libPgSQLinc/postgresql
 7541:         fi
 7542: 
 7543:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7544:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7545: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7546:             saved_CFLAGS="$CFLAGS"
 7547:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7548:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7549: /* end confdefs.h.  */
 7550: #include "libpq-fe.h"
 7551: int
 7552: main ()
 7553: {
 7554: 
 7555:   ;
 7556:   return 0;
 7557: }
 7558: _ACEOF
 7559: if ac_fn_c_try_compile "$LINENO"; then :
 7560:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7561: $as_echo "yes" >&6; };
 7562:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7563: else
 7564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7565: $as_echo "no" >&6; };
 7566:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7567: fi
 7568: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7569:             CFLAGS=$saved_CFLAGS
 7570:             libPgSQLinc=$libPgSQLinc/pgsql
 7571:         fi
 7572:     else
 7573:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7574:     fi
 7575: fi
 7576: 
 7577: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7578:     POSTGRESQL_LIB=no
 7579: 
 7580:     if test $POSTGRESQL_LIB = no; then
 7581:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7582: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7583:         saved_LIBS="$LIBS"
 7584:         if test $STATIC = no; then
 7585:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7586:         else
 7587:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 7588:         fi
 7589:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7590: /* end confdefs.h.  */
 7591: #include "libpq-fe.h"
 7592: int
 7593: main ()
 7594: {
 7595: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 7596:              PQconnectdb(conninfo);
 7597:   ;
 7598:   return 0;
 7599: }
 7600: _ACEOF
 7601: if ac_fn_c_try_link "$LINENO"; then :
 7602:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7603: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 7604: else
 7605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7606: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 7607: fi
 7608: rm -f core conftest.err conftest.$ac_objext \
 7609:     conftest$ac_exeext conftest.$ac_ext
 7610:         LIBS=$saved_LIBS;
 7611:         if test $STATIC = no; then
 7612:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 7613:         else
 7614:             libPgSQLlib="$libPgSQLlib/libpq.a"
 7615:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 7616:         fi
 7617:     fi
 7618: fi
 7619: 
 7620: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 7621:     libPgSQLinc=
 7622:     libPgSQLlib=
 7623: fi
 7624: 
 7625: 
 7626: 
 7627: 
 7628: 
 7629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 7630: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 7631: if test "${ac_cv_path_GREP+set}" = set; then :
 7632:   $as_echo_n "(cached) " >&6
 7633: else
 7634:   if test -z "$GREP"; then
 7635:   ac_path_GREP_found=false
 7636:   # Loop through the user's path and test for each of PROGNAME-LIST
 7637:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7638: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7639: do
 7640:   IFS=$as_save_IFS
 7641:   test -z "$as_dir" && as_dir=.
 7642:     for ac_prog in grep ggrep; do
 7643:     for ac_exec_ext in '' $ac_executable_extensions; do
 7644:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 7645:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 7646: # Check for GNU ac_path_GREP and select it if it is found.
 7647:   # Check for GNU $ac_path_GREP
 7648: case `"$ac_path_GREP" --version 2>&1` in
 7649: *GNU*)
 7650:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 7651: *)
 7652:   ac_count=0
 7653:   $as_echo_n 0123456789 >"conftest.in"
 7654:   while :
 7655:   do
 7656:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7657:     mv "conftest.tmp" "conftest.in"
 7658:     cp "conftest.in" "conftest.nl"
 7659:     $as_echo 'GREP' >> "conftest.nl"
 7660:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7661:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7662:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7663:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 7664:       # Best one so far, save it but keep looking for a better one
 7665:       ac_cv_path_GREP="$ac_path_GREP"
 7666:       ac_path_GREP_max=$ac_count
 7667:     fi
 7668:     # 10*(2^10) chars as input seems more than enough
 7669:     test $ac_count -gt 10 && break
 7670:   done
 7671:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7672: esac
 7673: 
 7674:       $ac_path_GREP_found && break 3
 7675:     done
 7676:   done
 7677:   done
 7678: IFS=$as_save_IFS
 7679:   if test -z "$ac_cv_path_GREP"; then
 7680:     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7681:   fi
 7682: else
 7683:   ac_cv_path_GREP=$GREP
 7684: fi
 7685: 
 7686: fi
 7687: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 7688: $as_echo "$ac_cv_path_GREP" >&6; }
 7689:  GREP="$ac_cv_path_GREP"
 7690: 
 7691: 
 7692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 7693: $as_echo_n "checking for egrep... " >&6; }
 7694: if test "${ac_cv_path_EGREP+set}" = set; then :
 7695:   $as_echo_n "(cached) " >&6
 7696: else
 7697:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 7698:    then ac_cv_path_EGREP="$GREP -E"
 7699:    else
 7700:      if test -z "$EGREP"; then
 7701:   ac_path_EGREP_found=false
 7702:   # Loop through the user's path and test for each of PROGNAME-LIST
 7703:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7704: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7705: do
 7706:   IFS=$as_save_IFS
 7707:   test -z "$as_dir" && as_dir=.
 7708:     for ac_prog in egrep; do
 7709:     for ac_exec_ext in '' $ac_executable_extensions; do
 7710:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 7711:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 7712: # Check for GNU ac_path_EGREP and select it if it is found.
 7713:   # Check for GNU $ac_path_EGREP
 7714: case `"$ac_path_EGREP" --version 2>&1` in
 7715: *GNU*)
 7716:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 7717: *)
 7718:   ac_count=0
 7719:   $as_echo_n 0123456789 >"conftest.in"
 7720:   while :
 7721:   do
 7722:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7723:     mv "conftest.tmp" "conftest.in"
 7724:     cp "conftest.in" "conftest.nl"
 7725:     $as_echo 'EGREP' >> "conftest.nl"
 7726:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7727:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7728:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7729:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 7730:       # Best one so far, save it but keep looking for a better one
 7731:       ac_cv_path_EGREP="$ac_path_EGREP"
 7732:       ac_path_EGREP_max=$ac_count
 7733:     fi
 7734:     # 10*(2^10) chars as input seems more than enough
 7735:     test $ac_count -gt 10 && break
 7736:   done
 7737:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7738: esac
 7739: 
 7740:       $ac_path_EGREP_found && break 3
 7741:     done
 7742:   done
 7743:   done
 7744: IFS=$as_save_IFS
 7745:   if test -z "$ac_cv_path_EGREP"; then
 7746:     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7747:   fi
 7748: else
 7749:   ac_cv_path_EGREP=$EGREP
 7750: fi
 7751: 
 7752:    fi
 7753: fi
 7754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 7755: $as_echo "$ac_cv_path_EGREP" >&6; }
 7756:  EGREP="$ac_cv_path_EGREP"
 7757: 
 7758: 
 7759: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 7760: $as_echo_n "checking for ANSI C header files... " >&6; }
 7761: if test "${ac_cv_header_stdc+set}" = set; then :
 7762:   $as_echo_n "(cached) " >&6
 7763: else
 7764:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7765: /* end confdefs.h.  */
 7766: #include <stdlib.h>
 7767: #include <stdarg.h>
 7768: #include <string.h>
 7769: #include <float.h>
 7770: 
 7771: int
 7772: main ()
 7773: {
 7774: 
 7775:   ;
 7776:   return 0;
 7777: }
 7778: _ACEOF
 7779: if ac_fn_c_try_compile "$LINENO"; then :
 7780:   ac_cv_header_stdc=yes
 7781: else
 7782:   ac_cv_header_stdc=no
 7783: fi
 7784: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7785: 
 7786: if test $ac_cv_header_stdc = yes; then
 7787:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 7788:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7789: /* end confdefs.h.  */
 7790: #include <string.h>
 7791: 
 7792: _ACEOF
 7793: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7794:   $EGREP "memchr" >/dev/null 2>&1; then :
 7795: 
 7796: else
 7797:   ac_cv_header_stdc=no
 7798: fi
 7799: rm -f conftest*
 7800: 
 7801: fi
 7802: 
 7803: if test $ac_cv_header_stdc = yes; then
 7804:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 7805:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7806: /* end confdefs.h.  */
 7807: #include <stdlib.h>
 7808: 
 7809: _ACEOF
 7810: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7811:   $EGREP "free" >/dev/null 2>&1; then :
 7812: 
 7813: else
 7814:   ac_cv_header_stdc=no
 7815: fi
 7816: rm -f conftest*
 7817: 
 7818: fi
 7819: 
 7820: if test $ac_cv_header_stdc = yes; then
 7821:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 7822:   if test "$cross_compiling" = yes; then :
 7823:   :
 7824: else
 7825:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7826: /* end confdefs.h.  */
 7827: #include <ctype.h>
 7828: #include <stdlib.h>
 7829: #if ((' ' & 0x0FF) == 0x020)
 7830: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 7831: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 7832: #else
 7833: # define ISLOWER(c) \
 7834:            (('a' <= (c) && (c) <= 'i') \
 7835:              || ('j' <= (c) && (c) <= 'r') \
 7836:              || ('s' <= (c) && (c) <= 'z'))
 7837: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 7838: #endif
 7839: 
 7840: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 7841: int
 7842: main ()
 7843: {
 7844:   int i;
 7845:   for (i = 0; i < 256; i++)
 7846:     if (XOR (islower (i), ISLOWER (i))
 7847:     || toupper (i) != TOUPPER (i))
 7848:       return 2;
 7849:   return 0;
 7850: }
 7851: _ACEOF
 7852: if ac_fn_c_try_run "$LINENO"; then :
 7853: 
 7854: else
 7855:   ac_cv_header_stdc=no
 7856: fi
 7857: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 7858:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 7859: fi
 7860: 
 7861: fi
 7862: fi
 7863: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 7864: $as_echo "$ac_cv_header_stdc" >&6; }
 7865: if test $ac_cv_header_stdc = yes; then
 7866: 
 7867: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 7868: 
 7869: fi
 7870: 
 7871: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 7872: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 7873:           inttypes.h stdint.h unistd.h
 7874: do :
 7875:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 7876: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 7877: "
 7878: eval as_val=\$$as_ac_Header
 7879:    if test "x$as_val" = x""yes; then :
 7880:   cat >>confdefs.h <<_ACEOF
 7881: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 7882: _ACEOF
 7883: 
 7884: fi
 7885: 
 7886: done
 7887: 
 7888: 
 7889: # The cast to long int works around a bug in the HP C Compiler
 7890: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7891: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7892: # This bug is HP SR number 8606223364.
 7893: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 7894: $as_echo_n "checking size of void *... " >&6; }
 7895: if test "${ac_cv_sizeof_void_p+set}" = set; then :
 7896:   $as_echo_n "(cached) " >&6
 7897: else
 7898:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 7899: 
 7900: else
 7901:   if test "$ac_cv_type_void_p" = yes; then
 7902:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7903: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7904: { as_fn_set_status 77
 7905: as_fn_error "cannot compute sizeof (void *)
 7906: See \`config.log' for more details." "$LINENO" 5; }; }
 7907:    else
 7908:      ac_cv_sizeof_void_p=0
 7909:    fi
 7910: fi
 7911: 
 7912: fi
 7913: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 7914: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 7915: 
 7916: 
 7917: 
 7918: cat >>confdefs.h <<_ACEOF
 7919: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 7920: _ACEOF
 7921: 
 7922: 
 7923: # The cast to long int works around a bug in the HP C Compiler
 7924: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7925: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7926: # This bug is HP SR number 8606223364.
 7927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 7928: $as_echo_n "checking size of char... " >&6; }
 7929: if test "${ac_cv_sizeof_char+set}" = set; then :
 7930:   $as_echo_n "(cached) " >&6
 7931: else
 7932:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 7933: 
 7934: else
 7935:   if test "$ac_cv_type_char" = yes; then
 7936:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7937: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7938: { as_fn_set_status 77
 7939: as_fn_error "cannot compute sizeof (char)
 7940: See \`config.log' for more details." "$LINENO" 5; }; }
 7941:    else
 7942:      ac_cv_sizeof_char=0
 7943:    fi
 7944: fi
 7945: 
 7946: fi
 7947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 7948: $as_echo "$ac_cv_sizeof_char" >&6; }
 7949: 
 7950: 
 7951: 
 7952: cat >>confdefs.h <<_ACEOF
 7953: #define SIZEOF_CHAR $ac_cv_sizeof_char
 7954: _ACEOF
 7955: 
 7956: 
 7957: # The cast to long int works around a bug in the HP C Compiler
 7958: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7959: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7960: # This bug is HP SR number 8606223364.
 7961: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 7962: $as_echo_n "checking size of short int... " >&6; }
 7963: if test "${ac_cv_sizeof_short_int+set}" = set; then :
 7964:   $as_echo_n "(cached) " >&6
 7965: else
 7966:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 7967: 
 7968: else
 7969:   if test "$ac_cv_type_short_int" = yes; then
 7970:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7971: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7972: { as_fn_set_status 77
 7973: as_fn_error "cannot compute sizeof (short int)
 7974: See \`config.log' for more details." "$LINENO" 5; }; }
 7975:    else
 7976:      ac_cv_sizeof_short_int=0
 7977:    fi
 7978: fi
 7979: 
 7980: fi
 7981: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 7982: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 7983: 
 7984: 
 7985: 
 7986: cat >>confdefs.h <<_ACEOF
 7987: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 7988: _ACEOF
 7989: 
 7990: 
 7991: # The cast to long int works around a bug in the HP C Compiler
 7992: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7993: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7994: # This bug is HP SR number 8606223364.
 7995: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 7996: $as_echo_n "checking size of int... " >&6; }
 7997: if test "${ac_cv_sizeof_int+set}" = set; then :
 7998:   $as_echo_n "(cached) " >&6
 7999: else
 8000:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8001: 
 8002: else
 8003:   if test "$ac_cv_type_int" = yes; then
 8004:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8005: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8006: { as_fn_set_status 77
 8007: as_fn_error "cannot compute sizeof (int)
 8008: See \`config.log' for more details." "$LINENO" 5; }; }
 8009:    else
 8010:      ac_cv_sizeof_int=0
 8011:    fi
 8012: fi
 8013: 
 8014: fi
 8015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8016: $as_echo "$ac_cv_sizeof_int" >&6; }
 8017: 
 8018: 
 8019: 
 8020: cat >>confdefs.h <<_ACEOF
 8021: #define SIZEOF_INT $ac_cv_sizeof_int
 8022: _ACEOF
 8023: 
 8024: 
 8025: # The cast to long int works around a bug in the HP C Compiler
 8026: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8027: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8028: # This bug is HP SR number 8606223364.
 8029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8030: $as_echo_n "checking size of long int... " >&6; }
 8031: if test "${ac_cv_sizeof_long_int+set}" = set; then :
 8032:   $as_echo_n "(cached) " >&6
 8033: else
 8034:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8035: 
 8036: else
 8037:   if test "$ac_cv_type_long_int" = yes; then
 8038:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8039: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8040: { as_fn_set_status 77
 8041: as_fn_error "cannot compute sizeof (long int)
 8042: See \`config.log' for more details." "$LINENO" 5; }; }
 8043:    else
 8044:      ac_cv_sizeof_long_int=0
 8045:    fi
 8046: fi
 8047: 
 8048: fi
 8049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8050: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8051: 
 8052: 
 8053: 
 8054: cat >>confdefs.h <<_ACEOF
 8055: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8056: _ACEOF
 8057: 
 8058: 
 8059: # The cast to long int works around a bug in the HP C Compiler
 8060: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8061: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8062: # This bug is HP SR number 8606223364.
 8063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8064: $as_echo_n "checking size of long long int... " >&6; }
 8065: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
 8066:   $as_echo_n "(cached) " >&6
 8067: else
 8068:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8069: 
 8070: else
 8071:   if test "$ac_cv_type_long_long_int" = yes; then
 8072:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8073: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8074: { as_fn_set_status 77
 8075: as_fn_error "cannot compute sizeof (long long int)
 8076: See \`config.log' for more details." "$LINENO" 5; }; }
 8077:    else
 8078:      ac_cv_sizeof_long_long_int=0
 8079:    fi
 8080: fi
 8081: 
 8082: fi
 8083: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8084: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8085: 
 8086: 
 8087: 
 8088: cat >>confdefs.h <<_ACEOF
 8089: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8090: _ACEOF
 8091: 
 8092: 
 8093: # The cast to long int works around a bug in the HP C Compiler
 8094: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8095: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8096: # This bug is HP SR number 8606223364.
 8097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8098: $as_echo_n "checking size of float... " >&6; }
 8099: if test "${ac_cv_sizeof_float+set}" = set; then :
 8100:   $as_echo_n "(cached) " >&6
 8101: else
 8102:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8103: 
 8104: else
 8105:   if test "$ac_cv_type_float" = yes; then
 8106:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8107: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8108: { as_fn_set_status 77
 8109: as_fn_error "cannot compute sizeof (float)
 8110: See \`config.log' for more details." "$LINENO" 5; }; }
 8111:    else
 8112:      ac_cv_sizeof_float=0
 8113:    fi
 8114: fi
 8115: 
 8116: fi
 8117: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8118: $as_echo "$ac_cv_sizeof_float" >&6; }
 8119: 
 8120: 
 8121: 
 8122: cat >>confdefs.h <<_ACEOF
 8123: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8124: _ACEOF
 8125: 
 8126: 
 8127: # The cast to long int works around a bug in the HP C Compiler
 8128: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8129: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8130: # This bug is HP SR number 8606223364.
 8131: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8132: $as_echo_n "checking size of double... " >&6; }
 8133: if test "${ac_cv_sizeof_double+set}" = set; then :
 8134:   $as_echo_n "(cached) " >&6
 8135: else
 8136:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8137: 
 8138: else
 8139:   if test "$ac_cv_type_double" = yes; then
 8140:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8141: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8142: { as_fn_set_status 77
 8143: as_fn_error "cannot compute sizeof (double)
 8144: See \`config.log' for more details." "$LINENO" 5; }; }
 8145:    else
 8146:      ac_cv_sizeof_double=0
 8147:    fi
 8148: fi
 8149: 
 8150: fi
 8151: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8152: $as_echo "$ac_cv_sizeof_double" >&6; }
 8153: 
 8154: 
 8155: 
 8156: cat >>confdefs.h <<_ACEOF
 8157: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8158: _ACEOF
 8159: 
 8160: 
 8161: # The cast to long int works around a bug in the HP C Compiler
 8162: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8163: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8164: # This bug is HP SR number 8606223364.
 8165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8166: $as_echo_n "checking size of long double... " >&6; }
 8167: if test "${ac_cv_sizeof_long_double+set}" = set; then :
 8168:   $as_echo_n "(cached) " >&6
 8169: else
 8170:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8171: 
 8172: else
 8173:   if test "$ac_cv_type_long_double" = yes; then
 8174:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8175: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8176: { as_fn_set_status 77
 8177: as_fn_error "cannot compute sizeof (long double)
 8178: See \`config.log' for more details." "$LINENO" 5; }; }
 8179:    else
 8180:      ac_cv_sizeof_long_double=0
 8181:    fi
 8182: fi
 8183: 
 8184: fi
 8185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8186: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8187: 
 8188: 
 8189: 
 8190: cat >>confdefs.h <<_ACEOF
 8191: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8192: _ACEOF
 8193: 
 8194: 
 8195: 
 8196: ac_header_dirent=no
 8197: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8198:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8200: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8201: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
 8202:   $as_echo_n "(cached) " >&6
 8203: else
 8204:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8205: /* end confdefs.h.  */
 8206: #include <sys/types.h>
 8207: #include <$ac_hdr>
 8208: 
 8209: int
 8210: main ()
 8211: {
 8212: if ((DIR *) 0)
 8213: return 0;
 8214:   ;
 8215:   return 0;
 8216: }
 8217: _ACEOF
 8218: if ac_fn_c_try_compile "$LINENO"; then :
 8219:   eval "$as_ac_Header=yes"
 8220: else
 8221:   eval "$as_ac_Header=no"
 8222: fi
 8223: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8224: fi
 8225: eval ac_res=\$$as_ac_Header
 8226:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8227: $as_echo "$ac_res" >&6; }
 8228: eval as_val=\$$as_ac_Header
 8229:    if test "x$as_val" = x""yes; then :
 8230:   cat >>confdefs.h <<_ACEOF
 8231: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8232: _ACEOF
 8233: 
 8234: ac_header_dirent=$ac_hdr; break
 8235: fi
 8236: 
 8237: done
 8238: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8239: if test $ac_header_dirent = dirent.h; then
 8240:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8241: $as_echo_n "checking for library containing opendir... " >&6; }
 8242: if test "${ac_cv_search_opendir+set}" = set; then :
 8243:   $as_echo_n "(cached) " >&6
 8244: else
 8245:   ac_func_search_save_LIBS=$LIBS
 8246: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8247: /* end confdefs.h.  */
 8248: 
 8249: /* Override any GCC internal prototype to avoid an error.
 8250:    Use char because int might match the return type of a GCC
 8251:    builtin and then its argument prototype would still apply.  */
 8252: #ifdef __cplusplus
 8253: extern "C"
 8254: #endif
 8255: char opendir ();
 8256: int
 8257: main ()
 8258: {
 8259: return opendir ();
 8260:   ;
 8261:   return 0;
 8262: }
 8263: _ACEOF
 8264: for ac_lib in '' dir; do
 8265:   if test -z "$ac_lib"; then
 8266:     ac_res="none required"
 8267:   else
 8268:     ac_res=-l$ac_lib
 8269:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8270:   fi
 8271:   if ac_fn_c_try_link "$LINENO"; then :
 8272:   ac_cv_search_opendir=$ac_res
 8273: fi
 8274: rm -f core conftest.err conftest.$ac_objext \
 8275:     conftest$ac_exeext
 8276:   if test "${ac_cv_search_opendir+set}" = set; then :
 8277:   break
 8278: fi
 8279: done
 8280: if test "${ac_cv_search_opendir+set}" = set; then :
 8281: 
 8282: else
 8283:   ac_cv_search_opendir=no
 8284: fi
 8285: rm conftest.$ac_ext
 8286: LIBS=$ac_func_search_save_LIBS
 8287: fi
 8288: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8289: $as_echo "$ac_cv_search_opendir" >&6; }
 8290: ac_res=$ac_cv_search_opendir
 8291: if test "$ac_res" != no; then :
 8292:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8293: 
 8294: fi
 8295: 
 8296: else
 8297:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8298: $as_echo_n "checking for library containing opendir... " >&6; }
 8299: if test "${ac_cv_search_opendir+set}" = set; then :
 8300:   $as_echo_n "(cached) " >&6
 8301: else
 8302:   ac_func_search_save_LIBS=$LIBS
 8303: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8304: /* end confdefs.h.  */
 8305: 
 8306: /* Override any GCC internal prototype to avoid an error.
 8307:    Use char because int might match the return type of a GCC
 8308:    builtin and then its argument prototype would still apply.  */
 8309: #ifdef __cplusplus
 8310: extern "C"
 8311: #endif
 8312: char opendir ();
 8313: int
 8314: main ()
 8315: {
 8316: return opendir ();
 8317:   ;
 8318:   return 0;
 8319: }
 8320: _ACEOF
 8321: for ac_lib in '' x; do
 8322:   if test -z "$ac_lib"; then
 8323:     ac_res="none required"
 8324:   else
 8325:     ac_res=-l$ac_lib
 8326:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8327:   fi
 8328:   if ac_fn_c_try_link "$LINENO"; then :
 8329:   ac_cv_search_opendir=$ac_res
 8330: fi
 8331: rm -f core conftest.err conftest.$ac_objext \
 8332:     conftest$ac_exeext
 8333:   if test "${ac_cv_search_opendir+set}" = set; then :
 8334:   break
 8335: fi
 8336: done
 8337: if test "${ac_cv_search_opendir+set}" = set; then :
 8338: 
 8339: else
 8340:   ac_cv_search_opendir=no
 8341: fi
 8342: rm conftest.$ac_ext
 8343: LIBS=$ac_func_search_save_LIBS
 8344: fi
 8345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8346: $as_echo "$ac_cv_search_opendir" >&6; }
 8347: ac_res=$ac_cv_search_opendir
 8348: if test "$ac_res" != no; then :
 8349:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8350: 
 8351: fi
 8352: 
 8353: fi
 8354: 
 8355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8356: $as_echo_n "checking for ANSI C header files... " >&6; }
 8357: if test "${ac_cv_header_stdc+set}" = set; then :
 8358:   $as_echo_n "(cached) " >&6
 8359: else
 8360:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8361: /* end confdefs.h.  */
 8362: #include <stdlib.h>
 8363: #include <stdarg.h>
 8364: #include <string.h>
 8365: #include <float.h>
 8366: 
 8367: int
 8368: main ()
 8369: {
 8370: 
 8371:   ;
 8372:   return 0;
 8373: }
 8374: _ACEOF
 8375: if ac_fn_c_try_compile "$LINENO"; then :
 8376:   ac_cv_header_stdc=yes
 8377: else
 8378:   ac_cv_header_stdc=no
 8379: fi
 8380: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8381: 
 8382: if test $ac_cv_header_stdc = yes; then
 8383:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8384:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8385: /* end confdefs.h.  */
 8386: #include <string.h>
 8387: 
 8388: _ACEOF
 8389: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8390:   $EGREP "memchr" >/dev/null 2>&1; then :
 8391: 
 8392: else
 8393:   ac_cv_header_stdc=no
 8394: fi
 8395: rm -f conftest*
 8396: 
 8397: fi
 8398: 
 8399: if test $ac_cv_header_stdc = yes; then
 8400:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8401:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8402: /* end confdefs.h.  */
 8403: #include <stdlib.h>
 8404: 
 8405: _ACEOF
 8406: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8407:   $EGREP "free" >/dev/null 2>&1; then :
 8408: 
 8409: else
 8410:   ac_cv_header_stdc=no
 8411: fi
 8412: rm -f conftest*
 8413: 
 8414: fi
 8415: 
 8416: if test $ac_cv_header_stdc = yes; then
 8417:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8418:   if test "$cross_compiling" = yes; then :
 8419:   :
 8420: else
 8421:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8422: /* end confdefs.h.  */
 8423: #include <ctype.h>
 8424: #include <stdlib.h>
 8425: #if ((' ' & 0x0FF) == 0x020)
 8426: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8427: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8428: #else
 8429: # define ISLOWER(c) \
 8430:            (('a' <= (c) && (c) <= 'i') \
 8431:              || ('j' <= (c) && (c) <= 'r') \
 8432:              || ('s' <= (c) && (c) <= 'z'))
 8433: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8434: #endif
 8435: 
 8436: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8437: int
 8438: main ()
 8439: {
 8440:   int i;
 8441:   for (i = 0; i < 256; i++)
 8442:     if (XOR (islower (i), ISLOWER (i))
 8443:     || toupper (i) != TOUPPER (i))
 8444:       return 2;
 8445:   return 0;
 8446: }
 8447: _ACEOF
 8448: if ac_fn_c_try_run "$LINENO"; then :
 8449: 
 8450: else
 8451:   ac_cv_header_stdc=no
 8452: fi
 8453: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8454:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8455: fi
 8456: 
 8457: fi
 8458: fi
 8459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8460: $as_echo "$ac_cv_header_stdc" >&6; }
 8461: if test $ac_cv_header_stdc = yes; then
 8462: 
 8463: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8464: 
 8465: fi
 8466: 
 8467: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8468: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8469: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 8470:   $as_echo_n "(cached) " >&6
 8471: else
 8472:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8473: /* end confdefs.h.  */
 8474: #include <sys/types.h>
 8475: #include <sys/wait.h>
 8476: #ifndef WEXITSTATUS
 8477: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8478: #endif
 8479: #ifndef WIFEXITED
 8480: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8481: #endif
 8482: 
 8483: int
 8484: main ()
 8485: {
 8486:   int s;
 8487:   wait (&s);
 8488:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8489:   ;
 8490:   return 0;
 8491: }
 8492: _ACEOF
 8493: if ac_fn_c_try_compile "$LINENO"; then :
 8494:   ac_cv_header_sys_wait_h=yes
 8495: else
 8496:   ac_cv_header_sys_wait_h=no
 8497: fi
 8498: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8499: fi
 8500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8501: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8502: if test $ac_cv_header_sys_wait_h = yes; then
 8503: 
 8504: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8505: 
 8506: fi
 8507: 
 8508: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8509:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8510:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8511: do :
 8512:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8513: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8514: eval as_val=\$$as_ac_Header
 8515:    if test "x$as_val" = x""yes; then :
 8516:   cat >>confdefs.h <<_ACEOF
 8517: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8518: _ACEOF
 8519: 
 8520: fi
 8521: 
 8522: done
 8523: 
 8524: 
 8525: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8526: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8527: if test "${ac_cv_c_const+set}" = set; then :
 8528:   $as_echo_n "(cached) " >&6
 8529: else
 8530:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8531: /* end confdefs.h.  */
 8532: 
 8533: int
 8534: main ()
 8535: {
 8536: /* FIXME: Include the comments suggested by Paul. */
 8537: #ifndef __cplusplus
 8538:   /* Ultrix mips cc rejects this.  */
 8539:   typedef int charset[2];
 8540:   const charset cs;
 8541:   /* SunOS 4.1.1 cc rejects this.  */
 8542:   char const *const *pcpcc;
 8543:   char **ppc;
 8544:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8545:   struct point {int x, y;};
 8546:   static struct point const zero = {0,0};
 8547:   /* AIX XL C 1.02.0.0 rejects this.
 8548:      It does not let you subtract one const X* pointer from another in
 8549:      an arm of an if-expression whose if-part is not a constant
 8550:      expression */
 8551:   const char *g = "string";
 8552:   pcpcc = &g + (g ? g-g : 0);
 8553:   /* HPUX 7.0 cc rejects these. */
 8554:   ++pcpcc;
 8555:   ppc = (char**) pcpcc;
 8556:   pcpcc = (char const *const *) ppc;
 8557:   { /* SCO 3.2v4 cc rejects this.  */
 8558:     char *t;
 8559:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8560: 
 8561:     *t++ = 0;
 8562:     if (s) return 0;
 8563:   }
 8564:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8565:     int x[] = {25, 17};
 8566:     const int *foo = &x[0];
 8567:     ++foo;
 8568:   }
 8569:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 8570:     typedef const int *iptr;
 8571:     iptr p = 0;
 8572:     ++p;
 8573:   }
 8574:   { /* AIX XL C 1.02.0.0 rejects this saying
 8575:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 8576:     struct s { int j; const int *ap[3]; };
 8577:     struct s *b; b->j = 5;
 8578:   }
 8579:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 8580:     const int foo = 10;
 8581:     if (!foo) return 0;
 8582:   }
 8583:   return !cs[0] && !zero.x;
 8584: #endif
 8585: 
 8586:   ;
 8587:   return 0;
 8588: }
 8589: _ACEOF
 8590: if ac_fn_c_try_compile "$LINENO"; then :
 8591:   ac_cv_c_const=yes
 8592: else
 8593:   ac_cv_c_const=no
 8594: fi
 8595: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8596: fi
 8597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 8598: $as_echo "$ac_cv_c_const" >&6; }
 8599: if test $ac_cv_c_const = no; then
 8600: 
 8601: $as_echo "#define const /**/" >>confdefs.h
 8602: 
 8603: fi
 8604: 
 8605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 8606: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 8607: if test "${ac_cv_type_uid_t+set}" = set; then :
 8608:   $as_echo_n "(cached) " >&6
 8609: else
 8610:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8611: /* end confdefs.h.  */
 8612: #include <sys/types.h>
 8613: 
 8614: _ACEOF
 8615: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8616:   $EGREP "uid_t" >/dev/null 2>&1; then :
 8617:   ac_cv_type_uid_t=yes
 8618: else
 8619:   ac_cv_type_uid_t=no
 8620: fi
 8621: rm -f conftest*
 8622: 
 8623: fi
 8624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 8625: $as_echo "$ac_cv_type_uid_t" >&6; }
 8626: if test $ac_cv_type_uid_t = no; then
 8627: 
 8628: $as_echo "#define uid_t int" >>confdefs.h
 8629: 
 8630: 
 8631: $as_echo "#define gid_t int" >>confdefs.h
 8632: 
 8633: fi
 8634: 
 8635: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 8636: if test "x$ac_cv_type_pid_t" = x""yes; then :
 8637: 
 8638: else
 8639: 
 8640: cat >>confdefs.h <<_ACEOF
 8641: #define pid_t int
 8642: _ACEOF
 8643: 
 8644: fi
 8645: 
 8646: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 8647: if test "x$ac_cv_type_size_t" = x""yes; then :
 8648: 
 8649: else
 8650: 
 8651: cat >>confdefs.h <<_ACEOF
 8652: #define size_t unsigned int
 8653: _ACEOF
 8654: 
 8655: fi
 8656: 
 8657: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 8658: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 8659: if test "${ac_cv_header_time+set}" = set; then :
 8660:   $as_echo_n "(cached) " >&6
 8661: else
 8662:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8663: /* end confdefs.h.  */
 8664: #include <sys/types.h>
 8665: #include <sys/time.h>
 8666: #include <time.h>
 8667: 
 8668: int
 8669: main ()
 8670: {
 8671: if ((struct tm *) 0)
 8672: return 0;
 8673:   ;
 8674:   return 0;
 8675: }
 8676: _ACEOF
 8677: if ac_fn_c_try_compile "$LINENO"; then :
 8678:   ac_cv_header_time=yes
 8679: else
 8680:   ac_cv_header_time=no
 8681: fi
 8682: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8683: fi
 8684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 8685: $as_echo "$ac_cv_header_time" >&6; }
 8686: if test $ac_cv_header_time = yes; then
 8687: 
 8688: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 8689: 
 8690: fi
 8691: 
 8692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 8693: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 8694: if test "${ac_cv_struct_tm+set}" = set; then :
 8695:   $as_echo_n "(cached) " >&6
 8696: else
 8697:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8698: /* end confdefs.h.  */
 8699: #include <sys/types.h>
 8700: #include <time.h>
 8701: 
 8702: int
 8703: main ()
 8704: {
 8705: struct tm tm;
 8706:                      int *p = &tm.tm_sec;
 8707:                      return !p;
 8708:   ;
 8709:   return 0;
 8710: }
 8711: _ACEOF
 8712: if ac_fn_c_try_compile "$LINENO"; then :
 8713:   ac_cv_struct_tm=time.h
 8714: else
 8715:   ac_cv_struct_tm=sys/time.h
 8716: fi
 8717: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8718: fi
 8719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 8720: $as_echo "$ac_cv_struct_tm" >&6; }
 8721: if test $ac_cv_struct_tm = sys/time.h; then
 8722: 
 8723: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 8724: 
 8725: fi
 8726: 
 8727: 
 8728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 8729: $as_echo_n "checking return type of signal handlers... " >&6; }
 8730: if test "${ac_cv_type_signal+set}" = set; then :
 8731:   $as_echo_n "(cached) " >&6
 8732: else
 8733:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8734: /* end confdefs.h.  */
 8735: #include <sys/types.h>
 8736: #include <signal.h>
 8737: 
 8738: int
 8739: main ()
 8740: {
 8741: return *(signal (0, 0)) (0) == 1;
 8742:   ;
 8743:   return 0;
 8744: }
 8745: _ACEOF
 8746: if ac_fn_c_try_compile "$LINENO"; then :
 8747:   ac_cv_type_signal=int
 8748: else
 8749:   ac_cv_type_signal=void
 8750: fi
 8751: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8752: fi
 8753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 8754: $as_echo "$ac_cv_type_signal" >&6; }
 8755: 
 8756: cat >>confdefs.h <<_ACEOF
 8757: #define RETSIGTYPE $ac_cv_type_signal
 8758: _ACEOF
 8759: 
 8760: 
 8761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 8762: $as_echo_n "checking for working strcoll... " >&6; }
 8763: if test "${ac_cv_func_strcoll_works+set}" = set; then :
 8764:   $as_echo_n "(cached) " >&6
 8765: else
 8766:   if test "$cross_compiling" = yes; then :
 8767:   ac_cv_func_strcoll_works=no
 8768: else
 8769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8770: /* end confdefs.h.  */
 8771: $ac_includes_default
 8772: int
 8773: main ()
 8774: {
 8775: return (strcoll ("abc", "def") >= 0 ||
 8776:      strcoll ("ABC", "DEF") >= 0 ||
 8777:      strcoll ("123", "456") >= 0)
 8778:   ;
 8779:   return 0;
 8780: }
 8781: _ACEOF
 8782: if ac_fn_c_try_run "$LINENO"; then :
 8783:   ac_cv_func_strcoll_works=yes
 8784: else
 8785:   ac_cv_func_strcoll_works=no
 8786: fi
 8787: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8788:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8789: fi
 8790: 
 8791: fi
 8792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 8793: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 8794: if test $ac_cv_func_strcoll_works = yes; then
 8795: 
 8796: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 8797: 
 8798: fi
 8799: 
 8800: for ac_func in strftime
 8801: do :
 8802:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 8803: if test "x$ac_cv_func_strftime" = x""yes; then :
 8804:   cat >>confdefs.h <<_ACEOF
 8805: #define HAVE_STRFTIME 1
 8806: _ACEOF
 8807: 
 8808: else
 8809:   # strftime is in -lintl on SCO UNIX.
 8810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 8811: $as_echo_n "checking for strftime in -lintl... " >&6; }
 8812: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 8813:   $as_echo_n "(cached) " >&6
 8814: else
 8815:   ac_check_lib_save_LIBS=$LIBS
 8816: LIBS="-lintl  $LIBS"
 8817: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8818: /* end confdefs.h.  */
 8819: 
 8820: /* Override any GCC internal prototype to avoid an error.
 8821:    Use char because int might match the return type of a GCC
 8822:    builtin and then its argument prototype would still apply.  */
 8823: #ifdef __cplusplus
 8824: extern "C"
 8825: #endif
 8826: char strftime ();
 8827: int
 8828: main ()
 8829: {
 8830: return strftime ();
 8831:   ;
 8832:   return 0;
 8833: }
 8834: _ACEOF
 8835: if ac_fn_c_try_link "$LINENO"; then :
 8836:   ac_cv_lib_intl_strftime=yes
 8837: else
 8838:   ac_cv_lib_intl_strftime=no
 8839: fi
 8840: rm -f core conftest.err conftest.$ac_objext \
 8841:     conftest$ac_exeext conftest.$ac_ext
 8842: LIBS=$ac_check_lib_save_LIBS
 8843: fi
 8844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 8845: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 8846: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 8847:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 8848: 
 8849: LIBS="-lintl $LIBS"
 8850: fi
 8851: 
 8852: fi
 8853: done
 8854: 
 8855: for ac_func in vprintf
 8856: do :
 8857:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 8858: if test "x$ac_cv_func_vprintf" = x""yes; then :
 8859:   cat >>confdefs.h <<_ACEOF
 8860: #define HAVE_VPRINTF 1
 8861: _ACEOF
 8862: 
 8863: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 8864: if test "x$ac_cv_func__doprnt" = x""yes; then :
 8865: 
 8866: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 8867: 
 8868: fi
 8869: 
 8870: fi
 8871: done
 8872: 
 8873: 
 8874: for ac_func in ftime getcwd putenv select strcspn strdup \
 8875:         strerror strspn strstr strtod
 8876: do :
 8877:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 8878: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 8879: eval as_val=\$$as_ac_var
 8880:    if test "x$as_val" = x""yes; then :
 8881:   cat >>confdefs.h <<_ACEOF
 8882: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 8883: _ACEOF
 8884: 
 8885: fi
 8886: done
 8887: 
 8888: 
 8889: 
 8890: 
 8891: subdirs="$subdirs tools/$NCURSES"
 8892: 
 8893: subdirs="$subdirs tools/$READLINE"
 8894: 
 8895: subdirs="$subdirs tools/$GSL"
 8896: 
 8897: subdirs="$subdirs tools/$GPP"
 8898: 
 8899: subdirs="$subdirs tools/$FILE"
 8900: 
 8901: subdirs="$subdirs tools/$ICONV"
 8902: 
 8903: subdirs="$subdirs tools/$SQLITE"
 8904: 
 8905: subdirs="$subdirs tools/$UNITS"
 8906: 
 8907: 
 8908: 
 8909: # Check whether --with-openssl_arch was given.
 8910: if test "${with_openssl_arch+set}" = set; then :
 8911:   withval=$with_openssl_arch;
 8912: else
 8913:   with_openssl_arch=none
 8914: fi
 8915: 
 8916: 
 8917: if test $(uname) = "OS/2"; then
 8918:     (cd tools/$OPENSSL && os2/OS2-EMX.cmd)
 8919: else
 8920:     if test "x$with_openssl_arch" = xnone; then
 8921:         (cd tools/$OPENSSL && ./config)
 8922:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 8923:         (cd tools/$OPENSSL && ./Configure)
 8924:         as_fn_error "OS/COMP informations are required!" "$LINENO" 5
 8925:     elif test "x$with_openssl_arch" = xlist; then
 8926:         (cd tools/$OPENSSL && ./Configure)
 8927:         as_fn_error "Please specify OS and Architecture" "$LINENO" 5
 8928:     else
 8929:         (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
 8930:     fi
 8931: fi
 8932: 
 8933: if test "$MYGNUPLOT" = "yes"; then
 8934:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 8935:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 8936:                 (cd "$srcdir/tools" && tar -xf -)
 8937:     fi
 8938:     subdirs="$subdirs tools/$GNUPLOT"
 8939: 
 8940:     GNUPLOT_COMPILATION=$GNUPLOT
 8941: else
 8942:     GNUPLOT_COMPILATION=
 8943: fi
 8944: 
 8945: 
 8946: 
 8947: case $host_cpu in
 8948: 
 8949:     i?86)
 8950:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 8951:             -Wno-pointer-sign"
 8952:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 8953:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 8954:     break ;;
 8955: 
 8956:     x86_64*)
 8957:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 8958:             -Wno-pointer-sign"
 8959:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 8960:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 8961:     break ;;
 8962: 
 8963:     alpha*)
 8964:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
 8965:             -Wno-pointer-sign"
 8966:     FFLAGS="$FFLAGS -mieee -Wall"
 8967:     FCFLAGS="$FCFLAGS -mieee -Wall"
 8968:     break ;;
 8969: 
 8970:     sparc*)
 8971:     CFLAGS="$CFLAGS -Wall -funsigned-char \
 8972:             -Wno-pointer-sign"
 8973:     FFLAGS="$FFLAGS -Wall"
 8974:     FCFLAGS="$FCFLAGS -Wall"
 8975:     break ;;
 8976: 
 8977: esac
 8978: 
 8979: case $host_os in
 8980: 
 8981:     cygwin*)
 8982:         OS=Cygwin
 8983:     break ;;
 8984: 
 8985:     interix*)
 8986:         OS=Interix
 8987:     break ;;
 8988: 
 8989:     *)
 8990:         OS=$(uname)
 8991:     break ;;
 8992: 
 8993: esac
 8994: 
 8995: 
 8996: 
 8997: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 8998: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 8999: 
 9000: case $OS in
 9001: 
 9002:     Darwin)
 9003:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9004:         NESTED_FUNCTIONS=-fnested-functions
 9005:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9006:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9007:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9008:                 --disable-shared --enable-static"
 9009:     break ;;
 9010: 
 9011:     Cygwin)
 9012:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9013:         NESTED_FUNCTIONS=
 9014:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9015:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9016:                 --disable-shared --enable-static"
 9017:     break ;;
 9018: 
 9019:     AIX)
 9020:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9021:         NESTED_FUNCTIONS=
 9022:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9023:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9024:                 --disable-shared --enable-static"
 9025:     break ;;
 9026: 
 9027:     OS/2)
 9028:         MALLOC=
 9029:         OS=OS2
 9030:         FINAL_ENCODING=UTF-8
 9031:         NESTED_FUNCTIONS=
 9032:         EXPORT_DYNAMIC=-Zmap
 9033:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9034:         ac_configure_args="$ac_configure_args --without-readline \
 9035:                 --without-cairo --disable-shared --enable-static"
 9036:     break;;
 9037: 
 9038:     *)
 9039:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9040:         NESTED_FUNCTIONS=
 9041:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9042:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9043:                 --disable-shared --enable-static"
 9044:     break ;;
 9045: 
 9046: esac
 9047: 
 9048: 
 9049: 
 9050: 
 9051: 
 9052: 
 9053: 
 9054: 
 9055: 
 9056: 
 9057: 
 9058: 
 9059: 
 9060: 
 9061: 
 9062: 
 9063: 
 9064: 
 9065: 
 9066: 
 9067: 
 9068: 
 9069: 
 9070: 
 9071: 
 9072: 
 9073: ac_config_files="$ac_config_files Makefile"
 9074: 
 9075: ac_config_files="$ac_config_files COPYING"
 9076: 
 9077: ac_config_files="$ac_config_files tools/Makefile"
 9078: 
 9079: ac_config_files="$ac_config_files src/Makefile"
 9080: 
 9081: ac_config_files="$ac_config_files man/Makefile"
 9082: 
 9083: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9084: 
 9085: ac_config_files="$ac_config_files doc/Makefile"
 9086: 
 9087: ac_config_files="$ac_config_files scripts/Makefile"
 9088: 
 9089: ac_config_files="$ac_config_files scripts/mkrplso"
 9090: 
 9091: ac_config_files="$ac_config_files scripts/rplcc"
 9092: 
 9093: ac_config_files="$ac_config_files scripts/rpllink"
 9094: 
 9095: ac_config_files="$ac_config_files rpltags/Makefile"
 9096: 
 9097: ac_config_files="$ac_config_files rpliconv/Makefile"
 9098: 
 9099: ac_config_files="$ac_config_files rplsums/Makefile"
 9100: 
 9101: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9102: 
 9103: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9104: 
 9105: ac_config_files="$ac_config_files ptmalloc3/Makefile"
 9106: 
 9107: 
 9108: ac_config_files="$ac_config_files man/rpl.1"
 9109: 
 9110: ac_config_files="$ac_config_files man/rplcc.1"
 9111: 
 9112: ac_config_files="$ac_config_files man/rpllink.1"
 9113: 
 9114: ac_config_files="$ac_config_files man/rpltags.1"
 9115: 
 9116: ac_config_files="$ac_config_files man/mkrplso.1"
 9117: 
 9118: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9119: 
 9120: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9121: 
 9122: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9123: 
 9124: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9125: 
 9126: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9127: 
 9128: 
 9129: cat >confcache <<\_ACEOF
 9130: # This file is a shell script that caches the results of configure
 9131: # tests run on this system so they can be shared between configure
 9132: # scripts and configure runs, see configure's option --config-cache.
 9133: # It is not useful on other systems.  If it contains results you don't
 9134: # want to keep, you may remove or edit it.
 9135: #
 9136: # config.status only pays attention to the cache file if you give it
 9137: # the --recheck option to rerun configure.
 9138: #
 9139: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9140: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9141: # following values.
 9142: 
 9143: _ACEOF
 9144: 
 9145: # The following way of writing the cache mishandles newlines in values,
 9146: # but we know of no workaround that is simple, portable, and efficient.
 9147: # So, we kill variables containing newlines.
 9148: # Ultrix sh set writes to stderr and can't be redirected directly,
 9149: # and sets the high bit in the cache file unless we assign to the vars.
 9150: (
 9151:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9152:     eval ac_val=\$$ac_var
 9153:     case $ac_val in #(
 9154:     *${as_nl}*)
 9155:       case $ac_var in #(
 9156:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9157: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9158:       esac
 9159:       case $ac_var in #(
 9160:       _ | IFS | as_nl) ;; #(
 9161:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9162:       *) { eval $ac_var=; unset $ac_var;} ;;
 9163:       esac ;;
 9164:     esac
 9165:   done
 9166: 
 9167:   (set) 2>&1 |
 9168:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9169:     *${as_nl}ac_space=\ *)
 9170:       # `set' does not quote correctly, so add quotes: double-quote
 9171:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9172:       sed -n \
 9173:     "s/'/'\\\\''/g;
 9174:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9175:       ;; #(
 9176:     *)
 9177:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9178:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9179:       ;;
 9180:     esac |
 9181:     sort
 9182: ) |
 9183:   sed '
 9184:      /^ac_cv_env_/b end
 9185:      t clear
 9186:      :clear
 9187:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9188:      t end
 9189:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9190:      :end' >>confcache
 9191: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9192:   if test -w "$cache_file"; then
 9193:     test "x$cache_file" != "x/dev/null" &&
 9194:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9195: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9196:     cat confcache >$cache_file
 9197:   else
 9198:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9199: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9200:   fi
 9201: fi
 9202: rm -f confcache
 9203: 
 9204: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9205: # Let make expand exec_prefix.
 9206: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9207: 
 9208: DEFS=-DHAVE_CONFIG_H
 9209: 
 9210: ac_libobjs=
 9211: ac_ltlibobjs=
 9212: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9213:   # 1. Remove the extension, and $U if already installed.
 9214:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9215:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9216:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9217:   #    will be set to the directory where LIBOBJS objects are built.
 9218:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9219:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9220: done
 9221: LIBOBJS=$ac_libobjs
 9222: 
 9223: LTLIBOBJS=$ac_ltlibobjs
 9224: 
 9225: 
 9226:  if test -n "$EXEEXT"; then
 9227:   am__EXEEXT_TRUE=
 9228:   am__EXEEXT_FALSE='#'
 9229: else
 9230:   am__EXEEXT_TRUE='#'
 9231:   am__EXEEXT_FALSE=
 9232: fi
 9233: 
 9234: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9235:   as_fn_error "conditional \"AMDEP\" was never defined.
 9236: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9237: fi
 9238: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9239:   as_fn_error "conditional \"am__fastdepCC\" was never defined.
 9240: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9241: fi
 9242: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9243:   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 9244: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9245: fi
 9246: 
 9247: : ${CONFIG_STATUS=./config.status}
 9248: ac_write_fail=0
 9249: ac_clean_files_save=$ac_clean_files
 9250: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9251: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9252: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9253: as_write_fail=0
 9254: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9255: #! $SHELL
 9256: # Generated by $as_me.
 9257: # Run this file to recreate the current configuration.
 9258: # Compiler output produced by configure, useful for debugging
 9259: # configure, is in config.log if it exists.
 9260: 
 9261: debug=false
 9262: ac_cs_recheck=false
 9263: ac_cs_silent=false
 9264: 
 9265: SHELL=\${CONFIG_SHELL-$SHELL}
 9266: export SHELL
 9267: _ASEOF
 9268: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9269: ## -------------------- ##
 9270: ## M4sh Initialization. ##
 9271: ## -------------------- ##
 9272: 
 9273: # Be more Bourne compatible
 9274: DUALCASE=1; export DUALCASE # for MKS sh
 9275: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9276:   emulate sh
 9277:   NULLCMD=:
 9278:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9279:   # is contrary to our usage.  Disable this feature.
 9280:   alias -g '${1+"$@"}'='"$@"'
 9281:   setopt NO_GLOB_SUBST
 9282: else
 9283:   case `(set -o) 2>/dev/null` in #(
 9284:   *posix*) :
 9285:     set -o posix ;; #(
 9286:   *) :
 9287:      ;;
 9288: esac
 9289: fi
 9290: 
 9291: 
 9292: as_nl='
 9293: '
 9294: export as_nl
 9295: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9296: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9297: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9298: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9299: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9300: # but without wasting forks for bash or zsh.
 9301: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9302:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9303:   as_echo='print -r --'
 9304:   as_echo_n='print -rn --'
 9305: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9306:   as_echo='printf %s\n'
 9307:   as_echo_n='printf %s'
 9308: else
 9309:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9310:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9311:     as_echo_n='/usr/ucb/echo -n'
 9312:   else
 9313:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9314:     as_echo_n_body='eval
 9315:       arg=$1;
 9316:       case $arg in #(
 9317:       *"$as_nl"*)
 9318:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9319:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9320:       esac;
 9321:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9322:     '
 9323:     export as_echo_n_body
 9324:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9325:   fi
 9326:   export as_echo_body
 9327:   as_echo='sh -c $as_echo_body as_echo'
 9328: fi
 9329: 
 9330: # The user is always right.
 9331: if test "${PATH_SEPARATOR+set}" != set; then
 9332:   PATH_SEPARATOR=:
 9333:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9334:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9335:       PATH_SEPARATOR=';'
 9336:   }
 9337: fi
 9338: 
 9339: 
 9340: # IFS
 9341: # We need space, tab and new line, in precisely that order.  Quoting is
 9342: # there to prevent editors from complaining about space-tab.
 9343: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9344: # splitting by setting IFS to empty value.)
 9345: IFS=" ""    $as_nl"
 9346: 
 9347: # Find who we are.  Look in the path if we contain no directory separator.
 9348: case $0 in #((
 9349:   *[\\/]* ) as_myself=$0 ;;
 9350:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9351: for as_dir in $PATH
 9352: do
 9353:   IFS=$as_save_IFS
 9354:   test -z "$as_dir" && as_dir=.
 9355:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9356:   done
 9357: IFS=$as_save_IFS
 9358: 
 9359:      ;;
 9360: esac
 9361: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9362: # in which case we are not to be found in the path.
 9363: if test "x$as_myself" = x; then
 9364:   as_myself=$0
 9365: fi
 9366: if test ! -f "$as_myself"; then
 9367:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9368:   exit 1
 9369: fi
 9370: 
 9371: # Unset variables that we do not need and which cause bugs (e.g. in
 9372: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9373: # suppresses any "Segmentation fault" message there.  '((' could
 9374: # trigger a bug in pdksh 5.2.14.
 9375: for as_var in BASH_ENV ENV MAIL MAILPATH
 9376: do eval test x\${$as_var+set} = xset \
 9377:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9378: done
 9379: PS1='$ '
 9380: PS2='> '
 9381: PS4='+ '
 9382: 
 9383: # NLS nuisances.
 9384: LC_ALL=C
 9385: export LC_ALL
 9386: LANGUAGE=C
 9387: export LANGUAGE
 9388: 
 9389: # CDPATH.
 9390: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9391: 
 9392: 
 9393: # as_fn_error ERROR [LINENO LOG_FD]
 9394: # ---------------------------------
 9395: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9396: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9397: # script with status $?, using 1 if that was 0.
 9398: as_fn_error ()
 9399: {
 9400:   as_status=$?; test $as_status -eq 0 && as_status=1
 9401:   if test "$3"; then
 9402:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 9403:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 9404:   fi
 9405:   $as_echo "$as_me: error: $1" >&2
 9406:   as_fn_exit $as_status
 9407: } # as_fn_error
 9408: 
 9409: 
 9410: # as_fn_set_status STATUS
 9411: # -----------------------
 9412: # Set $? to STATUS, without forking.
 9413: as_fn_set_status ()
 9414: {
 9415:   return $1
 9416: } # as_fn_set_status
 9417: 
 9418: # as_fn_exit STATUS
 9419: # -----------------
 9420: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 9421: as_fn_exit ()
 9422: {
 9423:   set +e
 9424:   as_fn_set_status $1
 9425:   exit $1
 9426: } # as_fn_exit
 9427: 
 9428: # as_fn_unset VAR
 9429: # ---------------
 9430: # Portably unset VAR.
 9431: as_fn_unset ()
 9432: {
 9433:   { eval $1=; unset $1;}
 9434: }
 9435: as_unset=as_fn_unset
 9436: # as_fn_append VAR VALUE
 9437: # ----------------------
 9438: # Append the text in VALUE to the end of the definition contained in VAR. Take
 9439: # advantage of any shell optimizations that allow amortized linear growth over
 9440: # repeated appends, instead of the typical quadratic growth present in naive
 9441: # implementations.
 9442: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 9443:   eval 'as_fn_append ()
 9444:   {
 9445:     eval $1+=\$2
 9446:   }'
 9447: else
 9448:   as_fn_append ()
 9449:   {
 9450:     eval $1=\$$1\$2
 9451:   }
 9452: fi # as_fn_append
 9453: 
 9454: # as_fn_arith ARG...
 9455: # ------------------
 9456: # Perform arithmetic evaluation on the ARGs, and store the result in the
 9457: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 9458: # must be portable across $(()) and expr.
 9459: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 9460:   eval 'as_fn_arith ()
 9461:   {
 9462:     as_val=$(( $* ))
 9463:   }'
 9464: else
 9465:   as_fn_arith ()
 9466:   {
 9467:     as_val=`expr "$@" || test $? -eq 1`
 9468:   }
 9469: fi # as_fn_arith
 9470: 
 9471: 
 9472: if expr a : '\(a\)' >/dev/null 2>&1 &&
 9473:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 9474:   as_expr=expr
 9475: else
 9476:   as_expr=false
 9477: fi
 9478: 
 9479: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 9480:   as_basename=basename
 9481: else
 9482:   as_basename=false
 9483: fi
 9484: 
 9485: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 9486:   as_dirname=dirname
 9487: else
 9488:   as_dirname=false
 9489: fi
 9490: 
 9491: as_me=`$as_basename -- "$0" ||
 9492: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 9493:      X"$0" : 'X\(//\)$' \| \
 9494:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 9495: $as_echo X/"$0" |
 9496:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 9497:         s//\1/
 9498:         q
 9499:       }
 9500:       /^X\/\(\/\/\)$/{
 9501:         s//\1/
 9502:         q
 9503:       }
 9504:       /^X\/\(\/\).*/{
 9505:         s//\1/
 9506:         q
 9507:       }
 9508:       s/.*/./; q'`
 9509: 
 9510: # Avoid depending upon Character Ranges.
 9511: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 9512: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 9513: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 9514: as_cr_digits='0123456789'
 9515: as_cr_alnum=$as_cr_Letters$as_cr_digits
 9516: 
 9517: ECHO_C= ECHO_N= ECHO_T=
 9518: case `echo -n x` in #(((((
 9519: -n*)
 9520:   case `echo 'xy\c'` in
 9521:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 9522:   xy)  ECHO_C='\c';;
 9523:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 9524:        ECHO_T=' ';;
 9525:   esac;;
 9526: *)
 9527:   ECHO_N='-n';;
 9528: esac
 9529: 
 9530: rm -f conf$$ conf$$.exe conf$$.file
 9531: if test -d conf$$.dir; then
 9532:   rm -f conf$$.dir/conf$$.file
 9533: else
 9534:   rm -f conf$$.dir
 9535:   mkdir conf$$.dir 2>/dev/null
 9536: fi
 9537: if (echo >conf$$.file) 2>/dev/null; then
 9538:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 9539:     as_ln_s='ln -s'
 9540:     # ... but there are two gotchas:
 9541:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 9542:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 9543:     # In both cases, we have to default to `cp -p'.
 9544:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 9545:       as_ln_s='cp -p'
 9546:   elif ln conf$$.file conf$$ 2>/dev/null; then
 9547:     as_ln_s=ln
 9548:   else
 9549:     as_ln_s='cp -p'
 9550:   fi
 9551: else
 9552:   as_ln_s='cp -p'
 9553: fi
 9554: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 9555: rmdir conf$$.dir 2>/dev/null
 9556: 
 9557: 
 9558: # as_fn_mkdir_p
 9559: # -------------
 9560: # Create "$as_dir" as a directory, including parents if necessary.
 9561: as_fn_mkdir_p ()
 9562: {
 9563: 
 9564:   case $as_dir in #(
 9565:   -*) as_dir=./$as_dir;;
 9566:   esac
 9567:   test -d "$as_dir" || eval $as_mkdir_p || {
 9568:     as_dirs=
 9569:     while :; do
 9570:       case $as_dir in #(
 9571:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 9572:       *) as_qdir=$as_dir;;
 9573:       esac
 9574:       as_dirs="'$as_qdir' $as_dirs"
 9575:       as_dir=`$as_dirname -- "$as_dir" ||
 9576: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 9577:      X"$as_dir" : 'X\(//\)[^/]' \| \
 9578:      X"$as_dir" : 'X\(//\)$' \| \
 9579:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 9580: $as_echo X"$as_dir" |
 9581:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 9582:         s//\1/
 9583:         q
 9584:       }
 9585:       /^X\(\/\/\)[^/].*/{
 9586:         s//\1/
 9587:         q
 9588:       }
 9589:       /^X\(\/\/\)$/{
 9590:         s//\1/
 9591:         q
 9592:       }
 9593:       /^X\(\/\).*/{
 9594:         s//\1/
 9595:         q
 9596:       }
 9597:       s/.*/./; q'`
 9598:       test -d "$as_dir" && break
 9599:     done
 9600:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 9601:   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 9602: 
 9603: 
 9604: } # as_fn_mkdir_p
 9605: if mkdir -p . 2>/dev/null; then
 9606:   as_mkdir_p='mkdir -p "$as_dir"'
 9607: else
 9608:   test -d ./-p && rmdir ./-p
 9609:   as_mkdir_p=false
 9610: fi
 9611: 
 9612: if test -x / >/dev/null 2>&1; then
 9613:   as_test_x='test -x'
 9614: else
 9615:   if ls -dL / >/dev/null 2>&1; then
 9616:     as_ls_L_option=L
 9617:   else
 9618:     as_ls_L_option=
 9619:   fi
 9620:   as_test_x='
 9621:     eval sh -c '\''
 9622:       if test -d "$1"; then
 9623:     test -d "$1/.";
 9624:       else
 9625:     case $1 in #(
 9626:     -*)set "./$1";;
 9627:     esac;
 9628:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 9629:     ???[sx]*):;;*)false;;esac;fi
 9630:     '\'' sh
 9631:   '
 9632: fi
 9633: as_executable_p=$as_test_x
 9634: 
 9635: # Sed expression to map a string onto a valid CPP name.
 9636: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 9637: 
 9638: # Sed expression to map a string onto a valid variable name.
 9639: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 9640: 
 9641: 
 9642: exec 6>&1
 9643: ## ----------------------------------- ##
 9644: ## Main body of $CONFIG_STATUS script. ##
 9645: ## ----------------------------------- ##
 9646: _ASEOF
 9647: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 9648: 
 9649: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9650: # Save the log message, to keep $0 and so on meaningful, and to
 9651: # report actual input values of CONFIG_FILES etc. instead of their
 9652: # values after options handling.
 9653: ac_log="
 9654: This file was extended by rpl $as_me 4.0.18, which was
 9655: generated by GNU Autoconf 2.65.  Invocation command line was
 9656: 
 9657:   CONFIG_FILES    = $CONFIG_FILES
 9658:   CONFIG_HEADERS  = $CONFIG_HEADERS
 9659:   CONFIG_LINKS    = $CONFIG_LINKS
 9660:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 9661:   $ $0 $@
 9662: 
 9663: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 9664: "
 9665: 
 9666: _ACEOF
 9667: 
 9668: case $ac_config_files in *"
 9669: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 9670: esac
 9671: 
 9672: case $ac_config_headers in *"
 9673: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 9674: esac
 9675: 
 9676: 
 9677: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9678: # Files that config.status was made for.
 9679: config_files="$ac_config_files"
 9680: config_headers="$ac_config_headers"
 9681: config_commands="$ac_config_commands"
 9682: 
 9683: _ACEOF
 9684: 
 9685: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9686: ac_cs_usage="\
 9687: \`$as_me' instantiates files and other configuration actions
 9688: from templates according to the current configuration.  Unless the files
 9689: and actions are specified as TAGs, all are instantiated by default.
 9690: 
 9691: Usage: $0 [OPTION]... [TAG]...
 9692: 
 9693:   -h, --help       print this help, then exit
 9694:   -V, --version    print version number and configuration settings, then exit
 9695:       --config     print configuration, then exit
 9696:   -q, --quiet, --silent
 9697:                    do not print progress messages
 9698:   -d, --debug      don't remove temporary files
 9699:       --recheck    update $as_me by reconfiguring in the same conditions
 9700:       --file=FILE[:TEMPLATE]
 9701:                    instantiate the configuration file FILE
 9702:       --header=FILE[:TEMPLATE]
 9703:                    instantiate the configuration header FILE
 9704: 
 9705: Configuration files:
 9706: $config_files
 9707: 
 9708: Configuration headers:
 9709: $config_headers
 9710: 
 9711: Configuration commands:
 9712: $config_commands
 9713: 
 9714: Report bugs to the package provider."
 9715: 
 9716: _ACEOF
 9717: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9718: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 9719: ac_cs_version="\\
 9720: rpl config.status 4.0.18
 9721: configured by $0, generated by GNU Autoconf 2.65,
 9722:   with options \\"\$ac_cs_config\\"
 9723: 
 9724: Copyright (C) 2009 Free Software Foundation, Inc.
 9725: This config.status script is free software; the Free Software Foundation
 9726: gives unlimited permission to copy, distribute and modify it."
 9727: 
 9728: ac_pwd='$ac_pwd'
 9729: srcdir='$srcdir'
 9730: INSTALL='$INSTALL'
 9731: MKDIR_P='$MKDIR_P'
 9732: AWK='$AWK'
 9733: test -n "\$AWK" || AWK=awk
 9734: _ACEOF
 9735: 
 9736: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9737: # The default lists apply if the user does not specify any file.
 9738: ac_need_defaults=:
 9739: while test $# != 0
 9740: do
 9741:   case $1 in
 9742:   --*=*)
 9743:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 9744:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 9745:     ac_shift=:
 9746:     ;;
 9747:   *)
 9748:     ac_option=$1
 9749:     ac_optarg=$2
 9750:     ac_shift=shift
 9751:     ;;
 9752:   esac
 9753: 
 9754:   case $ac_option in
 9755:   # Handling of the options.
 9756:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 9757:     ac_cs_recheck=: ;;
 9758:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 9759:     $as_echo "$ac_cs_version"; exit ;;
 9760:   --config | --confi | --conf | --con | --co | --c )
 9761:     $as_echo "$ac_cs_config"; exit ;;
 9762:   --debug | --debu | --deb | --de | --d | -d )
 9763:     debug=: ;;
 9764:   --file | --fil | --fi | --f )
 9765:     $ac_shift
 9766:     case $ac_optarg in
 9767:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 9768:     esac
 9769:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 9770:     ac_need_defaults=false;;
 9771:   --header | --heade | --head | --hea )
 9772:     $ac_shift
 9773:     case $ac_optarg in
 9774:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 9775:     esac
 9776:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 9777:     ac_need_defaults=false;;
 9778:   --he | --h)
 9779:     # Conflict between --help and --header
 9780:     as_fn_error "ambiguous option: \`$1'
 9781: Try \`$0 --help' for more information.";;
 9782:   --help | --hel | -h )
 9783:     $as_echo "$ac_cs_usage"; exit ;;
 9784:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 9785:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 9786:     ac_cs_silent=: ;;
 9787: 
 9788:   # This is an error.
 9789:   -*) as_fn_error "unrecognized option: \`$1'
 9790: Try \`$0 --help' for more information." ;;
 9791: 
 9792:   *) as_fn_append ac_config_targets " $1"
 9793:      ac_need_defaults=false ;;
 9794: 
 9795:   esac
 9796:   shift
 9797: done
 9798: 
 9799: ac_configure_extra_args=
 9800: 
 9801: if $ac_cs_silent; then
 9802:   exec 6>/dev/null
 9803:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 9804: fi
 9805: 
 9806: _ACEOF
 9807: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9808: if \$ac_cs_recheck; then
 9809:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 9810:   shift
 9811:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 9812:   CONFIG_SHELL='$SHELL'
 9813:   export CONFIG_SHELL
 9814:   exec "\$@"
 9815: fi
 9816: 
 9817: _ACEOF
 9818: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9819: exec 5>>config.log
 9820: {
 9821:   echo
 9822:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 9823: ## Running $as_me. ##
 9824: _ASBOX
 9825:   $as_echo "$ac_log"
 9826: } >&5
 9827: 
 9828: _ACEOF
 9829: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9830: #
 9831: # INIT-COMMANDS
 9832: #
 9833: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 9834: 
 9835: _ACEOF
 9836: 
 9837: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9838: 
 9839: # Handling of arguments.
 9840: for ac_config_target in $ac_config_targets
 9841: do
 9842:   case $ac_config_target in
 9843:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
 9844:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 9845:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 9846:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
 9847:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 9848:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 9849:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 9850:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
 9851:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 9852:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
 9853:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
 9854:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
 9855:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
 9856:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
 9857:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
 9858:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
 9859:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
 9860:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
 9861:     "ptmalloc3/Makefile") CONFIG_FILES="$CONFIG_FILES ptmalloc3/Makefile" ;;
 9862:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
 9863:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
 9864:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
 9865:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
 9866:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
 9867:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
 9868:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
 9869:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
 9870:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
 9871:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
 9872: 
 9873:   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 9874:   esac
 9875: done
 9876: 
 9877: 
 9878: # If the user did not use the arguments to specify the items to instantiate,
 9879: # then the envvar interface is used.  Set only those that are not.
 9880: # We use the long form for the default assignment because of an extremely
 9881: # bizarre bug on SunOS 4.1.3.
 9882: if $ac_need_defaults; then
 9883:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 9884:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 9885:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 9886: fi
 9887: 
 9888: # Have a temporary directory for convenience.  Make it in the build tree
 9889: # simply because there is no reason against having it here, and in addition,
 9890: # creating and moving files from /tmp can sometimes cause problems.
 9891: # Hook for its removal unless debugging.
 9892: # Note that there is a small window in which the directory will not be cleaned:
 9893: # after its creation but before its name has been assigned to `$tmp'.
 9894: $debug ||
 9895: {
 9896:   tmp=
 9897:   trap 'exit_status=$?
 9898:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 9899: ' 0
 9900:   trap 'as_fn_exit 1' 1 2 13 15
 9901: }
 9902: # Create a (secure) tmp directory for tmp files.
 9903: 
 9904: {
 9905:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 9906:   test -n "$tmp" && test -d "$tmp"
 9907: }  ||
 9908: {
 9909:   tmp=./conf$$-$RANDOM
 9910:   (umask 077 && mkdir "$tmp")
 9911: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 9912: 
 9913: # Set up the scripts for CONFIG_FILES section.
 9914: # No need to generate them if there are no CONFIG_FILES.
 9915: # This happens for instance with `./config.status config.h'.
 9916: if test -n "$CONFIG_FILES"; then
 9917: 
 9918: 
 9919: ac_cr=`echo X | tr X '\015'`
 9920: # On cygwin, bash can eat \r inside `` if the user requested igncr.
 9921: # But we know of no other shell where ac_cr would be empty at this
 9922: # point, so we can use a bashism as a fallback.
 9923: if test "x$ac_cr" = x; then
 9924:   eval ac_cr=\$\'\\r\'
 9925: fi
 9926: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 9927: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 9928:   ac_cs_awk_cr='\r'
 9929: else
 9930:   ac_cs_awk_cr=$ac_cr
 9931: fi
 9932: 
 9933: echo 'BEGIN {' >"$tmp/subs1.awk" &&
 9934: _ACEOF
 9935: 
 9936: 
 9937: {
 9938:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 9939:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 9940:   echo "_ACEOF"
 9941: } >conf$$subs.sh ||
 9942:   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 9943: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 9944: ac_delim='%!_!# '
 9945: for ac_last_try in false false false false false :; do
 9946:   . ./conf$$subs.sh ||
 9947:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 9948: 
 9949:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 9950:   if test $ac_delim_n = $ac_delim_num; then
 9951:     break
 9952:   elif $ac_last_try; then
 9953:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 9954:   else
 9955:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 9956:   fi
 9957: done
 9958: rm -f conf$$subs.sh
 9959: 
 9960: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9961: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 9962: _ACEOF
 9963: sed -n '
 9964: h
 9965: s/^/S["/; s/!.*/"]=/
 9966: p
 9967: g
 9968: s/^[^!]*!//
 9969: :repl
 9970: t repl
 9971: s/'"$ac_delim"'$//
 9972: t delim
 9973: :nl
 9974: h
 9975: s/\(.\{148\}\)..*/\1/
 9976: t more1
 9977: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 9978: p
 9979: n
 9980: b repl
 9981: :more1
 9982: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 9983: p
 9984: g
 9985: s/.\{148\}//
 9986: t nl
 9987: :delim
 9988: h
 9989: s/\(.\{148\}\)..*/\1/
 9990: t more2
 9991: s/["\\]/\\&/g; s/^/"/; s/$/"/
 9992: p
 9993: b
 9994: :more2
 9995: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 9996: p
 9997: g
 9998: s/.\{148\}//
 9999: t delim
10000: ' <conf$$subs.awk | sed '
10001: /^[^""]/{
10002:   N
10003:   s/\n//
10004: }
10005: ' >>$CONFIG_STATUS || ac_write_fail=1
10006: rm -f conf$$subs.awk
10007: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10008: _ACAWK
10009: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10010:   for (key in S) S_is_set[key] = 1
10011:   FS = ""
10012: 
10013: }
10014: {
10015:   line = $ 0
10016:   nfields = split(line, field, "@")
10017:   substed = 0
10018:   len = length(field[1])
10019:   for (i = 2; i < nfields; i++) {
10020:     key = field[i]
10021:     keylen = length(key)
10022:     if (S_is_set[key]) {
10023:       value = S[key]
10024:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10025:       len += length(value) + length(field[++i])
10026:       substed = 1
10027:     } else
10028:       len += 1 + keylen
10029:   }
10030: 
10031:   print line
10032: }
10033: 
10034: _ACAWK
10035: _ACEOF
10036: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10037: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10038:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10039: else
10040:   cat
10041: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10042:   || as_fn_error "could not setup config files machinery" "$LINENO" 5
10043: _ACEOF
10044: 
10045: # VPATH may cause trouble with some makes, so we remove $(srcdir),
10046: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10047: # trailing colons and then remove the whole line if VPATH becomes empty
10048: # (actually we leave an empty line to preserve line numbers).
10049: if test "x$srcdir" = x.; then
10050:   ac_vpsub='/^[  ]*VPATH[    ]*=/{
10051: s/:*\$(srcdir):*/:/
10052: s/:*\${srcdir}:*/:/
10053: s/:*@srcdir@:*/:/
10054: s/^\([^=]*=[     ]*\):*/\1/
10055: s/:*$//
10056: s/^[^=]*=[   ]*$//
10057: }'
10058: fi
10059: 
10060: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10061: fi # test -n "$CONFIG_FILES"
10062: 
10063: # Set up the scripts for CONFIG_HEADERS section.
10064: # No need to generate them if there are no CONFIG_HEADERS.
10065: # This happens for instance with `./config.status Makefile'.
10066: if test -n "$CONFIG_HEADERS"; then
10067: cat >"$tmp/defines.awk" <<\_ACAWK ||
10068: BEGIN {
10069: _ACEOF
10070: 
10071: # Transform confdefs.h into an awk script `defines.awk', embedded as
10072: # here-document in config.status, that substitutes the proper values into
10073: # config.h.in to produce config.h.
10074: 
10075: # Create a delimiter string that does not exist in confdefs.h, to ease
10076: # handling of long lines.
10077: ac_delim='%!_!# '
10078: for ac_last_try in false false :; do
10079:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10080:   if test -z "$ac_t"; then
10081:     break
10082:   elif $ac_last_try; then
10083:     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10084:   else
10085:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10086:   fi
10087: done
10088: 
10089: # For the awk script, D is an array of macro values keyed by name,
10090: # likewise P contains macro parameters if any.  Preserve backslash
10091: # newline sequences.
10092: 
10093: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10094: sed -n '
10095: s/.\{148\}/&'"$ac_delim"'/g
10096: t rset
10097: :rset
10098: s/^[     ]*#[    ]*define[   ][  ]*/ /
10099: t def
10100: d
10101: :def
10102: s/\\$//
10103: t bsnl
10104: s/["\\]/\\&/g
10105: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10106: D["\1"]=" \3"/p
10107: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10108: d
10109: :bsnl
10110: s/["\\]/\\&/g
10111: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10112: D["\1"]=" \3\\\\\\n"\\/p
10113: t cont
10114: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10115: t cont
10116: d
10117: :cont
10118: n
10119: s/.\{148\}/&'"$ac_delim"'/g
10120: t clear
10121: :clear
10122: s/\\$//
10123: t bsnlc
10124: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10125: d
10126: :bsnlc
10127: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10128: b cont
10129: ' <confdefs.h | sed '
10130: s/'"$ac_delim"'/"\\\
10131: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10132: 
10133: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10134:   for (key in D) D_is_set[key] = 1
10135:   FS = ""
10136: }
10137: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10138:   line = \$ 0
10139:   split(line, arg, " ")
10140:   if (arg[1] == "#") {
10141:     defundef = arg[2]
10142:     mac1 = arg[3]
10143:   } else {
10144:     defundef = substr(arg[1], 2)
10145:     mac1 = arg[2]
10146:   }
10147:   split(mac1, mac2, "(") #)
10148:   macro = mac2[1]
10149:   prefix = substr(line, 1, index(line, defundef) - 1)
10150:   if (D_is_set[macro]) {
10151:     # Preserve the white space surrounding the "#".
10152:     print prefix "define", macro P[macro] D[macro]
10153:     next
10154:   } else {
10155:     # Replace #undef with comments.  This is necessary, for example,
10156:     # in the case of _POSIX_SOURCE, which is predefined and required
10157:     # on some systems where configure will not decide to define it.
10158:     if (defundef == "undef") {
10159:       print "/*", prefix defundef, macro, "*/"
10160:       next
10161:     }
10162:   }
10163: }
10164: { print }
10165: _ACAWK
10166: _ACEOF
10167: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10168:   as_fn_error "could not setup config headers machinery" "$LINENO" 5
10169: fi # test -n "$CONFIG_HEADERS"
10170: 
10171: 
10172: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10173: shift
10174: for ac_tag
10175: do
10176:   case $ac_tag in
10177:   :[FHLC]) ac_mode=$ac_tag; continue;;
10178:   esac
10179:   case $ac_mode$ac_tag in
10180:   :[FHL]*:*);;
10181:   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10182:   :[FH]-) ac_tag=-:-;;
10183:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10184:   esac
10185:   ac_save_IFS=$IFS
10186:   IFS=:
10187:   set x $ac_tag
10188:   IFS=$ac_save_IFS
10189:   shift
10190:   ac_file=$1
10191:   shift
10192: 
10193:   case $ac_mode in
10194:   :L) ac_source=$1;;
10195:   :[FH])
10196:     ac_file_inputs=
10197:     for ac_f
10198:     do
10199:       case $ac_f in
10200:       -) ac_f="$tmp/stdin";;
10201:       *) # Look for the file first in the build tree, then in the source tree
10202:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10203:      # because $ac_f cannot contain `:'.
10204:      test -f "$ac_f" ||
10205:        case $ac_f in
10206:        [\\/$]*) false;;
10207:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10208:        esac ||
10209:        as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10210:       esac
10211:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10212:       as_fn_append ac_file_inputs " '$ac_f'"
10213:     done
10214: 
10215:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10216:     # use $as_me), people would be surprised to read:
10217:     #    /* config.h.  Generated by config.status.  */
10218:     configure_input='Generated from '`
10219:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10220:     `' by configure.'
10221:     if test x"$ac_file" != x-; then
10222:       configure_input="$ac_file.  $configure_input"
10223:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10224: $as_echo "$as_me: creating $ac_file" >&6;}
10225:     fi
10226:     # Neutralize special characters interpreted by sed in replacement strings.
10227:     case $configure_input in #(
10228:     *\&* | *\|* | *\\* )
10229:        ac_sed_conf_input=`$as_echo "$configure_input" |
10230:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10231:     *) ac_sed_conf_input=$configure_input;;
10232:     esac
10233: 
10234:     case $ac_tag in
10235:     *:-:* | *:-) cat >"$tmp/stdin" \
10236:       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10237:     esac
10238:     ;;
10239:   esac
10240: 
10241:   ac_dir=`$as_dirname -- "$ac_file" ||
10242: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10243:      X"$ac_file" : 'X\(//\)[^/]' \| \
10244:      X"$ac_file" : 'X\(//\)$' \| \
10245:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10246: $as_echo X"$ac_file" |
10247:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10248:         s//\1/
10249:         q
10250:       }
10251:       /^X\(\/\/\)[^/].*/{
10252:         s//\1/
10253:         q
10254:       }
10255:       /^X\(\/\/\)$/{
10256:         s//\1/
10257:         q
10258:       }
10259:       /^X\(\/\).*/{
10260:         s//\1/
10261:         q
10262:       }
10263:       s/.*/./; q'`
10264:   as_dir="$ac_dir"; as_fn_mkdir_p
10265:   ac_builddir=.
10266: 
10267: case "$ac_dir" in
10268: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10269: *)
10270:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10271:   # A ".." for each directory in $ac_dir_suffix.
10272:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10273:   case $ac_top_builddir_sub in
10274:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10275:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10276:   esac ;;
10277: esac
10278: ac_abs_top_builddir=$ac_pwd
10279: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10280: # for backward compatibility:
10281: ac_top_builddir=$ac_top_build_prefix
10282: 
10283: case $srcdir in
10284:   .)  # We are building in place.
10285:     ac_srcdir=.
10286:     ac_top_srcdir=$ac_top_builddir_sub
10287:     ac_abs_top_srcdir=$ac_pwd ;;
10288:   [\\/]* | ?:[\\/]* )  # Absolute name.
10289:     ac_srcdir=$srcdir$ac_dir_suffix;
10290:     ac_top_srcdir=$srcdir
10291:     ac_abs_top_srcdir=$srcdir ;;
10292:   *) # Relative name.
10293:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10294:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10295:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10296: esac
10297: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10298: 
10299: 
10300:   case $ac_mode in
10301:   :F)
10302:   #
10303:   # CONFIG_FILE
10304:   #
10305: 
10306:   case $INSTALL in
10307:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10308:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10309:   esac
10310:   ac_MKDIR_P=$MKDIR_P
10311:   case $MKDIR_P in
10312:   [\\/$]* | ?:[\\/]* ) ;;
10313:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10314:   esac
10315: _ACEOF
10316: 
10317: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10318: # If the template does not know about datarootdir, expand it.
10319: # FIXME: This hack should be removed a few years after 2.60.
10320: ac_datarootdir_hack=; ac_datarootdir_seen=
10321: ac_sed_dataroot='
10322: /datarootdir/ {
10323:   p
10324:   q
10325: }
10326: /@datadir@/p
10327: /@docdir@/p
10328: /@infodir@/p
10329: /@localedir@/p
10330: /@mandir@/p'
10331: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10332: *datarootdir*) ac_datarootdir_seen=yes;;
10333: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10334:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10335: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10336: _ACEOF
10337: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10338:   ac_datarootdir_hack='
10339:   s&@datadir@&$datadir&g
10340:   s&@docdir@&$docdir&g
10341:   s&@infodir@&$infodir&g
10342:   s&@localedir@&$localedir&g
10343:   s&@mandir@&$mandir&g
10344:   s&\\\${datarootdir}&$datarootdir&g' ;;
10345: esac
10346: _ACEOF
10347: 
10348: # Neutralize VPATH when `$srcdir' = `.'.
10349: # Shell code in configure.ac might set extrasub.
10350: # FIXME: do we really want to maintain this feature?
10351: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10352: ac_sed_extra="$ac_vpsub
10353: $extrasub
10354: _ACEOF
10355: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10356: :t
10357: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10358: s|@configure_input@|$ac_sed_conf_input|;t t
10359: s&@top_builddir@&$ac_top_builddir_sub&;t t
10360: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10361: s&@srcdir@&$ac_srcdir&;t t
10362: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10363: s&@top_srcdir@&$ac_top_srcdir&;t t
10364: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10365: s&@builddir@&$ac_builddir&;t t
10366: s&@abs_builddir@&$ac_abs_builddir&;t t
10367: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10368: s&@INSTALL@&$ac_INSTALL&;t t
10369: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10370: $ac_datarootdir_hack
10371: "
10372: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10373:   || as_fn_error "could not create $ac_file" "$LINENO" 5
10374: 
10375: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10376:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10377:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10378:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10379: which seems to be undefined.  Please make sure it is defined." >&5
10380: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10381: which seems to be undefined.  Please make sure it is defined." >&2;}
10382: 
10383:   rm -f "$tmp/stdin"
10384:   case $ac_file in
10385:   -) cat "$tmp/out" && rm -f "$tmp/out";;
10386:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10387:   esac \
10388:   || as_fn_error "could not create $ac_file" "$LINENO" 5
10389:  ;;
10390:   :H)
10391:   #
10392:   # CONFIG_HEADER
10393:   #
10394:   if test x"$ac_file" != x-; then
10395:     {
10396:       $as_echo "/* $configure_input  */" \
10397:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10398:     } >"$tmp/config.h" \
10399:       || as_fn_error "could not create $ac_file" "$LINENO" 5
10400:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10401:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10402: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10403:     else
10404:       rm -f "$ac_file"
10405:       mv "$tmp/config.h" "$ac_file" \
10406:     || as_fn_error "could not create $ac_file" "$LINENO" 5
10407:     fi
10408:   else
10409:     $as_echo "/* $configure_input  */" \
10410:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10411:       || as_fn_error "could not create -" "$LINENO" 5
10412:   fi
10413: # Compute "$ac_file"'s index in $config_headers.
10414: _am_arg="$ac_file"
10415: _am_stamp_count=1
10416: for _am_header in $config_headers :; do
10417:   case $_am_header in
10418:     $_am_arg | $_am_arg:* )
10419:       break ;;
10420:     * )
10421:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10422:   esac
10423: done
10424: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10425: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10426:      X"$_am_arg" : 'X\(//\)[^/]' \| \
10427:      X"$_am_arg" : 'X\(//\)$' \| \
10428:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10429: $as_echo X"$_am_arg" |
10430:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10431:         s//\1/
10432:         q
10433:       }
10434:       /^X\(\/\/\)[^/].*/{
10435:         s//\1/
10436:         q
10437:       }
10438:       /^X\(\/\/\)$/{
10439:         s//\1/
10440:         q
10441:       }
10442:       /^X\(\/\).*/{
10443:         s//\1/
10444:         q
10445:       }
10446:       s/.*/./; q'`/stamp-h$_am_stamp_count
10447:  ;;
10448: 
10449:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10450: $as_echo "$as_me: executing $ac_file commands" >&6;}
10451:  ;;
10452:   esac
10453: 
10454: 
10455:   case $ac_file$ac_mode in
10456:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10457:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10458:   # are listed without --file.  Let's play safe and only enable the eval
10459:   # if we detect the quoting.
10460:   case $CONFIG_FILES in
10461:   *\'*) eval set x "$CONFIG_FILES" ;;
10462:   *)   set x $CONFIG_FILES ;;
10463:   esac
10464:   shift
10465:   for mf
10466:   do
10467:     # Strip MF so we end up with the name of the file.
10468:     mf=`echo "$mf" | sed -e 's/:.*$//'`
10469:     # Check whether this is an Automake generated Makefile or not.
10470:     # We used to match only the files named `Makefile.in', but
10471:     # some people rename them; so instead we look at the file content.
10472:     # Grep'ing the first line is not enough: some people post-process
10473:     # each Makefile.in and add a new line on top of each file to say so.
10474:     # Grep'ing the whole file is not good either: AIX grep has a line
10475:     # limit of 2048, but all sed's we know have understand at least 4000.
10476:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10477:       dirpart=`$as_dirname -- "$mf" ||
10478: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10479:      X"$mf" : 'X\(//\)[^/]' \| \
10480:      X"$mf" : 'X\(//\)$' \| \
10481:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10482: $as_echo X"$mf" |
10483:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10484:         s//\1/
10485:         q
10486:       }
10487:       /^X\(\/\/\)[^/].*/{
10488:         s//\1/
10489:         q
10490:       }
10491:       /^X\(\/\/\)$/{
10492:         s//\1/
10493:         q
10494:       }
10495:       /^X\(\/\).*/{
10496:         s//\1/
10497:         q
10498:       }
10499:       s/.*/./; q'`
10500:     else
10501:       continue
10502:     fi
10503:     # Extract the definition of DEPDIR, am__include, and am__quote
10504:     # from the Makefile without running `make'.
10505:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10506:     test -z "$DEPDIR" && continue
10507:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10508:     test -z "am__include" && continue
10509:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10510:     # When using ansi2knr, U may be empty or an underscore; expand it
10511:     U=`sed -n 's/^U = //p' < "$mf"`
10512:     # Find all dependency output files, they are included files with
10513:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10514:     # simplest approach to changing $(DEPDIR) to its actual value in the
10515:     # expansion.
10516:     for file in `sed -n "
10517:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10518:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10519:       # Make sure the directory exists.
10520:       test -f "$dirpart/$file" && continue
10521:       fdir=`$as_dirname -- "$file" ||
10522: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10523:      X"$file" : 'X\(//\)[^/]' \| \
10524:      X"$file" : 'X\(//\)$' \| \
10525:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10526: $as_echo X"$file" |
10527:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10528:         s//\1/
10529:         q
10530:       }
10531:       /^X\(\/\/\)[^/].*/{
10532:         s//\1/
10533:         q
10534:       }
10535:       /^X\(\/\/\)$/{
10536:         s//\1/
10537:         q
10538:       }
10539:       /^X\(\/\).*/{
10540:         s//\1/
10541:         q
10542:       }
10543:       s/.*/./; q'`
10544:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10545:       # echo "creating $dirpart/$file"
10546:       echo '# dummy' > "$dirpart/$file"
10547:     done
10548:   done
10549: }
10550:  ;;
10551: 
10552:   esac
10553: done # for ac_tag
10554: 
10555: 
10556: as_fn_exit 0
10557: _ACEOF
10558: ac_clean_files=$ac_clean_files_save
10559: 
10560: test $ac_write_fail = 0 ||
10561:   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
10562: 
10563: 
10564: # configure is writing to config.log, and then calls config.status.
10565: # config.status does its own redirection, appending to config.log.
10566: # Unfortunately, on DOS this fails, as config.log is still kept open
10567: # by configure, so config.status won't be able to write to it; its
10568: # output is simply discarded.  So we exec the FD to /dev/null,
10569: # effectively closing config.log, so it can be properly (re)opened and
10570: # appended to by config.status.  When coming back to configure, we
10571: # need to make the FD available again.
10572: if test "$no_create" != yes; then
10573:   ac_cs_success=:
10574:   ac_config_status_args=
10575:   test "$silent" = yes &&
10576:     ac_config_status_args="$ac_config_status_args --quiet"
10577:   exec 5>/dev/null
10578:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10579:   exec 5>>config.log
10580:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10581:   # would make configure fail if this is the last instruction.
10582:   $ac_cs_success || as_fn_exit $?
10583: fi
10584: 
10585: #
10586: # CONFIG_SUBDIRS section.
10587: #
10588: if test "$no_recursion" != yes; then
10589: 
10590:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10591:   # so they do not pile up.
10592:   ac_sub_configure_args=
10593:   ac_prev=
10594:   eval "set x $ac_configure_args"
10595:   shift
10596:   for ac_arg
10597:   do
10598:     if test -n "$ac_prev"; then
10599:       ac_prev=
10600:       continue
10601:     fi
10602:     case $ac_arg in
10603:     -cache-file | --cache-file | --cache-fil | --cache-fi \
10604:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10605:       ac_prev=cache_file ;;
10606:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10607:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10608:     | --c=*)
10609:       ;;
10610:     --config-cache | -C)
10611:       ;;
10612:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10613:       ac_prev=srcdir ;;
10614:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10615:       ;;
10616:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10617:       ac_prev=prefix ;;
10618:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10619:       ;;
10620:     --disable-option-checking)
10621:       ;;
10622:     *)
10623:       case $ac_arg in
10624:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10625:       esac
10626:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10627:     esac
10628:   done
10629: 
10630:   # Always prepend --prefix to ensure using the same prefix
10631:   # in subdir configurations.
10632:   ac_arg="--prefix=$prefix"
10633:   case $ac_arg in
10634:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10635:   esac
10636:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10637: 
10638:   # Pass --silent
10639:   if test "$silent" = yes; then
10640:     ac_sub_configure_args="--silent $ac_sub_configure_args"
10641:   fi
10642: 
10643:   # Always prepend --disable-option-checking to silence warnings, since
10644:   # different subdirs can have different --enable and --with options.
10645:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10646: 
10647:   ac_popdir=`pwd`
10648:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10649: 
10650:     # Do not complain, so a configure script can configure whichever
10651:     # parts of a large source tree are present.
10652:     test -d "$srcdir/$ac_dir" || continue
10653: 
10654:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10655:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10656:     $as_echo "$ac_msg" >&6
10657:     as_dir="$ac_dir"; as_fn_mkdir_p
10658:     ac_builddir=.
10659: 
10660: case "$ac_dir" in
10661: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10662: *)
10663:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10664:   # A ".." for each directory in $ac_dir_suffix.
10665:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10666:   case $ac_top_builddir_sub in
10667:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10668:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10669:   esac ;;
10670: esac
10671: ac_abs_top_builddir=$ac_pwd
10672: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10673: # for backward compatibility:
10674: ac_top_builddir=$ac_top_build_prefix
10675: 
10676: case $srcdir in
10677:   .)  # We are building in place.
10678:     ac_srcdir=.
10679:     ac_top_srcdir=$ac_top_builddir_sub
10680:     ac_abs_top_srcdir=$ac_pwd ;;
10681:   [\\/]* | ?:[\\/]* )  # Absolute name.
10682:     ac_srcdir=$srcdir$ac_dir_suffix;
10683:     ac_top_srcdir=$srcdir
10684:     ac_abs_top_srcdir=$srcdir ;;
10685:   *) # Relative name.
10686:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10687:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10688:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10689: esac
10690: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10691: 
10692: 
10693:     cd "$ac_dir"
10694: 
10695:     # Check for guested configure; otherwise get Cygnus style configure.
10696:     if test -f "$ac_srcdir/configure.gnu"; then
10697:       ac_sub_configure=$ac_srcdir/configure.gnu
10698:     elif test -f "$ac_srcdir/configure"; then
10699:       ac_sub_configure=$ac_srcdir/configure
10700:     elif test -f "$ac_srcdir/configure.in"; then
10701:       # This should be Cygnus configure.
10702:       ac_sub_configure=$ac_aux_dir/configure
10703:     else
10704:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
10705: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10706:       ac_sub_configure=
10707:     fi
10708: 
10709:     # The recursion is here.
10710:     if test -n "$ac_sub_configure"; then
10711:       # Make the cache file name correct relative to the subdirectory.
10712:       case $cache_file in
10713:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10714:       *) # Relative name.
10715:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10716:       esac
10717: 
10718:       { $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
10719: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10720:       # The eval makes quoting arguments work.
10721:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10722:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10723:     as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
10724:     fi
10725: 
10726:     cd "$ac_popdir"
10727:   done
10728: fi
10729: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10730:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10731: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10732: fi
10733: 

CVSweb interface <joel.bertrand@systella.fr>