File:  [local] / rpl / Attic / configure
Revision 1.34: download - view: text, annotated - select for diffs - revision graph
Fri Aug 13 21:02:18 2010 UTC (13 years, 8 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Patches pour OS/2

    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: IPV6
  614: SEMUN
  615: SEMAPHORES_SYSV
  616: SEMAPHORES_NOMMES
  617: NESTED_FUNCTIONS
  618: EXPORT_DYNAMIC
  619: C_STANDARD
  620: OS
  621: GNUPLOT_COMPILATION
  622: subdirs
  623: EGREP
  624: GREP
  625: libPgSQLlib
  626: libPgSQLinc
  627: POSTGRESQL_SUPPORT
  628: libMySQLlib
  629: libMySQLinc
  630: MYSQL_SUPPORT
  631: DATE
  632: includeX
  633: libX
  634: MOTIF_SUPPORT
  635: DEBUG
  636: EXPERIMENTAL_CODE
  637: VIM_SUPPORT
  638: POSTSCRIPT_SUPPORT
  639: FORCE_GNUPLOT_PATH
  640: GNUPLOT_SUPPORT
  641: VIM
  642: GNUPLOT_P
  643: GV
  644: GS
  645: DVIPS
  646: LATEX
  647: TEX
  648: SED
  649: RANLIB
  650: LN_S
  651: RUNPATH
  652: PROFILAGE
  653: X_EXTRA_LIBS
  654: X_LIBS
  655: X_PRE_LIBS
  656: X_CFLAGS
  657: CPP
  658: XMKMF
  659: ac_ct_FC
  660: FCFLAGS
  661: FC
  662: ac_ct_F77
  663: FFLAGS
  664: F77
  665: am__fastdepCXX_FALSE
  666: am__fastdepCXX_TRUE
  667: CXXDEPMODE
  668: ac_ct_CXX
  669: CXXFLAGS
  670: CXX
  671: am__fastdepCC_FALSE
  672: am__fastdepCC_TRUE
  673: CCDEPMODE
  674: AMDEPBACKSLASH
  675: AMDEP_FALSE
  676: AMDEP_TRUE
  677: am__quote
  678: am__include
  679: DEPDIR
  680: OBJEXT
  681: EXEEXT
  682: ac_ct_CC
  683: CPPFLAGS
  684: LDFLAGS
  685: CFLAGS
  686: CC
  687: am__untar
  688: am__tar
  689: AMTAR
  690: am__leading_dot
  691: SET_MAKE
  692: AWK
  693: mkdir_p
  694: MKDIR_P
  695: INSTALL_STRIP_PROGRAM
  696: STRIP
  697: install_sh
  698: MAKEINFO
  699: AUTOHEADER
  700: AUTOMAKE
  701: AUTOCONF
  702: ACLOCAL
  703: VERSION
  704: PACKAGE
  705: CYGPATH_W
  706: am__isrc
  707: INSTALL_DATA
  708: INSTALL_SCRIPT
  709: INSTALL_PROGRAM
  710: target_os
  711: target_vendor
  712: target_cpu
  713: target
  714: host_os
  715: host_vendor
  716: host_cpu
  717: host
  718: build_os
  719: build_vendor
  720: build_cpu
  721: build
  722: target_alias
  723: host_alias
  724: build_alias
  725: LIBS
  726: ECHO_T
  727: ECHO_N
  728: ECHO_C
  729: DEFS
  730: mandir
  731: localedir
  732: libdir
  733: psdir
  734: pdfdir
  735: dvidir
  736: htmldir
  737: infodir
  738: docdir
  739: oldincludedir
  740: includedir
  741: localstatedir
  742: sharedstatedir
  743: sysconfdir
  744: datadir
  745: datarootdir
  746: libexecdir
  747: sbindir
  748: bindir
  749: program_transform_name
  750: prefix
  751: exec_prefix
  752: PACKAGE_URL
  753: PACKAGE_BUGREPORT
  754: PACKAGE_STRING
  755: PACKAGE_VERSION
  756: PACKAGE_TARNAME
  757: PACKAGE_NAME
  758: PATH_SEPARATOR
  759: SHELL'
  760: ac_subst_files=''
  761: ac_user_opts='
  762: enable_option_checking
  763: enable_dependency_tracking
  764: with_x
  765: enable_optimization
  766: enable_full_static
  767: enable_final_encoding
  768: enable_tex
  769: enable_vim
  770: enable_embedded_gnuplot
  771: enable_gnuplot
  772: enable_motif
  773: enable_experimental
  774: enable_debug
  775: enable_profile
  776: enable_final_run_path
  777: with_mysql
  778: with_postgresql
  779: with_openssl_arch
  780: '
  781:       ac_precious_vars='build_alias
  782: host_alias
  783: target_alias
  784: CC
  785: CFLAGS
  786: LDFLAGS
  787: LIBS
  788: CPPFLAGS
  789: CXX
  790: CXXFLAGS
  791: CCC
  792: F77
  793: FFLAGS
  794: FC
  795: FCFLAGS
  796: XMKMF
  797: CPP'
  798: ac_subdirs_all='tools/$NCURSES
  799: tools/$READLINE
  800: tools/$GSL
  801: tools/$GPP
  802: tools/$FILE
  803: tools/$ICONV
  804: tools/$SQLITE
  805: tools/$UNITS
  806: tools/$GNUPLOT'
  807: 
  808: # Initialize some variables set by options.
  809: ac_init_help=
  810: ac_init_version=false
  811: ac_unrecognized_opts=
  812: ac_unrecognized_sep=
  813: # The variables have the same names as the options, with
  814: # dashes changed to underlines.
  815: cache_file=/dev/null
  816: exec_prefix=NONE
  817: no_create=
  818: no_recursion=
  819: prefix=NONE
  820: program_prefix=NONE
  821: program_suffix=NONE
  822: program_transform_name=s,x,x,
  823: silent=
  824: site=
  825: srcdir=
  826: verbose=
  827: x_includes=NONE
  828: x_libraries=NONE
  829: 
  830: # Installation directory options.
  831: # These are left unexpanded so users can "make install exec_prefix=/foo"
  832: # and all the variables that are supposed to be based on exec_prefix
  833: # by default will actually change.
  834: # Use braces instead of parens because sh, perl, etc. also accept them.
  835: # (The list follows the same order as the GNU Coding Standards.)
  836: bindir='${exec_prefix}/bin'
  837: sbindir='${exec_prefix}/sbin'
  838: libexecdir='${exec_prefix}/libexec'
  839: datarootdir='${prefix}/share'
  840: datadir='${datarootdir}'
  841: sysconfdir='${prefix}/etc'
  842: sharedstatedir='${prefix}/com'
  843: localstatedir='${prefix}/var'
  844: includedir='${prefix}/include'
  845: oldincludedir='/usr/include'
  846: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  847: infodir='${datarootdir}/info'
  848: htmldir='${docdir}'
  849: dvidir='${docdir}'
  850: pdfdir='${docdir}'
  851: psdir='${docdir}'
  852: libdir='${exec_prefix}/lib'
  853: localedir='${datarootdir}/locale'
  854: mandir='${datarootdir}/man'
  855: 
  856: ac_prev=
  857: ac_dashdash=
  858: for ac_option
  859: do
  860:   # If the previous option needs an argument, assign it.
  861:   if test -n "$ac_prev"; then
  862:     eval $ac_prev=\$ac_option
  863:     ac_prev=
  864:     continue
  865:   fi
  866: 
  867:   case $ac_option in
  868:   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  869:   *)    ac_optarg=yes ;;
  870:   esac
  871: 
  872:   # Accept the important Cygnus configure options, so we can diagnose typos.
  873: 
  874:   case $ac_dashdash$ac_option in
  875:   --)
  876:     ac_dashdash=yes ;;
  877: 
  878:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  879:     ac_prev=bindir ;;
  880:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  881:     bindir=$ac_optarg ;;
  882: 
  883:   -build | --build | --buil | --bui | --bu)
  884:     ac_prev=build_alias ;;
  885:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  886:     build_alias=$ac_optarg ;;
  887: 
  888:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  889:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  890:     ac_prev=cache_file ;;
  891:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  892:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  893:     cache_file=$ac_optarg ;;
  894: 
  895:   --config-cache | -C)
  896:     cache_file=config.cache ;;
  897: 
  898:   -datadir | --datadir | --datadi | --datad)
  899:     ac_prev=datadir ;;
  900:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  901:     datadir=$ac_optarg ;;
  902: 
  903:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  904:   | --dataroo | --dataro | --datar)
  905:     ac_prev=datarootdir ;;
  906:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  907:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  908:     datarootdir=$ac_optarg ;;
  909: 
  910:   -disable-* | --disable-*)
  911:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  912:     # Reject names that are not valid shell variable names.
  913:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  914:       as_fn_error "invalid feature name: $ac_useropt"
  915:     ac_useropt_orig=$ac_useropt
  916:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  917:     case $ac_user_opts in
  918:       *"
  919: "enable_$ac_useropt"
  920: "*) ;;
  921:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  922:      ac_unrecognized_sep=', ';;
  923:     esac
  924:     eval enable_$ac_useropt=no ;;
  925: 
  926:   -docdir | --docdir | --docdi | --doc | --do)
  927:     ac_prev=docdir ;;
  928:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  929:     docdir=$ac_optarg ;;
  930: 
  931:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  932:     ac_prev=dvidir ;;
  933:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  934:     dvidir=$ac_optarg ;;
  935: 
  936:   -enable-* | --enable-*)
  937:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  938:     # Reject names that are not valid shell variable names.
  939:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  940:       as_fn_error "invalid feature name: $ac_useropt"
  941:     ac_useropt_orig=$ac_useropt
  942:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  943:     case $ac_user_opts in
  944:       *"
  945: "enable_$ac_useropt"
  946: "*) ;;
  947:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  948:      ac_unrecognized_sep=', ';;
  949:     esac
  950:     eval enable_$ac_useropt=\$ac_optarg ;;
  951: 
  952:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  953:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  954:   | --exec | --exe | --ex)
  955:     ac_prev=exec_prefix ;;
  956:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  957:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  958:   | --exec=* | --exe=* | --ex=*)
  959:     exec_prefix=$ac_optarg ;;
  960: 
  961:   -gas | --gas | --ga | --g)
  962:     # Obsolete; use --with-gas.
  963:     with_gas=yes ;;
  964: 
  965:   -help | --help | --hel | --he | -h)
  966:     ac_init_help=long ;;
  967:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  968:     ac_init_help=recursive ;;
  969:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  970:     ac_init_help=short ;;
  971: 
  972:   -host | --host | --hos | --ho)
  973:     ac_prev=host_alias ;;
  974:   -host=* | --host=* | --hos=* | --ho=*)
  975:     host_alias=$ac_optarg ;;
  976: 
  977:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  978:     ac_prev=htmldir ;;
  979:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  980:   | --ht=*)
  981:     htmldir=$ac_optarg ;;
  982: 
  983:   -includedir | --includedir | --includedi | --included | --include \
  984:   | --includ | --inclu | --incl | --inc)
  985:     ac_prev=includedir ;;
  986:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  987:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  988:     includedir=$ac_optarg ;;
  989: 
  990:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  991:     ac_prev=infodir ;;
  992:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  993:     infodir=$ac_optarg ;;
  994: 
  995:   -libdir | --libdir | --libdi | --libd)
  996:     ac_prev=libdir ;;
  997:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  998:     libdir=$ac_optarg ;;
  999: 
 1000:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1001:   | --libexe | --libex | --libe)
 1002:     ac_prev=libexecdir ;;
 1003:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1004:   | --libexe=* | --libex=* | --libe=*)
 1005:     libexecdir=$ac_optarg ;;
 1006: 
 1007:   -localedir | --localedir | --localedi | --localed | --locale)
 1008:     ac_prev=localedir ;;
 1009:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1010:     localedir=$ac_optarg ;;
 1011: 
 1012:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1013:   | --localstate | --localstat | --localsta | --localst | --locals)
 1014:     ac_prev=localstatedir ;;
 1015:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1016:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1017:     localstatedir=$ac_optarg ;;
 1018: 
 1019:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1020:     ac_prev=mandir ;;
 1021:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1022:     mandir=$ac_optarg ;;
 1023: 
 1024:   -nfp | --nfp | --nf)
 1025:     # Obsolete; use --without-fp.
 1026:     with_fp=no ;;
 1027: 
 1028:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1029:   | --no-cr | --no-c | -n)
 1030:     no_create=yes ;;
 1031: 
 1032:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1033:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1034:     no_recursion=yes ;;
 1035: 
 1036:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1037:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1038:   | --oldin | --oldi | --old | --ol | --o)
 1039:     ac_prev=oldincludedir ;;
 1040:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1041:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1042:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1043:     oldincludedir=$ac_optarg ;;
 1044: 
 1045:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1046:     ac_prev=prefix ;;
 1047:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1048:     prefix=$ac_optarg ;;
 1049: 
 1050:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1051:   | --program-pre | --program-pr | --program-p)
 1052:     ac_prev=program_prefix ;;
 1053:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1054:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1055:     program_prefix=$ac_optarg ;;
 1056: 
 1057:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1058:   | --program-suf | --program-su | --program-s)
 1059:     ac_prev=program_suffix ;;
 1060:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1061:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1062:     program_suffix=$ac_optarg ;;
 1063: 
 1064:   -program-transform-name | --program-transform-name \
 1065:   | --program-transform-nam | --program-transform-na \
 1066:   | --program-transform-n | --program-transform- \
 1067:   | --program-transform | --program-transfor \
 1068:   | --program-transfo | --program-transf \
 1069:   | --program-trans | --program-tran \
 1070:   | --progr-tra | --program-tr | --program-t)
 1071:     ac_prev=program_transform_name ;;
 1072:   -program-transform-name=* | --program-transform-name=* \
 1073:   | --program-transform-nam=* | --program-transform-na=* \
 1074:   | --program-transform-n=* | --program-transform-=* \
 1075:   | --program-transform=* | --program-transfor=* \
 1076:   | --program-transfo=* | --program-transf=* \
 1077:   | --program-trans=* | --program-tran=* \
 1078:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1079:     program_transform_name=$ac_optarg ;;
 1080: 
 1081:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1082:     ac_prev=pdfdir ;;
 1083:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1084:     pdfdir=$ac_optarg ;;
 1085: 
 1086:   -psdir | --psdir | --psdi | --psd | --ps)
 1087:     ac_prev=psdir ;;
 1088:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1089:     psdir=$ac_optarg ;;
 1090: 
 1091:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1092:   | -silent | --silent | --silen | --sile | --sil)
 1093:     silent=yes ;;
 1094: 
 1095:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1096:     ac_prev=sbindir ;;
 1097:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1098:   | --sbi=* | --sb=*)
 1099:     sbindir=$ac_optarg ;;
 1100: 
 1101:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1102:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1103:   | --sharedst | --shareds | --shared | --share | --shar \
 1104:   | --sha | --sh)
 1105:     ac_prev=sharedstatedir ;;
 1106:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1107:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1108:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1109:   | --sha=* | --sh=*)
 1110:     sharedstatedir=$ac_optarg ;;
 1111: 
 1112:   -site | --site | --sit)
 1113:     ac_prev=site ;;
 1114:   -site=* | --site=* | --sit=*)
 1115:     site=$ac_optarg ;;
 1116: 
 1117:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1118:     ac_prev=srcdir ;;
 1119:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1120:     srcdir=$ac_optarg ;;
 1121: 
 1122:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1123:   | --syscon | --sysco | --sysc | --sys | --sy)
 1124:     ac_prev=sysconfdir ;;
 1125:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1126:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1127:     sysconfdir=$ac_optarg ;;
 1128: 
 1129:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1130:     ac_prev=target_alias ;;
 1131:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1132:     target_alias=$ac_optarg ;;
 1133: 
 1134:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1135:     verbose=yes ;;
 1136: 
 1137:   -version | --version | --versio | --versi | --vers | -V)
 1138:     ac_init_version=: ;;
 1139: 
 1140:   -with-* | --with-*)
 1141:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1142:     # Reject names that are not valid shell variable names.
 1143:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1144:       as_fn_error "invalid package name: $ac_useropt"
 1145:     ac_useropt_orig=$ac_useropt
 1146:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1147:     case $ac_user_opts in
 1148:       *"
 1149: "with_$ac_useropt"
 1150: "*) ;;
 1151:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1152:      ac_unrecognized_sep=', ';;
 1153:     esac
 1154:     eval with_$ac_useropt=\$ac_optarg ;;
 1155: 
 1156:   -without-* | --without-*)
 1157:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1158:     # Reject names that are not valid shell variable names.
 1159:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1160:       as_fn_error "invalid package name: $ac_useropt"
 1161:     ac_useropt_orig=$ac_useropt
 1162:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1163:     case $ac_user_opts in
 1164:       *"
 1165: "with_$ac_useropt"
 1166: "*) ;;
 1167:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1168:      ac_unrecognized_sep=', ';;
 1169:     esac
 1170:     eval with_$ac_useropt=no ;;
 1171: 
 1172:   --x)
 1173:     # Obsolete; use --with-x.
 1174:     with_x=yes ;;
 1175: 
 1176:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1177:   | --x-incl | --x-inc | --x-in | --x-i)
 1178:     ac_prev=x_includes ;;
 1179:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1180:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1181:     x_includes=$ac_optarg ;;
 1182: 
 1183:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1184:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1185:     ac_prev=x_libraries ;;
 1186:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1187:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1188:     x_libraries=$ac_optarg ;;
 1189: 
 1190:   -*) as_fn_error "unrecognized option: \`$ac_option'
 1191: Try \`$0 --help' for more information."
 1192:     ;;
 1193: 
 1194:   *=*)
 1195:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1196:     # Reject names that are not valid shell variable names.
 1197:     case $ac_envvar in #(
 1198:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1199:       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 1200:     esac
 1201:     eval $ac_envvar=\$ac_optarg
 1202:     export $ac_envvar ;;
 1203: 
 1204:   *)
 1205:     # FIXME: should be removed in autoconf 3.0.
 1206:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1207:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1208:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1209:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1210:     ;;
 1211: 
 1212:   esac
 1213: done
 1214: 
 1215: if test -n "$ac_prev"; then
 1216:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1217:   as_fn_error "missing argument to $ac_option"
 1218: fi
 1219: 
 1220: if test -n "$ac_unrecognized_opts"; then
 1221:   case $enable_option_checking in
 1222:     no) ;;
 1223:     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 1224:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1225:   esac
 1226: fi
 1227: 
 1228: # Check all directory arguments for consistency.
 1229: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1230:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1231:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1232:         libdir localedir mandir
 1233: do
 1234:   eval ac_val=\$$ac_var
 1235:   # Remove trailing slashes.
 1236:   case $ac_val in
 1237:     */ )
 1238:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1239:       eval $ac_var=\$ac_val;;
 1240:   esac
 1241:   # Be sure to have absolute directory names.
 1242:   case $ac_val in
 1243:     [\\/$]* | ?:[\\/]* )  continue;;
 1244:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1245:   esac
 1246:   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 1247: done
 1248: 
 1249: # There might be people who depend on the old broken behavior: `$host'
 1250: # used to hold the argument of --host etc.
 1251: # FIXME: To remove some day.
 1252: build=$build_alias
 1253: host=$host_alias
 1254: target=$target_alias
 1255: 
 1256: # FIXME: To remove some day.
 1257: if test "x$host_alias" != x; then
 1258:   if test "x$build_alias" = x; then
 1259:     cross_compiling=maybe
 1260:     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1261:     If a cross compiler is detected then cross compile mode will be used." >&2
 1262:   elif test "x$build_alias" != "x$host_alias"; then
 1263:     cross_compiling=yes
 1264:   fi
 1265: fi
 1266: 
 1267: ac_tool_prefix=
 1268: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1269: 
 1270: test "$silent" = yes && exec 6>/dev/null
 1271: 
 1272: 
 1273: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1274: ac_ls_di=`ls -di .` &&
 1275: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1276:   as_fn_error "working directory cannot be determined"
 1277: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1278:   as_fn_error "pwd does not report name of working directory"
 1279: 
 1280: 
 1281: # Find the source files, if location was not specified.
 1282: if test -z "$srcdir"; then
 1283:   ac_srcdir_defaulted=yes
 1284:   # Try the directory containing this script, then the parent directory.
 1285:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1286: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1287:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1288:      X"$as_myself" : 'X\(//\)$' \| \
 1289:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1290: $as_echo X"$as_myself" |
 1291:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1292:         s//\1/
 1293:         q
 1294:       }
 1295:       /^X\(\/\/\)[^/].*/{
 1296:         s//\1/
 1297:         q
 1298:       }
 1299:       /^X\(\/\/\)$/{
 1300:         s//\1/
 1301:         q
 1302:       }
 1303:       /^X\(\/\).*/{
 1304:         s//\1/
 1305:         q
 1306:       }
 1307:       s/.*/./; q'`
 1308:   srcdir=$ac_confdir
 1309:   if test ! -r "$srcdir/$ac_unique_file"; then
 1310:     srcdir=..
 1311:   fi
 1312: else
 1313:   ac_srcdir_defaulted=no
 1314: fi
 1315: if test ! -r "$srcdir/$ac_unique_file"; then
 1316:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1317:   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 1318: fi
 1319: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1320: ac_abs_confdir=`(
 1321:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 1322:     pwd)`
 1323: # When building in place, set srcdir=.
 1324: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1325:   srcdir=.
 1326: fi
 1327: # Remove unnecessary trailing slashes from srcdir.
 1328: # Double slashes in file names in object file debugging info
 1329: # mess up M-x gdb in Emacs.
 1330: case $srcdir in
 1331: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1332: esac
 1333: for ac_var in $ac_precious_vars; do
 1334:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1335:   eval ac_env_${ac_var}_value=\$${ac_var}
 1336:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1337:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1338: done
 1339: 
 1340: #
 1341: # Report the --help message.
 1342: #
 1343: if test "$ac_init_help" = "long"; then
 1344:   # Omit some internal or obsolete options to make the list less imposing.
 1345:   # This message is too long to be a string in the A/UX 3.1 sh.
 1346:   cat <<_ACEOF
 1347: \`configure' configures rpl 4.0.18 to adapt to many kinds of systems.
 1348: 
 1349: Usage: $0 [OPTION]... [VAR=VALUE]...
 1350: 
 1351: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1352: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1353: 
 1354: Defaults for the options are specified in brackets.
 1355: 
 1356: Configuration:
 1357:   -h, --help              display this help and exit
 1358:       --help=short        display options specific to this package
 1359:       --help=recursive    display the short help of all the included packages
 1360:   -V, --version           display version information and exit
 1361:   -q, --quiet, --silent   do not print \`checking...' messages
 1362:       --cache-file=FILE   cache test results in FILE [disabled]
 1363:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1364:   -n, --no-create         do not create output files
 1365:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1366: 
 1367: Installation directories:
 1368:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1369:                           [$ac_default_prefix]
 1370:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1371:                           [PREFIX]
 1372: 
 1373: By default, \`make install' will install all the files in
 1374: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1375: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1376: for instance \`--prefix=\$HOME'.
 1377: 
 1378: For better control, use the options below.
 1379: 
 1380: Fine tuning of the installation directories:
 1381:   --bindir=DIR            user executables [EPREFIX/bin]
 1382:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1383:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1384:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1385:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1386:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1387:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1388:   --includedir=DIR        C header files [PREFIX/include]
 1389:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1390:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1391:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1392:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1393:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1394:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1395:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1396:   --htmldir=DIR           html documentation [DOCDIR]
 1397:   --dvidir=DIR            dvi documentation [DOCDIR]
 1398:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1399:   --psdir=DIR             ps documentation [DOCDIR]
 1400: _ACEOF
 1401: 
 1402:   cat <<\_ACEOF
 1403: 
 1404: Program names:
 1405:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1406:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1407:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1408: 
 1409: X features:
 1410:   --x-includes=DIR    X include files are in DIR
 1411:   --x-libraries=DIR   X library files are in DIR
 1412: 
 1413: System types:
 1414:   --build=BUILD     configure for building on BUILD [guessed]
 1415:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1416:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1417: _ACEOF
 1418: fi
 1419: 
 1420: if test -n "$ac_init_help"; then
 1421:   case $ac_init_help in
 1422:      short | recursive ) echo "Configuration of rpl 4.0.18:";;
 1423:    esac
 1424:   cat <<\_ACEOF
 1425: 
 1426: Optional Features:
 1427:   --disable-option-checking  ignore unrecognized --enable/--with options
 1428:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1429:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1430:   --disable-dependency-tracking  speeds up one-time build
 1431:   --enable-dependency-tracking   do not reject slow dependency extractors
 1432:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1433:   --enable-full-static    build static RPL/2 engine [default=shared]
 1434:   --enable-final-encoding force final encoding [default=guessed]
 1435:   --enable-tex            provide the TeX support [default=guessed]
 1436:   --enable-vim            provide the vim support [default=guessed]
 1437:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1438:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1439:   --enable-motif          provide the Motif support [default=guessed]
 1440:   --enable-experimental   enable experimental code [default=no]
 1441:   --enable-debug          enable debug code [default=no]
 1442:   --enable-profile        enable profile code [default=no]
 1443:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1444: 
 1445: Optional Packages:
 1446:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1447:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1448:   --with-x                use the X Window System
 1449:   --with-mysql=PATH         specify directory for installed mysql
 1450:   --with-postgresql=PATH    specify directory for installed postgresql
 1451:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
 1452: 
 1453: Some influential environment variables:
 1454:   CC          C compiler command
 1455:   CFLAGS      C compiler flags
 1456:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1457:               nonstandard directory <lib dir>
 1458:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1459:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1460:               you have headers in a nonstandard directory <include dir>
 1461:   CXX         C++ compiler command
 1462:   CXXFLAGS    C++ compiler flags
 1463:   F77         Fortran 77 compiler command
 1464:   FFLAGS      Fortran 77 compiler flags
 1465:   FC          Fortran compiler command
 1466:   FCFLAGS     Fortran compiler flags
 1467:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1468:   CPP         C preprocessor
 1469: 
 1470: Use these variables to override the choices made by `configure' or to help
 1471: it to find libraries and programs with nonstandard names/locations.
 1472: 
 1473: Report bugs to the package provider.
 1474: _ACEOF
 1475: ac_status=$?
 1476: fi
 1477: 
 1478: if test "$ac_init_help" = "recursive"; then
 1479:   # If there are subdirs, report their specific --help.
 1480:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1481:     test -d "$ac_dir" ||
 1482:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1483:       continue
 1484:     ac_builddir=.
 1485: 
 1486: case "$ac_dir" in
 1487: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1488: *)
 1489:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1490:   # A ".." for each directory in $ac_dir_suffix.
 1491:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1492:   case $ac_top_builddir_sub in
 1493:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1494:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1495:   esac ;;
 1496: esac
 1497: ac_abs_top_builddir=$ac_pwd
 1498: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1499: # for backward compatibility:
 1500: ac_top_builddir=$ac_top_build_prefix
 1501: 
 1502: case $srcdir in
 1503:   .)  # We are building in place.
 1504:     ac_srcdir=.
 1505:     ac_top_srcdir=$ac_top_builddir_sub
 1506:     ac_abs_top_srcdir=$ac_pwd ;;
 1507:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1508:     ac_srcdir=$srcdir$ac_dir_suffix;
 1509:     ac_top_srcdir=$srcdir
 1510:     ac_abs_top_srcdir=$srcdir ;;
 1511:   *) # Relative name.
 1512:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1513:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1514:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1515: esac
 1516: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1517: 
 1518:     cd "$ac_dir" || { ac_status=$?; continue; }
 1519:     # Check for guested configure.
 1520:     if test -f "$ac_srcdir/configure.gnu"; then
 1521:       echo &&
 1522:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1523:     elif test -f "$ac_srcdir/configure"; then
 1524:       echo &&
 1525:       $SHELL "$ac_srcdir/configure" --help=recursive
 1526:     else
 1527:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1528:     fi || ac_status=$?
 1529:     cd "$ac_pwd" || { ac_status=$?; break; }
 1530:   done
 1531: fi
 1532: 
 1533: test -n "$ac_init_help" && exit $ac_status
 1534: if $ac_init_version; then
 1535:   cat <<\_ACEOF
 1536: rpl configure 4.0.18
 1537: generated by GNU Autoconf 2.65
 1538: 
 1539: Copyright (C) 2009 Free Software Foundation, Inc.
 1540: This configure script is free software; the Free Software Foundation
 1541: gives unlimited permission to copy, distribute and modify it.
 1542: _ACEOF
 1543:   exit
 1544: fi
 1545: 
 1546: ## ------------------------ ##
 1547: ## Autoconf initialization. ##
 1548: ## ------------------------ ##
 1549: 
 1550: # ac_fn_c_try_compile LINENO
 1551: # --------------------------
 1552: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1553: ac_fn_c_try_compile ()
 1554: {
 1555:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1556:   rm -f conftest.$ac_objext
 1557:   if { { ac_try="$ac_compile"
 1558: case "(($ac_try" in
 1559:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1560:   *) ac_try_echo=$ac_try;;
 1561: esac
 1562: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1563: $as_echo "$ac_try_echo"; } >&5
 1564:   (eval "$ac_compile") 2>conftest.err
 1565:   ac_status=$?
 1566:   if test -s conftest.err; then
 1567:     grep -v '^ *+' conftest.err >conftest.er1
 1568:     cat conftest.er1 >&5
 1569:     mv -f conftest.er1 conftest.err
 1570:   fi
 1571:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1572:   test $ac_status = 0; } && {
 1573:      test -z "$ac_c_werror_flag" ||
 1574:      test ! -s conftest.err
 1575:        } && test -s conftest.$ac_objext; then :
 1576:   ac_retval=0
 1577: else
 1578:   $as_echo "$as_me: failed program was:" >&5
 1579: sed 's/^/| /' conftest.$ac_ext >&5
 1580: 
 1581:     ac_retval=1
 1582: fi
 1583:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1584:   as_fn_set_status $ac_retval
 1585: 
 1586: } # ac_fn_c_try_compile
 1587: 
 1588: # ac_fn_cxx_try_compile LINENO
 1589: # ----------------------------
 1590: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1591: ac_fn_cxx_try_compile ()
 1592: {
 1593:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1594:   rm -f conftest.$ac_objext
 1595:   if { { ac_try="$ac_compile"
 1596: case "(($ac_try" in
 1597:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1598:   *) ac_try_echo=$ac_try;;
 1599: esac
 1600: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1601: $as_echo "$ac_try_echo"; } >&5
 1602:   (eval "$ac_compile") 2>conftest.err
 1603:   ac_status=$?
 1604:   if test -s conftest.err; then
 1605:     grep -v '^ *+' conftest.err >conftest.er1
 1606:     cat conftest.er1 >&5
 1607:     mv -f conftest.er1 conftest.err
 1608:   fi
 1609:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1610:   test $ac_status = 0; } && {
 1611:      test -z "$ac_cxx_werror_flag" ||
 1612:      test ! -s conftest.err
 1613:        } && test -s conftest.$ac_objext; then :
 1614:   ac_retval=0
 1615: else
 1616:   $as_echo "$as_me: failed program was:" >&5
 1617: sed 's/^/| /' conftest.$ac_ext >&5
 1618: 
 1619:     ac_retval=1
 1620: fi
 1621:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1622:   as_fn_set_status $ac_retval
 1623: 
 1624: } # ac_fn_cxx_try_compile
 1625: 
 1626: # ac_fn_f77_try_compile LINENO
 1627: # ----------------------------
 1628: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1629: ac_fn_f77_try_compile ()
 1630: {
 1631:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1632:   rm -f conftest.$ac_objext
 1633:   if { { ac_try="$ac_compile"
 1634: case "(($ac_try" in
 1635:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1636:   *) ac_try_echo=$ac_try;;
 1637: esac
 1638: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1639: $as_echo "$ac_try_echo"; } >&5
 1640:   (eval "$ac_compile") 2>conftest.err
 1641:   ac_status=$?
 1642:   if test -s conftest.err; then
 1643:     grep -v '^ *+' conftest.err >conftest.er1
 1644:     cat conftest.er1 >&5
 1645:     mv -f conftest.er1 conftest.err
 1646:   fi
 1647:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1648:   test $ac_status = 0; } && {
 1649:      test -z "$ac_f77_werror_flag" ||
 1650:      test ! -s conftest.err
 1651:        } && test -s conftest.$ac_objext; then :
 1652:   ac_retval=0
 1653: else
 1654:   $as_echo "$as_me: failed program was:" >&5
 1655: sed 's/^/| /' conftest.$ac_ext >&5
 1656: 
 1657:     ac_retval=1
 1658: fi
 1659:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1660:   as_fn_set_status $ac_retval
 1661: 
 1662: } # ac_fn_f77_try_compile
 1663: 
 1664: # ac_fn_fc_try_compile LINENO
 1665: # ---------------------------
 1666: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1667: ac_fn_fc_try_compile ()
 1668: {
 1669:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1670:   rm -f conftest.$ac_objext
 1671:   if { { ac_try="$ac_compile"
 1672: case "(($ac_try" in
 1673:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1674:   *) ac_try_echo=$ac_try;;
 1675: esac
 1676: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1677: $as_echo "$ac_try_echo"; } >&5
 1678:   (eval "$ac_compile") 2>conftest.err
 1679:   ac_status=$?
 1680:   if test -s conftest.err; then
 1681:     grep -v '^ *+' conftest.err >conftest.er1
 1682:     cat conftest.er1 >&5
 1683:     mv -f conftest.er1 conftest.err
 1684:   fi
 1685:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1686:   test $ac_status = 0; } && {
 1687:      test -z "$ac_fc_werror_flag" ||
 1688:      test ! -s conftest.err
 1689:        } && test -s conftest.$ac_objext; then :
 1690:   ac_retval=0
 1691: else
 1692:   $as_echo "$as_me: failed program was:" >&5
 1693: sed 's/^/| /' conftest.$ac_ext >&5
 1694: 
 1695:     ac_retval=1
 1696: fi
 1697:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1698:   as_fn_set_status $ac_retval
 1699: 
 1700: } # ac_fn_fc_try_compile
 1701: 
 1702: # ac_fn_c_try_cpp LINENO
 1703: # ----------------------
 1704: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1705: ac_fn_c_try_cpp ()
 1706: {
 1707:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1708:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1709: case "(($ac_try" in
 1710:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1711:   *) ac_try_echo=$ac_try;;
 1712: esac
 1713: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1714: $as_echo "$ac_try_echo"; } >&5
 1715:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1716:   ac_status=$?
 1717:   if test -s conftest.err; then
 1718:     grep -v '^ *+' conftest.err >conftest.er1
 1719:     cat conftest.er1 >&5
 1720:     mv -f conftest.er1 conftest.err
 1721:   fi
 1722:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1723:   test $ac_status = 0; } >/dev/null && {
 1724:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1725:      test ! -s conftest.err
 1726:        }; then :
 1727:   ac_retval=0
 1728: else
 1729:   $as_echo "$as_me: failed program was:" >&5
 1730: sed 's/^/| /' conftest.$ac_ext >&5
 1731: 
 1732:     ac_retval=1
 1733: fi
 1734:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1735:   as_fn_set_status $ac_retval
 1736: 
 1737: } # ac_fn_c_try_cpp
 1738: 
 1739: # ac_fn_c_try_link LINENO
 1740: # -----------------------
 1741: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1742: ac_fn_c_try_link ()
 1743: {
 1744:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1745:   rm -f conftest.$ac_objext conftest$ac_exeext
 1746:   if { { ac_try="$ac_link"
 1747: case "(($ac_try" in
 1748:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1749:   *) ac_try_echo=$ac_try;;
 1750: esac
 1751: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1752: $as_echo "$ac_try_echo"; } >&5
 1753:   (eval "$ac_link") 2>conftest.err
 1754:   ac_status=$?
 1755:   if test -s conftest.err; then
 1756:     grep -v '^ *+' conftest.err >conftest.er1
 1757:     cat conftest.er1 >&5
 1758:     mv -f conftest.er1 conftest.err
 1759:   fi
 1760:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1761:   test $ac_status = 0; } && {
 1762:      test -z "$ac_c_werror_flag" ||
 1763:      test ! -s conftest.err
 1764:        } && test -s conftest$ac_exeext && {
 1765:      test "$cross_compiling" = yes ||
 1766:      $as_test_x conftest$ac_exeext
 1767:        }; then :
 1768:   ac_retval=0
 1769: else
 1770:   $as_echo "$as_me: failed program was:" >&5
 1771: sed 's/^/| /' conftest.$ac_ext >&5
 1772: 
 1773:     ac_retval=1
 1774: fi
 1775:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1776:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1777:   # interfere with the next link command; also delete a directory that is
 1778:   # left behind by Apple's compiler.  We do this before executing the actions.
 1779:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1780:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1781:   as_fn_set_status $ac_retval
 1782: 
 1783: } # ac_fn_c_try_link
 1784: 
 1785: # ac_fn_c_check_func LINENO FUNC VAR
 1786: # ----------------------------------
 1787: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1788: ac_fn_c_check_func ()
 1789: {
 1790:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1791:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1792: $as_echo_n "checking for $2... " >&6; }
 1793: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 1794:   $as_echo_n "(cached) " >&6
 1795: else
 1796:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1797: /* end confdefs.h.  */
 1798: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1799:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1800: #define $2 innocuous_$2
 1801: 
 1802: /* System header to define __stub macros and hopefully few prototypes,
 1803:     which can conflict with char $2 (); below.
 1804:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1805:     <limits.h> exists even on freestanding compilers.  */
 1806: 
 1807: #ifdef __STDC__
 1808: # include <limits.h>
 1809: #else
 1810: # include <assert.h>
 1811: #endif
 1812: 
 1813: #undef $2
 1814: 
 1815: /* Override any GCC internal prototype to avoid an error.
 1816:    Use char because int might match the return type of a GCC
 1817:    builtin and then its argument prototype would still apply.  */
 1818: #ifdef __cplusplus
 1819: extern "C"
 1820: #endif
 1821: char $2 ();
 1822: /* The GNU C library defines this for functions which it implements
 1823:     to always fail with ENOSYS.  Some functions are actually named
 1824:     something starting with __ and the normal name is an alias.  */
 1825: #if defined __stub_$2 || defined __stub___$2
 1826: choke me
 1827: #endif
 1828: 
 1829: int
 1830: main ()
 1831: {
 1832: return $2 ();
 1833:   ;
 1834:   return 0;
 1835: }
 1836: _ACEOF
 1837: if ac_fn_c_try_link "$LINENO"; then :
 1838:   eval "$3=yes"
 1839: else
 1840:   eval "$3=no"
 1841: fi
 1842: rm -f core conftest.err conftest.$ac_objext \
 1843:     conftest$ac_exeext conftest.$ac_ext
 1844: fi
 1845: eval ac_res=\$$3
 1846:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1847: $as_echo "$ac_res" >&6; }
 1848:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1849: 
 1850: } # ac_fn_c_check_func
 1851: 
 1852: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1853: # -------------------------------------------
 1854: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1855: # variable VAR accordingly.
 1856: ac_fn_c_check_type ()
 1857: {
 1858:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1859:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1860: $as_echo_n "checking for $2... " >&6; }
 1861: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 1862:   $as_echo_n "(cached) " >&6
 1863: else
 1864:   eval "$3=no"
 1865:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1866: /* end confdefs.h.  */
 1867: $4
 1868: int
 1869: main ()
 1870: {
 1871: if (sizeof ($2))
 1872:      return 0;
 1873:   ;
 1874:   return 0;
 1875: }
 1876: _ACEOF
 1877: if ac_fn_c_try_compile "$LINENO"; then :
 1878:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1879: /* end confdefs.h.  */
 1880: $4
 1881: int
 1882: main ()
 1883: {
 1884: if (sizeof (($2)))
 1885:         return 0;
 1886:   ;
 1887:   return 0;
 1888: }
 1889: _ACEOF
 1890: if ac_fn_c_try_compile "$LINENO"; then :
 1891: 
 1892: else
 1893:   eval "$3=yes"
 1894: fi
 1895: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1896: fi
 1897: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1898: fi
 1899: eval ac_res=\$$3
 1900:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1901: $as_echo "$ac_res" >&6; }
 1902:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1903: 
 1904: } # ac_fn_c_check_type
 1905: 
 1906: # ac_fn_c_try_run LINENO
 1907: # ----------------------
 1908: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1909: # that executables *can* be run.
 1910: ac_fn_c_try_run ()
 1911: {
 1912:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1913:   if { { ac_try="$ac_link"
 1914: case "(($ac_try" in
 1915:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1916:   *) ac_try_echo=$ac_try;;
 1917: esac
 1918: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1919: $as_echo "$ac_try_echo"; } >&5
 1920:   (eval "$ac_link") 2>&5
 1921:   ac_status=$?
 1922:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1923:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1924:   { { case "(($ac_try" in
 1925:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1926:   *) ac_try_echo=$ac_try;;
 1927: esac
 1928: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1929: $as_echo "$ac_try_echo"; } >&5
 1930:   (eval "$ac_try") 2>&5
 1931:   ac_status=$?
 1932:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1933:   test $ac_status = 0; }; }; then :
 1934:   ac_retval=0
 1935: else
 1936:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1937:        $as_echo "$as_me: failed program was:" >&5
 1938: sed 's/^/| /' conftest.$ac_ext >&5
 1939: 
 1940:        ac_retval=$ac_status
 1941: fi
 1942:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1943:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1944:   as_fn_set_status $ac_retval
 1945: 
 1946: } # ac_fn_c_try_run
 1947: 
 1948: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1949: # --------------------------------------------
 1950: # Tries to find the compile-time value of EXPR in a program that includes
 1951: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1952: # computed
 1953: ac_fn_c_compute_int ()
 1954: {
 1955:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1956:   if test "$cross_compiling" = yes; then
 1957:     # Depending upon the size, compute the lo and hi bounds.
 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) >= 0)];
 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=0 ac_mid=0
 1973:   while :; do
 1974:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1975: /* end confdefs.h.  */
 1976: $4
 1977: int
 1978: main ()
 1979: {
 1980: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1981: test_array [0] = 0
 1982: 
 1983:   ;
 1984:   return 0;
 1985: }
 1986: _ACEOF
 1987: if ac_fn_c_try_compile "$LINENO"; then :
 1988:   ac_hi=$ac_mid; break
 1989: else
 1990:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 1991:             if test $ac_lo -le $ac_mid; then
 1992:               ac_lo= ac_hi=
 1993:               break
 1994:             fi
 1995:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 1996: fi
 1997: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1998:   done
 1999: else
 2000:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2001: /* end confdefs.h.  */
 2002: $4
 2003: int
 2004: main ()
 2005: {
 2006: static int test_array [1 - 2 * !(($2) < 0)];
 2007: test_array [0] = 0
 2008: 
 2009:   ;
 2010:   return 0;
 2011: }
 2012: _ACEOF
 2013: if ac_fn_c_try_compile "$LINENO"; then :
 2014:   ac_hi=-1 ac_mid=-1
 2015:   while :; do
 2016:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2017: /* end confdefs.h.  */
 2018: $4
 2019: int
 2020: main ()
 2021: {
 2022: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2023: test_array [0] = 0
 2024: 
 2025:   ;
 2026:   return 0;
 2027: }
 2028: _ACEOF
 2029: if ac_fn_c_try_compile "$LINENO"; then :
 2030:   ac_lo=$ac_mid; break
 2031: else
 2032:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2033:             if test $ac_mid -le $ac_hi; then
 2034:               ac_lo= ac_hi=
 2035:               break
 2036:             fi
 2037:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2038: fi
 2039: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2040:   done
 2041: else
 2042:   ac_lo= ac_hi=
 2043: fi
 2044: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2045: fi
 2046: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2047: # Binary search between lo and hi bounds.
 2048: while test "x$ac_lo" != "x$ac_hi"; do
 2049:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2050:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2051: /* end confdefs.h.  */
 2052: $4
 2053: int
 2054: main ()
 2055: {
 2056: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2057: test_array [0] = 0
 2058: 
 2059:   ;
 2060:   return 0;
 2061: }
 2062: _ACEOF
 2063: if ac_fn_c_try_compile "$LINENO"; then :
 2064:   ac_hi=$ac_mid
 2065: else
 2066:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2067: fi
 2068: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2069: done
 2070: case $ac_lo in #((
 2071: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2072: '') ac_retval=1 ;;
 2073: esac
 2074:   else
 2075:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2076: /* end confdefs.h.  */
 2077: $4
 2078: static long int longval () { return $2; }
 2079: static unsigned long int ulongval () { return $2; }
 2080: #include <stdio.h>
 2081: #include <stdlib.h>
 2082: int
 2083: main ()
 2084: {
 2085: 
 2086:   FILE *f = fopen ("conftest.val", "w");
 2087:   if (! f)
 2088:     return 1;
 2089:   if (($2) < 0)
 2090:     {
 2091:       long int i = longval ();
 2092:       if (i != ($2))
 2093:     return 1;
 2094:       fprintf (f, "%ld", i);
 2095:     }
 2096:   else
 2097:     {
 2098:       unsigned long int i = ulongval ();
 2099:       if (i != ($2))
 2100:     return 1;
 2101:       fprintf (f, "%lu", i);
 2102:     }
 2103:   /* Do not output a trailing newline, as this causes \r\n confusion
 2104:      on some platforms.  */
 2105:   return ferror (f) || fclose (f) != 0;
 2106: 
 2107:   ;
 2108:   return 0;
 2109: }
 2110: _ACEOF
 2111: if ac_fn_c_try_run "$LINENO"; then :
 2112:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2113: else
 2114:   ac_retval=1
 2115: fi
 2116: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2117:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2118: rm -f conftest.val
 2119: 
 2120:   fi
 2121:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2122:   as_fn_set_status $ac_retval
 2123: 
 2124: } # ac_fn_c_compute_int
 2125: 
 2126: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2127: # -------------------------------------------------------
 2128: # Tests whether HEADER exists and can be compiled using the include files in
 2129: # INCLUDES, setting the cache variable VAR accordingly.
 2130: ac_fn_c_check_header_compile ()
 2131: {
 2132:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2133:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2134: $as_echo_n "checking for $2... " >&6; }
 2135: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2136:   $as_echo_n "(cached) " >&6
 2137: else
 2138:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2139: /* end confdefs.h.  */
 2140: $4
 2141: #include <$2>
 2142: _ACEOF
 2143: if ac_fn_c_try_compile "$LINENO"; then :
 2144:   eval "$3=yes"
 2145: else
 2146:   eval "$3=no"
 2147: fi
 2148: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2149: fi
 2150: eval ac_res=\$$3
 2151:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2152: $as_echo "$ac_res" >&6; }
 2153:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2154: 
 2155: } # ac_fn_c_check_header_compile
 2156: 
 2157: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2158: # -------------------------------------------------------
 2159: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2160: # the include files in INCLUDES and setting the cache variable VAR
 2161: # accordingly.
 2162: ac_fn_c_check_header_mongrel ()
 2163: {
 2164:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2165:   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2166:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2167: $as_echo_n "checking for $2... " >&6; }
 2168: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2169:   $as_echo_n "(cached) " >&6
 2170: fi
 2171: eval ac_res=\$$3
 2172:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2173: $as_echo "$ac_res" >&6; }
 2174: else
 2175:   # Is the header compilable?
 2176: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2177: $as_echo_n "checking $2 usability... " >&6; }
 2178: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2179: /* end confdefs.h.  */
 2180: $4
 2181: #include <$2>
 2182: _ACEOF
 2183: if ac_fn_c_try_compile "$LINENO"; then :
 2184:   ac_header_compiler=yes
 2185: else
 2186:   ac_header_compiler=no
 2187: fi
 2188: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2189: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2190: $as_echo "$ac_header_compiler" >&6; }
 2191: 
 2192: # Is the header present?
 2193: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2194: $as_echo_n "checking $2 presence... " >&6; }
 2195: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2196: /* end confdefs.h.  */
 2197: #include <$2>
 2198: _ACEOF
 2199: if ac_fn_c_try_cpp "$LINENO"; then :
 2200:   ac_header_preproc=yes
 2201: else
 2202:   ac_header_preproc=no
 2203: fi
 2204: rm -f conftest.err conftest.$ac_ext
 2205: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2206: $as_echo "$ac_header_preproc" >&6; }
 2207: 
 2208: # So?  What about this header?
 2209: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2210:   yes:no: )
 2211:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2212: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2213:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2214: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2215:     ;;
 2216:   no:yes:* )
 2217:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2218: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2219:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2220: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2221:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2222: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2223:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2224: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2225:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2226: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2227:     ;;
 2228: esac
 2229:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2230: $as_echo_n "checking for $2... " >&6; }
 2231: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2232:   $as_echo_n "(cached) " >&6
 2233: else
 2234:   eval "$3=\$ac_header_compiler"
 2235: fi
 2236: eval ac_res=\$$3
 2237:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2238: $as_echo "$ac_res" >&6; }
 2239: fi
 2240:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2241: 
 2242: } # ac_fn_c_check_header_mongrel
 2243: cat >config.log <<_ACEOF
 2244: This file contains any messages produced by compilers while
 2245: running configure, to aid debugging if configure makes a mistake.
 2246: 
 2247: It was created by rpl $as_me 4.0.18, which was
 2248: generated by GNU Autoconf 2.65.  Invocation command line was
 2249: 
 2250:   $ $0 $@
 2251: 
 2252: _ACEOF
 2253: exec 5>>config.log
 2254: {
 2255: cat <<_ASUNAME
 2256: ## --------- ##
 2257: ## Platform. ##
 2258: ## --------- ##
 2259: 
 2260: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2261: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2262: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2263: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2264: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2265: 
 2266: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2267: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2268: 
 2269: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2270: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2271: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2272: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2273: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2274: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2275: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2276: 
 2277: _ASUNAME
 2278: 
 2279: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2280: for as_dir in $PATH
 2281: do
 2282:   IFS=$as_save_IFS
 2283:   test -z "$as_dir" && as_dir=.
 2284:     $as_echo "PATH: $as_dir"
 2285:   done
 2286: IFS=$as_save_IFS
 2287: 
 2288: } >&5
 2289: 
 2290: cat >&5 <<_ACEOF
 2291: 
 2292: 
 2293: ## ----------- ##
 2294: ## Core tests. ##
 2295: ## ----------- ##
 2296: 
 2297: _ACEOF
 2298: 
 2299: 
 2300: # Keep a trace of the command line.
 2301: # Strip out --no-create and --no-recursion so they do not pile up.
 2302: # Strip out --silent because we don't want to record it for future runs.
 2303: # Also quote any args containing shell meta-characters.
 2304: # Make two passes to allow for proper duplicate-argument suppression.
 2305: ac_configure_args=
 2306: ac_configure_args0=
 2307: ac_configure_args1=
 2308: ac_must_keep_next=false
 2309: for ac_pass in 1 2
 2310: do
 2311:   for ac_arg
 2312:   do
 2313:     case $ac_arg in
 2314:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2315:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2316:     | -silent | --silent | --silen | --sile | --sil)
 2317:       continue ;;
 2318:     *\'*)
 2319:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2320:     esac
 2321:     case $ac_pass in
 2322:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2323:     2)
 2324:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2325:       if test $ac_must_keep_next = true; then
 2326:     ac_must_keep_next=false # Got value, back to normal.
 2327:       else
 2328:     case $ac_arg in
 2329:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2330:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2331:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2332:       | -with-* | --with-* | -without-* | --without-* | --x)
 2333:         case "$ac_configure_args0 " in
 2334:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2335:         esac
 2336:         ;;
 2337:       -* ) ac_must_keep_next=true ;;
 2338:     esac
 2339:       fi
 2340:       as_fn_append ac_configure_args " '$ac_arg'"
 2341:       ;;
 2342:     esac
 2343:   done
 2344: done
 2345: { ac_configure_args0=; unset ac_configure_args0;}
 2346: { ac_configure_args1=; unset ac_configure_args1;}
 2347: 
 2348: # When interrupted or exit'd, cleanup temporary files, and complete
 2349: # config.log.  We remove comments because anyway the quotes in there
 2350: # would cause problems or look ugly.
 2351: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2352: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2353: trap 'exit_status=$?
 2354:   # Save into config.log some information that might help in debugging.
 2355:   {
 2356:     echo
 2357: 
 2358:     cat <<\_ASBOX
 2359: ## ---------------- ##
 2360: ## Cache variables. ##
 2361: ## ---------------- ##
 2362: _ASBOX
 2363:     echo
 2364:     # The following way of writing the cache mishandles newlines in values,
 2365: (
 2366:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2367:     eval ac_val=\$$ac_var
 2368:     case $ac_val in #(
 2369:     *${as_nl}*)
 2370:       case $ac_var in #(
 2371:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2372: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2373:       esac
 2374:       case $ac_var in #(
 2375:       _ | IFS | as_nl) ;; #(
 2376:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2377:       *) { eval $ac_var=; unset $ac_var;} ;;
 2378:       esac ;;
 2379:     esac
 2380:   done
 2381:   (set) 2>&1 |
 2382:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2383:     *${as_nl}ac_space=\ *)
 2384:       sed -n \
 2385:     "s/'\''/'\''\\\\'\'''\''/g;
 2386:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2387:       ;; #(
 2388:     *)
 2389:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2390:       ;;
 2391:     esac |
 2392:     sort
 2393: )
 2394:     echo
 2395: 
 2396:     cat <<\_ASBOX
 2397: ## ----------------- ##
 2398: ## Output variables. ##
 2399: ## ----------------- ##
 2400: _ASBOX
 2401:     echo
 2402:     for ac_var in $ac_subst_vars
 2403:     do
 2404:       eval ac_val=\$$ac_var
 2405:       case $ac_val in
 2406:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2407:       esac
 2408:       $as_echo "$ac_var='\''$ac_val'\''"
 2409:     done | sort
 2410:     echo
 2411: 
 2412:     if test -n "$ac_subst_files"; then
 2413:       cat <<\_ASBOX
 2414: ## ------------------- ##
 2415: ## File substitutions. ##
 2416: ## ------------------- ##
 2417: _ASBOX
 2418:       echo
 2419:       for ac_var in $ac_subst_files
 2420:       do
 2421:     eval ac_val=\$$ac_var
 2422:     case $ac_val in
 2423:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2424:     esac
 2425:     $as_echo "$ac_var='\''$ac_val'\''"
 2426:       done | sort
 2427:       echo
 2428:     fi
 2429: 
 2430:     if test -s confdefs.h; then
 2431:       cat <<\_ASBOX
 2432: ## ----------- ##
 2433: ## confdefs.h. ##
 2434: ## ----------- ##
 2435: _ASBOX
 2436:       echo
 2437:       cat confdefs.h
 2438:       echo
 2439:     fi
 2440:     test "$ac_signal" != 0 &&
 2441:       $as_echo "$as_me: caught signal $ac_signal"
 2442:     $as_echo "$as_me: exit $exit_status"
 2443:   } >&5
 2444:   rm -f core *.core core.conftest.* &&
 2445:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2446:     exit $exit_status
 2447: ' 0
 2448: for ac_signal in 1 2 13 15; do
 2449:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2450: done
 2451: ac_signal=0
 2452: 
 2453: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2454: rm -f -r conftest* confdefs.h
 2455: 
 2456: $as_echo "/* confdefs.h */" > confdefs.h
 2457: 
 2458: # Predefined preprocessor variables.
 2459: 
 2460: cat >>confdefs.h <<_ACEOF
 2461: #define PACKAGE_NAME "$PACKAGE_NAME"
 2462: _ACEOF
 2463: 
 2464: cat >>confdefs.h <<_ACEOF
 2465: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2466: _ACEOF
 2467: 
 2468: cat >>confdefs.h <<_ACEOF
 2469: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2470: _ACEOF
 2471: 
 2472: cat >>confdefs.h <<_ACEOF
 2473: #define PACKAGE_STRING "$PACKAGE_STRING"
 2474: _ACEOF
 2475: 
 2476: cat >>confdefs.h <<_ACEOF
 2477: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2478: _ACEOF
 2479: 
 2480: cat >>confdefs.h <<_ACEOF
 2481: #define PACKAGE_URL "$PACKAGE_URL"
 2482: _ACEOF
 2483: 
 2484: 
 2485: # Let the site file select an alternate cache file if it wants to.
 2486: # Prefer an explicitly selected file to automatically selected ones.
 2487: ac_site_file1=NONE
 2488: ac_site_file2=NONE
 2489: if test -n "$CONFIG_SITE"; then
 2490:   ac_site_file1=$CONFIG_SITE
 2491: elif test "x$prefix" != xNONE; then
 2492:   ac_site_file1=$prefix/share/config.site
 2493:   ac_site_file2=$prefix/etc/config.site
 2494: else
 2495:   ac_site_file1=$ac_default_prefix/share/config.site
 2496:   ac_site_file2=$ac_default_prefix/etc/config.site
 2497: fi
 2498: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2499: do
 2500:   test "x$ac_site_file" = xNONE && continue
 2501:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2502:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2503: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2504:     sed 's/^/| /' "$ac_site_file" >&5
 2505:     . "$ac_site_file"
 2506:   fi
 2507: done
 2508: 
 2509: if test -r "$cache_file"; then
 2510:   # Some versions of bash will fail to source /dev/null (special files
 2511:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2512:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2513:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2514: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2515:     case $cache_file in
 2516:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2517:       *)                      . "./$cache_file";;
 2518:     esac
 2519:   fi
 2520: else
 2521:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2522: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2523:   >$cache_file
 2524: fi
 2525: 
 2526: # Check that the precious variables saved in the cache have kept the same
 2527: # value.
 2528: ac_cache_corrupted=false
 2529: for ac_var in $ac_precious_vars; do
 2530:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2531:   eval ac_new_set=\$ac_env_${ac_var}_set
 2532:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2533:   eval ac_new_val=\$ac_env_${ac_var}_value
 2534:   case $ac_old_set,$ac_new_set in
 2535:     set,)
 2536:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2537: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2538:       ac_cache_corrupted=: ;;
 2539:     ,set)
 2540:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2541: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2542:       ac_cache_corrupted=: ;;
 2543:     ,);;
 2544:     *)
 2545:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2546:     # differences in whitespace do not lead to failure.
 2547:     ac_old_val_w=`echo x $ac_old_val`
 2548:     ac_new_val_w=`echo x $ac_new_val`
 2549:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2550:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2551: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2552:       ac_cache_corrupted=:
 2553:     else
 2554:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2555: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2556:       eval $ac_var=\$ac_old_val
 2557:     fi
 2558:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2559: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2560:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2561: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2562:       fi;;
 2563:   esac
 2564:   # Pass precious variables to config.status.
 2565:   if test "$ac_new_set" = set; then
 2566:     case $ac_new_val in
 2567:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2568:     *) ac_arg=$ac_var=$ac_new_val ;;
 2569:     esac
 2570:     case " $ac_configure_args " in
 2571:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2572:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2573:     esac
 2574:   fi
 2575: done
 2576: if $ac_cache_corrupted; then
 2577:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2578: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2579:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2580: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2581:   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2582: fi
 2583: ## -------------------- ##
 2584: ## Main body of script. ##
 2585: ## -------------------- ##
 2586: 
 2587: ac_ext=c
 2588: ac_cpp='$CPP $CPPFLAGS'
 2589: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2590: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2591: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2592: 
 2593: 
 2594: ac_aux_dir=
 2595: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2596:   for ac_t in install-sh install.sh shtool; do
 2597:     if test -f "$ac_dir/$ac_t"; then
 2598:       ac_aux_dir=$ac_dir
 2599:       ac_install_sh="$ac_aux_dir/$ac_t -c"
 2600:       break 2
 2601:     fi
 2602:   done
 2603: done
 2604: if test -z "$ac_aux_dir"; then
 2605:   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2606: fi
 2607: 
 2608: # These three variables are undocumented and unsupported,
 2609: # and are intended to be withdrawn in a future Autoconf release.
 2610: # They can cause serious problems if a builder's source tree is in a directory
 2611: # whose full name contains unusual characters.
 2612: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2613: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2614: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2615: 
 2616: 
 2617: # Make sure we can run config.sub.
 2618: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2619:   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2620: 
 2621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2622: $as_echo_n "checking build system type... " >&6; }
 2623: if test "${ac_cv_build+set}" = set; then :
 2624:   $as_echo_n "(cached) " >&6
 2625: else
 2626:   ac_build_alias=$build_alias
 2627: test "x$ac_build_alias" = x &&
 2628:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2629: test "x$ac_build_alias" = x &&
 2630:   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 2631: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2632:   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2633: 
 2634: fi
 2635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2636: $as_echo "$ac_cv_build" >&6; }
 2637: case $ac_cv_build in
 2638: *-*-*) ;;
 2639: *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 2640: esac
 2641: build=$ac_cv_build
 2642: ac_save_IFS=$IFS; IFS='-'
 2643: set x $ac_cv_build
 2644: shift
 2645: build_cpu=$1
 2646: build_vendor=$2
 2647: shift; shift
 2648: # Remember, the first character of IFS is used to create $*,
 2649: # except with old shells:
 2650: build_os=$*
 2651: IFS=$ac_save_IFS
 2652: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2653: 
 2654: 
 2655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2656: $as_echo_n "checking host system type... " >&6; }
 2657: if test "${ac_cv_host+set}" = set; then :
 2658:   $as_echo_n "(cached) " >&6
 2659: else
 2660:   if test "x$host_alias" = x; then
 2661:   ac_cv_host=$ac_cv_build
 2662: else
 2663:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2664:     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2665: fi
 2666: 
 2667: fi
 2668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2669: $as_echo "$ac_cv_host" >&6; }
 2670: case $ac_cv_host in
 2671: *-*-*) ;;
 2672: *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 2673: esac
 2674: host=$ac_cv_host
 2675: ac_save_IFS=$IFS; IFS='-'
 2676: set x $ac_cv_host
 2677: shift
 2678: host_cpu=$1
 2679: host_vendor=$2
 2680: shift; shift
 2681: # Remember, the first character of IFS is used to create $*,
 2682: # except with old shells:
 2683: host_os=$*
 2684: IFS=$ac_save_IFS
 2685: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2686: 
 2687: 
 2688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2689: $as_echo_n "checking target system type... " >&6; }
 2690: if test "${ac_cv_target+set}" = set; then :
 2691:   $as_echo_n "(cached) " >&6
 2692: else
 2693:   if test "x$target_alias" = x; then
 2694:   ac_cv_target=$ac_cv_host
 2695: else
 2696:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2697:     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2698: fi
 2699: 
 2700: fi
 2701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2702: $as_echo "$ac_cv_target" >&6; }
 2703: case $ac_cv_target in
 2704: *-*-*) ;;
 2705: *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 2706: esac
 2707: target=$ac_cv_target
 2708: ac_save_IFS=$IFS; IFS='-'
 2709: set x $ac_cv_target
 2710: shift
 2711: target_cpu=$1
 2712: target_vendor=$2
 2713: shift; shift
 2714: # Remember, the first character of IFS is used to create $*,
 2715: # except with old shells:
 2716: target_os=$*
 2717: IFS=$ac_save_IFS
 2718: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2719: 
 2720: 
 2721: # The aliases save the names the user supplied, while $host etc.
 2722: # will get canonicalized.
 2723: test -n "$target_alias" &&
 2724:   test "$program_prefix$program_suffix$program_transform_name" = \
 2725:     NONENONEs,x,x, &&
 2726:   program_prefix=${target_alias}-
 2727: 
 2728: am__api_version='1.11'
 2729: 
 2730: # Find a good install program.  We prefer a C program (faster),
 2731: # so one script is as good as another.  But avoid the broken or
 2732: # incompatible versions:
 2733: # SysV /etc/install, /usr/sbin/install
 2734: # SunOS /usr/etc/install
 2735: # IRIX /sbin/install
 2736: # AIX /bin/install
 2737: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2738: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2739: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2740: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2741: # OS/2's system install, which has a completely different semantic
 2742: # ./install, which can be erroneously created by make from ./install.sh.
 2743: # Reject install programs that cannot install multiple files.
 2744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2745: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2746: if test -z "$INSTALL"; then
 2747: if test "${ac_cv_path_install+set}" = set; then :
 2748:   $as_echo_n "(cached) " >&6
 2749: else
 2750:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2751: for as_dir in $PATH
 2752: do
 2753:   IFS=$as_save_IFS
 2754:   test -z "$as_dir" && as_dir=.
 2755:     # Account for people who put trailing slashes in PATH elements.
 2756: case $as_dir/ in #((
 2757:   ./ | .// | /[cC]/* | \
 2758:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2759:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2760:   /usr/ucb/* ) ;;
 2761:   *)
 2762:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2763:     # Don't use installbsd from OSF since it installs stuff as root
 2764:     # by default.
 2765:     for ac_prog in ginstall scoinst install; do
 2766:       for ac_exec_ext in '' $ac_executable_extensions; do
 2767:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2768:       if test $ac_prog = install &&
 2769:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2770:         # AIX install.  It has an incompatible calling convention.
 2771:         :
 2772:       elif test $ac_prog = install &&
 2773:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2774:         # program-specific install script used by HP pwplus--don't use.
 2775:         :
 2776:       else
 2777:         rm -rf conftest.one conftest.two conftest.dir
 2778:         echo one > conftest.one
 2779:         echo two > conftest.two
 2780:         mkdir conftest.dir
 2781:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2782:           test -s conftest.one && test -s conftest.two &&
 2783:           test -s conftest.dir/conftest.one &&
 2784:           test -s conftest.dir/conftest.two
 2785:         then
 2786:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2787:           break 3
 2788:         fi
 2789:       fi
 2790:     fi
 2791:       done
 2792:     done
 2793:     ;;
 2794: esac
 2795: 
 2796:   done
 2797: IFS=$as_save_IFS
 2798: 
 2799: rm -rf conftest.one conftest.two conftest.dir
 2800: 
 2801: fi
 2802:   if test "${ac_cv_path_install+set}" = set; then
 2803:     INSTALL=$ac_cv_path_install
 2804:   else
 2805:     # As a last resort, use the slow shell script.  Don't cache a
 2806:     # value for INSTALL within a source directory, because that will
 2807:     # break other packages using the cache if that directory is
 2808:     # removed, or if the value is a relative name.
 2809:     INSTALL=$ac_install_sh
 2810:   fi
 2811: fi
 2812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2813: $as_echo "$INSTALL" >&6; }
 2814: 
 2815: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2816: # It thinks the first close brace ends the variable substitution.
 2817: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2818: 
 2819: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2820: 
 2821: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2822: 
 2823: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2824: $as_echo_n "checking whether build environment is sane... " >&6; }
 2825: # Just in case
 2826: sleep 1
 2827: echo timestamp > conftest.file
 2828: # Reject unsafe characters in $srcdir or the absolute working directory
 2829: # name.  Accept space and tab only in the latter.
 2830: am_lf='
 2831: '
 2832: case `pwd` in
 2833:   *[\\\"\#\$\&\'\`$am_lf]*)
 2834:     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 2835: esac
 2836: case $srcdir in
 2837:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2838:     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2839: esac
 2840: 
 2841: # Do `set' in a subshell so we don't clobber the current shell's
 2842: # arguments.  Must try -L first in case configure is actually a
 2843: # symlink; some systems play weird games with the mod time of symlinks
 2844: # (eg FreeBSD returns the mod time of the symlink's containing
 2845: # directory).
 2846: if (
 2847:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2848:    if test "$*" = "X"; then
 2849:       # -L didn't work.
 2850:       set X `ls -t "$srcdir/configure" conftest.file`
 2851:    fi
 2852:    rm -f conftest.file
 2853:    if test "$*" != "X $srcdir/configure conftest.file" \
 2854:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2855: 
 2856:       # If neither matched, then we have a broken ls.  This can happen
 2857:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2858:       # broken ls alias from the environment.  This has actually
 2859:       # happened.  Such a system could not be considered "sane".
 2860:       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 2861: alias in your environment" "$LINENO" 5
 2862:    fi
 2863: 
 2864:    test "$2" = conftest.file
 2865:    )
 2866: then
 2867:    # Ok.
 2868:    :
 2869: else
 2870:    as_fn_error "newly created file is older than distributed files!
 2871: Check your system clock" "$LINENO" 5
 2872: fi
 2873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2874: $as_echo "yes" >&6; }
 2875: test "$program_prefix" != NONE &&
 2876:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2877: # Use a double $ so make ignores it.
 2878: test "$program_suffix" != NONE &&
 2879:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2880: # Double any \ or $.
 2881: # By default was `s,x,x', remove it if useless.
 2882: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2883: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2884: 
 2885: # expand $ac_aux_dir to an absolute path
 2886: am_aux_dir=`cd $ac_aux_dir && pwd`
 2887: 
 2888: if test x"${MISSING+set}" != xset; then
 2889:   case $am_aux_dir in
 2890:   *\ * | *\ *)
 2891:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2892:   *)
 2893:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2894:   esac
 2895: fi
 2896: # Use eval to expand $SHELL
 2897: if eval "$MISSING --run true"; then
 2898:   am_missing_run="$MISSING --run "
 2899: else
 2900:   am_missing_run=
 2901:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2902: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2903: fi
 2904: 
 2905: if test x"${install_sh}" != xset; then
 2906:   case $am_aux_dir in
 2907:   *\ * | *\ *)
 2908:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2909:   *)
 2910:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2911:   esac
 2912: fi
 2913: 
 2914: # Installed binaries are usually stripped using `strip' when the user
 2915: # run `make install-strip'.  However `strip' might not be the right
 2916: # tool to use in cross-compilation environments, therefore Automake
 2917: # will honor the `STRIP' environment variable to overrule this program.
 2918: if test "$cross_compiling" != no; then
 2919:   if test -n "$ac_tool_prefix"; then
 2920:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2921: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2922: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2923: $as_echo_n "checking for $ac_word... " >&6; }
 2924: if test "${ac_cv_prog_STRIP+set}" = set; then :
 2925:   $as_echo_n "(cached) " >&6
 2926: else
 2927:   if test -n "$STRIP"; then
 2928:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2929: else
 2930: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2931: for as_dir in $PATH
 2932: do
 2933:   IFS=$as_save_IFS
 2934:   test -z "$as_dir" && as_dir=.
 2935:     for ac_exec_ext in '' $ac_executable_extensions; do
 2936:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2937:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2938:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2939:     break 2
 2940:   fi
 2941: done
 2942:   done
 2943: IFS=$as_save_IFS
 2944: 
 2945: fi
 2946: fi
 2947: STRIP=$ac_cv_prog_STRIP
 2948: if test -n "$STRIP"; then
 2949:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2950: $as_echo "$STRIP" >&6; }
 2951: else
 2952:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2953: $as_echo "no" >&6; }
 2954: fi
 2955: 
 2956: 
 2957: fi
 2958: if test -z "$ac_cv_prog_STRIP"; then
 2959:   ac_ct_STRIP=$STRIP
 2960:   # Extract the first word of "strip", so it can be a program name with args.
 2961: set dummy strip; ac_word=$2
 2962: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2963: $as_echo_n "checking for $ac_word... " >&6; }
 2964: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 2965:   $as_echo_n "(cached) " >&6
 2966: else
 2967:   if test -n "$ac_ct_STRIP"; then
 2968:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2969: else
 2970: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2971: for as_dir in $PATH
 2972: do
 2973:   IFS=$as_save_IFS
 2974:   test -z "$as_dir" && as_dir=.
 2975:     for ac_exec_ext in '' $ac_executable_extensions; do
 2976:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2977:     ac_cv_prog_ac_ct_STRIP="strip"
 2978:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2979:     break 2
 2980:   fi
 2981: done
 2982:   done
 2983: IFS=$as_save_IFS
 2984: 
 2985: fi
 2986: fi
 2987: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2988: if test -n "$ac_ct_STRIP"; then
 2989:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2990: $as_echo "$ac_ct_STRIP" >&6; }
 2991: else
 2992:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2993: $as_echo "no" >&6; }
 2994: fi
 2995: 
 2996:   if test "x$ac_ct_STRIP" = x; then
 2997:     STRIP=":"
 2998:   else
 2999:     case $cross_compiling:$ac_tool_warned in
 3000: yes:)
 3001: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3002: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3003: ac_tool_warned=yes ;;
 3004: esac
 3005:     STRIP=$ac_ct_STRIP
 3006:   fi
 3007: else
 3008:   STRIP="$ac_cv_prog_STRIP"
 3009: fi
 3010: 
 3011: fi
 3012: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3013: 
 3014: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3015: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3016: if test -z "$MKDIR_P"; then
 3017:   if test "${ac_cv_path_mkdir+set}" = set; then :
 3018:   $as_echo_n "(cached) " >&6
 3019: else
 3020:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3021: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3022: do
 3023:   IFS=$as_save_IFS
 3024:   test -z "$as_dir" && as_dir=.
 3025:     for ac_prog in mkdir gmkdir; do
 3026:      for ac_exec_ext in '' $ac_executable_extensions; do
 3027:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3028:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3029:          'mkdir (GNU coreutils) '* | \
 3030:          'mkdir (coreutils) '* | \
 3031:          'mkdir (fileutils) '4.1*)
 3032:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3033:            break 3;;
 3034:        esac
 3035:      done
 3036:        done
 3037:   done
 3038: IFS=$as_save_IFS
 3039: 
 3040: fi
 3041: 
 3042:   test -d ./--version && rmdir ./--version
 3043:   if test "${ac_cv_path_mkdir+set}" = set; then
 3044:     MKDIR_P="$ac_cv_path_mkdir -p"
 3045:   else
 3046:     # As a last resort, use the slow shell script.  Don't cache a
 3047:     # value for MKDIR_P within a source directory, because that will
 3048:     # break other packages using the cache if that directory is
 3049:     # removed, or if the value is a relative name.
 3050:     MKDIR_P="$ac_install_sh -d"
 3051:   fi
 3052: fi
 3053: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3054: $as_echo "$MKDIR_P" >&6; }
 3055: 
 3056: mkdir_p="$MKDIR_P"
 3057: case $mkdir_p in
 3058:   [\\/$]* | ?:[\\/]*) ;;
 3059:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3060: esac
 3061: 
 3062: for ac_prog in gawk mawk nawk awk
 3063: do
 3064:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3065: set dummy $ac_prog; ac_word=$2
 3066: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3067: $as_echo_n "checking for $ac_word... " >&6; }
 3068: if test "${ac_cv_prog_AWK+set}" = set; then :
 3069:   $as_echo_n "(cached) " >&6
 3070: else
 3071:   if test -n "$AWK"; then
 3072:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3073: else
 3074: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3075: for as_dir in $PATH
 3076: do
 3077:   IFS=$as_save_IFS
 3078:   test -z "$as_dir" && as_dir=.
 3079:     for ac_exec_ext in '' $ac_executable_extensions; do
 3080:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3081:     ac_cv_prog_AWK="$ac_prog"
 3082:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3083:     break 2
 3084:   fi
 3085: done
 3086:   done
 3087: IFS=$as_save_IFS
 3088: 
 3089: fi
 3090: fi
 3091: AWK=$ac_cv_prog_AWK
 3092: if test -n "$AWK"; then
 3093:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3094: $as_echo "$AWK" >&6; }
 3095: else
 3096:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3097: $as_echo "no" >&6; }
 3098: fi
 3099: 
 3100: 
 3101:   test -n "$AWK" && break
 3102: done
 3103: 
 3104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3105: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3106: set x ${MAKE-make}
 3107: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3108: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 3109:   $as_echo_n "(cached) " >&6
 3110: else
 3111:   cat >conftest.make <<\_ACEOF
 3112: SHELL = /bin/sh
 3113: all:
 3114:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3115: _ACEOF
 3116: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 3117: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3118:   *@@@%%%=?*=@@@%%%*)
 3119:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3120:   *)
 3121:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3122: esac
 3123: rm -f conftest.make
 3124: fi
 3125: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3127: $as_echo "yes" >&6; }
 3128:   SET_MAKE=
 3129: else
 3130:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3131: $as_echo "no" >&6; }
 3132:   SET_MAKE="MAKE=${MAKE-make}"
 3133: fi
 3134: 
 3135: rm -rf .tst 2>/dev/null
 3136: mkdir .tst 2>/dev/null
 3137: if test -d .tst; then
 3138:   am__leading_dot=.
 3139: else
 3140:   am__leading_dot=_
 3141: fi
 3142: rmdir .tst 2>/dev/null
 3143: 
 3144: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3145:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3146:   # is not polluted with repeated "-I."
 3147:   am__isrc=' -I$(srcdir)'
 3148:   # test to see if srcdir already configured
 3149:   if test -f $srcdir/config.status; then
 3150:     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3151:   fi
 3152: fi
 3153: 
 3154: # test whether we have cygpath
 3155: if test -z "$CYGPATH_W"; then
 3156:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3157:     CYGPATH_W='cygpath -w'
 3158:   else
 3159:     CYGPATH_W=echo
 3160:   fi
 3161: fi
 3162: 
 3163: 
 3164: # Define the identity of the package.
 3165:  PACKAGE='rpl'
 3166:  VERSION='4.0.18'
 3167: 
 3168: 
 3169: cat >>confdefs.h <<_ACEOF
 3170: #define PACKAGE "$PACKAGE"
 3171: _ACEOF
 3172: 
 3173: 
 3174: cat >>confdefs.h <<_ACEOF
 3175: #define VERSION "$VERSION"
 3176: _ACEOF
 3177: 
 3178: # Some tools Automake needs.
 3179: 
 3180: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3181: 
 3182: 
 3183: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3184: 
 3185: 
 3186: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3187: 
 3188: 
 3189: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3190: 
 3191: 
 3192: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3193: 
 3194: # We need awk for the "check" target.  The system "awk" is bad on
 3195: # some platforms.
 3196: # Always define AMTAR for backward compatibility.
 3197: 
 3198: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3199: 
 3200: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3201: 
 3202: 
 3203: 
 3204: 
 3205: 
 3206: 
 3207: ac_config_headers="$ac_config_headers rplconfig.h"
 3208: 
 3209: 
 3210: NCURSES=ncurses-5.7-20100619
 3211: READLINE=readline-6.1
 3212: UNITS=units-1.88
 3213: GSL=gsl-1.14
 3214: GPP=gpp-2.24
 3215: GNUPLOT=gnuplot-4.4.0
 3216: FILE=file-5.03
 3217: ICONV=libiconv-1.13.1
 3218: SQLITE=sqlite-3.7.0.1
 3219: OPENSSL=openssl-1.0.0a
 3220: 
 3221: ac_ext=c
 3222: ac_cpp='$CPP $CPPFLAGS'
 3223: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3224: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3225: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3226: if test -n "$ac_tool_prefix"; then
 3227:   for ac_prog in gcc
 3228:   do
 3229:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3230: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3231: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3232: $as_echo_n "checking for $ac_word... " >&6; }
 3233: if test "${ac_cv_prog_CC+set}" = set; then :
 3234:   $as_echo_n "(cached) " >&6
 3235: else
 3236:   if test -n "$CC"; then
 3237:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3238: else
 3239: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3240: for as_dir in $PATH
 3241: do
 3242:   IFS=$as_save_IFS
 3243:   test -z "$as_dir" && as_dir=.
 3244:     for ac_exec_ext in '' $ac_executable_extensions; do
 3245:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3246:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3247:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3248:     break 2
 3249:   fi
 3250: done
 3251:   done
 3252: IFS=$as_save_IFS
 3253: 
 3254: fi
 3255: fi
 3256: CC=$ac_cv_prog_CC
 3257: if test -n "$CC"; then
 3258:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3259: $as_echo "$CC" >&6; }
 3260: else
 3261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3262: $as_echo "no" >&6; }
 3263: fi
 3264: 
 3265: 
 3266:     test -n "$CC" && break
 3267:   done
 3268: fi
 3269: if test -z "$CC"; then
 3270:   ac_ct_CC=$CC
 3271:   for ac_prog in gcc
 3272: do
 3273:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3274: set dummy $ac_prog; ac_word=$2
 3275: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3276: $as_echo_n "checking for $ac_word... " >&6; }
 3277: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3278:   $as_echo_n "(cached) " >&6
 3279: else
 3280:   if test -n "$ac_ct_CC"; then
 3281:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3282: else
 3283: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3284: for as_dir in $PATH
 3285: do
 3286:   IFS=$as_save_IFS
 3287:   test -z "$as_dir" && as_dir=.
 3288:     for ac_exec_ext in '' $ac_executable_extensions; do
 3289:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3290:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3291:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3292:     break 2
 3293:   fi
 3294: done
 3295:   done
 3296: IFS=$as_save_IFS
 3297: 
 3298: fi
 3299: fi
 3300: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3301: if test -n "$ac_ct_CC"; then
 3302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3303: $as_echo "$ac_ct_CC" >&6; }
 3304: else
 3305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3306: $as_echo "no" >&6; }
 3307: fi
 3308: 
 3309: 
 3310:   test -n "$ac_ct_CC" && break
 3311: done
 3312: 
 3313:   if test "x$ac_ct_CC" = x; then
 3314:     CC=""
 3315:   else
 3316:     case $cross_compiling:$ac_tool_warned in
 3317: yes:)
 3318: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3319: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3320: ac_tool_warned=yes ;;
 3321: esac
 3322:     CC=$ac_ct_CC
 3323:   fi
 3324: fi
 3325: 
 3326: 
 3327: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3328: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3329: as_fn_error "no acceptable C compiler found in \$PATH
 3330: See \`config.log' for more details." "$LINENO" 5; }
 3331: 
 3332: # Provide some information about the compiler.
 3333: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3334: set X $ac_compile
 3335: ac_compiler=$2
 3336: for ac_option in --version -v -V -qversion; do
 3337:   { { ac_try="$ac_compiler $ac_option >&5"
 3338: case "(($ac_try" in
 3339:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3340:   *) ac_try_echo=$ac_try;;
 3341: esac
 3342: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3343: $as_echo "$ac_try_echo"; } >&5
 3344:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3345:   ac_status=$?
 3346:   if test -s conftest.err; then
 3347:     sed '10a\
 3348: ... rest of stderr output deleted ...
 3349:          10q' conftest.err >conftest.er1
 3350:     cat conftest.er1 >&5
 3351:   fi
 3352:   rm -f conftest.er1 conftest.err
 3353:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3354:   test $ac_status = 0; }
 3355: done
 3356: 
 3357: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3358: /* end confdefs.h.  */
 3359: 
 3360: int
 3361: main ()
 3362: {
 3363: 
 3364:   ;
 3365:   return 0;
 3366: }
 3367: _ACEOF
 3368: ac_clean_files_save=$ac_clean_files
 3369: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3370: # Try to create an executable without -o first, disregard a.out.
 3371: # It will help us diagnose broken compilers, and finding out an intuition
 3372: # of exeext.
 3373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3374: $as_echo_n "checking whether the C compiler works... " >&6; }
 3375: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3376: 
 3377: # The possible output files:
 3378: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3379: 
 3380: ac_rmfiles=
 3381: for ac_file in $ac_files
 3382: do
 3383:   case $ac_file in
 3384:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3385:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3386:   esac
 3387: done
 3388: rm -f $ac_rmfiles
 3389: 
 3390: if { { ac_try="$ac_link_default"
 3391: case "(($ac_try" in
 3392:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3393:   *) ac_try_echo=$ac_try;;
 3394: esac
 3395: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3396: $as_echo "$ac_try_echo"; } >&5
 3397:   (eval "$ac_link_default") 2>&5
 3398:   ac_status=$?
 3399:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3400:   test $ac_status = 0; }; then :
 3401:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3402: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3403: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3404: # so that the user can short-circuit this test for compilers unknown to
 3405: # Autoconf.
 3406: for ac_file in $ac_files ''
 3407: do
 3408:   test -f "$ac_file" || continue
 3409:   case $ac_file in
 3410:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3411:     ;;
 3412:     [ab].out )
 3413:     # We found the default executable, but exeext='' is most
 3414:     # certainly right.
 3415:     break;;
 3416:     *.* )
 3417:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3418:     then :; else
 3419:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3420:     fi
 3421:     # We set ac_cv_exeext here because the later test for it is not
 3422:     # safe: cross compilers may not add the suffix if given an `-o'
 3423:     # argument, so we may need to know it at that point already.
 3424:     # Even if this section looks crufty: it has the advantage of
 3425:     # actually working.
 3426:     break;;
 3427:     * )
 3428:     break;;
 3429:   esac
 3430: done
 3431: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3432: 
 3433: else
 3434:   ac_file=''
 3435: fi
 3436: if test -z "$ac_file"; then :
 3437:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3438: $as_echo "no" >&6; }
 3439: $as_echo "$as_me: failed program was:" >&5
 3440: sed 's/^/| /' conftest.$ac_ext >&5
 3441: 
 3442: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3443: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3444: { as_fn_set_status 77
 3445: as_fn_error "C compiler cannot create executables
 3446: See \`config.log' for more details." "$LINENO" 5; }; }
 3447: else
 3448:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3449: $as_echo "yes" >&6; }
 3450: fi
 3451: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3452: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3454: $as_echo "$ac_file" >&6; }
 3455: ac_exeext=$ac_cv_exeext
 3456: 
 3457: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3458: ac_clean_files=$ac_clean_files_save
 3459: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3460: $as_echo_n "checking for suffix of executables... " >&6; }
 3461: if { { ac_try="$ac_link"
 3462: case "(($ac_try" in
 3463:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3464:   *) ac_try_echo=$ac_try;;
 3465: esac
 3466: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3467: $as_echo "$ac_try_echo"; } >&5
 3468:   (eval "$ac_link") 2>&5
 3469:   ac_status=$?
 3470:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3471:   test $ac_status = 0; }; then :
 3472:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3473: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3474: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3475: # `rm'.
 3476: for ac_file in conftest.exe conftest conftest.*; do
 3477:   test -f "$ac_file" || continue
 3478:   case $ac_file in
 3479:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3480:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3481:       break;;
 3482:     * ) break;;
 3483:   esac
 3484: done
 3485: else
 3486:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3487: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3488: as_fn_error "cannot compute suffix of executables: cannot compile and link
 3489: See \`config.log' for more details." "$LINENO" 5; }
 3490: fi
 3491: rm -f conftest conftest$ac_cv_exeext
 3492: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3493: $as_echo "$ac_cv_exeext" >&6; }
 3494: 
 3495: rm -f conftest.$ac_ext
 3496: EXEEXT=$ac_cv_exeext
 3497: ac_exeext=$EXEEXT
 3498: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3499: /* end confdefs.h.  */
 3500: #include <stdio.h>
 3501: int
 3502: main ()
 3503: {
 3504: FILE *f = fopen ("conftest.out", "w");
 3505:  return ferror (f) || fclose (f) != 0;
 3506: 
 3507:   ;
 3508:   return 0;
 3509: }
 3510: _ACEOF
 3511: ac_clean_files="$ac_clean_files conftest.out"
 3512: # Check that the compiler produces executables we can run.  If not, either
 3513: # the compiler is broken, or we cross compile.
 3514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3515: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3516: if test "$cross_compiling" != yes; then
 3517:   { { ac_try="$ac_link"
 3518: case "(($ac_try" in
 3519:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3520:   *) ac_try_echo=$ac_try;;
 3521: esac
 3522: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3523: $as_echo "$ac_try_echo"; } >&5
 3524:   (eval "$ac_link") 2>&5
 3525:   ac_status=$?
 3526:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3527:   test $ac_status = 0; }
 3528:   if { ac_try='./conftest$ac_cv_exeext'
 3529:   { { case "(($ac_try" in
 3530:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3531:   *) ac_try_echo=$ac_try;;
 3532: esac
 3533: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3534: $as_echo "$ac_try_echo"; } >&5
 3535:   (eval "$ac_try") 2>&5
 3536:   ac_status=$?
 3537:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3538:   test $ac_status = 0; }; }; then
 3539:     cross_compiling=no
 3540:   else
 3541:     if test "$cross_compiling" = maybe; then
 3542:     cross_compiling=yes
 3543:     else
 3544:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3545: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3546: as_fn_error "cannot run C compiled programs.
 3547: If you meant to cross compile, use \`--host'.
 3548: See \`config.log' for more details." "$LINENO" 5; }
 3549:     fi
 3550:   fi
 3551: fi
 3552: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3553: $as_echo "$cross_compiling" >&6; }
 3554: 
 3555: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3556: ac_clean_files=$ac_clean_files_save
 3557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3558: $as_echo_n "checking for suffix of object files... " >&6; }
 3559: if test "${ac_cv_objext+set}" = set; then :
 3560:   $as_echo_n "(cached) " >&6
 3561: else
 3562:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3563: /* end confdefs.h.  */
 3564: 
 3565: int
 3566: main ()
 3567: {
 3568: 
 3569:   ;
 3570:   return 0;
 3571: }
 3572: _ACEOF
 3573: rm -f conftest.o conftest.obj
 3574: if { { ac_try="$ac_compile"
 3575: case "(($ac_try" in
 3576:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3577:   *) ac_try_echo=$ac_try;;
 3578: esac
 3579: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3580: $as_echo "$ac_try_echo"; } >&5
 3581:   (eval "$ac_compile") 2>&5
 3582:   ac_status=$?
 3583:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3584:   test $ac_status = 0; }; then :
 3585:   for ac_file in conftest.o conftest.obj conftest.*; do
 3586:   test -f "$ac_file" || continue;
 3587:   case $ac_file in
 3588:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3589:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3590:        break;;
 3591:   esac
 3592: done
 3593: else
 3594:   $as_echo "$as_me: failed program was:" >&5
 3595: sed 's/^/| /' conftest.$ac_ext >&5
 3596: 
 3597: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3598: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3599: as_fn_error "cannot compute suffix of object files: cannot compile
 3600: See \`config.log' for more details." "$LINENO" 5; }
 3601: fi
 3602: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3603: fi
 3604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3605: $as_echo "$ac_cv_objext" >&6; }
 3606: OBJEXT=$ac_cv_objext
 3607: ac_objext=$OBJEXT
 3608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3609: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3610: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 3611:   $as_echo_n "(cached) " >&6
 3612: else
 3613:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3614: /* end confdefs.h.  */
 3615: 
 3616: int
 3617: main ()
 3618: {
 3619: #ifndef __GNUC__
 3620:        choke me
 3621: #endif
 3622: 
 3623:   ;
 3624:   return 0;
 3625: }
 3626: _ACEOF
 3627: if ac_fn_c_try_compile "$LINENO"; then :
 3628:   ac_compiler_gnu=yes
 3629: else
 3630:   ac_compiler_gnu=no
 3631: fi
 3632: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3633: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3634: 
 3635: fi
 3636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3637: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3638: if test $ac_compiler_gnu = yes; then
 3639:   GCC=yes
 3640: else
 3641:   GCC=
 3642: fi
 3643: ac_test_CFLAGS=${CFLAGS+set}
 3644: ac_save_CFLAGS=$CFLAGS
 3645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3646: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3647: if test "${ac_cv_prog_cc_g+set}" = set; then :
 3648:   $as_echo_n "(cached) " >&6
 3649: else
 3650:   ac_save_c_werror_flag=$ac_c_werror_flag
 3651:    ac_c_werror_flag=yes
 3652:    ac_cv_prog_cc_g=no
 3653:    CFLAGS="-g"
 3654:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3655: /* end confdefs.h.  */
 3656: 
 3657: int
 3658: main ()
 3659: {
 3660: 
 3661:   ;
 3662:   return 0;
 3663: }
 3664: _ACEOF
 3665: if ac_fn_c_try_compile "$LINENO"; then :
 3666:   ac_cv_prog_cc_g=yes
 3667: else
 3668:   CFLAGS=""
 3669:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3670: /* end confdefs.h.  */
 3671: 
 3672: int
 3673: main ()
 3674: {
 3675: 
 3676:   ;
 3677:   return 0;
 3678: }
 3679: _ACEOF
 3680: if ac_fn_c_try_compile "$LINENO"; then :
 3681: 
 3682: else
 3683:   ac_c_werror_flag=$ac_save_c_werror_flag
 3684:      CFLAGS="-g"
 3685:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3686: /* end confdefs.h.  */
 3687: 
 3688: int
 3689: main ()
 3690: {
 3691: 
 3692:   ;
 3693:   return 0;
 3694: }
 3695: _ACEOF
 3696: if ac_fn_c_try_compile "$LINENO"; then :
 3697:   ac_cv_prog_cc_g=yes
 3698: fi
 3699: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3700: fi
 3701: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3702: fi
 3703: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3704:    ac_c_werror_flag=$ac_save_c_werror_flag
 3705: fi
 3706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3707: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3708: if test "$ac_test_CFLAGS" = set; then
 3709:   CFLAGS=$ac_save_CFLAGS
 3710: elif test $ac_cv_prog_cc_g = yes; then
 3711:   if test "$GCC" = yes; then
 3712:     CFLAGS="-g -O2"
 3713:   else
 3714:     CFLAGS="-g"
 3715:   fi
 3716: else
 3717:   if test "$GCC" = yes; then
 3718:     CFLAGS="-O2"
 3719:   else
 3720:     CFLAGS=
 3721:   fi
 3722: fi
 3723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3724: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3725: if test "${ac_cv_prog_cc_c89+set}" = set; then :
 3726:   $as_echo_n "(cached) " >&6
 3727: else
 3728:   ac_cv_prog_cc_c89=no
 3729: ac_save_CC=$CC
 3730: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3731: /* end confdefs.h.  */
 3732: #include <stdarg.h>
 3733: #include <stdio.h>
 3734: #include <sys/types.h>
 3735: #include <sys/stat.h>
 3736: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3737: struct buf { int x; };
 3738: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3739: static char *e (p, i)
 3740:      char **p;
 3741:      int i;
 3742: {
 3743:   return p[i];
 3744: }
 3745: static char *f (char * (*g) (char **, int), char **p, ...)
 3746: {
 3747:   char *s;
 3748:   va_list v;
 3749:   va_start (v,p);
 3750:   s = g (p, va_arg (v,int));
 3751:   va_end (v);
 3752:   return s;
 3753: }
 3754: 
 3755: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3756:    function prototypes and stuff, but not '\xHH' hex character constants.
 3757:    These don't provoke an error unfortunately, instead are silently treated
 3758:    as 'x'.  The following induces an error, until -std is added to get
 3759:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3760:    array size at least.  It's necessary to write '\x00'==0 to get something
 3761:    that's true only with -std.  */
 3762: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3763: 
 3764: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3765:    inside strings and character constants.  */
 3766: #define FOO(x) 'x'
 3767: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3768: 
 3769: int test (int i, double x);
 3770: struct s1 {int (*f) (int a);};
 3771: struct s2 {int (*f) (double a);};
 3772: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3773: int argc;
 3774: char **argv;
 3775: int
 3776: main ()
 3777: {
 3778: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3779:   ;
 3780:   return 0;
 3781: }
 3782: _ACEOF
 3783: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3784:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3785: do
 3786:   CC="$ac_save_CC $ac_arg"
 3787:   if ac_fn_c_try_compile "$LINENO"; then :
 3788:   ac_cv_prog_cc_c89=$ac_arg
 3789: fi
 3790: rm -f core conftest.err conftest.$ac_objext
 3791:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3792: done
 3793: rm -f conftest.$ac_ext
 3794: CC=$ac_save_CC
 3795: 
 3796: fi
 3797: # AC_CACHE_VAL
 3798: case "x$ac_cv_prog_cc_c89" in
 3799:   x)
 3800:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3801: $as_echo "none needed" >&6; } ;;
 3802:   xno)
 3803:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3804: $as_echo "unsupported" >&6; } ;;
 3805:   *)
 3806:     CC="$CC $ac_cv_prog_cc_c89"
 3807:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3808: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3809: esac
 3810: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3811: 
 3812: fi
 3813: 
 3814: ac_ext=c
 3815: ac_cpp='$CPP $CPPFLAGS'
 3816: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3817: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3818: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3819: DEPDIR="${am__leading_dot}deps"
 3820: 
 3821: ac_config_commands="$ac_config_commands depfiles"
 3822: 
 3823: 
 3824: am_make=${MAKE-make}
 3825: cat > confinc << 'END'
 3826: am__doit:
 3827:     @echo this is the am__doit target
 3828: .PHONY: am__doit
 3829: END
 3830: # If we don't find an include directive, just comment out the code.
 3831: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3832: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3833: am__include="#"
 3834: am__quote=
 3835: _am_result=none
 3836: # First try GNU make style include.
 3837: echo "include confinc" > confmf
 3838: # Ignore all kinds of additional output from `make'.
 3839: case `$am_make -s -f confmf 2> /dev/null` in #(
 3840: *the\ am__doit\ target*)
 3841:   am__include=include
 3842:   am__quote=
 3843:   _am_result=GNU
 3844:   ;;
 3845: esac
 3846: # Now try BSD make style include.
 3847: if test "$am__include" = "#"; then
 3848:    echo '.include "confinc"' > confmf
 3849:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3850:    *the\ am__doit\ target*)
 3851:      am__include=.include
 3852:      am__quote="\""
 3853:      _am_result=BSD
 3854:      ;;
 3855:    esac
 3856: fi
 3857: 
 3858: 
 3859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3860: $as_echo "$_am_result" >&6; }
 3861: rm -f confinc confmf
 3862: 
 3863: # Check whether --enable-dependency-tracking was given.
 3864: if test "${enable_dependency_tracking+set}" = set; then :
 3865:   enableval=$enable_dependency_tracking;
 3866: fi
 3867: 
 3868: if test "x$enable_dependency_tracking" != xno; then
 3869:   am_depcomp="$ac_aux_dir/depcomp"
 3870:   AMDEPBACKSLASH='\'
 3871: fi
 3872:  if test "x$enable_dependency_tracking" != xno; then
 3873:   AMDEP_TRUE=
 3874:   AMDEP_FALSE='#'
 3875: else
 3876:   AMDEP_TRUE='#'
 3877:   AMDEP_FALSE=
 3878: fi
 3879: 
 3880: 
 3881: 
 3882: depcc="$CC"   am_compiler_list=
 3883: 
 3884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3885: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3886: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 3887:   $as_echo_n "(cached) " >&6
 3888: else
 3889:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3890:   # We make a subdir and do the tests there.  Otherwise we can end up
 3891:   # making bogus files that we don't know about and never remove.  For
 3892:   # instance it was reported that on HP-UX the gcc test will end up
 3893:   # making a dummy file named `D' -- because `-MD' means `put the output
 3894:   # in D'.
 3895:   mkdir conftest.dir
 3896:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3897:   # using a relative directory.
 3898:   cp "$am_depcomp" conftest.dir
 3899:   cd conftest.dir
 3900:   # We will build objects and dependencies in a subdirectory because
 3901:   # it helps to detect inapplicable dependency modes.  For instance
 3902:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3903:   # side effect of compilation, but ICC will put the dependencies in
 3904:   # the current directory while Tru64 will put them in the object
 3905:   # directory.
 3906:   mkdir sub
 3907: 
 3908:   am_cv_CC_dependencies_compiler_type=none
 3909:   if test "$am_compiler_list" = ""; then
 3910:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3911:   fi
 3912:   am__universal=false
 3913:   case " $depcc " in #(
 3914:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3915:      esac
 3916: 
 3917:   for depmode in $am_compiler_list; do
 3918:     # Setup a source with many dependencies, because some compilers
 3919:     # like to wrap large dependency lists on column 80 (with \), and
 3920:     # we should not choose a depcomp mode which is confused by this.
 3921:     #
 3922:     # We need to recreate these files for each test, as the compiler may
 3923:     # overwrite some of them when testing with obscure command lines.
 3924:     # This happens at least with the AIX C compiler.
 3925:     : > sub/conftest.c
 3926:     for i in 1 2 3 4 5 6; do
 3927:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3928:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3929:       # Solaris 8's {/usr,}/bin/sh.
 3930:       touch sub/conftst$i.h
 3931:     done
 3932:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3933: 
 3934:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3935:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3936:     # handle `-M -o', and we need to detect this.  Also, some Intel
 3937:     # versions had trouble with output in subdirs
 3938:     am__obj=sub/conftest.${OBJEXT-o}
 3939:     am__minus_obj="-o $am__obj"
 3940:     case $depmode in
 3941:     gcc)
 3942:       # This depmode causes a compiler race in universal mode.
 3943:       test "$am__universal" = false || continue
 3944:       ;;
 3945:     nosideeffect)
 3946:       # after this tag, mechanisms are not by side-effect, so they'll
 3947:       # only be used when explicitly requested
 3948:       if test "x$enable_dependency_tracking" = xyes; then
 3949:     continue
 3950:       else
 3951:     break
 3952:       fi
 3953:       ;;
 3954:     msvisualcpp | msvcmsys)
 3955:       # This compiler won't grok `-c -o', but also, the minuso test has
 3956:       # not run yet.  These depmodes are late enough in the game, and
 3957:       # so weak that their functioning should not be impacted.
 3958:       am__obj=conftest.${OBJEXT-o}
 3959:       am__minus_obj=
 3960:       ;;
 3961:     none) break ;;
 3962:     esac
 3963:     if depmode=$depmode \
 3964:        source=sub/conftest.c object=$am__obj \
 3965:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3966:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3967:          >/dev/null 2>conftest.err &&
 3968:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3969:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3970:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3971:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3972:       # icc doesn't choke on unknown options, it will just issue warnings
 3973:       # or remarks (even with -Werror).  So we grep stderr for any message
 3974:       # that says an option was ignored or not supported.
 3975:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3976:       #   icc: Command line warning: ignoring option '-M'; no argument required
 3977:       # The diagnosis changed in icc 8.0:
 3978:       #   icc: Command line remark: option '-MP' not supported
 3979:       if (grep 'ignoring option' conftest.err ||
 3980:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3981:         am_cv_CC_dependencies_compiler_type=$depmode
 3982:         break
 3983:       fi
 3984:     fi
 3985:   done
 3986: 
 3987:   cd ..
 3988:   rm -rf conftest.dir
 3989: else
 3990:   am_cv_CC_dependencies_compiler_type=none
 3991: fi
 3992: 
 3993: fi
 3994: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 3995: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 3996: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3997: 
 3998:  if
 3999:   test "x$enable_dependency_tracking" != xno \
 4000:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4001:   am__fastdepCC_TRUE=
 4002:   am__fastdepCC_FALSE='#'
 4003: else
 4004:   am__fastdepCC_TRUE='#'
 4005:   am__fastdepCC_FALSE=
 4006: fi
 4007: 
 4008: 
 4009: 
 4010: EXT_SQL=
 4011: 
 4012: if test x"$CC" != x""; then
 4013:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4014:             awk -F. '{ printf("%s", $1);}'`
 4015:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4016:             awk -F. '{ printf("%s", $2);}'`
 4017:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4018:         OPTIMISATION_C=-O3
 4019:     else
 4020:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
 4021:                 then
 4022:             OPTIMISATION_C=-O3
 4023:         else
 4024:             if test $GCC_VERSION_MAJEURE -ge 2; then
 4025:                 OPTIMISATION_C=-O2
 4026:             else
 4027:                 as_fn_error "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
 4028:             fi
 4029:         fi
 4030:     fi
 4031: fi
 4032: 
 4033: if test "x$CC" != xcc; then
 4034:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4035: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4036: else
 4037:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4038: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4039: fi
 4040: set dummy $CC; ac_cc=`$as_echo "$2" |
 4041:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4042: if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 4043:   $as_echo_n "(cached) " >&6
 4044: else
 4045:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4046: /* end confdefs.h.  */
 4047: 
 4048: int
 4049: main ()
 4050: {
 4051: 
 4052:   ;
 4053:   return 0;
 4054: }
 4055: _ACEOF
 4056: # Make sure it works both with $CC and with simple cc.
 4057: # We do the test twice because some compilers refuse to overwrite an
 4058: # existing .o file with -o, though they will create one.
 4059: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4060: rm -f conftest2.*
 4061: if { { case "(($ac_try" in
 4062:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4063:   *) ac_try_echo=$ac_try;;
 4064: esac
 4065: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4066: $as_echo "$ac_try_echo"; } >&5
 4067:   (eval "$ac_try") 2>&5
 4068:   ac_status=$?
 4069:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4070:   test $ac_status = 0; } &&
 4071:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4072:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4073:   *) ac_try_echo=$ac_try;;
 4074: esac
 4075: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4076: $as_echo "$ac_try_echo"; } >&5
 4077:   (eval "$ac_try") 2>&5
 4078:   ac_status=$?
 4079:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4080:   test $ac_status = 0; };
 4081: then
 4082:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4083:   if test "x$CC" != xcc; then
 4084:     # Test first that cc exists at all.
 4085:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4086:   { { case "(($ac_try" in
 4087:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4088:   *) ac_try_echo=$ac_try;;
 4089: esac
 4090: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4091: $as_echo "$ac_try_echo"; } >&5
 4092:   (eval "$ac_try") 2>&5
 4093:   ac_status=$?
 4094:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4095:   test $ac_status = 0; }; }; then
 4096:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4097:       rm -f conftest2.*
 4098:       if { { case "(($ac_try" in
 4099:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4100:   *) ac_try_echo=$ac_try;;
 4101: esac
 4102: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4103: $as_echo "$ac_try_echo"; } >&5
 4104:   (eval "$ac_try") 2>&5
 4105:   ac_status=$?
 4106:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4107:   test $ac_status = 0; } &&
 4108:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4109:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4110:   *) ac_try_echo=$ac_try;;
 4111: esac
 4112: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4113: $as_echo "$ac_try_echo"; } >&5
 4114:   (eval "$ac_try") 2>&5
 4115:   ac_status=$?
 4116:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4117:   test $ac_status = 0; };
 4118:       then
 4119:     # cc works too.
 4120:     :
 4121:       else
 4122:     # cc exists but doesn't like -o.
 4123:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4124:       fi
 4125:     fi
 4126:   fi
 4127: else
 4128:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4129: fi
 4130: rm -f core conftest*
 4131: 
 4132: fi
 4133: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4135: $as_echo "yes" >&6; }
 4136: else
 4137:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4138: $as_echo "no" >&6; }
 4139: 
 4140: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4141: 
 4142: fi
 4143: 
 4144: # FIXME: we rely on the cache variable name because
 4145: # there is no other way.
 4146: set dummy $CC
 4147: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4148: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4149: if test "$am_t" != yes; then
 4150:    # Losing compiler, so override with the script.
 4151:    # FIXME: It is wrong to rewrite CC.
 4152:    # But if we don't then we get into trouble of one sort or another.
 4153:    # A longer-term fix would be to have automake use am__CC in this case,
 4154:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4155:    CC="$am_aux_dir/compile $CC"
 4156: fi
 4157: 
 4158: 
 4159: 
 4160: if test "$GCC" != yes; then
 4161:     as_fn_error "Cannot find gcc! You have to install it." "$LINENO" 5
 4162: fi
 4163: 
 4164: ac_ext=cpp
 4165: ac_cpp='$CXXCPP $CPPFLAGS'
 4166: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4167: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4168: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4169: if test -z "$CXX"; then
 4170:   if test -n "$CCC"; then
 4171:     CXX=$CCC
 4172:   else
 4173:     if test -n "$ac_tool_prefix"; then
 4174:   for ac_prog in g++
 4175:   do
 4176:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4177: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4178: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4179: $as_echo_n "checking for $ac_word... " >&6; }
 4180: if test "${ac_cv_prog_CXX+set}" = set; then :
 4181:   $as_echo_n "(cached) " >&6
 4182: else
 4183:   if test -n "$CXX"; then
 4184:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4185: else
 4186: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4187: for as_dir in $PATH
 4188: do
 4189:   IFS=$as_save_IFS
 4190:   test -z "$as_dir" && as_dir=.
 4191:     for ac_exec_ext in '' $ac_executable_extensions; do
 4192:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4193:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4194:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4195:     break 2
 4196:   fi
 4197: done
 4198:   done
 4199: IFS=$as_save_IFS
 4200: 
 4201: fi
 4202: fi
 4203: CXX=$ac_cv_prog_CXX
 4204: if test -n "$CXX"; then
 4205:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4206: $as_echo "$CXX" >&6; }
 4207: else
 4208:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4209: $as_echo "no" >&6; }
 4210: fi
 4211: 
 4212: 
 4213:     test -n "$CXX" && break
 4214:   done
 4215: fi
 4216: if test -z "$CXX"; then
 4217:   ac_ct_CXX=$CXX
 4218:   for ac_prog in g++
 4219: do
 4220:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4221: set dummy $ac_prog; ac_word=$2
 4222: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4223: $as_echo_n "checking for $ac_word... " >&6; }
 4224: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 4225:   $as_echo_n "(cached) " >&6
 4226: else
 4227:   if test -n "$ac_ct_CXX"; then
 4228:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4229: else
 4230: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4231: for as_dir in $PATH
 4232: do
 4233:   IFS=$as_save_IFS
 4234:   test -z "$as_dir" && as_dir=.
 4235:     for ac_exec_ext in '' $ac_executable_extensions; do
 4236:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4237:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4238:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4239:     break 2
 4240:   fi
 4241: done
 4242:   done
 4243: IFS=$as_save_IFS
 4244: 
 4245: fi
 4246: fi
 4247: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4248: if test -n "$ac_ct_CXX"; then
 4249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4250: $as_echo "$ac_ct_CXX" >&6; }
 4251: else
 4252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4253: $as_echo "no" >&6; }
 4254: fi
 4255: 
 4256: 
 4257:   test -n "$ac_ct_CXX" && break
 4258: done
 4259: 
 4260:   if test "x$ac_ct_CXX" = x; then
 4261:     CXX="g++"
 4262:   else
 4263:     case $cross_compiling:$ac_tool_warned in
 4264: yes:)
 4265: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4266: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4267: ac_tool_warned=yes ;;
 4268: esac
 4269:     CXX=$ac_ct_CXX
 4270:   fi
 4271: fi
 4272: 
 4273:   fi
 4274: fi
 4275: # Provide some information about the compiler.
 4276: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4277: set X $ac_compile
 4278: ac_compiler=$2
 4279: for ac_option in --version -v -V -qversion; do
 4280:   { { ac_try="$ac_compiler $ac_option >&5"
 4281: case "(($ac_try" in
 4282:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4283:   *) ac_try_echo=$ac_try;;
 4284: esac
 4285: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4286: $as_echo "$ac_try_echo"; } >&5
 4287:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4288:   ac_status=$?
 4289:   if test -s conftest.err; then
 4290:     sed '10a\
 4291: ... rest of stderr output deleted ...
 4292:          10q' conftest.err >conftest.er1
 4293:     cat conftest.er1 >&5
 4294:   fi
 4295:   rm -f conftest.er1 conftest.err
 4296:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4297:   test $ac_status = 0; }
 4298: done
 4299: 
 4300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4301: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4302: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 4303:   $as_echo_n "(cached) " >&6
 4304: else
 4305:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4306: /* end confdefs.h.  */
 4307: 
 4308: int
 4309: main ()
 4310: {
 4311: #ifndef __GNUC__
 4312:        choke me
 4313: #endif
 4314: 
 4315:   ;
 4316:   return 0;
 4317: }
 4318: _ACEOF
 4319: if ac_fn_cxx_try_compile "$LINENO"; then :
 4320:   ac_compiler_gnu=yes
 4321: else
 4322:   ac_compiler_gnu=no
 4323: fi
 4324: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4325: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4326: 
 4327: fi
 4328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4329: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4330: if test $ac_compiler_gnu = yes; then
 4331:   GXX=yes
 4332: else
 4333:   GXX=
 4334: fi
 4335: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4336: ac_save_CXXFLAGS=$CXXFLAGS
 4337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4338: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4339: if test "${ac_cv_prog_cxx_g+set}" = set; then :
 4340:   $as_echo_n "(cached) " >&6
 4341: else
 4342:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4343:    ac_cxx_werror_flag=yes
 4344:    ac_cv_prog_cxx_g=no
 4345:    CXXFLAGS="-g"
 4346:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4347: /* end confdefs.h.  */
 4348: 
 4349: int
 4350: main ()
 4351: {
 4352: 
 4353:   ;
 4354:   return 0;
 4355: }
 4356: _ACEOF
 4357: if ac_fn_cxx_try_compile "$LINENO"; then :
 4358:   ac_cv_prog_cxx_g=yes
 4359: else
 4360:   CXXFLAGS=""
 4361:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4362: /* end confdefs.h.  */
 4363: 
 4364: int
 4365: main ()
 4366: {
 4367: 
 4368:   ;
 4369:   return 0;
 4370: }
 4371: _ACEOF
 4372: if ac_fn_cxx_try_compile "$LINENO"; then :
 4373: 
 4374: else
 4375:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4376:      CXXFLAGS="-g"
 4377:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4378: /* end confdefs.h.  */
 4379: 
 4380: int
 4381: main ()
 4382: {
 4383: 
 4384:   ;
 4385:   return 0;
 4386: }
 4387: _ACEOF
 4388: if ac_fn_cxx_try_compile "$LINENO"; then :
 4389:   ac_cv_prog_cxx_g=yes
 4390: fi
 4391: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4392: fi
 4393: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4394: fi
 4395: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4396:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4397: fi
 4398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4399: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4400: if test "$ac_test_CXXFLAGS" = set; then
 4401:   CXXFLAGS=$ac_save_CXXFLAGS
 4402: elif test $ac_cv_prog_cxx_g = yes; then
 4403:   if test "$GXX" = yes; then
 4404:     CXXFLAGS="-g -O2"
 4405:   else
 4406:     CXXFLAGS="-g"
 4407:   fi
 4408: else
 4409:   if test "$GXX" = yes; then
 4410:     CXXFLAGS="-O2"
 4411:   else
 4412:     CXXFLAGS=
 4413:   fi
 4414: fi
 4415: ac_ext=c
 4416: ac_cpp='$CPP $CPPFLAGS'
 4417: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4418: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4419: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4420: 
 4421: depcc="$CXX"  am_compiler_list=
 4422: 
 4423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4424: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4425: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 4426:   $as_echo_n "(cached) " >&6
 4427: else
 4428:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4429:   # We make a subdir and do the tests there.  Otherwise we can end up
 4430:   # making bogus files that we don't know about and never remove.  For
 4431:   # instance it was reported that on HP-UX the gcc test will end up
 4432:   # making a dummy file named `D' -- because `-MD' means `put the output
 4433:   # in D'.
 4434:   mkdir conftest.dir
 4435:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4436:   # using a relative directory.
 4437:   cp "$am_depcomp" conftest.dir
 4438:   cd conftest.dir
 4439:   # We will build objects and dependencies in a subdirectory because
 4440:   # it helps to detect inapplicable dependency modes.  For instance
 4441:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4442:   # side effect of compilation, but ICC will put the dependencies in
 4443:   # the current directory while Tru64 will put them in the object
 4444:   # directory.
 4445:   mkdir sub
 4446: 
 4447:   am_cv_CXX_dependencies_compiler_type=none
 4448:   if test "$am_compiler_list" = ""; then
 4449:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4450:   fi
 4451:   am__universal=false
 4452:   case " $depcc " in #(
 4453:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4454:      esac
 4455: 
 4456:   for depmode in $am_compiler_list; do
 4457:     # Setup a source with many dependencies, because some compilers
 4458:     # like to wrap large dependency lists on column 80 (with \), and
 4459:     # we should not choose a depcomp mode which is confused by this.
 4460:     #
 4461:     # We need to recreate these files for each test, as the compiler may
 4462:     # overwrite some of them when testing with obscure command lines.
 4463:     # This happens at least with the AIX C compiler.
 4464:     : > sub/conftest.c
 4465:     for i in 1 2 3 4 5 6; do
 4466:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4467:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4468:       # Solaris 8's {/usr,}/bin/sh.
 4469:       touch sub/conftst$i.h
 4470:     done
 4471:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4472: 
 4473:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4474:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4475:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4476:     # versions had trouble with output in subdirs
 4477:     am__obj=sub/conftest.${OBJEXT-o}
 4478:     am__minus_obj="-o $am__obj"
 4479:     case $depmode in
 4480:     gcc)
 4481:       # This depmode causes a compiler race in universal mode.
 4482:       test "$am__universal" = false || continue
 4483:       ;;
 4484:     nosideeffect)
 4485:       # after this tag, mechanisms are not by side-effect, so they'll
 4486:       # only be used when explicitly requested
 4487:       if test "x$enable_dependency_tracking" = xyes; then
 4488:     continue
 4489:       else
 4490:     break
 4491:       fi
 4492:       ;;
 4493:     msvisualcpp | msvcmsys)
 4494:       # This compiler won't grok `-c -o', but also, the minuso test has
 4495:       # not run yet.  These depmodes are late enough in the game, and
 4496:       # so weak that their functioning should not be impacted.
 4497:       am__obj=conftest.${OBJEXT-o}
 4498:       am__minus_obj=
 4499:       ;;
 4500:     none) break ;;
 4501:     esac
 4502:     if depmode=$depmode \
 4503:        source=sub/conftest.c object=$am__obj \
 4504:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4505:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4506:          >/dev/null 2>conftest.err &&
 4507:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4508:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4509:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4510:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4511:       # icc doesn't choke on unknown options, it will just issue warnings
 4512:       # or remarks (even with -Werror).  So we grep stderr for any message
 4513:       # that says an option was ignored or not supported.
 4514:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4515:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4516:       # The diagnosis changed in icc 8.0:
 4517:       #   icc: Command line remark: option '-MP' not supported
 4518:       if (grep 'ignoring option' conftest.err ||
 4519:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4520:         am_cv_CXX_dependencies_compiler_type=$depmode
 4521:         break
 4522:       fi
 4523:     fi
 4524:   done
 4525: 
 4526:   cd ..
 4527:   rm -rf conftest.dir
 4528: else
 4529:   am_cv_CXX_dependencies_compiler_type=none
 4530: fi
 4531: 
 4532: fi
 4533: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4534: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4535: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4536: 
 4537:  if
 4538:   test "x$enable_dependency_tracking" != xno \
 4539:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4540:   am__fastdepCXX_TRUE=
 4541:   am__fastdepCXX_FALSE='#'
 4542: else
 4543:   am__fastdepCXX_TRUE='#'
 4544:   am__fastdepCXX_FALSE=
 4545: fi
 4546: 
 4547: 
 4548: 
 4549: if test "$GXX" != yes; then
 4550:     as_fn_error "Cannot find g++! You have to install it." "$LINENO" 5
 4551: fi
 4552: 
 4553: ac_ext=f
 4554: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4555: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4556: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4557: if test -n "$ac_tool_prefix"; then
 4558:   for ac_prog in gfortran
 4559:   do
 4560:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4561: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4562: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4563: $as_echo_n "checking for $ac_word... " >&6; }
 4564: if test "${ac_cv_prog_F77+set}" = set; then :
 4565:   $as_echo_n "(cached) " >&6
 4566: else
 4567:   if test -n "$F77"; then
 4568:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4569: else
 4570: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4571: for as_dir in $PATH
 4572: do
 4573:   IFS=$as_save_IFS
 4574:   test -z "$as_dir" && as_dir=.
 4575:     for ac_exec_ext in '' $ac_executable_extensions; do
 4576:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4577:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4578:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4579:     break 2
 4580:   fi
 4581: done
 4582:   done
 4583: IFS=$as_save_IFS
 4584: 
 4585: fi
 4586: fi
 4587: F77=$ac_cv_prog_F77
 4588: if test -n "$F77"; then
 4589:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4590: $as_echo "$F77" >&6; }
 4591: else
 4592:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4593: $as_echo "no" >&6; }
 4594: fi
 4595: 
 4596: 
 4597:     test -n "$F77" && break
 4598:   done
 4599: fi
 4600: if test -z "$F77"; then
 4601:   ac_ct_F77=$F77
 4602:   for ac_prog in gfortran
 4603: do
 4604:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4605: set dummy $ac_prog; ac_word=$2
 4606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4607: $as_echo_n "checking for $ac_word... " >&6; }
 4608: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
 4609:   $as_echo_n "(cached) " >&6
 4610: else
 4611:   if test -n "$ac_ct_F77"; then
 4612:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4613: else
 4614: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4615: for as_dir in $PATH
 4616: do
 4617:   IFS=$as_save_IFS
 4618:   test -z "$as_dir" && as_dir=.
 4619:     for ac_exec_ext in '' $ac_executable_extensions; do
 4620:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4621:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4622:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4623:     break 2
 4624:   fi
 4625: done
 4626:   done
 4627: IFS=$as_save_IFS
 4628: 
 4629: fi
 4630: fi
 4631: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4632: if test -n "$ac_ct_F77"; then
 4633:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4634: $as_echo "$ac_ct_F77" >&6; }
 4635: else
 4636:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4637: $as_echo "no" >&6; }
 4638: fi
 4639: 
 4640: 
 4641:   test -n "$ac_ct_F77" && break
 4642: done
 4643: 
 4644:   if test "x$ac_ct_F77" = x; then
 4645:     F77=""
 4646:   else
 4647:     case $cross_compiling:$ac_tool_warned in
 4648: yes:)
 4649: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4650: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4651: ac_tool_warned=yes ;;
 4652: esac
 4653:     F77=$ac_ct_F77
 4654:   fi
 4655: fi
 4656: 
 4657: 
 4658: # Provide some information about the compiler.
 4659: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4660: set X $ac_compile
 4661: ac_compiler=$2
 4662: for ac_option in --version -v -V -qversion; do
 4663:   { { ac_try="$ac_compiler $ac_option >&5"
 4664: case "(($ac_try" in
 4665:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4666:   *) ac_try_echo=$ac_try;;
 4667: esac
 4668: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4669: $as_echo "$ac_try_echo"; } >&5
 4670:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4671:   ac_status=$?
 4672:   if test -s conftest.err; then
 4673:     sed '10a\
 4674: ... rest of stderr output deleted ...
 4675:          10q' conftest.err >conftest.er1
 4676:     cat conftest.er1 >&5
 4677:   fi
 4678:   rm -f conftest.er1 conftest.err
 4679:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4680:   test $ac_status = 0; }
 4681: done
 4682: rm -f a.out
 4683: 
 4684: # If we don't use `.F' as extension, the preprocessor is not run on the
 4685: # input file.  (Note that this only needs to work for GNU compilers.)
 4686: ac_save_ext=$ac_ext
 4687: ac_ext=F
 4688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4689: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4690: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
 4691:   $as_echo_n "(cached) " >&6
 4692: else
 4693:   cat > conftest.$ac_ext <<_ACEOF
 4694:       program main
 4695: #ifndef __GNUC__
 4696:        choke me
 4697: #endif
 4698: 
 4699:       end
 4700: _ACEOF
 4701: if ac_fn_f77_try_compile "$LINENO"; then :
 4702:   ac_compiler_gnu=yes
 4703: else
 4704:   ac_compiler_gnu=no
 4705: fi
 4706: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4707: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4708: 
 4709: fi
 4710: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4711: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4712: ac_ext=$ac_save_ext
 4713: ac_test_FFLAGS=${FFLAGS+set}
 4714: ac_save_FFLAGS=$FFLAGS
 4715: FFLAGS=
 4716: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4717: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4718: if test "${ac_cv_prog_f77_g+set}" = set; then :
 4719:   $as_echo_n "(cached) " >&6
 4720: else
 4721:   FFLAGS=-g
 4722: cat > conftest.$ac_ext <<_ACEOF
 4723:       program main
 4724: 
 4725:       end
 4726: _ACEOF
 4727: if ac_fn_f77_try_compile "$LINENO"; then :
 4728:   ac_cv_prog_f77_g=yes
 4729: else
 4730:   ac_cv_prog_f77_g=no
 4731: fi
 4732: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4733: 
 4734: fi
 4735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4736: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4737: if test "$ac_test_FFLAGS" = set; then
 4738:   FFLAGS=$ac_save_FFLAGS
 4739: elif test $ac_cv_prog_f77_g = yes; then
 4740:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4741:     FFLAGS="-g -O2"
 4742:   else
 4743:     FFLAGS="-g"
 4744:   fi
 4745: else
 4746:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4747:     FFLAGS="-O2"
 4748:   else
 4749:     FFLAGS=
 4750:   fi
 4751: fi
 4752: 
 4753: if test $ac_compiler_gnu = yes; then
 4754:   G77=yes
 4755: else
 4756:   G77=
 4757: fi
 4758: ac_ext=c
 4759: ac_cpp='$CPP $CPPFLAGS'
 4760: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4761: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4762: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4763: 
 4764: 
 4765: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
 4766:     as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
 4767: fi
 4768: 
 4769: ac_ext=${ac_fc_srcext-f}
 4770: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4771: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4772: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4773: if test -n "$ac_tool_prefix"; then
 4774:   for ac_prog in gfortran
 4775:   do
 4776:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4777: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4778: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4779: $as_echo_n "checking for $ac_word... " >&6; }
 4780: if test "${ac_cv_prog_FC+set}" = set; then :
 4781:   $as_echo_n "(cached) " >&6
 4782: else
 4783:   if test -n "$FC"; then
 4784:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4785: else
 4786: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4787: for as_dir in $PATH
 4788: do
 4789:   IFS=$as_save_IFS
 4790:   test -z "$as_dir" && as_dir=.
 4791:     for ac_exec_ext in '' $ac_executable_extensions; do
 4792:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4793:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4794:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4795:     break 2
 4796:   fi
 4797: done
 4798:   done
 4799: IFS=$as_save_IFS
 4800: 
 4801: fi
 4802: fi
 4803: FC=$ac_cv_prog_FC
 4804: if test -n "$FC"; then
 4805:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4806: $as_echo "$FC" >&6; }
 4807: else
 4808:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4809: $as_echo "no" >&6; }
 4810: fi
 4811: 
 4812: 
 4813:     test -n "$FC" && break
 4814:   done
 4815: fi
 4816: if test -z "$FC"; then
 4817:   ac_ct_FC=$FC
 4818:   for ac_prog in gfortran
 4819: do
 4820:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4821: set dummy $ac_prog; ac_word=$2
 4822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4823: $as_echo_n "checking for $ac_word... " >&6; }
 4824: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
 4825:   $as_echo_n "(cached) " >&6
 4826: else
 4827:   if test -n "$ac_ct_FC"; then
 4828:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4829: else
 4830: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4831: for as_dir in $PATH
 4832: do
 4833:   IFS=$as_save_IFS
 4834:   test -z "$as_dir" && as_dir=.
 4835:     for ac_exec_ext in '' $ac_executable_extensions; do
 4836:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4837:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4838:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4839:     break 2
 4840:   fi
 4841: done
 4842:   done
 4843: IFS=$as_save_IFS
 4844: 
 4845: fi
 4846: fi
 4847: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4848: if test -n "$ac_ct_FC"; then
 4849:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4850: $as_echo "$ac_ct_FC" >&6; }
 4851: else
 4852:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4853: $as_echo "no" >&6; }
 4854: fi
 4855: 
 4856: 
 4857:   test -n "$ac_ct_FC" && break
 4858: done
 4859: 
 4860:   if test "x$ac_ct_FC" = x; then
 4861:     FC=""
 4862:   else
 4863:     case $cross_compiling:$ac_tool_warned in
 4864: yes:)
 4865: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4866: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4867: ac_tool_warned=yes ;;
 4868: esac
 4869:     FC=$ac_ct_FC
 4870:   fi
 4871: fi
 4872: 
 4873: 
 4874: # Provide some information about the compiler.
 4875: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4876: set X $ac_compile
 4877: ac_compiler=$2
 4878: for ac_option in --version -v -V -qversion; do
 4879:   { { ac_try="$ac_compiler $ac_option >&5"
 4880: case "(($ac_try" in
 4881:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4882:   *) ac_try_echo=$ac_try;;
 4883: esac
 4884: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4885: $as_echo "$ac_try_echo"; } >&5
 4886:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4887:   ac_status=$?
 4888:   if test -s conftest.err; then
 4889:     sed '10a\
 4890: ... rest of stderr output deleted ...
 4891:          10q' conftest.err >conftest.er1
 4892:     cat conftest.er1 >&5
 4893:   fi
 4894:   rm -f conftest.er1 conftest.err
 4895:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4896:   test $ac_status = 0; }
 4897: done
 4898: rm -f a.out
 4899: 
 4900: # If we don't use `.F' as extension, the preprocessor is not run on the
 4901: # input file.  (Note that this only needs to work for GNU compilers.)
 4902: ac_save_ext=$ac_ext
 4903: ac_ext=F
 4904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 4905: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 4906: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
 4907:   $as_echo_n "(cached) " >&6
 4908: else
 4909:   cat > conftest.$ac_ext <<_ACEOF
 4910:       program main
 4911: #ifndef __GNUC__
 4912:        choke me
 4913: #endif
 4914: 
 4915:       end
 4916: _ACEOF
 4917: if ac_fn_fc_try_compile "$LINENO"; then :
 4918:   ac_compiler_gnu=yes
 4919: else
 4920:   ac_compiler_gnu=no
 4921: fi
 4922: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4923: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 4924: 
 4925: fi
 4926: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 4927: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 4928: ac_ext=$ac_save_ext
 4929: ac_test_FCFLAGS=${FCFLAGS+set}
 4930: ac_save_FCFLAGS=$FCFLAGS
 4931: FCFLAGS=
 4932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 4933: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 4934: if test "${ac_cv_prog_fc_g+set}" = set; then :
 4935:   $as_echo_n "(cached) " >&6
 4936: else
 4937:   FCFLAGS=-g
 4938: cat > conftest.$ac_ext <<_ACEOF
 4939:       program main
 4940: 
 4941:       end
 4942: _ACEOF
 4943: if ac_fn_fc_try_compile "$LINENO"; then :
 4944:   ac_cv_prog_fc_g=yes
 4945: else
 4946:   ac_cv_prog_fc_g=no
 4947: fi
 4948: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4949: 
 4950: fi
 4951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 4952: $as_echo "$ac_cv_prog_fc_g" >&6; }
 4953: if test "$ac_test_FCFLAGS" = set; then
 4954:   FCFLAGS=$ac_save_FCFLAGS
 4955: elif test $ac_cv_prog_fc_g = yes; then
 4956:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4957:     FCFLAGS="-g -O2"
 4958:   else
 4959:     FCFLAGS="-g"
 4960:   fi
 4961: else
 4962:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4963:     FCFLAGS="-O2"
 4964:   else
 4965:     FCFLAGS=
 4966:   fi
 4967: fi
 4968: 
 4969: ac_ext=c
 4970: ac_cpp='$CPP $CPPFLAGS'
 4971: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4972: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4973: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4974: 
 4975: 
 4976: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
 4977:     as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
 4978: fi
 4979: 
 4980: if test x"$FC" != x""; then
 4981:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4982:             awk -F. '{ printf("%s", $1);}'`
 4983:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4984:             awk -F. '{ printf("%s", $2);}'`
 4985:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4986:         OPTIMISATION_F=-O3
 4987:     else
 4988:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 4989:             OPTIMISATION_F=-O3
 4990:         else
 4991:             if test $GCC_VERSION_MAJEURE -ge 3; then
 4992:                 OPTIMISATION_F=-O2
 4993:             else
 4994:                 as_fn_error "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
 4995:             fi
 4996:         fi
 4997:     fi
 4998: fi
 4999: 
 5000: 
 5001: ac_ext=c
 5002: ac_cpp='$CPP $CPPFLAGS'
 5003: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5004: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5005: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5007: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5008: # On Suns, sometimes $CPP names a directory.
 5009: if test -n "$CPP" && test -d "$CPP"; then
 5010:   CPP=
 5011: fi
 5012: if test -z "$CPP"; then
 5013:   if test "${ac_cv_prog_CPP+set}" = set; then :
 5014:   $as_echo_n "(cached) " >&6
 5015: else
 5016:       # Double quotes because CPP needs to be expanded
 5017:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5018:     do
 5019:       ac_preproc_ok=false
 5020: for ac_c_preproc_warn_flag in '' yes
 5021: do
 5022:   # Use a header file that comes with gcc, so configuring glibc
 5023:   # with a fresh cross-compiler works.
 5024:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5025:   # <limits.h> exists even on freestanding compilers.
 5026:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5027:   # not just through cpp. "Syntax error" is here to catch this case.
 5028:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5029: /* end confdefs.h.  */
 5030: #ifdef __STDC__
 5031: # include <limits.h>
 5032: #else
 5033: # include <assert.h>
 5034: #endif
 5035:              Syntax error
 5036: _ACEOF
 5037: if ac_fn_c_try_cpp "$LINENO"; then :
 5038: 
 5039: else
 5040:   # Broken: fails on valid input.
 5041: continue
 5042: fi
 5043: rm -f conftest.err conftest.$ac_ext
 5044: 
 5045:   # OK, works on sane cases.  Now check whether nonexistent headers
 5046:   # can be detected and how.
 5047:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5048: /* end confdefs.h.  */
 5049: #include <ac_nonexistent.h>
 5050: _ACEOF
 5051: if ac_fn_c_try_cpp "$LINENO"; then :
 5052:   # Broken: success on invalid input.
 5053: continue
 5054: else
 5055:   # Passes both tests.
 5056: ac_preproc_ok=:
 5057: break
 5058: fi
 5059: rm -f conftest.err conftest.$ac_ext
 5060: 
 5061: done
 5062: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5063: rm -f conftest.err conftest.$ac_ext
 5064: if $ac_preproc_ok; then :
 5065:   break
 5066: fi
 5067: 
 5068:     done
 5069:     ac_cv_prog_CPP=$CPP
 5070: 
 5071: fi
 5072:   CPP=$ac_cv_prog_CPP
 5073: else
 5074:   ac_cv_prog_CPP=$CPP
 5075: fi
 5076: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5077: $as_echo "$CPP" >&6; }
 5078: ac_preproc_ok=false
 5079: for ac_c_preproc_warn_flag in '' yes
 5080: do
 5081:   # Use a header file that comes with gcc, so configuring glibc
 5082:   # with a fresh cross-compiler works.
 5083:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5084:   # <limits.h> exists even on freestanding compilers.
 5085:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5086:   # not just through cpp. "Syntax error" is here to catch this case.
 5087:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5088: /* end confdefs.h.  */
 5089: #ifdef __STDC__
 5090: # include <limits.h>
 5091: #else
 5092: # include <assert.h>
 5093: #endif
 5094:              Syntax error
 5095: _ACEOF
 5096: if ac_fn_c_try_cpp "$LINENO"; then :
 5097: 
 5098: else
 5099:   # Broken: fails on valid input.
 5100: continue
 5101: fi
 5102: rm -f conftest.err conftest.$ac_ext
 5103: 
 5104:   # OK, works on sane cases.  Now check whether nonexistent headers
 5105:   # can be detected and how.
 5106:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5107: /* end confdefs.h.  */
 5108: #include <ac_nonexistent.h>
 5109: _ACEOF
 5110: if ac_fn_c_try_cpp "$LINENO"; then :
 5111:   # Broken: success on invalid input.
 5112: continue
 5113: else
 5114:   # Passes both tests.
 5115: ac_preproc_ok=:
 5116: break
 5117: fi
 5118: rm -f conftest.err conftest.$ac_ext
 5119: 
 5120: done
 5121: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5122: rm -f conftest.err conftest.$ac_ext
 5123: if $ac_preproc_ok; then :
 5124: 
 5125: else
 5126:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5127: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5128: as_fn_error "C preprocessor \"$CPP\" fails sanity check
 5129: See \`config.log' for more details." "$LINENO" 5; }
 5130: fi
 5131: 
 5132: ac_ext=c
 5133: ac_cpp='$CPP $CPPFLAGS'
 5134: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5135: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5136: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5137: 
 5138: 
 5139: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5140: $as_echo_n "checking for X... " >&6; }
 5141: 
 5142: 
 5143: # Check whether --with-x was given.
 5144: if test "${with_x+set}" = set; then :
 5145:   withval=$with_x;
 5146: fi
 5147: 
 5148: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5149: if test "x$with_x" = xno; then
 5150:   # The user explicitly disabled X.
 5151:   have_x=disabled
 5152: else
 5153:   case $x_includes,$x_libraries in #(
 5154:     *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
 5155:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 5156:   $as_echo_n "(cached) " >&6
 5157: else
 5158:   # One or both of the vars are not set, and there is no cached value.
 5159: ac_x_includes=no ac_x_libraries=no
 5160: rm -f -r conftest.dir
 5161: if mkdir conftest.dir; then
 5162:   cd conftest.dir
 5163:   cat >Imakefile <<'_ACEOF'
 5164: incroot:
 5165:     @echo incroot='${INCROOT}'
 5166: usrlibdir:
 5167:     @echo usrlibdir='${USRLIBDIR}'
 5168: libdir:
 5169:     @echo libdir='${LIBDIR}'
 5170: _ACEOF
 5171:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5172:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 5173:     for ac_var in incroot usrlibdir libdir; do
 5174:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5175:     done
 5176:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5177:     for ac_extension in a so sl dylib la dll; do
 5178:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5179:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5180:     ac_im_usrlibdir=$ac_im_libdir; break
 5181:       fi
 5182:     done
 5183:     # Screen out bogus values from the imake configuration.  They are
 5184:     # bogus both because they are the default anyway, and because
 5185:     # using them would break gcc on systems where it needs fixed includes.
 5186:     case $ac_im_incroot in
 5187:     /usr/include) ac_x_includes= ;;
 5188:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5189:     esac
 5190:     case $ac_im_usrlibdir in
 5191:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5192:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5193:     esac
 5194:   fi
 5195:   cd ..
 5196:   rm -f -r conftest.dir
 5197: fi
 5198: 
 5199: # Standard set of common directories for X headers.
 5200: # Check X11 before X11Rn because it is often a symlink to the current release.
 5201: ac_x_header_dirs='
 5202: /usr/X11/include
 5203: /usr/X11R7/include
 5204: /usr/X11R6/include
 5205: /usr/X11R5/include
 5206: /usr/X11R4/include
 5207: 
 5208: /usr/include/X11
 5209: /usr/include/X11R7
 5210: /usr/include/X11R6
 5211: /usr/include/X11R5
 5212: /usr/include/X11R4
 5213: 
 5214: /usr/local/X11/include
 5215: /usr/local/X11R7/include
 5216: /usr/local/X11R6/include
 5217: /usr/local/X11R5/include
 5218: /usr/local/X11R4/include
 5219: 
 5220: /usr/local/include/X11
 5221: /usr/local/include/X11R7
 5222: /usr/local/include/X11R6
 5223: /usr/local/include/X11R5
 5224: /usr/local/include/X11R4
 5225: 
 5226: /usr/X386/include
 5227: /usr/x386/include
 5228: /usr/XFree86/include/X11
 5229: 
 5230: /usr/include
 5231: /usr/local/include
 5232: /usr/unsupported/include
 5233: /usr/athena/include
 5234: /usr/local/x11r5/include
 5235: /usr/lpp/Xamples/include
 5236: 
 5237: /usr/openwin/include
 5238: /usr/openwin/share/include'
 5239: 
 5240: if test "$ac_x_includes" = no; then
 5241:   # Guess where to find include files, by looking for Xlib.h.
 5242:   # First, try using that file with no special directory specified.
 5243:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5244: /* end confdefs.h.  */
 5245: #include <X11/Xlib.h>
 5246: _ACEOF
 5247: if ac_fn_c_try_cpp "$LINENO"; then :
 5248:   # We can compile using X headers with no special include directory.
 5249: ac_x_includes=
 5250: else
 5251:   for ac_dir in $ac_x_header_dirs; do
 5252:   if test -r "$ac_dir/X11/Xlib.h"; then
 5253:     ac_x_includes=$ac_dir
 5254:     break
 5255:   fi
 5256: done
 5257: fi
 5258: rm -f conftest.err conftest.$ac_ext
 5259: fi # $ac_x_includes = no
 5260: 
 5261: if test "$ac_x_libraries" = no; then
 5262:   # Check for the libraries.
 5263:   # See if we find them without any special options.
 5264:   # Don't add to $LIBS permanently.
 5265:   ac_save_LIBS=$LIBS
 5266:   LIBS="-lX11 $LIBS"
 5267:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5268: /* end confdefs.h.  */
 5269: #include <X11/Xlib.h>
 5270: int
 5271: main ()
 5272: {
 5273: XrmInitialize ()
 5274:   ;
 5275:   return 0;
 5276: }
 5277: _ACEOF
 5278: if ac_fn_c_try_link "$LINENO"; then :
 5279:   LIBS=$ac_save_LIBS
 5280: # We can link X programs with no special library path.
 5281: ac_x_libraries=
 5282: else
 5283:   LIBS=$ac_save_LIBS
 5284: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5285: do
 5286:   # Don't even attempt the hair of trying to link an X program!
 5287:   for ac_extension in a so sl dylib la dll; do
 5288:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5289:       ac_x_libraries=$ac_dir
 5290:       break 2
 5291:     fi
 5292:   done
 5293: done
 5294: fi
 5295: rm -f core conftest.err conftest.$ac_objext \
 5296:     conftest$ac_exeext conftest.$ac_ext
 5297: fi # $ac_x_libraries = no
 5298: 
 5299: case $ac_x_includes,$ac_x_libraries in #(
 5300:   no,* | *,no | *\'*)
 5301:     # Didn't find X, or a directory has "'" in its name.
 5302:     ac_cv_have_x="have_x=no";; #(
 5303:   *)
 5304:     # Record where we found X for the cache.
 5305:     ac_cv_have_x="have_x=yes\
 5306:     ac_x_includes='$ac_x_includes'\
 5307:     ac_x_libraries='$ac_x_libraries'"
 5308: esac
 5309: fi
 5310: ;; #(
 5311:     *) have_x=yes;;
 5312:   esac
 5313:   eval "$ac_cv_have_x"
 5314: fi # $with_x != no
 5315: 
 5316: if test "$have_x" != yes; then
 5317:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5318: $as_echo "$have_x" >&6; }
 5319:   no_x=yes
 5320: else
 5321:   # If each of the values was on the command line, it overrides each guess.
 5322:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5323:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5324:   # Update the cache value to reflect the command line values.
 5325:   ac_cv_have_x="have_x=yes\
 5326:     ac_x_includes='$x_includes'\
 5327:     ac_x_libraries='$x_libraries'"
 5328:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5329: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5330: fi
 5331: 
 5332: if test "$no_x" = yes; then
 5333:   # Not all programs may use this symbol, but it does not hurt to define it.
 5334: 
 5335: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5336: 
 5337:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5338: else
 5339:   if test -n "$x_includes"; then
 5340:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5341:   fi
 5342: 
 5343:   # It would also be nice to do this for all -L options, not just this one.
 5344:   if test -n "$x_libraries"; then
 5345:     X_LIBS="$X_LIBS -L$x_libraries"
 5346:     # For Solaris; some versions of Sun CC require a space after -R and
 5347:     # others require no space.  Words are not sufficient . . . .
 5348:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5349: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5350:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5351:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5352:     ac_c_werror_flag=yes
 5353:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5354: /* end confdefs.h.  */
 5355: 
 5356: int
 5357: main ()
 5358: {
 5359: 
 5360:   ;
 5361:   return 0;
 5362: }
 5363: _ACEOF
 5364: if ac_fn_c_try_link "$LINENO"; then :
 5365:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5366: $as_echo "no" >&6; }
 5367:        X_LIBS="$X_LIBS -R$x_libraries"
 5368: else
 5369:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5370:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5371: /* end confdefs.h.  */
 5372: 
 5373: int
 5374: main ()
 5375: {
 5376: 
 5377:   ;
 5378:   return 0;
 5379: }
 5380: _ACEOF
 5381: if ac_fn_c_try_link "$LINENO"; then :
 5382:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5383: $as_echo "yes" >&6; }
 5384:       X_LIBS="$X_LIBS -R $x_libraries"
 5385: else
 5386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5387: $as_echo "neither works" >&6; }
 5388: fi
 5389: rm -f core conftest.err conftest.$ac_objext \
 5390:     conftest$ac_exeext conftest.$ac_ext
 5391: fi
 5392: rm -f core conftest.err conftest.$ac_objext \
 5393:     conftest$ac_exeext conftest.$ac_ext
 5394:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5395:     LIBS=$ac_xsave_LIBS
 5396:   fi
 5397: 
 5398:   # Check for system-dependent libraries X programs must link with.
 5399:   # Do this before checking for the system-independent R6 libraries
 5400:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5401: 
 5402:   if test "$ISC" = yes; then
 5403:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5404:   else
 5405:     # Martyn Johnson says this is needed for Ultrix, if the X
 5406:     # libraries were built with DECnet support.  And Karl Berry says
 5407:     # the Alpha needs dnet_stub (dnet does not exist).
 5408:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5409:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5410: /* end confdefs.h.  */
 5411: 
 5412: /* Override any GCC internal prototype to avoid an error.
 5413:    Use char because int might match the return type of a GCC
 5414:    builtin and then its argument prototype would still apply.  */
 5415: #ifdef __cplusplus
 5416: extern "C"
 5417: #endif
 5418: char XOpenDisplay ();
 5419: int
 5420: main ()
 5421: {
 5422: return XOpenDisplay ();
 5423:   ;
 5424:   return 0;
 5425: }
 5426: _ACEOF
 5427: if ac_fn_c_try_link "$LINENO"; then :
 5428: 
 5429: else
 5430:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5431: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5432: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 5433:   $as_echo_n "(cached) " >&6
 5434: else
 5435:   ac_check_lib_save_LIBS=$LIBS
 5436: LIBS="-ldnet  $LIBS"
 5437: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5438: /* end confdefs.h.  */
 5439: 
 5440: /* Override any GCC internal prototype to avoid an error.
 5441:    Use char because int might match the return type of a GCC
 5442:    builtin and then its argument prototype would still apply.  */
 5443: #ifdef __cplusplus
 5444: extern "C"
 5445: #endif
 5446: char dnet_ntoa ();
 5447: int
 5448: main ()
 5449: {
 5450: return dnet_ntoa ();
 5451:   ;
 5452:   return 0;
 5453: }
 5454: _ACEOF
 5455: if ac_fn_c_try_link "$LINENO"; then :
 5456:   ac_cv_lib_dnet_dnet_ntoa=yes
 5457: else
 5458:   ac_cv_lib_dnet_dnet_ntoa=no
 5459: fi
 5460: rm -f core conftest.err conftest.$ac_objext \
 5461:     conftest$ac_exeext conftest.$ac_ext
 5462: LIBS=$ac_check_lib_save_LIBS
 5463: fi
 5464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5465: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5466: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 5467:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5468: fi
 5469: 
 5470:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5471:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5472: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5473: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 5474:   $as_echo_n "(cached) " >&6
 5475: else
 5476:   ac_check_lib_save_LIBS=$LIBS
 5477: LIBS="-ldnet_stub  $LIBS"
 5478: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5479: /* end confdefs.h.  */
 5480: 
 5481: /* Override any GCC internal prototype to avoid an error.
 5482:    Use char because int might match the return type of a GCC
 5483:    builtin and then its argument prototype would still apply.  */
 5484: #ifdef __cplusplus
 5485: extern "C"
 5486: #endif
 5487: char dnet_ntoa ();
 5488: int
 5489: main ()
 5490: {
 5491: return dnet_ntoa ();
 5492:   ;
 5493:   return 0;
 5494: }
 5495: _ACEOF
 5496: if ac_fn_c_try_link "$LINENO"; then :
 5497:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5498: else
 5499:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5500: fi
 5501: rm -f core conftest.err conftest.$ac_objext \
 5502:     conftest$ac_exeext conftest.$ac_ext
 5503: LIBS=$ac_check_lib_save_LIBS
 5504: fi
 5505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5506: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5507: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 5508:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5509: fi
 5510: 
 5511:     fi
 5512: fi
 5513: rm -f core conftest.err conftest.$ac_objext \
 5514:     conftest$ac_exeext conftest.$ac_ext
 5515:     LIBS="$ac_xsave_LIBS"
 5516: 
 5517:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5518:     # to get the SysV transport functions.
 5519:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5520:     # needs -lnsl.
 5521:     # The nsl library prevents programs from opening the X display
 5522:     # on Irix 5.2, according to T.E. Dickey.
 5523:     # The functions gethostbyname, getservbyname, and inet_addr are
 5524:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5525:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5526: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 5527: 
 5528: fi
 5529: 
 5530:     if test $ac_cv_func_gethostbyname = no; then
 5531:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5532: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5533: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 5534:   $as_echo_n "(cached) " >&6
 5535: else
 5536:   ac_check_lib_save_LIBS=$LIBS
 5537: LIBS="-lnsl  $LIBS"
 5538: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5539: /* end confdefs.h.  */
 5540: 
 5541: /* Override any GCC internal prototype to avoid an error.
 5542:    Use char because int might match the return type of a GCC
 5543:    builtin and then its argument prototype would still apply.  */
 5544: #ifdef __cplusplus
 5545: extern "C"
 5546: #endif
 5547: char gethostbyname ();
 5548: int
 5549: main ()
 5550: {
 5551: return gethostbyname ();
 5552:   ;
 5553:   return 0;
 5554: }
 5555: _ACEOF
 5556: if ac_fn_c_try_link "$LINENO"; then :
 5557:   ac_cv_lib_nsl_gethostbyname=yes
 5558: else
 5559:   ac_cv_lib_nsl_gethostbyname=no
 5560: fi
 5561: rm -f core conftest.err conftest.$ac_objext \
 5562:     conftest$ac_exeext conftest.$ac_ext
 5563: LIBS=$ac_check_lib_save_LIBS
 5564: fi
 5565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5566: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5567: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 5568:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5569: fi
 5570: 
 5571:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5572:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5573: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5574: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 5575:   $as_echo_n "(cached) " >&6
 5576: else
 5577:   ac_check_lib_save_LIBS=$LIBS
 5578: LIBS="-lbsd  $LIBS"
 5579: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5580: /* end confdefs.h.  */
 5581: 
 5582: /* Override any GCC internal prototype to avoid an error.
 5583:    Use char because int might match the return type of a GCC
 5584:    builtin and then its argument prototype would still apply.  */
 5585: #ifdef __cplusplus
 5586: extern "C"
 5587: #endif
 5588: char gethostbyname ();
 5589: int
 5590: main ()
 5591: {
 5592: return gethostbyname ();
 5593:   ;
 5594:   return 0;
 5595: }
 5596: _ACEOF
 5597: if ac_fn_c_try_link "$LINENO"; then :
 5598:   ac_cv_lib_bsd_gethostbyname=yes
 5599: else
 5600:   ac_cv_lib_bsd_gethostbyname=no
 5601: fi
 5602: rm -f core conftest.err conftest.$ac_objext \
 5603:     conftest$ac_exeext conftest.$ac_ext
 5604: LIBS=$ac_check_lib_save_LIBS
 5605: fi
 5606: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5607: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5608: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 5609:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5610: fi
 5611: 
 5612:       fi
 5613:     fi
 5614: 
 5615:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5616:     # socket/setsockopt and other routines are undefined under SCO ODT
 5617:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5618:     # on later versions), says Simon Leinen: it contains gethostby*
 5619:     # variants that don't use the name server (or something).  -lsocket
 5620:     # must be given before -lnsl if both are needed.  We assume that
 5621:     # if connect needs -lnsl, so does gethostbyname.
 5622:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5623: if test "x$ac_cv_func_connect" = x""yes; then :
 5624: 
 5625: fi
 5626: 
 5627:     if test $ac_cv_func_connect = no; then
 5628:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5629: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5630: if test "${ac_cv_lib_socket_connect+set}" = set; then :
 5631:   $as_echo_n "(cached) " >&6
 5632: else
 5633:   ac_check_lib_save_LIBS=$LIBS
 5634: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5635: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5636: /* end confdefs.h.  */
 5637: 
 5638: /* Override any GCC internal prototype to avoid an error.
 5639:    Use char because int might match the return type of a GCC
 5640:    builtin and then its argument prototype would still apply.  */
 5641: #ifdef __cplusplus
 5642: extern "C"
 5643: #endif
 5644: char connect ();
 5645: int
 5646: main ()
 5647: {
 5648: return connect ();
 5649:   ;
 5650:   return 0;
 5651: }
 5652: _ACEOF
 5653: if ac_fn_c_try_link "$LINENO"; then :
 5654:   ac_cv_lib_socket_connect=yes
 5655: else
 5656:   ac_cv_lib_socket_connect=no
 5657: fi
 5658: rm -f core conftest.err conftest.$ac_objext \
 5659:     conftest$ac_exeext conftest.$ac_ext
 5660: LIBS=$ac_check_lib_save_LIBS
 5661: fi
 5662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5663: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5664: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 5665:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5666: fi
 5667: 
 5668:     fi
 5669: 
 5670:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5671:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5672: if test "x$ac_cv_func_remove" = x""yes; then :
 5673: 
 5674: fi
 5675: 
 5676:     if test $ac_cv_func_remove = no; then
 5677:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5678: $as_echo_n "checking for remove in -lposix... " >&6; }
 5679: if test "${ac_cv_lib_posix_remove+set}" = set; then :
 5680:   $as_echo_n "(cached) " >&6
 5681: else
 5682:   ac_check_lib_save_LIBS=$LIBS
 5683: LIBS="-lposix  $LIBS"
 5684: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5685: /* end confdefs.h.  */
 5686: 
 5687: /* Override any GCC internal prototype to avoid an error.
 5688:    Use char because int might match the return type of a GCC
 5689:    builtin and then its argument prototype would still apply.  */
 5690: #ifdef __cplusplus
 5691: extern "C"
 5692: #endif
 5693: char remove ();
 5694: int
 5695: main ()
 5696: {
 5697: return remove ();
 5698:   ;
 5699:   return 0;
 5700: }
 5701: _ACEOF
 5702: if ac_fn_c_try_link "$LINENO"; then :
 5703:   ac_cv_lib_posix_remove=yes
 5704: else
 5705:   ac_cv_lib_posix_remove=no
 5706: fi
 5707: rm -f core conftest.err conftest.$ac_objext \
 5708:     conftest$ac_exeext conftest.$ac_ext
 5709: LIBS=$ac_check_lib_save_LIBS
 5710: fi
 5711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5712: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5713: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 5714:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5715: fi
 5716: 
 5717:     fi
 5718: 
 5719:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5720:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5721: if test "x$ac_cv_func_shmat" = x""yes; then :
 5722: 
 5723: fi
 5724: 
 5725:     if test $ac_cv_func_shmat = no; then
 5726:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5727: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5728: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 5729:   $as_echo_n "(cached) " >&6
 5730: else
 5731:   ac_check_lib_save_LIBS=$LIBS
 5732: LIBS="-lipc  $LIBS"
 5733: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5734: /* end confdefs.h.  */
 5735: 
 5736: /* Override any GCC internal prototype to avoid an error.
 5737:    Use char because int might match the return type of a GCC
 5738:    builtin and then its argument prototype would still apply.  */
 5739: #ifdef __cplusplus
 5740: extern "C"
 5741: #endif
 5742: char shmat ();
 5743: int
 5744: main ()
 5745: {
 5746: return shmat ();
 5747:   ;
 5748:   return 0;
 5749: }
 5750: _ACEOF
 5751: if ac_fn_c_try_link "$LINENO"; then :
 5752:   ac_cv_lib_ipc_shmat=yes
 5753: else
 5754:   ac_cv_lib_ipc_shmat=no
 5755: fi
 5756: rm -f core conftest.err conftest.$ac_objext \
 5757:     conftest$ac_exeext conftest.$ac_ext
 5758: LIBS=$ac_check_lib_save_LIBS
 5759: fi
 5760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5761: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5762: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 5763:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5764: fi
 5765: 
 5766:     fi
 5767:   fi
 5768: 
 5769:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5770:   ac_save_LDFLAGS=$LDFLAGS
 5771:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5772:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5773:   # check for ICE first), but we must link in the order -lSM -lICE or
 5774:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5775:   # These have to be linked with before -lX11, unlike the other
 5776:   # libraries we check for below, so use a different variable.
 5777:   # John Interrante, Karl Berry
 5778:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5779: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5780: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 5781:   $as_echo_n "(cached) " >&6
 5782: else
 5783:   ac_check_lib_save_LIBS=$LIBS
 5784: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 5785: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5786: /* end confdefs.h.  */
 5787: 
 5788: /* Override any GCC internal prototype to avoid an error.
 5789:    Use char because int might match the return type of a GCC
 5790:    builtin and then its argument prototype would still apply.  */
 5791: #ifdef __cplusplus
 5792: extern "C"
 5793: #endif
 5794: char IceConnectionNumber ();
 5795: int
 5796: main ()
 5797: {
 5798: return IceConnectionNumber ();
 5799:   ;
 5800:   return 0;
 5801: }
 5802: _ACEOF
 5803: if ac_fn_c_try_link "$LINENO"; then :
 5804:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5805: else
 5806:   ac_cv_lib_ICE_IceConnectionNumber=no
 5807: fi
 5808: rm -f core conftest.err conftest.$ac_objext \
 5809:     conftest$ac_exeext conftest.$ac_ext
 5810: LIBS=$ac_check_lib_save_LIBS
 5811: fi
 5812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 5813: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5814: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 5815:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5816: fi
 5817: 
 5818:   LDFLAGS=$ac_save_LDFLAGS
 5819: 
 5820: fi
 5821: 
 5822: 
 5823: if test "$ac_x_includes" != "no"; then
 5824:     if test x"$ac_x_includes" != x; then
 5825:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5826:         includeX="-I$ac_x_includes"
 5827:     fi
 5828: fi
 5829: if test "$ac_x_libraries" != "no"; then
 5830:     if test x"$ac_x_libraries" != x; then
 5831:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5832:     fi
 5833: fi
 5834: 
 5835: # Check whether --enable-optimization was given.
 5836: if test "${enable_optimization+set}" = set; then :
 5837:   enableval=$enable_optimization;
 5838: if test "$enableval" = "no"; then
 5839:     CFLAGS=
 5840:     FFLAGS=
 5841:     CXXFLAGS=
 5842:     FCFLAGS=
 5843: else
 5844:     CFLAGS="$CFLAGS $enable_optimization"
 5845:     FFLAGS="$FFLAGS $enable_optimization"
 5846:     FCFLAGS="$FCFLAGS $enable_optimization"
 5847: fi
 5848: else
 5849: 
 5850:     CFLAGS="$CFLAGS $OPTIMISATION_C"
 5851:     FFLAGS="$FFLAGS $OPTIMISATION_F"
 5852:     FCFLAGS="$FCFLAGS $OPTIMISATION_F"
 5853: 
 5854: 
 5855: fi
 5856: 
 5857: 
 5858: # Check whether --enable-full-static was given.
 5859: if test "${enable_full_static+set}" = set; then :
 5860:   enableval=$enable_full_static;
 5861: if test "$enableval" = "no"; then
 5862:     STATIC=no
 5863: else
 5864:     STATIC=yes
 5865: fi
 5866: else
 5867:   STATIC=no
 5868: fi
 5869: 
 5870: 
 5871: # Check whether --enable-final-encoding was given.
 5872: if test "${enable_final_encoding+set}" = set; then :
 5873:   enableval=$enable_final_encoding;
 5874: if test "$enableval" = "no"; then
 5875:     FINAL_ENCODING="\$(shell locale charmap | \
 5876:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5877: else
 5878:     FINAL_ENCODING="$enable_final_encoding"
 5879: fi
 5880: else
 5881:   FINAL_ENCODING="\$(shell locale charmap | \
 5882:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5883: fi
 5884: 
 5885: 
 5886: # Check whether --enable-tex was given.
 5887: if test "${enable_tex+set}" = set; then :
 5888:   enableval=$enable_tex;
 5889: if test "$enableval" = "no"; then
 5890:     TEX_SUPPORT=no
 5891: else
 5892:     TEX_SUPPORT=yes
 5893: fi
 5894: else
 5895:   TEX_SUPPORT=guessed
 5896: fi
 5897: 
 5898: 
 5899: # Check whether --enable-vim was given.
 5900: if test "${enable_vim+set}" = set; then :
 5901:   enableval=$enable_vim;
 5902: if test "$enableval" = "no"; then
 5903:     VIM_SUPPORT=no
 5904: else
 5905:     VIM_SUPPORT=yes
 5906: fi
 5907: else
 5908:   VIM_SUPPORT=guessed
 5909: fi
 5910: 
 5911: 
 5912: # Check whether --enable-embedded-gnuplot was given.
 5913: if test "${enable_embedded_gnuplot+set}" = set; then :
 5914:   enableval=$enable_embedded_gnuplot;
 5915: if test "$enableval" = "no"; then
 5916:     MYGNUPLOT=no
 5917: else
 5918:     MYGNUPLOT=yes
 5919: fi
 5920: else
 5921: 
 5922: MYGNUPLOT=yes
 5923: fi
 5924: 
 5925: 
 5926: # Check whether --enable-gnuplot was given.
 5927: if test "${enable_gnuplot+set}" = set; then :
 5928:   enableval=$enable_gnuplot;
 5929: if test "$enableval" = "no"; then
 5930:     GNUPLOT_SUPPORT=no
 5931:     MYGNUPLOT=no
 5932:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5933: else
 5934:     GNUPLOT_SUPPORT=yes
 5935:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5936: fi
 5937: else
 5938: 
 5939: if test "$MYGNUPLOT" = "yes"; then
 5940:     GNUPLOT_SUPPORT=yes
 5941:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5942: else
 5943:     GNUPLOT_SUPPORT=guessed
 5944:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5945: fi
 5946: fi
 5947: 
 5948: 
 5949: # Check whether --enable-motif was given.
 5950: if test "${enable_motif+set}" = set; then :
 5951:   enableval=$enable_motif;
 5952: if test "$enableval" = "no"; then
 5953:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 5954: else
 5955:     CFLAGS_ORIG=$CFLAGS
 5956:     LIBS_ORIG=$LIBS
 5957:     CFLAGS="$CFLAGS $X_CFLAGS"
 5958:     LIBS="$LIB $X_LIBS"
 5959:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 5960: $as_echo_n "checking for main in -lXm... " >&6; }
 5961: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 5962:   $as_echo_n "(cached) " >&6
 5963: else
 5964:   ac_check_lib_save_LIBS=$LIBS
 5965: LIBS="-lXm  $LIBS"
 5966: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5967: /* end confdefs.h.  */
 5968: 
 5969: 
 5970: int
 5971: main ()
 5972: {
 5973: return main ();
 5974:   ;
 5975:   return 0;
 5976: }
 5977: _ACEOF
 5978: if ac_fn_c_try_link "$LINENO"; then :
 5979:   ac_cv_lib_Xm_main=yes
 5980: else
 5981:   ac_cv_lib_Xm_main=no
 5982: fi
 5983: rm -f core conftest.err conftest.$ac_objext \
 5984:     conftest$ac_exeext conftest.$ac_ext
 5985: LIBS=$ac_check_lib_save_LIBS
 5986: fi
 5987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 5988: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 5989: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 5990:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 5991: else
 5992:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 5993: fi
 5994: 
 5995:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 5996:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
 5997: Motif flag is disabled.
 5998: " >&5
 5999: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
 6000: Motif flag is disabled.
 6001: " >&2;}
 6002:     fi
 6003:     LIBS=$LIBS_ORIG
 6004:     CFLAGS=$CFLAGS_ORIG
 6005: fi
 6006: else
 6007:   MOTIF_SUPPORT=guessed
 6008: fi
 6009: 
 6010: 
 6011: # Check whether --enable-experimental was given.
 6012: if test "${enable_experimental+set}" = set; then :
 6013:   enableval=$enable_experimental;
 6014: if test "$enableval" = "no"; then
 6015:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6016: else
 6017:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6018: fi
 6019: else
 6020:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6021: fi
 6022: 
 6023: 
 6024: # Check whether --enable-debug was given.
 6025: if test "${enable_debug+set}" = set; then :
 6026:   enableval=$enable_debug;
 6027: if test "$enableval" = "no"; then
 6028:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6029:     MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"
 6030: else
 6031:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6032:     MALLOC=""
 6033: fi
 6034: else
 6035:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6036:     MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"
 6037: fi
 6038: 
 6039: 
 6040: # Check whether --enable-profile was given.
 6041: if test "${enable_profile+set}" = set; then :
 6042:   enableval=$enable_profile;
 6043: if test "$enableval" = "no"; then
 6044:     PROFILAGE=""
 6045: else
 6046:     PROFILAGE="-pg"
 6047: fi
 6048: else
 6049:   PROFILAGE=""
 6050: fi
 6051: 
 6052: 
 6053: 
 6054: 
 6055: if test ! -d tools; then
 6056:     mkdir tools
 6057: fi
 6058: if test ! -d "$srcdir"/tools/$NCURSES; then
 6059:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6060:             (cd "$srcdir/tools" && tar -xf -)
 6061: fi
 6062: if test ! -d "$srcdir"/tools/$READLINE; then
 6063:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6064:             (cd "$srcdir/tools" && tar -xf -)
 6065: fi
 6066: if test ! -d "$srcdir"/tools/$UNITS; then
 6067:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6068:             (cd "$srcdir/tools" && tar -xf -)
 6069: fi
 6070: if test ! -d "$srcdir"/tools/$GSL; then
 6071:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6072:             (cd "$srcdir/tools" && tar -xf -)
 6073:     if test $(uname) = "OS/2"; then
 6074:         (cd "$srcdir"/tools/$GSL; \
 6075:                 TMP=$(mktemp tmp.XXXXXXXXXX); \
 6076:                 sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
 6077:                 \mv -f $TMP ltmain.sh)
 6078:     fi
 6079: fi
 6080: if test ! -d "$srcdir"/tools/$GPP; then
 6081:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6082:             (cd "$srcdir/tools" && tar -xf -)
 6083: fi
 6084: if test ! -d "$srcdir"/tools/$FILE; then
 6085:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6086:             (cd "$srcdir/tools" && tar -xf - )
 6087:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6088: fi
 6089: if test ! -d "$srcdir"/tools/$ICONV; then
 6090:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6091:             (cd "$srcdir/tools" && tar -xf -)
 6092: fi
 6093: if test ! -d "$srcdir"/tools/$SQLITE; then
 6094:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6095:             (cd "$srcdir/tools" && tar -xf -)
 6096:     (cd "$srcdir/tools"/$SQLITE && gunzip -c ../$SQLITE.diff.gz | patch -p1)
 6097: fi
 6098: if test ! -d tools/$OPENSSL; then
 6099:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6100:             (cd tools && tar -xf -)
 6101: fi
 6102: 
 6103: 
 6104: 
 6105: # Check whether --enable-final-run-path was given.
 6106: if test "${enable_final_run_path+set}" = set; then :
 6107:   enableval=$enable_final_run_path;
 6108:     if test "x$enable_final_run_path" = "x"; then
 6109:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6110: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6111:         as_fn_error "\"You should specify final path !\"" "$LINENO" 5
 6112:     else
 6113:         RUNPATH="$enable_final_run_path"
 6114:     fi
 6115: 
 6116: else
 6117:   RUNPATH="\${prefix}"
 6118: 
 6119: fi
 6120: 
 6121: 
 6122: 
 6123: 
 6124: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6125: $as_echo_n "checking whether ln -s works... " >&6; }
 6126: LN_S=$as_ln_s
 6127: if test "$LN_S" = "ln -s"; then
 6128:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6129: $as_echo "yes" >&6; }
 6130: else
 6131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6132: $as_echo "no, using $LN_S" >&6; }
 6133: fi
 6134: 
 6135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6136: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6137: set x ${MAKE-make}
 6138: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6139: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 6140:   $as_echo_n "(cached) " >&6
 6141: else
 6142:   cat >conftest.make <<\_ACEOF
 6143: SHELL = /bin/sh
 6144: all:
 6145:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6146: _ACEOF
 6147: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 6148: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6149:   *@@@%%%=?*=@@@%%%*)
 6150:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6151:   *)
 6152:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6153: esac
 6154: rm -f conftest.make
 6155: fi
 6156: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6157:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6158: $as_echo "yes" >&6; }
 6159:   SET_MAKE=
 6160: else
 6161:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6162: $as_echo "no" >&6; }
 6163:   SET_MAKE="MAKE=${MAKE-make}"
 6164: fi
 6165: 
 6166: if test -n "$ac_tool_prefix"; then
 6167:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6168: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6170: $as_echo_n "checking for $ac_word... " >&6; }
 6171: if test "${ac_cv_prog_RANLIB+set}" = set; then :
 6172:   $as_echo_n "(cached) " >&6
 6173: else
 6174:   if test -n "$RANLIB"; then
 6175:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6176: else
 6177: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6178: for as_dir in $PATH
 6179: do
 6180:   IFS=$as_save_IFS
 6181:   test -z "$as_dir" && as_dir=.
 6182:     for ac_exec_ext in '' $ac_executable_extensions; do
 6183:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6184:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6185:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6186:     break 2
 6187:   fi
 6188: done
 6189:   done
 6190: IFS=$as_save_IFS
 6191: 
 6192: fi
 6193: fi
 6194: RANLIB=$ac_cv_prog_RANLIB
 6195: if test -n "$RANLIB"; then
 6196:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6197: $as_echo "$RANLIB" >&6; }
 6198: else
 6199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6200: $as_echo "no" >&6; }
 6201: fi
 6202: 
 6203: 
 6204: fi
 6205: if test -z "$ac_cv_prog_RANLIB"; then
 6206:   ac_ct_RANLIB=$RANLIB
 6207:   # Extract the first word of "ranlib", so it can be a program name with args.
 6208: set dummy ranlib; ac_word=$2
 6209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6210: $as_echo_n "checking for $ac_word... " >&6; }
 6211: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 6212:   $as_echo_n "(cached) " >&6
 6213: else
 6214:   if test -n "$ac_ct_RANLIB"; then
 6215:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6216: else
 6217: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6218: for as_dir in $PATH
 6219: do
 6220:   IFS=$as_save_IFS
 6221:   test -z "$as_dir" && as_dir=.
 6222:     for ac_exec_ext in '' $ac_executable_extensions; do
 6223:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6224:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6225:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6226:     break 2
 6227:   fi
 6228: done
 6229:   done
 6230: IFS=$as_save_IFS
 6231: 
 6232: fi
 6233: fi
 6234: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6235: if test -n "$ac_ct_RANLIB"; then
 6236:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6237: $as_echo "$ac_ct_RANLIB" >&6; }
 6238: else
 6239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6240: $as_echo "no" >&6; }
 6241: fi
 6242: 
 6243:   if test "x$ac_ct_RANLIB" = x; then
 6244:     RANLIB=":"
 6245:   else
 6246:     case $cross_compiling:$ac_tool_warned in
 6247: yes:)
 6248: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6249: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6250: ac_tool_warned=yes ;;
 6251: esac
 6252:     RANLIB=$ac_ct_RANLIB
 6253:   fi
 6254: else
 6255:   RANLIB="$ac_cv_prog_RANLIB"
 6256: fi
 6257: 
 6258: 
 6259: # Extract the first word of "nawk", so it can be a program name with args.
 6260: set dummy nawk; ac_word=$2
 6261: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6262: $as_echo_n "checking for $ac_word... " >&6; }
 6263: if test "${ac_cv_prog_AWK+set}" = set; then :
 6264:   $as_echo_n "(cached) " >&6
 6265: else
 6266:   if test -n "$AWK"; then
 6267:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6268: else
 6269: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6270: for as_dir in $PATH
 6271: do
 6272:   IFS=$as_save_IFS
 6273:   test -z "$as_dir" && as_dir=.
 6274:     for ac_exec_ext in '' $ac_executable_extensions; do
 6275:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6276:     ac_cv_prog_AWK="yes"
 6277:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6278:     break 2
 6279:   fi
 6280: done
 6281:   done
 6282: IFS=$as_save_IFS
 6283: 
 6284:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6285: fi
 6286: fi
 6287: AWK=$ac_cv_prog_AWK
 6288: if test -n "$AWK"; then
 6289:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6290: $as_echo "$AWK" >&6; }
 6291: else
 6292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6293: $as_echo "no" >&6; }
 6294: fi
 6295: 
 6296: 
 6297: if test "$AWK" = no; then
 6298:     as_fn_error "Can not find nawk !" "$LINENO" 5
 6299: fi
 6300: 
 6301: # Extract the first word of "sed", so it can be a program name with args.
 6302: set dummy sed; ac_word=$2
 6303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6304: $as_echo_n "checking for $ac_word... " >&6; }
 6305: if test "${ac_cv_prog_SED+set}" = set; then :
 6306:   $as_echo_n "(cached) " >&6
 6307: else
 6308:   if test -n "$SED"; then
 6309:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6310: else
 6311: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6312: for as_dir in $PATH
 6313: do
 6314:   IFS=$as_save_IFS
 6315:   test -z "$as_dir" && as_dir=.
 6316:     for ac_exec_ext in '' $ac_executable_extensions; do
 6317:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6318:     ac_cv_prog_SED="yes"
 6319:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6320:     break 2
 6321:   fi
 6322: done
 6323:   done
 6324: IFS=$as_save_IFS
 6325: 
 6326:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6327: fi
 6328: fi
 6329: SED=$ac_cv_prog_SED
 6330: if test -n "$SED"; then
 6331:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6332: $as_echo "$SED" >&6; }
 6333: else
 6334:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6335: $as_echo "no" >&6; }
 6336: fi
 6337: 
 6338: 
 6339: if test "$SED" = no; then
 6340:     as_fn_error "Can not find sed !" "$LINENO" 5
 6341: fi
 6342: 
 6343: if test "$TEX_SUPPORT" = guessed; then
 6344:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6345: 
 6346:     # Extract the first word of "tex", so it can be a program name with args.
 6347: set dummy tex; ac_word=$2
 6348: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6349: $as_echo_n "checking for $ac_word... " >&6; }
 6350: if test "${ac_cv_prog_TEX+set}" = set; then :
 6351:   $as_echo_n "(cached) " >&6
 6352: else
 6353:   if test -n "$TEX"; then
 6354:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6355: else
 6356: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6357: for as_dir in $PATH
 6358: do
 6359:   IFS=$as_save_IFS
 6360:   test -z "$as_dir" && as_dir=.
 6361:     for ac_exec_ext in '' $ac_executable_extensions; do
 6362:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6363:     ac_cv_prog_TEX="yes"
 6364:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6365:     break 2
 6366:   fi
 6367: done
 6368:   done
 6369: IFS=$as_save_IFS
 6370: 
 6371:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6372: fi
 6373: fi
 6374: TEX=$ac_cv_prog_TEX
 6375: if test -n "$TEX"; then
 6376:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6377: $as_echo "$TEX" >&6; }
 6378: else
 6379:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6380: $as_echo "no" >&6; }
 6381: fi
 6382: 
 6383: 
 6384:     if test "$TEX" = no; then
 6385:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6386: Download at http://tex.loria.fr/
 6387: " >&5
 6388: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6389: Download at http://tex.loria.fr/
 6390: " >&2;}
 6391:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6392:     fi
 6393: 
 6394:     # Extract the first word of "latex", so it can be a program name with args.
 6395: set dummy latex; ac_word=$2
 6396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6397: $as_echo_n "checking for $ac_word... " >&6; }
 6398: if test "${ac_cv_prog_LATEX+set}" = set; then :
 6399:   $as_echo_n "(cached) " >&6
 6400: else
 6401:   if test -n "$LATEX"; then
 6402:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6403: else
 6404: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6405: for as_dir in $PATH
 6406: do
 6407:   IFS=$as_save_IFS
 6408:   test -z "$as_dir" && as_dir=.
 6409:     for ac_exec_ext in '' $ac_executable_extensions; do
 6410:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6411:     ac_cv_prog_LATEX="yes"
 6412:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6413:     break 2
 6414:   fi
 6415: done
 6416:   done
 6417: IFS=$as_save_IFS
 6418: 
 6419:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6420: fi
 6421: fi
 6422: LATEX=$ac_cv_prog_LATEX
 6423: if test -n "$LATEX"; then
 6424:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6425: $as_echo "$LATEX" >&6; }
 6426: else
 6427:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6428: $as_echo "no" >&6; }
 6429: fi
 6430: 
 6431: 
 6432:     if test "$LATEX" = no; then
 6433:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6434: Download at http://tex.loria.fr/
 6435: " >&5
 6436: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6437: Download at http://tex.loria.fr/
 6438: " >&2;}
 6439:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6440:     fi
 6441: 
 6442:     # Extract the first word of "dvips", so it can be a program name with args.
 6443: set dummy dvips; ac_word=$2
 6444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6445: $as_echo_n "checking for $ac_word... " >&6; }
 6446: if test "${ac_cv_prog_DVIPS+set}" = set; then :
 6447:   $as_echo_n "(cached) " >&6
 6448: else
 6449:   if test -n "$DVIPS"; then
 6450:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6451: else
 6452: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6453: for as_dir in $PATH
 6454: do
 6455:   IFS=$as_save_IFS
 6456:   test -z "$as_dir" && as_dir=.
 6457:     for ac_exec_ext in '' $ac_executable_extensions; do
 6458:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6459:     ac_cv_prog_DVIPS="yes"
 6460:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6461:     break 2
 6462:   fi
 6463: done
 6464:   done
 6465: IFS=$as_save_IFS
 6466: 
 6467:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6468: fi
 6469: fi
 6470: DVIPS=$ac_cv_prog_DVIPS
 6471: if test -n "$DVIPS"; then
 6472:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6473: $as_echo "$DVIPS" >&6; }
 6474: else
 6475:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6476: $as_echo "no" >&6; }
 6477: fi
 6478: 
 6479: 
 6480:     if test "$DVIPS" = no; then
 6481:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6482: Download at http://tex.loria.fr/
 6483: " >&5
 6484: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6485: Download at http://tex.loria.fr/
 6486: " >&2;}
 6487:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6488:     fi
 6489: 
 6490:     # Extract the first word of "gs", so it can be a program name with args.
 6491: set dummy gs; ac_word=$2
 6492: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6493: $as_echo_n "checking for $ac_word... " >&6; }
 6494: if test "${ac_cv_prog_GS+set}" = set; then :
 6495:   $as_echo_n "(cached) " >&6
 6496: else
 6497:   if test -n "$GS"; then
 6498:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6499: else
 6500: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6501: for as_dir in $PATH
 6502: do
 6503:   IFS=$as_save_IFS
 6504:   test -z "$as_dir" && as_dir=.
 6505:     for ac_exec_ext in '' $ac_executable_extensions; do
 6506:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6507:     ac_cv_prog_GS="yes"
 6508:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6509:     break 2
 6510:   fi
 6511: done
 6512:   done
 6513: IFS=$as_save_IFS
 6514: 
 6515:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6516: fi
 6517: fi
 6518: GS=$ac_cv_prog_GS
 6519: if test -n "$GS"; then
 6520:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6521: $as_echo "$GS" >&6; }
 6522: else
 6523:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6524: $as_echo "no" >&6; }
 6525: fi
 6526: 
 6527: 
 6528:     if test "$GS" = no; then
 6529:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6530: Download at http://ftp.lip6.fr/
 6531: " >&5
 6532: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6533: Download at http://ftp.lip6.fr/
 6534: " >&2;}
 6535:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6536:     fi
 6537: 
 6538:     # Extract the first word of "gv", so it can be a program name with args.
 6539: set dummy gv; ac_word=$2
 6540: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6541: $as_echo_n "checking for $ac_word... " >&6; }
 6542: if test "${ac_cv_prog_GV+set}" = set; then :
 6543:   $as_echo_n "(cached) " >&6
 6544: else
 6545:   if test -n "$GV"; then
 6546:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6547: else
 6548: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6549: for as_dir in $PATH
 6550: do
 6551:   IFS=$as_save_IFS
 6552:   test -z "$as_dir" && as_dir=.
 6553:     for ac_exec_ext in '' $ac_executable_extensions; do
 6554:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6555:     ac_cv_prog_GV="yes"
 6556:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6557:     break 2
 6558:   fi
 6559: done
 6560:   done
 6561: IFS=$as_save_IFS
 6562: 
 6563:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 6564: fi
 6565: fi
 6566: GV=$ac_cv_prog_GV
 6567: if test -n "$GV"; then
 6568:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 6569: $as_echo "$GV" >&6; }
 6570: else
 6571:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6572: $as_echo "no" >&6; }
 6573: fi
 6574: 
 6575: 
 6576:     if test "$GV" = no; then
 6577:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 6578: Download at http://ftp.lip6.fr/
 6579: " >&5
 6580: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 6581: Download at http://ftp.lip6.fr/
 6582: " >&2;}
 6583:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6584:     fi
 6585: else
 6586:     if test "$TEX_SUPPORT" = no; then
 6587:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6588:     else
 6589:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6590:     fi
 6591: fi
 6592: 
 6593: if test "$GNUPLOT_SUPPORT" = guessed; then
 6594:     # Extract the first word of "gnuplot", so it can be a program name with args.
 6595: set dummy gnuplot; ac_word=$2
 6596: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6597: $as_echo_n "checking for $ac_word... " >&6; }
 6598: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
 6599:   $as_echo_n "(cached) " >&6
 6600: else
 6601:   if test -n "$GNUPLOT_P"; then
 6602:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 6603: else
 6604: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6605: for as_dir in $PATH
 6606: do
 6607:   IFS=$as_save_IFS
 6608:   test -z "$as_dir" && as_dir=.
 6609:     for ac_exec_ext in '' $ac_executable_extensions; do
 6610:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6611:     ac_cv_prog_GNUPLOT_P="yes"
 6612:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6613:     break 2
 6614:   fi
 6615: done
 6616:   done
 6617: IFS=$as_save_IFS
 6618: 
 6619:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 6620: fi
 6621: fi
 6622: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 6623: if test -n "$GNUPLOT_P"; then
 6624:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 6625: $as_echo "$GNUPLOT_P" >&6; }
 6626: else
 6627:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6628: $as_echo "no" >&6; }
 6629: fi
 6630: 
 6631: 
 6632:     if test "$GNUPLOT_P" = no; then
 6633:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 6634: Download at http://www.gnuplot.vt.edu/
 6635: " >&5
 6636: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 6637: Download at http://www.gnuplot.vt.edu/
 6638: " >&2;}
 6639:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6640:     else
 6641:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6642:     fi
 6643: else
 6644:     if test "$GNUPLOT_SUPPORT" = no; then
 6645:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6646:     else
 6647:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6648:     fi
 6649: fi
 6650: 
 6651: if test "$VIM_SUPPORT" = guessed; then
 6652:     # Extract the first word of "vim", so it can be a program name with args.
 6653: set dummy vim; ac_word=$2
 6654: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6655: $as_echo_n "checking for $ac_word... " >&6; }
 6656: if test "${ac_cv_prog_VIM+set}" = set; then :
 6657:   $as_echo_n "(cached) " >&6
 6658: else
 6659:   if test -n "$VIM"; then
 6660:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 6661: else
 6662: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6663: for as_dir in $PATH
 6664: do
 6665:   IFS=$as_save_IFS
 6666:   test -z "$as_dir" && as_dir=.
 6667:     for ac_exec_ext in '' $ac_executable_extensions; do
 6668:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6669:     ac_cv_prog_VIM="yes"
 6670:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6671:     break 2
 6672:   fi
 6673: done
 6674:   done
 6675: IFS=$as_save_IFS
 6676: 
 6677:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 6678: fi
 6679: fi
 6680: VIM=$ac_cv_prog_VIM
 6681: if test -n "$VIM"; then
 6682:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 6683: $as_echo "$VIM" >&6; }
 6684: else
 6685:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6686: $as_echo "no" >&6; }
 6687: fi
 6688: 
 6689: 
 6690:     if test "$VIM" = no; then
 6691:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 6692: Download at http://www.vim.org/
 6693: " >&5
 6694: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 6695: Download at http://www.vim.org/
 6696: " >&2;}
 6697:         VIM_SUPPORT="-UVIM_SUPPORT"
 6698:     else
 6699:         VIM_SUPPORT="-DVIM_SUPPORT"
 6700:     fi
 6701: else
 6702:     if test "$VIM_SUPPORT" = no; then
 6703:         VIM_SUPPORT="-UVIM_SUPPORT"
 6704:     else
 6705:         VIM_SUPPORT="-DVIM_SUPPORT"
 6706:     fi
 6707: fi
 6708: 
 6709: if test "$MOTIF_SUPPORT" = guessed; then
 6710:     CFLAGS_ORIG=$CFLAGS
 6711:     LIBS_ORIG=$LIBS
 6712:     CFLAGS="$CFLAGS $X_CFLAGS"
 6713:     LIBS="$LIB $X_LIBS"
 6714:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6715: $as_echo_n "checking for main in -lXm... " >&6; }
 6716: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 6717:   $as_echo_n "(cached) " >&6
 6718: else
 6719:   ac_check_lib_save_LIBS=$LIBS
 6720: LIBS="-lXm  $LIBS"
 6721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6722: /* end confdefs.h.  */
 6723: 
 6724: 
 6725: int
 6726: main ()
 6727: {
 6728: return main ();
 6729:   ;
 6730:   return 0;
 6731: }
 6732: _ACEOF
 6733: if ac_fn_c_try_link "$LINENO"; then :
 6734:   ac_cv_lib_Xm_main=yes
 6735: else
 6736:   ac_cv_lib_Xm_main=no
 6737: fi
 6738: rm -f core conftest.err conftest.$ac_objext \
 6739:     conftest$ac_exeext conftest.$ac_ext
 6740: LIBS=$ac_check_lib_save_LIBS
 6741: fi
 6742: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6743: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6744: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 6745:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6746: else
 6747:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6748: fi
 6749: 
 6750:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6751:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
 6752: Motif flag is disabled.
 6753: " >&5
 6754: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
 6755: Motif flag is disabled.
 6756: " >&2;}
 6757:     fi
 6758:     LIBS=$LIBS_ORIG
 6759:     CFLAGS=$CFLAGS_ORIG
 6760: fi
 6761: 
 6762: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6763:     CFLAGS_ORIG=$CFLAGS
 6764:     LIBS_ORIG=$LIBS
 6765:     CFLAGS="$CFLAGS $X_CFLAGS"
 6766:     LIBS="$LIB $X_LIBS"
 6767:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
 6768: $as_echo_n "checking for main in -lXpm... " >&6; }
 6769: if test "${ac_cv_lib_Xpm_main+set}" = set; then :
 6770:   $as_echo_n "(cached) " >&6
 6771: else
 6772:   ac_check_lib_save_LIBS=$LIBS
 6773: LIBS="-lXpm  $LIBS"
 6774: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6775: /* end confdefs.h.  */
 6776: 
 6777: 
 6778: int
 6779: main ()
 6780: {
 6781: return main ();
 6782:   ;
 6783:   return 0;
 6784: }
 6785: _ACEOF
 6786: if ac_fn_c_try_link "$LINENO"; then :
 6787:   ac_cv_lib_Xpm_main=yes
 6788: else
 6789:   ac_cv_lib_Xpm_main=no
 6790: fi
 6791: rm -f core conftest.err conftest.$ac_objext \
 6792:     conftest$ac_exeext conftest.$ac_ext
 6793: LIBS=$ac_check_lib_save_LIBS
 6794: fi
 6795: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
 6796: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
 6797: if test "x$ac_cv_lib_Xpm_main" = x""yes; then :
 6798:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6799: else
 6800:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6801: fi
 6802: 
 6803:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6804:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 6805:     else
 6806:         libX=""
 6807:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
 6808: Motif flag is disabled.
 6809: " >&5
 6810: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 6811: Motif flag is disabled.
 6812: " >&2;}
 6813:     fi
 6814:     LIBS=$LIBS_ORIG
 6815:     CFLAGS=$CFLAGS_ORIG
 6816: else
 6817:     libX=""
 6818: fi
 6819: 
 6820: 
 6821: 
 6822: 
 6823: 
 6824: 
 6825: 
 6826: 
 6827: 
 6828: 
 6829: 
 6830: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 6831: 
 6832: 
 6833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 6834: $as_echo_n "checking for main in -lm... " >&6; }
 6835: if test "${ac_cv_lib_m_main+set}" = set; then :
 6836:   $as_echo_n "(cached) " >&6
 6837: else
 6838:   ac_check_lib_save_LIBS=$LIBS
 6839: LIBS="-lm  $LIBS"
 6840: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6841: /* end confdefs.h.  */
 6842: 
 6843: 
 6844: int
 6845: main ()
 6846: {
 6847: return main ();
 6848:   ;
 6849:   return 0;
 6850: }
 6851: _ACEOF
 6852: if ac_fn_c_try_link "$LINENO"; then :
 6853:   ac_cv_lib_m_main=yes
 6854: else
 6855:   ac_cv_lib_m_main=no
 6856: fi
 6857: rm -f core conftest.err conftest.$ac_objext \
 6858:     conftest$ac_exeext conftest.$ac_ext
 6859: LIBS=$ac_check_lib_save_LIBS
 6860: fi
 6861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 6862: $as_echo "$ac_cv_lib_m_main" >&6; }
 6863: if test "x$ac_cv_lib_m_main" = x""yes; then :
 6864:   cat >>confdefs.h <<_ACEOF
 6865: #define HAVE_LIBM 1
 6866: _ACEOF
 6867: 
 6868:   LIBS="-lm $LIBS"
 6869: 
 6870: else
 6871:   as_fn_error "Can not find libm !" "$LINENO" 5
 6872: fi
 6873: 
 6874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 6875: $as_echo_n "checking for main in -lpthread... " >&6; }
 6876: if test "${ac_cv_lib_pthread_main+set}" = set; then :
 6877:   $as_echo_n "(cached) " >&6
 6878: else
 6879:   ac_check_lib_save_LIBS=$LIBS
 6880: LIBS="-lpthread  $LIBS"
 6881: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6882: /* end confdefs.h.  */
 6883: 
 6884: 
 6885: int
 6886: main ()
 6887: {
 6888: return main ();
 6889:   ;
 6890:   return 0;
 6891: }
 6892: _ACEOF
 6893: if ac_fn_c_try_link "$LINENO"; then :
 6894:   ac_cv_lib_pthread_main=yes
 6895: else
 6896:   ac_cv_lib_pthread_main=no
 6897: fi
 6898: rm -f core conftest.err conftest.$ac_objext \
 6899:     conftest$ac_exeext conftest.$ac_ext
 6900: LIBS=$ac_check_lib_save_LIBS
 6901: fi
 6902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 6903: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 6904: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
 6905:   cat >>confdefs.h <<_ACEOF
 6906: #define HAVE_LIBPTHREAD 1
 6907: _ACEOF
 6908: 
 6909:   LIBS="-lpthread $LIBS"
 6910: 
 6911: else
 6912:   as_fn_error "Can not find libpthread !" "$LINENO" 5
 6913: fi
 6914: 
 6915: 
 6916: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 6917: #include <sys/sem.h>
 6918: 
 6919: "
 6920: if test "x$ac_cv_type_union_semun" = x""yes; then :
 6921:   SEMUN=-DUNION_SEMUN
 6922: else
 6923:   SEMUN=-UUNION_SEMUN
 6924: fi
 6925: 
 6926: 
 6927: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
 6928: #include <netinet/in.h>
 6929: 
 6930: "
 6931: if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
 6932:   IPV6=-DIPV6
 6933: else
 6934:   IPV6=-UIPV6
 6935: fi
 6936: 
 6937: 
 6938: if test "$CYGWIN" != yes; then
 6939:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 6940: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 6941: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 6942:   $as_echo_n "(cached) " >&6
 6943: else
 6944:   ac_check_lib_save_LIBS=$LIBS
 6945: LIBS="-ldl  $LIBS"
 6946: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6947: /* end confdefs.h.  */
 6948: 
 6949: /* Override any GCC internal prototype to avoid an error.
 6950:    Use char because int might match the return type of a GCC
 6951:    builtin and then its argument prototype would still apply.  */
 6952: #ifdef __cplusplus
 6953: extern "C"
 6954: #endif
 6955: char dlopen ();
 6956: int
 6957: main ()
 6958: {
 6959: return dlopen ();
 6960:   ;
 6961:   return 0;
 6962: }
 6963: _ACEOF
 6964: if ac_fn_c_try_link "$LINENO"; then :
 6965:   ac_cv_lib_dl_dlopen=yes
 6966: else
 6967:   ac_cv_lib_dl_dlopen=no
 6968: fi
 6969: rm -f core conftest.err conftest.$ac_objext \
 6970:     conftest$ac_exeext conftest.$ac_ext
 6971: LIBS=$ac_check_lib_save_LIBS
 6972: fi
 6973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 6974: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 6975: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 6976:   LIBS="$LIBS -ldl"
 6977: else
 6978:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 6979: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 6980: fi
 6981: 
 6982: fi
 6983: 
 6984: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 6985: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 6986: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
 6987:   $as_echo_n "(cached) " >&6
 6988: else
 6989:   ac_check_lib_save_LIBS=$LIBS
 6990: LIBS="-lrt  $LIBS"
 6991: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6992: /* end confdefs.h.  */
 6993: 
 6994: /* Override any GCC internal prototype to avoid an error.
 6995:    Use char because int might match the return type of a GCC
 6996:    builtin and then its argument prototype would still apply.  */
 6997: #ifdef __cplusplus
 6998: extern "C"
 6999: #endif
 7000: char nanosleep ();
 7001: int
 7002: main ()
 7003: {
 7004: return nanosleep ();
 7005:   ;
 7006:   return 0;
 7007: }
 7008: _ACEOF
 7009: if ac_fn_c_try_link "$LINENO"; then :
 7010:   ac_cv_lib_rt_nanosleep=yes
 7011: else
 7012:   ac_cv_lib_rt_nanosleep=no
 7013: fi
 7014: rm -f core conftest.err conftest.$ac_objext \
 7015:     conftest$ac_exeext conftest.$ac_ext
 7016: LIBS=$ac_check_lib_save_LIBS
 7017: fi
 7018: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7019: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7020: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
 7021:   LIBS="$LIBS -lrt"
 7022: else
 7023:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7024: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7025: fi
 7026: 
 7027: 
 7028: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7029: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7030: if test "${ac_cv_lib_socket_bind+set}" = set; then :
 7031:   $as_echo_n "(cached) " >&6
 7032: else
 7033:   ac_check_lib_save_LIBS=$LIBS
 7034: LIBS="-lsocket  $LIBS"
 7035: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7036: /* end confdefs.h.  */
 7037: 
 7038: /* Override any GCC internal prototype to avoid an error.
 7039:    Use char because int might match the return type of a GCC
 7040:    builtin and then its argument prototype would still apply.  */
 7041: #ifdef __cplusplus
 7042: extern "C"
 7043: #endif
 7044: char bind ();
 7045: int
 7046: main ()
 7047: {
 7048: return bind ();
 7049:   ;
 7050:   return 0;
 7051: }
 7052: _ACEOF
 7053: if ac_fn_c_try_link "$LINENO"; then :
 7054:   ac_cv_lib_socket_bind=yes
 7055: else
 7056:   ac_cv_lib_socket_bind=no
 7057: fi
 7058: rm -f core conftest.err conftest.$ac_objext \
 7059:     conftest$ac_exeext conftest.$ac_ext
 7060: LIBS=$ac_check_lib_save_LIBS
 7061: fi
 7062: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7063: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7064: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
 7065:   LIBS="$LIBS -lsocket"
 7066: else
 7067:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7068: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7069: fi
 7070: 
 7071: 
 7072: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7073: 
 7074: # Check whether --with-mysql was given.
 7075: if test "${with_mysql+set}" = set; then :
 7076:   withval=$with_mysql;
 7077: else
 7078:   with_mysql=check
 7079: fi
 7080: 
 7081: 
 7082: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7083:     libMySQLinc="-I/usr/include"
 7084:     libMySQLlib="/usr/lib"
 7085: 
 7086:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7087: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7088:     saved_CFLAGS="$CFLAGS"
 7089:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7090:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7091: /* end confdefs.h.  */
 7092: #include "mysql.h"
 7093: int
 7094: main ()
 7095: {
 7096: 
 7097:   ;
 7098:   return 0;
 7099: }
 7100: _ACEOF
 7101: if ac_fn_c_try_compile "$LINENO"; then :
 7102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7103: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7104:                     libMySQLinc=$libMySQLinc/mysql
 7105: else
 7106:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7107: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7108: fi
 7109: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7110:     CFLAGS=$saved_CFLAGS
 7111: 
 7112:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7113:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7114: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7115:         saved_CFLAGS="$CFLAGS"
 7116:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7117:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7118: /* end confdefs.h.  */
 7119: #include "mysql.h"
 7120: int
 7121: main ()
 7122: {
 7123: 
 7124:   ;
 7125:   return 0;
 7126: }
 7127: _ACEOF
 7128: if ac_fn_c_try_compile "$LINENO"; then :
 7129:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7130: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7131:                         libMySQLinc=$libMySQLinc
 7132: else
 7133:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7134: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7135: fi
 7136: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7137:         CFLAGS=$saved_CFLAGS
 7138:         libMySQLinc=$libMySQLinc/mysql
 7139:     fi
 7140: 
 7141:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7142:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7143: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7144:         saved_CFLAGS="$CFLAGS"
 7145:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7146:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7147: /* end confdefs.h.  */
 7148: #include "mysql.h"
 7149: int
 7150: main ()
 7151: {
 7152: 
 7153:   ;
 7154:   return 0;
 7155: }
 7156: _ACEOF
 7157: if ac_fn_c_try_compile "$LINENO"; then :
 7158:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7159: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7160:                         libMySQLinc=$libMySQLinc/mysql
 7161: else
 7162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7163: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7164: fi
 7165: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7166:         CFLAGS=$saved_CFLAGS
 7167:         libMySQLinc=$libMySQLinc/../local/include
 7168:         libMySQLlib=$libMySQLlib/../local/lib
 7169:     fi
 7170: 
 7171:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7172:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7173: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7174:         saved_CFLAGS="$CFLAGS"
 7175:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7176:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7177: /* end confdefs.h.  */
 7178: #include "mysql.h"
 7179: int
 7180: main ()
 7181: {
 7182: 
 7183:   ;
 7184:   return 0;
 7185: }
 7186: _ACEOF
 7187: if ac_fn_c_try_compile "$LINENO"; then :
 7188:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7189: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7190:                         libMySQLinc=$libMySQLinc/mysql
 7191: else
 7192:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7193: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7194: fi
 7195: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7196:         CFLAGS=$saved_CFLAGS
 7197:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7198:         libMySQLlib=$libMySQLlib/../local/lib
 7199:     fi
 7200: else
 7201:     if test "x$with_mysql" != xno; then
 7202:         libMySQLinc="-I$with_mysql/include"
 7203:         libMySQLlib="$with_mysql/lib"
 7204: 
 7205:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7206: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7207:         saved_CFLAGS="$CFLAGS"
 7208:         CFLAGS="$CFLAGS $libMySQLinc"
 7209:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7210: /* end confdefs.h.  */
 7211: #include "mysql.h"
 7212: int
 7213: main ()
 7214: {
 7215: 
 7216:   ;
 7217:   return 0;
 7218: }
 7219: _ACEOF
 7220: if ac_fn_c_try_compile "$LINENO"; then :
 7221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7222: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7223:                         libMySQLinc=$libMySQLinc/mysql
 7224: else
 7225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7226: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7227: fi
 7228: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7229:         CFLAGS=$saved_CFLAGS
 7230: 
 7231:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7232:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7233: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7234:             saved_CFLAGS="$CFLAGS"
 7235:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7236:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7237: /* end confdefs.h.  */
 7238: #include "mysql.h"
 7239: int
 7240: main ()
 7241: {
 7242: 
 7243:   ;
 7244:   return 0;
 7245: }
 7246: _ACEOF
 7247: if ac_fn_c_try_compile "$LINENO"; then :
 7248:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7249: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7250:                             libMySQLinc=$libMySQLinc
 7251: else
 7252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7253: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7254: fi
 7255: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7256:             CFLAGS=$saved_CFLAGS
 7257:             libMySQLinc=$libMySQLinc/mysql
 7258:         fi
 7259:     else
 7260:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7261:     fi
 7262: fi
 7263: 
 7264: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7265:     MYSQL_LIB=no
 7266: 
 7267:     if test $MYSQL_LIB = no; then
 7268:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7269: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7270:         saved_LIBS="$LIBS"
 7271:         if test $STATIC = no; then
 7272:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7273:         else
 7274:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7275:         fi
 7276:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7277: /* end confdefs.h.  */
 7278: #include "mysql.h"
 7279: int
 7280: main ()
 7281: {
 7282: MYSQL mysql; mysql_init(&mysql);
 7283:   ;
 7284:   return 0;
 7285: }
 7286: _ACEOF
 7287: if ac_fn_c_try_link "$LINENO"; then :
 7288:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7289: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7290: else
 7291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7292: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7293: fi
 7294: rm -f core conftest.err conftest.$ac_objext \
 7295:     conftest$ac_exeext conftest.$ac_ext
 7296:         LIBS=$saved_LIBS;
 7297:         if test $STATIC = no; then
 7298:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7299:         else
 7300:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7301:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7302:         fi
 7303:     fi
 7304: 
 7305:     if test $MYSQL_LIB = no; then
 7306:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7307:     fi
 7308: fi
 7309: 
 7310: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7311:     libMySQLinc=
 7312:     libMySQLlib=
 7313: fi
 7314: 
 7315: 
 7316: 
 7317: 
 7318: 
 7319: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7320: 
 7321: # Check whether --with-postgresql was given.
 7322: if test "${with_postgresql+set}" = set; then :
 7323:   withval=$with_postgresql;
 7324: else
 7325:   with_postgresql=check
 7326: fi
 7327: 
 7328: 
 7329: # with_postgresql : check [pas défini], yes [uniquement --with],
 7330: # no [--without], valeur [--with=valeur].
 7331: 
 7332: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7333:     libPgSQLinc="-I/usr/include"
 7334:     libPgSQLlib="/usr/lib"
 7335: 
 7336:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7337: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7338:     saved_CFLAGS="$CFLAGS"
 7339:     CFLAGS="$CFLAGS $libPgSQLinc"
 7340:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7341: /* end confdefs.h.  */
 7342: #include "libpq-fe.h"
 7343: int
 7344: main ()
 7345: {
 7346: 
 7347:   ;
 7348:   return 0;
 7349: }
 7350: _ACEOF
 7351: if ac_fn_c_try_compile "$LINENO"; then :
 7352:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7353: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7354: else
 7355:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7356: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7357: fi
 7358: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7359:     CFLAGS=$saved_CFLAGS
 7360: 
 7361:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7362:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7363: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7364:         saved_CFLAGS="$CFLAGS"
 7365:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7366:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7367: /* end confdefs.h.  */
 7368: #include "libpq-fe.h"
 7369: int
 7370: main ()
 7371: {
 7372: 
 7373:   ;
 7374:   return 0;
 7375: }
 7376: _ACEOF
 7377: if ac_fn_c_try_compile "$LINENO"; then :
 7378:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7379: $as_echo "yes" >&6; };
 7380:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7381: else
 7382:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7383: $as_echo "no" >&6; };
 7384:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7385: fi
 7386: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7387:         CFLAGS=$saved_CFLAGS
 7388:         libPgSQLinc=$libPgSQLinc/postgresql
 7389:     fi
 7390: 
 7391:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7392:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7393: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7394:         saved_CFLAGS="$CFLAGS"
 7395:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7396:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7397: /* end confdefs.h.  */
 7398: #include "libpq-fe.h"
 7399: int
 7400: main ()
 7401: {
 7402: 
 7403:   ;
 7404:   return 0;
 7405: }
 7406: _ACEOF
 7407: if ac_fn_c_try_compile "$LINENO"; then :
 7408:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7409: $as_echo "yes" >&6; };
 7410:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7411: else
 7412:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7413: $as_echo "no" >&6; };
 7414:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7415: fi
 7416: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7417:         CFLAGS=$saved_CFLAGS
 7418:         libPgSQLinc=$libPgSQLinc/pgsql
 7419:     fi
 7420: 
 7421:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7422:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7423: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7424:         saved_CFLAGS="$CFLAGS"
 7425:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7426:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7427: /* end confdefs.h.  */
 7428: #include "libpq-fe.h"
 7429: int
 7430: main ()
 7431: {
 7432: 
 7433:   ;
 7434:   return 0;
 7435: }
 7436: _ACEOF
 7437: if ac_fn_c_try_compile "$LINENO"; then :
 7438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7439: $as_echo "yes" >&6; };
 7440:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7441: else
 7442:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7443: $as_echo "no" >&6; };
 7444:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7445: fi
 7446: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7447:         CFLAGS=$saved_CFLAGS
 7448:         libPgSQLinc=$libPgSQLinc/../local/include
 7449:         libPgSQLlib=$libPgSQLlib/../local/lib
 7450:     fi
 7451: 
 7452:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7453:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7454: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7455:         saved_CFLAGS="$CFLAGS"
 7456:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7457:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7458: /* end confdefs.h.  */
 7459: #include "libpq-fe.h"
 7460: int
 7461: main ()
 7462: {
 7463: 
 7464:   ;
 7465:   return 0;
 7466: }
 7467: _ACEOF
 7468: if ac_fn_c_try_compile "$LINENO"; then :
 7469:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7470: $as_echo "yes" >&6; };
 7471:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7472: else
 7473:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7474: $as_echo "no" >&6; };
 7475:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7476: fi
 7477: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7478:         CFLAGS=$saved_CFLAGS
 7479:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7480:         libPgSQLlib=$libPgSQLlib/../local/lib
 7481:     fi
 7482: 
 7483:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7484:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7485: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7486:         saved_CFLAGS="$CFLAGS"
 7487:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7488:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7489: /* end confdefs.h.  */
 7490: #include "libpq-fe.h"
 7491: int
 7492: main ()
 7493: {
 7494: 
 7495:   ;
 7496:   return 0;
 7497: }
 7498: _ACEOF
 7499: if ac_fn_c_try_compile "$LINENO"; then :
 7500:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7501: $as_echo "yes" >&6; };
 7502:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7503: else
 7504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7505: $as_echo "no" >&6; };
 7506:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7507: fi
 7508: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7509:         CFLAGS=$saved_CFLAGS
 7510:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7511:         libPgSQLlib=$libPgSQLlib/../local/lib
 7512:     fi
 7513: else
 7514:     if test "x$with_postgresql" != xno; then
 7515:         libPgSQLinc="-I$with_postgresql/include"
 7516:         libPgSQLlib="$with_postgresql/lib"
 7517: 
 7518:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7519: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7520:         saved_CFLAGS="$CFLAGS"
 7521:         CFLAGS="$CFLAGS $libPgSQLinc"
 7522:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7523: /* end confdefs.h.  */
 7524: #include "libpq-fe.h"
 7525: int
 7526: main ()
 7527: {
 7528: 
 7529:   ;
 7530:   return 0;
 7531: }
 7532: _ACEOF
 7533: if ac_fn_c_try_compile "$LINENO"; then :
 7534:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7535: $as_echo "yes" >&6; };
 7536:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7537: else
 7538:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7539: $as_echo "no" >&6; };
 7540:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7541: fi
 7542: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7543:         CFLAGS=$saved_CFLAGS
 7544: 
 7545:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7546:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7547: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7548:             saved_CFLAGS="$CFLAGS"
 7549:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7550:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7551: /* end confdefs.h.  */
 7552: #include "libpq-fe.h"
 7553: int
 7554: main ()
 7555: {
 7556: 
 7557:   ;
 7558:   return 0;
 7559: }
 7560: _ACEOF
 7561: if ac_fn_c_try_compile "$LINENO"; then :
 7562:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7563: $as_echo "yes" >&6; };
 7564:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7565: else
 7566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7567: $as_echo "no" >&6; };
 7568:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7569: fi
 7570: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7571:             CFLAGS=$saved_CFLAGS
 7572:             libPgSQLinc=$libPgSQLinc/postgresql
 7573:         fi
 7574: 
 7575:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7576:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7577: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7578:             saved_CFLAGS="$CFLAGS"
 7579:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7580:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7581: /* end confdefs.h.  */
 7582: #include "libpq-fe.h"
 7583: int
 7584: main ()
 7585: {
 7586: 
 7587:   ;
 7588:   return 0;
 7589: }
 7590: _ACEOF
 7591: if ac_fn_c_try_compile "$LINENO"; then :
 7592:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7593: $as_echo "yes" >&6; };
 7594:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7595: else
 7596:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7597: $as_echo "no" >&6; };
 7598:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7599: fi
 7600: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7601:             CFLAGS=$saved_CFLAGS
 7602:             libPgSQLinc=$libPgSQLinc/pgsql
 7603:         fi
 7604:     else
 7605:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7606:     fi
 7607: fi
 7608: 
 7609: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7610:     POSTGRESQL_LIB=no
 7611: 
 7612:     if test $POSTGRESQL_LIB = no; then
 7613:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7614: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7615:         saved_LIBS="$LIBS"
 7616:         if test $STATIC = no; then
 7617:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7618:         else
 7619:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 7620:         fi
 7621:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7622: /* end confdefs.h.  */
 7623: #include "libpq-fe.h"
 7624: int
 7625: main ()
 7626: {
 7627: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 7628:              PQconnectdb(conninfo);
 7629:   ;
 7630:   return 0;
 7631: }
 7632: _ACEOF
 7633: if ac_fn_c_try_link "$LINENO"; then :
 7634:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7635: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 7636: else
 7637:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7638: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 7639: fi
 7640: rm -f core conftest.err conftest.$ac_objext \
 7641:     conftest$ac_exeext conftest.$ac_ext
 7642:         LIBS=$saved_LIBS;
 7643:         if test $STATIC = no; then
 7644:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 7645:         else
 7646:             libPgSQLlib="$libPgSQLlib/libpq.a"
 7647:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 7648:         fi
 7649:     fi
 7650: fi
 7651: 
 7652: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 7653:     libPgSQLinc=
 7654:     libPgSQLlib=
 7655: fi
 7656: 
 7657: 
 7658: 
 7659: 
 7660: 
 7661: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 7662: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 7663: if test "${ac_cv_path_GREP+set}" = set; then :
 7664:   $as_echo_n "(cached) " >&6
 7665: else
 7666:   if test -z "$GREP"; then
 7667:   ac_path_GREP_found=false
 7668:   # Loop through the user's path and test for each of PROGNAME-LIST
 7669:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7670: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7671: do
 7672:   IFS=$as_save_IFS
 7673:   test -z "$as_dir" && as_dir=.
 7674:     for ac_prog in grep ggrep; do
 7675:     for ac_exec_ext in '' $ac_executable_extensions; do
 7676:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 7677:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 7678: # Check for GNU ac_path_GREP and select it if it is found.
 7679:   # Check for GNU $ac_path_GREP
 7680: case `"$ac_path_GREP" --version 2>&1` in
 7681: *GNU*)
 7682:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 7683: *)
 7684:   ac_count=0
 7685:   $as_echo_n 0123456789 >"conftest.in"
 7686:   while :
 7687:   do
 7688:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7689:     mv "conftest.tmp" "conftest.in"
 7690:     cp "conftest.in" "conftest.nl"
 7691:     $as_echo 'GREP' >> "conftest.nl"
 7692:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7693:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7694:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7695:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 7696:       # Best one so far, save it but keep looking for a better one
 7697:       ac_cv_path_GREP="$ac_path_GREP"
 7698:       ac_path_GREP_max=$ac_count
 7699:     fi
 7700:     # 10*(2^10) chars as input seems more than enough
 7701:     test $ac_count -gt 10 && break
 7702:   done
 7703:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7704: esac
 7705: 
 7706:       $ac_path_GREP_found && break 3
 7707:     done
 7708:   done
 7709:   done
 7710: IFS=$as_save_IFS
 7711:   if test -z "$ac_cv_path_GREP"; then
 7712:     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7713:   fi
 7714: else
 7715:   ac_cv_path_GREP=$GREP
 7716: fi
 7717: 
 7718: fi
 7719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 7720: $as_echo "$ac_cv_path_GREP" >&6; }
 7721:  GREP="$ac_cv_path_GREP"
 7722: 
 7723: 
 7724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 7725: $as_echo_n "checking for egrep... " >&6; }
 7726: if test "${ac_cv_path_EGREP+set}" = set; then :
 7727:   $as_echo_n "(cached) " >&6
 7728: else
 7729:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 7730:    then ac_cv_path_EGREP="$GREP -E"
 7731:    else
 7732:      if test -z "$EGREP"; then
 7733:   ac_path_EGREP_found=false
 7734:   # Loop through the user's path and test for each of PROGNAME-LIST
 7735:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7736: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7737: do
 7738:   IFS=$as_save_IFS
 7739:   test -z "$as_dir" && as_dir=.
 7740:     for ac_prog in egrep; do
 7741:     for ac_exec_ext in '' $ac_executable_extensions; do
 7742:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 7743:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 7744: # Check for GNU ac_path_EGREP and select it if it is found.
 7745:   # Check for GNU $ac_path_EGREP
 7746: case `"$ac_path_EGREP" --version 2>&1` in
 7747: *GNU*)
 7748:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 7749: *)
 7750:   ac_count=0
 7751:   $as_echo_n 0123456789 >"conftest.in"
 7752:   while :
 7753:   do
 7754:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7755:     mv "conftest.tmp" "conftest.in"
 7756:     cp "conftest.in" "conftest.nl"
 7757:     $as_echo 'EGREP' >> "conftest.nl"
 7758:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7759:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7760:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7761:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 7762:       # Best one so far, save it but keep looking for a better one
 7763:       ac_cv_path_EGREP="$ac_path_EGREP"
 7764:       ac_path_EGREP_max=$ac_count
 7765:     fi
 7766:     # 10*(2^10) chars as input seems more than enough
 7767:     test $ac_count -gt 10 && break
 7768:   done
 7769:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7770: esac
 7771: 
 7772:       $ac_path_EGREP_found && break 3
 7773:     done
 7774:   done
 7775:   done
 7776: IFS=$as_save_IFS
 7777:   if test -z "$ac_cv_path_EGREP"; then
 7778:     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7779:   fi
 7780: else
 7781:   ac_cv_path_EGREP=$EGREP
 7782: fi
 7783: 
 7784:    fi
 7785: fi
 7786: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 7787: $as_echo "$ac_cv_path_EGREP" >&6; }
 7788:  EGREP="$ac_cv_path_EGREP"
 7789: 
 7790: 
 7791: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 7792: $as_echo_n "checking for ANSI C header files... " >&6; }
 7793: if test "${ac_cv_header_stdc+set}" = set; then :
 7794:   $as_echo_n "(cached) " >&6
 7795: else
 7796:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7797: /* end confdefs.h.  */
 7798: #include <stdlib.h>
 7799: #include <stdarg.h>
 7800: #include <string.h>
 7801: #include <float.h>
 7802: 
 7803: int
 7804: main ()
 7805: {
 7806: 
 7807:   ;
 7808:   return 0;
 7809: }
 7810: _ACEOF
 7811: if ac_fn_c_try_compile "$LINENO"; then :
 7812:   ac_cv_header_stdc=yes
 7813: else
 7814:   ac_cv_header_stdc=no
 7815: fi
 7816: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7817: 
 7818: if test $ac_cv_header_stdc = yes; then
 7819:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 7820:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7821: /* end confdefs.h.  */
 7822: #include <string.h>
 7823: 
 7824: _ACEOF
 7825: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7826:   $EGREP "memchr" >/dev/null 2>&1; then :
 7827: 
 7828: else
 7829:   ac_cv_header_stdc=no
 7830: fi
 7831: rm -f conftest*
 7832: 
 7833: fi
 7834: 
 7835: if test $ac_cv_header_stdc = yes; then
 7836:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 7837:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7838: /* end confdefs.h.  */
 7839: #include <stdlib.h>
 7840: 
 7841: _ACEOF
 7842: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7843:   $EGREP "free" >/dev/null 2>&1; then :
 7844: 
 7845: else
 7846:   ac_cv_header_stdc=no
 7847: fi
 7848: rm -f conftest*
 7849: 
 7850: fi
 7851: 
 7852: if test $ac_cv_header_stdc = yes; then
 7853:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 7854:   if test "$cross_compiling" = yes; then :
 7855:   :
 7856: else
 7857:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7858: /* end confdefs.h.  */
 7859: #include <ctype.h>
 7860: #include <stdlib.h>
 7861: #if ((' ' & 0x0FF) == 0x020)
 7862: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 7863: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 7864: #else
 7865: # define ISLOWER(c) \
 7866:            (('a' <= (c) && (c) <= 'i') \
 7867:              || ('j' <= (c) && (c) <= 'r') \
 7868:              || ('s' <= (c) && (c) <= 'z'))
 7869: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 7870: #endif
 7871: 
 7872: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 7873: int
 7874: main ()
 7875: {
 7876:   int i;
 7877:   for (i = 0; i < 256; i++)
 7878:     if (XOR (islower (i), ISLOWER (i))
 7879:     || toupper (i) != TOUPPER (i))
 7880:       return 2;
 7881:   return 0;
 7882: }
 7883: _ACEOF
 7884: if ac_fn_c_try_run "$LINENO"; then :
 7885: 
 7886: else
 7887:   ac_cv_header_stdc=no
 7888: fi
 7889: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 7890:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 7891: fi
 7892: 
 7893: fi
 7894: fi
 7895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 7896: $as_echo "$ac_cv_header_stdc" >&6; }
 7897: if test $ac_cv_header_stdc = yes; then
 7898: 
 7899: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 7900: 
 7901: fi
 7902: 
 7903: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 7904: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 7905:           inttypes.h stdint.h unistd.h
 7906: do :
 7907:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 7908: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 7909: "
 7910: eval as_val=\$$as_ac_Header
 7911:    if test "x$as_val" = x""yes; then :
 7912:   cat >>confdefs.h <<_ACEOF
 7913: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 7914: _ACEOF
 7915: 
 7916: fi
 7917: 
 7918: done
 7919: 
 7920: 
 7921: # The cast to long int works around a bug in the HP C Compiler
 7922: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7923: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7924: # This bug is HP SR number 8606223364.
 7925: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 7926: $as_echo_n "checking size of void *... " >&6; }
 7927: if test "${ac_cv_sizeof_void_p+set}" = set; then :
 7928:   $as_echo_n "(cached) " >&6
 7929: else
 7930:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 7931: 
 7932: else
 7933:   if test "$ac_cv_type_void_p" = yes; then
 7934:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7935: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7936: { as_fn_set_status 77
 7937: as_fn_error "cannot compute sizeof (void *)
 7938: See \`config.log' for more details." "$LINENO" 5; }; }
 7939:    else
 7940:      ac_cv_sizeof_void_p=0
 7941:    fi
 7942: fi
 7943: 
 7944: fi
 7945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 7946: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 7947: 
 7948: 
 7949: 
 7950: cat >>confdefs.h <<_ACEOF
 7951: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 7952: _ACEOF
 7953: 
 7954: 
 7955: # The cast to long int works around a bug in the HP C Compiler
 7956: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7957: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7958: # This bug is HP SR number 8606223364.
 7959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 7960: $as_echo_n "checking size of char... " >&6; }
 7961: if test "${ac_cv_sizeof_char+set}" = set; then :
 7962:   $as_echo_n "(cached) " >&6
 7963: else
 7964:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 7965: 
 7966: else
 7967:   if test "$ac_cv_type_char" = yes; then
 7968:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 7969: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 7970: { as_fn_set_status 77
 7971: as_fn_error "cannot compute sizeof (char)
 7972: See \`config.log' for more details." "$LINENO" 5; }; }
 7973:    else
 7974:      ac_cv_sizeof_char=0
 7975:    fi
 7976: fi
 7977: 
 7978: fi
 7979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 7980: $as_echo "$ac_cv_sizeof_char" >&6; }
 7981: 
 7982: 
 7983: 
 7984: cat >>confdefs.h <<_ACEOF
 7985: #define SIZEOF_CHAR $ac_cv_sizeof_char
 7986: _ACEOF
 7987: 
 7988: 
 7989: # The cast to long int works around a bug in the HP C Compiler
 7990: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7991: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7992: # This bug is HP SR number 8606223364.
 7993: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 7994: $as_echo_n "checking size of short int... " >&6; }
 7995: if test "${ac_cv_sizeof_short_int+set}" = set; then :
 7996:   $as_echo_n "(cached) " >&6
 7997: else
 7998:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 7999: 
 8000: else
 8001:   if test "$ac_cv_type_short_int" = yes; then
 8002:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8003: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8004: { as_fn_set_status 77
 8005: as_fn_error "cannot compute sizeof (short int)
 8006: See \`config.log' for more details." "$LINENO" 5; }; }
 8007:    else
 8008:      ac_cv_sizeof_short_int=0
 8009:    fi
 8010: fi
 8011: 
 8012: fi
 8013: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8014: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8015: 
 8016: 
 8017: 
 8018: cat >>confdefs.h <<_ACEOF
 8019: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8020: _ACEOF
 8021: 
 8022: 
 8023: # The cast to long int works around a bug in the HP C Compiler
 8024: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8025: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8026: # This bug is HP SR number 8606223364.
 8027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8028: $as_echo_n "checking size of int... " >&6; }
 8029: if test "${ac_cv_sizeof_int+set}" = set; then :
 8030:   $as_echo_n "(cached) " >&6
 8031: else
 8032:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8033: 
 8034: else
 8035:   if test "$ac_cv_type_int" = yes; then
 8036:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8037: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8038: { as_fn_set_status 77
 8039: as_fn_error "cannot compute sizeof (int)
 8040: See \`config.log' for more details." "$LINENO" 5; }; }
 8041:    else
 8042:      ac_cv_sizeof_int=0
 8043:    fi
 8044: fi
 8045: 
 8046: fi
 8047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8048: $as_echo "$ac_cv_sizeof_int" >&6; }
 8049: 
 8050: 
 8051: 
 8052: cat >>confdefs.h <<_ACEOF
 8053: #define SIZEOF_INT $ac_cv_sizeof_int
 8054: _ACEOF
 8055: 
 8056: 
 8057: # The cast to long int works around a bug in the HP C Compiler
 8058: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8059: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8060: # This bug is HP SR number 8606223364.
 8061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8062: $as_echo_n "checking size of long int... " >&6; }
 8063: if test "${ac_cv_sizeof_long_int+set}" = set; then :
 8064:   $as_echo_n "(cached) " >&6
 8065: else
 8066:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8067: 
 8068: else
 8069:   if test "$ac_cv_type_long_int" = yes; then
 8070:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8071: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8072: { as_fn_set_status 77
 8073: as_fn_error "cannot compute sizeof (long int)
 8074: See \`config.log' for more details." "$LINENO" 5; }; }
 8075:    else
 8076:      ac_cv_sizeof_long_int=0
 8077:    fi
 8078: fi
 8079: 
 8080: fi
 8081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8082: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8083: 
 8084: 
 8085: 
 8086: cat >>confdefs.h <<_ACEOF
 8087: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8088: _ACEOF
 8089: 
 8090: 
 8091: # The cast to long int works around a bug in the HP C Compiler
 8092: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8093: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8094: # This bug is HP SR number 8606223364.
 8095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8096: $as_echo_n "checking size of long long int... " >&6; }
 8097: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
 8098:   $as_echo_n "(cached) " >&6
 8099: else
 8100:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8101: 
 8102: else
 8103:   if test "$ac_cv_type_long_long_int" = yes; then
 8104:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8105: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8106: { as_fn_set_status 77
 8107: as_fn_error "cannot compute sizeof (long long int)
 8108: See \`config.log' for more details." "$LINENO" 5; }; }
 8109:    else
 8110:      ac_cv_sizeof_long_long_int=0
 8111:    fi
 8112: fi
 8113: 
 8114: fi
 8115: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8116: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8117: 
 8118: 
 8119: 
 8120: cat >>confdefs.h <<_ACEOF
 8121: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8122: _ACEOF
 8123: 
 8124: 
 8125: # The cast to long int works around a bug in the HP C Compiler
 8126: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8127: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8128: # This bug is HP SR number 8606223364.
 8129: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8130: $as_echo_n "checking size of float... " >&6; }
 8131: if test "${ac_cv_sizeof_float+set}" = set; then :
 8132:   $as_echo_n "(cached) " >&6
 8133: else
 8134:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8135: 
 8136: else
 8137:   if test "$ac_cv_type_float" = yes; then
 8138:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8139: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8140: { as_fn_set_status 77
 8141: as_fn_error "cannot compute sizeof (float)
 8142: See \`config.log' for more details." "$LINENO" 5; }; }
 8143:    else
 8144:      ac_cv_sizeof_float=0
 8145:    fi
 8146: fi
 8147: 
 8148: fi
 8149: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8150: $as_echo "$ac_cv_sizeof_float" >&6; }
 8151: 
 8152: 
 8153: 
 8154: cat >>confdefs.h <<_ACEOF
 8155: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8156: _ACEOF
 8157: 
 8158: 
 8159: # The cast to long int works around a bug in the HP C Compiler
 8160: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8161: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8162: # This bug is HP SR number 8606223364.
 8163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8164: $as_echo_n "checking size of double... " >&6; }
 8165: if test "${ac_cv_sizeof_double+set}" = set; then :
 8166:   $as_echo_n "(cached) " >&6
 8167: else
 8168:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8169: 
 8170: else
 8171:   if test "$ac_cv_type_double" = yes; then
 8172:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8173: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8174: { as_fn_set_status 77
 8175: as_fn_error "cannot compute sizeof (double)
 8176: See \`config.log' for more details." "$LINENO" 5; }; }
 8177:    else
 8178:      ac_cv_sizeof_double=0
 8179:    fi
 8180: fi
 8181: 
 8182: fi
 8183: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8184: $as_echo "$ac_cv_sizeof_double" >&6; }
 8185: 
 8186: 
 8187: 
 8188: cat >>confdefs.h <<_ACEOF
 8189: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8190: _ACEOF
 8191: 
 8192: 
 8193: # The cast to long int works around a bug in the HP C Compiler
 8194: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8195: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8196: # This bug is HP SR number 8606223364.
 8197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8198: $as_echo_n "checking size of long double... " >&6; }
 8199: if test "${ac_cv_sizeof_long_double+set}" = set; then :
 8200:   $as_echo_n "(cached) " >&6
 8201: else
 8202:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8203: 
 8204: else
 8205:   if test "$ac_cv_type_long_double" = yes; then
 8206:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8207: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8208: { as_fn_set_status 77
 8209: as_fn_error "cannot compute sizeof (long double)
 8210: See \`config.log' for more details." "$LINENO" 5; }; }
 8211:    else
 8212:      ac_cv_sizeof_long_double=0
 8213:    fi
 8214: fi
 8215: 
 8216: fi
 8217: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8218: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8219: 
 8220: 
 8221: 
 8222: cat >>confdefs.h <<_ACEOF
 8223: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8224: _ACEOF
 8225: 
 8226: 
 8227: 
 8228: ac_header_dirent=no
 8229: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8230:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8231: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8232: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8233: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
 8234:   $as_echo_n "(cached) " >&6
 8235: else
 8236:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8237: /* end confdefs.h.  */
 8238: #include <sys/types.h>
 8239: #include <$ac_hdr>
 8240: 
 8241: int
 8242: main ()
 8243: {
 8244: if ((DIR *) 0)
 8245: return 0;
 8246:   ;
 8247:   return 0;
 8248: }
 8249: _ACEOF
 8250: if ac_fn_c_try_compile "$LINENO"; then :
 8251:   eval "$as_ac_Header=yes"
 8252: else
 8253:   eval "$as_ac_Header=no"
 8254: fi
 8255: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8256: fi
 8257: eval ac_res=\$$as_ac_Header
 8258:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8259: $as_echo "$ac_res" >&6; }
 8260: eval as_val=\$$as_ac_Header
 8261:    if test "x$as_val" = x""yes; then :
 8262:   cat >>confdefs.h <<_ACEOF
 8263: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8264: _ACEOF
 8265: 
 8266: ac_header_dirent=$ac_hdr; break
 8267: fi
 8268: 
 8269: done
 8270: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8271: if test $ac_header_dirent = dirent.h; then
 8272:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8273: $as_echo_n "checking for library containing opendir... " >&6; }
 8274: if test "${ac_cv_search_opendir+set}" = set; then :
 8275:   $as_echo_n "(cached) " >&6
 8276: else
 8277:   ac_func_search_save_LIBS=$LIBS
 8278: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8279: /* end confdefs.h.  */
 8280: 
 8281: /* Override any GCC internal prototype to avoid an error.
 8282:    Use char because int might match the return type of a GCC
 8283:    builtin and then its argument prototype would still apply.  */
 8284: #ifdef __cplusplus
 8285: extern "C"
 8286: #endif
 8287: char opendir ();
 8288: int
 8289: main ()
 8290: {
 8291: return opendir ();
 8292:   ;
 8293:   return 0;
 8294: }
 8295: _ACEOF
 8296: for ac_lib in '' dir; do
 8297:   if test -z "$ac_lib"; then
 8298:     ac_res="none required"
 8299:   else
 8300:     ac_res=-l$ac_lib
 8301:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8302:   fi
 8303:   if ac_fn_c_try_link "$LINENO"; then :
 8304:   ac_cv_search_opendir=$ac_res
 8305: fi
 8306: rm -f core conftest.err conftest.$ac_objext \
 8307:     conftest$ac_exeext
 8308:   if test "${ac_cv_search_opendir+set}" = set; then :
 8309:   break
 8310: fi
 8311: done
 8312: if test "${ac_cv_search_opendir+set}" = set; then :
 8313: 
 8314: else
 8315:   ac_cv_search_opendir=no
 8316: fi
 8317: rm conftest.$ac_ext
 8318: LIBS=$ac_func_search_save_LIBS
 8319: fi
 8320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8321: $as_echo "$ac_cv_search_opendir" >&6; }
 8322: ac_res=$ac_cv_search_opendir
 8323: if test "$ac_res" != no; then :
 8324:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8325: 
 8326: fi
 8327: 
 8328: else
 8329:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8330: $as_echo_n "checking for library containing opendir... " >&6; }
 8331: if test "${ac_cv_search_opendir+set}" = set; then :
 8332:   $as_echo_n "(cached) " >&6
 8333: else
 8334:   ac_func_search_save_LIBS=$LIBS
 8335: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8336: /* end confdefs.h.  */
 8337: 
 8338: /* Override any GCC internal prototype to avoid an error.
 8339:    Use char because int might match the return type of a GCC
 8340:    builtin and then its argument prototype would still apply.  */
 8341: #ifdef __cplusplus
 8342: extern "C"
 8343: #endif
 8344: char opendir ();
 8345: int
 8346: main ()
 8347: {
 8348: return opendir ();
 8349:   ;
 8350:   return 0;
 8351: }
 8352: _ACEOF
 8353: for ac_lib in '' x; do
 8354:   if test -z "$ac_lib"; then
 8355:     ac_res="none required"
 8356:   else
 8357:     ac_res=-l$ac_lib
 8358:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8359:   fi
 8360:   if ac_fn_c_try_link "$LINENO"; then :
 8361:   ac_cv_search_opendir=$ac_res
 8362: fi
 8363: rm -f core conftest.err conftest.$ac_objext \
 8364:     conftest$ac_exeext
 8365:   if test "${ac_cv_search_opendir+set}" = set; then :
 8366:   break
 8367: fi
 8368: done
 8369: if test "${ac_cv_search_opendir+set}" = set; then :
 8370: 
 8371: else
 8372:   ac_cv_search_opendir=no
 8373: fi
 8374: rm conftest.$ac_ext
 8375: LIBS=$ac_func_search_save_LIBS
 8376: fi
 8377: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8378: $as_echo "$ac_cv_search_opendir" >&6; }
 8379: ac_res=$ac_cv_search_opendir
 8380: if test "$ac_res" != no; then :
 8381:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8382: 
 8383: fi
 8384: 
 8385: fi
 8386: 
 8387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8388: $as_echo_n "checking for ANSI C header files... " >&6; }
 8389: if test "${ac_cv_header_stdc+set}" = set; then :
 8390:   $as_echo_n "(cached) " >&6
 8391: else
 8392:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8393: /* end confdefs.h.  */
 8394: #include <stdlib.h>
 8395: #include <stdarg.h>
 8396: #include <string.h>
 8397: #include <float.h>
 8398: 
 8399: int
 8400: main ()
 8401: {
 8402: 
 8403:   ;
 8404:   return 0;
 8405: }
 8406: _ACEOF
 8407: if ac_fn_c_try_compile "$LINENO"; then :
 8408:   ac_cv_header_stdc=yes
 8409: else
 8410:   ac_cv_header_stdc=no
 8411: fi
 8412: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8413: 
 8414: if test $ac_cv_header_stdc = yes; then
 8415:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8416:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8417: /* end confdefs.h.  */
 8418: #include <string.h>
 8419: 
 8420: _ACEOF
 8421: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8422:   $EGREP "memchr" >/dev/null 2>&1; then :
 8423: 
 8424: else
 8425:   ac_cv_header_stdc=no
 8426: fi
 8427: rm -f conftest*
 8428: 
 8429: fi
 8430: 
 8431: if test $ac_cv_header_stdc = yes; then
 8432:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8433:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8434: /* end confdefs.h.  */
 8435: #include <stdlib.h>
 8436: 
 8437: _ACEOF
 8438: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8439:   $EGREP "free" >/dev/null 2>&1; then :
 8440: 
 8441: else
 8442:   ac_cv_header_stdc=no
 8443: fi
 8444: rm -f conftest*
 8445: 
 8446: fi
 8447: 
 8448: if test $ac_cv_header_stdc = yes; then
 8449:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8450:   if test "$cross_compiling" = yes; then :
 8451:   :
 8452: else
 8453:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8454: /* end confdefs.h.  */
 8455: #include <ctype.h>
 8456: #include <stdlib.h>
 8457: #if ((' ' & 0x0FF) == 0x020)
 8458: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8459: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8460: #else
 8461: # define ISLOWER(c) \
 8462:            (('a' <= (c) && (c) <= 'i') \
 8463:              || ('j' <= (c) && (c) <= 'r') \
 8464:              || ('s' <= (c) && (c) <= 'z'))
 8465: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8466: #endif
 8467: 
 8468: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8469: int
 8470: main ()
 8471: {
 8472:   int i;
 8473:   for (i = 0; i < 256; i++)
 8474:     if (XOR (islower (i), ISLOWER (i))
 8475:     || toupper (i) != TOUPPER (i))
 8476:       return 2;
 8477:   return 0;
 8478: }
 8479: _ACEOF
 8480: if ac_fn_c_try_run "$LINENO"; then :
 8481: 
 8482: else
 8483:   ac_cv_header_stdc=no
 8484: fi
 8485: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8486:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8487: fi
 8488: 
 8489: fi
 8490: fi
 8491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8492: $as_echo "$ac_cv_header_stdc" >&6; }
 8493: if test $ac_cv_header_stdc = yes; then
 8494: 
 8495: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8496: 
 8497: fi
 8498: 
 8499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8500: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8501: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 8502:   $as_echo_n "(cached) " >&6
 8503: else
 8504:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8505: /* end confdefs.h.  */
 8506: #include <sys/types.h>
 8507: #include <sys/wait.h>
 8508: #ifndef WEXITSTATUS
 8509: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8510: #endif
 8511: #ifndef WIFEXITED
 8512: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8513: #endif
 8514: 
 8515: int
 8516: main ()
 8517: {
 8518:   int s;
 8519:   wait (&s);
 8520:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8521:   ;
 8522:   return 0;
 8523: }
 8524: _ACEOF
 8525: if ac_fn_c_try_compile "$LINENO"; then :
 8526:   ac_cv_header_sys_wait_h=yes
 8527: else
 8528:   ac_cv_header_sys_wait_h=no
 8529: fi
 8530: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8531: fi
 8532: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8533: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8534: if test $ac_cv_header_sys_wait_h = yes; then
 8535: 
 8536: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8537: 
 8538: fi
 8539: 
 8540: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8541:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8542:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8543: do :
 8544:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8545: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8546: eval as_val=\$$as_ac_Header
 8547:    if test "x$as_val" = x""yes; then :
 8548:   cat >>confdefs.h <<_ACEOF
 8549: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8550: _ACEOF
 8551: 
 8552: fi
 8553: 
 8554: done
 8555: 
 8556: 
 8557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8558: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8559: if test "${ac_cv_c_const+set}" = set; then :
 8560:   $as_echo_n "(cached) " >&6
 8561: else
 8562:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8563: /* end confdefs.h.  */
 8564: 
 8565: int
 8566: main ()
 8567: {
 8568: /* FIXME: Include the comments suggested by Paul. */
 8569: #ifndef __cplusplus
 8570:   /* Ultrix mips cc rejects this.  */
 8571:   typedef int charset[2];
 8572:   const charset cs;
 8573:   /* SunOS 4.1.1 cc rejects this.  */
 8574:   char const *const *pcpcc;
 8575:   char **ppc;
 8576:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8577:   struct point {int x, y;};
 8578:   static struct point const zero = {0,0};
 8579:   /* AIX XL C 1.02.0.0 rejects this.
 8580:      It does not let you subtract one const X* pointer from another in
 8581:      an arm of an if-expression whose if-part is not a constant
 8582:      expression */
 8583:   const char *g = "string";
 8584:   pcpcc = &g + (g ? g-g : 0);
 8585:   /* HPUX 7.0 cc rejects these. */
 8586:   ++pcpcc;
 8587:   ppc = (char**) pcpcc;
 8588:   pcpcc = (char const *const *) ppc;
 8589:   { /* SCO 3.2v4 cc rejects this.  */
 8590:     char *t;
 8591:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8592: 
 8593:     *t++ = 0;
 8594:     if (s) return 0;
 8595:   }
 8596:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8597:     int x[] = {25, 17};
 8598:     const int *foo = &x[0];
 8599:     ++foo;
 8600:   }
 8601:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 8602:     typedef const int *iptr;
 8603:     iptr p = 0;
 8604:     ++p;
 8605:   }
 8606:   { /* AIX XL C 1.02.0.0 rejects this saying
 8607:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 8608:     struct s { int j; const int *ap[3]; };
 8609:     struct s *b; b->j = 5;
 8610:   }
 8611:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 8612:     const int foo = 10;
 8613:     if (!foo) return 0;
 8614:   }
 8615:   return !cs[0] && !zero.x;
 8616: #endif
 8617: 
 8618:   ;
 8619:   return 0;
 8620: }
 8621: _ACEOF
 8622: if ac_fn_c_try_compile "$LINENO"; then :
 8623:   ac_cv_c_const=yes
 8624: else
 8625:   ac_cv_c_const=no
 8626: fi
 8627: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8628: fi
 8629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 8630: $as_echo "$ac_cv_c_const" >&6; }
 8631: if test $ac_cv_c_const = no; then
 8632: 
 8633: $as_echo "#define const /**/" >>confdefs.h
 8634: 
 8635: fi
 8636: 
 8637: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 8638: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 8639: if test "${ac_cv_type_uid_t+set}" = set; then :
 8640:   $as_echo_n "(cached) " >&6
 8641: else
 8642:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8643: /* end confdefs.h.  */
 8644: #include <sys/types.h>
 8645: 
 8646: _ACEOF
 8647: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8648:   $EGREP "uid_t" >/dev/null 2>&1; then :
 8649:   ac_cv_type_uid_t=yes
 8650: else
 8651:   ac_cv_type_uid_t=no
 8652: fi
 8653: rm -f conftest*
 8654: 
 8655: fi
 8656: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 8657: $as_echo "$ac_cv_type_uid_t" >&6; }
 8658: if test $ac_cv_type_uid_t = no; then
 8659: 
 8660: $as_echo "#define uid_t int" >>confdefs.h
 8661: 
 8662: 
 8663: $as_echo "#define gid_t int" >>confdefs.h
 8664: 
 8665: fi
 8666: 
 8667: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 8668: if test "x$ac_cv_type_pid_t" = x""yes; then :
 8669: 
 8670: else
 8671: 
 8672: cat >>confdefs.h <<_ACEOF
 8673: #define pid_t int
 8674: _ACEOF
 8675: 
 8676: fi
 8677: 
 8678: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 8679: if test "x$ac_cv_type_size_t" = x""yes; then :
 8680: 
 8681: else
 8682: 
 8683: cat >>confdefs.h <<_ACEOF
 8684: #define size_t unsigned int
 8685: _ACEOF
 8686: 
 8687: fi
 8688: 
 8689: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 8690: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 8691: if test "${ac_cv_header_time+set}" = set; then :
 8692:   $as_echo_n "(cached) " >&6
 8693: else
 8694:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8695: /* end confdefs.h.  */
 8696: #include <sys/types.h>
 8697: #include <sys/time.h>
 8698: #include <time.h>
 8699: 
 8700: int
 8701: main ()
 8702: {
 8703: if ((struct tm *) 0)
 8704: return 0;
 8705:   ;
 8706:   return 0;
 8707: }
 8708: _ACEOF
 8709: if ac_fn_c_try_compile "$LINENO"; then :
 8710:   ac_cv_header_time=yes
 8711: else
 8712:   ac_cv_header_time=no
 8713: fi
 8714: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8715: fi
 8716: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 8717: $as_echo "$ac_cv_header_time" >&6; }
 8718: if test $ac_cv_header_time = yes; then
 8719: 
 8720: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 8721: 
 8722: fi
 8723: 
 8724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 8725: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 8726: if test "${ac_cv_struct_tm+set}" = set; then :
 8727:   $as_echo_n "(cached) " >&6
 8728: else
 8729:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8730: /* end confdefs.h.  */
 8731: #include <sys/types.h>
 8732: #include <time.h>
 8733: 
 8734: int
 8735: main ()
 8736: {
 8737: struct tm tm;
 8738:                      int *p = &tm.tm_sec;
 8739:                      return !p;
 8740:   ;
 8741:   return 0;
 8742: }
 8743: _ACEOF
 8744: if ac_fn_c_try_compile "$LINENO"; then :
 8745:   ac_cv_struct_tm=time.h
 8746: else
 8747:   ac_cv_struct_tm=sys/time.h
 8748: fi
 8749: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8750: fi
 8751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 8752: $as_echo "$ac_cv_struct_tm" >&6; }
 8753: if test $ac_cv_struct_tm = sys/time.h; then
 8754: 
 8755: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 8756: 
 8757: fi
 8758: 
 8759: 
 8760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 8761: $as_echo_n "checking return type of signal handlers... " >&6; }
 8762: if test "${ac_cv_type_signal+set}" = set; then :
 8763:   $as_echo_n "(cached) " >&6
 8764: else
 8765:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8766: /* end confdefs.h.  */
 8767: #include <sys/types.h>
 8768: #include <signal.h>
 8769: 
 8770: int
 8771: main ()
 8772: {
 8773: return *(signal (0, 0)) (0) == 1;
 8774:   ;
 8775:   return 0;
 8776: }
 8777: _ACEOF
 8778: if ac_fn_c_try_compile "$LINENO"; then :
 8779:   ac_cv_type_signal=int
 8780: else
 8781:   ac_cv_type_signal=void
 8782: fi
 8783: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8784: fi
 8785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 8786: $as_echo "$ac_cv_type_signal" >&6; }
 8787: 
 8788: cat >>confdefs.h <<_ACEOF
 8789: #define RETSIGTYPE $ac_cv_type_signal
 8790: _ACEOF
 8791: 
 8792: 
 8793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 8794: $as_echo_n "checking for working strcoll... " >&6; }
 8795: if test "${ac_cv_func_strcoll_works+set}" = set; then :
 8796:   $as_echo_n "(cached) " >&6
 8797: else
 8798:   if test "$cross_compiling" = yes; then :
 8799:   ac_cv_func_strcoll_works=no
 8800: else
 8801:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8802: /* end confdefs.h.  */
 8803: $ac_includes_default
 8804: int
 8805: main ()
 8806: {
 8807: return (strcoll ("abc", "def") >= 0 ||
 8808:      strcoll ("ABC", "DEF") >= 0 ||
 8809:      strcoll ("123", "456") >= 0)
 8810:   ;
 8811:   return 0;
 8812: }
 8813: _ACEOF
 8814: if ac_fn_c_try_run "$LINENO"; then :
 8815:   ac_cv_func_strcoll_works=yes
 8816: else
 8817:   ac_cv_func_strcoll_works=no
 8818: fi
 8819: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8820:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8821: fi
 8822: 
 8823: fi
 8824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 8825: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 8826: if test $ac_cv_func_strcoll_works = yes; then
 8827: 
 8828: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 8829: 
 8830: fi
 8831: 
 8832: for ac_func in strftime
 8833: do :
 8834:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 8835: if test "x$ac_cv_func_strftime" = x""yes; then :
 8836:   cat >>confdefs.h <<_ACEOF
 8837: #define HAVE_STRFTIME 1
 8838: _ACEOF
 8839: 
 8840: else
 8841:   # strftime is in -lintl on SCO UNIX.
 8842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 8843: $as_echo_n "checking for strftime in -lintl... " >&6; }
 8844: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 8845:   $as_echo_n "(cached) " >&6
 8846: else
 8847:   ac_check_lib_save_LIBS=$LIBS
 8848: LIBS="-lintl  $LIBS"
 8849: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8850: /* end confdefs.h.  */
 8851: 
 8852: /* Override any GCC internal prototype to avoid an error.
 8853:    Use char because int might match the return type of a GCC
 8854:    builtin and then its argument prototype would still apply.  */
 8855: #ifdef __cplusplus
 8856: extern "C"
 8857: #endif
 8858: char strftime ();
 8859: int
 8860: main ()
 8861: {
 8862: return strftime ();
 8863:   ;
 8864:   return 0;
 8865: }
 8866: _ACEOF
 8867: if ac_fn_c_try_link "$LINENO"; then :
 8868:   ac_cv_lib_intl_strftime=yes
 8869: else
 8870:   ac_cv_lib_intl_strftime=no
 8871: fi
 8872: rm -f core conftest.err conftest.$ac_objext \
 8873:     conftest$ac_exeext conftest.$ac_ext
 8874: LIBS=$ac_check_lib_save_LIBS
 8875: fi
 8876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 8877: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 8878: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 8879:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 8880: 
 8881: LIBS="-lintl $LIBS"
 8882: fi
 8883: 
 8884: fi
 8885: done
 8886: 
 8887: for ac_func in vprintf
 8888: do :
 8889:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 8890: if test "x$ac_cv_func_vprintf" = x""yes; then :
 8891:   cat >>confdefs.h <<_ACEOF
 8892: #define HAVE_VPRINTF 1
 8893: _ACEOF
 8894: 
 8895: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 8896: if test "x$ac_cv_func__doprnt" = x""yes; then :
 8897: 
 8898: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 8899: 
 8900: fi
 8901: 
 8902: fi
 8903: done
 8904: 
 8905: 
 8906: for ac_func in ftime getcwd putenv select strcspn strdup \
 8907:         strerror strspn strstr strtod
 8908: do :
 8909:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 8910: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 8911: eval as_val=\$$as_ac_var
 8912:    if test "x$as_val" = x""yes; then :
 8913:   cat >>confdefs.h <<_ACEOF
 8914: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 8915: _ACEOF
 8916: 
 8917: fi
 8918: done
 8919: 
 8920: 
 8921: 
 8922: # Check whether --with-openssl_arch was given.
 8923: if test "${with_openssl_arch+set}" = set; then :
 8924:   withval=$with_openssl_arch;
 8925: else
 8926:   with_openssl_arch=none
 8927: fi
 8928: 
 8929: 
 8930: if test $(uname) = "OS/2"; then
 8931:     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 8932: else
 8933:     if test "x$with_openssl_arch" = xnone; then
 8934:         (cd tools/$OPENSSL && ./config)
 8935:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 8936:         (cd tools/$OPENSSL && ./Configure)
 8937:         as_fn_error "OS/COMP informations are required!" "$LINENO" 5
 8938:     elif test "x$with_openssl_arch" = xlist; then
 8939:         (cd tools/$OPENSSL && ./Configure)
 8940:         as_fn_error "Please specify OS and Architecture" "$LINENO" 5
 8941:     else
 8942:         (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
 8943:     fi
 8944: fi
 8945: 
 8946: 
 8947: 
 8948: subdirs="$subdirs tools/$NCURSES"
 8949: 
 8950: subdirs="$subdirs tools/$READLINE"
 8951: 
 8952: subdirs="$subdirs tools/$GSL"
 8953: 
 8954: subdirs="$subdirs tools/$GPP"
 8955: 
 8956: subdirs="$subdirs tools/$FILE"
 8957: 
 8958: subdirs="$subdirs tools/$ICONV"
 8959: 
 8960: subdirs="$subdirs tools/$SQLITE"
 8961: 
 8962: subdirs="$subdirs tools/$UNITS"
 8963: 
 8964: 
 8965: if test "$MYGNUPLOT" = "yes"; then
 8966:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 8967:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 8968:                 (cd "$srcdir/tools" && tar -xf -)
 8969:     fi
 8970:     subdirs="$subdirs tools/$GNUPLOT"
 8971: 
 8972:     GNUPLOT_COMPILATION=$GNUPLOT
 8973: else
 8974:     GNUPLOT_COMPILATION=
 8975: fi
 8976: 
 8977: 
 8978: 
 8979: case $host_cpu in
 8980: 
 8981:     i?86)
 8982:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 8983:             -Wno-pointer-sign"
 8984:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 8985:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 8986:     break ;;
 8987: 
 8988:     x86_64*)
 8989:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 8990:             -Wno-pointer-sign"
 8991:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 8992:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 8993:     break ;;
 8994: 
 8995:     alpha*)
 8996:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
 8997:             -Wno-pointer-sign"
 8998:     FFLAGS="$FFLAGS -mieee -Wall"
 8999:     FCFLAGS="$FCFLAGS -mieee -Wall"
 9000:     break ;;
 9001: 
 9002:     sparc*)
 9003:     CFLAGS="$CFLAGS -Wall -funsigned-char \
 9004:             -Wno-pointer-sign"
 9005:     FFLAGS="$FFLAGS -Wall"
 9006:     FCFLAGS="$FCFLAGS -Wall"
 9007:     break ;;
 9008: 
 9009: esac
 9010: 
 9011: case $host_os in
 9012: 
 9013:     cygwin*)
 9014:         OS=Cygwin
 9015:     break ;;
 9016: 
 9017:     interix*)
 9018:         OS=Interix
 9019:     break ;;
 9020: 
 9021:     *)
 9022:         OS=$(uname)
 9023:     break ;;
 9024: 
 9025: esac
 9026: 
 9027: 
 9028: 
 9029: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9030: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9031: 
 9032: case $OS in
 9033: 
 9034:     Darwin)
 9035:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9036:         NESTED_FUNCTIONS=-fnested-functions
 9037:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9038:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9039:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9040:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9041:                 --disable-shared --enable-static"
 9042:         C_STANDARD=-std=gnu99
 9043:     break ;;
 9044: 
 9045:     Cygwin)
 9046:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9047:         NESTED_FUNCTIONS=
 9048:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9049:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9050:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9051:                 --disable-shared --enable-static"
 9052:         C_STANDARD=-std=gnu99
 9053:     break ;;
 9054: 
 9055:     Interix)
 9056:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9057:         NESTED_FUNCTIONS=
 9058:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9059:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9060:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9061:                 --disable-shared --enable-static"
 9062:         C_STANDARD=-std=gnu99
 9063:     break;;
 9064: 
 9065:     AIX)
 9066:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9067:         NESTED_FUNCTIONS=
 9068:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9069:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9070:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9071:                 --disable-shared --enable-static"
 9072:         C_STANDARD=-std=gnu99
 9073:     break ;;
 9074: 
 9075:     OS/2)
 9076:         MALLOC=
 9077:         OS=OS2
 9078:         FINAL_ENCODING=CP850
 9079:         NESTED_FUNCTIONS=
 9080:         EXPORT_DYNAMIC=-Zmap
 9081:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9082:         SEMAPHORES_SYSV=-DSEMAPHORES_SYSV
 9083:         ac_configure_args="$ac_configure_args --without-readline \
 9084:                 --without-cairo --disable-shared --enable-static"
 9085:         C_STANDARD=
 9086:     break;;
 9087: 
 9088:     *)
 9089:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9090:         NESTED_FUNCTIONS=
 9091:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9092:         SEMAPHORES_SYSV=-USEMAPHORES_SYSV
 9093:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9094:                 --disable-shared --enable-static"
 9095:         C_STANDARD=-std=gnu99
 9096:     break ;;
 9097: 
 9098: esac
 9099: 
 9100: 
 9101: 
 9102: 
 9103: 
 9104: 
 9105: 
 9106: 
 9107: 
 9108: 
 9109: 
 9110: 
 9111: 
 9112: 
 9113: 
 9114: 
 9115: 
 9116: 
 9117: 
 9118: 
 9119: 
 9120: 
 9121: 
 9122: 
 9123: 
 9124: 
 9125: 
 9126: 
 9127: 
 9128: 
 9129: ac_config_files="$ac_config_files Makefile"
 9130: 
 9131: ac_config_files="$ac_config_files COPYING"
 9132: 
 9133: ac_config_files="$ac_config_files tools/Makefile"
 9134: 
 9135: ac_config_files="$ac_config_files src/Makefile"
 9136: 
 9137: ac_config_files="$ac_config_files man/Makefile"
 9138: 
 9139: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9140: 
 9141: ac_config_files="$ac_config_files doc/Makefile"
 9142: 
 9143: ac_config_files="$ac_config_files scripts/Makefile"
 9144: 
 9145: ac_config_files="$ac_config_files scripts/mkrplso"
 9146: 
 9147: ac_config_files="$ac_config_files scripts/rplcc"
 9148: 
 9149: ac_config_files="$ac_config_files scripts/rpllink"
 9150: 
 9151: ac_config_files="$ac_config_files rpltags/Makefile"
 9152: 
 9153: ac_config_files="$ac_config_files rpliconv/Makefile"
 9154: 
 9155: ac_config_files="$ac_config_files rplsums/Makefile"
 9156: 
 9157: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9158: 
 9159: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9160: 
 9161: ac_config_files="$ac_config_files ptmalloc3/Makefile"
 9162: 
 9163: 
 9164: ac_config_files="$ac_config_files man/rpl.1"
 9165: 
 9166: ac_config_files="$ac_config_files man/rplcc.1"
 9167: 
 9168: ac_config_files="$ac_config_files man/rpllink.1"
 9169: 
 9170: ac_config_files="$ac_config_files man/rpltags.1"
 9171: 
 9172: ac_config_files="$ac_config_files man/mkrplso.1"
 9173: 
 9174: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9175: 
 9176: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9177: 
 9178: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9179: 
 9180: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9181: 
 9182: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9183: 
 9184: 
 9185: cat >confcache <<\_ACEOF
 9186: # This file is a shell script that caches the results of configure
 9187: # tests run on this system so they can be shared between configure
 9188: # scripts and configure runs, see configure's option --config-cache.
 9189: # It is not useful on other systems.  If it contains results you don't
 9190: # want to keep, you may remove or edit it.
 9191: #
 9192: # config.status only pays attention to the cache file if you give it
 9193: # the --recheck option to rerun configure.
 9194: #
 9195: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9196: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9197: # following values.
 9198: 
 9199: _ACEOF
 9200: 
 9201: # The following way of writing the cache mishandles newlines in values,
 9202: # but we know of no workaround that is simple, portable, and efficient.
 9203: # So, we kill variables containing newlines.
 9204: # Ultrix sh set writes to stderr and can't be redirected directly,
 9205: # and sets the high bit in the cache file unless we assign to the vars.
 9206: (
 9207:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9208:     eval ac_val=\$$ac_var
 9209:     case $ac_val in #(
 9210:     *${as_nl}*)
 9211:       case $ac_var in #(
 9212:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9213: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9214:       esac
 9215:       case $ac_var in #(
 9216:       _ | IFS | as_nl) ;; #(
 9217:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9218:       *) { eval $ac_var=; unset $ac_var;} ;;
 9219:       esac ;;
 9220:     esac
 9221:   done
 9222: 
 9223:   (set) 2>&1 |
 9224:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9225:     *${as_nl}ac_space=\ *)
 9226:       # `set' does not quote correctly, so add quotes: double-quote
 9227:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9228:       sed -n \
 9229:     "s/'/'\\\\''/g;
 9230:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9231:       ;; #(
 9232:     *)
 9233:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9234:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9235:       ;;
 9236:     esac |
 9237:     sort
 9238: ) |
 9239:   sed '
 9240:      /^ac_cv_env_/b end
 9241:      t clear
 9242:      :clear
 9243:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9244:      t end
 9245:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9246:      :end' >>confcache
 9247: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9248:   if test -w "$cache_file"; then
 9249:     test "x$cache_file" != "x/dev/null" &&
 9250:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9251: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9252:     cat confcache >$cache_file
 9253:   else
 9254:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9255: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9256:   fi
 9257: fi
 9258: rm -f confcache
 9259: 
 9260: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9261: # Let make expand exec_prefix.
 9262: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9263: 
 9264: DEFS=-DHAVE_CONFIG_H
 9265: 
 9266: ac_libobjs=
 9267: ac_ltlibobjs=
 9268: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9269:   # 1. Remove the extension, and $U if already installed.
 9270:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9271:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9272:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9273:   #    will be set to the directory where LIBOBJS objects are built.
 9274:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9275:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9276: done
 9277: LIBOBJS=$ac_libobjs
 9278: 
 9279: LTLIBOBJS=$ac_ltlibobjs
 9280: 
 9281: 
 9282:  if test -n "$EXEEXT"; then
 9283:   am__EXEEXT_TRUE=
 9284:   am__EXEEXT_FALSE='#'
 9285: else
 9286:   am__EXEEXT_TRUE='#'
 9287:   am__EXEEXT_FALSE=
 9288: fi
 9289: 
 9290: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9291:   as_fn_error "conditional \"AMDEP\" was never defined.
 9292: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9293: fi
 9294: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9295:   as_fn_error "conditional \"am__fastdepCC\" was never defined.
 9296: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9297: fi
 9298: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9299:   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 9300: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9301: fi
 9302: 
 9303: : ${CONFIG_STATUS=./config.status}
 9304: ac_write_fail=0
 9305: ac_clean_files_save=$ac_clean_files
 9306: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9307: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9308: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9309: as_write_fail=0
 9310: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9311: #! $SHELL
 9312: # Generated by $as_me.
 9313: # Run this file to recreate the current configuration.
 9314: # Compiler output produced by configure, useful for debugging
 9315: # configure, is in config.log if it exists.
 9316: 
 9317: debug=false
 9318: ac_cs_recheck=false
 9319: ac_cs_silent=false
 9320: 
 9321: SHELL=\${CONFIG_SHELL-$SHELL}
 9322: export SHELL
 9323: _ASEOF
 9324: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9325: ## -------------------- ##
 9326: ## M4sh Initialization. ##
 9327: ## -------------------- ##
 9328: 
 9329: # Be more Bourne compatible
 9330: DUALCASE=1; export DUALCASE # for MKS sh
 9331: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9332:   emulate sh
 9333:   NULLCMD=:
 9334:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9335:   # is contrary to our usage.  Disable this feature.
 9336:   alias -g '${1+"$@"}'='"$@"'
 9337:   setopt NO_GLOB_SUBST
 9338: else
 9339:   case `(set -o) 2>/dev/null` in #(
 9340:   *posix*) :
 9341:     set -o posix ;; #(
 9342:   *) :
 9343:      ;;
 9344: esac
 9345: fi
 9346: 
 9347: 
 9348: as_nl='
 9349: '
 9350: export as_nl
 9351: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9352: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9353: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9354: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9355: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9356: # but without wasting forks for bash or zsh.
 9357: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9358:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9359:   as_echo='print -r --'
 9360:   as_echo_n='print -rn --'
 9361: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9362:   as_echo='printf %s\n'
 9363:   as_echo_n='printf %s'
 9364: else
 9365:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9366:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9367:     as_echo_n='/usr/ucb/echo -n'
 9368:   else
 9369:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9370:     as_echo_n_body='eval
 9371:       arg=$1;
 9372:       case $arg in #(
 9373:       *"$as_nl"*)
 9374:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9375:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9376:       esac;
 9377:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9378:     '
 9379:     export as_echo_n_body
 9380:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9381:   fi
 9382:   export as_echo_body
 9383:   as_echo='sh -c $as_echo_body as_echo'
 9384: fi
 9385: 
 9386: # The user is always right.
 9387: if test "${PATH_SEPARATOR+set}" != set; then
 9388:   PATH_SEPARATOR=:
 9389:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9390:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9391:       PATH_SEPARATOR=';'
 9392:   }
 9393: fi
 9394: 
 9395: 
 9396: # IFS
 9397: # We need space, tab and new line, in precisely that order.  Quoting is
 9398: # there to prevent editors from complaining about space-tab.
 9399: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9400: # splitting by setting IFS to empty value.)
 9401: IFS=" ""    $as_nl"
 9402: 
 9403: # Find who we are.  Look in the path if we contain no directory separator.
 9404: case $0 in #((
 9405:   *[\\/]* ) as_myself=$0 ;;
 9406:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9407: for as_dir in $PATH
 9408: do
 9409:   IFS=$as_save_IFS
 9410:   test -z "$as_dir" && as_dir=.
 9411:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9412:   done
 9413: IFS=$as_save_IFS
 9414: 
 9415:      ;;
 9416: esac
 9417: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9418: # in which case we are not to be found in the path.
 9419: if test "x$as_myself" = x; then
 9420:   as_myself=$0
 9421: fi
 9422: if test ! -f "$as_myself"; then
 9423:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9424:   exit 1
 9425: fi
 9426: 
 9427: # Unset variables that we do not need and which cause bugs (e.g. in
 9428: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9429: # suppresses any "Segmentation fault" message there.  '((' could
 9430: # trigger a bug in pdksh 5.2.14.
 9431: for as_var in BASH_ENV ENV MAIL MAILPATH
 9432: do eval test x\${$as_var+set} = xset \
 9433:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9434: done
 9435: PS1='$ '
 9436: PS2='> '
 9437: PS4='+ '
 9438: 
 9439: # NLS nuisances.
 9440: LC_ALL=C
 9441: export LC_ALL
 9442: LANGUAGE=C
 9443: export LANGUAGE
 9444: 
 9445: # CDPATH.
 9446: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9447: 
 9448: 
 9449: # as_fn_error ERROR [LINENO LOG_FD]
 9450: # ---------------------------------
 9451: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9452: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9453: # script with status $?, using 1 if that was 0.
 9454: as_fn_error ()
 9455: {
 9456:   as_status=$?; test $as_status -eq 0 && as_status=1
 9457:   if test "$3"; then
 9458:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 9459:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 9460:   fi
 9461:   $as_echo "$as_me: error: $1" >&2
 9462:   as_fn_exit $as_status
 9463: } # as_fn_error
 9464: 
 9465: 
 9466: # as_fn_set_status STATUS
 9467: # -----------------------
 9468: # Set $? to STATUS, without forking.
 9469: as_fn_set_status ()
 9470: {
 9471:   return $1
 9472: } # as_fn_set_status
 9473: 
 9474: # as_fn_exit STATUS
 9475: # -----------------
 9476: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 9477: as_fn_exit ()
 9478: {
 9479:   set +e
 9480:   as_fn_set_status $1
 9481:   exit $1
 9482: } # as_fn_exit
 9483: 
 9484: # as_fn_unset VAR
 9485: # ---------------
 9486: # Portably unset VAR.
 9487: as_fn_unset ()
 9488: {
 9489:   { eval $1=; unset $1;}
 9490: }
 9491: as_unset=as_fn_unset
 9492: # as_fn_append VAR VALUE
 9493: # ----------------------
 9494: # Append the text in VALUE to the end of the definition contained in VAR. Take
 9495: # advantage of any shell optimizations that allow amortized linear growth over
 9496: # repeated appends, instead of the typical quadratic growth present in naive
 9497: # implementations.
 9498: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 9499:   eval 'as_fn_append ()
 9500:   {
 9501:     eval $1+=\$2
 9502:   }'
 9503: else
 9504:   as_fn_append ()
 9505:   {
 9506:     eval $1=\$$1\$2
 9507:   }
 9508: fi # as_fn_append
 9509: 
 9510: # as_fn_arith ARG...
 9511: # ------------------
 9512: # Perform arithmetic evaluation on the ARGs, and store the result in the
 9513: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 9514: # must be portable across $(()) and expr.
 9515: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 9516:   eval 'as_fn_arith ()
 9517:   {
 9518:     as_val=$(( $* ))
 9519:   }'
 9520: else
 9521:   as_fn_arith ()
 9522:   {
 9523:     as_val=`expr "$@" || test $? -eq 1`
 9524:   }
 9525: fi # as_fn_arith
 9526: 
 9527: 
 9528: if expr a : '\(a\)' >/dev/null 2>&1 &&
 9529:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 9530:   as_expr=expr
 9531: else
 9532:   as_expr=false
 9533: fi
 9534: 
 9535: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 9536:   as_basename=basename
 9537: else
 9538:   as_basename=false
 9539: fi
 9540: 
 9541: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 9542:   as_dirname=dirname
 9543: else
 9544:   as_dirname=false
 9545: fi
 9546: 
 9547: as_me=`$as_basename -- "$0" ||
 9548: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 9549:      X"$0" : 'X\(//\)$' \| \
 9550:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 9551: $as_echo X/"$0" |
 9552:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 9553:         s//\1/
 9554:         q
 9555:       }
 9556:       /^X\/\(\/\/\)$/{
 9557:         s//\1/
 9558:         q
 9559:       }
 9560:       /^X\/\(\/\).*/{
 9561:         s//\1/
 9562:         q
 9563:       }
 9564:       s/.*/./; q'`
 9565: 
 9566: # Avoid depending upon Character Ranges.
 9567: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 9568: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 9569: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 9570: as_cr_digits='0123456789'
 9571: as_cr_alnum=$as_cr_Letters$as_cr_digits
 9572: 
 9573: ECHO_C= ECHO_N= ECHO_T=
 9574: case `echo -n x` in #(((((
 9575: -n*)
 9576:   case `echo 'xy\c'` in
 9577:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 9578:   xy)  ECHO_C='\c';;
 9579:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 9580:        ECHO_T=' ';;
 9581:   esac;;
 9582: *)
 9583:   ECHO_N='-n';;
 9584: esac
 9585: 
 9586: rm -f conf$$ conf$$.exe conf$$.file
 9587: if test -d conf$$.dir; then
 9588:   rm -f conf$$.dir/conf$$.file
 9589: else
 9590:   rm -f conf$$.dir
 9591:   mkdir conf$$.dir 2>/dev/null
 9592: fi
 9593: if (echo >conf$$.file) 2>/dev/null; then
 9594:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 9595:     as_ln_s='ln -s'
 9596:     # ... but there are two gotchas:
 9597:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 9598:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 9599:     # In both cases, we have to default to `cp -p'.
 9600:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 9601:       as_ln_s='cp -p'
 9602:   elif ln conf$$.file conf$$ 2>/dev/null; then
 9603:     as_ln_s=ln
 9604:   else
 9605:     as_ln_s='cp -p'
 9606:   fi
 9607: else
 9608:   as_ln_s='cp -p'
 9609: fi
 9610: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 9611: rmdir conf$$.dir 2>/dev/null
 9612: 
 9613: 
 9614: # as_fn_mkdir_p
 9615: # -------------
 9616: # Create "$as_dir" as a directory, including parents if necessary.
 9617: as_fn_mkdir_p ()
 9618: {
 9619: 
 9620:   case $as_dir in #(
 9621:   -*) as_dir=./$as_dir;;
 9622:   esac
 9623:   test -d "$as_dir" || eval $as_mkdir_p || {
 9624:     as_dirs=
 9625:     while :; do
 9626:       case $as_dir in #(
 9627:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 9628:       *) as_qdir=$as_dir;;
 9629:       esac
 9630:       as_dirs="'$as_qdir' $as_dirs"
 9631:       as_dir=`$as_dirname -- "$as_dir" ||
 9632: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 9633:      X"$as_dir" : 'X\(//\)[^/]' \| \
 9634:      X"$as_dir" : 'X\(//\)$' \| \
 9635:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 9636: $as_echo X"$as_dir" |
 9637:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 9638:         s//\1/
 9639:         q
 9640:       }
 9641:       /^X\(\/\/\)[^/].*/{
 9642:         s//\1/
 9643:         q
 9644:       }
 9645:       /^X\(\/\/\)$/{
 9646:         s//\1/
 9647:         q
 9648:       }
 9649:       /^X\(\/\).*/{
 9650:         s//\1/
 9651:         q
 9652:       }
 9653:       s/.*/./; q'`
 9654:       test -d "$as_dir" && break
 9655:     done
 9656:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 9657:   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 9658: 
 9659: 
 9660: } # as_fn_mkdir_p
 9661: if mkdir -p . 2>/dev/null; then
 9662:   as_mkdir_p='mkdir -p "$as_dir"'
 9663: else
 9664:   test -d ./-p && rmdir ./-p
 9665:   as_mkdir_p=false
 9666: fi
 9667: 
 9668: if test -x / >/dev/null 2>&1; then
 9669:   as_test_x='test -x'
 9670: else
 9671:   if ls -dL / >/dev/null 2>&1; then
 9672:     as_ls_L_option=L
 9673:   else
 9674:     as_ls_L_option=
 9675:   fi
 9676:   as_test_x='
 9677:     eval sh -c '\''
 9678:       if test -d "$1"; then
 9679:     test -d "$1/.";
 9680:       else
 9681:     case $1 in #(
 9682:     -*)set "./$1";;
 9683:     esac;
 9684:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 9685:     ???[sx]*):;;*)false;;esac;fi
 9686:     '\'' sh
 9687:   '
 9688: fi
 9689: as_executable_p=$as_test_x
 9690: 
 9691: # Sed expression to map a string onto a valid CPP name.
 9692: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 9693: 
 9694: # Sed expression to map a string onto a valid variable name.
 9695: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 9696: 
 9697: 
 9698: exec 6>&1
 9699: ## ----------------------------------- ##
 9700: ## Main body of $CONFIG_STATUS script. ##
 9701: ## ----------------------------------- ##
 9702: _ASEOF
 9703: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 9704: 
 9705: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9706: # Save the log message, to keep $0 and so on meaningful, and to
 9707: # report actual input values of CONFIG_FILES etc. instead of their
 9708: # values after options handling.
 9709: ac_log="
 9710: This file was extended by rpl $as_me 4.0.18, which was
 9711: generated by GNU Autoconf 2.65.  Invocation command line was
 9712: 
 9713:   CONFIG_FILES    = $CONFIG_FILES
 9714:   CONFIG_HEADERS  = $CONFIG_HEADERS
 9715:   CONFIG_LINKS    = $CONFIG_LINKS
 9716:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 9717:   $ $0 $@
 9718: 
 9719: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 9720: "
 9721: 
 9722: _ACEOF
 9723: 
 9724: case $ac_config_files in *"
 9725: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 9726: esac
 9727: 
 9728: case $ac_config_headers in *"
 9729: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 9730: esac
 9731: 
 9732: 
 9733: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9734: # Files that config.status was made for.
 9735: config_files="$ac_config_files"
 9736: config_headers="$ac_config_headers"
 9737: config_commands="$ac_config_commands"
 9738: 
 9739: _ACEOF
 9740: 
 9741: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9742: ac_cs_usage="\
 9743: \`$as_me' instantiates files and other configuration actions
 9744: from templates according to the current configuration.  Unless the files
 9745: and actions are specified as TAGs, all are instantiated by default.
 9746: 
 9747: Usage: $0 [OPTION]... [TAG]...
 9748: 
 9749:   -h, --help       print this help, then exit
 9750:   -V, --version    print version number and configuration settings, then exit
 9751:       --config     print configuration, then exit
 9752:   -q, --quiet, --silent
 9753:                    do not print progress messages
 9754:   -d, --debug      don't remove temporary files
 9755:       --recheck    update $as_me by reconfiguring in the same conditions
 9756:       --file=FILE[:TEMPLATE]
 9757:                    instantiate the configuration file FILE
 9758:       --header=FILE[:TEMPLATE]
 9759:                    instantiate the configuration header FILE
 9760: 
 9761: Configuration files:
 9762: $config_files
 9763: 
 9764: Configuration headers:
 9765: $config_headers
 9766: 
 9767: Configuration commands:
 9768: $config_commands
 9769: 
 9770: Report bugs to the package provider."
 9771: 
 9772: _ACEOF
 9773: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9774: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 9775: ac_cs_version="\\
 9776: rpl config.status 4.0.18
 9777: configured by $0, generated by GNU Autoconf 2.65,
 9778:   with options \\"\$ac_cs_config\\"
 9779: 
 9780: Copyright (C) 2009 Free Software Foundation, Inc.
 9781: This config.status script is free software; the Free Software Foundation
 9782: gives unlimited permission to copy, distribute and modify it."
 9783: 
 9784: ac_pwd='$ac_pwd'
 9785: srcdir='$srcdir'
 9786: INSTALL='$INSTALL'
 9787: MKDIR_P='$MKDIR_P'
 9788: AWK='$AWK'
 9789: test -n "\$AWK" || AWK=awk
 9790: _ACEOF
 9791: 
 9792: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9793: # The default lists apply if the user does not specify any file.
 9794: ac_need_defaults=:
 9795: while test $# != 0
 9796: do
 9797:   case $1 in
 9798:   --*=*)
 9799:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 9800:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 9801:     ac_shift=:
 9802:     ;;
 9803:   *)
 9804:     ac_option=$1
 9805:     ac_optarg=$2
 9806:     ac_shift=shift
 9807:     ;;
 9808:   esac
 9809: 
 9810:   case $ac_option in
 9811:   # Handling of the options.
 9812:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 9813:     ac_cs_recheck=: ;;
 9814:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 9815:     $as_echo "$ac_cs_version"; exit ;;
 9816:   --config | --confi | --conf | --con | --co | --c )
 9817:     $as_echo "$ac_cs_config"; exit ;;
 9818:   --debug | --debu | --deb | --de | --d | -d )
 9819:     debug=: ;;
 9820:   --file | --fil | --fi | --f )
 9821:     $ac_shift
 9822:     case $ac_optarg in
 9823:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 9824:     esac
 9825:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 9826:     ac_need_defaults=false;;
 9827:   --header | --heade | --head | --hea )
 9828:     $ac_shift
 9829:     case $ac_optarg in
 9830:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 9831:     esac
 9832:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 9833:     ac_need_defaults=false;;
 9834:   --he | --h)
 9835:     # Conflict between --help and --header
 9836:     as_fn_error "ambiguous option: \`$1'
 9837: Try \`$0 --help' for more information.";;
 9838:   --help | --hel | -h )
 9839:     $as_echo "$ac_cs_usage"; exit ;;
 9840:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 9841:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 9842:     ac_cs_silent=: ;;
 9843: 
 9844:   # This is an error.
 9845:   -*) as_fn_error "unrecognized option: \`$1'
 9846: Try \`$0 --help' for more information." ;;
 9847: 
 9848:   *) as_fn_append ac_config_targets " $1"
 9849:      ac_need_defaults=false ;;
 9850: 
 9851:   esac
 9852:   shift
 9853: done
 9854: 
 9855: ac_configure_extra_args=
 9856: 
 9857: if $ac_cs_silent; then
 9858:   exec 6>/dev/null
 9859:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 9860: fi
 9861: 
 9862: _ACEOF
 9863: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9864: if \$ac_cs_recheck; then
 9865:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 9866:   shift
 9867:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 9868:   CONFIG_SHELL='$SHELL'
 9869:   export CONFIG_SHELL
 9870:   exec "\$@"
 9871: fi
 9872: 
 9873: _ACEOF
 9874: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9875: exec 5>>config.log
 9876: {
 9877:   echo
 9878:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 9879: ## Running $as_me. ##
 9880: _ASBOX
 9881:   $as_echo "$ac_log"
 9882: } >&5
 9883: 
 9884: _ACEOF
 9885: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9886: #
 9887: # INIT-COMMANDS
 9888: #
 9889: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 9890: 
 9891: _ACEOF
 9892: 
 9893: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9894: 
 9895: # Handling of arguments.
 9896: for ac_config_target in $ac_config_targets
 9897: do
 9898:   case $ac_config_target in
 9899:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
 9900:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 9901:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 9902:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
 9903:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 9904:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 9905:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 9906:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
 9907:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 9908:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
 9909:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
 9910:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
 9911:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
 9912:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
 9913:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
 9914:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
 9915:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
 9916:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
 9917:     "ptmalloc3/Makefile") CONFIG_FILES="$CONFIG_FILES ptmalloc3/Makefile" ;;
 9918:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
 9919:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
 9920:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
 9921:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
 9922:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
 9923:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
 9924:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
 9925:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
 9926:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
 9927:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
 9928: 
 9929:   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 9930:   esac
 9931: done
 9932: 
 9933: 
 9934: # If the user did not use the arguments to specify the items to instantiate,
 9935: # then the envvar interface is used.  Set only those that are not.
 9936: # We use the long form for the default assignment because of an extremely
 9937: # bizarre bug on SunOS 4.1.3.
 9938: if $ac_need_defaults; then
 9939:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 9940:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 9941:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 9942: fi
 9943: 
 9944: # Have a temporary directory for convenience.  Make it in the build tree
 9945: # simply because there is no reason against having it here, and in addition,
 9946: # creating and moving files from /tmp can sometimes cause problems.
 9947: # Hook for its removal unless debugging.
 9948: # Note that there is a small window in which the directory will not be cleaned:
 9949: # after its creation but before its name has been assigned to `$tmp'.
 9950: $debug ||
 9951: {
 9952:   tmp=
 9953:   trap 'exit_status=$?
 9954:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 9955: ' 0
 9956:   trap 'as_fn_exit 1' 1 2 13 15
 9957: }
 9958: # Create a (secure) tmp directory for tmp files.
 9959: 
 9960: {
 9961:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 9962:   test -n "$tmp" && test -d "$tmp"
 9963: }  ||
 9964: {
 9965:   tmp=./conf$$-$RANDOM
 9966:   (umask 077 && mkdir "$tmp")
 9967: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 9968: 
 9969: # Set up the scripts for CONFIG_FILES section.
 9970: # No need to generate them if there are no CONFIG_FILES.
 9971: # This happens for instance with `./config.status config.h'.
 9972: if test -n "$CONFIG_FILES"; then
 9973: 
 9974: 
 9975: ac_cr=`echo X | tr X '\015'`
 9976: # On cygwin, bash can eat \r inside `` if the user requested igncr.
 9977: # But we know of no other shell where ac_cr would be empty at this
 9978: # point, so we can use a bashism as a fallback.
 9979: if test "x$ac_cr" = x; then
 9980:   eval ac_cr=\$\'\\r\'
 9981: fi
 9982: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 9983: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 9984:   ac_cs_awk_cr='\r'
 9985: else
 9986:   ac_cs_awk_cr=$ac_cr
 9987: fi
 9988: 
 9989: echo 'BEGIN {' >"$tmp/subs1.awk" &&
 9990: _ACEOF
 9991: 
 9992: 
 9993: {
 9994:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 9995:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 9996:   echo "_ACEOF"
 9997: } >conf$$subs.sh ||
 9998:   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 9999: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10000: ac_delim='%!_!# '
10001: for ac_last_try in false false false false false :; do
10002:   . ./conf$$subs.sh ||
10003:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10004: 
10005:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10006:   if test $ac_delim_n = $ac_delim_num; then
10007:     break
10008:   elif $ac_last_try; then
10009:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10010:   else
10011:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10012:   fi
10013: done
10014: rm -f conf$$subs.sh
10015: 
10016: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10017: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10018: _ACEOF
10019: sed -n '
10020: h
10021: s/^/S["/; s/!.*/"]=/
10022: p
10023: g
10024: s/^[^!]*!//
10025: :repl
10026: t repl
10027: s/'"$ac_delim"'$//
10028: t delim
10029: :nl
10030: h
10031: s/\(.\{148\}\)..*/\1/
10032: t more1
10033: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10034: p
10035: n
10036: b repl
10037: :more1
10038: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10039: p
10040: g
10041: s/.\{148\}//
10042: t nl
10043: :delim
10044: h
10045: s/\(.\{148\}\)..*/\1/
10046: t more2
10047: s/["\\]/\\&/g; s/^/"/; s/$/"/
10048: p
10049: b
10050: :more2
10051: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10052: p
10053: g
10054: s/.\{148\}//
10055: t delim
10056: ' <conf$$subs.awk | sed '
10057: /^[^""]/{
10058:   N
10059:   s/\n//
10060: }
10061: ' >>$CONFIG_STATUS || ac_write_fail=1
10062: rm -f conf$$subs.awk
10063: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10064: _ACAWK
10065: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10066:   for (key in S) S_is_set[key] = 1
10067:   FS = ""
10068: 
10069: }
10070: {
10071:   line = $ 0
10072:   nfields = split(line, field, "@")
10073:   substed = 0
10074:   len = length(field[1])
10075:   for (i = 2; i < nfields; i++) {
10076:     key = field[i]
10077:     keylen = length(key)
10078:     if (S_is_set[key]) {
10079:       value = S[key]
10080:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10081:       len += length(value) + length(field[++i])
10082:       substed = 1
10083:     } else
10084:       len += 1 + keylen
10085:   }
10086: 
10087:   print line
10088: }
10089: 
10090: _ACAWK
10091: _ACEOF
10092: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10093: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10094:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10095: else
10096:   cat
10097: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10098:   || as_fn_error "could not setup config files machinery" "$LINENO" 5
10099: _ACEOF
10100: 
10101: # VPATH may cause trouble with some makes, so we remove $(srcdir),
10102: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10103: # trailing colons and then remove the whole line if VPATH becomes empty
10104: # (actually we leave an empty line to preserve line numbers).
10105: if test "x$srcdir" = x.; then
10106:   ac_vpsub='/^[  ]*VPATH[    ]*=/{
10107: s/:*\$(srcdir):*/:/
10108: s/:*\${srcdir}:*/:/
10109: s/:*@srcdir@:*/:/
10110: s/^\([^=]*=[     ]*\):*/\1/
10111: s/:*$//
10112: s/^[^=]*=[   ]*$//
10113: }'
10114: fi
10115: 
10116: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10117: fi # test -n "$CONFIG_FILES"
10118: 
10119: # Set up the scripts for CONFIG_HEADERS section.
10120: # No need to generate them if there are no CONFIG_HEADERS.
10121: # This happens for instance with `./config.status Makefile'.
10122: if test -n "$CONFIG_HEADERS"; then
10123: cat >"$tmp/defines.awk" <<\_ACAWK ||
10124: BEGIN {
10125: _ACEOF
10126: 
10127: # Transform confdefs.h into an awk script `defines.awk', embedded as
10128: # here-document in config.status, that substitutes the proper values into
10129: # config.h.in to produce config.h.
10130: 
10131: # Create a delimiter string that does not exist in confdefs.h, to ease
10132: # handling of long lines.
10133: ac_delim='%!_!# '
10134: for ac_last_try in false false :; do
10135:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10136:   if test -z "$ac_t"; then
10137:     break
10138:   elif $ac_last_try; then
10139:     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10140:   else
10141:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10142:   fi
10143: done
10144: 
10145: # For the awk script, D is an array of macro values keyed by name,
10146: # likewise P contains macro parameters if any.  Preserve backslash
10147: # newline sequences.
10148: 
10149: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10150: sed -n '
10151: s/.\{148\}/&'"$ac_delim"'/g
10152: t rset
10153: :rset
10154: s/^[     ]*#[    ]*define[   ][  ]*/ /
10155: t def
10156: d
10157: :def
10158: s/\\$//
10159: t bsnl
10160: s/["\\]/\\&/g
10161: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10162: D["\1"]=" \3"/p
10163: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10164: d
10165: :bsnl
10166: s/["\\]/\\&/g
10167: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10168: D["\1"]=" \3\\\\\\n"\\/p
10169: t cont
10170: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10171: t cont
10172: d
10173: :cont
10174: n
10175: s/.\{148\}/&'"$ac_delim"'/g
10176: t clear
10177: :clear
10178: s/\\$//
10179: t bsnlc
10180: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10181: d
10182: :bsnlc
10183: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10184: b cont
10185: ' <confdefs.h | sed '
10186: s/'"$ac_delim"'/"\\\
10187: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10188: 
10189: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10190:   for (key in D) D_is_set[key] = 1
10191:   FS = ""
10192: }
10193: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10194:   line = \$ 0
10195:   split(line, arg, " ")
10196:   if (arg[1] == "#") {
10197:     defundef = arg[2]
10198:     mac1 = arg[3]
10199:   } else {
10200:     defundef = substr(arg[1], 2)
10201:     mac1 = arg[2]
10202:   }
10203:   split(mac1, mac2, "(") #)
10204:   macro = mac2[1]
10205:   prefix = substr(line, 1, index(line, defundef) - 1)
10206:   if (D_is_set[macro]) {
10207:     # Preserve the white space surrounding the "#".
10208:     print prefix "define", macro P[macro] D[macro]
10209:     next
10210:   } else {
10211:     # Replace #undef with comments.  This is necessary, for example,
10212:     # in the case of _POSIX_SOURCE, which is predefined and required
10213:     # on some systems where configure will not decide to define it.
10214:     if (defundef == "undef") {
10215:       print "/*", prefix defundef, macro, "*/"
10216:       next
10217:     }
10218:   }
10219: }
10220: { print }
10221: _ACAWK
10222: _ACEOF
10223: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10224:   as_fn_error "could not setup config headers machinery" "$LINENO" 5
10225: fi # test -n "$CONFIG_HEADERS"
10226: 
10227: 
10228: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10229: shift
10230: for ac_tag
10231: do
10232:   case $ac_tag in
10233:   :[FHLC]) ac_mode=$ac_tag; continue;;
10234:   esac
10235:   case $ac_mode$ac_tag in
10236:   :[FHL]*:*);;
10237:   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10238:   :[FH]-) ac_tag=-:-;;
10239:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10240:   esac
10241:   ac_save_IFS=$IFS
10242:   IFS=:
10243:   set x $ac_tag
10244:   IFS=$ac_save_IFS
10245:   shift
10246:   ac_file=$1
10247:   shift
10248: 
10249:   case $ac_mode in
10250:   :L) ac_source=$1;;
10251:   :[FH])
10252:     ac_file_inputs=
10253:     for ac_f
10254:     do
10255:       case $ac_f in
10256:       -) ac_f="$tmp/stdin";;
10257:       *) # Look for the file first in the build tree, then in the source tree
10258:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10259:      # because $ac_f cannot contain `:'.
10260:      test -f "$ac_f" ||
10261:        case $ac_f in
10262:        [\\/$]*) false;;
10263:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10264:        esac ||
10265:        as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10266:       esac
10267:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10268:       as_fn_append ac_file_inputs " '$ac_f'"
10269:     done
10270: 
10271:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10272:     # use $as_me), people would be surprised to read:
10273:     #    /* config.h.  Generated by config.status.  */
10274:     configure_input='Generated from '`
10275:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10276:     `' by configure.'
10277:     if test x"$ac_file" != x-; then
10278:       configure_input="$ac_file.  $configure_input"
10279:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10280: $as_echo "$as_me: creating $ac_file" >&6;}
10281:     fi
10282:     # Neutralize special characters interpreted by sed in replacement strings.
10283:     case $configure_input in #(
10284:     *\&* | *\|* | *\\* )
10285:        ac_sed_conf_input=`$as_echo "$configure_input" |
10286:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10287:     *) ac_sed_conf_input=$configure_input;;
10288:     esac
10289: 
10290:     case $ac_tag in
10291:     *:-:* | *:-) cat >"$tmp/stdin" \
10292:       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10293:     esac
10294:     ;;
10295:   esac
10296: 
10297:   ac_dir=`$as_dirname -- "$ac_file" ||
10298: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10299:      X"$ac_file" : 'X\(//\)[^/]' \| \
10300:      X"$ac_file" : 'X\(//\)$' \| \
10301:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10302: $as_echo X"$ac_file" |
10303:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10304:         s//\1/
10305:         q
10306:       }
10307:       /^X\(\/\/\)[^/].*/{
10308:         s//\1/
10309:         q
10310:       }
10311:       /^X\(\/\/\)$/{
10312:         s//\1/
10313:         q
10314:       }
10315:       /^X\(\/\).*/{
10316:         s//\1/
10317:         q
10318:       }
10319:       s/.*/./; q'`
10320:   as_dir="$ac_dir"; as_fn_mkdir_p
10321:   ac_builddir=.
10322: 
10323: case "$ac_dir" in
10324: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10325: *)
10326:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10327:   # A ".." for each directory in $ac_dir_suffix.
10328:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10329:   case $ac_top_builddir_sub in
10330:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10331:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10332:   esac ;;
10333: esac
10334: ac_abs_top_builddir=$ac_pwd
10335: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10336: # for backward compatibility:
10337: ac_top_builddir=$ac_top_build_prefix
10338: 
10339: case $srcdir in
10340:   .)  # We are building in place.
10341:     ac_srcdir=.
10342:     ac_top_srcdir=$ac_top_builddir_sub
10343:     ac_abs_top_srcdir=$ac_pwd ;;
10344:   [\\/]* | ?:[\\/]* )  # Absolute name.
10345:     ac_srcdir=$srcdir$ac_dir_suffix;
10346:     ac_top_srcdir=$srcdir
10347:     ac_abs_top_srcdir=$srcdir ;;
10348:   *) # Relative name.
10349:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10350:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10351:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10352: esac
10353: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10354: 
10355: 
10356:   case $ac_mode in
10357:   :F)
10358:   #
10359:   # CONFIG_FILE
10360:   #
10361: 
10362:   case $INSTALL in
10363:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10364:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10365:   esac
10366:   ac_MKDIR_P=$MKDIR_P
10367:   case $MKDIR_P in
10368:   [\\/$]* | ?:[\\/]* ) ;;
10369:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10370:   esac
10371: _ACEOF
10372: 
10373: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10374: # If the template does not know about datarootdir, expand it.
10375: # FIXME: This hack should be removed a few years after 2.60.
10376: ac_datarootdir_hack=; ac_datarootdir_seen=
10377: ac_sed_dataroot='
10378: /datarootdir/ {
10379:   p
10380:   q
10381: }
10382: /@datadir@/p
10383: /@docdir@/p
10384: /@infodir@/p
10385: /@localedir@/p
10386: /@mandir@/p'
10387: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10388: *datarootdir*) ac_datarootdir_seen=yes;;
10389: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10390:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10391: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10392: _ACEOF
10393: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10394:   ac_datarootdir_hack='
10395:   s&@datadir@&$datadir&g
10396:   s&@docdir@&$docdir&g
10397:   s&@infodir@&$infodir&g
10398:   s&@localedir@&$localedir&g
10399:   s&@mandir@&$mandir&g
10400:   s&\\\${datarootdir}&$datarootdir&g' ;;
10401: esac
10402: _ACEOF
10403: 
10404: # Neutralize VPATH when `$srcdir' = `.'.
10405: # Shell code in configure.ac might set extrasub.
10406: # FIXME: do we really want to maintain this feature?
10407: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10408: ac_sed_extra="$ac_vpsub
10409: $extrasub
10410: _ACEOF
10411: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10412: :t
10413: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10414: s|@configure_input@|$ac_sed_conf_input|;t t
10415: s&@top_builddir@&$ac_top_builddir_sub&;t t
10416: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10417: s&@srcdir@&$ac_srcdir&;t t
10418: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10419: s&@top_srcdir@&$ac_top_srcdir&;t t
10420: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10421: s&@builddir@&$ac_builddir&;t t
10422: s&@abs_builddir@&$ac_abs_builddir&;t t
10423: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10424: s&@INSTALL@&$ac_INSTALL&;t t
10425: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10426: $ac_datarootdir_hack
10427: "
10428: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10429:   || as_fn_error "could not create $ac_file" "$LINENO" 5
10430: 
10431: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10432:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10433:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10434:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10435: which seems to be undefined.  Please make sure it is defined." >&5
10436: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10437: which seems to be undefined.  Please make sure it is defined." >&2;}
10438: 
10439:   rm -f "$tmp/stdin"
10440:   case $ac_file in
10441:   -) cat "$tmp/out" && rm -f "$tmp/out";;
10442:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10443:   esac \
10444:   || as_fn_error "could not create $ac_file" "$LINENO" 5
10445:  ;;
10446:   :H)
10447:   #
10448:   # CONFIG_HEADER
10449:   #
10450:   if test x"$ac_file" != x-; then
10451:     {
10452:       $as_echo "/* $configure_input  */" \
10453:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10454:     } >"$tmp/config.h" \
10455:       || as_fn_error "could not create $ac_file" "$LINENO" 5
10456:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10457:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10458: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10459:     else
10460:       rm -f "$ac_file"
10461:       mv "$tmp/config.h" "$ac_file" \
10462:     || as_fn_error "could not create $ac_file" "$LINENO" 5
10463:     fi
10464:   else
10465:     $as_echo "/* $configure_input  */" \
10466:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10467:       || as_fn_error "could not create -" "$LINENO" 5
10468:   fi
10469: # Compute "$ac_file"'s index in $config_headers.
10470: _am_arg="$ac_file"
10471: _am_stamp_count=1
10472: for _am_header in $config_headers :; do
10473:   case $_am_header in
10474:     $_am_arg | $_am_arg:* )
10475:       break ;;
10476:     * )
10477:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10478:   esac
10479: done
10480: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10481: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10482:      X"$_am_arg" : 'X\(//\)[^/]' \| \
10483:      X"$_am_arg" : 'X\(//\)$' \| \
10484:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10485: $as_echo X"$_am_arg" |
10486:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10487:         s//\1/
10488:         q
10489:       }
10490:       /^X\(\/\/\)[^/].*/{
10491:         s//\1/
10492:         q
10493:       }
10494:       /^X\(\/\/\)$/{
10495:         s//\1/
10496:         q
10497:       }
10498:       /^X\(\/\).*/{
10499:         s//\1/
10500:         q
10501:       }
10502:       s/.*/./; q'`/stamp-h$_am_stamp_count
10503:  ;;
10504: 
10505:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10506: $as_echo "$as_me: executing $ac_file commands" >&6;}
10507:  ;;
10508:   esac
10509: 
10510: 
10511:   case $ac_file$ac_mode in
10512:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10513:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10514:   # are listed without --file.  Let's play safe and only enable the eval
10515:   # if we detect the quoting.
10516:   case $CONFIG_FILES in
10517:   *\'*) eval set x "$CONFIG_FILES" ;;
10518:   *)   set x $CONFIG_FILES ;;
10519:   esac
10520:   shift
10521:   for mf
10522:   do
10523:     # Strip MF so we end up with the name of the file.
10524:     mf=`echo "$mf" | sed -e 's/:.*$//'`
10525:     # Check whether this is an Automake generated Makefile or not.
10526:     # We used to match only the files named `Makefile.in', but
10527:     # some people rename them; so instead we look at the file content.
10528:     # Grep'ing the first line is not enough: some people post-process
10529:     # each Makefile.in and add a new line on top of each file to say so.
10530:     # Grep'ing the whole file is not good either: AIX grep has a line
10531:     # limit of 2048, but all sed's we know have understand at least 4000.
10532:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10533:       dirpart=`$as_dirname -- "$mf" ||
10534: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10535:      X"$mf" : 'X\(//\)[^/]' \| \
10536:      X"$mf" : 'X\(//\)$' \| \
10537:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10538: $as_echo X"$mf" |
10539:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10540:         s//\1/
10541:         q
10542:       }
10543:       /^X\(\/\/\)[^/].*/{
10544:         s//\1/
10545:         q
10546:       }
10547:       /^X\(\/\/\)$/{
10548:         s//\1/
10549:         q
10550:       }
10551:       /^X\(\/\).*/{
10552:         s//\1/
10553:         q
10554:       }
10555:       s/.*/./; q'`
10556:     else
10557:       continue
10558:     fi
10559:     # Extract the definition of DEPDIR, am__include, and am__quote
10560:     # from the Makefile without running `make'.
10561:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10562:     test -z "$DEPDIR" && continue
10563:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10564:     test -z "am__include" && continue
10565:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10566:     # When using ansi2knr, U may be empty or an underscore; expand it
10567:     U=`sed -n 's/^U = //p' < "$mf"`
10568:     # Find all dependency output files, they are included files with
10569:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10570:     # simplest approach to changing $(DEPDIR) to its actual value in the
10571:     # expansion.
10572:     for file in `sed -n "
10573:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10574:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10575:       # Make sure the directory exists.
10576:       test -f "$dirpart/$file" && continue
10577:       fdir=`$as_dirname -- "$file" ||
10578: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10579:      X"$file" : 'X\(//\)[^/]' \| \
10580:      X"$file" : 'X\(//\)$' \| \
10581:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10582: $as_echo X"$file" |
10583:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10584:         s//\1/
10585:         q
10586:       }
10587:       /^X\(\/\/\)[^/].*/{
10588:         s//\1/
10589:         q
10590:       }
10591:       /^X\(\/\/\)$/{
10592:         s//\1/
10593:         q
10594:       }
10595:       /^X\(\/\).*/{
10596:         s//\1/
10597:         q
10598:       }
10599:       s/.*/./; q'`
10600:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10601:       # echo "creating $dirpart/$file"
10602:       echo '# dummy' > "$dirpart/$file"
10603:     done
10604:   done
10605: }
10606:  ;;
10607: 
10608:   esac
10609: done # for ac_tag
10610: 
10611: 
10612: as_fn_exit 0
10613: _ACEOF
10614: ac_clean_files=$ac_clean_files_save
10615: 
10616: test $ac_write_fail = 0 ||
10617:   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
10618: 
10619: 
10620: # configure is writing to config.log, and then calls config.status.
10621: # config.status does its own redirection, appending to config.log.
10622: # Unfortunately, on DOS this fails, as config.log is still kept open
10623: # by configure, so config.status won't be able to write to it; its
10624: # output is simply discarded.  So we exec the FD to /dev/null,
10625: # effectively closing config.log, so it can be properly (re)opened and
10626: # appended to by config.status.  When coming back to configure, we
10627: # need to make the FD available again.
10628: if test "$no_create" != yes; then
10629:   ac_cs_success=:
10630:   ac_config_status_args=
10631:   test "$silent" = yes &&
10632:     ac_config_status_args="$ac_config_status_args --quiet"
10633:   exec 5>/dev/null
10634:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10635:   exec 5>>config.log
10636:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10637:   # would make configure fail if this is the last instruction.
10638:   $ac_cs_success || as_fn_exit $?
10639: fi
10640: 
10641: #
10642: # CONFIG_SUBDIRS section.
10643: #
10644: if test "$no_recursion" != yes; then
10645: 
10646:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10647:   # so they do not pile up.
10648:   ac_sub_configure_args=
10649:   ac_prev=
10650:   eval "set x $ac_configure_args"
10651:   shift
10652:   for ac_arg
10653:   do
10654:     if test -n "$ac_prev"; then
10655:       ac_prev=
10656:       continue
10657:     fi
10658:     case $ac_arg in
10659:     -cache-file | --cache-file | --cache-fil | --cache-fi \
10660:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10661:       ac_prev=cache_file ;;
10662:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10663:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10664:     | --c=*)
10665:       ;;
10666:     --config-cache | -C)
10667:       ;;
10668:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10669:       ac_prev=srcdir ;;
10670:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10671:       ;;
10672:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10673:       ac_prev=prefix ;;
10674:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10675:       ;;
10676:     --disable-option-checking)
10677:       ;;
10678:     *)
10679:       case $ac_arg in
10680:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10681:       esac
10682:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10683:     esac
10684:   done
10685: 
10686:   # Always prepend --prefix to ensure using the same prefix
10687:   # in subdir configurations.
10688:   ac_arg="--prefix=$prefix"
10689:   case $ac_arg in
10690:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10691:   esac
10692:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10693: 
10694:   # Pass --silent
10695:   if test "$silent" = yes; then
10696:     ac_sub_configure_args="--silent $ac_sub_configure_args"
10697:   fi
10698: 
10699:   # Always prepend --disable-option-checking to silence warnings, since
10700:   # different subdirs can have different --enable and --with options.
10701:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10702: 
10703:   ac_popdir=`pwd`
10704:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10705: 
10706:     # Do not complain, so a configure script can configure whichever
10707:     # parts of a large source tree are present.
10708:     test -d "$srcdir/$ac_dir" || continue
10709: 
10710:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10711:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10712:     $as_echo "$ac_msg" >&6
10713:     as_dir="$ac_dir"; as_fn_mkdir_p
10714:     ac_builddir=.
10715: 
10716: case "$ac_dir" in
10717: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10718: *)
10719:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10720:   # A ".." for each directory in $ac_dir_suffix.
10721:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10722:   case $ac_top_builddir_sub in
10723:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10724:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10725:   esac ;;
10726: esac
10727: ac_abs_top_builddir=$ac_pwd
10728: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10729: # for backward compatibility:
10730: ac_top_builddir=$ac_top_build_prefix
10731: 
10732: case $srcdir in
10733:   .)  # We are building in place.
10734:     ac_srcdir=.
10735:     ac_top_srcdir=$ac_top_builddir_sub
10736:     ac_abs_top_srcdir=$ac_pwd ;;
10737:   [\\/]* | ?:[\\/]* )  # Absolute name.
10738:     ac_srcdir=$srcdir$ac_dir_suffix;
10739:     ac_top_srcdir=$srcdir
10740:     ac_abs_top_srcdir=$srcdir ;;
10741:   *) # Relative name.
10742:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10743:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10744:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10745: esac
10746: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10747: 
10748: 
10749:     cd "$ac_dir"
10750: 
10751:     # Check for guested configure; otherwise get Cygnus style configure.
10752:     if test -f "$ac_srcdir/configure.gnu"; then
10753:       ac_sub_configure=$ac_srcdir/configure.gnu
10754:     elif test -f "$ac_srcdir/configure"; then
10755:       ac_sub_configure=$ac_srcdir/configure
10756:     elif test -f "$ac_srcdir/configure.in"; then
10757:       # This should be Cygnus configure.
10758:       ac_sub_configure=$ac_aux_dir/configure
10759:     else
10760:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
10761: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10762:       ac_sub_configure=
10763:     fi
10764: 
10765:     # The recursion is here.
10766:     if test -n "$ac_sub_configure"; then
10767:       # Make the cache file name correct relative to the subdirectory.
10768:       case $cache_file in
10769:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10770:       *) # Relative name.
10771:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10772:       esac
10773: 
10774:       { $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
10775: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10776:       # The eval makes quoting arguments work.
10777:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10778:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10779:     as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
10780:     fi
10781: 
10782:     cd "$ac_popdir"
10783:   done
10784: fi
10785: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10786:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10787: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10788: fi
10789: 

CVSweb interface <joel.bertrand@systella.fr>