File:  [local] / rpl / Attic / configure
Revision 1.92: download - view: text, annotated - select for diffs - revision graph
Tue Nov 15 07:01:35 2011 UTC (12 years, 5 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction des fuites de mémoire à l'ouverture de sqlite (lorsque la base est censée exister mais qu'elle n'existe pas)
Correction des makefiles pour qu'ils soient moins verbeux.
Ajout de l'écriture des fichiers binaires (listes, entiers, réels, complexes).

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.67 for rpl 4.1.4.
    4: #
    5: #
    6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    8: # Foundation, Inc.
    9: #
   10: #
   11: # This configure script is free software; the Free Software Foundation
   12: # gives unlimited permission to copy, distribute and modify it.
   13: ## -------------------- ##
   14: ## M4sh Initialization. ##
   15: ## -------------------- ##
   16: 
   17: # Be more Bourne compatible
   18: DUALCASE=1; export DUALCASE # for MKS sh
   19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20:   emulate sh
   21:   NULLCMD=:
   22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23:   # is contrary to our usage.  Disable this feature.
   24:   alias -g '${1+"$@"}'='"$@"'
   25:   setopt NO_GLOB_SUBST
   26: else
   27:   case `(set -o) 2>/dev/null` in #(
   28:   *posix*) :
   29:     set -o posix ;; #(
   30:   *) :
   31:      ;;
   32: esac
   33: fi
   34: 
   35: 
   36: as_nl='
   37: '
   38: export as_nl
   39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43: # Prefer a ksh shell builtin over an external printf program on Solaris,
   44: # but without wasting forks for bash or zsh.
   45: if test -z "$BASH_VERSION$ZSH_VERSION" \
   46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47:   as_echo='print -r --'
   48:   as_echo_n='print -rn --'
   49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50:   as_echo='printf %s\n'
   51:   as_echo_n='printf %s'
   52: else
   53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55:     as_echo_n='/usr/ucb/echo -n'
   56:   else
   57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58:     as_echo_n_body='eval
   59:       arg=$1;
   60:       case $arg in #(
   61:       *"$as_nl"*)
   62:     expr "X$arg" : "X\\(.*\\)$as_nl";
   63:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64:       esac;
   65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66:     '
   67:     export as_echo_n_body
   68:     as_echo_n='sh -c $as_echo_n_body as_echo'
   69:   fi
   70:   export as_echo_body
   71:   as_echo='sh -c $as_echo_body as_echo'
   72: fi
   73: 
   74: # The user is always right.
   75: if test "${PATH_SEPARATOR+set}" != set; then
   76:   PATH_SEPARATOR=:
   77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79:       PATH_SEPARATOR=';'
   80:   }
   81: fi
   82: 
   83: 
   84: # IFS
   85: # We need space, tab and new line, in precisely that order.  Quoting is
   86: # there to prevent editors from complaining about space-tab.
   87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88: # splitting by setting IFS to empty value.)
   89: IFS=" ""    $as_nl"
   90: 
   91: # Find who we are.  Look in the path if we contain no directory separator.
   92: case $0 in #((
   93:   *[\\/]* ) as_myself=$0 ;;
   94:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   95: for as_dir in $PATH
   96: do
   97:   IFS=$as_save_IFS
   98:   test -z "$as_dir" && as_dir=.
   99:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100:   done
  101: IFS=$as_save_IFS
  102: 
  103:      ;;
  104: esac
  105: # We did not find ourselves, most probably we were run as `sh COMMAND'
  106: # in which case we are not to be found in the path.
  107: if test "x$as_myself" = x; then
  108:   as_myself=$0
  109: fi
  110: if test ! -f "$as_myself"; then
  111:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  112:   exit 1
  113: fi
  114: 
  115: # Unset variables that we do not need and which cause bugs (e.g. in
  116: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  117: # suppresses any "Segmentation fault" message there.  '((' could
  118: # trigger a bug in pdksh 5.2.14.
  119: for as_var in BASH_ENV ENV MAIL MAILPATH
  120: do eval test x\${$as_var+set} = xset \
  121:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  122: done
  123: PS1='$ '
  124: PS2='> '
  125: PS4='+ '
  126: 
  127: # NLS nuisances.
  128: LC_ALL=C
  129: export LC_ALL
  130: LANGUAGE=C
  131: export LANGUAGE
  132: 
  133: # CDPATH.
  134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  135: 
  136: if test "x$CONFIG_SHELL" = x; then
  137:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  138:   emulate sh
  139:   NULLCMD=:
  140:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  141:   # is contrary to our usage.  Disable this feature.
  142:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  143:   setopt NO_GLOB_SUBST
  144: else
  145:   case \`(set -o) 2>/dev/null\` in #(
  146:   *posix*) :
  147:     set -o posix ;; #(
  148:   *) :
  149:      ;;
  150: esac
  151: fi
  152: "
  153:   as_required="as_fn_return () { (exit \$1); }
  154: as_fn_success () { as_fn_return 0; }
  155: as_fn_failure () { as_fn_return 1; }
  156: as_fn_ret_success () { return 0; }
  157: as_fn_ret_failure () { return 1; }
  158: 
  159: exitcode=0
  160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  165: 
  166: else
  167:   exitcode=1; echo positional parameters were not saved.
  168: fi
  169: test x\$exitcode = x0 || exit 1"
  170:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  171:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  172:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  173:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  174: test \$(( 1 + 1 )) = 2 || exit 1"
  175:   if (eval "$as_required") 2>/dev/null; then :
  176:   as_have_required=yes
  177: else
  178:   as_have_required=no
  179: fi
  180:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  181: 
  182: else
  183:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  184: as_found=false
  185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  186: do
  187:   IFS=$as_save_IFS
  188:   test -z "$as_dir" && as_dir=.
  189:   as_found=:
  190:   case $as_dir in #(
  191:      /*)
  192:        for as_base in sh bash ksh sh5; do
  193:          # Try only shells that exist, to save several forks.
  194:          as_shell=$as_dir/$as_base
  195:          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  196:             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  197:   CONFIG_SHELL=$as_shell as_have_required=yes
  198:            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  199:   break 2
  200: fi
  201: fi
  202:        done;;
  203:        esac
  204:   as_found=false
  205: done
  206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  207:           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  208:   CONFIG_SHELL=$SHELL as_have_required=yes
  209: fi; }
  210: IFS=$as_save_IFS
  211: 
  212: 
  213:       if test "x$CONFIG_SHELL" != x; then :
  214:   # We cannot yet assume a decent shell, so we have to provide a
  215:     # neutralization value for shells without unset; and this also
  216:     # works around shells that cannot unset nonexistent variables.
  217:     BASH_ENV=/dev/null
  218:     ENV=/dev/null
  219:     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  220:     export CONFIG_SHELL
  221:     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  222: fi
  223: 
  224:     if test x$as_have_required = xno; then :
  225:   $as_echo "$0: This script requires a shell more modern than all"
  226:   $as_echo "$0: the shells that I found on your system."
  227:   if test x${ZSH_VERSION+set} = xset ; then
  228:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  229:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  230:   else
  231:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  232: $0: including any error possibly output before this
  233: $0: message. Then install a modern shell, or manually run
  234: $0: the script under such a shell if you do have one."
  235:   fi
  236:   exit 1
  237: fi
  238: fi
  239: fi
  240: SHELL=${CONFIG_SHELL-/bin/sh}
  241: export SHELL
  242: # Unset more variables known to interfere with behavior of common tools.
  243: CLICOLOR_FORCE= GREP_OPTIONS=
  244: unset CLICOLOR_FORCE GREP_OPTIONS
  245: 
  246: ## --------------------- ##
  247: ## M4sh Shell Functions. ##
  248: ## --------------------- ##
  249: # as_fn_unset VAR
  250: # ---------------
  251: # Portably unset VAR.
  252: as_fn_unset ()
  253: {
  254:   { eval $1=; unset $1;}
  255: }
  256: as_unset=as_fn_unset
  257: 
  258: # as_fn_set_status STATUS
  259: # -----------------------
  260: # Set $? to STATUS, without forking.
  261: as_fn_set_status ()
  262: {
  263:   return $1
  264: } # as_fn_set_status
  265: 
  266: # as_fn_exit STATUS
  267: # -----------------
  268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  269: as_fn_exit ()
  270: {
  271:   set +e
  272:   as_fn_set_status $1
  273:   exit $1
  274: } # as_fn_exit
  275: 
  276: # as_fn_mkdir_p
  277: # -------------
  278: # Create "$as_dir" as a directory, including parents if necessary.
  279: as_fn_mkdir_p ()
  280: {
  281: 
  282:   case $as_dir in #(
  283:   -*) as_dir=./$as_dir;;
  284:   esac
  285:   test -d "$as_dir" || eval $as_mkdir_p || {
  286:     as_dirs=
  287:     while :; do
  288:       case $as_dir in #(
  289:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  290:       *) as_qdir=$as_dir;;
  291:       esac
  292:       as_dirs="'$as_qdir' $as_dirs"
  293:       as_dir=`$as_dirname -- "$as_dir" ||
  294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  295:      X"$as_dir" : 'X\(//\)[^/]' \| \
  296:      X"$as_dir" : 'X\(//\)$' \| \
  297:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  298: $as_echo X"$as_dir" |
  299:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  300:         s//\1/
  301:         q
  302:       }
  303:       /^X\(\/\/\)[^/].*/{
  304:         s//\1/
  305:         q
  306:       }
  307:       /^X\(\/\/\)$/{
  308:         s//\1/
  309:         q
  310:       }
  311:       /^X\(\/\).*/{
  312:         s//\1/
  313:         q
  314:       }
  315:       s/.*/./; q'`
  316:       test -d "$as_dir" && break
  317:     done
  318:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  319:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  320: 
  321: 
  322: } # as_fn_mkdir_p
  323: # as_fn_append VAR VALUE
  324: # ----------------------
  325: # Append the text in VALUE to the end of the definition contained in VAR. Take
  326: # advantage of any shell optimizations that allow amortized linear growth over
  327: # repeated appends, instead of the typical quadratic growth present in naive
  328: # implementations.
  329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  330:   eval 'as_fn_append ()
  331:   {
  332:     eval $1+=\$2
  333:   }'
  334: else
  335:   as_fn_append ()
  336:   {
  337:     eval $1=\$$1\$2
  338:   }
  339: fi # as_fn_append
  340: 
  341: # as_fn_arith ARG...
  342: # ------------------
  343: # Perform arithmetic evaluation on the ARGs, and store the result in the
  344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  345: # must be portable across $(()) and expr.
  346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  347:   eval 'as_fn_arith ()
  348:   {
  349:     as_val=$(( $* ))
  350:   }'
  351: else
  352:   as_fn_arith ()
  353:   {
  354:     as_val=`expr "$@" || test $? -eq 1`
  355:   }
  356: fi # as_fn_arith
  357: 
  358: 
  359: # as_fn_error STATUS ERROR [LINENO LOG_FD]
  360: # ----------------------------------------
  361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  363: # script with STATUS, using 1 if that was 0.
  364: as_fn_error ()
  365: {
  366:   as_status=$1; test $as_status -eq 0 && as_status=1
  367:   if test "$4"; then
  368:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  369:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  370:   fi
  371:   $as_echo "$as_me: error: $2" >&2
  372:   as_fn_exit $as_status
  373: } # as_fn_error
  374: 
  375: if expr a : '\(a\)' >/dev/null 2>&1 &&
  376:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  377:   as_expr=expr
  378: else
  379:   as_expr=false
  380: fi
  381: 
  382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  383:   as_basename=basename
  384: else
  385:   as_basename=false
  386: fi
  387: 
  388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  389:   as_dirname=dirname
  390: else
  391:   as_dirname=false
  392: fi
  393: 
  394: as_me=`$as_basename -- "$0" ||
  395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  396:      X"$0" : 'X\(//\)$' \| \
  397:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  398: $as_echo X/"$0" |
  399:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  400:         s//\1/
  401:         q
  402:       }
  403:       /^X\/\(\/\/\)$/{
  404:         s//\1/
  405:         q
  406:       }
  407:       /^X\/\(\/\).*/{
  408:         s//\1/
  409:         q
  410:       }
  411:       s/.*/./; q'`
  412: 
  413: # Avoid depending upon Character Ranges.
  414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  417: as_cr_digits='0123456789'
  418: as_cr_alnum=$as_cr_Letters$as_cr_digits
  419: 
  420: 
  421:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  422:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  423:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  424:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  425:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  426:   sed -n '
  427:     p
  428:     /[$]LINENO/=
  429:   ' <$as_myself |
  430:     sed '
  431:       s/[$]LINENO.*/&-/
  432:       t lineno
  433:       b
  434:       :lineno
  435:       N
  436:       :loop
  437:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  438:       t loop
  439:       s/-\n.*//
  440:     ' >$as_me.lineno &&
  441:   chmod +x "$as_me.lineno" ||
  442:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  443: 
  444:   # Don't try to exec as it changes $[0], causing all sort of problems
  445:   # (the dirname of $[0] is not the place where we might find the
  446:   # original and so on.  Autoconf is especially sensitive to this).
  447:   . "./$as_me.lineno"
  448:   # Exit status is that of the last command.
  449:   exit
  450: }
  451: 
  452: ECHO_C= ECHO_N= ECHO_T=
  453: case `echo -n x` in #(((((
  454: -n*)
  455:   case `echo 'xy\c'` in
  456:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  457:   xy)  ECHO_C='\c';;
  458:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  459:        ECHO_T=' ';;
  460:   esac;;
  461: *)
  462:   ECHO_N='-n';;
  463: esac
  464: 
  465: rm -f conf$$ conf$$.exe conf$$.file
  466: if test -d conf$$.dir; then
  467:   rm -f conf$$.dir/conf$$.file
  468: else
  469:   rm -f conf$$.dir
  470:   mkdir conf$$.dir 2>/dev/null
  471: fi
  472: if (echo >conf$$.file) 2>/dev/null; then
  473:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  474:     as_ln_s='ln -s'
  475:     # ... but there are two gotchas:
  476:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  477:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  478:     # In both cases, we have to default to `cp -p'.
  479:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  480:       as_ln_s='cp -p'
  481:   elif ln conf$$.file conf$$ 2>/dev/null; then
  482:     as_ln_s=ln
  483:   else
  484:     as_ln_s='cp -p'
  485:   fi
  486: else
  487:   as_ln_s='cp -p'
  488: fi
  489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  490: rmdir conf$$.dir 2>/dev/null
  491: 
  492: if mkdir -p . 2>/dev/null; then
  493:   as_mkdir_p='mkdir -p "$as_dir"'
  494: else
  495:   test -d ./-p && rmdir ./-p
  496:   as_mkdir_p=false
  497: fi
  498: 
  499: if test -x / >/dev/null 2>&1; then
  500:   as_test_x='test -x'
  501: else
  502:   if ls -dL / >/dev/null 2>&1; then
  503:     as_ls_L_option=L
  504:   else
  505:     as_ls_L_option=
  506:   fi
  507:   as_test_x='
  508:     eval sh -c '\''
  509:       if test -d "$1"; then
  510:     test -d "$1/.";
  511:       else
  512:     case $1 in #(
  513:     -*)set "./$1";;
  514:     esac;
  515:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  516:     ???[sx]*):;;*)false;;esac;fi
  517:     '\'' sh
  518:   '
  519: fi
  520: as_executable_p=$as_test_x
  521: 
  522: # Sed expression to map a string onto a valid CPP name.
  523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  524: 
  525: # Sed expression to map a string onto a valid variable name.
  526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  527: 
  528: 
  529: test -n "$DJDIR" || exec 7<&0 </dev/null
  530: exec 6>&1
  531: 
  532: # Name of the host.
  533: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  534: # so uname gets run too.
  535: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  536: 
  537: #
  538: # Initializations.
  539: #
  540: ac_default_prefix=/usr/local
  541: ac_clean_files=
  542: ac_config_libobj_dir=.
  543: LIBOBJS=
  544: cross_compiling=no
  545: subdirs=
  546: MFLAGS=
  547: MAKEFLAGS=
  548: 
  549: # Identity of this package.
  550: PACKAGE_NAME='rpl'
  551: PACKAGE_TARNAME='rpl'
  552: PACKAGE_VERSION='4.1.4'
  553: PACKAGE_STRING='rpl 4.1.4'
  554: PACKAGE_BUGREPORT=''
  555: PACKAGE_URL=''
  556: 
  557: enable_option_checking=no
  558: ac_default_prefix=/usr/local
  559: # Factoring default headers for most tests.
  560: ac_includes_default="\
  561: #include <stdio.h>
  562: #ifdef HAVE_SYS_TYPES_H
  563: # include <sys/types.h>
  564: #endif
  565: #ifdef HAVE_SYS_STAT_H
  566: # include <sys/stat.h>
  567: #endif
  568: #ifdef STDC_HEADERS
  569: # include <stdlib.h>
  570: # include <stddef.h>
  571: #else
  572: # ifdef HAVE_STDLIB_H
  573: #  include <stdlib.h>
  574: # endif
  575: #endif
  576: #ifdef HAVE_STRING_H
  577: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  578: #  include <memory.h>
  579: # endif
  580: # include <string.h>
  581: #endif
  582: #ifdef HAVE_STRINGS_H
  583: # include <strings.h>
  584: #endif
  585: #ifdef HAVE_INTTYPES_H
  586: # include <inttypes.h>
  587: #endif
  588: #ifdef HAVE_STDINT_H
  589: # include <stdint.h>
  590: #endif
  591: #ifdef HAVE_UNISTD_H
  592: # include <unistd.h>
  593: #endif"
  594: 
  595: ac_subst_vars='am__EXEEXT_FALSE
  596: am__EXEEXT_TRUE
  597: LTLIBOBJS
  598: LIBOBJS
  599: LIBMOTIF
  600: INCMOTIF
  601: GIAC
  602: PARI
  603: COCOA
  604: NTL
  605: MPFR
  606: GMP
  607: MALLOC
  608: EXT_SQL
  609: DATE_FR
  610: FINAL_ENCODING
  611: SIGSEGV
  612: BUILD_OPENMOTIF
  613: OPENMOTIF
  614: LIBXPM
  615: OPENSSL
  616: SQLITE
  617: ICONV
  618: FILE
  619: GNUPLOT
  620: GPP
  621: GSL
  622: UNITS
  623: READLINE
  624: NCURSES
  625: ELF
  626: BSH_PATH
  627: IPV6
  628: SEMUN
  629: IPCS_SYSV
  630: SEMAPHORES_NOMMES
  631: NESTED_FUNCTIONS
  632: EXPORT_DYNAMIC
  633: C_STANDARD
  634: LIB_PREFIX
  635: WHOLE_LIB2
  636: WHOLE_LIB1
  637: OS
  638: HOST
  639: GNUPLOT_COMPILATION
  640: EGREP
  641: GREP
  642: libPgSQLlib
  643: libPgSQLinc
  644: POSTGRESQL_SUPPORT
  645: libMySQLlib
  646: libMySQLinc
  647: MYSQL_SUPPORT
  648: DATE
  649: includeX
  650: libX
  651: MOTIF_SUPPORT
  652: DEBUG
  653: EXPERIMENTAL_CODE
  654: VIM_SUPPORT
  655: POSTSCRIPT_SUPPORT
  656: FORCE_GNUPLOT_PATH
  657: GNUPLOT_SUPPORT
  658: VIM
  659: GNUPLOT_P
  660: GV
  661: GS
  662: DVIPS
  663: LATEX
  664: TEX
  665: SED
  666: RANLIB
  667: LN_S
  668: RUNPATH
  669: PROFILAGE
  670: subdirs
  671: PSELECT
  672: SHARED_MEMORY
  673: LIBRPLCAS
  674: RPLCAS
  675: ABI
  676: RPLTOOLS
  677: X_EXTRA_LIBS
  678: X_LIBS
  679: X_PRE_LIBS
  680: X_CFLAGS
  681: CPP
  682: XMKMF
  683: ac_ct_FC
  684: FCFLAGS
  685: FC
  686: ac_ct_F77
  687: FFLAGS
  688: F77
  689: am__fastdepCXX_FALSE
  690: am__fastdepCXX_TRUE
  691: CXXDEPMODE
  692: ac_ct_CXX
  693: CXXFLAGS
  694: CXX
  695: am__fastdepCC_FALSE
  696: am__fastdepCC_TRUE
  697: CCDEPMODE
  698: AMDEPBACKSLASH
  699: AMDEP_FALSE
  700: AMDEP_TRUE
  701: am__quote
  702: am__include
  703: DEPDIR
  704: OBJEXT
  705: EXEEXT
  706: ac_ct_CC
  707: CPPFLAGS
  708: LDFLAGS
  709: CFLAGS
  710: CC
  711: AM_BACKSLASH
  712: AM_DEFAULT_VERBOSITY
  713: am__untar
  714: am__tar
  715: AMTAR
  716: am__leading_dot
  717: SET_MAKE
  718: AWK
  719: mkdir_p
  720: MKDIR_P
  721: INSTALL_STRIP_PROGRAM
  722: STRIP
  723: install_sh
  724: MAKEINFO
  725: AUTOHEADER
  726: AUTOMAKE
  727: AUTOCONF
  728: ACLOCAL
  729: VERSION
  730: PACKAGE
  731: CYGPATH_W
  732: am__isrc
  733: INSTALL_DATA
  734: INSTALL_SCRIPT
  735: INSTALL_PROGRAM
  736: target_os
  737: target_vendor
  738: target_cpu
  739: target
  740: host_os
  741: host_vendor
  742: host_cpu
  743: host
  744: build_os
  745: build_vendor
  746: build_cpu
  747: build
  748: target_alias
  749: host_alias
  750: build_alias
  751: LIBS
  752: ECHO_T
  753: ECHO_N
  754: ECHO_C
  755: DEFS
  756: mandir
  757: localedir
  758: libdir
  759: psdir
  760: pdfdir
  761: dvidir
  762: htmldir
  763: infodir
  764: docdir
  765: oldincludedir
  766: includedir
  767: localstatedir
  768: sharedstatedir
  769: sysconfdir
  770: datadir
  771: datarootdir
  772: libexecdir
  773: sbindir
  774: bindir
  775: program_transform_name
  776: prefix
  777: exec_prefix
  778: PACKAGE_URL
  779: PACKAGE_BUGREPORT
  780: PACKAGE_STRING
  781: PACKAGE_VERSION
  782: PACKAGE_TARNAME
  783: PACKAGE_NAME
  784: PATH_SEPARATOR
  785: SHELL'
  786: ac_subst_files=''
  787: ac_user_opts='
  788: enable_option_checking
  789: enable_silent_rules
  790: enable_dependency_tracking
  791: with_x
  792: with_32bits_abi
  793: with_64bits_abi
  794: enable_recursive
  795: with_rpltools
  796: enable_rplcas
  797: enable_optimization
  798: enable_sysv_ipcs
  799: enable_full_static
  800: enable_final_encoding
  801: enable_tex
  802: enable_vim
  803: enable_embedded_gnuplot
  804: enable_gnuplot
  805: enable_motif
  806: enable_experimental
  807: enable_debug
  808: enable_profile
  809: enable_final_run_path
  810: with_mysql
  811: with_postgresql
  812: with_bourne_shell
  813: with_openssl_arch
  814: '
  815:       ac_precious_vars='build_alias
  816: host_alias
  817: target_alias
  818: CC
  819: CFLAGS
  820: LDFLAGS
  821: LIBS
  822: CPPFLAGS
  823: CXX
  824: CXXFLAGS
  825: CCC
  826: F77
  827: FFLAGS
  828: FC
  829: FCFLAGS
  830: XMKMF
  831: CPP'
  832: ac_subdirs_all='tools/$LIBXPM
  833: tools/$OPENMOTIF
  834: tools/$GNUPLOT
  835: tools/$NCURSES
  836: tools/$READLINE
  837: tools/$GSL
  838: tools/$GPP
  839: tools/$FILE
  840: tools/$ICONV
  841: tools/$SQLITE
  842: tools/$UNITS
  843: tools/$SIGSEGV'
  844: 
  845: # Initialize some variables set by options.
  846: ac_init_help=
  847: ac_init_version=false
  848: ac_unrecognized_opts=
  849: ac_unrecognized_sep=
  850: # The variables have the same names as the options, with
  851: # dashes changed to underlines.
  852: cache_file=/dev/null
  853: exec_prefix=NONE
  854: no_create=
  855: no_recursion=
  856: prefix=NONE
  857: program_prefix=NONE
  858: program_suffix=NONE
  859: program_transform_name=s,x,x,
  860: silent=
  861: site=
  862: srcdir=
  863: verbose=
  864: x_includes=NONE
  865: x_libraries=NONE
  866: 
  867: # Installation directory options.
  868: # These are left unexpanded so users can "make install exec_prefix=/foo"
  869: # and all the variables that are supposed to be based on exec_prefix
  870: # by default will actually change.
  871: # Use braces instead of parens because sh, perl, etc. also accept them.
  872: # (The list follows the same order as the GNU Coding Standards.)
  873: bindir='${exec_prefix}/bin'
  874: sbindir='${exec_prefix}/sbin'
  875: libexecdir='${exec_prefix}/libexec'
  876: datarootdir='${prefix}/share'
  877: datadir='${datarootdir}'
  878: sysconfdir='${prefix}/etc'
  879: sharedstatedir='${prefix}/com'
  880: localstatedir='${prefix}/var'
  881: includedir='${prefix}/include'
  882: oldincludedir='/usr/include'
  883: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  884: infodir='${datarootdir}/info'
  885: htmldir='${docdir}'
  886: dvidir='${docdir}'
  887: pdfdir='${docdir}'
  888: psdir='${docdir}'
  889: libdir='${exec_prefix}/lib'
  890: localedir='${datarootdir}/locale'
  891: mandir='${datarootdir}/man'
  892: 
  893: ac_prev=
  894: ac_dashdash=
  895: for ac_option
  896: do
  897:   # If the previous option needs an argument, assign it.
  898:   if test -n "$ac_prev"; then
  899:     eval $ac_prev=\$ac_option
  900:     ac_prev=
  901:     continue
  902:   fi
  903: 
  904:   case $ac_option in
  905:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  906:   *=)   ac_optarg= ;;
  907:   *)    ac_optarg=yes ;;
  908:   esac
  909: 
  910:   # Accept the important Cygnus configure options, so we can diagnose typos.
  911: 
  912:   case $ac_dashdash$ac_option in
  913:   --)
  914:     ac_dashdash=yes ;;
  915: 
  916:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  917:     ac_prev=bindir ;;
  918:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  919:     bindir=$ac_optarg ;;
  920: 
  921:   -build | --build | --buil | --bui | --bu)
  922:     ac_prev=build_alias ;;
  923:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  924:     build_alias=$ac_optarg ;;
  925: 
  926:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  927:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  928:     ac_prev=cache_file ;;
  929:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  930:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  931:     cache_file=$ac_optarg ;;
  932: 
  933:   --config-cache | -C)
  934:     cache_file=config.cache ;;
  935: 
  936:   -datadir | --datadir | --datadi | --datad)
  937:     ac_prev=datadir ;;
  938:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  939:     datadir=$ac_optarg ;;
  940: 
  941:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  942:   | --dataroo | --dataro | --datar)
  943:     ac_prev=datarootdir ;;
  944:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  945:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  946:     datarootdir=$ac_optarg ;;
  947: 
  948:   -disable-* | --disable-*)
  949:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  950:     # Reject names that are not valid shell variable names.
  951:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  952:       as_fn_error $? "invalid feature name: $ac_useropt"
  953:     ac_useropt_orig=$ac_useropt
  954:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  955:     case $ac_user_opts in
  956:       *"
  957: "enable_$ac_useropt"
  958: "*) ;;
  959:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  960:      ac_unrecognized_sep=', ';;
  961:     esac
  962:     eval enable_$ac_useropt=no ;;
  963: 
  964:   -docdir | --docdir | --docdi | --doc | --do)
  965:     ac_prev=docdir ;;
  966:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  967:     docdir=$ac_optarg ;;
  968: 
  969:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  970:     ac_prev=dvidir ;;
  971:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  972:     dvidir=$ac_optarg ;;
  973: 
  974:   -enable-* | --enable-*)
  975:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  976:     # Reject names that are not valid shell variable names.
  977:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  978:       as_fn_error $? "invalid feature name: $ac_useropt"
  979:     ac_useropt_orig=$ac_useropt
  980:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  981:     case $ac_user_opts in
  982:       *"
  983: "enable_$ac_useropt"
  984: "*) ;;
  985:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  986:      ac_unrecognized_sep=', ';;
  987:     esac
  988:     eval enable_$ac_useropt=\$ac_optarg ;;
  989: 
  990:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  991:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  992:   | --exec | --exe | --ex)
  993:     ac_prev=exec_prefix ;;
  994:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  995:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  996:   | --exec=* | --exe=* | --ex=*)
  997:     exec_prefix=$ac_optarg ;;
  998: 
  999:   -gas | --gas | --ga | --g)
 1000:     # Obsolete; use --with-gas.
 1001:     with_gas=yes ;;
 1002: 
 1003:   -help | --help | --hel | --he | -h)
 1004:     ac_init_help=long ;;
 1005:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1006:     ac_init_help=recursive ;;
 1007:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1008:     ac_init_help=short ;;
 1009: 
 1010:   -host | --host | --hos | --ho)
 1011:     ac_prev=host_alias ;;
 1012:   -host=* | --host=* | --hos=* | --ho=*)
 1013:     host_alias=$ac_optarg ;;
 1014: 
 1015:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1016:     ac_prev=htmldir ;;
 1017:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1018:   | --ht=*)
 1019:     htmldir=$ac_optarg ;;
 1020: 
 1021:   -includedir | --includedir | --includedi | --included | --include \
 1022:   | --includ | --inclu | --incl | --inc)
 1023:     ac_prev=includedir ;;
 1024:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1025:   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1026:     includedir=$ac_optarg ;;
 1027: 
 1028:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1029:     ac_prev=infodir ;;
 1030:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1031:     infodir=$ac_optarg ;;
 1032: 
 1033:   -libdir | --libdir | --libdi | --libd)
 1034:     ac_prev=libdir ;;
 1035:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1036:     libdir=$ac_optarg ;;
 1037: 
 1038:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1039:   | --libexe | --libex | --libe)
 1040:     ac_prev=libexecdir ;;
 1041:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1042:   | --libexe=* | --libex=* | --libe=*)
 1043:     libexecdir=$ac_optarg ;;
 1044: 
 1045:   -localedir | --localedir | --localedi | --localed | --locale)
 1046:     ac_prev=localedir ;;
 1047:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1048:     localedir=$ac_optarg ;;
 1049: 
 1050:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1051:   | --localstate | --localstat | --localsta | --localst | --locals)
 1052:     ac_prev=localstatedir ;;
 1053:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1054:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1055:     localstatedir=$ac_optarg ;;
 1056: 
 1057:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1058:     ac_prev=mandir ;;
 1059:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1060:     mandir=$ac_optarg ;;
 1061: 
 1062:   -nfp | --nfp | --nf)
 1063:     # Obsolete; use --without-fp.
 1064:     with_fp=no ;;
 1065: 
 1066:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1067:   | --no-cr | --no-c | -n)
 1068:     no_create=yes ;;
 1069: 
 1070:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1071:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1072:     no_recursion=yes ;;
 1073: 
 1074:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1075:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1076:   | --oldin | --oldi | --old | --ol | --o)
 1077:     ac_prev=oldincludedir ;;
 1078:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1079:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1080:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1081:     oldincludedir=$ac_optarg ;;
 1082: 
 1083:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1084:     ac_prev=prefix ;;
 1085:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1086:     prefix=$ac_optarg ;;
 1087: 
 1088:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1089:   | --program-pre | --program-pr | --program-p)
 1090:     ac_prev=program_prefix ;;
 1091:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1092:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1093:     program_prefix=$ac_optarg ;;
 1094: 
 1095:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1096:   | --program-suf | --program-su | --program-s)
 1097:     ac_prev=program_suffix ;;
 1098:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1099:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1100:     program_suffix=$ac_optarg ;;
 1101: 
 1102:   -program-transform-name | --program-transform-name \
 1103:   | --program-transform-nam | --program-transform-na \
 1104:   | --program-transform-n | --program-transform- \
 1105:   | --program-transform | --program-transfor \
 1106:   | --program-transfo | --program-transf \
 1107:   | --program-trans | --program-tran \
 1108:   | --progr-tra | --program-tr | --program-t)
 1109:     ac_prev=program_transform_name ;;
 1110:   -program-transform-name=* | --program-transform-name=* \
 1111:   | --program-transform-nam=* | --program-transform-na=* \
 1112:   | --program-transform-n=* | --program-transform-=* \
 1113:   | --program-transform=* | --program-transfor=* \
 1114:   | --program-transfo=* | --program-transf=* \
 1115:   | --program-trans=* | --program-tran=* \
 1116:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1117:     program_transform_name=$ac_optarg ;;
 1118: 
 1119:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1120:     ac_prev=pdfdir ;;
 1121:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1122:     pdfdir=$ac_optarg ;;
 1123: 
 1124:   -psdir | --psdir | --psdi | --psd | --ps)
 1125:     ac_prev=psdir ;;
 1126:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1127:     psdir=$ac_optarg ;;
 1128: 
 1129:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1130:   | -silent | --silent | --silen | --sile | --sil)
 1131:     silent=yes ;;
 1132: 
 1133:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1134:     ac_prev=sbindir ;;
 1135:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1136:   | --sbi=* | --sb=*)
 1137:     sbindir=$ac_optarg ;;
 1138: 
 1139:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1140:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1141:   | --sharedst | --shareds | --shared | --share | --shar \
 1142:   | --sha | --sh)
 1143:     ac_prev=sharedstatedir ;;
 1144:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1145:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1146:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1147:   | --sha=* | --sh=*)
 1148:     sharedstatedir=$ac_optarg ;;
 1149: 
 1150:   -site | --site | --sit)
 1151:     ac_prev=site ;;
 1152:   -site=* | --site=* | --sit=*)
 1153:     site=$ac_optarg ;;
 1154: 
 1155:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1156:     ac_prev=srcdir ;;
 1157:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1158:     srcdir=$ac_optarg ;;
 1159: 
 1160:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1161:   | --syscon | --sysco | --sysc | --sys | --sy)
 1162:     ac_prev=sysconfdir ;;
 1163:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1164:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1165:     sysconfdir=$ac_optarg ;;
 1166: 
 1167:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1168:     ac_prev=target_alias ;;
 1169:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1170:     target_alias=$ac_optarg ;;
 1171: 
 1172:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1173:     verbose=yes ;;
 1174: 
 1175:   -version | --version | --versio | --versi | --vers | -V)
 1176:     ac_init_version=: ;;
 1177: 
 1178:   -with-* | --with-*)
 1179:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1180:     # Reject names that are not valid shell variable names.
 1181:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1182:       as_fn_error $? "invalid package name: $ac_useropt"
 1183:     ac_useropt_orig=$ac_useropt
 1184:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1185:     case $ac_user_opts in
 1186:       *"
 1187: "with_$ac_useropt"
 1188: "*) ;;
 1189:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1190:      ac_unrecognized_sep=', ';;
 1191:     esac
 1192:     eval with_$ac_useropt=\$ac_optarg ;;
 1193: 
 1194:   -without-* | --without-*)
 1195:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1196:     # Reject names that are not valid shell variable names.
 1197:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1198:       as_fn_error $? "invalid package name: $ac_useropt"
 1199:     ac_useropt_orig=$ac_useropt
 1200:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1201:     case $ac_user_opts in
 1202:       *"
 1203: "with_$ac_useropt"
 1204: "*) ;;
 1205:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1206:      ac_unrecognized_sep=', ';;
 1207:     esac
 1208:     eval with_$ac_useropt=no ;;
 1209: 
 1210:   --x)
 1211:     # Obsolete; use --with-x.
 1212:     with_x=yes ;;
 1213: 
 1214:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1215:   | --x-incl | --x-inc | --x-in | --x-i)
 1216:     ac_prev=x_includes ;;
 1217:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1218:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1219:     x_includes=$ac_optarg ;;
 1220: 
 1221:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1222:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1223:     ac_prev=x_libraries ;;
 1224:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1225:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1226:     x_libraries=$ac_optarg ;;
 1227: 
 1228:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1229: Try \`$0 --help' for more information"
 1230:     ;;
 1231: 
 1232:   *=*)
 1233:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1234:     # Reject names that are not valid shell variable names.
 1235:     case $ac_envvar in #(
 1236:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1237:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1238:     esac
 1239:     eval $ac_envvar=\$ac_optarg
 1240:     export $ac_envvar ;;
 1241: 
 1242:   *)
 1243:     # FIXME: should be removed in autoconf 3.0.
 1244:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1245:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1246:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1247:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1248:     ;;
 1249: 
 1250:   esac
 1251: done
 1252: 
 1253: if test -n "$ac_prev"; then
 1254:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1255:   as_fn_error $? "missing argument to $ac_option"
 1256: fi
 1257: 
 1258: if test -n "$ac_unrecognized_opts"; then
 1259:   case $enable_option_checking in
 1260:     no) ;;
 1261:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1262:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1263:   esac
 1264: fi
 1265: 
 1266: # Check all directory arguments for consistency.
 1267: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1268:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1269:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1270:         libdir localedir mandir
 1271: do
 1272:   eval ac_val=\$$ac_var
 1273:   # Remove trailing slashes.
 1274:   case $ac_val in
 1275:     */ )
 1276:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1277:       eval $ac_var=\$ac_val;;
 1278:   esac
 1279:   # Be sure to have absolute directory names.
 1280:   case $ac_val in
 1281:     [\\/$]* | ?:[\\/]* )  continue;;
 1282:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1283:   esac
 1284:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1285: done
 1286: 
 1287: # There might be people who depend on the old broken behavior: `$host'
 1288: # used to hold the argument of --host etc.
 1289: # FIXME: To remove some day.
 1290: build=$build_alias
 1291: host=$host_alias
 1292: target=$target_alias
 1293: 
 1294: # FIXME: To remove some day.
 1295: if test "x$host_alias" != x; then
 1296:   if test "x$build_alias" = x; then
 1297:     cross_compiling=maybe
 1298:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1299:     If a cross compiler is detected then cross compile mode will be used" >&2
 1300:   elif test "x$build_alias" != "x$host_alias"; then
 1301:     cross_compiling=yes
 1302:   fi
 1303: fi
 1304: 
 1305: ac_tool_prefix=
 1306: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1307: 
 1308: test "$silent" = yes && exec 6>/dev/null
 1309: 
 1310: 
 1311: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1312: ac_ls_di=`ls -di .` &&
 1313: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1314:   as_fn_error $? "working directory cannot be determined"
 1315: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1316:   as_fn_error $? "pwd does not report name of working directory"
 1317: 
 1318: 
 1319: # Find the source files, if location was not specified.
 1320: if test -z "$srcdir"; then
 1321:   ac_srcdir_defaulted=yes
 1322:   # Try the directory containing this script, then the parent directory.
 1323:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1324: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1325:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1326:      X"$as_myself" : 'X\(//\)$' \| \
 1327:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1328: $as_echo X"$as_myself" |
 1329:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1330:         s//\1/
 1331:         q
 1332:       }
 1333:       /^X\(\/\/\)[^/].*/{
 1334:         s//\1/
 1335:         q
 1336:       }
 1337:       /^X\(\/\/\)$/{
 1338:         s//\1/
 1339:         q
 1340:       }
 1341:       /^X\(\/\).*/{
 1342:         s//\1/
 1343:         q
 1344:       }
 1345:       s/.*/./; q'`
 1346:   srcdir=$ac_confdir
 1347:   if test ! -r "$srcdir/$ac_unique_file"; then
 1348:     srcdir=..
 1349:   fi
 1350: else
 1351:   ac_srcdir_defaulted=no
 1352: fi
 1353: if test ! -r "$srcdir/$ac_unique_file"; then
 1354:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1355:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1356: fi
 1357: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1358: ac_abs_confdir=`(
 1359:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1360:     pwd)`
 1361: # When building in place, set srcdir=.
 1362: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1363:   srcdir=.
 1364: fi
 1365: # Remove unnecessary trailing slashes from srcdir.
 1366: # Double slashes in file names in object file debugging info
 1367: # mess up M-x gdb in Emacs.
 1368: case $srcdir in
 1369: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1370: esac
 1371: for ac_var in $ac_precious_vars; do
 1372:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1373:   eval ac_env_${ac_var}_value=\$${ac_var}
 1374:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1375:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1376: done
 1377: 
 1378: #
 1379: # Report the --help message.
 1380: #
 1381: if test "$ac_init_help" = "long"; then
 1382:   # Omit some internal or obsolete options to make the list less imposing.
 1383:   # This message is too long to be a string in the A/UX 3.1 sh.
 1384:   cat <<_ACEOF
 1385: \`configure' configures rpl 4.1.4 to adapt to many kinds of systems.
 1386: 
 1387: Usage: $0 [OPTION]... [VAR=VALUE]...
 1388: 
 1389: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1390: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1391: 
 1392: Defaults for the options are specified in brackets.
 1393: 
 1394: Configuration:
 1395:   -h, --help              display this help and exit
 1396:       --help=short        display options specific to this package
 1397:       --help=recursive    display the short help of all the included packages
 1398:   -V, --version           display version information and exit
 1399:   -q, --quiet, --silent   do not print \`checking ...' messages
 1400:       --cache-file=FILE   cache test results in FILE [disabled]
 1401:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1402:   -n, --no-create         do not create output files
 1403:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1404: 
 1405: Installation directories:
 1406:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1407:                           [$ac_default_prefix]
 1408:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1409:                           [PREFIX]
 1410: 
 1411: By default, \`make install' will install all the files in
 1412: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1413: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1414: for instance \`--prefix=\$HOME'.
 1415: 
 1416: For better control, use the options below.
 1417: 
 1418: Fine tuning of the installation directories:
 1419:   --bindir=DIR            user executables [EPREFIX/bin]
 1420:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1421:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1422:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1423:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1424:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1425:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1426:   --includedir=DIR        C header files [PREFIX/include]
 1427:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1428:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1429:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1430:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1431:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1432:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1433:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1434:   --htmldir=DIR           html documentation [DOCDIR]
 1435:   --dvidir=DIR            dvi documentation [DOCDIR]
 1436:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1437:   --psdir=DIR             ps documentation [DOCDIR]
 1438: _ACEOF
 1439: 
 1440:   cat <<\_ACEOF
 1441: 
 1442: Program names:
 1443:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1444:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1445:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1446: 
 1447: X features:
 1448:   --x-includes=DIR    X include files are in DIR
 1449:   --x-libraries=DIR   X library files are in DIR
 1450: 
 1451: System types:
 1452:   --build=BUILD     configure for building on BUILD [guessed]
 1453:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1454:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1455: _ACEOF
 1456: fi
 1457: 
 1458: if test -n "$ac_init_help"; then
 1459:   case $ac_init_help in
 1460:      short | recursive ) echo "Configuration of rpl 4.1.4:";;
 1461:    esac
 1462:   cat <<\_ACEOF
 1463: 
 1464: Optional Features:
 1465:   --disable-option-checking  ignore unrecognized --enable/--with options
 1466:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1467:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1468:   --enable-silent-rules          less verbose build output (undo: `make V=1')
 1469:   --disable-silent-rules         verbose build output (undo: `make V=0')
 1470:   --disable-dependency-tracking  speeds up one-time build
 1471:   --enable-dependency-tracking   do not reject slow dependency extractors
 1472:   --enable-recursive      recursive configuration (default=yes)
 1473:   --enable-rplcas         compile rplcas (default=no)
 1474:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1475:   --enable-sysv-ipcs      use SystemV IPC functions [default=guessed]
 1476:   --enable-full-static    build static RPL/2 engine [default=shared]
 1477:   --enable-final-encoding force final encoding [default=guessed]
 1478:   --enable-tex            provide the TeX support [default=guessed]
 1479:   --enable-vim            provide the vim support [default=guessed]
 1480:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1481:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1482:   --enable-motif          provide the Motif support [default=guessed]
 1483:   --enable-experimental   enable experimental code [default=no]
 1484:   --enable-debug          enable debug code [default=no]
 1485:   --enable-profile        enable profile code [default=no]
 1486:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1487: 
 1488: Optional Packages:
 1489:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1490:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1491:   --with-x                use the X Window System
 1492:   --with-32bits-abi       force 32bits ABI (multilib)
 1493:   --with-64bits-abi       force 64bits ABI (multilib)
 1494:   --with-rpltools         specify rpltools path used for cross compilation
 1495:   --with-mysql=PATH         specify directory for installed mysql
 1496:   --with-postgresql=PATH    specify directory for installed postgresql
 1497:   --with-bourne-shell=PATH  specify path for OS/2 bourne shell
 1498:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
 1499: 
 1500: Some influential environment variables:
 1501:   CC          C compiler command
 1502:   CFLAGS      C compiler flags
 1503:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1504:               nonstandard directory <lib dir>
 1505:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1506:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1507:               you have headers in a nonstandard directory <include dir>
 1508:   CXX         C++ compiler command
 1509:   CXXFLAGS    C++ compiler flags
 1510:   F77         Fortran 77 compiler command
 1511:   FFLAGS      Fortran 77 compiler flags
 1512:   FC          Fortran compiler command
 1513:   FCFLAGS     Fortran compiler flags
 1514:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1515:   CPP         C preprocessor
 1516: 
 1517: Use these variables to override the choices made by `configure' or to help
 1518: it to find libraries and programs with nonstandard names/locations.
 1519: 
 1520: Report bugs to the package provider.
 1521: _ACEOF
 1522: ac_status=$?
 1523: fi
 1524: 
 1525: if test "$ac_init_help" = "recursive"; then
 1526:   # If there are subdirs, report their specific --help.
 1527:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1528:     test -d "$ac_dir" ||
 1529:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1530:       continue
 1531:     ac_builddir=.
 1532: 
 1533: case "$ac_dir" in
 1534: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1535: *)
 1536:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1537:   # A ".." for each directory in $ac_dir_suffix.
 1538:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1539:   case $ac_top_builddir_sub in
 1540:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1541:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1542:   esac ;;
 1543: esac
 1544: ac_abs_top_builddir=$ac_pwd
 1545: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1546: # for backward compatibility:
 1547: ac_top_builddir=$ac_top_build_prefix
 1548: 
 1549: case $srcdir in
 1550:   .)  # We are building in place.
 1551:     ac_srcdir=.
 1552:     ac_top_srcdir=$ac_top_builddir_sub
 1553:     ac_abs_top_srcdir=$ac_pwd ;;
 1554:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1555:     ac_srcdir=$srcdir$ac_dir_suffix;
 1556:     ac_top_srcdir=$srcdir
 1557:     ac_abs_top_srcdir=$srcdir ;;
 1558:   *) # Relative name.
 1559:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1560:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1561:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1562: esac
 1563: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1564: 
 1565:     cd "$ac_dir" || { ac_status=$?; continue; }
 1566:     # Check for guested configure.
 1567:     if test -f "$ac_srcdir/configure.gnu"; then
 1568:       echo &&
 1569:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1570:     elif test -f "$ac_srcdir/configure"; then
 1571:       echo &&
 1572:       $SHELL "$ac_srcdir/configure" --help=recursive
 1573:     else
 1574:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1575:     fi || ac_status=$?
 1576:     cd "$ac_pwd" || { ac_status=$?; break; }
 1577:   done
 1578: fi
 1579: 
 1580: test -n "$ac_init_help" && exit $ac_status
 1581: if $ac_init_version; then
 1582:   cat <<\_ACEOF
 1583: rpl configure 4.1.4
 1584: generated by GNU Autoconf 2.67
 1585: 
 1586: Copyright (C) 2010 Free Software Foundation, Inc.
 1587: This configure script is free software; the Free Software Foundation
 1588: gives unlimited permission to copy, distribute and modify it.
 1589: _ACEOF
 1590:   exit
 1591: fi
 1592: 
 1593: ## ------------------------ ##
 1594: ## Autoconf initialization. ##
 1595: ## ------------------------ ##
 1596: 
 1597: # ac_fn_c_try_compile LINENO
 1598: # --------------------------
 1599: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1600: ac_fn_c_try_compile ()
 1601: {
 1602:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1603:   rm -f conftest.$ac_objext
 1604:   if { { ac_try="$ac_compile"
 1605: case "(($ac_try" in
 1606:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1607:   *) ac_try_echo=$ac_try;;
 1608: esac
 1609: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1610: $as_echo "$ac_try_echo"; } >&5
 1611:   (eval "$ac_compile") 2>conftest.err
 1612:   ac_status=$?
 1613:   if test -s conftest.err; then
 1614:     grep -v '^ *+' conftest.err >conftest.er1
 1615:     cat conftest.er1 >&5
 1616:     mv -f conftest.er1 conftest.err
 1617:   fi
 1618:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1619:   test $ac_status = 0; } && {
 1620:      test -z "$ac_c_werror_flag" ||
 1621:      test ! -s conftest.err
 1622:        } && test -s conftest.$ac_objext; then :
 1623:   ac_retval=0
 1624: else
 1625:   $as_echo "$as_me: failed program was:" >&5
 1626: sed 's/^/| /' conftest.$ac_ext >&5
 1627: 
 1628:     ac_retval=1
 1629: fi
 1630:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1631:   as_fn_set_status $ac_retval
 1632: 
 1633: } # ac_fn_c_try_compile
 1634: 
 1635: # ac_fn_cxx_try_compile LINENO
 1636: # ----------------------------
 1637: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1638: ac_fn_cxx_try_compile ()
 1639: {
 1640:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1641:   rm -f conftest.$ac_objext
 1642:   if { { ac_try="$ac_compile"
 1643: case "(($ac_try" in
 1644:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1645:   *) ac_try_echo=$ac_try;;
 1646: esac
 1647: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1648: $as_echo "$ac_try_echo"; } >&5
 1649:   (eval "$ac_compile") 2>conftest.err
 1650:   ac_status=$?
 1651:   if test -s conftest.err; then
 1652:     grep -v '^ *+' conftest.err >conftest.er1
 1653:     cat conftest.er1 >&5
 1654:     mv -f conftest.er1 conftest.err
 1655:   fi
 1656:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1657:   test $ac_status = 0; } && {
 1658:      test -z "$ac_cxx_werror_flag" ||
 1659:      test ! -s conftest.err
 1660:        } && test -s conftest.$ac_objext; then :
 1661:   ac_retval=0
 1662: else
 1663:   $as_echo "$as_me: failed program was:" >&5
 1664: sed 's/^/| /' conftest.$ac_ext >&5
 1665: 
 1666:     ac_retval=1
 1667: fi
 1668:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1669:   as_fn_set_status $ac_retval
 1670: 
 1671: } # ac_fn_cxx_try_compile
 1672: 
 1673: # ac_fn_f77_try_compile LINENO
 1674: # ----------------------------
 1675: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1676: ac_fn_f77_try_compile ()
 1677: {
 1678:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1679:   rm -f conftest.$ac_objext
 1680:   if { { ac_try="$ac_compile"
 1681: case "(($ac_try" in
 1682:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1683:   *) ac_try_echo=$ac_try;;
 1684: esac
 1685: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1686: $as_echo "$ac_try_echo"; } >&5
 1687:   (eval "$ac_compile") 2>conftest.err
 1688:   ac_status=$?
 1689:   if test -s conftest.err; then
 1690:     grep -v '^ *+' conftest.err >conftest.er1
 1691:     cat conftest.er1 >&5
 1692:     mv -f conftest.er1 conftest.err
 1693:   fi
 1694:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1695:   test $ac_status = 0; } && {
 1696:      test -z "$ac_f77_werror_flag" ||
 1697:      test ! -s conftest.err
 1698:        } && test -s conftest.$ac_objext; then :
 1699:   ac_retval=0
 1700: else
 1701:   $as_echo "$as_me: failed program was:" >&5
 1702: sed 's/^/| /' conftest.$ac_ext >&5
 1703: 
 1704:     ac_retval=1
 1705: fi
 1706:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1707:   as_fn_set_status $ac_retval
 1708: 
 1709: } # ac_fn_f77_try_compile
 1710: 
 1711: # ac_fn_fc_try_compile LINENO
 1712: # ---------------------------
 1713: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1714: ac_fn_fc_try_compile ()
 1715: {
 1716:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1717:   rm -f conftest.$ac_objext
 1718:   if { { ac_try="$ac_compile"
 1719: case "(($ac_try" in
 1720:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1721:   *) ac_try_echo=$ac_try;;
 1722: esac
 1723: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1724: $as_echo "$ac_try_echo"; } >&5
 1725:   (eval "$ac_compile") 2>conftest.err
 1726:   ac_status=$?
 1727:   if test -s conftest.err; then
 1728:     grep -v '^ *+' conftest.err >conftest.er1
 1729:     cat conftest.er1 >&5
 1730:     mv -f conftest.er1 conftest.err
 1731:   fi
 1732:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1733:   test $ac_status = 0; } && {
 1734:      test -z "$ac_fc_werror_flag" ||
 1735:      test ! -s conftest.err
 1736:        } && test -s conftest.$ac_objext; then :
 1737:   ac_retval=0
 1738: else
 1739:   $as_echo "$as_me: failed program was:" >&5
 1740: sed 's/^/| /' conftest.$ac_ext >&5
 1741: 
 1742:     ac_retval=1
 1743: fi
 1744:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1745:   as_fn_set_status $ac_retval
 1746: 
 1747: } # ac_fn_fc_try_compile
 1748: 
 1749: # ac_fn_c_try_cpp LINENO
 1750: # ----------------------
 1751: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1752: ac_fn_c_try_cpp ()
 1753: {
 1754:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1755:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1756: case "(($ac_try" in
 1757:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1758:   *) ac_try_echo=$ac_try;;
 1759: esac
 1760: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1761: $as_echo "$ac_try_echo"; } >&5
 1762:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1763:   ac_status=$?
 1764:   if test -s conftest.err; then
 1765:     grep -v '^ *+' conftest.err >conftest.er1
 1766:     cat conftest.er1 >&5
 1767:     mv -f conftest.er1 conftest.err
 1768:   fi
 1769:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1770:   test $ac_status = 0; } > conftest.i && {
 1771:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1772:      test ! -s conftest.err
 1773:        }; then :
 1774:   ac_retval=0
 1775: else
 1776:   $as_echo "$as_me: failed program was:" >&5
 1777: sed 's/^/| /' conftest.$ac_ext >&5
 1778: 
 1779:     ac_retval=1
 1780: fi
 1781:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1782:   as_fn_set_status $ac_retval
 1783: 
 1784: } # ac_fn_c_try_cpp
 1785: 
 1786: # ac_fn_c_try_link LINENO
 1787: # -----------------------
 1788: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1789: ac_fn_c_try_link ()
 1790: {
 1791:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1792:   rm -f conftest.$ac_objext conftest$ac_exeext
 1793:   if { { ac_try="$ac_link"
 1794: case "(($ac_try" in
 1795:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1796:   *) ac_try_echo=$ac_try;;
 1797: esac
 1798: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1799: $as_echo "$ac_try_echo"; } >&5
 1800:   (eval "$ac_link") 2>conftest.err
 1801:   ac_status=$?
 1802:   if test -s conftest.err; then
 1803:     grep -v '^ *+' conftest.err >conftest.er1
 1804:     cat conftest.er1 >&5
 1805:     mv -f conftest.er1 conftest.err
 1806:   fi
 1807:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1808:   test $ac_status = 0; } && {
 1809:      test -z "$ac_c_werror_flag" ||
 1810:      test ! -s conftest.err
 1811:        } && test -s conftest$ac_exeext && {
 1812:      test "$cross_compiling" = yes ||
 1813:      $as_test_x conftest$ac_exeext
 1814:        }; then :
 1815:   ac_retval=0
 1816: else
 1817:   $as_echo "$as_me: failed program was:" >&5
 1818: sed 's/^/| /' conftest.$ac_ext >&5
 1819: 
 1820:     ac_retval=1
 1821: fi
 1822:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1823:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1824:   # interfere with the next link command; also delete a directory that is
 1825:   # left behind by Apple's compiler.  We do this before executing the actions.
 1826:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1827:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1828:   as_fn_set_status $ac_retval
 1829: 
 1830: } # ac_fn_c_try_link
 1831: 
 1832: # ac_fn_c_check_func LINENO FUNC VAR
 1833: # ----------------------------------
 1834: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1835: ac_fn_c_check_func ()
 1836: {
 1837:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1838:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1839: $as_echo_n "checking for $2... " >&6; }
 1840: if eval "test \"\${$3+set}\"" = set; then :
 1841:   $as_echo_n "(cached) " >&6
 1842: else
 1843:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1844: /* end confdefs.h.  */
 1845: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1846:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1847: #define $2 innocuous_$2
 1848: 
 1849: /* System header to define __stub macros and hopefully few prototypes,
 1850:     which can conflict with char $2 (); below.
 1851:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1852:     <limits.h> exists even on freestanding compilers.  */
 1853: 
 1854: #ifdef __STDC__
 1855: # include <limits.h>
 1856: #else
 1857: # include <assert.h>
 1858: #endif
 1859: 
 1860: #undef $2
 1861: 
 1862: /* Override any GCC internal prototype to avoid an error.
 1863:    Use char because int might match the return type of a GCC
 1864:    builtin and then its argument prototype would still apply.  */
 1865: #ifdef __cplusplus
 1866: extern "C"
 1867: #endif
 1868: char $2 ();
 1869: /* The GNU C library defines this for functions which it implements
 1870:     to always fail with ENOSYS.  Some functions are actually named
 1871:     something starting with __ and the normal name is an alias.  */
 1872: #if defined __stub_$2 || defined __stub___$2
 1873: choke me
 1874: #endif
 1875: 
 1876: int
 1877: main ()
 1878: {
 1879: return $2 ();
 1880:   ;
 1881:   return 0;
 1882: }
 1883: _ACEOF
 1884: if ac_fn_c_try_link "$LINENO"; then :
 1885:   eval "$3=yes"
 1886: else
 1887:   eval "$3=no"
 1888: fi
 1889: rm -f core conftest.err conftest.$ac_objext \
 1890:     conftest$ac_exeext conftest.$ac_ext
 1891: fi
 1892: eval ac_res=\$$3
 1893:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1894: $as_echo "$ac_res" >&6; }
 1895:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1896: 
 1897: } # ac_fn_c_check_func
 1898: 
 1899: # ac_fn_c_try_run LINENO
 1900: # ----------------------
 1901: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1902: # that executables *can* be run.
 1903: ac_fn_c_try_run ()
 1904: {
 1905:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1906:   if { { ac_try="$ac_link"
 1907: case "(($ac_try" in
 1908:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1909:   *) ac_try_echo=$ac_try;;
 1910: esac
 1911: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1912: $as_echo "$ac_try_echo"; } >&5
 1913:   (eval "$ac_link") 2>&5
 1914:   ac_status=$?
 1915:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1916:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1917:   { { case "(($ac_try" in
 1918:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1919:   *) ac_try_echo=$ac_try;;
 1920: esac
 1921: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1922: $as_echo "$ac_try_echo"; } >&5
 1923:   (eval "$ac_try") 2>&5
 1924:   ac_status=$?
 1925:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1926:   test $ac_status = 0; }; }; then :
 1927:   ac_retval=0
 1928: else
 1929:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1930:        $as_echo "$as_me: failed program was:" >&5
 1931: sed 's/^/| /' conftest.$ac_ext >&5
 1932: 
 1933:        ac_retval=$ac_status
 1934: fi
 1935:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1936:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1937:   as_fn_set_status $ac_retval
 1938: 
 1939: } # ac_fn_c_try_run
 1940: 
 1941: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1942: # -------------------------------------------
 1943: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1944: # variable VAR accordingly.
 1945: ac_fn_c_check_type ()
 1946: {
 1947:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1948:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1949: $as_echo_n "checking for $2... " >&6; }
 1950: if eval "test \"\${$3+set}\"" = set; then :
 1951:   $as_echo_n "(cached) " >&6
 1952: else
 1953:   eval "$3=no"
 1954:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1955: /* end confdefs.h.  */
 1956: $4
 1957: int
 1958: main ()
 1959: {
 1960: if (sizeof ($2))
 1961:      return 0;
 1962:   ;
 1963:   return 0;
 1964: }
 1965: _ACEOF
 1966: if ac_fn_c_try_compile "$LINENO"; then :
 1967:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1968: /* end confdefs.h.  */
 1969: $4
 1970: int
 1971: main ()
 1972: {
 1973: if (sizeof (($2)))
 1974:         return 0;
 1975:   ;
 1976:   return 0;
 1977: }
 1978: _ACEOF
 1979: if ac_fn_c_try_compile "$LINENO"; then :
 1980: 
 1981: else
 1982:   eval "$3=yes"
 1983: fi
 1984: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1985: fi
 1986: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1987: fi
 1988: eval ac_res=\$$3
 1989:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1990: $as_echo "$ac_res" >&6; }
 1991:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1992: 
 1993: } # ac_fn_c_check_type
 1994: 
 1995: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1996: # --------------------------------------------
 1997: # Tries to find the compile-time value of EXPR in a program that includes
 1998: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1999: # computed
 2000: ac_fn_c_compute_int ()
 2001: {
 2002:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2003:   if test "$cross_compiling" = yes; then
 2004:     # Depending upon the size, compute the lo and hi bounds.
 2005: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2006: /* end confdefs.h.  */
 2007: $4
 2008: int
 2009: main ()
 2010: {
 2011: static int test_array [1 - 2 * !(($2) >= 0)];
 2012: test_array [0] = 0
 2013: 
 2014:   ;
 2015:   return 0;
 2016: }
 2017: _ACEOF
 2018: if ac_fn_c_try_compile "$LINENO"; then :
 2019:   ac_lo=0 ac_mid=0
 2020:   while :; do
 2021:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2022: /* end confdefs.h.  */
 2023: $4
 2024: int
 2025: main ()
 2026: {
 2027: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2028: test_array [0] = 0
 2029: 
 2030:   ;
 2031:   return 0;
 2032: }
 2033: _ACEOF
 2034: if ac_fn_c_try_compile "$LINENO"; then :
 2035:   ac_hi=$ac_mid; break
 2036: else
 2037:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2038:             if test $ac_lo -le $ac_mid; then
 2039:               ac_lo= ac_hi=
 2040:               break
 2041:             fi
 2042:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2043: fi
 2044: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2045:   done
 2046: else
 2047:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2048: /* end confdefs.h.  */
 2049: $4
 2050: int
 2051: main ()
 2052: {
 2053: static int test_array [1 - 2 * !(($2) < 0)];
 2054: test_array [0] = 0
 2055: 
 2056:   ;
 2057:   return 0;
 2058: }
 2059: _ACEOF
 2060: if ac_fn_c_try_compile "$LINENO"; then :
 2061:   ac_hi=-1 ac_mid=-1
 2062:   while :; do
 2063:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2064: /* end confdefs.h.  */
 2065: $4
 2066: int
 2067: main ()
 2068: {
 2069: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2070: test_array [0] = 0
 2071: 
 2072:   ;
 2073:   return 0;
 2074: }
 2075: _ACEOF
 2076: if ac_fn_c_try_compile "$LINENO"; then :
 2077:   ac_lo=$ac_mid; break
 2078: else
 2079:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2080:             if test $ac_mid -le $ac_hi; then
 2081:               ac_lo= ac_hi=
 2082:               break
 2083:             fi
 2084:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2085: fi
 2086: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2087:   done
 2088: else
 2089:   ac_lo= ac_hi=
 2090: fi
 2091: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2092: fi
 2093: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2094: # Binary search between lo and hi bounds.
 2095: while test "x$ac_lo" != "x$ac_hi"; do
 2096:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2097:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2098: /* end confdefs.h.  */
 2099: $4
 2100: int
 2101: main ()
 2102: {
 2103: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2104: test_array [0] = 0
 2105: 
 2106:   ;
 2107:   return 0;
 2108: }
 2109: _ACEOF
 2110: if ac_fn_c_try_compile "$LINENO"; then :
 2111:   ac_hi=$ac_mid
 2112: else
 2113:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2114: fi
 2115: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2116: done
 2117: case $ac_lo in #((
 2118: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2119: '') ac_retval=1 ;;
 2120: esac
 2121:   else
 2122:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2123: /* end confdefs.h.  */
 2124: $4
 2125: static long int longval () { return $2; }
 2126: static unsigned long int ulongval () { return $2; }
 2127: #include <stdio.h>
 2128: #include <stdlib.h>
 2129: int
 2130: main ()
 2131: {
 2132: 
 2133:   FILE *f = fopen ("conftest.val", "w");
 2134:   if (! f)
 2135:     return 1;
 2136:   if (($2) < 0)
 2137:     {
 2138:       long int i = longval ();
 2139:       if (i != ($2))
 2140:     return 1;
 2141:       fprintf (f, "%ld", i);
 2142:     }
 2143:   else
 2144:     {
 2145:       unsigned long int i = ulongval ();
 2146:       if (i != ($2))
 2147:     return 1;
 2148:       fprintf (f, "%lu", i);
 2149:     }
 2150:   /* Do not output a trailing newline, as this causes \r\n confusion
 2151:      on some platforms.  */
 2152:   return ferror (f) || fclose (f) != 0;
 2153: 
 2154:   ;
 2155:   return 0;
 2156: }
 2157: _ACEOF
 2158: if ac_fn_c_try_run "$LINENO"; then :
 2159:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2160: else
 2161:   ac_retval=1
 2162: fi
 2163: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2164:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2165: rm -f conftest.val
 2166: 
 2167:   fi
 2168:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2169:   as_fn_set_status $ac_retval
 2170: 
 2171: } # ac_fn_c_compute_int
 2172: 
 2173: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2174: # -------------------------------------------------------
 2175: # Tests whether HEADER exists and can be compiled using the include files in
 2176: # INCLUDES, setting the cache variable VAR accordingly.
 2177: ac_fn_c_check_header_compile ()
 2178: {
 2179:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2180:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2181: $as_echo_n "checking for $2... " >&6; }
 2182: if eval "test \"\${$3+set}\"" = set; then :
 2183:   $as_echo_n "(cached) " >&6
 2184: else
 2185:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2186: /* end confdefs.h.  */
 2187: $4
 2188: #include <$2>
 2189: _ACEOF
 2190: if ac_fn_c_try_compile "$LINENO"; then :
 2191:   eval "$3=yes"
 2192: else
 2193:   eval "$3=no"
 2194: fi
 2195: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2196: fi
 2197: eval ac_res=\$$3
 2198:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2199: $as_echo "$ac_res" >&6; }
 2200:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2201: 
 2202: } # ac_fn_c_check_header_compile
 2203: 
 2204: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2205: # -------------------------------------------------------
 2206: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2207: # the include files in INCLUDES and setting the cache variable VAR
 2208: # accordingly.
 2209: ac_fn_c_check_header_mongrel ()
 2210: {
 2211:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2212:   if eval "test \"\${$3+set}\"" = set; then :
 2213:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2214: $as_echo_n "checking for $2... " >&6; }
 2215: if eval "test \"\${$3+set}\"" = set; then :
 2216:   $as_echo_n "(cached) " >&6
 2217: fi
 2218: eval ac_res=\$$3
 2219:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2220: $as_echo "$ac_res" >&6; }
 2221: else
 2222:   # Is the header compilable?
 2223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2224: $as_echo_n "checking $2 usability... " >&6; }
 2225: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2226: /* end confdefs.h.  */
 2227: $4
 2228: #include <$2>
 2229: _ACEOF
 2230: if ac_fn_c_try_compile "$LINENO"; then :
 2231:   ac_header_compiler=yes
 2232: else
 2233:   ac_header_compiler=no
 2234: fi
 2235: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2237: $as_echo "$ac_header_compiler" >&6; }
 2238: 
 2239: # Is the header present?
 2240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2241: $as_echo_n "checking $2 presence... " >&6; }
 2242: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2243: /* end confdefs.h.  */
 2244: #include <$2>
 2245: _ACEOF
 2246: if ac_fn_c_try_cpp "$LINENO"; then :
 2247:   ac_header_preproc=yes
 2248: else
 2249:   ac_header_preproc=no
 2250: fi
 2251: rm -f conftest.err conftest.i conftest.$ac_ext
 2252: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2253: $as_echo "$ac_header_preproc" >&6; }
 2254: 
 2255: # So?  What about this header?
 2256: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2257:   yes:no: )
 2258:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2259: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2260:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2261: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2262:     ;;
 2263:   no:yes:* )
 2264:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2265: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2266:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2267: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2268:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2269: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2270:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2271: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2272:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2273: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2274:     ;;
 2275: esac
 2276:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2277: $as_echo_n "checking for $2... " >&6; }
 2278: if eval "test \"\${$3+set}\"" = set; then :
 2279:   $as_echo_n "(cached) " >&6
 2280: else
 2281:   eval "$3=\$ac_header_compiler"
 2282: fi
 2283: eval ac_res=\$$3
 2284:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2285: $as_echo "$ac_res" >&6; }
 2286: fi
 2287:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2288: 
 2289: } # ac_fn_c_check_header_mongrel
 2290: cat >config.log <<_ACEOF
 2291: This file contains any messages produced by compilers while
 2292: running configure, to aid debugging if configure makes a mistake.
 2293: 
 2294: It was created by rpl $as_me 4.1.4, which was
 2295: generated by GNU Autoconf 2.67.  Invocation command line was
 2296: 
 2297:   $ $0 $@
 2298: 
 2299: _ACEOF
 2300: exec 5>>config.log
 2301: {
 2302: cat <<_ASUNAME
 2303: ## --------- ##
 2304: ## Platform. ##
 2305: ## --------- ##
 2306: 
 2307: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2308: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2309: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2310: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2311: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2312: 
 2313: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2314: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2315: 
 2316: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2317: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2318: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2319: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2320: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2321: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2322: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2323: 
 2324: _ASUNAME
 2325: 
 2326: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2327: for as_dir in $PATH
 2328: do
 2329:   IFS=$as_save_IFS
 2330:   test -z "$as_dir" && as_dir=.
 2331:     $as_echo "PATH: $as_dir"
 2332:   done
 2333: IFS=$as_save_IFS
 2334: 
 2335: } >&5
 2336: 
 2337: cat >&5 <<_ACEOF
 2338: 
 2339: 
 2340: ## ----------- ##
 2341: ## Core tests. ##
 2342: ## ----------- ##
 2343: 
 2344: _ACEOF
 2345: 
 2346: 
 2347: # Keep a trace of the command line.
 2348: # Strip out --no-create and --no-recursion so they do not pile up.
 2349: # Strip out --silent because we don't want to record it for future runs.
 2350: # Also quote any args containing shell meta-characters.
 2351: # Make two passes to allow for proper duplicate-argument suppression.
 2352: ac_configure_args=
 2353: ac_configure_args0=
 2354: ac_configure_args1=
 2355: ac_must_keep_next=false
 2356: for ac_pass in 1 2
 2357: do
 2358:   for ac_arg
 2359:   do
 2360:     case $ac_arg in
 2361:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2362:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2363:     | -silent | --silent | --silen | --sile | --sil)
 2364:       continue ;;
 2365:     *\'*)
 2366:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2367:     esac
 2368:     case $ac_pass in
 2369:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2370:     2)
 2371:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2372:       if test $ac_must_keep_next = true; then
 2373:     ac_must_keep_next=false # Got value, back to normal.
 2374:       else
 2375:     case $ac_arg in
 2376:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2377:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2378:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2379:       | -with-* | --with-* | -without-* | --without-* | --x)
 2380:         case "$ac_configure_args0 " in
 2381:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2382:         esac
 2383:         ;;
 2384:       -* ) ac_must_keep_next=true ;;
 2385:     esac
 2386:       fi
 2387:       as_fn_append ac_configure_args " '$ac_arg'"
 2388:       ;;
 2389:     esac
 2390:   done
 2391: done
 2392: { ac_configure_args0=; unset ac_configure_args0;}
 2393: { ac_configure_args1=; unset ac_configure_args1;}
 2394: 
 2395: # When interrupted or exit'd, cleanup temporary files, and complete
 2396: # config.log.  We remove comments because anyway the quotes in there
 2397: # would cause problems or look ugly.
 2398: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2399: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2400: trap 'exit_status=$?
 2401:   # Save into config.log some information that might help in debugging.
 2402:   {
 2403:     echo
 2404: 
 2405:     $as_echo "## ---------------- ##
 2406: ## Cache variables. ##
 2407: ## ---------------- ##"
 2408:     echo
 2409:     # The following way of writing the cache mishandles newlines in values,
 2410: (
 2411:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2412:     eval ac_val=\$$ac_var
 2413:     case $ac_val in #(
 2414:     *${as_nl}*)
 2415:       case $ac_var in #(
 2416:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2417: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2418:       esac
 2419:       case $ac_var in #(
 2420:       _ | IFS | as_nl) ;; #(
 2421:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2422:       *) { eval $ac_var=; unset $ac_var;} ;;
 2423:       esac ;;
 2424:     esac
 2425:   done
 2426:   (set) 2>&1 |
 2427:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2428:     *${as_nl}ac_space=\ *)
 2429:       sed -n \
 2430:     "s/'\''/'\''\\\\'\'''\''/g;
 2431:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2432:       ;; #(
 2433:     *)
 2434:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2435:       ;;
 2436:     esac |
 2437:     sort
 2438: )
 2439:     echo
 2440: 
 2441:     $as_echo "## ----------------- ##
 2442: ## Output variables. ##
 2443: ## ----------------- ##"
 2444:     echo
 2445:     for ac_var in $ac_subst_vars
 2446:     do
 2447:       eval ac_val=\$$ac_var
 2448:       case $ac_val in
 2449:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2450:       esac
 2451:       $as_echo "$ac_var='\''$ac_val'\''"
 2452:     done | sort
 2453:     echo
 2454: 
 2455:     if test -n "$ac_subst_files"; then
 2456:       $as_echo "## ------------------- ##
 2457: ## File substitutions. ##
 2458: ## ------------------- ##"
 2459:       echo
 2460:       for ac_var in $ac_subst_files
 2461:       do
 2462:     eval ac_val=\$$ac_var
 2463:     case $ac_val in
 2464:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2465:     esac
 2466:     $as_echo "$ac_var='\''$ac_val'\''"
 2467:       done | sort
 2468:       echo
 2469:     fi
 2470: 
 2471:     if test -s confdefs.h; then
 2472:       $as_echo "## ----------- ##
 2473: ## confdefs.h. ##
 2474: ## ----------- ##"
 2475:       echo
 2476:       cat confdefs.h
 2477:       echo
 2478:     fi
 2479:     test "$ac_signal" != 0 &&
 2480:       $as_echo "$as_me: caught signal $ac_signal"
 2481:     $as_echo "$as_me: exit $exit_status"
 2482:   } >&5
 2483:   rm -f core *.core core.conftest.* &&
 2484:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2485:     exit $exit_status
 2486: ' 0
 2487: for ac_signal in 1 2 13 15; do
 2488:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2489: done
 2490: ac_signal=0
 2491: 
 2492: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2493: rm -f -r conftest* confdefs.h
 2494: 
 2495: $as_echo "/* confdefs.h */" > confdefs.h
 2496: 
 2497: # Predefined preprocessor variables.
 2498: 
 2499: cat >>confdefs.h <<_ACEOF
 2500: #define PACKAGE_NAME "$PACKAGE_NAME"
 2501: _ACEOF
 2502: 
 2503: cat >>confdefs.h <<_ACEOF
 2504: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2505: _ACEOF
 2506: 
 2507: cat >>confdefs.h <<_ACEOF
 2508: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2509: _ACEOF
 2510: 
 2511: cat >>confdefs.h <<_ACEOF
 2512: #define PACKAGE_STRING "$PACKAGE_STRING"
 2513: _ACEOF
 2514: 
 2515: cat >>confdefs.h <<_ACEOF
 2516: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2517: _ACEOF
 2518: 
 2519: cat >>confdefs.h <<_ACEOF
 2520: #define PACKAGE_URL "$PACKAGE_URL"
 2521: _ACEOF
 2522: 
 2523: 
 2524: # Let the site file select an alternate cache file if it wants to.
 2525: # Prefer an explicitly selected file to automatically selected ones.
 2526: ac_site_file1=NONE
 2527: ac_site_file2=NONE
 2528: if test -n "$CONFIG_SITE"; then
 2529:   # We do not want a PATH search for config.site.
 2530:   case $CONFIG_SITE in #((
 2531:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2532:     */*) ac_site_file1=$CONFIG_SITE;;
 2533:     *)   ac_site_file1=./$CONFIG_SITE;;
 2534:   esac
 2535: elif test "x$prefix" != xNONE; then
 2536:   ac_site_file1=$prefix/share/config.site
 2537:   ac_site_file2=$prefix/etc/config.site
 2538: else
 2539:   ac_site_file1=$ac_default_prefix/share/config.site
 2540:   ac_site_file2=$ac_default_prefix/etc/config.site
 2541: fi
 2542: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2543: do
 2544:   test "x$ac_site_file" = xNONE && continue
 2545:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2546:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2547: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2548:     sed 's/^/| /' "$ac_site_file" >&5
 2549:     . "$ac_site_file" \
 2550:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2551: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2552: as_fn_error $? "failed to load site script $ac_site_file
 2553: See \`config.log' for more details" "$LINENO" 5 ; }
 2554:   fi
 2555: done
 2556: 
 2557: if test -r "$cache_file"; then
 2558:   # Some versions of bash will fail to source /dev/null (special files
 2559:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2560:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2561:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2562: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2563:     case $cache_file in
 2564:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2565:       *)                      . "./$cache_file";;
 2566:     esac
 2567:   fi
 2568: else
 2569:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2570: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2571:   >$cache_file
 2572: fi
 2573: 
 2574: # Check that the precious variables saved in the cache have kept the same
 2575: # value.
 2576: ac_cache_corrupted=false
 2577: for ac_var in $ac_precious_vars; do
 2578:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2579:   eval ac_new_set=\$ac_env_${ac_var}_set
 2580:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2581:   eval ac_new_val=\$ac_env_${ac_var}_value
 2582:   case $ac_old_set,$ac_new_set in
 2583:     set,)
 2584:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2585: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2586:       ac_cache_corrupted=: ;;
 2587:     ,set)
 2588:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2589: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2590:       ac_cache_corrupted=: ;;
 2591:     ,);;
 2592:     *)
 2593:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2594:     # differences in whitespace do not lead to failure.
 2595:     ac_old_val_w=`echo x $ac_old_val`
 2596:     ac_new_val_w=`echo x $ac_new_val`
 2597:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2598:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2599: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2600:       ac_cache_corrupted=:
 2601:     else
 2602:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2603: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2604:       eval $ac_var=\$ac_old_val
 2605:     fi
 2606:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2607: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2608:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2609: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2610:       fi;;
 2611:   esac
 2612:   # Pass precious variables to config.status.
 2613:   if test "$ac_new_set" = set; then
 2614:     case $ac_new_val in
 2615:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2616:     *) ac_arg=$ac_var=$ac_new_val ;;
 2617:     esac
 2618:     case " $ac_configure_args " in
 2619:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2620:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2621:     esac
 2622:   fi
 2623: done
 2624: if $ac_cache_corrupted; then
 2625:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2626: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2627:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2628: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2629:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2630: fi
 2631: ## -------------------- ##
 2632: ## Main body of script. ##
 2633: ## -------------------- ##
 2634: 
 2635: ac_ext=c
 2636: ac_cpp='$CPP $CPPFLAGS'
 2637: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2638: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2639: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2640: 
 2641: 
 2642: ac_aux_dir=
 2643: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2644:   if test -f "$ac_dir/install-sh"; then
 2645:     ac_aux_dir=$ac_dir
 2646:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2647:     break
 2648:   elif test -f "$ac_dir/install.sh"; then
 2649:     ac_aux_dir=$ac_dir
 2650:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2651:     break
 2652:   elif test -f "$ac_dir/shtool"; then
 2653:     ac_aux_dir=$ac_dir
 2654:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2655:     break
 2656:   fi
 2657: done
 2658: if test -z "$ac_aux_dir"; then
 2659:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2660: fi
 2661: 
 2662: # These three variables are undocumented and unsupported,
 2663: # and are intended to be withdrawn in a future Autoconf release.
 2664: # They can cause serious problems if a builder's source tree is in a directory
 2665: # whose full name contains unusual characters.
 2666: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2667: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2668: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2669: 
 2670: 
 2671: # Make sure we can run config.sub.
 2672: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2673:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2674: 
 2675: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2676: $as_echo_n "checking build system type... " >&6; }
 2677: if test "${ac_cv_build+set}" = set; then :
 2678:   $as_echo_n "(cached) " >&6
 2679: else
 2680:   ac_build_alias=$build_alias
 2681: test "x$ac_build_alias" = x &&
 2682:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2683: test "x$ac_build_alias" = x &&
 2684:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2685: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2686:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2687: 
 2688: fi
 2689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2690: $as_echo "$ac_cv_build" >&6; }
 2691: case $ac_cv_build in
 2692: *-*-*) ;;
 2693: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 2694: esac
 2695: build=$ac_cv_build
 2696: ac_save_IFS=$IFS; IFS='-'
 2697: set x $ac_cv_build
 2698: shift
 2699: build_cpu=$1
 2700: build_vendor=$2
 2701: shift; shift
 2702: # Remember, the first character of IFS is used to create $*,
 2703: # except with old shells:
 2704: build_os=$*
 2705: IFS=$ac_save_IFS
 2706: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2707: 
 2708: 
 2709: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2710: $as_echo_n "checking host system type... " >&6; }
 2711: if test "${ac_cv_host+set}" = set; then :
 2712:   $as_echo_n "(cached) " >&6
 2713: else
 2714:   if test "x$host_alias" = x; then
 2715:   ac_cv_host=$ac_cv_build
 2716: else
 2717:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2718:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2719: fi
 2720: 
 2721: fi
 2722: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2723: $as_echo "$ac_cv_host" >&6; }
 2724: case $ac_cv_host in
 2725: *-*-*) ;;
 2726: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 2727: esac
 2728: host=$ac_cv_host
 2729: ac_save_IFS=$IFS; IFS='-'
 2730: set x $ac_cv_host
 2731: shift
 2732: host_cpu=$1
 2733: host_vendor=$2
 2734: shift; shift
 2735: # Remember, the first character of IFS is used to create $*,
 2736: # except with old shells:
 2737: host_os=$*
 2738: IFS=$ac_save_IFS
 2739: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2740: 
 2741: 
 2742: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2743: $as_echo_n "checking target system type... " >&6; }
 2744: if test "${ac_cv_target+set}" = set; then :
 2745:   $as_echo_n "(cached) " >&6
 2746: else
 2747:   if test "x$target_alias" = x; then
 2748:   ac_cv_target=$ac_cv_host
 2749: else
 2750:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2751:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2752: fi
 2753: 
 2754: fi
 2755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2756: $as_echo "$ac_cv_target" >&6; }
 2757: case $ac_cv_target in
 2758: *-*-*) ;;
 2759: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
 2760: esac
 2761: target=$ac_cv_target
 2762: ac_save_IFS=$IFS; IFS='-'
 2763: set x $ac_cv_target
 2764: shift
 2765: target_cpu=$1
 2766: target_vendor=$2
 2767: shift; shift
 2768: # Remember, the first character of IFS is used to create $*,
 2769: # except with old shells:
 2770: target_os=$*
 2771: IFS=$ac_save_IFS
 2772: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2773: 
 2774: 
 2775: # The aliases save the names the user supplied, while $host etc.
 2776: # will get canonicalized.
 2777: test -n "$target_alias" &&
 2778:   test "$program_prefix$program_suffix$program_transform_name" = \
 2779:     NONENONEs,x,x, &&
 2780:   program_prefix=${target_alias}-
 2781: 
 2782: am__api_version='1.11'
 2783: 
 2784: # Find a good install program.  We prefer a C program (faster),
 2785: # so one script is as good as another.  But avoid the broken or
 2786: # incompatible versions:
 2787: # SysV /etc/install, /usr/sbin/install
 2788: # SunOS /usr/etc/install
 2789: # IRIX /sbin/install
 2790: # AIX /bin/install
 2791: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2792: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2793: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2794: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2795: # OS/2's system install, which has a completely different semantic
 2796: # ./install, which can be erroneously created by make from ./install.sh.
 2797: # Reject install programs that cannot install multiple files.
 2798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2799: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2800: if test -z "$INSTALL"; then
 2801: if test "${ac_cv_path_install+set}" = set; then :
 2802:   $as_echo_n "(cached) " >&6
 2803: else
 2804:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2805: for as_dir in $PATH
 2806: do
 2807:   IFS=$as_save_IFS
 2808:   test -z "$as_dir" && as_dir=.
 2809:     # Account for people who put trailing slashes in PATH elements.
 2810: case $as_dir/ in #((
 2811:   ./ | .// | /[cC]/* | \
 2812:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2813:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2814:   /usr/ucb/* ) ;;
 2815:   *)
 2816:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2817:     # Don't use installbsd from OSF since it installs stuff as root
 2818:     # by default.
 2819:     for ac_prog in ginstall scoinst install; do
 2820:       for ac_exec_ext in '' $ac_executable_extensions; do
 2821:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2822:       if test $ac_prog = install &&
 2823:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2824:         # AIX install.  It has an incompatible calling convention.
 2825:         :
 2826:       elif test $ac_prog = install &&
 2827:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2828:         # program-specific install script used by HP pwplus--don't use.
 2829:         :
 2830:       else
 2831:         rm -rf conftest.one conftest.two conftest.dir
 2832:         echo one > conftest.one
 2833:         echo two > conftest.two
 2834:         mkdir conftest.dir
 2835:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2836:           test -s conftest.one && test -s conftest.two &&
 2837:           test -s conftest.dir/conftest.one &&
 2838:           test -s conftest.dir/conftest.two
 2839:         then
 2840:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2841:           break 3
 2842:         fi
 2843:       fi
 2844:     fi
 2845:       done
 2846:     done
 2847:     ;;
 2848: esac
 2849: 
 2850:   done
 2851: IFS=$as_save_IFS
 2852: 
 2853: rm -rf conftest.one conftest.two conftest.dir
 2854: 
 2855: fi
 2856:   if test "${ac_cv_path_install+set}" = set; then
 2857:     INSTALL=$ac_cv_path_install
 2858:   else
 2859:     # As a last resort, use the slow shell script.  Don't cache a
 2860:     # value for INSTALL within a source directory, because that will
 2861:     # break other packages using the cache if that directory is
 2862:     # removed, or if the value is a relative name.
 2863:     INSTALL=$ac_install_sh
 2864:   fi
 2865: fi
 2866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2867: $as_echo "$INSTALL" >&6; }
 2868: 
 2869: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2870: # It thinks the first close brace ends the variable substitution.
 2871: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2872: 
 2873: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2874: 
 2875: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2876: 
 2877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2878: $as_echo_n "checking whether build environment is sane... " >&6; }
 2879: # Just in case
 2880: sleep 1
 2881: echo timestamp > conftest.file
 2882: # Reject unsafe characters in $srcdir or the absolute working directory
 2883: # name.  Accept space and tab only in the latter.
 2884: am_lf='
 2885: '
 2886: case `pwd` in
 2887:   *[\\\"\#\$\&\'\`$am_lf]*)
 2888:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 2889: esac
 2890: case $srcdir in
 2891:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2892:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 2893: esac
 2894: 
 2895: # Do `set' in a subshell so we don't clobber the current shell's
 2896: # arguments.  Must try -L first in case configure is actually a
 2897: # symlink; some systems play weird games with the mod time of symlinks
 2898: # (eg FreeBSD returns the mod time of the symlink's containing
 2899: # directory).
 2900: if (
 2901:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2902:    if test "$*" = "X"; then
 2903:       # -L didn't work.
 2904:       set X `ls -t "$srcdir/configure" conftest.file`
 2905:    fi
 2906:    rm -f conftest.file
 2907:    if test "$*" != "X $srcdir/configure conftest.file" \
 2908:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2909: 
 2910:       # If neither matched, then we have a broken ls.  This can happen
 2911:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2912:       # broken ls alias from the environment.  This has actually
 2913:       # happened.  Such a system could not be considered "sane".
 2914:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2915: alias in your environment" "$LINENO" 5
 2916:    fi
 2917: 
 2918:    test "$2" = conftest.file
 2919:    )
 2920: then
 2921:    # Ok.
 2922:    :
 2923: else
 2924:    as_fn_error $? "newly created file is older than distributed files!
 2925: Check your system clock" "$LINENO" 5
 2926: fi
 2927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2928: $as_echo "yes" >&6; }
 2929: test "$program_prefix" != NONE &&
 2930:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2931: # Use a double $ so make ignores it.
 2932: test "$program_suffix" != NONE &&
 2933:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2934: # Double any \ or $.
 2935: # By default was `s,x,x', remove it if useless.
 2936: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2937: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2938: 
 2939: # expand $ac_aux_dir to an absolute path
 2940: am_aux_dir=`cd $ac_aux_dir && pwd`
 2941: 
 2942: if test x"${MISSING+set}" != xset; then
 2943:   case $am_aux_dir in
 2944:   *\ * | *\ *)
 2945:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2946:   *)
 2947:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2948:   esac
 2949: fi
 2950: # Use eval to expand $SHELL
 2951: if eval "$MISSING --run true"; then
 2952:   am_missing_run="$MISSING --run "
 2953: else
 2954:   am_missing_run=
 2955:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2956: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2957: fi
 2958: 
 2959: if test x"${install_sh}" != xset; then
 2960:   case $am_aux_dir in
 2961:   *\ * | *\ *)
 2962:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2963:   *)
 2964:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2965:   esac
 2966: fi
 2967: 
 2968: # Installed binaries are usually stripped using `strip' when the user
 2969: # run `make install-strip'.  However `strip' might not be the right
 2970: # tool to use in cross-compilation environments, therefore Automake
 2971: # will honor the `STRIP' environment variable to overrule this program.
 2972: if test "$cross_compiling" != no; then
 2973:   if test -n "$ac_tool_prefix"; then
 2974:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2975: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2977: $as_echo_n "checking for $ac_word... " >&6; }
 2978: if test "${ac_cv_prog_STRIP+set}" = set; then :
 2979:   $as_echo_n "(cached) " >&6
 2980: else
 2981:   if test -n "$STRIP"; then
 2982:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2983: else
 2984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2985: for as_dir in $PATH
 2986: do
 2987:   IFS=$as_save_IFS
 2988:   test -z "$as_dir" && as_dir=.
 2989:     for ac_exec_ext in '' $ac_executable_extensions; do
 2990:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2991:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2992:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2993:     break 2
 2994:   fi
 2995: done
 2996:   done
 2997: IFS=$as_save_IFS
 2998: 
 2999: fi
 3000: fi
 3001: STRIP=$ac_cv_prog_STRIP
 3002: if test -n "$STRIP"; then
 3003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 3004: $as_echo "$STRIP" >&6; }
 3005: else
 3006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3007: $as_echo "no" >&6; }
 3008: fi
 3009: 
 3010: 
 3011: fi
 3012: if test -z "$ac_cv_prog_STRIP"; then
 3013:   ac_ct_STRIP=$STRIP
 3014:   # Extract the first word of "strip", so it can be a program name with args.
 3015: set dummy strip; ac_word=$2
 3016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3017: $as_echo_n "checking for $ac_word... " >&6; }
 3018: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 3019:   $as_echo_n "(cached) " >&6
 3020: else
 3021:   if test -n "$ac_ct_STRIP"; then
 3022:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 3023: else
 3024: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3025: for as_dir in $PATH
 3026: do
 3027:   IFS=$as_save_IFS
 3028:   test -z "$as_dir" && as_dir=.
 3029:     for ac_exec_ext in '' $ac_executable_extensions; do
 3030:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3031:     ac_cv_prog_ac_ct_STRIP="strip"
 3032:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3033:     break 2
 3034:   fi
 3035: done
 3036:   done
 3037: IFS=$as_save_IFS
 3038: 
 3039: fi
 3040: fi
 3041: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3042: if test -n "$ac_ct_STRIP"; then
 3043:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3044: $as_echo "$ac_ct_STRIP" >&6; }
 3045: else
 3046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3047: $as_echo "no" >&6; }
 3048: fi
 3049: 
 3050:   if test "x$ac_ct_STRIP" = x; then
 3051:     STRIP=":"
 3052:   else
 3053:     case $cross_compiling:$ac_tool_warned in
 3054: yes:)
 3055: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3056: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3057: ac_tool_warned=yes ;;
 3058: esac
 3059:     STRIP=$ac_ct_STRIP
 3060:   fi
 3061: else
 3062:   STRIP="$ac_cv_prog_STRIP"
 3063: fi
 3064: 
 3065: fi
 3066: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3067: 
 3068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3069: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3070: if test -z "$MKDIR_P"; then
 3071:   if test "${ac_cv_path_mkdir+set}" = set; then :
 3072:   $as_echo_n "(cached) " >&6
 3073: else
 3074:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3075: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3076: do
 3077:   IFS=$as_save_IFS
 3078:   test -z "$as_dir" && as_dir=.
 3079:     for ac_prog in mkdir gmkdir; do
 3080:      for ac_exec_ext in '' $ac_executable_extensions; do
 3081:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3082:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3083:          'mkdir (GNU coreutils) '* | \
 3084:          'mkdir (coreutils) '* | \
 3085:          'mkdir (fileutils) '4.1*)
 3086:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3087:            break 3;;
 3088:        esac
 3089:      done
 3090:        done
 3091:   done
 3092: IFS=$as_save_IFS
 3093: 
 3094: fi
 3095: 
 3096:   test -d ./--version && rmdir ./--version
 3097:   if test "${ac_cv_path_mkdir+set}" = set; then
 3098:     MKDIR_P="$ac_cv_path_mkdir -p"
 3099:   else
 3100:     # As a last resort, use the slow shell script.  Don't cache a
 3101:     # value for MKDIR_P within a source directory, because that will
 3102:     # break other packages using the cache if that directory is
 3103:     # removed, or if the value is a relative name.
 3104:     MKDIR_P="$ac_install_sh -d"
 3105:   fi
 3106: fi
 3107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3108: $as_echo "$MKDIR_P" >&6; }
 3109: 
 3110: mkdir_p="$MKDIR_P"
 3111: case $mkdir_p in
 3112:   [\\/$]* | ?:[\\/]*) ;;
 3113:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3114: esac
 3115: 
 3116: for ac_prog in gawk mawk nawk awk
 3117: do
 3118:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3119: set dummy $ac_prog; ac_word=$2
 3120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3121: $as_echo_n "checking for $ac_word... " >&6; }
 3122: if test "${ac_cv_prog_AWK+set}" = set; then :
 3123:   $as_echo_n "(cached) " >&6
 3124: else
 3125:   if test -n "$AWK"; then
 3126:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3127: else
 3128: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3129: for as_dir in $PATH
 3130: do
 3131:   IFS=$as_save_IFS
 3132:   test -z "$as_dir" && as_dir=.
 3133:     for ac_exec_ext in '' $ac_executable_extensions; do
 3134:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3135:     ac_cv_prog_AWK="$ac_prog"
 3136:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3137:     break 2
 3138:   fi
 3139: done
 3140:   done
 3141: IFS=$as_save_IFS
 3142: 
 3143: fi
 3144: fi
 3145: AWK=$ac_cv_prog_AWK
 3146: if test -n "$AWK"; then
 3147:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3148: $as_echo "$AWK" >&6; }
 3149: else
 3150:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3151: $as_echo "no" >&6; }
 3152: fi
 3153: 
 3154: 
 3155:   test -n "$AWK" && break
 3156: done
 3157: 
 3158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3159: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3160: set x ${MAKE-make}
 3161: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3162: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 3163:   $as_echo_n "(cached) " >&6
 3164: else
 3165:   cat >conftest.make <<\_ACEOF
 3166: SHELL = /bin/sh
 3167: all:
 3168:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3169: _ACEOF
 3170: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3171: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3172:   *@@@%%%=?*=@@@%%%*)
 3173:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3174:   *)
 3175:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3176: esac
 3177: rm -f conftest.make
 3178: fi
 3179: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3180:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3181: $as_echo "yes" >&6; }
 3182:   SET_MAKE=
 3183: else
 3184:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3185: $as_echo "no" >&6; }
 3186:   SET_MAKE="MAKE=${MAKE-make}"
 3187: fi
 3188: 
 3189: rm -rf .tst 2>/dev/null
 3190: mkdir .tst 2>/dev/null
 3191: if test -d .tst; then
 3192:   am__leading_dot=.
 3193: else
 3194:   am__leading_dot=_
 3195: fi
 3196: rmdir .tst 2>/dev/null
 3197: 
 3198: # Check whether --enable-silent-rules was given.
 3199: if test "${enable_silent_rules+set}" = set; then :
 3200:   enableval=$enable_silent_rules;
 3201: fi
 3202: 
 3203: case $enable_silent_rules in
 3204: yes) AM_DEFAULT_VERBOSITY=0;;
 3205: no)  AM_DEFAULT_VERBOSITY=1;;
 3206: *)   AM_DEFAULT_VERBOSITY=1;;
 3207: esac
 3208: AM_BACKSLASH='\'
 3209: 
 3210: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3211:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3212:   # is not polluted with repeated "-I."
 3213:   am__isrc=' -I$(srcdir)'
 3214:   # test to see if srcdir already configured
 3215:   if test -f $srcdir/config.status; then
 3216:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3217:   fi
 3218: fi
 3219: 
 3220: # test whether we have cygpath
 3221: if test -z "$CYGPATH_W"; then
 3222:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3223:     CYGPATH_W='cygpath -w'
 3224:   else
 3225:     CYGPATH_W=echo
 3226:   fi
 3227: fi
 3228: 
 3229: 
 3230: # Define the identity of the package.
 3231:  PACKAGE='rpl'
 3232:  VERSION='4.1.4'
 3233: 
 3234: 
 3235: cat >>confdefs.h <<_ACEOF
 3236: #define PACKAGE "$PACKAGE"
 3237: _ACEOF
 3238: 
 3239: 
 3240: cat >>confdefs.h <<_ACEOF
 3241: #define VERSION "$VERSION"
 3242: _ACEOF
 3243: 
 3244: # Some tools Automake needs.
 3245: 
 3246: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3247: 
 3248: 
 3249: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3250: 
 3251: 
 3252: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3253: 
 3254: 
 3255: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3256: 
 3257: 
 3258: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3259: 
 3260: # We need awk for the "check" target.  The system "awk" is bad on
 3261: # some platforms.
 3262: # Always define AMTAR for backward compatibility.
 3263: 
 3264: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3265: 
 3266: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3267: 
 3268: 
 3269: 
 3270: 
 3271: 
 3272: # Check whether --enable-silent-rules was given.
 3273: if test "${enable_silent_rules+set}" = set; then :
 3274:   enableval=$enable_silent_rules;
 3275: fi
 3276: 
 3277: case $enable_silent_rules in
 3278: yes) AM_DEFAULT_VERBOSITY=0;;
 3279: no)  AM_DEFAULT_VERBOSITY=1;;
 3280: *)   AM_DEFAULT_VERBOSITY=1;;
 3281: esac
 3282: AM_BACKSLASH='\'
 3283: 
 3284: 
 3285: ac_config_headers="$ac_config_headers rplconfig.h"
 3286: 
 3287: 
 3288: NCURSES=ncurses-5.9
 3289: READLINE=readline-6.2
 3290: UNITS=units-1.88
 3291: GSL=gsl-1.15
 3292: GPP=gpp-3.0
 3293: GNUPLOT=gnuplot-4.4.3
 3294: FILE=file-5.03
 3295: ICONV=libiconv-1.13.1
 3296: SQLITE=sqlite-3.7.8
 3297: OPENSSL=openssl-1.0.0e
 3298: OPENMOTIF=openmotif-2.3.3
 3299: LIBXPM=libXpm-3.5.9
 3300: SIGSEGV=libsigsegv-2.6
 3301: 
 3302: GMP=gmp-5.0.2
 3303: MPFR=mpfr-3.0.1
 3304: NTL=ntl-5.5.2
 3305: COCOA=CoCoALib-0.9943
 3306: PARI=pari-2.5.0
 3307: GIAC=giac-0.9.3
 3308: 
 3309: ac_ext=c
 3310: ac_cpp='$CPP $CPPFLAGS'
 3311: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3312: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3313: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3314: if test -n "$ac_tool_prefix"; then
 3315:   for ac_prog in gcc
 3316:   do
 3317:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3318: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3319: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3320: $as_echo_n "checking for $ac_word... " >&6; }
 3321: if test "${ac_cv_prog_CC+set}" = set; then :
 3322:   $as_echo_n "(cached) " >&6
 3323: else
 3324:   if test -n "$CC"; then
 3325:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3326: else
 3327: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3328: for as_dir in $PATH
 3329: do
 3330:   IFS=$as_save_IFS
 3331:   test -z "$as_dir" && as_dir=.
 3332:     for ac_exec_ext in '' $ac_executable_extensions; do
 3333:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3334:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3335:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3336:     break 2
 3337:   fi
 3338: done
 3339:   done
 3340: IFS=$as_save_IFS
 3341: 
 3342: fi
 3343: fi
 3344: CC=$ac_cv_prog_CC
 3345: if test -n "$CC"; then
 3346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3347: $as_echo "$CC" >&6; }
 3348: else
 3349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3350: $as_echo "no" >&6; }
 3351: fi
 3352: 
 3353: 
 3354:     test -n "$CC" && break
 3355:   done
 3356: fi
 3357: if test -z "$CC"; then
 3358:   ac_ct_CC=$CC
 3359:   for ac_prog in gcc
 3360: do
 3361:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3362: set dummy $ac_prog; ac_word=$2
 3363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3364: $as_echo_n "checking for $ac_word... " >&6; }
 3365: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3366:   $as_echo_n "(cached) " >&6
 3367: else
 3368:   if test -n "$ac_ct_CC"; then
 3369:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3370: else
 3371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3372: for as_dir in $PATH
 3373: do
 3374:   IFS=$as_save_IFS
 3375:   test -z "$as_dir" && as_dir=.
 3376:     for ac_exec_ext in '' $ac_executable_extensions; do
 3377:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3378:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3379:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3380:     break 2
 3381:   fi
 3382: done
 3383:   done
 3384: IFS=$as_save_IFS
 3385: 
 3386: fi
 3387: fi
 3388: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3389: if test -n "$ac_ct_CC"; then
 3390:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3391: $as_echo "$ac_ct_CC" >&6; }
 3392: else
 3393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3394: $as_echo "no" >&6; }
 3395: fi
 3396: 
 3397: 
 3398:   test -n "$ac_ct_CC" && break
 3399: done
 3400: 
 3401:   if test "x$ac_ct_CC" = x; then
 3402:     CC=""
 3403:   else
 3404:     case $cross_compiling:$ac_tool_warned in
 3405: yes:)
 3406: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3407: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3408: ac_tool_warned=yes ;;
 3409: esac
 3410:     CC=$ac_ct_CC
 3411:   fi
 3412: fi
 3413: 
 3414: 
 3415: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3416: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3417: as_fn_error $? "no acceptable C compiler found in \$PATH
 3418: See \`config.log' for more details" "$LINENO" 5 ; }
 3419: 
 3420: # Provide some information about the compiler.
 3421: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3422: set X $ac_compile
 3423: ac_compiler=$2
 3424: for ac_option in --version -v -V -qversion; do
 3425:   { { ac_try="$ac_compiler $ac_option >&5"
 3426: case "(($ac_try" in
 3427:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3428:   *) ac_try_echo=$ac_try;;
 3429: esac
 3430: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3431: $as_echo "$ac_try_echo"; } >&5
 3432:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3433:   ac_status=$?
 3434:   if test -s conftest.err; then
 3435:     sed '10a\
 3436: ... rest of stderr output deleted ...
 3437:          10q' conftest.err >conftest.er1
 3438:     cat conftest.er1 >&5
 3439:   fi
 3440:   rm -f conftest.er1 conftest.err
 3441:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3442:   test $ac_status = 0; }
 3443: done
 3444: 
 3445: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3446: /* end confdefs.h.  */
 3447: 
 3448: int
 3449: main ()
 3450: {
 3451: 
 3452:   ;
 3453:   return 0;
 3454: }
 3455: _ACEOF
 3456: ac_clean_files_save=$ac_clean_files
 3457: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3458: # Try to create an executable without -o first, disregard a.out.
 3459: # It will help us diagnose broken compilers, and finding out an intuition
 3460: # of exeext.
 3461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3462: $as_echo_n "checking whether the C compiler works... " >&6; }
 3463: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3464: 
 3465: # The possible output files:
 3466: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3467: 
 3468: ac_rmfiles=
 3469: for ac_file in $ac_files
 3470: do
 3471:   case $ac_file in
 3472:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3473:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3474:   esac
 3475: done
 3476: rm -f $ac_rmfiles
 3477: 
 3478: if { { ac_try="$ac_link_default"
 3479: case "(($ac_try" in
 3480:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3481:   *) ac_try_echo=$ac_try;;
 3482: esac
 3483: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3484: $as_echo "$ac_try_echo"; } >&5
 3485:   (eval "$ac_link_default") 2>&5
 3486:   ac_status=$?
 3487:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3488:   test $ac_status = 0; }; then :
 3489:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3490: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3491: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3492: # so that the user can short-circuit this test for compilers unknown to
 3493: # Autoconf.
 3494: for ac_file in $ac_files ''
 3495: do
 3496:   test -f "$ac_file" || continue
 3497:   case $ac_file in
 3498:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3499:     ;;
 3500:     [ab].out )
 3501:     # We found the default executable, but exeext='' is most
 3502:     # certainly right.
 3503:     break;;
 3504:     *.* )
 3505:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3506:     then :; else
 3507:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3508:     fi
 3509:     # We set ac_cv_exeext here because the later test for it is not
 3510:     # safe: cross compilers may not add the suffix if given an `-o'
 3511:     # argument, so we may need to know it at that point already.
 3512:     # Even if this section looks crufty: it has the advantage of
 3513:     # actually working.
 3514:     break;;
 3515:     * )
 3516:     break;;
 3517:   esac
 3518: done
 3519: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3520: 
 3521: else
 3522:   ac_file=''
 3523: fi
 3524: if test -z "$ac_file"; then :
 3525:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3526: $as_echo "no" >&6; }
 3527: $as_echo "$as_me: failed program was:" >&5
 3528: sed 's/^/| /' conftest.$ac_ext >&5
 3529: 
 3530: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3531: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3532: as_fn_error 77 "C compiler cannot create executables
 3533: See \`config.log' for more details" "$LINENO" 5 ; }
 3534: else
 3535:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3536: $as_echo "yes" >&6; }
 3537: fi
 3538: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3539: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3540: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3541: $as_echo "$ac_file" >&6; }
 3542: ac_exeext=$ac_cv_exeext
 3543: 
 3544: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3545: ac_clean_files=$ac_clean_files_save
 3546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3547: $as_echo_n "checking for suffix of executables... " >&6; }
 3548: if { { ac_try="$ac_link"
 3549: case "(($ac_try" in
 3550:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3551:   *) ac_try_echo=$ac_try;;
 3552: esac
 3553: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3554: $as_echo "$ac_try_echo"; } >&5
 3555:   (eval "$ac_link") 2>&5
 3556:   ac_status=$?
 3557:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3558:   test $ac_status = 0; }; then :
 3559:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3560: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3561: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3562: # `rm'.
 3563: for ac_file in conftest.exe conftest conftest.*; do
 3564:   test -f "$ac_file" || continue
 3565:   case $ac_file in
 3566:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3567:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3568:       break;;
 3569:     * ) break;;
 3570:   esac
 3571: done
 3572: else
 3573:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3574: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3575: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3576: See \`config.log' for more details" "$LINENO" 5 ; }
 3577: fi
 3578: rm -f conftest conftest$ac_cv_exeext
 3579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3580: $as_echo "$ac_cv_exeext" >&6; }
 3581: 
 3582: rm -f conftest.$ac_ext
 3583: EXEEXT=$ac_cv_exeext
 3584: ac_exeext=$EXEEXT
 3585: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3586: /* end confdefs.h.  */
 3587: #include <stdio.h>
 3588: int
 3589: main ()
 3590: {
 3591: FILE *f = fopen ("conftest.out", "w");
 3592:  return ferror (f) || fclose (f) != 0;
 3593: 
 3594:   ;
 3595:   return 0;
 3596: }
 3597: _ACEOF
 3598: ac_clean_files="$ac_clean_files conftest.out"
 3599: # Check that the compiler produces executables we can run.  If not, either
 3600: # the compiler is broken, or we cross compile.
 3601: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3602: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3603: if test "$cross_compiling" != yes; then
 3604:   { { ac_try="$ac_link"
 3605: case "(($ac_try" in
 3606:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3607:   *) ac_try_echo=$ac_try;;
 3608: esac
 3609: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3610: $as_echo "$ac_try_echo"; } >&5
 3611:   (eval "$ac_link") 2>&5
 3612:   ac_status=$?
 3613:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3614:   test $ac_status = 0; }
 3615:   if { ac_try='./conftest$ac_cv_exeext'
 3616:   { { case "(($ac_try" in
 3617:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3618:   *) ac_try_echo=$ac_try;;
 3619: esac
 3620: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3621: $as_echo "$ac_try_echo"; } >&5
 3622:   (eval "$ac_try") 2>&5
 3623:   ac_status=$?
 3624:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3625:   test $ac_status = 0; }; }; then
 3626:     cross_compiling=no
 3627:   else
 3628:     if test "$cross_compiling" = maybe; then
 3629:     cross_compiling=yes
 3630:     else
 3631:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3632: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3633: as_fn_error $? "cannot run C compiled programs.
 3634: If you meant to cross compile, use \`--host'.
 3635: See \`config.log' for more details" "$LINENO" 5 ; }
 3636:     fi
 3637:   fi
 3638: fi
 3639: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3640: $as_echo "$cross_compiling" >&6; }
 3641: 
 3642: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3643: ac_clean_files=$ac_clean_files_save
 3644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3645: $as_echo_n "checking for suffix of object files... " >&6; }
 3646: if test "${ac_cv_objext+set}" = set; then :
 3647:   $as_echo_n "(cached) " >&6
 3648: else
 3649:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3650: /* end confdefs.h.  */
 3651: 
 3652: int
 3653: main ()
 3654: {
 3655: 
 3656:   ;
 3657:   return 0;
 3658: }
 3659: _ACEOF
 3660: rm -f conftest.o conftest.obj
 3661: if { { ac_try="$ac_compile"
 3662: case "(($ac_try" in
 3663:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3664:   *) ac_try_echo=$ac_try;;
 3665: esac
 3666: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3667: $as_echo "$ac_try_echo"; } >&5
 3668:   (eval "$ac_compile") 2>&5
 3669:   ac_status=$?
 3670:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3671:   test $ac_status = 0; }; then :
 3672:   for ac_file in conftest.o conftest.obj conftest.*; do
 3673:   test -f "$ac_file" || continue;
 3674:   case $ac_file in
 3675:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3676:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3677:        break;;
 3678:   esac
 3679: done
 3680: else
 3681:   $as_echo "$as_me: failed program was:" >&5
 3682: sed 's/^/| /' conftest.$ac_ext >&5
 3683: 
 3684: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3685: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3686: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3687: See \`config.log' for more details" "$LINENO" 5 ; }
 3688: fi
 3689: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3690: fi
 3691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3692: $as_echo "$ac_cv_objext" >&6; }
 3693: OBJEXT=$ac_cv_objext
 3694: ac_objext=$OBJEXT
 3695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3696: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3697: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 3698:   $as_echo_n "(cached) " >&6
 3699: else
 3700:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3701: /* end confdefs.h.  */
 3702: 
 3703: int
 3704: main ()
 3705: {
 3706: #ifndef __GNUC__
 3707:        choke me
 3708: #endif
 3709: 
 3710:   ;
 3711:   return 0;
 3712: }
 3713: _ACEOF
 3714: if ac_fn_c_try_compile "$LINENO"; then :
 3715:   ac_compiler_gnu=yes
 3716: else
 3717:   ac_compiler_gnu=no
 3718: fi
 3719: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3720: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3721: 
 3722: fi
 3723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3724: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3725: if test $ac_compiler_gnu = yes; then
 3726:   GCC=yes
 3727: else
 3728:   GCC=
 3729: fi
 3730: ac_test_CFLAGS=${CFLAGS+set}
 3731: ac_save_CFLAGS=$CFLAGS
 3732: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3733: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3734: if test "${ac_cv_prog_cc_g+set}" = set; then :
 3735:   $as_echo_n "(cached) " >&6
 3736: else
 3737:   ac_save_c_werror_flag=$ac_c_werror_flag
 3738:    ac_c_werror_flag=yes
 3739:    ac_cv_prog_cc_g=no
 3740:    CFLAGS="-g"
 3741:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3742: /* end confdefs.h.  */
 3743: 
 3744: int
 3745: main ()
 3746: {
 3747: 
 3748:   ;
 3749:   return 0;
 3750: }
 3751: _ACEOF
 3752: if ac_fn_c_try_compile "$LINENO"; then :
 3753:   ac_cv_prog_cc_g=yes
 3754: else
 3755:   CFLAGS=""
 3756:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3757: /* end confdefs.h.  */
 3758: 
 3759: int
 3760: main ()
 3761: {
 3762: 
 3763:   ;
 3764:   return 0;
 3765: }
 3766: _ACEOF
 3767: if ac_fn_c_try_compile "$LINENO"; then :
 3768: 
 3769: else
 3770:   ac_c_werror_flag=$ac_save_c_werror_flag
 3771:      CFLAGS="-g"
 3772:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3773: /* end confdefs.h.  */
 3774: 
 3775: int
 3776: main ()
 3777: {
 3778: 
 3779:   ;
 3780:   return 0;
 3781: }
 3782: _ACEOF
 3783: if ac_fn_c_try_compile "$LINENO"; then :
 3784:   ac_cv_prog_cc_g=yes
 3785: fi
 3786: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3787: fi
 3788: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3789: fi
 3790: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3791:    ac_c_werror_flag=$ac_save_c_werror_flag
 3792: fi
 3793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3794: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3795: if test "$ac_test_CFLAGS" = set; then
 3796:   CFLAGS=$ac_save_CFLAGS
 3797: elif test $ac_cv_prog_cc_g = yes; then
 3798:   if test "$GCC" = yes; then
 3799:     CFLAGS="-g -O2"
 3800:   else
 3801:     CFLAGS="-g"
 3802:   fi
 3803: else
 3804:   if test "$GCC" = yes; then
 3805:     CFLAGS="-O2"
 3806:   else
 3807:     CFLAGS=
 3808:   fi
 3809: fi
 3810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3811: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3812: if test "${ac_cv_prog_cc_c89+set}" = set; then :
 3813:   $as_echo_n "(cached) " >&6
 3814: else
 3815:   ac_cv_prog_cc_c89=no
 3816: ac_save_CC=$CC
 3817: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3818: /* end confdefs.h.  */
 3819: #include <stdarg.h>
 3820: #include <stdio.h>
 3821: #include <sys/types.h>
 3822: #include <sys/stat.h>
 3823: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3824: struct buf { int x; };
 3825: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3826: static char *e (p, i)
 3827:      char **p;
 3828:      int i;
 3829: {
 3830:   return p[i];
 3831: }
 3832: static char *f (char * (*g) (char **, int), char **p, ...)
 3833: {
 3834:   char *s;
 3835:   va_list v;
 3836:   va_start (v,p);
 3837:   s = g (p, va_arg (v,int));
 3838:   va_end (v);
 3839:   return s;
 3840: }
 3841: 
 3842: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3843:    function prototypes and stuff, but not '\xHH' hex character constants.
 3844:    These don't provoke an error unfortunately, instead are silently treated
 3845:    as 'x'.  The following induces an error, until -std is added to get
 3846:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3847:    array size at least.  It's necessary to write '\x00'==0 to get something
 3848:    that's true only with -std.  */
 3849: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3850: 
 3851: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3852:    inside strings and character constants.  */
 3853: #define FOO(x) 'x'
 3854: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3855: 
 3856: int test (int i, double x);
 3857: struct s1 {int (*f) (int a);};
 3858: struct s2 {int (*f) (double a);};
 3859: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3860: int argc;
 3861: char **argv;
 3862: int
 3863: main ()
 3864: {
 3865: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3866:   ;
 3867:   return 0;
 3868: }
 3869: _ACEOF
 3870: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3871:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3872: do
 3873:   CC="$ac_save_CC $ac_arg"
 3874:   if ac_fn_c_try_compile "$LINENO"; then :
 3875:   ac_cv_prog_cc_c89=$ac_arg
 3876: fi
 3877: rm -f core conftest.err conftest.$ac_objext
 3878:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3879: done
 3880: rm -f conftest.$ac_ext
 3881: CC=$ac_save_CC
 3882: 
 3883: fi
 3884: # AC_CACHE_VAL
 3885: case "x$ac_cv_prog_cc_c89" in
 3886:   x)
 3887:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3888: $as_echo "none needed" >&6; } ;;
 3889:   xno)
 3890:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3891: $as_echo "unsupported" >&6; } ;;
 3892:   *)
 3893:     CC="$CC $ac_cv_prog_cc_c89"
 3894:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3895: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3896: esac
 3897: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3898: 
 3899: fi
 3900: 
 3901: ac_ext=c
 3902: ac_cpp='$CPP $CPPFLAGS'
 3903: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3904: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3905: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3906: DEPDIR="${am__leading_dot}deps"
 3907: 
 3908: ac_config_commands="$ac_config_commands depfiles"
 3909: 
 3910: 
 3911: am_make=${MAKE-make}
 3912: cat > confinc << 'END'
 3913: am__doit:
 3914:     @echo this is the am__doit target
 3915: .PHONY: am__doit
 3916: END
 3917: # If we don't find an include directive, just comment out the code.
 3918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3919: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3920: am__include="#"
 3921: am__quote=
 3922: _am_result=none
 3923: # First try GNU make style include.
 3924: echo "include confinc" > confmf
 3925: # Ignore all kinds of additional output from `make'.
 3926: case `$am_make -s -f confmf 2> /dev/null` in #(
 3927: *the\ am__doit\ target*)
 3928:   am__include=include
 3929:   am__quote=
 3930:   _am_result=GNU
 3931:   ;;
 3932: esac
 3933: # Now try BSD make style include.
 3934: if test "$am__include" = "#"; then
 3935:    echo '.include "confinc"' > confmf
 3936:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3937:    *the\ am__doit\ target*)
 3938:      am__include=.include
 3939:      am__quote="\""
 3940:      _am_result=BSD
 3941:      ;;
 3942:    esac
 3943: fi
 3944: 
 3945: 
 3946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3947: $as_echo "$_am_result" >&6; }
 3948: rm -f confinc confmf
 3949: 
 3950: # Check whether --enable-dependency-tracking was given.
 3951: if test "${enable_dependency_tracking+set}" = set; then :
 3952:   enableval=$enable_dependency_tracking;
 3953: fi
 3954: 
 3955: if test "x$enable_dependency_tracking" != xno; then
 3956:   am_depcomp="$ac_aux_dir/depcomp"
 3957:   AMDEPBACKSLASH='\'
 3958: fi
 3959:  if test "x$enable_dependency_tracking" != xno; then
 3960:   AMDEP_TRUE=
 3961:   AMDEP_FALSE='#'
 3962: else
 3963:   AMDEP_TRUE='#'
 3964:   AMDEP_FALSE=
 3965: fi
 3966: 
 3967: 
 3968: 
 3969: depcc="$CC"   am_compiler_list=
 3970: 
 3971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3972: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3973: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 3974:   $as_echo_n "(cached) " >&6
 3975: else
 3976:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3977:   # We make a subdir and do the tests there.  Otherwise we can end up
 3978:   # making bogus files that we don't know about and never remove.  For
 3979:   # instance it was reported that on HP-UX the gcc test will end up
 3980:   # making a dummy file named `D' -- because `-MD' means `put the output
 3981:   # in D'.
 3982:   mkdir conftest.dir
 3983:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3984:   # using a relative directory.
 3985:   cp "$am_depcomp" conftest.dir
 3986:   cd conftest.dir
 3987:   # We will build objects and dependencies in a subdirectory because
 3988:   # it helps to detect inapplicable dependency modes.  For instance
 3989:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3990:   # side effect of compilation, but ICC will put the dependencies in
 3991:   # the current directory while Tru64 will put them in the object
 3992:   # directory.
 3993:   mkdir sub
 3994: 
 3995:   am_cv_CC_dependencies_compiler_type=none
 3996:   if test "$am_compiler_list" = ""; then
 3997:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3998:   fi
 3999:   am__universal=false
 4000:   case " $depcc " in #(
 4001:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4002:      esac
 4003: 
 4004:   for depmode in $am_compiler_list; do
 4005:     # Setup a source with many dependencies, because some compilers
 4006:     # like to wrap large dependency lists on column 80 (with \), and
 4007:     # we should not choose a depcomp mode which is confused by this.
 4008:     #
 4009:     # We need to recreate these files for each test, as the compiler may
 4010:     # overwrite some of them when testing with obscure command lines.
 4011:     # This happens at least with the AIX C compiler.
 4012:     : > sub/conftest.c
 4013:     for i in 1 2 3 4 5 6; do
 4014:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4015:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4016:       # Solaris 8's {/usr,}/bin/sh.
 4017:       touch sub/conftst$i.h
 4018:     done
 4019:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4020: 
 4021:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4022:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4023:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4024:     # versions had trouble with output in subdirs
 4025:     am__obj=sub/conftest.${OBJEXT-o}
 4026:     am__minus_obj="-o $am__obj"
 4027:     case $depmode in
 4028:     gcc)
 4029:       # This depmode causes a compiler race in universal mode.
 4030:       test "$am__universal" = false || continue
 4031:       ;;
 4032:     nosideeffect)
 4033:       # after this tag, mechanisms are not by side-effect, so they'll
 4034:       # only be used when explicitly requested
 4035:       if test "x$enable_dependency_tracking" = xyes; then
 4036:     continue
 4037:       else
 4038:     break
 4039:       fi
 4040:       ;;
 4041:     msvisualcpp | msvcmsys)
 4042:       # This compiler won't grok `-c -o', but also, the minuso test has
 4043:       # not run yet.  These depmodes are late enough in the game, and
 4044:       # so weak that their functioning should not be impacted.
 4045:       am__obj=conftest.${OBJEXT-o}
 4046:       am__minus_obj=
 4047:       ;;
 4048:     none) break ;;
 4049:     esac
 4050:     if depmode=$depmode \
 4051:        source=sub/conftest.c object=$am__obj \
 4052:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4053:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4054:          >/dev/null 2>conftest.err &&
 4055:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4056:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4057:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4058:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4059:       # icc doesn't choke on unknown options, it will just issue warnings
 4060:       # or remarks (even with -Werror).  So we grep stderr for any message
 4061:       # that says an option was ignored or not supported.
 4062:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4063:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4064:       # The diagnosis changed in icc 8.0:
 4065:       #   icc: Command line remark: option '-MP' not supported
 4066:       if (grep 'ignoring option' conftest.err ||
 4067:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4068:         am_cv_CC_dependencies_compiler_type=$depmode
 4069:         break
 4070:       fi
 4071:     fi
 4072:   done
 4073: 
 4074:   cd ..
 4075:   rm -rf conftest.dir
 4076: else
 4077:   am_cv_CC_dependencies_compiler_type=none
 4078: fi
 4079: 
 4080: fi
 4081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4082: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4083: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4084: 
 4085:  if
 4086:   test "x$enable_dependency_tracking" != xno \
 4087:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4088:   am__fastdepCC_TRUE=
 4089:   am__fastdepCC_FALSE='#'
 4090: else
 4091:   am__fastdepCC_TRUE='#'
 4092:   am__fastdepCC_FALSE=
 4093: fi
 4094: 
 4095: 
 4096: 
 4097: EXT_SQL=
 4098: 
 4099: if test x"$CC" != x""; then
 4100:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4101:             awk -F. '{ printf("%s", $1);}'`
 4102:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4103:             awk -F. '{ printf("%s", $2);}'`
 4104:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4105:         OPTIMISATION_C=-O3
 4106:     else
 4107:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
 4108:                 then
 4109:             OPTIMISATION_C=-O3
 4110:         else
 4111:             if test $GCC_VERSION_MAJEURE -ge 2; then
 4112:                 OPTIMISATION_C=-O2
 4113:             else
 4114:                 as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
 4115:             fi
 4116:         fi
 4117:     fi
 4118: fi
 4119: 
 4120: if test "x$CC" != xcc; then
 4121:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4122: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4123: else
 4124:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4125: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4126: fi
 4127: set dummy $CC; ac_cc=`$as_echo "$2" |
 4128:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4129: if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 4130:   $as_echo_n "(cached) " >&6
 4131: else
 4132:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4133: /* end confdefs.h.  */
 4134: 
 4135: int
 4136: main ()
 4137: {
 4138: 
 4139:   ;
 4140:   return 0;
 4141: }
 4142: _ACEOF
 4143: # Make sure it works both with $CC and with simple cc.
 4144: # We do the test twice because some compilers refuse to overwrite an
 4145: # existing .o file with -o, though they will create one.
 4146: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4147: rm -f conftest2.*
 4148: if { { case "(($ac_try" in
 4149:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4150:   *) ac_try_echo=$ac_try;;
 4151: esac
 4152: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4153: $as_echo "$ac_try_echo"; } >&5
 4154:   (eval "$ac_try") 2>&5
 4155:   ac_status=$?
 4156:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4157:   test $ac_status = 0; } &&
 4158:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4159:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4160:   *) ac_try_echo=$ac_try;;
 4161: esac
 4162: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4163: $as_echo "$ac_try_echo"; } >&5
 4164:   (eval "$ac_try") 2>&5
 4165:   ac_status=$?
 4166:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4167:   test $ac_status = 0; };
 4168: then
 4169:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4170:   if test "x$CC" != xcc; then
 4171:     # Test first that cc exists at all.
 4172:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4173:   { { case "(($ac_try" in
 4174:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4175:   *) ac_try_echo=$ac_try;;
 4176: esac
 4177: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4178: $as_echo "$ac_try_echo"; } >&5
 4179:   (eval "$ac_try") 2>&5
 4180:   ac_status=$?
 4181:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4182:   test $ac_status = 0; }; }; then
 4183:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4184:       rm -f conftest2.*
 4185:       if { { case "(($ac_try" in
 4186:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4187:   *) ac_try_echo=$ac_try;;
 4188: esac
 4189: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4190: $as_echo "$ac_try_echo"; } >&5
 4191:   (eval "$ac_try") 2>&5
 4192:   ac_status=$?
 4193:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4194:   test $ac_status = 0; } &&
 4195:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4196:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4197:   *) ac_try_echo=$ac_try;;
 4198: esac
 4199: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4200: $as_echo "$ac_try_echo"; } >&5
 4201:   (eval "$ac_try") 2>&5
 4202:   ac_status=$?
 4203:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4204:   test $ac_status = 0; };
 4205:       then
 4206:     # cc works too.
 4207:     :
 4208:       else
 4209:     # cc exists but doesn't like -o.
 4210:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4211:       fi
 4212:     fi
 4213:   fi
 4214: else
 4215:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4216: fi
 4217: rm -f core conftest*
 4218: 
 4219: fi
 4220: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4222: $as_echo "yes" >&6; }
 4223: else
 4224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4225: $as_echo "no" >&6; }
 4226: 
 4227: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4228: 
 4229: fi
 4230: 
 4231: # FIXME: we rely on the cache variable name because
 4232: # there is no other way.
 4233: set dummy $CC
 4234: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4235: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4236: if test "$am_t" != yes; then
 4237:    # Losing compiler, so override with the script.
 4238:    # FIXME: It is wrong to rewrite CC.
 4239:    # But if we don't then we get into trouble of one sort or another.
 4240:    # A longer-term fix would be to have automake use am__CC in this case,
 4241:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4242:    CC="$am_aux_dir/compile $CC"
 4243: fi
 4244: 
 4245: 
 4246: 
 4247: if test "$GCC" != yes; then
 4248:     as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
 4249: fi
 4250: 
 4251: ac_ext=cpp
 4252: ac_cpp='$CXXCPP $CPPFLAGS'
 4253: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4254: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4255: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4256: if test -z "$CXX"; then
 4257:   if test -n "$CCC"; then
 4258:     CXX=$CCC
 4259:   else
 4260:     if test -n "$ac_tool_prefix"; then
 4261:   for ac_prog in g++
 4262:   do
 4263:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4264: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4265: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4266: $as_echo_n "checking for $ac_word... " >&6; }
 4267: if test "${ac_cv_prog_CXX+set}" = set; then :
 4268:   $as_echo_n "(cached) " >&6
 4269: else
 4270:   if test -n "$CXX"; then
 4271:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4272: else
 4273: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4274: for as_dir in $PATH
 4275: do
 4276:   IFS=$as_save_IFS
 4277:   test -z "$as_dir" && as_dir=.
 4278:     for ac_exec_ext in '' $ac_executable_extensions; do
 4279:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4280:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4281:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4282:     break 2
 4283:   fi
 4284: done
 4285:   done
 4286: IFS=$as_save_IFS
 4287: 
 4288: fi
 4289: fi
 4290: CXX=$ac_cv_prog_CXX
 4291: if test -n "$CXX"; then
 4292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4293: $as_echo "$CXX" >&6; }
 4294: else
 4295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4296: $as_echo "no" >&6; }
 4297: fi
 4298: 
 4299: 
 4300:     test -n "$CXX" && break
 4301:   done
 4302: fi
 4303: if test -z "$CXX"; then
 4304:   ac_ct_CXX=$CXX
 4305:   for ac_prog in g++
 4306: do
 4307:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4308: set dummy $ac_prog; ac_word=$2
 4309: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4310: $as_echo_n "checking for $ac_word... " >&6; }
 4311: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 4312:   $as_echo_n "(cached) " >&6
 4313: else
 4314:   if test -n "$ac_ct_CXX"; then
 4315:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4316: else
 4317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4318: for as_dir in $PATH
 4319: do
 4320:   IFS=$as_save_IFS
 4321:   test -z "$as_dir" && as_dir=.
 4322:     for ac_exec_ext in '' $ac_executable_extensions; do
 4323:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4324:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4325:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4326:     break 2
 4327:   fi
 4328: done
 4329:   done
 4330: IFS=$as_save_IFS
 4331: 
 4332: fi
 4333: fi
 4334: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4335: if test -n "$ac_ct_CXX"; then
 4336:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4337: $as_echo "$ac_ct_CXX" >&6; }
 4338: else
 4339:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4340: $as_echo "no" >&6; }
 4341: fi
 4342: 
 4343: 
 4344:   test -n "$ac_ct_CXX" && break
 4345: done
 4346: 
 4347:   if test "x$ac_ct_CXX" = x; then
 4348:     CXX="g++"
 4349:   else
 4350:     case $cross_compiling:$ac_tool_warned in
 4351: yes:)
 4352: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4353: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4354: ac_tool_warned=yes ;;
 4355: esac
 4356:     CXX=$ac_ct_CXX
 4357:   fi
 4358: fi
 4359: 
 4360:   fi
 4361: fi
 4362: # Provide some information about the compiler.
 4363: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4364: set X $ac_compile
 4365: ac_compiler=$2
 4366: for ac_option in --version -v -V -qversion; do
 4367:   { { ac_try="$ac_compiler $ac_option >&5"
 4368: case "(($ac_try" in
 4369:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4370:   *) ac_try_echo=$ac_try;;
 4371: esac
 4372: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4373: $as_echo "$ac_try_echo"; } >&5
 4374:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4375:   ac_status=$?
 4376:   if test -s conftest.err; then
 4377:     sed '10a\
 4378: ... rest of stderr output deleted ...
 4379:          10q' conftest.err >conftest.er1
 4380:     cat conftest.er1 >&5
 4381:   fi
 4382:   rm -f conftest.er1 conftest.err
 4383:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4384:   test $ac_status = 0; }
 4385: done
 4386: 
 4387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4388: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4389: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 4390:   $as_echo_n "(cached) " >&6
 4391: else
 4392:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4393: /* end confdefs.h.  */
 4394: 
 4395: int
 4396: main ()
 4397: {
 4398: #ifndef __GNUC__
 4399:        choke me
 4400: #endif
 4401: 
 4402:   ;
 4403:   return 0;
 4404: }
 4405: _ACEOF
 4406: if ac_fn_cxx_try_compile "$LINENO"; then :
 4407:   ac_compiler_gnu=yes
 4408: else
 4409:   ac_compiler_gnu=no
 4410: fi
 4411: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4412: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4413: 
 4414: fi
 4415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4416: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4417: if test $ac_compiler_gnu = yes; then
 4418:   GXX=yes
 4419: else
 4420:   GXX=
 4421: fi
 4422: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4423: ac_save_CXXFLAGS=$CXXFLAGS
 4424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4425: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4426: if test "${ac_cv_prog_cxx_g+set}" = set; then :
 4427:   $as_echo_n "(cached) " >&6
 4428: else
 4429:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4430:    ac_cxx_werror_flag=yes
 4431:    ac_cv_prog_cxx_g=no
 4432:    CXXFLAGS="-g"
 4433:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4434: /* end confdefs.h.  */
 4435: 
 4436: int
 4437: main ()
 4438: {
 4439: 
 4440:   ;
 4441:   return 0;
 4442: }
 4443: _ACEOF
 4444: if ac_fn_cxx_try_compile "$LINENO"; then :
 4445:   ac_cv_prog_cxx_g=yes
 4446: else
 4447:   CXXFLAGS=""
 4448:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4449: /* end confdefs.h.  */
 4450: 
 4451: int
 4452: main ()
 4453: {
 4454: 
 4455:   ;
 4456:   return 0;
 4457: }
 4458: _ACEOF
 4459: if ac_fn_cxx_try_compile "$LINENO"; then :
 4460: 
 4461: else
 4462:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4463:      CXXFLAGS="-g"
 4464:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4465: /* end confdefs.h.  */
 4466: 
 4467: int
 4468: main ()
 4469: {
 4470: 
 4471:   ;
 4472:   return 0;
 4473: }
 4474: _ACEOF
 4475: if ac_fn_cxx_try_compile "$LINENO"; then :
 4476:   ac_cv_prog_cxx_g=yes
 4477: fi
 4478: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4479: fi
 4480: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4481: fi
 4482: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4483:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4484: fi
 4485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4486: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4487: if test "$ac_test_CXXFLAGS" = set; then
 4488:   CXXFLAGS=$ac_save_CXXFLAGS
 4489: elif test $ac_cv_prog_cxx_g = yes; then
 4490:   if test "$GXX" = yes; then
 4491:     CXXFLAGS="-g -O2"
 4492:   else
 4493:     CXXFLAGS="-g"
 4494:   fi
 4495: else
 4496:   if test "$GXX" = yes; then
 4497:     CXXFLAGS="-O2"
 4498:   else
 4499:     CXXFLAGS=
 4500:   fi
 4501: fi
 4502: ac_ext=c
 4503: ac_cpp='$CPP $CPPFLAGS'
 4504: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4505: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4506: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4507: 
 4508: depcc="$CXX"  am_compiler_list=
 4509: 
 4510: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4511: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4512: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 4513:   $as_echo_n "(cached) " >&6
 4514: else
 4515:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4516:   # We make a subdir and do the tests there.  Otherwise we can end up
 4517:   # making bogus files that we don't know about and never remove.  For
 4518:   # instance it was reported that on HP-UX the gcc test will end up
 4519:   # making a dummy file named `D' -- because `-MD' means `put the output
 4520:   # in D'.
 4521:   mkdir conftest.dir
 4522:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4523:   # using a relative directory.
 4524:   cp "$am_depcomp" conftest.dir
 4525:   cd conftest.dir
 4526:   # We will build objects and dependencies in a subdirectory because
 4527:   # it helps to detect inapplicable dependency modes.  For instance
 4528:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4529:   # side effect of compilation, but ICC will put the dependencies in
 4530:   # the current directory while Tru64 will put them in the object
 4531:   # directory.
 4532:   mkdir sub
 4533: 
 4534:   am_cv_CXX_dependencies_compiler_type=none
 4535:   if test "$am_compiler_list" = ""; then
 4536:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4537:   fi
 4538:   am__universal=false
 4539:   case " $depcc " in #(
 4540:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4541:      esac
 4542: 
 4543:   for depmode in $am_compiler_list; do
 4544:     # Setup a source with many dependencies, because some compilers
 4545:     # like to wrap large dependency lists on column 80 (with \), and
 4546:     # we should not choose a depcomp mode which is confused by this.
 4547:     #
 4548:     # We need to recreate these files for each test, as the compiler may
 4549:     # overwrite some of them when testing with obscure command lines.
 4550:     # This happens at least with the AIX C compiler.
 4551:     : > sub/conftest.c
 4552:     for i in 1 2 3 4 5 6; do
 4553:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4554:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4555:       # Solaris 8's {/usr,}/bin/sh.
 4556:       touch sub/conftst$i.h
 4557:     done
 4558:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4559: 
 4560:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4561:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4562:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4563:     # versions had trouble with output in subdirs
 4564:     am__obj=sub/conftest.${OBJEXT-o}
 4565:     am__minus_obj="-o $am__obj"
 4566:     case $depmode in
 4567:     gcc)
 4568:       # This depmode causes a compiler race in universal mode.
 4569:       test "$am__universal" = false || continue
 4570:       ;;
 4571:     nosideeffect)
 4572:       # after this tag, mechanisms are not by side-effect, so they'll
 4573:       # only be used when explicitly requested
 4574:       if test "x$enable_dependency_tracking" = xyes; then
 4575:     continue
 4576:       else
 4577:     break
 4578:       fi
 4579:       ;;
 4580:     msvisualcpp | msvcmsys)
 4581:       # This compiler won't grok `-c -o', but also, the minuso test has
 4582:       # not run yet.  These depmodes are late enough in the game, and
 4583:       # so weak that their functioning should not be impacted.
 4584:       am__obj=conftest.${OBJEXT-o}
 4585:       am__minus_obj=
 4586:       ;;
 4587:     none) break ;;
 4588:     esac
 4589:     if depmode=$depmode \
 4590:        source=sub/conftest.c object=$am__obj \
 4591:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4592:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4593:          >/dev/null 2>conftest.err &&
 4594:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4595:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4596:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4597:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4598:       # icc doesn't choke on unknown options, it will just issue warnings
 4599:       # or remarks (even with -Werror).  So we grep stderr for any message
 4600:       # that says an option was ignored or not supported.
 4601:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4602:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4603:       # The diagnosis changed in icc 8.0:
 4604:       #   icc: Command line remark: option '-MP' not supported
 4605:       if (grep 'ignoring option' conftest.err ||
 4606:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4607:         am_cv_CXX_dependencies_compiler_type=$depmode
 4608:         break
 4609:       fi
 4610:     fi
 4611:   done
 4612: 
 4613:   cd ..
 4614:   rm -rf conftest.dir
 4615: else
 4616:   am_cv_CXX_dependencies_compiler_type=none
 4617: fi
 4618: 
 4619: fi
 4620: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4621: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4622: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4623: 
 4624:  if
 4625:   test "x$enable_dependency_tracking" != xno \
 4626:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4627:   am__fastdepCXX_TRUE=
 4628:   am__fastdepCXX_FALSE='#'
 4629: else
 4630:   am__fastdepCXX_TRUE='#'
 4631:   am__fastdepCXX_FALSE=
 4632: fi
 4633: 
 4634: 
 4635: 
 4636: if test "$GXX" != yes; then
 4637:     as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
 4638: fi
 4639: 
 4640: if test x"$CXX" != x""; then
 4641:     GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4642:             awk -F. '{ printf("%s", $1);}'`
 4643:     GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4644:             awk -F. '{ printf("%s", $2);}'`
 4645:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4646:         OPTIMISATION_GXX=-O3
 4647:     else
 4648:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 4649:             OPTIMISATION_GXX=-O3
 4650:         else
 4651:             if test $GCC_VERSION_MAJEURE -ge 3; then
 4652:                 OPTIMISATION_GXX=-O2
 4653:             else
 4654:                 as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5
 4655:             fi
 4656:         fi
 4657:     fi
 4658: fi
 4659: 
 4660: ac_ext=f
 4661: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4662: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4663: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4664: if test -n "$ac_tool_prefix"; then
 4665:   for ac_prog in gfortran
 4666:   do
 4667:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4668: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4669: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4670: $as_echo_n "checking for $ac_word... " >&6; }
 4671: if test "${ac_cv_prog_F77+set}" = set; then :
 4672:   $as_echo_n "(cached) " >&6
 4673: else
 4674:   if test -n "$F77"; then
 4675:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4676: else
 4677: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4678: for as_dir in $PATH
 4679: do
 4680:   IFS=$as_save_IFS
 4681:   test -z "$as_dir" && as_dir=.
 4682:     for ac_exec_ext in '' $ac_executable_extensions; do
 4683:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4684:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4685:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4686:     break 2
 4687:   fi
 4688: done
 4689:   done
 4690: IFS=$as_save_IFS
 4691: 
 4692: fi
 4693: fi
 4694: F77=$ac_cv_prog_F77
 4695: if test -n "$F77"; then
 4696:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4697: $as_echo "$F77" >&6; }
 4698: else
 4699:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4700: $as_echo "no" >&6; }
 4701: fi
 4702: 
 4703: 
 4704:     test -n "$F77" && break
 4705:   done
 4706: fi
 4707: if test -z "$F77"; then
 4708:   ac_ct_F77=$F77
 4709:   for ac_prog in gfortran
 4710: do
 4711:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4712: set dummy $ac_prog; ac_word=$2
 4713: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4714: $as_echo_n "checking for $ac_word... " >&6; }
 4715: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
 4716:   $as_echo_n "(cached) " >&6
 4717: else
 4718:   if test -n "$ac_ct_F77"; then
 4719:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4720: else
 4721: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4722: for as_dir in $PATH
 4723: do
 4724:   IFS=$as_save_IFS
 4725:   test -z "$as_dir" && as_dir=.
 4726:     for ac_exec_ext in '' $ac_executable_extensions; do
 4727:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4728:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4729:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4730:     break 2
 4731:   fi
 4732: done
 4733:   done
 4734: IFS=$as_save_IFS
 4735: 
 4736: fi
 4737: fi
 4738: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4739: if test -n "$ac_ct_F77"; then
 4740:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4741: $as_echo "$ac_ct_F77" >&6; }
 4742: else
 4743:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4744: $as_echo "no" >&6; }
 4745: fi
 4746: 
 4747: 
 4748:   test -n "$ac_ct_F77" && break
 4749: done
 4750: 
 4751:   if test "x$ac_ct_F77" = x; then
 4752:     F77=""
 4753:   else
 4754:     case $cross_compiling:$ac_tool_warned in
 4755: yes:)
 4756: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4757: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4758: ac_tool_warned=yes ;;
 4759: esac
 4760:     F77=$ac_ct_F77
 4761:   fi
 4762: fi
 4763: 
 4764: 
 4765: # Provide some information about the compiler.
 4766: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4767: set X $ac_compile
 4768: ac_compiler=$2
 4769: for ac_option in --version -v -V -qversion; do
 4770:   { { ac_try="$ac_compiler $ac_option >&5"
 4771: case "(($ac_try" in
 4772:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4773:   *) ac_try_echo=$ac_try;;
 4774: esac
 4775: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4776: $as_echo "$ac_try_echo"; } >&5
 4777:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4778:   ac_status=$?
 4779:   if test -s conftest.err; then
 4780:     sed '10a\
 4781: ... rest of stderr output deleted ...
 4782:          10q' conftest.err >conftest.er1
 4783:     cat conftest.er1 >&5
 4784:   fi
 4785:   rm -f conftest.er1 conftest.err
 4786:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4787:   test $ac_status = 0; }
 4788: done
 4789: rm -f a.out
 4790: 
 4791: # If we don't use `.F' as extension, the preprocessor is not run on the
 4792: # input file.  (Note that this only needs to work for GNU compilers.)
 4793: ac_save_ext=$ac_ext
 4794: ac_ext=F
 4795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4796: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4797: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
 4798:   $as_echo_n "(cached) " >&6
 4799: else
 4800:   cat > conftest.$ac_ext <<_ACEOF
 4801:       program main
 4802: #ifndef __GNUC__
 4803:        choke me
 4804: #endif
 4805: 
 4806:       end
 4807: _ACEOF
 4808: if ac_fn_f77_try_compile "$LINENO"; then :
 4809:   ac_compiler_gnu=yes
 4810: else
 4811:   ac_compiler_gnu=no
 4812: fi
 4813: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4814: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4815: 
 4816: fi
 4817: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4818: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4819: ac_ext=$ac_save_ext
 4820: ac_test_FFLAGS=${FFLAGS+set}
 4821: ac_save_FFLAGS=$FFLAGS
 4822: FFLAGS=
 4823: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4824: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4825: if test "${ac_cv_prog_f77_g+set}" = set; then :
 4826:   $as_echo_n "(cached) " >&6
 4827: else
 4828:   FFLAGS=-g
 4829: cat > conftest.$ac_ext <<_ACEOF
 4830:       program main
 4831: 
 4832:       end
 4833: _ACEOF
 4834: if ac_fn_f77_try_compile "$LINENO"; then :
 4835:   ac_cv_prog_f77_g=yes
 4836: else
 4837:   ac_cv_prog_f77_g=no
 4838: fi
 4839: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4840: 
 4841: fi
 4842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4843: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4844: if test "$ac_test_FFLAGS" = set; then
 4845:   FFLAGS=$ac_save_FFLAGS
 4846: elif test $ac_cv_prog_f77_g = yes; then
 4847:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4848:     FFLAGS="-g -O2"
 4849:   else
 4850:     FFLAGS="-g"
 4851:   fi
 4852: else
 4853:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4854:     FFLAGS="-O2"
 4855:   else
 4856:     FFLAGS=
 4857:   fi
 4858: fi
 4859: 
 4860: if test $ac_compiler_gnu = yes; then
 4861:   G77=yes
 4862: else
 4863:   G77=
 4864: fi
 4865: ac_ext=c
 4866: ac_cpp='$CPP $CPPFLAGS'
 4867: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4868: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4869: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4870: 
 4871: 
 4872: ac_ext=${ac_fc_srcext-f}
 4873: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4874: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4875: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4876: if test -n "$ac_tool_prefix"; then
 4877:   for ac_prog in gfortran
 4878:   do
 4879:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4880: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4881: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4882: $as_echo_n "checking for $ac_word... " >&6; }
 4883: if test "${ac_cv_prog_FC+set}" = set; then :
 4884:   $as_echo_n "(cached) " >&6
 4885: else
 4886:   if test -n "$FC"; then
 4887:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4888: else
 4889: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4890: for as_dir in $PATH
 4891: do
 4892:   IFS=$as_save_IFS
 4893:   test -z "$as_dir" && as_dir=.
 4894:     for ac_exec_ext in '' $ac_executable_extensions; do
 4895:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4896:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4897:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4898:     break 2
 4899:   fi
 4900: done
 4901:   done
 4902: IFS=$as_save_IFS
 4903: 
 4904: fi
 4905: fi
 4906: FC=$ac_cv_prog_FC
 4907: if test -n "$FC"; then
 4908:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4909: $as_echo "$FC" >&6; }
 4910: else
 4911:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4912: $as_echo "no" >&6; }
 4913: fi
 4914: 
 4915: 
 4916:     test -n "$FC" && break
 4917:   done
 4918: fi
 4919: if test -z "$FC"; then
 4920:   ac_ct_FC=$FC
 4921:   for ac_prog in gfortran
 4922: do
 4923:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4924: set dummy $ac_prog; ac_word=$2
 4925: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4926: $as_echo_n "checking for $ac_word... " >&6; }
 4927: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
 4928:   $as_echo_n "(cached) " >&6
 4929: else
 4930:   if test -n "$ac_ct_FC"; then
 4931:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4932: else
 4933: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4934: for as_dir in $PATH
 4935: do
 4936:   IFS=$as_save_IFS
 4937:   test -z "$as_dir" && as_dir=.
 4938:     for ac_exec_ext in '' $ac_executable_extensions; do
 4939:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4940:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4941:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4942:     break 2
 4943:   fi
 4944: done
 4945:   done
 4946: IFS=$as_save_IFS
 4947: 
 4948: fi
 4949: fi
 4950: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4951: if test -n "$ac_ct_FC"; then
 4952:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4953: $as_echo "$ac_ct_FC" >&6; }
 4954: else
 4955:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4956: $as_echo "no" >&6; }
 4957: fi
 4958: 
 4959: 
 4960:   test -n "$ac_ct_FC" && break
 4961: done
 4962: 
 4963:   if test "x$ac_ct_FC" = x; then
 4964:     FC=""
 4965:   else
 4966:     case $cross_compiling:$ac_tool_warned in
 4967: yes:)
 4968: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4969: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4970: ac_tool_warned=yes ;;
 4971: esac
 4972:     FC=$ac_ct_FC
 4973:   fi
 4974: fi
 4975: 
 4976: 
 4977: # Provide some information about the compiler.
 4978: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4979: set X $ac_compile
 4980: ac_compiler=$2
 4981: for ac_option in --version -v -V -qversion; do
 4982:   { { ac_try="$ac_compiler $ac_option >&5"
 4983: case "(($ac_try" in
 4984:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4985:   *) ac_try_echo=$ac_try;;
 4986: esac
 4987: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4988: $as_echo "$ac_try_echo"; } >&5
 4989:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4990:   ac_status=$?
 4991:   if test -s conftest.err; then
 4992:     sed '10a\
 4993: ... rest of stderr output deleted ...
 4994:          10q' conftest.err >conftest.er1
 4995:     cat conftest.er1 >&5
 4996:   fi
 4997:   rm -f conftest.er1 conftest.err
 4998:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4999:   test $ac_status = 0; }
 5000: done
 5001: rm -f a.out
 5002: 
 5003: # If we don't use `.F' as extension, the preprocessor is not run on the
 5004: # input file.  (Note that this only needs to work for GNU compilers.)
 5005: ac_save_ext=$ac_ext
 5006: ac_ext=F
 5007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 5008: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 5009: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
 5010:   $as_echo_n "(cached) " >&6
 5011: else
 5012:   cat > conftest.$ac_ext <<_ACEOF
 5013:       program main
 5014: #ifndef __GNUC__
 5015:        choke me
 5016: #endif
 5017: 
 5018:       end
 5019: _ACEOF
 5020: if ac_fn_fc_try_compile "$LINENO"; then :
 5021:   ac_compiler_gnu=yes
 5022: else
 5023:   ac_compiler_gnu=no
 5024: fi
 5025: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5026: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 5027: 
 5028: fi
 5029: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 5030: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 5031: ac_ext=$ac_save_ext
 5032: ac_test_FCFLAGS=${FCFLAGS+set}
 5033: ac_save_FCFLAGS=$FCFLAGS
 5034: FCFLAGS=
 5035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 5036: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 5037: if test "${ac_cv_prog_fc_g+set}" = set; then :
 5038:   $as_echo_n "(cached) " >&6
 5039: else
 5040:   FCFLAGS=-g
 5041: cat > conftest.$ac_ext <<_ACEOF
 5042:       program main
 5043: 
 5044:       end
 5045: _ACEOF
 5046: if ac_fn_fc_try_compile "$LINENO"; then :
 5047:   ac_cv_prog_fc_g=yes
 5048: else
 5049:   ac_cv_prog_fc_g=no
 5050: fi
 5051: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5052: 
 5053: fi
 5054: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 5055: $as_echo "$ac_cv_prog_fc_g" >&6; }
 5056: if test "$ac_test_FCFLAGS" = set; then
 5057:   FCFLAGS=$ac_save_FCFLAGS
 5058: elif test $ac_cv_prog_fc_g = yes; then
 5059:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 5060:     FCFLAGS="-g -O2"
 5061:   else
 5062:     FCFLAGS="-g"
 5063:   fi
 5064: else
 5065:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 5066:     FCFLAGS="-O2"
 5067:   else
 5068:     FCFLAGS=
 5069:   fi
 5070: fi
 5071: 
 5072: ac_ext=c
 5073: ac_cpp='$CPP $CPPFLAGS'
 5074: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5075: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5076: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5077: 
 5078: 
 5079: if test x"$F77" == x; then
 5080:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 5081: fi
 5082: 
 5083: if test x"$FC" == x; then
 5084:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 5085: fi
 5086: 
 5087: if test x"$FC" != x""; then
 5088:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5089:             awk -F. '{ printf("%s", $1);}'`
 5090:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5091:             awk -F. '{ printf("%s", $2);}'`
 5092:     if test $GCC_VERSION_MAJEURE -ge 5; then
 5093:         OPTIMISATION_F=-O3
 5094:     else
 5095:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 5096:             OPTIMISATION_F=-O3
 5097:         else
 5098:             if test $GCC_VERSION_MAJEURE -ge 3; then
 5099:                 OPTIMISATION_F=-O2
 5100:             else
 5101:                 as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
 5102:             fi
 5103:         fi
 5104:     fi
 5105: fi
 5106: 
 5107: 
 5108: ac_ext=c
 5109: ac_cpp='$CPP $CPPFLAGS'
 5110: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5111: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5112: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5114: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5115: # On Suns, sometimes $CPP names a directory.
 5116: if test -n "$CPP" && test -d "$CPP"; then
 5117:   CPP=
 5118: fi
 5119: if test -z "$CPP"; then
 5120:   if test "${ac_cv_prog_CPP+set}" = set; then :
 5121:   $as_echo_n "(cached) " >&6
 5122: else
 5123:       # Double quotes because CPP needs to be expanded
 5124:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5125:     do
 5126:       ac_preproc_ok=false
 5127: for ac_c_preproc_warn_flag in '' yes
 5128: do
 5129:   # Use a header file that comes with gcc, so configuring glibc
 5130:   # with a fresh cross-compiler works.
 5131:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5132:   # <limits.h> exists even on freestanding compilers.
 5133:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5134:   # not just through cpp. "Syntax error" is here to catch this case.
 5135:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5136: /* end confdefs.h.  */
 5137: #ifdef __STDC__
 5138: # include <limits.h>
 5139: #else
 5140: # include <assert.h>
 5141: #endif
 5142:              Syntax error
 5143: _ACEOF
 5144: if ac_fn_c_try_cpp "$LINENO"; then :
 5145: 
 5146: else
 5147:   # Broken: fails on valid input.
 5148: continue
 5149: fi
 5150: rm -f conftest.err conftest.i conftest.$ac_ext
 5151: 
 5152:   # OK, works on sane cases.  Now check whether nonexistent headers
 5153:   # can be detected and how.
 5154:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5155: /* end confdefs.h.  */
 5156: #include <ac_nonexistent.h>
 5157: _ACEOF
 5158: if ac_fn_c_try_cpp "$LINENO"; then :
 5159:   # Broken: success on invalid input.
 5160: continue
 5161: else
 5162:   # Passes both tests.
 5163: ac_preproc_ok=:
 5164: break
 5165: fi
 5166: rm -f conftest.err conftest.i conftest.$ac_ext
 5167: 
 5168: done
 5169: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5170: rm -f conftest.i conftest.err conftest.$ac_ext
 5171: if $ac_preproc_ok; then :
 5172:   break
 5173: fi
 5174: 
 5175:     done
 5176:     ac_cv_prog_CPP=$CPP
 5177: 
 5178: fi
 5179:   CPP=$ac_cv_prog_CPP
 5180: else
 5181:   ac_cv_prog_CPP=$CPP
 5182: fi
 5183: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5184: $as_echo "$CPP" >&6; }
 5185: ac_preproc_ok=false
 5186: for ac_c_preproc_warn_flag in '' yes
 5187: do
 5188:   # Use a header file that comes with gcc, so configuring glibc
 5189:   # with a fresh cross-compiler works.
 5190:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5191:   # <limits.h> exists even on freestanding compilers.
 5192:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5193:   # not just through cpp. "Syntax error" is here to catch this case.
 5194:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5195: /* end confdefs.h.  */
 5196: #ifdef __STDC__
 5197: # include <limits.h>
 5198: #else
 5199: # include <assert.h>
 5200: #endif
 5201:              Syntax error
 5202: _ACEOF
 5203: if ac_fn_c_try_cpp "$LINENO"; then :
 5204: 
 5205: else
 5206:   # Broken: fails on valid input.
 5207: continue
 5208: fi
 5209: rm -f conftest.err conftest.i conftest.$ac_ext
 5210: 
 5211:   # OK, works on sane cases.  Now check whether nonexistent headers
 5212:   # can be detected and how.
 5213:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5214: /* end confdefs.h.  */
 5215: #include <ac_nonexistent.h>
 5216: _ACEOF
 5217: if ac_fn_c_try_cpp "$LINENO"; then :
 5218:   # Broken: success on invalid input.
 5219: continue
 5220: else
 5221:   # Passes both tests.
 5222: ac_preproc_ok=:
 5223: break
 5224: fi
 5225: rm -f conftest.err conftest.i conftest.$ac_ext
 5226: 
 5227: done
 5228: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5229: rm -f conftest.i conftest.err conftest.$ac_ext
 5230: if $ac_preproc_ok; then :
 5231: 
 5232: else
 5233:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5234: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5235: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5236: See \`config.log' for more details" "$LINENO" 5 ; }
 5237: fi
 5238: 
 5239: ac_ext=c
 5240: ac_cpp='$CPP $CPPFLAGS'
 5241: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5242: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5243: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5244: 
 5245: 
 5246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5247: $as_echo_n "checking for X... " >&6; }
 5248: 
 5249: 
 5250: # Check whether --with-x was given.
 5251: if test "${with_x+set}" = set; then :
 5252:   withval=$with_x;
 5253: fi
 5254: 
 5255: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5256: if test "x$with_x" = xno; then
 5257:   # The user explicitly disabled X.
 5258:   have_x=disabled
 5259: else
 5260:   case $x_includes,$x_libraries in #(
 5261:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
 5262:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 5263:   $as_echo_n "(cached) " >&6
 5264: else
 5265:   # One or both of the vars are not set, and there is no cached value.
 5266: ac_x_includes=no ac_x_libraries=no
 5267: rm -f -r conftest.dir
 5268: if mkdir conftest.dir; then
 5269:   cd conftest.dir
 5270:   cat >Imakefile <<'_ACEOF'
 5271: incroot:
 5272:     @echo incroot='${INCROOT}'
 5273: usrlibdir:
 5274:     @echo usrlibdir='${USRLIBDIR}'
 5275: libdir:
 5276:     @echo libdir='${LIBDIR}'
 5277: _ACEOF
 5278:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5279:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 5280:     for ac_var in incroot usrlibdir libdir; do
 5281:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5282:     done
 5283:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5284:     for ac_extension in a so sl dylib la dll; do
 5285:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5286:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5287:     ac_im_usrlibdir=$ac_im_libdir; break
 5288:       fi
 5289:     done
 5290:     # Screen out bogus values from the imake configuration.  They are
 5291:     # bogus both because they are the default anyway, and because
 5292:     # using them would break gcc on systems where it needs fixed includes.
 5293:     case $ac_im_incroot in
 5294:     /usr/include) ac_x_includes= ;;
 5295:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5296:     esac
 5297:     case $ac_im_usrlibdir in
 5298:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5299:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5300:     esac
 5301:   fi
 5302:   cd ..
 5303:   rm -f -r conftest.dir
 5304: fi
 5305: 
 5306: # Standard set of common directories for X headers.
 5307: # Check X11 before X11Rn because it is often a symlink to the current release.
 5308: ac_x_header_dirs='
 5309: /usr/X11/include
 5310: /usr/X11R7/include
 5311: /usr/X11R6/include
 5312: /usr/X11R5/include
 5313: /usr/X11R4/include
 5314: 
 5315: /usr/include/X11
 5316: /usr/include/X11R7
 5317: /usr/include/X11R6
 5318: /usr/include/X11R5
 5319: /usr/include/X11R4
 5320: 
 5321: /usr/local/X11/include
 5322: /usr/local/X11R7/include
 5323: /usr/local/X11R6/include
 5324: /usr/local/X11R5/include
 5325: /usr/local/X11R4/include
 5326: 
 5327: /usr/local/include/X11
 5328: /usr/local/include/X11R7
 5329: /usr/local/include/X11R6
 5330: /usr/local/include/X11R5
 5331: /usr/local/include/X11R4
 5332: 
 5333: /usr/X386/include
 5334: /usr/x386/include
 5335: /usr/XFree86/include/X11
 5336: 
 5337: /usr/include
 5338: /usr/local/include
 5339: /usr/unsupported/include
 5340: /usr/athena/include
 5341: /usr/local/x11r5/include
 5342: /usr/lpp/Xamples/include
 5343: 
 5344: /usr/openwin/include
 5345: /usr/openwin/share/include'
 5346: 
 5347: if test "$ac_x_includes" = no; then
 5348:   # Guess where to find include files, by looking for Xlib.h.
 5349:   # First, try using that file with no special directory specified.
 5350:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5351: /* end confdefs.h.  */
 5352: #include <X11/Xlib.h>
 5353: _ACEOF
 5354: if ac_fn_c_try_cpp "$LINENO"; then :
 5355:   # We can compile using X headers with no special include directory.
 5356: ac_x_includes=
 5357: else
 5358:   for ac_dir in $ac_x_header_dirs; do
 5359:   if test -r "$ac_dir/X11/Xlib.h"; then
 5360:     ac_x_includes=$ac_dir
 5361:     break
 5362:   fi
 5363: done
 5364: fi
 5365: rm -f conftest.err conftest.i conftest.$ac_ext
 5366: fi # $ac_x_includes = no
 5367: 
 5368: if test "$ac_x_libraries" = no; then
 5369:   # Check for the libraries.
 5370:   # See if we find them without any special options.
 5371:   # Don't add to $LIBS permanently.
 5372:   ac_save_LIBS=$LIBS
 5373:   LIBS="-lX11 $LIBS"
 5374:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5375: /* end confdefs.h.  */
 5376: #include <X11/Xlib.h>
 5377: int
 5378: main ()
 5379: {
 5380: XrmInitialize ()
 5381:   ;
 5382:   return 0;
 5383: }
 5384: _ACEOF
 5385: if ac_fn_c_try_link "$LINENO"; then :
 5386:   LIBS=$ac_save_LIBS
 5387: # We can link X programs with no special library path.
 5388: ac_x_libraries=
 5389: else
 5390:   LIBS=$ac_save_LIBS
 5391: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5392: do
 5393:   # Don't even attempt the hair of trying to link an X program!
 5394:   for ac_extension in a so sl dylib la dll; do
 5395:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5396:       ac_x_libraries=$ac_dir
 5397:       break 2
 5398:     fi
 5399:   done
 5400: done
 5401: fi
 5402: rm -f core conftest.err conftest.$ac_objext \
 5403:     conftest$ac_exeext conftest.$ac_ext
 5404: fi # $ac_x_libraries = no
 5405: 
 5406: case $ac_x_includes,$ac_x_libraries in #(
 5407:   no,* | *,no | *\'*)
 5408:     # Didn't find X, or a directory has "'" in its name.
 5409:     ac_cv_have_x="have_x=no";; #(
 5410:   *)
 5411:     # Record where we found X for the cache.
 5412:     ac_cv_have_x="have_x=yes\
 5413:     ac_x_includes='$ac_x_includes'\
 5414:     ac_x_libraries='$ac_x_libraries'"
 5415: esac
 5416: fi
 5417: ;; #(
 5418:     *) have_x=yes;;
 5419:   esac
 5420:   eval "$ac_cv_have_x"
 5421: fi # $with_x != no
 5422: 
 5423: if test "$have_x" != yes; then
 5424:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5425: $as_echo "$have_x" >&6; }
 5426:   no_x=yes
 5427: else
 5428:   # If each of the values was on the command line, it overrides each guess.
 5429:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5430:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5431:   # Update the cache value to reflect the command line values.
 5432:   ac_cv_have_x="have_x=yes\
 5433:     ac_x_includes='$x_includes'\
 5434:     ac_x_libraries='$x_libraries'"
 5435:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5436: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5437: fi
 5438: 
 5439: if test "$no_x" = yes; then
 5440:   # Not all programs may use this symbol, but it does not hurt to define it.
 5441: 
 5442: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5443: 
 5444:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5445: else
 5446:   if test -n "$x_includes"; then
 5447:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5448:   fi
 5449: 
 5450:   # It would also be nice to do this for all -L options, not just this one.
 5451:   if test -n "$x_libraries"; then
 5452:     X_LIBS="$X_LIBS -L$x_libraries"
 5453:     # For Solaris; some versions of Sun CC require a space after -R and
 5454:     # others require no space.  Words are not sufficient . . . .
 5455:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5456: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5457:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5458:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5459:     ac_c_werror_flag=yes
 5460:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5461: /* end confdefs.h.  */
 5462: 
 5463: int
 5464: main ()
 5465: {
 5466: 
 5467:   ;
 5468:   return 0;
 5469: }
 5470: _ACEOF
 5471: if ac_fn_c_try_link "$LINENO"; then :
 5472:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5473: $as_echo "no" >&6; }
 5474:        X_LIBS="$X_LIBS -R$x_libraries"
 5475: else
 5476:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5477:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5478: /* end confdefs.h.  */
 5479: 
 5480: int
 5481: main ()
 5482: {
 5483: 
 5484:   ;
 5485:   return 0;
 5486: }
 5487: _ACEOF
 5488: if ac_fn_c_try_link "$LINENO"; then :
 5489:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5490: $as_echo "yes" >&6; }
 5491:       X_LIBS="$X_LIBS -R $x_libraries"
 5492: else
 5493:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5494: $as_echo "neither works" >&6; }
 5495: fi
 5496: rm -f core conftest.err conftest.$ac_objext \
 5497:     conftest$ac_exeext conftest.$ac_ext
 5498: fi
 5499: rm -f core conftest.err conftest.$ac_objext \
 5500:     conftest$ac_exeext conftest.$ac_ext
 5501:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5502:     LIBS=$ac_xsave_LIBS
 5503:   fi
 5504: 
 5505:   # Check for system-dependent libraries X programs must link with.
 5506:   # Do this before checking for the system-independent R6 libraries
 5507:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5508: 
 5509:   if test "$ISC" = yes; then
 5510:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5511:   else
 5512:     # Martyn Johnson says this is needed for Ultrix, if the X
 5513:     # libraries were built with DECnet support.  And Karl Berry says
 5514:     # the Alpha needs dnet_stub (dnet does not exist).
 5515:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5516:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5517: /* end confdefs.h.  */
 5518: 
 5519: /* Override any GCC internal prototype to avoid an error.
 5520:    Use char because int might match the return type of a GCC
 5521:    builtin and then its argument prototype would still apply.  */
 5522: #ifdef __cplusplus
 5523: extern "C"
 5524: #endif
 5525: char XOpenDisplay ();
 5526: int
 5527: main ()
 5528: {
 5529: return XOpenDisplay ();
 5530:   ;
 5531:   return 0;
 5532: }
 5533: _ACEOF
 5534: if ac_fn_c_try_link "$LINENO"; then :
 5535: 
 5536: else
 5537:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5538: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5539: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 5540:   $as_echo_n "(cached) " >&6
 5541: else
 5542:   ac_check_lib_save_LIBS=$LIBS
 5543: LIBS="-ldnet  $LIBS"
 5544: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5545: /* end confdefs.h.  */
 5546: 
 5547: /* Override any GCC internal prototype to avoid an error.
 5548:    Use char because int might match the return type of a GCC
 5549:    builtin and then its argument prototype would still apply.  */
 5550: #ifdef __cplusplus
 5551: extern "C"
 5552: #endif
 5553: char dnet_ntoa ();
 5554: int
 5555: main ()
 5556: {
 5557: return dnet_ntoa ();
 5558:   ;
 5559:   return 0;
 5560: }
 5561: _ACEOF
 5562: if ac_fn_c_try_link "$LINENO"; then :
 5563:   ac_cv_lib_dnet_dnet_ntoa=yes
 5564: else
 5565:   ac_cv_lib_dnet_dnet_ntoa=no
 5566: fi
 5567: rm -f core conftest.err conftest.$ac_objext \
 5568:     conftest$ac_exeext conftest.$ac_ext
 5569: LIBS=$ac_check_lib_save_LIBS
 5570: fi
 5571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5572: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5573: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 5574:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5575: fi
 5576: 
 5577:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5578:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5579: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5580: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 5581:   $as_echo_n "(cached) " >&6
 5582: else
 5583:   ac_check_lib_save_LIBS=$LIBS
 5584: LIBS="-ldnet_stub  $LIBS"
 5585: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5586: /* end confdefs.h.  */
 5587: 
 5588: /* Override any GCC internal prototype to avoid an error.
 5589:    Use char because int might match the return type of a GCC
 5590:    builtin and then its argument prototype would still apply.  */
 5591: #ifdef __cplusplus
 5592: extern "C"
 5593: #endif
 5594: char dnet_ntoa ();
 5595: int
 5596: main ()
 5597: {
 5598: return dnet_ntoa ();
 5599:   ;
 5600:   return 0;
 5601: }
 5602: _ACEOF
 5603: if ac_fn_c_try_link "$LINENO"; then :
 5604:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5605: else
 5606:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5607: fi
 5608: rm -f core conftest.err conftest.$ac_objext \
 5609:     conftest$ac_exeext conftest.$ac_ext
 5610: LIBS=$ac_check_lib_save_LIBS
 5611: fi
 5612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5613: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5614: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 5615:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5616: fi
 5617: 
 5618:     fi
 5619: fi
 5620: rm -f core conftest.err conftest.$ac_objext \
 5621:     conftest$ac_exeext conftest.$ac_ext
 5622:     LIBS="$ac_xsave_LIBS"
 5623: 
 5624:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5625:     # to get the SysV transport functions.
 5626:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5627:     # needs -lnsl.
 5628:     # The nsl library prevents programs from opening the X display
 5629:     # on Irix 5.2, according to T.E. Dickey.
 5630:     # The functions gethostbyname, getservbyname, and inet_addr are
 5631:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5632:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5633: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 5634: 
 5635: fi
 5636: 
 5637:     if test $ac_cv_func_gethostbyname = no; then
 5638:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5639: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5640: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 5641:   $as_echo_n "(cached) " >&6
 5642: else
 5643:   ac_check_lib_save_LIBS=$LIBS
 5644: LIBS="-lnsl  $LIBS"
 5645: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5646: /* end confdefs.h.  */
 5647: 
 5648: /* Override any GCC internal prototype to avoid an error.
 5649:    Use char because int might match the return type of a GCC
 5650:    builtin and then its argument prototype would still apply.  */
 5651: #ifdef __cplusplus
 5652: extern "C"
 5653: #endif
 5654: char gethostbyname ();
 5655: int
 5656: main ()
 5657: {
 5658: return gethostbyname ();
 5659:   ;
 5660:   return 0;
 5661: }
 5662: _ACEOF
 5663: if ac_fn_c_try_link "$LINENO"; then :
 5664:   ac_cv_lib_nsl_gethostbyname=yes
 5665: else
 5666:   ac_cv_lib_nsl_gethostbyname=no
 5667: fi
 5668: rm -f core conftest.err conftest.$ac_objext \
 5669:     conftest$ac_exeext conftest.$ac_ext
 5670: LIBS=$ac_check_lib_save_LIBS
 5671: fi
 5672: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5673: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5674: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 5675:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5676: fi
 5677: 
 5678:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5679:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5680: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5681: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 5682:   $as_echo_n "(cached) " >&6
 5683: else
 5684:   ac_check_lib_save_LIBS=$LIBS
 5685: LIBS="-lbsd  $LIBS"
 5686: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5687: /* end confdefs.h.  */
 5688: 
 5689: /* Override any GCC internal prototype to avoid an error.
 5690:    Use char because int might match the return type of a GCC
 5691:    builtin and then its argument prototype would still apply.  */
 5692: #ifdef __cplusplus
 5693: extern "C"
 5694: #endif
 5695: char gethostbyname ();
 5696: int
 5697: main ()
 5698: {
 5699: return gethostbyname ();
 5700:   ;
 5701:   return 0;
 5702: }
 5703: _ACEOF
 5704: if ac_fn_c_try_link "$LINENO"; then :
 5705:   ac_cv_lib_bsd_gethostbyname=yes
 5706: else
 5707:   ac_cv_lib_bsd_gethostbyname=no
 5708: fi
 5709: rm -f core conftest.err conftest.$ac_objext \
 5710:     conftest$ac_exeext conftest.$ac_ext
 5711: LIBS=$ac_check_lib_save_LIBS
 5712: fi
 5713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5714: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5715: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 5716:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5717: fi
 5718: 
 5719:       fi
 5720:     fi
 5721: 
 5722:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5723:     # socket/setsockopt and other routines are undefined under SCO ODT
 5724:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5725:     # on later versions), says Simon Leinen: it contains gethostby*
 5726:     # variants that don't use the name server (or something).  -lsocket
 5727:     # must be given before -lnsl if both are needed.  We assume that
 5728:     # if connect needs -lnsl, so does gethostbyname.
 5729:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5730: if test "x$ac_cv_func_connect" = x""yes; then :
 5731: 
 5732: fi
 5733: 
 5734:     if test $ac_cv_func_connect = no; then
 5735:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5736: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5737: if test "${ac_cv_lib_socket_connect+set}" = set; then :
 5738:   $as_echo_n "(cached) " >&6
 5739: else
 5740:   ac_check_lib_save_LIBS=$LIBS
 5741: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5742: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5743: /* end confdefs.h.  */
 5744: 
 5745: /* Override any GCC internal prototype to avoid an error.
 5746:    Use char because int might match the return type of a GCC
 5747:    builtin and then its argument prototype would still apply.  */
 5748: #ifdef __cplusplus
 5749: extern "C"
 5750: #endif
 5751: char connect ();
 5752: int
 5753: main ()
 5754: {
 5755: return connect ();
 5756:   ;
 5757:   return 0;
 5758: }
 5759: _ACEOF
 5760: if ac_fn_c_try_link "$LINENO"; then :
 5761:   ac_cv_lib_socket_connect=yes
 5762: else
 5763:   ac_cv_lib_socket_connect=no
 5764: fi
 5765: rm -f core conftest.err conftest.$ac_objext \
 5766:     conftest$ac_exeext conftest.$ac_ext
 5767: LIBS=$ac_check_lib_save_LIBS
 5768: fi
 5769: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5770: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5771: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 5772:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5773: fi
 5774: 
 5775:     fi
 5776: 
 5777:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5778:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5779: if test "x$ac_cv_func_remove" = x""yes; then :
 5780: 
 5781: fi
 5782: 
 5783:     if test $ac_cv_func_remove = no; then
 5784:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5785: $as_echo_n "checking for remove in -lposix... " >&6; }
 5786: if test "${ac_cv_lib_posix_remove+set}" = set; then :
 5787:   $as_echo_n "(cached) " >&6
 5788: else
 5789:   ac_check_lib_save_LIBS=$LIBS
 5790: LIBS="-lposix  $LIBS"
 5791: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5792: /* end confdefs.h.  */
 5793: 
 5794: /* Override any GCC internal prototype to avoid an error.
 5795:    Use char because int might match the return type of a GCC
 5796:    builtin and then its argument prototype would still apply.  */
 5797: #ifdef __cplusplus
 5798: extern "C"
 5799: #endif
 5800: char remove ();
 5801: int
 5802: main ()
 5803: {
 5804: return remove ();
 5805:   ;
 5806:   return 0;
 5807: }
 5808: _ACEOF
 5809: if ac_fn_c_try_link "$LINENO"; then :
 5810:   ac_cv_lib_posix_remove=yes
 5811: else
 5812:   ac_cv_lib_posix_remove=no
 5813: fi
 5814: rm -f core conftest.err conftest.$ac_objext \
 5815:     conftest$ac_exeext conftest.$ac_ext
 5816: LIBS=$ac_check_lib_save_LIBS
 5817: fi
 5818: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5819: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5820: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 5821:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5822: fi
 5823: 
 5824:     fi
 5825: 
 5826:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5827:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5828: if test "x$ac_cv_func_shmat" = x""yes; then :
 5829: 
 5830: fi
 5831: 
 5832:     if test $ac_cv_func_shmat = no; then
 5833:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5834: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5835: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 5836:   $as_echo_n "(cached) " >&6
 5837: else
 5838:   ac_check_lib_save_LIBS=$LIBS
 5839: LIBS="-lipc  $LIBS"
 5840: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5841: /* end confdefs.h.  */
 5842: 
 5843: /* Override any GCC internal prototype to avoid an error.
 5844:    Use char because int might match the return type of a GCC
 5845:    builtin and then its argument prototype would still apply.  */
 5846: #ifdef __cplusplus
 5847: extern "C"
 5848: #endif
 5849: char shmat ();
 5850: int
 5851: main ()
 5852: {
 5853: return shmat ();
 5854:   ;
 5855:   return 0;
 5856: }
 5857: _ACEOF
 5858: if ac_fn_c_try_link "$LINENO"; then :
 5859:   ac_cv_lib_ipc_shmat=yes
 5860: else
 5861:   ac_cv_lib_ipc_shmat=no
 5862: fi
 5863: rm -f core conftest.err conftest.$ac_objext \
 5864:     conftest$ac_exeext conftest.$ac_ext
 5865: LIBS=$ac_check_lib_save_LIBS
 5866: fi
 5867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5868: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5869: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 5870:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5871: fi
 5872: 
 5873:     fi
 5874:   fi
 5875: 
 5876:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5877:   ac_save_LDFLAGS=$LDFLAGS
 5878:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5879:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5880:   # check for ICE first), but we must link in the order -lSM -lICE or
 5881:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5882:   # These have to be linked with before -lX11, unlike the other
 5883:   # libraries we check for below, so use a different variable.
 5884:   # John Interrante, Karl Berry
 5885:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5886: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5887: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 5888:   $as_echo_n "(cached) " >&6
 5889: else
 5890:   ac_check_lib_save_LIBS=$LIBS
 5891: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 5892: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5893: /* end confdefs.h.  */
 5894: 
 5895: /* Override any GCC internal prototype to avoid an error.
 5896:    Use char because int might match the return type of a GCC
 5897:    builtin and then its argument prototype would still apply.  */
 5898: #ifdef __cplusplus
 5899: extern "C"
 5900: #endif
 5901: char IceConnectionNumber ();
 5902: int
 5903: main ()
 5904: {
 5905: return IceConnectionNumber ();
 5906:   ;
 5907:   return 0;
 5908: }
 5909: _ACEOF
 5910: if ac_fn_c_try_link "$LINENO"; then :
 5911:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5912: else
 5913:   ac_cv_lib_ICE_IceConnectionNumber=no
 5914: fi
 5915: rm -f core conftest.err conftest.$ac_objext \
 5916:     conftest$ac_exeext conftest.$ac_ext
 5917: LIBS=$ac_check_lib_save_LIBS
 5918: fi
 5919: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 5920: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5921: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 5922:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5923: fi
 5924: 
 5925:   LDFLAGS=$ac_save_LDFLAGS
 5926: 
 5927: fi
 5928: 
 5929: 
 5930: if test "$ac_x_includes" != "no"; then
 5931:     if test x"$ac_x_includes" != x; then
 5932:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5933:         includeX="-I$ac_x_includes"
 5934:     fi
 5935: fi
 5936: if test "$ac_x_libraries" != "no"; then
 5937:     if test x"$ac_x_libraries" != x; then
 5938:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5939:     fi
 5940: fi
 5941: 
 5942: 
 5943: # Check whether --with-32bits-abi was given.
 5944: if test "${with_32bits_abi+set}" = set; then :
 5945:   withval=$with_32bits_abi;
 5946: if test "$with-32bits-abi" = "no"; then
 5947:     ABI=
 5948: else
 5949:     ABI=-m32
 5950: fi
 5951: else
 5952: 
 5953:     ABI=
 5954: 
 5955: 
 5956: fi
 5957: 
 5958: 
 5959: if test x$ABI = x; then
 5960: 
 5961: # Check whether --with-64bits-abi was given.
 5962: if test "${with_64bits_abi+set}" = set; then :
 5963:   withval=$with_64bits_abi;
 5964: if test "$with-64bits-abi" = "no"; then
 5965:     ABI=
 5966: else
 5967:     ABI=-m64
 5968: fi
 5969: else
 5970: 
 5971:     ABI=
 5972: 
 5973: 
 5974: fi
 5975: 
 5976: fi
 5977: 
 5978: LDFLAGS="$LDFLAGS $ABI"
 5979: 
 5980: # Check whether --enable-recursive was given.
 5981: if test "${enable_recursive+set}" = set; then :
 5982:   enableval=$enable_recursive;
 5983: if test "$enableval" = "yes"; then
 5984:     RECURSIVE=yes
 5985: else
 5986:     RECURSIVE=no
 5987: fi
 5988: else
 5989: 
 5990:     RECURSIVE=yes
 5991: 
 5992: 
 5993: fi
 5994: 
 5995: 
 5996: 
 5997: # Check whether --with-rpltools was given.
 5998: if test "${with_rpltools+set}" = set; then :
 5999:   withval=$with_rpltools;
 6000: if test "$with_rpltools" = "no" -o "$with_rpltools" = yes; then
 6001:     as_fn_error $? "You have to specify rpltools path !" "$LINENO" 5
 6002: else
 6003:     RPLTOOLS=$with_rpltools
 6004: fi
 6005: else
 6006: 
 6007:     RPLTOOLS=\$\(top_builddir\)
 6008: 
 6009: 
 6010: fi
 6011: 
 6012: 
 6013: 
 6014: 
 6015: # Check whether --enable-rplcas was given.
 6016: if test "${enable_rplcas+set}" = set; then :
 6017:   enableval=$enable_rplcas;
 6018: if test "$enableval" = "no"; then
 6019:     RPLCAS=-URPLCAS
 6020:     LIBRPLCAS=
 6021: else
 6022:     RPLCAS=-DRPLCAS
 6023:     LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
 6024: fi
 6025: else
 6026: 
 6027:     RPLCAS=-URPLCAS
 6028:     LIBRPLCAS=
 6029: 
 6030: 
 6031: fi
 6032: 
 6033: 
 6034: 
 6035: 
 6036: 
 6037: 
 6038: # Check whether --enable-optimization was given.
 6039: if test "${enable_optimization+set}" = set; then :
 6040:   enableval=$enable_optimization;
 6041: if test "$enableval" = "no"; then
 6042:     CFLAGS=$ABI
 6043:     FFLAGS=$ABI
 6044:     CXXFLAGS=$ABI
 6045:     FCFLAGS=$ABI
 6046: else
 6047:     CFLAGS="$CFLAGS $ABI $enable_optimization"
 6048:     FFLAGS="$FFLAGS $ABI $enable_optimization"
 6049:     CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
 6050:     FCFLAGS="$FCFLAGS $ABI $enable_optimization"
 6051: fi
 6052: else
 6053: 
 6054:     CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
 6055:     FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
 6056:     CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
 6057:     FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
 6058: 
 6059: 
 6060: fi
 6061: 
 6062: 
 6063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable shared memory" >&5
 6064: $as_echo_n "checking for usable shared memory... " >&6; }
 6065: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6066: /* end confdefs.h.  */
 6067: #include <sys/shm.h>
 6068: 
 6069: int
 6070: main ()
 6071: {
 6072:  return(0);
 6073:   ;
 6074:   return 0;
 6075: }
 6076: _ACEOF
 6077: if ac_fn_c_try_compile "$LINENO"; then :
 6078:   SHARED_MEMORY=-DSHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6079: $as_echo "yes" >&6; }
 6080: else
 6081:   SHARED_MEMORY=-USHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6082: $as_echo "no" >&6; }
 6083: 
 6084: fi
 6085: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6086: 
 6087: 
 6088: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5
 6089: $as_echo_n "checking for pselect... " >&6; }
 6090: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6091: /* end confdefs.h.  */
 6092: #include <sys/select.h>
 6093:      #include <unistd.h>
 6094:      #include <sys/time.h>
 6095:      #include <sys/types.h>
 6096: 
 6097: int
 6098: main ()
 6099: {
 6100: 
 6101:      struct timespec tv;
 6102:      fd_set s1, s2, s3;
 6103:      tv.tv_sec=1;
 6104:      tv.tv_nsec=0;
 6105:      FD_SET(1, &s1); FD_SET(2, &s2); FD_SET(3, &s3);
 6106:      pselect(5, &s1, &s2, &s3, &tv, NULL);
 6107:      return(0);
 6108: 
 6109:   ;
 6110:   return 0;
 6111: }
 6112: _ACEOF
 6113: if ac_fn_c_try_compile "$LINENO"; then :
 6114:   PSELECT=-DPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6115: $as_echo "yes" >&6; }
 6116: else
 6117:   PSELECT=-UPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6118: $as_echo "no" >&6; }
 6119: 
 6120: fi
 6121: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6122: 
 6123: 
 6124: # Check whether --enable-sysv-ipcs was given.
 6125: if test "${enable_sysv_ipcs+set}" = set; then :
 6126:   enableval=$enable_sysv_ipcs;
 6127: if test "$enableval" = "no"; then
 6128:     IPCS_SYSV=-UIPCS_SYSV
 6129:     POSIX_IPCS=no
 6130: else
 6131:     IPCS_SYSV=-DIPCS_SYSV
 6132:     POSIX_IPCS=yes
 6133: fi
 6134: else
 6135:   REG=$LDFLAGS
 6136: POSIX_IPCS=guessed
 6137: LDFLAGS=-lrt
 6138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores and shared objects" >&5
 6139: $as_echo_n "checking for POSIX semaphores and shared objects... " >&6; }
 6140: if test "$cross_compiling" = yes; then :
 6141:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 6142: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 6143: as_fn_error $? "cannot run test program while cross compiling
 6144: See \`config.log' for more details" "$LINENO" 5 ; }
 6145: else
 6146:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6147: /* end confdefs.h.  */
 6148: #include <sys/mman.h>
 6149: #include <sys/stat.h>
 6150: #include <fcntl.h>
 6151: 
 6152: int
 6153: main ()
 6154: {
 6155:  int fd; char *sem = "/test";
 6156: fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
 6157:   close(fd);
 6158:   shm_unlink(sem);
 6159:   fd = sem_open(sem, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0);
 6160:   close(fd);
 6161:   sem_unlink(sem);
 6162:   return(0);
 6163: 
 6164:   ;
 6165:   return 0;
 6166: }
 6167: _ACEOF
 6168: if ac_fn_c_try_run "$LINENO"; then :
 6169:   IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6170: $as_echo "yes" >&6; }
 6171: else
 6172:   IPCS_SYSV=-DIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6173: $as_echo "no" >&6; }
 6174: 
 6175: fi
 6176: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 6177:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 6178: fi
 6179: 
 6180: LDFLAGS=$REG
 6181: 
 6182: fi
 6183: 
 6184: 
 6185: if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then
 6186: REG=$LDFLAGS
 6187: LDFLAGS=-pthread
 6188: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5
 6189: $as_echo_n "checking for POSIX anonymous semaphores... " >&6; }
 6190: if test "$cross_compiling" = yes; then :
 6191:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 6192: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 6193: as_fn_error $? "cannot run test program while cross compiling
 6194: See \`config.log' for more details" "$LINENO" 5 ; }
 6195: else
 6196:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6197: /* end confdefs.h.  */
 6198: #include <semaphore.h>
 6199: 
 6200: int
 6201: main ()
 6202: {
 6203:  sem_t sem;
 6204:  if (sem_init(&sem, 1, 0) != 0) return(1);
 6205:  sem_destroy(&sem);
 6206:   return(0);
 6207: 
 6208:   ;
 6209:   return 0;
 6210: }
 6211: _ACEOF
 6212: if ac_fn_c_try_run "$LINENO"; then :
 6213:   SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6214: $as_echo "yes" >&6; }
 6215: else
 6216:   SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6217: $as_echo "no" >&6; }
 6218: 
 6219: fi
 6220: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 6221:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 6222: fi
 6223: 
 6224: LDFLAGS=$REG
 6225: REG=""
 6226: else
 6227:     SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 6228: fi
 6229: 
 6230: # Check whether --enable-full-static was given.
 6231: if test "${enable_full_static+set}" = set; then :
 6232:   enableval=$enable_full_static;
 6233: if test "$enableval" = "no"; then
 6234:     STATIC=no
 6235: else
 6236:     STATIC=yes
 6237: fi
 6238: else
 6239:   STATIC=no
 6240: fi
 6241: 
 6242: 
 6243: # Check whether --enable-final-encoding was given.
 6244: if test "${enable_final_encoding+set}" = set; then :
 6245:   enableval=$enable_final_encoding;
 6246: if test "$enableval" = "no"; then
 6247:     FINAL_ENCODING="\$(shell locale charmap | \
 6248:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6249:     FORCED_FINAL_ENCODING=0
 6250: else
 6251:     FINAL_ENCODING="$enable_final_encoding"
 6252:     FORCED_FINAL_ENCODING=1
 6253: fi
 6254: else
 6255: 
 6256: FORCED_FINAL_ENCODING=0
 6257: FINAL_ENCODING="\$(shell locale charmap | \
 6258:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6259: fi
 6260: 
 6261: 
 6262: # Check whether --enable-tex was given.
 6263: if test "${enable_tex+set}" = set; then :
 6264:   enableval=$enable_tex;
 6265: if test "$enableval" = "no"; then
 6266:     TEX_SUPPORT=no
 6267: else
 6268:     TEX_SUPPORT=yes
 6269: fi
 6270: else
 6271:   TEX_SUPPORT=guessed
 6272: fi
 6273: 
 6274: 
 6275: # Check whether --enable-vim was given.
 6276: if test "${enable_vim+set}" = set; then :
 6277:   enableval=$enable_vim;
 6278: if test "$enableval" = "no"; then
 6279:     VIM_SUPPORT=no
 6280: else
 6281:     VIM_SUPPORT=yes
 6282: fi
 6283: else
 6284:   VIM_SUPPORT=guessed
 6285: fi
 6286: 
 6287: 
 6288: # Check whether --enable-embedded-gnuplot was given.
 6289: if test "${enable_embedded_gnuplot+set}" = set; then :
 6290:   enableval=$enable_embedded_gnuplot;
 6291: if test "$enableval" = "no"; then
 6292:     MYGNUPLOT=no
 6293: else
 6294:     MYGNUPLOT=yes
 6295: fi
 6296: else
 6297: 
 6298: MYGNUPLOT=yes
 6299: fi
 6300: 
 6301: 
 6302: # Check whether --enable-gnuplot was given.
 6303: if test "${enable_gnuplot+set}" = set; then :
 6304:   enableval=$enable_gnuplot;
 6305: if test "$enableval" = "no"; then
 6306:     GNUPLOT_SUPPORT=no
 6307:     MYGNUPLOT=no
 6308:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6309: else
 6310:     GNUPLOT_SUPPORT=yes
 6311:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6312: fi
 6313: else
 6314: 
 6315: if test "$MYGNUPLOT" = "yes"; then
 6316:     GNUPLOT_SUPPORT=yes
 6317:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6318: else
 6319:     GNUPLOT_SUPPORT=guessed
 6320:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6321: fi
 6322: fi
 6323: 
 6324: 
 6325: libX=""
 6326: LIBMOTIF=""
 6327: INCMOTIF=""
 6328: BUILD_OPENMOTIF=""
 6329: 
 6330: # Check whether --enable-motif was given.
 6331: if test "${enable_motif+set}" = set; then :
 6332:   enableval=$enable_motif;
 6333: if test "$enableval" = "no"; then
 6334:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6335: else
 6336:     MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6337: fi
 6338: else
 6339:   if test "$have_x" == "yes"; then
 6340:     MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6341: else
 6342:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6343: fi
 6344: fi
 6345: 
 6346: 
 6347: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6348:     libX="$X_LIBS -lXt -lX11"
 6349:     LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \
 6350:             \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a"
 6351:     INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \
 6352:             -I\$(top_builddir)/tools/$OPENMOTIF/lib \
 6353:             -I\$(top_srcdir)/tools/$LIBXPM/include"
 6354:     BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
 6355: 
 6356:     if test $RECURSIVE = yes; then
 6357: 
 6358: 
 6359: subdirs="$subdirs tools/$LIBXPM"
 6360: 
 6361:         subdirs="$subdirs tools/$OPENMOTIF"
 6362: 
 6363:     fi;
 6364: fi
 6365: 
 6366: # Check whether --enable-experimental was given.
 6367: if test "${enable_experimental+set}" = set; then :
 6368:   enableval=$enable_experimental;
 6369: if test "$enableval" = "no"; then
 6370:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6371: else
 6372:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6373: fi
 6374: else
 6375:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6376: fi
 6377: 
 6378: 
 6379: # Check whether --enable-debug was given.
 6380: if test "${enable_debug+set}" = set; then :
 6381:   enableval=$enable_debug;
 6382: if test "$enableval" = "no"; then
 6383:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6384: else
 6385:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6386: fi
 6387: else
 6388:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6389: fi
 6390: 
 6391: 
 6392: # Check whether --enable-profile was given.
 6393: if test "${enable_profile+set}" = set; then :
 6394:   enableval=$enable_profile;
 6395: if test "$enableval" = "no"; then
 6396:     PROFILAGE=""
 6397: else
 6398:     PROFILAGE="-pg"
 6399: fi
 6400: else
 6401:   PROFILAGE=""
 6402: fi
 6403: 
 6404: 
 6405: 
 6406: 
 6407: if test ! -d tools; then
 6408:     mkdir tools
 6409: fi
 6410: if test ! -d "$srcdir"/tools/$NCURSES; then
 6411:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6412:             (cd "$srcdir/tools" && tar -xf -)
 6413:     (cd "$srcdir/tools/"$NCURSES && \
 6414:             for i in ../$NCURSES*.patch.gz;
 6415:             do gunzip -c $i | patch -p1;
 6416:             done);
 6417: fi
 6418: if test ! -d "$srcdir"/tools/$READLINE; then
 6419:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6420:             (cd "$srcdir/tools" && tar -xf -)
 6421: fi
 6422: if test ! -d "$srcdir"/tools/$UNITS; then
 6423:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6424:             (cd "$srcdir/tools" && tar -xf -)
 6425: fi
 6426: if test ! -d "$srcdir"/tools/$GSL; then
 6427:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6428:             (cd "$srcdir/tools" && tar -xf -)
 6429:     if test $(uname) = "OS/2"; then
 6430:         (cd "$srcdir"/tools/$GSL; \
 6431:                 TMP=$(mktemp tmp.XXXXXXXXXX); \
 6432:                 sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
 6433:                 \mv -f $TMP ltmain.sh)
 6434:     fi
 6435: fi
 6436: if test ! -d "$srcdir"/tools/$GPP; then
 6437:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6438:             (cd "$srcdir/tools" && tar -xf -)
 6439: fi
 6440: if test ! -d "$srcdir"/tools/$FILE; then
 6441:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6442:             (cd "$srcdir/tools" && tar -xf - )
 6443:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6444: fi
 6445: if test ! -d "$srcdir"/tools/$ICONV; then
 6446:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6447:             (cd "$srcdir/tools" && tar -xf -)
 6448: fi
 6449: if test ! -d "$srcdir"/tools/$SQLITE; then
 6450:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6451:             (cd "$srcdir/tools" && tar -xf -)
 6452: fi
 6453: if test ! -d "$srcdir"/tools/$SIGSEGV; then
 6454:     gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \
 6455:             (cd "$srcdir/tools" && tar -xf -)
 6456: fi
 6457: if test ! -d "$srcdir"/tools/$OPENMOTIF; then
 6458:     gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \
 6459:             (cd "$srcdir/tools" && tar -xf -)
 6460: fi
 6461: if test ! -d "$srcdir"/tools/$LIBXPM; then
 6462:     gunzip -c "$srcdir"/tools/$LIBXPM.tar.gz | \
 6463:             (cd "$srcdir/tools" && tar -xf -)
 6464: fi
 6465: if test ! -d tools/$OPENSSL; then
 6466:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6467:             (cd tools && tar -xf -)
 6468: fi
 6469: if test ! -d rplcas; then
 6470:     mkdir rplcas
 6471: fi
 6472: if test ! -d "$srcdir"/rplcas/$GMP; then
 6473:     gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
 6474:             (cd "$srcdir/rplcas" && tar -xf -)
 6475: fi
 6476: if test ! -d "$srcdir"/rplcas/$MPFR; then
 6477:     gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
 6478:             (cd "$srcdir/rplcas" && tar -xf -)
 6479: fi
 6480: if test ! -d rplcas/$NTL; then
 6481:     gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
 6482:             (cd rplcas && tar -xf -)
 6483: fi
 6484: if test ! -d rplcas/$COCOA; then
 6485:     gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
 6486:             (cd rplcas && tar -xf -)
 6487: fi
 6488: if test ! -d rplcas/$PARI; then
 6489:     gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
 6490:             (cd rplcas && tar -xf -)
 6491: fi
 6492: if test ! -d "$srcdir"/rplcas/$GIAC; then
 6493:     gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
 6494:             (cd "$srcdir/rplcas" && tar -xf -)
 6495: fi
 6496: 
 6497: touch tools/openmotif.lib
 6498: 
 6499: 
 6500: 
 6501: # Check whether --enable-final-run-path was given.
 6502: if test "${enable_final_run_path+set}" = set; then :
 6503:   enableval=$enable_final_run_path;
 6504:     if test "x$enable_final_run_path" = "x"; then
 6505:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6506: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6507:         as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
 6508:     else
 6509:         RUNPATH="$enable_final_run_path"
 6510:     fi
 6511: 
 6512: else
 6513:   RUNPATH="\${prefix}"
 6514: 
 6515: fi
 6516: 
 6517: 
 6518: 
 6519: 
 6520: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6521: $as_echo_n "checking whether ln -s works... " >&6; }
 6522: LN_S=$as_ln_s
 6523: if test "$LN_S" = "ln -s"; then
 6524:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6525: $as_echo "yes" >&6; }
 6526: else
 6527:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6528: $as_echo "no, using $LN_S" >&6; }
 6529: fi
 6530: 
 6531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6532: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6533: set x ${MAKE-make}
 6534: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6535: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 6536:   $as_echo_n "(cached) " >&6
 6537: else
 6538:   cat >conftest.make <<\_ACEOF
 6539: SHELL = /bin/sh
 6540: all:
 6541:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6542: _ACEOF
 6543: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 6544: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6545:   *@@@%%%=?*=@@@%%%*)
 6546:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6547:   *)
 6548:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6549: esac
 6550: rm -f conftest.make
 6551: fi
 6552: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6553:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6554: $as_echo "yes" >&6; }
 6555:   SET_MAKE=
 6556: else
 6557:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6558: $as_echo "no" >&6; }
 6559:   SET_MAKE="MAKE=${MAKE-make}"
 6560: fi
 6561: 
 6562: if test -n "$ac_tool_prefix"; then
 6563:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6564: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6565: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6566: $as_echo_n "checking for $ac_word... " >&6; }
 6567: if test "${ac_cv_prog_RANLIB+set}" = set; then :
 6568:   $as_echo_n "(cached) " >&6
 6569: else
 6570:   if test -n "$RANLIB"; then
 6571:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6572: else
 6573: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6574: for as_dir in $PATH
 6575: do
 6576:   IFS=$as_save_IFS
 6577:   test -z "$as_dir" && as_dir=.
 6578:     for ac_exec_ext in '' $ac_executable_extensions; do
 6579:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6580:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6581:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6582:     break 2
 6583:   fi
 6584: done
 6585:   done
 6586: IFS=$as_save_IFS
 6587: 
 6588: fi
 6589: fi
 6590: RANLIB=$ac_cv_prog_RANLIB
 6591: if test -n "$RANLIB"; then
 6592:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6593: $as_echo "$RANLIB" >&6; }
 6594: else
 6595:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6596: $as_echo "no" >&6; }
 6597: fi
 6598: 
 6599: 
 6600: fi
 6601: if test -z "$ac_cv_prog_RANLIB"; then
 6602:   ac_ct_RANLIB=$RANLIB
 6603:   # Extract the first word of "ranlib", so it can be a program name with args.
 6604: set dummy ranlib; ac_word=$2
 6605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6606: $as_echo_n "checking for $ac_word... " >&6; }
 6607: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 6608:   $as_echo_n "(cached) " >&6
 6609: else
 6610:   if test -n "$ac_ct_RANLIB"; then
 6611:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6612: else
 6613: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6614: for as_dir in $PATH
 6615: do
 6616:   IFS=$as_save_IFS
 6617:   test -z "$as_dir" && as_dir=.
 6618:     for ac_exec_ext in '' $ac_executable_extensions; do
 6619:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6620:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6621:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6622:     break 2
 6623:   fi
 6624: done
 6625:   done
 6626: IFS=$as_save_IFS
 6627: 
 6628: fi
 6629: fi
 6630: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6631: if test -n "$ac_ct_RANLIB"; then
 6632:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6633: $as_echo "$ac_ct_RANLIB" >&6; }
 6634: else
 6635:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6636: $as_echo "no" >&6; }
 6637: fi
 6638: 
 6639:   if test "x$ac_ct_RANLIB" = x; then
 6640:     RANLIB=":"
 6641:   else
 6642:     case $cross_compiling:$ac_tool_warned in
 6643: yes:)
 6644: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6645: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6646: ac_tool_warned=yes ;;
 6647: esac
 6648:     RANLIB=$ac_ct_RANLIB
 6649:   fi
 6650: else
 6651:   RANLIB="$ac_cv_prog_RANLIB"
 6652: fi
 6653: 
 6654: 
 6655: # Extract the first word of "nawk", so it can be a program name with args.
 6656: set dummy nawk; ac_word=$2
 6657: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6658: $as_echo_n "checking for $ac_word... " >&6; }
 6659: if test "${ac_cv_prog_AWK+set}" = set; then :
 6660:   $as_echo_n "(cached) " >&6
 6661: else
 6662:   if test -n "$AWK"; then
 6663:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6664: else
 6665: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6666: for as_dir in $PATH
 6667: do
 6668:   IFS=$as_save_IFS
 6669:   test -z "$as_dir" && as_dir=.
 6670:     for ac_exec_ext in '' $ac_executable_extensions; do
 6671:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6672:     ac_cv_prog_AWK="yes"
 6673:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6674:     break 2
 6675:   fi
 6676: done
 6677:   done
 6678: IFS=$as_save_IFS
 6679: 
 6680:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6681: fi
 6682: fi
 6683: AWK=$ac_cv_prog_AWK
 6684: if test -n "$AWK"; then
 6685:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6686: $as_echo "$AWK" >&6; }
 6687: else
 6688:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6689: $as_echo "no" >&6; }
 6690: fi
 6691: 
 6692: 
 6693: if test "$AWK" = no; then
 6694:     # Extract the first word of "gawk", so it can be a program name with args.
 6695: set dummy gawk; ac_word=$2
 6696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6697: $as_echo_n "checking for $ac_word... " >&6; }
 6698: if test "${ac_cv_prog_AWK+set}" = set; then :
 6699:   $as_echo_n "(cached) " >&6
 6700: else
 6701:   if test -n "$AWK"; then
 6702:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6703: else
 6704: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6705: for as_dir in $PATH
 6706: do
 6707:   IFS=$as_save_IFS
 6708:   test -z "$as_dir" && as_dir=.
 6709:     for ac_exec_ext in '' $ac_executable_extensions; do
 6710:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6711:     ac_cv_prog_AWK="yes"
 6712:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6713:     break 2
 6714:   fi
 6715: done
 6716:   done
 6717: IFS=$as_save_IFS
 6718: 
 6719:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6720: fi
 6721: fi
 6722: AWK=$ac_cv_prog_AWK
 6723: if test -n "$AWK"; then
 6724:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6725: $as_echo "$AWK" >&6; }
 6726: else
 6727:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6728: $as_echo "no" >&6; }
 6729: fi
 6730: 
 6731: 
 6732:     if test "$AWK" = no; then
 6733:         as_fn_error $? "Can not find nawk !" "$LINENO" 5
 6734:     fi
 6735: fi
 6736: 
 6737: # Extract the first word of "sed", so it can be a program name with args.
 6738: set dummy sed; ac_word=$2
 6739: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6740: $as_echo_n "checking for $ac_word... " >&6; }
 6741: if test "${ac_cv_prog_SED+set}" = set; then :
 6742:   $as_echo_n "(cached) " >&6
 6743: else
 6744:   if test -n "$SED"; then
 6745:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6746: else
 6747: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6748: for as_dir in $PATH
 6749: do
 6750:   IFS=$as_save_IFS
 6751:   test -z "$as_dir" && as_dir=.
 6752:     for ac_exec_ext in '' $ac_executable_extensions; do
 6753:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6754:     ac_cv_prog_SED="yes"
 6755:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6756:     break 2
 6757:   fi
 6758: done
 6759:   done
 6760: IFS=$as_save_IFS
 6761: 
 6762:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6763: fi
 6764: fi
 6765: SED=$ac_cv_prog_SED
 6766: if test -n "$SED"; then
 6767:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6768: $as_echo "$SED" >&6; }
 6769: else
 6770:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6771: $as_echo "no" >&6; }
 6772: fi
 6773: 
 6774: 
 6775: if test "$SED" = no; then
 6776:     as_fn_error $? "Can not find sed !" "$LINENO" 5
 6777: fi
 6778: 
 6779: if test "$TEX_SUPPORT" = guessed; then
 6780:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6781: 
 6782:     # Extract the first word of "tex", so it can be a program name with args.
 6783: set dummy tex; ac_word=$2
 6784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6785: $as_echo_n "checking for $ac_word... " >&6; }
 6786: if test "${ac_cv_prog_TEX+set}" = set; then :
 6787:   $as_echo_n "(cached) " >&6
 6788: else
 6789:   if test -n "$TEX"; then
 6790:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6791: else
 6792: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6793: for as_dir in $PATH
 6794: do
 6795:   IFS=$as_save_IFS
 6796:   test -z "$as_dir" && as_dir=.
 6797:     for ac_exec_ext in '' $ac_executable_extensions; do
 6798:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6799:     ac_cv_prog_TEX="yes"
 6800:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6801:     break 2
 6802:   fi
 6803: done
 6804:   done
 6805: IFS=$as_save_IFS
 6806: 
 6807:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6808: fi
 6809: fi
 6810: TEX=$ac_cv_prog_TEX
 6811: if test -n "$TEX"; then
 6812:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6813: $as_echo "$TEX" >&6; }
 6814: else
 6815:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6816: $as_echo "no" >&6; }
 6817: fi
 6818: 
 6819: 
 6820:     if test "$TEX" = no; then
 6821:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6822: Download at http://tex.loria.fr/
 6823: " >&5
 6824: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6825: Download at http://tex.loria.fr/
 6826: " >&2;}
 6827:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6828:     fi
 6829: 
 6830:     # Extract the first word of "latex", so it can be a program name with args.
 6831: set dummy latex; ac_word=$2
 6832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6833: $as_echo_n "checking for $ac_word... " >&6; }
 6834: if test "${ac_cv_prog_LATEX+set}" = set; then :
 6835:   $as_echo_n "(cached) " >&6
 6836: else
 6837:   if test -n "$LATEX"; then
 6838:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6839: else
 6840: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6841: for as_dir in $PATH
 6842: do
 6843:   IFS=$as_save_IFS
 6844:   test -z "$as_dir" && as_dir=.
 6845:     for ac_exec_ext in '' $ac_executable_extensions; do
 6846:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6847:     ac_cv_prog_LATEX="yes"
 6848:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6849:     break 2
 6850:   fi
 6851: done
 6852:   done
 6853: IFS=$as_save_IFS
 6854: 
 6855:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6856: fi
 6857: fi
 6858: LATEX=$ac_cv_prog_LATEX
 6859: if test -n "$LATEX"; then
 6860:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6861: $as_echo "$LATEX" >&6; }
 6862: else
 6863:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6864: $as_echo "no" >&6; }
 6865: fi
 6866: 
 6867: 
 6868:     if test "$LATEX" = no; then
 6869:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6870: Download at http://tex.loria.fr/
 6871: " >&5
 6872: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6873: Download at http://tex.loria.fr/
 6874: " >&2;}
 6875:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6876:     fi
 6877: 
 6878:     # Extract the first word of "dvips", so it can be a program name with args.
 6879: set dummy dvips; ac_word=$2
 6880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6881: $as_echo_n "checking for $ac_word... " >&6; }
 6882: if test "${ac_cv_prog_DVIPS+set}" = set; then :
 6883:   $as_echo_n "(cached) " >&6
 6884: else
 6885:   if test -n "$DVIPS"; then
 6886:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6887: else
 6888: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6889: for as_dir in $PATH
 6890: do
 6891:   IFS=$as_save_IFS
 6892:   test -z "$as_dir" && as_dir=.
 6893:     for ac_exec_ext in '' $ac_executable_extensions; do
 6894:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6895:     ac_cv_prog_DVIPS="yes"
 6896:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6897:     break 2
 6898:   fi
 6899: done
 6900:   done
 6901: IFS=$as_save_IFS
 6902: 
 6903:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6904: fi
 6905: fi
 6906: DVIPS=$ac_cv_prog_DVIPS
 6907: if test -n "$DVIPS"; then
 6908:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6909: $as_echo "$DVIPS" >&6; }
 6910: else
 6911:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6912: $as_echo "no" >&6; }
 6913: fi
 6914: 
 6915: 
 6916:     if test "$DVIPS" = no; then
 6917:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6918: Download at http://tex.loria.fr/
 6919: " >&5
 6920: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6921: Download at http://tex.loria.fr/
 6922: " >&2;}
 6923:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6924:     fi
 6925: 
 6926:     # Extract the first word of "gs", so it can be a program name with args.
 6927: set dummy gs; ac_word=$2
 6928: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6929: $as_echo_n "checking for $ac_word... " >&6; }
 6930: if test "${ac_cv_prog_GS+set}" = set; then :
 6931:   $as_echo_n "(cached) " >&6
 6932: else
 6933:   if test -n "$GS"; then
 6934:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6935: else
 6936: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6937: for as_dir in $PATH
 6938: do
 6939:   IFS=$as_save_IFS
 6940:   test -z "$as_dir" && as_dir=.
 6941:     for ac_exec_ext in '' $ac_executable_extensions; do
 6942:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6943:     ac_cv_prog_GS="yes"
 6944:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6945:     break 2
 6946:   fi
 6947: done
 6948:   done
 6949: IFS=$as_save_IFS
 6950: 
 6951:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6952: fi
 6953: fi
 6954: GS=$ac_cv_prog_GS
 6955: if test -n "$GS"; then
 6956:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6957: $as_echo "$GS" >&6; }
 6958: else
 6959:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6960: $as_echo "no" >&6; }
 6961: fi
 6962: 
 6963: 
 6964:     if test "$GS" = no; then
 6965:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6966: Download at http://ftp.lip6.fr/
 6967: " >&5
 6968: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6969: Download at http://ftp.lip6.fr/
 6970: " >&2;}
 6971:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6972:     fi
 6973: 
 6974:     # Extract the first word of "gv", so it can be a program name with args.
 6975: set dummy gv; ac_word=$2
 6976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6977: $as_echo_n "checking for $ac_word... " >&6; }
 6978: if test "${ac_cv_prog_GV+set}" = set; then :
 6979:   $as_echo_n "(cached) " >&6
 6980: else
 6981:   if test -n "$GV"; then
 6982:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6983: else
 6984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6985: for as_dir in $PATH
 6986: do
 6987:   IFS=$as_save_IFS
 6988:   test -z "$as_dir" && as_dir=.
 6989:     for ac_exec_ext in '' $ac_executable_extensions; do
 6990:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6991:     ac_cv_prog_GV="yes"
 6992:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6993:     break 2
 6994:   fi
 6995: done
 6996:   done
 6997: IFS=$as_save_IFS
 6998: 
 6999:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 7000: fi
 7001: fi
 7002: GV=$ac_cv_prog_GV
 7003: if test -n "$GV"; then
 7004:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 7005: $as_echo "$GV" >&6; }
 7006: else
 7007:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7008: $as_echo "no" >&6; }
 7009: fi
 7010: 
 7011: 
 7012:     if test "$GV" = no; then
 7013:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 7014: Download at http://ftp.lip6.fr/
 7015: " >&5
 7016: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 7017: Download at http://ftp.lip6.fr/
 7018: " >&2;}
 7019:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7020:     fi
 7021: else
 7022:     if test "$TEX_SUPPORT" = no; then
 7023:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7024:     else
 7025:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 7026:     fi
 7027: fi
 7028: 
 7029: if test "$GNUPLOT_SUPPORT" = guessed; then
 7030:     # Extract the first word of "gnuplot", so it can be a program name with args.
 7031: set dummy gnuplot; ac_word=$2
 7032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7033: $as_echo_n "checking for $ac_word... " >&6; }
 7034: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
 7035:   $as_echo_n "(cached) " >&6
 7036: else
 7037:   if test -n "$GNUPLOT_P"; then
 7038:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 7039: else
 7040: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7041: for as_dir in $PATH
 7042: do
 7043:   IFS=$as_save_IFS
 7044:   test -z "$as_dir" && as_dir=.
 7045:     for ac_exec_ext in '' $ac_executable_extensions; do
 7046:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7047:     ac_cv_prog_GNUPLOT_P="yes"
 7048:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7049:     break 2
 7050:   fi
 7051: done
 7052:   done
 7053: IFS=$as_save_IFS
 7054: 
 7055:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 7056: fi
 7057: fi
 7058: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 7059: if test -n "$GNUPLOT_P"; then
 7060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 7061: $as_echo "$GNUPLOT_P" >&6; }
 7062: else
 7063:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7064: $as_echo "no" >&6; }
 7065: fi
 7066: 
 7067: 
 7068:     if test "$GNUPLOT_P" = no; then
 7069:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 7070: Download at http://www.gnuplot.vt.edu/
 7071: " >&5
 7072: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 7073: Download at http://www.gnuplot.vt.edu/
 7074: " >&2;}
 7075:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 7076:     else
 7077:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 7078:     fi
 7079: else
 7080:     if test "$GNUPLOT_SUPPORT" = no; then
 7081:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 7082:     else
 7083:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 7084:     fi
 7085: fi
 7086: 
 7087: if test "$VIM_SUPPORT" = guessed; then
 7088:     # Extract the first word of "vim", so it can be a program name with args.
 7089: set dummy vim; ac_word=$2
 7090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7091: $as_echo_n "checking for $ac_word... " >&6; }
 7092: if test "${ac_cv_prog_VIM+set}" = set; then :
 7093:   $as_echo_n "(cached) " >&6
 7094: else
 7095:   if test -n "$VIM"; then
 7096:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 7097: else
 7098: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7099: for as_dir in $PATH
 7100: do
 7101:   IFS=$as_save_IFS
 7102:   test -z "$as_dir" && as_dir=.
 7103:     for ac_exec_ext in '' $ac_executable_extensions; do
 7104:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7105:     ac_cv_prog_VIM="yes"
 7106:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7107:     break 2
 7108:   fi
 7109: done
 7110:   done
 7111: IFS=$as_save_IFS
 7112: 
 7113:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 7114: fi
 7115: fi
 7116: VIM=$ac_cv_prog_VIM
 7117: if test -n "$VIM"; then
 7118:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 7119: $as_echo "$VIM" >&6; }
 7120: else
 7121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7122: $as_echo "no" >&6; }
 7123: fi
 7124: 
 7125: 
 7126:     if test "$VIM" = no; then
 7127:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 7128: Download at http://www.vim.org/
 7129: " >&5
 7130: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 7131: Download at http://www.vim.org/
 7132: " >&2;}
 7133:         VIM_SUPPORT="-UVIM_SUPPORT"
 7134:     else
 7135:         VIM_SUPPORT="-DVIM_SUPPORT"
 7136:     fi
 7137: else
 7138:     if test "$VIM_SUPPORT" = no; then
 7139:         VIM_SUPPORT="-UVIM_SUPPORT"
 7140:     else
 7141:         VIM_SUPPORT="-DVIM_SUPPORT"
 7142:     fi
 7143: fi
 7144: 
 7145: 
 7146: 
 7147: 
 7148: 
 7149: 
 7150: 
 7151: 
 7152: 
 7153: 
 7154: 
 7155: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 7156: 
 7157: 
 7158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 7159: $as_echo_n "checking for main in -lm... " >&6; }
 7160: if test "${ac_cv_lib_m_main+set}" = set; then :
 7161:   $as_echo_n "(cached) " >&6
 7162: else
 7163:   ac_check_lib_save_LIBS=$LIBS
 7164: LIBS="-lm  $LIBS"
 7165: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7166: /* end confdefs.h.  */
 7167: 
 7168: 
 7169: int
 7170: main ()
 7171: {
 7172: return main ();
 7173:   ;
 7174:   return 0;
 7175: }
 7176: _ACEOF
 7177: if ac_fn_c_try_link "$LINENO"; then :
 7178:   ac_cv_lib_m_main=yes
 7179: else
 7180:   ac_cv_lib_m_main=no
 7181: fi
 7182: rm -f core conftest.err conftest.$ac_objext \
 7183:     conftest$ac_exeext conftest.$ac_ext
 7184: LIBS=$ac_check_lib_save_LIBS
 7185: fi
 7186: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 7187: $as_echo "$ac_cv_lib_m_main" >&6; }
 7188: if test "x$ac_cv_lib_m_main" = x""yes; then :
 7189:   cat >>confdefs.h <<_ACEOF
 7190: #define HAVE_LIBM 1
 7191: _ACEOF
 7192: 
 7193:   LIBS="-lm $LIBS"
 7194: 
 7195: else
 7196:   as_fn_error $? "Can not find libm !" "$LINENO" 5
 7197: fi
 7198: 
 7199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5
 7200: $as_echo_n "checking for pthread_mutex_init in -lc... " >&6; }
 7201: if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then :
 7202:   $as_echo_n "(cached) " >&6
 7203: else
 7204:   ac_check_lib_save_LIBS=$LIBS
 7205: LIBS="-lc  $LIBS"
 7206: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7207: /* end confdefs.h.  */
 7208: 
 7209: /* Override any GCC internal prototype to avoid an error.
 7210:    Use char because int might match the return type of a GCC
 7211:    builtin and then its argument prototype would still apply.  */
 7212: #ifdef __cplusplus
 7213: extern "C"
 7214: #endif
 7215: char pthread_mutex_init ();
 7216: int
 7217: main ()
 7218: {
 7219: return pthread_mutex_init ();
 7220:   ;
 7221:   return 0;
 7222: }
 7223: _ACEOF
 7224: if ac_fn_c_try_link "$LINENO"; then :
 7225:   ac_cv_lib_c_pthread_mutex_init=yes
 7226: else
 7227:   ac_cv_lib_c_pthread_mutex_init=no
 7228: fi
 7229: rm -f core conftest.err conftest.$ac_objext \
 7230:     conftest$ac_exeext conftest.$ac_ext
 7231: LIBS=$ac_check_lib_save_LIBS
 7232: fi
 7233: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5
 7234: $as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; }
 7235: if test "x$ac_cv_lib_c_pthread_mutex_init" = x""yes; then :
 7236:   cat >>confdefs.h <<_ACEOF
 7237: #define HAVE_LIBC 1
 7238: _ACEOF
 7239: 
 7240:   LIBS="-lc $LIBS"
 7241: 
 7242: else
 7243:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 7244: $as_echo_n "checking for main in -lpthread... " >&6; }
 7245: if test "${ac_cv_lib_pthread_main+set}" = set; then :
 7246:   $as_echo_n "(cached) " >&6
 7247: else
 7248:   ac_check_lib_save_LIBS=$LIBS
 7249: LIBS="-lpthread  $LIBS"
 7250: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7251: /* end confdefs.h.  */
 7252: 
 7253: 
 7254: int
 7255: main ()
 7256: {
 7257: return main ();
 7258:   ;
 7259:   return 0;
 7260: }
 7261: _ACEOF
 7262: if ac_fn_c_try_link "$LINENO"; then :
 7263:   ac_cv_lib_pthread_main=yes
 7264: else
 7265:   ac_cv_lib_pthread_main=no
 7266: fi
 7267: rm -f core conftest.err conftest.$ac_objext \
 7268:     conftest$ac_exeext conftest.$ac_ext
 7269: LIBS=$ac_check_lib_save_LIBS
 7270: fi
 7271: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 7272: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 7273: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
 7274:   cat >>confdefs.h <<_ACEOF
 7275: #define HAVE_LIBPTHREAD 1
 7276: _ACEOF
 7277: 
 7278:   LIBS="-lpthread $LIBS"
 7279: 
 7280: else
 7281:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
 7282: fi
 7283: 
 7284: fi
 7285: 
 7286: 
 7287: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 7288: #include <sys/sem.h>
 7289: 
 7290: "
 7291: if test "x$ac_cv_type_union_semun" = x""yes; then :
 7292:   SEMUN=-DUNION_SEMUN
 7293: else
 7294:   SEMUN=-UUNION_SEMUN
 7295: fi
 7296: 
 7297: 
 7298: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
 7299: #include <sys/types.h>
 7300: #include <netinet/in.h>
 7301: 
 7302: "
 7303: if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
 7304:   IPV6=-DIPV6
 7305: else
 7306:   IPV6=-UIPV6
 7307: fi
 7308: 
 7309: 
 7310: if test "$CYGWIN" != yes; then
 7311:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 7312: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 7313: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 7314:   $as_echo_n "(cached) " >&6
 7315: else
 7316:   ac_check_lib_save_LIBS=$LIBS
 7317: LIBS="-ldl  $LIBS"
 7318: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7319: /* end confdefs.h.  */
 7320: 
 7321: /* Override any GCC internal prototype to avoid an error.
 7322:    Use char because int might match the return type of a GCC
 7323:    builtin and then its argument prototype would still apply.  */
 7324: #ifdef __cplusplus
 7325: extern "C"
 7326: #endif
 7327: char dlopen ();
 7328: int
 7329: main ()
 7330: {
 7331: return dlopen ();
 7332:   ;
 7333:   return 0;
 7334: }
 7335: _ACEOF
 7336: if ac_fn_c_try_link "$LINENO"; then :
 7337:   ac_cv_lib_dl_dlopen=yes
 7338: else
 7339:   ac_cv_lib_dl_dlopen=no
 7340: fi
 7341: rm -f core conftest.err conftest.$ac_objext \
 7342:     conftest$ac_exeext conftest.$ac_ext
 7343: LIBS=$ac_check_lib_save_LIBS
 7344: fi
 7345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 7346: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 7347: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 7348:   LIBS="$LIBS -ldl"
 7349: else
 7350:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 7351: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7352: fi
 7353: 
 7354: fi
 7355: 
 7356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 7357: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 7358: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
 7359:   $as_echo_n "(cached) " >&6
 7360: else
 7361:   ac_check_lib_save_LIBS=$LIBS
 7362: LIBS="-lrt  $LIBS"
 7363: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7364: /* end confdefs.h.  */
 7365: 
 7366: /* Override any GCC internal prototype to avoid an error.
 7367:    Use char because int might match the return type of a GCC
 7368:    builtin and then its argument prototype would still apply.  */
 7369: #ifdef __cplusplus
 7370: extern "C"
 7371: #endif
 7372: char nanosleep ();
 7373: int
 7374: main ()
 7375: {
 7376: return nanosleep ();
 7377:   ;
 7378:   return 0;
 7379: }
 7380: _ACEOF
 7381: if ac_fn_c_try_link "$LINENO"; then :
 7382:   ac_cv_lib_rt_nanosleep=yes
 7383: else
 7384:   ac_cv_lib_rt_nanosleep=no
 7385: fi
 7386: rm -f core conftest.err conftest.$ac_objext \
 7387:     conftest$ac_exeext conftest.$ac_ext
 7388: LIBS=$ac_check_lib_save_LIBS
 7389: fi
 7390: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7391: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7392: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
 7393:   LIBS="$LIBS -lrt"
 7394: else
 7395:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7396: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7397: fi
 7398: 
 7399: 
 7400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7401: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7402: if test "${ac_cv_lib_socket_bind+set}" = set; then :
 7403:   $as_echo_n "(cached) " >&6
 7404: else
 7405:   ac_check_lib_save_LIBS=$LIBS
 7406: LIBS="-lsocket  $LIBS"
 7407: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7408: /* end confdefs.h.  */
 7409: 
 7410: /* Override any GCC internal prototype to avoid an error.
 7411:    Use char because int might match the return type of a GCC
 7412:    builtin and then its argument prototype would still apply.  */
 7413: #ifdef __cplusplus
 7414: extern "C"
 7415: #endif
 7416: char bind ();
 7417: int
 7418: main ()
 7419: {
 7420: return bind ();
 7421:   ;
 7422:   return 0;
 7423: }
 7424: _ACEOF
 7425: if ac_fn_c_try_link "$LINENO"; then :
 7426:   ac_cv_lib_socket_bind=yes
 7427: else
 7428:   ac_cv_lib_socket_bind=no
 7429: fi
 7430: rm -f core conftest.err conftest.$ac_objext \
 7431:     conftest$ac_exeext conftest.$ac_ext
 7432: LIBS=$ac_check_lib_save_LIBS
 7433: fi
 7434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7435: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7436: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
 7437:   LIBS="$LIBS -lsocket"
 7438: else
 7439:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7440: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7441: fi
 7442: 
 7443: 
 7444: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7445: 
 7446: # Check whether --with-mysql was given.
 7447: if test "${with_mysql+set}" = set; then :
 7448:   withval=$with_mysql;
 7449: else
 7450:   with_mysql=check
 7451: fi
 7452: 
 7453: 
 7454: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7455:     libMySQLinc="-I/usr/include"
 7456:     libMySQLlib="/usr/lib"
 7457: 
 7458:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7459: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7460:     saved_CFLAGS="$CFLAGS"
 7461:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7462:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7463: /* end confdefs.h.  */
 7464: #include "mysql.h"
 7465: int
 7466: main ()
 7467: {
 7468: 
 7469:   ;
 7470:   return 0;
 7471: }
 7472: _ACEOF
 7473: if ac_fn_c_try_compile "$LINENO"; then :
 7474:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7475: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7476:                     libMySQLinc=$libMySQLinc/mysql
 7477: else
 7478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7479: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7480: fi
 7481: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7482:     CFLAGS=$saved_CFLAGS
 7483: 
 7484:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7485:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7486: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7487:         saved_CFLAGS="$CFLAGS"
 7488:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7489:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7490: /* end confdefs.h.  */
 7491: #include "mysql.h"
 7492: int
 7493: main ()
 7494: {
 7495: 
 7496:   ;
 7497:   return 0;
 7498: }
 7499: _ACEOF
 7500: if ac_fn_c_try_compile "$LINENO"; then :
 7501:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7502: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7503:                         libMySQLinc=$libMySQLinc
 7504: else
 7505:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7506: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7507: fi
 7508: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7509:         CFLAGS=$saved_CFLAGS
 7510:         libMySQLinc=$libMySQLinc/mysql
 7511:     fi
 7512: 
 7513:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7514:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7515: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7516:         saved_CFLAGS="$CFLAGS"
 7517:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7518:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7519: /* end confdefs.h.  */
 7520: #include "mysql.h"
 7521: int
 7522: main ()
 7523: {
 7524: 
 7525:   ;
 7526:   return 0;
 7527: }
 7528: _ACEOF
 7529: if ac_fn_c_try_compile "$LINENO"; then :
 7530:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7531: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7532:                         libMySQLinc=$libMySQLinc/mysql
 7533: else
 7534:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7535: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7536: fi
 7537: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7538:         CFLAGS=$saved_CFLAGS
 7539:         libMySQLinc=$libMySQLinc/../local/include
 7540:         libMySQLlib=$libMySQLlib/../local/lib
 7541:     fi
 7542: 
 7543:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7544:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7545: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7546:         saved_CFLAGS="$CFLAGS"
 7547:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7548:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7549: /* end confdefs.h.  */
 7550: #include "mysql.h"
 7551: int
 7552: main ()
 7553: {
 7554: 
 7555:   ;
 7556:   return 0;
 7557: }
 7558: _ACEOF
 7559: if ac_fn_c_try_compile "$LINENO"; then :
 7560:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7561: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7562:                         libMySQLinc=$libMySQLinc/mysql
 7563: else
 7564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7565: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7566: fi
 7567: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7568:         CFLAGS=$saved_CFLAGS
 7569:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7570:         libMySQLlib=$libMySQLlib/../local/lib
 7571:     fi
 7572: else
 7573:     if test "x$with_mysql" != xno; then
 7574:         libMySQLinc="-I$with_mysql/include"
 7575:         libMySQLlib="$with_mysql/lib"
 7576: 
 7577:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7578: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7579:         saved_CFLAGS="$CFLAGS"
 7580:         CFLAGS="$CFLAGS $libMySQLinc"
 7581:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7582: /* end confdefs.h.  */
 7583: #include "mysql.h"
 7584: int
 7585: main ()
 7586: {
 7587: 
 7588:   ;
 7589:   return 0;
 7590: }
 7591: _ACEOF
 7592: if ac_fn_c_try_compile "$LINENO"; then :
 7593:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7594: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7595:                         libMySQLinc=$libMySQLinc/mysql
 7596: else
 7597:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7598: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7599: fi
 7600: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7601:         CFLAGS=$saved_CFLAGS
 7602: 
 7603:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7604:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7605: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7606:             saved_CFLAGS="$CFLAGS"
 7607:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7608:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7609: /* end confdefs.h.  */
 7610: #include "mysql.h"
 7611: int
 7612: main ()
 7613: {
 7614: 
 7615:   ;
 7616:   return 0;
 7617: }
 7618: _ACEOF
 7619: if ac_fn_c_try_compile "$LINENO"; then :
 7620:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7621: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7622:                             libMySQLinc=$libMySQLinc
 7623: else
 7624:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7625: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7626: fi
 7627: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7628:             CFLAGS=$saved_CFLAGS
 7629:             libMySQLinc=$libMySQLinc/mysql
 7630:         fi
 7631:     else
 7632:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7633:     fi
 7634: fi
 7635: 
 7636: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7637:     MYSQL_LIB=no
 7638: 
 7639:     if test $MYSQL_LIB = no; then
 7640:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7641: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7642:         saved_LIBS="$LIBS"
 7643:         if test $STATIC = no; then
 7644:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7645:         else
 7646:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7647:         fi
 7648:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7649: /* end confdefs.h.  */
 7650: #include "mysql.h"
 7651: int
 7652: main ()
 7653: {
 7654: MYSQL mysql; mysql_init(&mysql);
 7655:   ;
 7656:   return 0;
 7657: }
 7658: _ACEOF
 7659: if ac_fn_c_try_link "$LINENO"; then :
 7660:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7661: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7662: else
 7663:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7664: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7665: fi
 7666: rm -f core conftest.err conftest.$ac_objext \
 7667:     conftest$ac_exeext conftest.$ac_ext
 7668:         LIBS=$saved_LIBS;
 7669:         if test $STATIC = no; then
 7670:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7671:         else
 7672:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7673:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7674:         fi
 7675:     fi
 7676: 
 7677:     if test $MYSQL_LIB = no; then
 7678:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7679:     fi
 7680: fi
 7681: 
 7682: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7683:     libMySQLinc=
 7684:     libMySQLlib=
 7685: fi
 7686: 
 7687: 
 7688: 
 7689: 
 7690: 
 7691: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7692: 
 7693: # Check whether --with-postgresql was given.
 7694: if test "${with_postgresql+set}" = set; then :
 7695:   withval=$with_postgresql;
 7696: else
 7697:   with_postgresql=check
 7698: fi
 7699: 
 7700: 
 7701: # with_postgresql : check [pas défini], yes [uniquement --with],
 7702: # no [--without], valeur [--with=valeur].
 7703: 
 7704: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7705:     libPgSQLinc="-I/usr/include"
 7706:     libPgSQLlib="/usr/lib"
 7707: 
 7708:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7709: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7710:     saved_CFLAGS="$CFLAGS"
 7711:     CFLAGS="$CFLAGS $libPgSQLinc"
 7712:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7713: /* end confdefs.h.  */
 7714: #include "libpq-fe.h"
 7715: int
 7716: main ()
 7717: {
 7718: 
 7719:   ;
 7720:   return 0;
 7721: }
 7722: _ACEOF
 7723: if ac_fn_c_try_compile "$LINENO"; then :
 7724:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7725: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7726: else
 7727:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7728: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7729: fi
 7730: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7731:     CFLAGS=$saved_CFLAGS
 7732: 
 7733:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7734:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7735: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7736:         saved_CFLAGS="$CFLAGS"
 7737:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7738:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7739: /* end confdefs.h.  */
 7740: #include "libpq-fe.h"
 7741: int
 7742: main ()
 7743: {
 7744: 
 7745:   ;
 7746:   return 0;
 7747: }
 7748: _ACEOF
 7749: if ac_fn_c_try_compile "$LINENO"; then :
 7750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7751: $as_echo "yes" >&6; };
 7752:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7753: else
 7754:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7755: $as_echo "no" >&6; };
 7756:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7757: fi
 7758: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7759:         CFLAGS=$saved_CFLAGS
 7760:         libPgSQLinc=$libPgSQLinc/postgresql
 7761:     fi
 7762: 
 7763:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7764:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7765: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7766:         saved_CFLAGS="$CFLAGS"
 7767:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7768:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7769: /* end confdefs.h.  */
 7770: #include "libpq-fe.h"
 7771: int
 7772: main ()
 7773: {
 7774: 
 7775:   ;
 7776:   return 0;
 7777: }
 7778: _ACEOF
 7779: if ac_fn_c_try_compile "$LINENO"; then :
 7780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7781: $as_echo "yes" >&6; };
 7782:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7783: else
 7784:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7785: $as_echo "no" >&6; };
 7786:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7787: fi
 7788: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7789:         CFLAGS=$saved_CFLAGS
 7790:         libPgSQLinc=$libPgSQLinc/pgsql
 7791:     fi
 7792: 
 7793:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7794:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7795: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7796:         saved_CFLAGS="$CFLAGS"
 7797:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7798:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7799: /* end confdefs.h.  */
 7800: #include "libpq-fe.h"
 7801: int
 7802: main ()
 7803: {
 7804: 
 7805:   ;
 7806:   return 0;
 7807: }
 7808: _ACEOF
 7809: if ac_fn_c_try_compile "$LINENO"; then :
 7810:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7811: $as_echo "yes" >&6; };
 7812:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7813: else
 7814:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7815: $as_echo "no" >&6; };
 7816:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7817: fi
 7818: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7819:         CFLAGS=$saved_CFLAGS
 7820:         libPgSQLinc=$libPgSQLinc/../local/include
 7821:         libPgSQLlib=$libPgSQLlib/../local/lib
 7822:     fi
 7823: 
 7824:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7825:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7826: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7827:         saved_CFLAGS="$CFLAGS"
 7828:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7829:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7830: /* end confdefs.h.  */
 7831: #include "libpq-fe.h"
 7832: int
 7833: main ()
 7834: {
 7835: 
 7836:   ;
 7837:   return 0;
 7838: }
 7839: _ACEOF
 7840: if ac_fn_c_try_compile "$LINENO"; then :
 7841:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7842: $as_echo "yes" >&6; };
 7843:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7844: else
 7845:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7846: $as_echo "no" >&6; };
 7847:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7848: fi
 7849: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7850:         CFLAGS=$saved_CFLAGS
 7851:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7852:         libPgSQLlib=$libPgSQLlib/../local/lib
 7853:     fi
 7854: 
 7855:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7856:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7857: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7858:         saved_CFLAGS="$CFLAGS"
 7859:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7860:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7861: /* end confdefs.h.  */
 7862: #include "libpq-fe.h"
 7863: int
 7864: main ()
 7865: {
 7866: 
 7867:   ;
 7868:   return 0;
 7869: }
 7870: _ACEOF
 7871: if ac_fn_c_try_compile "$LINENO"; then :
 7872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7873: $as_echo "yes" >&6; };
 7874:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7875: else
 7876:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7877: $as_echo "no" >&6; };
 7878:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7879: fi
 7880: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7881:         CFLAGS=$saved_CFLAGS
 7882:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7883:         libPgSQLlib=$libPgSQLlib/../local/lib
 7884:     fi
 7885: else
 7886:     if test "x$with_postgresql" != xno; then
 7887:         libPgSQLinc="-I$with_postgresql/include"
 7888:         libPgSQLlib="$with_postgresql/lib"
 7889: 
 7890:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7891: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7892:         saved_CFLAGS="$CFLAGS"
 7893:         CFLAGS="$CFLAGS $libPgSQLinc"
 7894:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7895: /* end confdefs.h.  */
 7896: #include "libpq-fe.h"
 7897: int
 7898: main ()
 7899: {
 7900: 
 7901:   ;
 7902:   return 0;
 7903: }
 7904: _ACEOF
 7905: if ac_fn_c_try_compile "$LINENO"; then :
 7906:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7907: $as_echo "yes" >&6; };
 7908:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7909: else
 7910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7911: $as_echo "no" >&6; };
 7912:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7913: fi
 7914: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7915:         CFLAGS=$saved_CFLAGS
 7916: 
 7917:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7918:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7919: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7920:             saved_CFLAGS="$CFLAGS"
 7921:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7922:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7923: /* end confdefs.h.  */
 7924: #include "libpq-fe.h"
 7925: int
 7926: main ()
 7927: {
 7928: 
 7929:   ;
 7930:   return 0;
 7931: }
 7932: _ACEOF
 7933: if ac_fn_c_try_compile "$LINENO"; then :
 7934:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7935: $as_echo "yes" >&6; };
 7936:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7937: else
 7938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7939: $as_echo "no" >&6; };
 7940:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7941: fi
 7942: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7943:             CFLAGS=$saved_CFLAGS
 7944:             libPgSQLinc=$libPgSQLinc/postgresql
 7945:         fi
 7946: 
 7947:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7948:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7949: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7950:             saved_CFLAGS="$CFLAGS"
 7951:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7952:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7953: /* end confdefs.h.  */
 7954: #include "libpq-fe.h"
 7955: int
 7956: main ()
 7957: {
 7958: 
 7959:   ;
 7960:   return 0;
 7961: }
 7962: _ACEOF
 7963: if ac_fn_c_try_compile "$LINENO"; then :
 7964:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7965: $as_echo "yes" >&6; };
 7966:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7967: else
 7968:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7969: $as_echo "no" >&6; };
 7970:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7971: fi
 7972: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7973:             CFLAGS=$saved_CFLAGS
 7974:             libPgSQLinc=$libPgSQLinc/pgsql
 7975:         fi
 7976:     else
 7977:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7978:     fi
 7979: fi
 7980: 
 7981: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7982:     POSTGRESQL_LIB=no
 7983: 
 7984:     if test $POSTGRESQL_LIB = no; then
 7985:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7986: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7987:         saved_LIBS="$LIBS"
 7988:         if test $STATIC = no; then
 7989:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7990:         else
 7991:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 7992:         fi
 7993:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7994: /* end confdefs.h.  */
 7995: #include "libpq-fe.h"
 7996: int
 7997: main ()
 7998: {
 7999: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 8000:              PQconnectdb(conninfo);
 8001:   ;
 8002:   return 0;
 8003: }
 8004: _ACEOF
 8005: if ac_fn_c_try_link "$LINENO"; then :
 8006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 8007: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 8008: else
 8009:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8010: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 8011: fi
 8012: rm -f core conftest.err conftest.$ac_objext \
 8013:     conftest$ac_exeext conftest.$ac_ext
 8014:         LIBS=$saved_LIBS;
 8015:         if test $STATIC = no; then
 8016:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 8017:         else
 8018:             libPgSQLlib="$libPgSQLlib/libpq.a"
 8019:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 8020:         fi
 8021:     fi
 8022: fi
 8023: 
 8024: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 8025:     libPgSQLinc=
 8026:     libPgSQLlib=
 8027: fi
 8028: 
 8029: 
 8030: 
 8031: 
 8032: 
 8033: # with_postgresql : check [pas défini], yes [uniquement --with],
 8034: # no [--without], valeur [--with=valeur].
 8035: 
 8036: # Check whether --with-bourne_shell was given.
 8037: if test "${with_bourne_shell+set}" = set; then :
 8038:   withval=$with_bourne_shell;
 8039: else
 8040:   with_bourne_shell=no
 8041: fi
 8042: 
 8043: 
 8044: if test "x$with_bourne_shell" = xyes; then
 8045:     as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
 8046: fi
 8047: 
 8048: if test "x$with_bourne_shell" = xno; then
 8049:     if test $(uname) = "OS/2"; then
 8050:         as_fn_error $? "With OS/2 or eComstation, you have to specify a valide
 8051: shell path with --with-bourne-shell=PATH !" "$LINENO" 5
 8052:     fi
 8053: 
 8054:     BSH_PATH=
 8055: else
 8056:     if test ! -x $with_bourne_shell; then
 8057:         as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
 8058:     fi
 8059: 
 8060:     if test $(uname) = "OS/2"; then
 8061:         with_os2_bourne_shell=$(echo $with_bourne_shell | \
 8062:                 sed -e '1,$s/\//\\\\\\\\/g')
 8063:         BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
 8064:     else
 8065:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
 8066: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
 8067:         BSH_PATH=
 8068:     fi
 8069: fi
 8070: 
 8071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 8072: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 8073: if test "${ac_cv_path_GREP+set}" = set; then :
 8074:   $as_echo_n "(cached) " >&6
 8075: else
 8076:   if test -z "$GREP"; then
 8077:   ac_path_GREP_found=false
 8078:   # Loop through the user's path and test for each of PROGNAME-LIST
 8079:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8080: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 8081: do
 8082:   IFS=$as_save_IFS
 8083:   test -z "$as_dir" && as_dir=.
 8084:     for ac_prog in grep ggrep; do
 8085:     for ac_exec_ext in '' $ac_executable_extensions; do
 8086:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 8087:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 8088: # Check for GNU ac_path_GREP and select it if it is found.
 8089:   # Check for GNU $ac_path_GREP
 8090: case `"$ac_path_GREP" --version 2>&1` in
 8091: *GNU*)
 8092:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 8093: *)
 8094:   ac_count=0
 8095:   $as_echo_n 0123456789 >"conftest.in"
 8096:   while :
 8097:   do
 8098:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 8099:     mv "conftest.tmp" "conftest.in"
 8100:     cp "conftest.in" "conftest.nl"
 8101:     $as_echo 'GREP' >> "conftest.nl"
 8102:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 8103:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 8104:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 8105:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 8106:       # Best one so far, save it but keep looking for a better one
 8107:       ac_cv_path_GREP="$ac_path_GREP"
 8108:       ac_path_GREP_max=$ac_count
 8109:     fi
 8110:     # 10*(2^10) chars as input seems more than enough
 8111:     test $ac_count -gt 10 && break
 8112:   done
 8113:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 8114: esac
 8115: 
 8116:       $ac_path_GREP_found && break 3
 8117:     done
 8118:   done
 8119:   done
 8120: IFS=$as_save_IFS
 8121:   if test -z "$ac_cv_path_GREP"; then
 8122:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 8123:   fi
 8124: else
 8125:   ac_cv_path_GREP=$GREP
 8126: fi
 8127: 
 8128: fi
 8129: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 8130: $as_echo "$ac_cv_path_GREP" >&6; }
 8131:  GREP="$ac_cv_path_GREP"
 8132: 
 8133: 
 8134: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 8135: $as_echo_n "checking for egrep... " >&6; }
 8136: if test "${ac_cv_path_EGREP+set}" = set; then :
 8137:   $as_echo_n "(cached) " >&6
 8138: else
 8139:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 8140:    then ac_cv_path_EGREP="$GREP -E"
 8141:    else
 8142:      if test -z "$EGREP"; then
 8143:   ac_path_EGREP_found=false
 8144:   # Loop through the user's path and test for each of PROGNAME-LIST
 8145:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8146: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 8147: do
 8148:   IFS=$as_save_IFS
 8149:   test -z "$as_dir" && as_dir=.
 8150:     for ac_prog in egrep; do
 8151:     for ac_exec_ext in '' $ac_executable_extensions; do
 8152:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 8153:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 8154: # Check for GNU ac_path_EGREP and select it if it is found.
 8155:   # Check for GNU $ac_path_EGREP
 8156: case `"$ac_path_EGREP" --version 2>&1` in
 8157: *GNU*)
 8158:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 8159: *)
 8160:   ac_count=0
 8161:   $as_echo_n 0123456789 >"conftest.in"
 8162:   while :
 8163:   do
 8164:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 8165:     mv "conftest.tmp" "conftest.in"
 8166:     cp "conftest.in" "conftest.nl"
 8167:     $as_echo 'EGREP' >> "conftest.nl"
 8168:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 8169:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 8170:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 8171:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 8172:       # Best one so far, save it but keep looking for a better one
 8173:       ac_cv_path_EGREP="$ac_path_EGREP"
 8174:       ac_path_EGREP_max=$ac_count
 8175:     fi
 8176:     # 10*(2^10) chars as input seems more than enough
 8177:     test $ac_count -gt 10 && break
 8178:   done
 8179:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 8180: esac
 8181: 
 8182:       $ac_path_EGREP_found && break 3
 8183:     done
 8184:   done
 8185:   done
 8186: IFS=$as_save_IFS
 8187:   if test -z "$ac_cv_path_EGREP"; then
 8188:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 8189:   fi
 8190: else
 8191:   ac_cv_path_EGREP=$EGREP
 8192: fi
 8193: 
 8194:    fi
 8195: fi
 8196: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 8197: $as_echo "$ac_cv_path_EGREP" >&6; }
 8198:  EGREP="$ac_cv_path_EGREP"
 8199: 
 8200: 
 8201: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8202: $as_echo_n "checking for ANSI C header files... " >&6; }
 8203: if test "${ac_cv_header_stdc+set}" = set; then :
 8204:   $as_echo_n "(cached) " >&6
 8205: else
 8206:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8207: /* end confdefs.h.  */
 8208: #include <stdlib.h>
 8209: #include <stdarg.h>
 8210: #include <string.h>
 8211: #include <float.h>
 8212: 
 8213: int
 8214: main ()
 8215: {
 8216: 
 8217:   ;
 8218:   return 0;
 8219: }
 8220: _ACEOF
 8221: if ac_fn_c_try_compile "$LINENO"; then :
 8222:   ac_cv_header_stdc=yes
 8223: else
 8224:   ac_cv_header_stdc=no
 8225: fi
 8226: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8227: 
 8228: if test $ac_cv_header_stdc = yes; then
 8229:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8230:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8231: /* end confdefs.h.  */
 8232: #include <string.h>
 8233: 
 8234: _ACEOF
 8235: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8236:   $EGREP "memchr" >/dev/null 2>&1; then :
 8237: 
 8238: else
 8239:   ac_cv_header_stdc=no
 8240: fi
 8241: rm -f conftest*
 8242: 
 8243: fi
 8244: 
 8245: if test $ac_cv_header_stdc = yes; then
 8246:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8247:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8248: /* end confdefs.h.  */
 8249: #include <stdlib.h>
 8250: 
 8251: _ACEOF
 8252: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8253:   $EGREP "free" >/dev/null 2>&1; then :
 8254: 
 8255: else
 8256:   ac_cv_header_stdc=no
 8257: fi
 8258: rm -f conftest*
 8259: 
 8260: fi
 8261: 
 8262: if test $ac_cv_header_stdc = yes; then
 8263:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8264:   if test "$cross_compiling" = yes; then :
 8265:   :
 8266: else
 8267:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8268: /* end confdefs.h.  */
 8269: #include <ctype.h>
 8270: #include <stdlib.h>
 8271: #if ((' ' & 0x0FF) == 0x020)
 8272: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8273: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8274: #else
 8275: # define ISLOWER(c) \
 8276:            (('a' <= (c) && (c) <= 'i') \
 8277:              || ('j' <= (c) && (c) <= 'r') \
 8278:              || ('s' <= (c) && (c) <= 'z'))
 8279: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8280: #endif
 8281: 
 8282: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8283: int
 8284: main ()
 8285: {
 8286:   int i;
 8287:   for (i = 0; i < 256; i++)
 8288:     if (XOR (islower (i), ISLOWER (i))
 8289:     || toupper (i) != TOUPPER (i))
 8290:       return 2;
 8291:   return 0;
 8292: }
 8293: _ACEOF
 8294: if ac_fn_c_try_run "$LINENO"; then :
 8295: 
 8296: else
 8297:   ac_cv_header_stdc=no
 8298: fi
 8299: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8300:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8301: fi
 8302: 
 8303: fi
 8304: fi
 8305: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8306: $as_echo "$ac_cv_header_stdc" >&6; }
 8307: if test $ac_cv_header_stdc = yes; then
 8308: 
 8309: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8310: 
 8311: fi
 8312: 
 8313: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 8314: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 8315:           inttypes.h stdint.h unistd.h
 8316: do :
 8317:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8318: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 8319: "
 8320: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8321:   cat >>confdefs.h <<_ACEOF
 8322: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8323: _ACEOF
 8324: 
 8325: fi
 8326: 
 8327: done
 8328: 
 8329: 
 8330: # The cast to long int works around a bug in the HP C Compiler
 8331: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8332: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8333: # This bug is HP SR number 8606223364.
 8334: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 8335: $as_echo_n "checking size of void *... " >&6; }
 8336: if test "${ac_cv_sizeof_void_p+set}" = set; then :
 8337:   $as_echo_n "(cached) " >&6
 8338: else
 8339:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 8340: 
 8341: else
 8342:   if test "$ac_cv_type_void_p" = yes; then
 8343:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8344: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8345: as_fn_error 77 "cannot compute sizeof (void *)
 8346: See \`config.log' for more details" "$LINENO" 5 ; }
 8347:    else
 8348:      ac_cv_sizeof_void_p=0
 8349:    fi
 8350: fi
 8351: 
 8352: fi
 8353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 8354: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 8355: 
 8356: 
 8357: 
 8358: cat >>confdefs.h <<_ACEOF
 8359: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 8360: _ACEOF
 8361: 
 8362: 
 8363: # The cast to long int works around a bug in the HP C Compiler
 8364: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8365: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8366: # This bug is HP SR number 8606223364.
 8367: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 8368: $as_echo_n "checking size of char... " >&6; }
 8369: if test "${ac_cv_sizeof_char+set}" = set; then :
 8370:   $as_echo_n "(cached) " >&6
 8371: else
 8372:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 8373: 
 8374: else
 8375:   if test "$ac_cv_type_char" = yes; then
 8376:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8377: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8378: as_fn_error 77 "cannot compute sizeof (char)
 8379: See \`config.log' for more details" "$LINENO" 5 ; }
 8380:    else
 8381:      ac_cv_sizeof_char=0
 8382:    fi
 8383: fi
 8384: 
 8385: fi
 8386: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 8387: $as_echo "$ac_cv_sizeof_char" >&6; }
 8388: 
 8389: 
 8390: 
 8391: cat >>confdefs.h <<_ACEOF
 8392: #define SIZEOF_CHAR $ac_cv_sizeof_char
 8393: _ACEOF
 8394: 
 8395: 
 8396: # The cast to long int works around a bug in the HP C Compiler
 8397: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8398: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8399: # This bug is HP SR number 8606223364.
 8400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 8401: $as_echo_n "checking size of short int... " >&6; }
 8402: if test "${ac_cv_sizeof_short_int+set}" = set; then :
 8403:   $as_echo_n "(cached) " >&6
 8404: else
 8405:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 8406: 
 8407: else
 8408:   if test "$ac_cv_type_short_int" = yes; then
 8409:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8410: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8411: as_fn_error 77 "cannot compute sizeof (short int)
 8412: See \`config.log' for more details" "$LINENO" 5 ; }
 8413:    else
 8414:      ac_cv_sizeof_short_int=0
 8415:    fi
 8416: fi
 8417: 
 8418: fi
 8419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8420: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8421: 
 8422: 
 8423: 
 8424: cat >>confdefs.h <<_ACEOF
 8425: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8426: _ACEOF
 8427: 
 8428: 
 8429: # The cast to long int works around a bug in the HP C Compiler
 8430: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8431: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8432: # This bug is HP SR number 8606223364.
 8433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8434: $as_echo_n "checking size of int... " >&6; }
 8435: if test "${ac_cv_sizeof_int+set}" = set; then :
 8436:   $as_echo_n "(cached) " >&6
 8437: else
 8438:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8439: 
 8440: else
 8441:   if test "$ac_cv_type_int" = yes; then
 8442:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8443: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8444: as_fn_error 77 "cannot compute sizeof (int)
 8445: See \`config.log' for more details" "$LINENO" 5 ; }
 8446:    else
 8447:      ac_cv_sizeof_int=0
 8448:    fi
 8449: fi
 8450: 
 8451: fi
 8452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8453: $as_echo "$ac_cv_sizeof_int" >&6; }
 8454: 
 8455: 
 8456: 
 8457: cat >>confdefs.h <<_ACEOF
 8458: #define SIZEOF_INT $ac_cv_sizeof_int
 8459: _ACEOF
 8460: 
 8461: 
 8462: # The cast to long int works around a bug in the HP C Compiler
 8463: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8464: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8465: # This bug is HP SR number 8606223364.
 8466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8467: $as_echo_n "checking size of long int... " >&6; }
 8468: if test "${ac_cv_sizeof_long_int+set}" = set; then :
 8469:   $as_echo_n "(cached) " >&6
 8470: else
 8471:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8472: 
 8473: else
 8474:   if test "$ac_cv_type_long_int" = yes; then
 8475:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8476: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8477: as_fn_error 77 "cannot compute sizeof (long int)
 8478: See \`config.log' for more details" "$LINENO" 5 ; }
 8479:    else
 8480:      ac_cv_sizeof_long_int=0
 8481:    fi
 8482: fi
 8483: 
 8484: fi
 8485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8486: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8487: 
 8488: 
 8489: 
 8490: cat >>confdefs.h <<_ACEOF
 8491: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8492: _ACEOF
 8493: 
 8494: 
 8495: # The cast to long int works around a bug in the HP C Compiler
 8496: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8497: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8498: # This bug is HP SR number 8606223364.
 8499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8500: $as_echo_n "checking size of long long int... " >&6; }
 8501: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
 8502:   $as_echo_n "(cached) " >&6
 8503: else
 8504:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8505: 
 8506: else
 8507:   if test "$ac_cv_type_long_long_int" = yes; then
 8508:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8509: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8510: as_fn_error 77 "cannot compute sizeof (long long int)
 8511: See \`config.log' for more details" "$LINENO" 5 ; }
 8512:    else
 8513:      ac_cv_sizeof_long_long_int=0
 8514:    fi
 8515: fi
 8516: 
 8517: fi
 8518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8519: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8520: 
 8521: 
 8522: 
 8523: cat >>confdefs.h <<_ACEOF
 8524: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8525: _ACEOF
 8526: 
 8527: 
 8528: # The cast to long int works around a bug in the HP C Compiler
 8529: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8530: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8531: # This bug is HP SR number 8606223364.
 8532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8533: $as_echo_n "checking size of float... " >&6; }
 8534: if test "${ac_cv_sizeof_float+set}" = set; then :
 8535:   $as_echo_n "(cached) " >&6
 8536: else
 8537:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8538: 
 8539: else
 8540:   if test "$ac_cv_type_float" = yes; then
 8541:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8542: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8543: as_fn_error 77 "cannot compute sizeof (float)
 8544: See \`config.log' for more details" "$LINENO" 5 ; }
 8545:    else
 8546:      ac_cv_sizeof_float=0
 8547:    fi
 8548: fi
 8549: 
 8550: fi
 8551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8552: $as_echo "$ac_cv_sizeof_float" >&6; }
 8553: 
 8554: 
 8555: 
 8556: cat >>confdefs.h <<_ACEOF
 8557: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8558: _ACEOF
 8559: 
 8560: 
 8561: # The cast to long int works around a bug in the HP C Compiler
 8562: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8563: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8564: # This bug is HP SR number 8606223364.
 8565: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8566: $as_echo_n "checking size of double... " >&6; }
 8567: if test "${ac_cv_sizeof_double+set}" = set; then :
 8568:   $as_echo_n "(cached) " >&6
 8569: else
 8570:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8571: 
 8572: else
 8573:   if test "$ac_cv_type_double" = yes; then
 8574:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8575: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8576: as_fn_error 77 "cannot compute sizeof (double)
 8577: See \`config.log' for more details" "$LINENO" 5 ; }
 8578:    else
 8579:      ac_cv_sizeof_double=0
 8580:    fi
 8581: fi
 8582: 
 8583: fi
 8584: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8585: $as_echo "$ac_cv_sizeof_double" >&6; }
 8586: 
 8587: 
 8588: 
 8589: cat >>confdefs.h <<_ACEOF
 8590: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8591: _ACEOF
 8592: 
 8593: 
 8594: # The cast to long int works around a bug in the HP C Compiler
 8595: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8596: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8597: # This bug is HP SR number 8606223364.
 8598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8599: $as_echo_n "checking size of long double... " >&6; }
 8600: if test "${ac_cv_sizeof_long_double+set}" = set; then :
 8601:   $as_echo_n "(cached) " >&6
 8602: else
 8603:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8604: 
 8605: else
 8606:   if test "$ac_cv_type_long_double" = yes; then
 8607:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8608: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8609: as_fn_error 77 "cannot compute sizeof (long double)
 8610: See \`config.log' for more details" "$LINENO" 5 ; }
 8611:    else
 8612:      ac_cv_sizeof_long_double=0
 8613:    fi
 8614: fi
 8615: 
 8616: fi
 8617: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8618: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8619: 
 8620: 
 8621: 
 8622: cat >>confdefs.h <<_ACEOF
 8623: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8624: _ACEOF
 8625: 
 8626: 
 8627: 
 8628: ac_header_dirent=no
 8629: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8630:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8631: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8632: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8633: if eval "test \"\${$as_ac_Header+set}\"" = set; then :
 8634:   $as_echo_n "(cached) " >&6
 8635: else
 8636:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8637: /* end confdefs.h.  */
 8638: #include <sys/types.h>
 8639: #include <$ac_hdr>
 8640: 
 8641: int
 8642: main ()
 8643: {
 8644: if ((DIR *) 0)
 8645: return 0;
 8646:   ;
 8647:   return 0;
 8648: }
 8649: _ACEOF
 8650: if ac_fn_c_try_compile "$LINENO"; then :
 8651:   eval "$as_ac_Header=yes"
 8652: else
 8653:   eval "$as_ac_Header=no"
 8654: fi
 8655: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8656: fi
 8657: eval ac_res=\$$as_ac_Header
 8658:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8659: $as_echo "$ac_res" >&6; }
 8660: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8661:   cat >>confdefs.h <<_ACEOF
 8662: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8663: _ACEOF
 8664: 
 8665: ac_header_dirent=$ac_hdr; break
 8666: fi
 8667: 
 8668: done
 8669: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8670: if test $ac_header_dirent = dirent.h; then
 8671:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8672: $as_echo_n "checking for library containing opendir... " >&6; }
 8673: if test "${ac_cv_search_opendir+set}" = set; then :
 8674:   $as_echo_n "(cached) " >&6
 8675: else
 8676:   ac_func_search_save_LIBS=$LIBS
 8677: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8678: /* end confdefs.h.  */
 8679: 
 8680: /* Override any GCC internal prototype to avoid an error.
 8681:    Use char because int might match the return type of a GCC
 8682:    builtin and then its argument prototype would still apply.  */
 8683: #ifdef __cplusplus
 8684: extern "C"
 8685: #endif
 8686: char opendir ();
 8687: int
 8688: main ()
 8689: {
 8690: return opendir ();
 8691:   ;
 8692:   return 0;
 8693: }
 8694: _ACEOF
 8695: for ac_lib in '' dir; do
 8696:   if test -z "$ac_lib"; then
 8697:     ac_res="none required"
 8698:   else
 8699:     ac_res=-l$ac_lib
 8700:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8701:   fi
 8702:   if ac_fn_c_try_link "$LINENO"; then :
 8703:   ac_cv_search_opendir=$ac_res
 8704: fi
 8705: rm -f core conftest.err conftest.$ac_objext \
 8706:     conftest$ac_exeext
 8707:   if test "${ac_cv_search_opendir+set}" = set; then :
 8708:   break
 8709: fi
 8710: done
 8711: if test "${ac_cv_search_opendir+set}" = set; then :
 8712: 
 8713: else
 8714:   ac_cv_search_opendir=no
 8715: fi
 8716: rm conftest.$ac_ext
 8717: LIBS=$ac_func_search_save_LIBS
 8718: fi
 8719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8720: $as_echo "$ac_cv_search_opendir" >&6; }
 8721: ac_res=$ac_cv_search_opendir
 8722: if test "$ac_res" != no; then :
 8723:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8724: 
 8725: fi
 8726: 
 8727: else
 8728:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8729: $as_echo_n "checking for library containing opendir... " >&6; }
 8730: if test "${ac_cv_search_opendir+set}" = set; then :
 8731:   $as_echo_n "(cached) " >&6
 8732: else
 8733:   ac_func_search_save_LIBS=$LIBS
 8734: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8735: /* end confdefs.h.  */
 8736: 
 8737: /* Override any GCC internal prototype to avoid an error.
 8738:    Use char because int might match the return type of a GCC
 8739:    builtin and then its argument prototype would still apply.  */
 8740: #ifdef __cplusplus
 8741: extern "C"
 8742: #endif
 8743: char opendir ();
 8744: int
 8745: main ()
 8746: {
 8747: return opendir ();
 8748:   ;
 8749:   return 0;
 8750: }
 8751: _ACEOF
 8752: for ac_lib in '' x; do
 8753:   if test -z "$ac_lib"; then
 8754:     ac_res="none required"
 8755:   else
 8756:     ac_res=-l$ac_lib
 8757:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8758:   fi
 8759:   if ac_fn_c_try_link "$LINENO"; then :
 8760:   ac_cv_search_opendir=$ac_res
 8761: fi
 8762: rm -f core conftest.err conftest.$ac_objext \
 8763:     conftest$ac_exeext
 8764:   if test "${ac_cv_search_opendir+set}" = set; then :
 8765:   break
 8766: fi
 8767: done
 8768: if test "${ac_cv_search_opendir+set}" = set; then :
 8769: 
 8770: else
 8771:   ac_cv_search_opendir=no
 8772: fi
 8773: rm conftest.$ac_ext
 8774: LIBS=$ac_func_search_save_LIBS
 8775: fi
 8776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8777: $as_echo "$ac_cv_search_opendir" >&6; }
 8778: ac_res=$ac_cv_search_opendir
 8779: if test "$ac_res" != no; then :
 8780:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8781: 
 8782: fi
 8783: 
 8784: fi
 8785: 
 8786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8787: $as_echo_n "checking for ANSI C header files... " >&6; }
 8788: if test "${ac_cv_header_stdc+set}" = set; then :
 8789:   $as_echo_n "(cached) " >&6
 8790: else
 8791:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8792: /* end confdefs.h.  */
 8793: #include <stdlib.h>
 8794: #include <stdarg.h>
 8795: #include <string.h>
 8796: #include <float.h>
 8797: 
 8798: int
 8799: main ()
 8800: {
 8801: 
 8802:   ;
 8803:   return 0;
 8804: }
 8805: _ACEOF
 8806: if ac_fn_c_try_compile "$LINENO"; then :
 8807:   ac_cv_header_stdc=yes
 8808: else
 8809:   ac_cv_header_stdc=no
 8810: fi
 8811: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8812: 
 8813: if test $ac_cv_header_stdc = yes; then
 8814:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8815:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8816: /* end confdefs.h.  */
 8817: #include <string.h>
 8818: 
 8819: _ACEOF
 8820: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8821:   $EGREP "memchr" >/dev/null 2>&1; then :
 8822: 
 8823: else
 8824:   ac_cv_header_stdc=no
 8825: fi
 8826: rm -f conftest*
 8827: 
 8828: fi
 8829: 
 8830: if test $ac_cv_header_stdc = yes; then
 8831:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8832:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8833: /* end confdefs.h.  */
 8834: #include <stdlib.h>
 8835: 
 8836: _ACEOF
 8837: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8838:   $EGREP "free" >/dev/null 2>&1; then :
 8839: 
 8840: else
 8841:   ac_cv_header_stdc=no
 8842: fi
 8843: rm -f conftest*
 8844: 
 8845: fi
 8846: 
 8847: if test $ac_cv_header_stdc = yes; then
 8848:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8849:   if test "$cross_compiling" = yes; then :
 8850:   :
 8851: else
 8852:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8853: /* end confdefs.h.  */
 8854: #include <ctype.h>
 8855: #include <stdlib.h>
 8856: #if ((' ' & 0x0FF) == 0x020)
 8857: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8858: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8859: #else
 8860: # define ISLOWER(c) \
 8861:            (('a' <= (c) && (c) <= 'i') \
 8862:              || ('j' <= (c) && (c) <= 'r') \
 8863:              || ('s' <= (c) && (c) <= 'z'))
 8864: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8865: #endif
 8866: 
 8867: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8868: int
 8869: main ()
 8870: {
 8871:   int i;
 8872:   for (i = 0; i < 256; i++)
 8873:     if (XOR (islower (i), ISLOWER (i))
 8874:     || toupper (i) != TOUPPER (i))
 8875:       return 2;
 8876:   return 0;
 8877: }
 8878: _ACEOF
 8879: if ac_fn_c_try_run "$LINENO"; then :
 8880: 
 8881: else
 8882:   ac_cv_header_stdc=no
 8883: fi
 8884: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8885:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8886: fi
 8887: 
 8888: fi
 8889: fi
 8890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8891: $as_echo "$ac_cv_header_stdc" >&6; }
 8892: if test $ac_cv_header_stdc = yes; then
 8893: 
 8894: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8895: 
 8896: fi
 8897: 
 8898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8899: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8900: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 8901:   $as_echo_n "(cached) " >&6
 8902: else
 8903:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8904: /* end confdefs.h.  */
 8905: #include <sys/types.h>
 8906: #include <sys/wait.h>
 8907: #ifndef WEXITSTATUS
 8908: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8909: #endif
 8910: #ifndef WIFEXITED
 8911: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8912: #endif
 8913: 
 8914: int
 8915: main ()
 8916: {
 8917:   int s;
 8918:   wait (&s);
 8919:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8920:   ;
 8921:   return 0;
 8922: }
 8923: _ACEOF
 8924: if ac_fn_c_try_compile "$LINENO"; then :
 8925:   ac_cv_header_sys_wait_h=yes
 8926: else
 8927:   ac_cv_header_sys_wait_h=no
 8928: fi
 8929: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8930: fi
 8931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8932: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8933: if test $ac_cv_header_sys_wait_h = yes; then
 8934: 
 8935: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8936: 
 8937: fi
 8938: 
 8939: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8940:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8941:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8942: do :
 8943:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8944: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8945: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8946:   cat >>confdefs.h <<_ACEOF
 8947: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8948: _ACEOF
 8949: 
 8950: fi
 8951: 
 8952: done
 8953: 
 8954: 
 8955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8956: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8957: if test "${ac_cv_c_const+set}" = set; then :
 8958:   $as_echo_n "(cached) " >&6
 8959: else
 8960:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8961: /* end confdefs.h.  */
 8962: 
 8963: int
 8964: main ()
 8965: {
 8966: /* FIXME: Include the comments suggested by Paul. */
 8967: #ifndef __cplusplus
 8968:   /* Ultrix mips cc rejects this.  */
 8969:   typedef int charset[2];
 8970:   const charset cs;
 8971:   /* SunOS 4.1.1 cc rejects this.  */
 8972:   char const *const *pcpcc;
 8973:   char **ppc;
 8974:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8975:   struct point {int x, y;};
 8976:   static struct point const zero = {0,0};
 8977:   /* AIX XL C 1.02.0.0 rejects this.
 8978:      It does not let you subtract one const X* pointer from another in
 8979:      an arm of an if-expression whose if-part is not a constant
 8980:      expression */
 8981:   const char *g = "string";
 8982:   pcpcc = &g + (g ? g-g : 0);
 8983:   /* HPUX 7.0 cc rejects these. */
 8984:   ++pcpcc;
 8985:   ppc = (char**) pcpcc;
 8986:   pcpcc = (char const *const *) ppc;
 8987:   { /* SCO 3.2v4 cc rejects this.  */
 8988:     char *t;
 8989:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8990: 
 8991:     *t++ = 0;
 8992:     if (s) return 0;
 8993:   }
 8994:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8995:     int x[] = {25, 17};
 8996:     const int *foo = &x[0];
 8997:     ++foo;
 8998:   }
 8999:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 9000:     typedef const int *iptr;
 9001:     iptr p = 0;
 9002:     ++p;
 9003:   }
 9004:   { /* AIX XL C 1.02.0.0 rejects this saying
 9005:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 9006:     struct s { int j; const int *ap[3]; };
 9007:     struct s *b; b->j = 5;
 9008:   }
 9009:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 9010:     const int foo = 10;
 9011:     if (!foo) return 0;
 9012:   }
 9013:   return !cs[0] && !zero.x;
 9014: #endif
 9015: 
 9016:   ;
 9017:   return 0;
 9018: }
 9019: _ACEOF
 9020: if ac_fn_c_try_compile "$LINENO"; then :
 9021:   ac_cv_c_const=yes
 9022: else
 9023:   ac_cv_c_const=no
 9024: fi
 9025: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9026: fi
 9027: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 9028: $as_echo "$ac_cv_c_const" >&6; }
 9029: if test $ac_cv_c_const = no; then
 9030: 
 9031: $as_echo "#define const /**/" >>confdefs.h
 9032: 
 9033: fi
 9034: 
 9035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 9036: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 9037: if test "${ac_cv_type_uid_t+set}" = set; then :
 9038:   $as_echo_n "(cached) " >&6
 9039: else
 9040:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9041: /* end confdefs.h.  */
 9042: #include <sys/types.h>
 9043: 
 9044: _ACEOF
 9045: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 9046:   $EGREP "uid_t" >/dev/null 2>&1; then :
 9047:   ac_cv_type_uid_t=yes
 9048: else
 9049:   ac_cv_type_uid_t=no
 9050: fi
 9051: rm -f conftest*
 9052: 
 9053: fi
 9054: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 9055: $as_echo "$ac_cv_type_uid_t" >&6; }
 9056: if test $ac_cv_type_uid_t = no; then
 9057: 
 9058: $as_echo "#define uid_t int" >>confdefs.h
 9059: 
 9060: 
 9061: $as_echo "#define gid_t int" >>confdefs.h
 9062: 
 9063: fi
 9064: 
 9065: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 9066: if test "x$ac_cv_type_pid_t" = x""yes; then :
 9067: 
 9068: else
 9069: 
 9070: cat >>confdefs.h <<_ACEOF
 9071: #define pid_t int
 9072: _ACEOF
 9073: 
 9074: fi
 9075: 
 9076: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 9077: if test "x$ac_cv_type_size_t" = x""yes; then :
 9078: 
 9079: else
 9080: 
 9081: cat >>confdefs.h <<_ACEOF
 9082: #define size_t unsigned int
 9083: _ACEOF
 9084: 
 9085: fi
 9086: 
 9087: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 9088: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 9089: if test "${ac_cv_header_time+set}" = set; then :
 9090:   $as_echo_n "(cached) " >&6
 9091: else
 9092:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9093: /* end confdefs.h.  */
 9094: #include <sys/types.h>
 9095: #include <sys/time.h>
 9096: #include <time.h>
 9097: 
 9098: int
 9099: main ()
 9100: {
 9101: if ((struct tm *) 0)
 9102: return 0;
 9103:   ;
 9104:   return 0;
 9105: }
 9106: _ACEOF
 9107: if ac_fn_c_try_compile "$LINENO"; then :
 9108:   ac_cv_header_time=yes
 9109: else
 9110:   ac_cv_header_time=no
 9111: fi
 9112: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9113: fi
 9114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 9115: $as_echo "$ac_cv_header_time" >&6; }
 9116: if test $ac_cv_header_time = yes; then
 9117: 
 9118: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 9119: 
 9120: fi
 9121: 
 9122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 9123: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 9124: if test "${ac_cv_struct_tm+set}" = set; then :
 9125:   $as_echo_n "(cached) " >&6
 9126: else
 9127:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9128: /* end confdefs.h.  */
 9129: #include <sys/types.h>
 9130: #include <time.h>
 9131: 
 9132: int
 9133: main ()
 9134: {
 9135: struct tm tm;
 9136:                      int *p = &tm.tm_sec;
 9137:                      return !p;
 9138:   ;
 9139:   return 0;
 9140: }
 9141: _ACEOF
 9142: if ac_fn_c_try_compile "$LINENO"; then :
 9143:   ac_cv_struct_tm=time.h
 9144: else
 9145:   ac_cv_struct_tm=sys/time.h
 9146: fi
 9147: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9148: fi
 9149: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 9150: $as_echo "$ac_cv_struct_tm" >&6; }
 9151: if test $ac_cv_struct_tm = sys/time.h; then
 9152: 
 9153: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 9154: 
 9155: fi
 9156: 
 9157: 
 9158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 9159: $as_echo_n "checking return type of signal handlers... " >&6; }
 9160: if test "${ac_cv_type_signal+set}" = set; then :
 9161:   $as_echo_n "(cached) " >&6
 9162: else
 9163:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9164: /* end confdefs.h.  */
 9165: #include <sys/types.h>
 9166: #include <signal.h>
 9167: 
 9168: int
 9169: main ()
 9170: {
 9171: return *(signal (0, 0)) (0) == 1;
 9172:   ;
 9173:   return 0;
 9174: }
 9175: _ACEOF
 9176: if ac_fn_c_try_compile "$LINENO"; then :
 9177:   ac_cv_type_signal=int
 9178: else
 9179:   ac_cv_type_signal=void
 9180: fi
 9181: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9182: fi
 9183: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 9184: $as_echo "$ac_cv_type_signal" >&6; }
 9185: 
 9186: cat >>confdefs.h <<_ACEOF
 9187: #define RETSIGTYPE $ac_cv_type_signal
 9188: _ACEOF
 9189: 
 9190: 
 9191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 9192: $as_echo_n "checking for working strcoll... " >&6; }
 9193: if test "${ac_cv_func_strcoll_works+set}" = set; then :
 9194:   $as_echo_n "(cached) " >&6
 9195: else
 9196:   if test "$cross_compiling" = yes; then :
 9197:   ac_cv_func_strcoll_works=no
 9198: else
 9199:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9200: /* end confdefs.h.  */
 9201: $ac_includes_default
 9202: int
 9203: main ()
 9204: {
 9205: return (strcoll ("abc", "def") >= 0 ||
 9206:      strcoll ("ABC", "DEF") >= 0 ||
 9207:      strcoll ("123", "456") >= 0)
 9208:   ;
 9209:   return 0;
 9210: }
 9211: _ACEOF
 9212: if ac_fn_c_try_run "$LINENO"; then :
 9213:   ac_cv_func_strcoll_works=yes
 9214: else
 9215:   ac_cv_func_strcoll_works=no
 9216: fi
 9217: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 9218:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 9219: fi
 9220: 
 9221: fi
 9222: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 9223: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 9224: if test $ac_cv_func_strcoll_works = yes; then
 9225: 
 9226: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 9227: 
 9228: fi
 9229: 
 9230: for ac_func in strftime
 9231: do :
 9232:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 9233: if test "x$ac_cv_func_strftime" = x""yes; then :
 9234:   cat >>confdefs.h <<_ACEOF
 9235: #define HAVE_STRFTIME 1
 9236: _ACEOF
 9237: 
 9238: else
 9239:   # strftime is in -lintl on SCO UNIX.
 9240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 9241: $as_echo_n "checking for strftime in -lintl... " >&6; }
 9242: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 9243:   $as_echo_n "(cached) " >&6
 9244: else
 9245:   ac_check_lib_save_LIBS=$LIBS
 9246: LIBS="-lintl  $LIBS"
 9247: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9248: /* end confdefs.h.  */
 9249: 
 9250: /* Override any GCC internal prototype to avoid an error.
 9251:    Use char because int might match the return type of a GCC
 9252:    builtin and then its argument prototype would still apply.  */
 9253: #ifdef __cplusplus
 9254: extern "C"
 9255: #endif
 9256: char strftime ();
 9257: int
 9258: main ()
 9259: {
 9260: return strftime ();
 9261:   ;
 9262:   return 0;
 9263: }
 9264: _ACEOF
 9265: if ac_fn_c_try_link "$LINENO"; then :
 9266:   ac_cv_lib_intl_strftime=yes
 9267: else
 9268:   ac_cv_lib_intl_strftime=no
 9269: fi
 9270: rm -f core conftest.err conftest.$ac_objext \
 9271:     conftest$ac_exeext conftest.$ac_ext
 9272: LIBS=$ac_check_lib_save_LIBS
 9273: fi
 9274: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 9275: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 9276: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 9277:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 9278: 
 9279: LIBS="-lintl $LIBS"
 9280: fi
 9281: 
 9282: fi
 9283: done
 9284: 
 9285: for ac_func in vprintf
 9286: do :
 9287:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 9288: if test "x$ac_cv_func_vprintf" = x""yes; then :
 9289:   cat >>confdefs.h <<_ACEOF
 9290: #define HAVE_VPRINTF 1
 9291: _ACEOF
 9292: 
 9293: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 9294: if test "x$ac_cv_func__doprnt" = x""yes; then :
 9295: 
 9296: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 9297: 
 9298: fi
 9299: 
 9300: fi
 9301: done
 9302: 
 9303: 
 9304: for ac_func in ftime getcwd putenv select strcspn strdup \
 9305:         strerror strspn strstr strtod
 9306: do :
 9307:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 9308: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 9309: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 9310:   cat >>confdefs.h <<_ACEOF
 9311: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 9312: _ACEOF
 9313: 
 9314: fi
 9315: done
 9316: 
 9317: 
 9318: 
 9319: # Check whether --with-openssl_arch was given.
 9320: if test "${with_openssl_arch+set}" = set; then :
 9321:   withval=$with_openssl_arch;
 9322: else
 9323:   with_openssl_arch=none
 9324: fi
 9325: 
 9326: 
 9327: if test $(uname) = "OS/2"; then
 9328:     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 9329: else
 9330:     if test "x$with_openssl_arch" = xnone; then
 9331:         (cd tools/$OPENSSL && ./config no-asm)
 9332:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 9333:         (cd tools/$OPENSSL && ./Configure)
 9334:         as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
 9335:     elif test "x$with_openssl_arch" = xlist; then
 9336:         (cd tools/$OPENSSL && ./Configure)
 9337:         as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
 9338:     else
 9339:         (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
 9340:     fi
 9341: fi
 9342: 
 9343: if test "$MYGNUPLOT" = "yes"; then
 9344:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 9345:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 9346:                 (cd "$srcdir/tools" && tar -xf -)
 9347:     fi
 9348: 
 9349:     if test $RECURSIVE = yes; then
 9350:         subdirs="$subdirs tools/$GNUPLOT"
 9351: 
 9352:     fi
 9353: 
 9354:     GNUPLOT_COMPILATION=$GNUPLOT
 9355: else
 9356:     GNUPLOT_COMPILATION=
 9357: fi
 9358: 
 9359: 
 9360: 
 9361: HOST=$target
 9362: 
 9363: 
 9364: my_save_cflags="$CFLAGS"
 9365: FPCFLAGS=""
 9366: 
 9367: CFLAGS=-malign-double
 9368: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -malign-double" >&5
 9369: $as_echo_n "checking whether CC supports -malign-double... " >&6; }
 9370: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9371: /* end confdefs.h.  */
 9372: 
 9373: int
 9374: main ()
 9375: {
 9376: 
 9377:   ;
 9378:   return 0;
 9379: }
 9380: _ACEOF
 9381: if ac_fn_c_try_compile "$LINENO"; then :
 9382:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9383: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -malign-double"
 9384: else
 9385:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9386: $as_echo "no" >&6; }
 9387: fi
 9388: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9389: CFLAGS=-mieee-fp
 9390: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee-fp" >&5
 9391: $as_echo_n "checking whether CC supports -mieee-fp... " >&6; }
 9392: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9393: /* end confdefs.h.  */
 9394: 
 9395: int
 9396: main ()
 9397: {
 9398: 
 9399:   ;
 9400:   return 0;
 9401: }
 9402: _ACEOF
 9403: if ac_fn_c_try_compile "$LINENO"; then :
 9404:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9405: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee-fp"
 9406: else
 9407:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9408: $as_echo "no" >&6; }
 9409: fi
 9410: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9411: CFLAGS=-mieee
 9412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee" >&5
 9413: $as_echo_n "checking whether CC supports -mieee... " >&6; }
 9414: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9415: /* end confdefs.h.  */
 9416: 
 9417: int
 9418: main ()
 9419: {
 9420: 
 9421:   ;
 9422:   return 0;
 9423: }
 9424: _ACEOF
 9425: if ac_fn_c_try_compile "$LINENO"; then :
 9426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9427: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee"
 9428: else
 9429:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9430: $as_echo "no" >&6; }
 9431: fi
 9432: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9433: CFLAGS=$my_save_cflags
 9434: 
 9435: CFLAGS="$CFLAGS $FPCFLAGS -Wall -funsigned-char -Wno-pointer-sign"
 9436: FFLAGS="$FFLAGS $FPCFLAGS -Wall -fno-f2c"
 9437: FCFLAGS="$FCFLAGS $FPCFLAGS -Wall -fno-f2c"
 9438: CXXFLAGS="$CXXFLAGS $FPCFLAGS -Wall -funsigned-char"
 9439: 
 9440: case $target_os in
 9441: 
 9442:     cygwin*)
 9443:         OS=Cygwin
 9444:     break ;;
 9445: 
 9446:     interix*)
 9447:         OS=Interix
 9448:     break ;;
 9449: 
 9450:     *)
 9451:         OS=$(uname)
 9452:     break ;;
 9453: 
 9454: esac
 9455: 
 9456: 
 9457: 
 9458: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9459: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9460: MALLOC=
 9461: 
 9462: case $OS in
 9463:     Darwin)
 9464:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9465:         NESTED_FUNCTIONS=-fnested-functions
 9466:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9467:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9468:                 --disable-shared --enable-static --enable-threads \
 9469:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9470:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9471:                 LDFLAGS=\"$LDFLAGS\""
 9472:         C_STANDARD=-std=gnu99
 9473:         ELF=
 9474:     break ;;
 9475: 
 9476:     Cygwin)
 9477:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9478:         NESTED_FUNCTIONS=
 9479:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9480:                 --disable-shared --enable-static --enable-threads \
 9481:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9482:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9483:                 LDFLAGS=\"$LDFLAGS\""
 9484:         C_STANDARD=-std=gnu99
 9485:         ELF=
 9486:     break ;;
 9487: 
 9488:     Interix)
 9489:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9490:         NESTED_FUNCTIONS=
 9491:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9492:                 --disable-shared --enable-static --enable-threads \
 9493:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9494:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9495:                 LDFLAGS=\"$LDFLAGS\""
 9496:         C_STANDARD=-std=gnu99
 9497:         ELF=
 9498:     break;;
 9499: 
 9500:     AIX)
 9501:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9502:         NESTED_FUNCTIONS=
 9503:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9504:                 --disable-shared --enable-static --enable-threads \
 9505:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9506:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9507:                 LDFLAGS=\"$LDFLAGS\""
 9508:         C_STANDARD=-std=gnu99
 9509:         ELF=
 9510:     break ;;
 9511: 
 9512:     OS/2)
 9513:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9514:             FINAL_ENCODING=CP850; \
 9515:         fi;
 9516:         OS=OS2
 9517:         NESTED_FUNCTIONS=
 9518:         EXPORT_DYNAMIC=-Zmap
 9519:         ac_configure_args="$ac_configure_args --without-readline \
 9520:                 --without-cairo --disable-shared --enable-static \
 9521:                 --enable-threads \
 9522:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9523:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9524:                 LDFLAGS=\"$LDFLAGS\""
 9525:         C_STANDARD=
 9526:         ELF=
 9527:     break;;
 9528: 
 9529:     OpenBSD)
 9530:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9531:             FINAL_ENCODING=UTF-8; \
 9532:         fi;
 9533:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9534:         NESTED_FUNCTIONS=
 9535:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9536:                 --disable-shared --enable-static --enable-threads \
 9537:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9538:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9539:                 LDFLAGS=\"$LDFLAGS\""
 9540:         C_STANDARD=-std=gnu99
 9541:         ELF=
 9542:     break;;
 9543: 
 9544:     SunOS)
 9545:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9546:         NESTED_FUNCTIONS=
 9547: 
 9548:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9549:                 --disable-shared --enable-static --enable-threads \
 9550:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9551:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9552:                 LDFLAGS=\"$LDFLAGS\""
 9553:         C_STANDARD=-std=gnu99
 9554:         MALLOC=-lumem
 9555:         ELF=
 9556:     break ;;
 9557: 
 9558:     NetBSD)
 9559:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9560:         NESTED_FUNCTIONS=
 9561: 
 9562:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9563:                 --disable-shared --enable-static --enable-threads \
 9564:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9565:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9566:                 LDFLAGS=\"$LDFLAGS\""
 9567:         C_STANDARD=-std=gnu99
 9568:         GCCBIN=`which gcc`
 9569:         GCCLIB=`dirname $GCCBIN`/../lib
 9570:         ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB"
 9571:     break ;;
 9572: 
 9573:     *)
 9574:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9575:         NESTED_FUNCTIONS=
 9576: 
 9577:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9578:                 --disable-shared --enable-static --enable-threads \
 9579:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9580:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9581:                 LDFLAGS=\"$LDFLAGS\""
 9582:         C_STANDARD=-std=gnu99
 9583:         ELF=
 9584:     break ;;
 9585: esac
 9586: 
 9587: case $OS in
 9588:     OS2)
 9589:         WHOLE_LIB1=""
 9590:         WHOLE_LIB2=""
 9591:         LIB_PREFIX=""
 9592:     break ;;
 9593: 
 9594:     *)
 9595:         WHOLE_LIB1="-Wl,-whole-archive"
 9596:         WHOLE_LIB2="-Wl,-no-whole-archive"
 9597:         LIB_PREFIX="lib"
 9598:     break ;;
 9599: esac
 9600: 
 9601: 
 9602: 
 9603: 
 9604: 
 9605: 
 9606: 
 9607: 
 9608: 
 9609: 
 9610: 
 9611: 
 9612: 
 9613: 
 9614: 
 9615: 
 9616: 
 9617: 
 9618: 
 9619: 
 9620: 
 9621: 
 9622: 
 9623: 
 9624: 
 9625: 
 9626: 
 9627: 
 9628: 
 9629: 
 9630: 
 9631: 
 9632: 
 9633: 
 9634: 
 9635: 
 9636: 
 9637: 
 9638: 
 9639: 
 9640: 
 9641: 
 9642: 
 9643: 
 9644: 
 9645: 
 9646: 
 9647: 
 9648: 
 9649: if test $RECURSIVE = yes; then
 9650:     subdirs="$subdirs tools/$NCURSES"
 9651: 
 9652:     subdirs="$subdirs tools/$READLINE"
 9653: 
 9654:     subdirs="$subdirs tools/$GSL"
 9655: 
 9656:     subdirs="$subdirs tools/$GPP"
 9657: 
 9658:     subdirs="$subdirs tools/$FILE"
 9659: 
 9660:     subdirs="$subdirs tools/$ICONV"
 9661: 
 9662:     subdirs="$subdirs tools/$SQLITE"
 9663: 
 9664:     subdirs="$subdirs tools/$UNITS"
 9665: 
 9666:     subdirs="$subdirs tools/$SIGSEGV"
 9667: 
 9668: fi
 9669: 
 9670: ac_config_files="$ac_config_files Makefile"
 9671: 
 9672: ac_config_files="$ac_config_files COPYING"
 9673: 
 9674: ac_config_files="$ac_config_files tools/Makefile"
 9675: 
 9676: ac_config_files="$ac_config_files src/Makefile"
 9677: 
 9678: ac_config_files="$ac_config_files man/Makefile"
 9679: 
 9680: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9681: 
 9682: ac_config_files="$ac_config_files doc/Makefile"
 9683: 
 9684: ac_config_files="$ac_config_files scripts/Makefile"
 9685: 
 9686: ac_config_files="$ac_config_files scripts/mkrplso"
 9687: 
 9688: ac_config_files="$ac_config_files scripts/rplcc"
 9689: 
 9690: ac_config_files="$ac_config_files scripts/rpllink"
 9691: 
 9692: ac_config_files="$ac_config_files rpltags/Makefile"
 9693: 
 9694: ac_config_files="$ac_config_files rpliconv/Makefile"
 9695: 
 9696: ac_config_files="$ac_config_files rplsums/Makefile"
 9697: 
 9698: ac_config_files="$ac_config_files rplcas/Makefile"
 9699: 
 9700: ac_config_files="$ac_config_files rplawk/Makefile"
 9701: 
 9702: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9703: 
 9704: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9705: 
 9706: 
 9707: ac_config_files="$ac_config_files man/rpl.1"
 9708: 
 9709: ac_config_files="$ac_config_files man/rplcc.1"
 9710: 
 9711: ac_config_files="$ac_config_files man/rpllink.1"
 9712: 
 9713: ac_config_files="$ac_config_files man/rpltags.1"
 9714: 
 9715: ac_config_files="$ac_config_files man/mkrplso.1"
 9716: 
 9717: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9718: 
 9719: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9720: 
 9721: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9722: 
 9723: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9724: 
 9725: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9726: 
 9727: 
 9728: cat >confcache <<\_ACEOF
 9729: # This file is a shell script that caches the results of configure
 9730: # tests run on this system so they can be shared between configure
 9731: # scripts and configure runs, see configure's option --config-cache.
 9732: # It is not useful on other systems.  If it contains results you don't
 9733: # want to keep, you may remove or edit it.
 9734: #
 9735: # config.status only pays attention to the cache file if you give it
 9736: # the --recheck option to rerun configure.
 9737: #
 9738: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9739: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9740: # following values.
 9741: 
 9742: _ACEOF
 9743: 
 9744: # The following way of writing the cache mishandles newlines in values,
 9745: # but we know of no workaround that is simple, portable, and efficient.
 9746: # So, we kill variables containing newlines.
 9747: # Ultrix sh set writes to stderr and can't be redirected directly,
 9748: # and sets the high bit in the cache file unless we assign to the vars.
 9749: (
 9750:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9751:     eval ac_val=\$$ac_var
 9752:     case $ac_val in #(
 9753:     *${as_nl}*)
 9754:       case $ac_var in #(
 9755:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9756: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9757:       esac
 9758:       case $ac_var in #(
 9759:       _ | IFS | as_nl) ;; #(
 9760:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9761:       *) { eval $ac_var=; unset $ac_var;} ;;
 9762:       esac ;;
 9763:     esac
 9764:   done
 9765: 
 9766:   (set) 2>&1 |
 9767:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9768:     *${as_nl}ac_space=\ *)
 9769:       # `set' does not quote correctly, so add quotes: double-quote
 9770:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9771:       sed -n \
 9772:     "s/'/'\\\\''/g;
 9773:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9774:       ;; #(
 9775:     *)
 9776:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9777:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9778:       ;;
 9779:     esac |
 9780:     sort
 9781: ) |
 9782:   sed '
 9783:      /^ac_cv_env_/b end
 9784:      t clear
 9785:      :clear
 9786:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9787:      t end
 9788:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9789:      :end' >>confcache
 9790: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9791:   if test -w "$cache_file"; then
 9792:     test "x$cache_file" != "x/dev/null" &&
 9793:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9794: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9795:     cat confcache >$cache_file
 9796:   else
 9797:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9798: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9799:   fi
 9800: fi
 9801: rm -f confcache
 9802: 
 9803: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9804: # Let make expand exec_prefix.
 9805: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9806: 
 9807: DEFS=-DHAVE_CONFIG_H
 9808: 
 9809: ac_libobjs=
 9810: ac_ltlibobjs=
 9811: U=
 9812: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9813:   # 1. Remove the extension, and $U if already installed.
 9814:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9815:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9816:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9817:   #    will be set to the directory where LIBOBJS objects are built.
 9818:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9819:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9820: done
 9821: LIBOBJS=$ac_libobjs
 9822: 
 9823: LTLIBOBJS=$ac_ltlibobjs
 9824: 
 9825: 
 9826:  if test -n "$EXEEXT"; then
 9827:   am__EXEEXT_TRUE=
 9828:   am__EXEEXT_FALSE='#'
 9829: else
 9830:   am__EXEEXT_TRUE='#'
 9831:   am__EXEEXT_FALSE=
 9832: fi
 9833: 
 9834: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9835:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 9836: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9837: fi
 9838: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9839:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 9840: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9841: fi
 9842: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9843:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 9844: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9845: fi
 9846: 
 9847: : ${CONFIG_STATUS=./config.status}
 9848: ac_write_fail=0
 9849: ac_clean_files_save=$ac_clean_files
 9850: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9851: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9852: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9853: as_write_fail=0
 9854: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9855: #! $SHELL
 9856: # Generated by $as_me.
 9857: # Run this file to recreate the current configuration.
 9858: # Compiler output produced by configure, useful for debugging
 9859: # configure, is in config.log if it exists.
 9860: 
 9861: debug=false
 9862: ac_cs_recheck=false
 9863: ac_cs_silent=false
 9864: 
 9865: SHELL=\${CONFIG_SHELL-$SHELL}
 9866: export SHELL
 9867: _ASEOF
 9868: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9869: ## -------------------- ##
 9870: ## M4sh Initialization. ##
 9871: ## -------------------- ##
 9872: 
 9873: # Be more Bourne compatible
 9874: DUALCASE=1; export DUALCASE # for MKS sh
 9875: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9876:   emulate sh
 9877:   NULLCMD=:
 9878:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9879:   # is contrary to our usage.  Disable this feature.
 9880:   alias -g '${1+"$@"}'='"$@"'
 9881:   setopt NO_GLOB_SUBST
 9882: else
 9883:   case `(set -o) 2>/dev/null` in #(
 9884:   *posix*) :
 9885:     set -o posix ;; #(
 9886:   *) :
 9887:      ;;
 9888: esac
 9889: fi
 9890: 
 9891: 
 9892: as_nl='
 9893: '
 9894: export as_nl
 9895: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9896: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9897: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9898: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9899: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9900: # but without wasting forks for bash or zsh.
 9901: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9902:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9903:   as_echo='print -r --'
 9904:   as_echo_n='print -rn --'
 9905: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9906:   as_echo='printf %s\n'
 9907:   as_echo_n='printf %s'
 9908: else
 9909:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9910:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9911:     as_echo_n='/usr/ucb/echo -n'
 9912:   else
 9913:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9914:     as_echo_n_body='eval
 9915:       arg=$1;
 9916:       case $arg in #(
 9917:       *"$as_nl"*)
 9918:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9919:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9920:       esac;
 9921:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9922:     '
 9923:     export as_echo_n_body
 9924:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9925:   fi
 9926:   export as_echo_body
 9927:   as_echo='sh -c $as_echo_body as_echo'
 9928: fi
 9929: 
 9930: # The user is always right.
 9931: if test "${PATH_SEPARATOR+set}" != set; then
 9932:   PATH_SEPARATOR=:
 9933:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9934:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9935:       PATH_SEPARATOR=';'
 9936:   }
 9937: fi
 9938: 
 9939: 
 9940: # IFS
 9941: # We need space, tab and new line, in precisely that order.  Quoting is
 9942: # there to prevent editors from complaining about space-tab.
 9943: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9944: # splitting by setting IFS to empty value.)
 9945: IFS=" ""    $as_nl"
 9946: 
 9947: # Find who we are.  Look in the path if we contain no directory separator.
 9948: case $0 in #((
 9949:   *[\\/]* ) as_myself=$0 ;;
 9950:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9951: for as_dir in $PATH
 9952: do
 9953:   IFS=$as_save_IFS
 9954:   test -z "$as_dir" && as_dir=.
 9955:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9956:   done
 9957: IFS=$as_save_IFS
 9958: 
 9959:      ;;
 9960: esac
 9961: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9962: # in which case we are not to be found in the path.
 9963: if test "x$as_myself" = x; then
 9964:   as_myself=$0
 9965: fi
 9966: if test ! -f "$as_myself"; then
 9967:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9968:   exit 1
 9969: fi
 9970: 
 9971: # Unset variables that we do not need and which cause bugs (e.g. in
 9972: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9973: # suppresses any "Segmentation fault" message there.  '((' could
 9974: # trigger a bug in pdksh 5.2.14.
 9975: for as_var in BASH_ENV ENV MAIL MAILPATH
 9976: do eval test x\${$as_var+set} = xset \
 9977:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9978: done
 9979: PS1='$ '
 9980: PS2='> '
 9981: PS4='+ '
 9982: 
 9983: # NLS nuisances.
 9984: LC_ALL=C
 9985: export LC_ALL
 9986: LANGUAGE=C
 9987: export LANGUAGE
 9988: 
 9989: # CDPATH.
 9990: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9991: 
 9992: 
 9993: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 9994: # ----------------------------------------
 9995: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9996: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9997: # script with STATUS, using 1 if that was 0.
 9998: as_fn_error ()
 9999: {
10000:   as_status=$1; test $as_status -eq 0 && as_status=1
10001:   if test "$4"; then
10002:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10003:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10004:   fi
10005:   $as_echo "$as_me: error: $2" >&2
10006:   as_fn_exit $as_status
10007: } # as_fn_error
10008: 
10009: 
10010: # as_fn_set_status STATUS
10011: # -----------------------
10012: # Set $? to STATUS, without forking.
10013: as_fn_set_status ()
10014: {
10015:   return $1
10016: } # as_fn_set_status
10017: 
10018: # as_fn_exit STATUS
10019: # -----------------
10020: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10021: as_fn_exit ()
10022: {
10023:   set +e
10024:   as_fn_set_status $1
10025:   exit $1
10026: } # as_fn_exit
10027: 
10028: # as_fn_unset VAR
10029: # ---------------
10030: # Portably unset VAR.
10031: as_fn_unset ()
10032: {
10033:   { eval $1=; unset $1;}
10034: }
10035: as_unset=as_fn_unset
10036: # as_fn_append VAR VALUE
10037: # ----------------------
10038: # Append the text in VALUE to the end of the definition contained in VAR. Take
10039: # advantage of any shell optimizations that allow amortized linear growth over
10040: # repeated appends, instead of the typical quadratic growth present in naive
10041: # implementations.
10042: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
10043:   eval 'as_fn_append ()
10044:   {
10045:     eval $1+=\$2
10046:   }'
10047: else
10048:   as_fn_append ()
10049:   {
10050:     eval $1=\$$1\$2
10051:   }
10052: fi # as_fn_append
10053: 
10054: # as_fn_arith ARG...
10055: # ------------------
10056: # Perform arithmetic evaluation on the ARGs, and store the result in the
10057: # global $as_val. Take advantage of shells that can avoid forks. The arguments
10058: # must be portable across $(()) and expr.
10059: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10060:   eval 'as_fn_arith ()
10061:   {
10062:     as_val=$(( $* ))
10063:   }'
10064: else
10065:   as_fn_arith ()
10066:   {
10067:     as_val=`expr "$@" || test $? -eq 1`
10068:   }
10069: fi # as_fn_arith
10070: 
10071: 
10072: if expr a : '\(a\)' >/dev/null 2>&1 &&
10073:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
10074:   as_expr=expr
10075: else
10076:   as_expr=false
10077: fi
10078: 
10079: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10080:   as_basename=basename
10081: else
10082:   as_basename=false
10083: fi
10084: 
10085: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10086:   as_dirname=dirname
10087: else
10088:   as_dirname=false
10089: fi
10090: 
10091: as_me=`$as_basename -- "$0" ||
10092: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10093:      X"$0" : 'X\(//\)$' \| \
10094:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10095: $as_echo X/"$0" |
10096:     sed '/^.*\/\([^/][^/]*\)\/*$/{
10097:         s//\1/
10098:         q
10099:       }
10100:       /^X\/\(\/\/\)$/{
10101:         s//\1/
10102:         q
10103:       }
10104:       /^X\/\(\/\).*/{
10105:         s//\1/
10106:         q
10107:       }
10108:       s/.*/./; q'`
10109: 
10110: # Avoid depending upon Character Ranges.
10111: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10112: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10113: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10114: as_cr_digits='0123456789'
10115: as_cr_alnum=$as_cr_Letters$as_cr_digits
10116: 
10117: ECHO_C= ECHO_N= ECHO_T=
10118: case `echo -n x` in #(((((
10119: -n*)
10120:   case `echo 'xy\c'` in
10121:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10122:   xy)  ECHO_C='\c';;
10123:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
10124:        ECHO_T=' ';;
10125:   esac;;
10126: *)
10127:   ECHO_N='-n';;
10128: esac
10129: 
10130: rm -f conf$$ conf$$.exe conf$$.file
10131: if test -d conf$$.dir; then
10132:   rm -f conf$$.dir/conf$$.file
10133: else
10134:   rm -f conf$$.dir
10135:   mkdir conf$$.dir 2>/dev/null
10136: fi
10137: if (echo >conf$$.file) 2>/dev/null; then
10138:   if ln -s conf$$.file conf$$ 2>/dev/null; then
10139:     as_ln_s='ln -s'
10140:     # ... but there are two gotchas:
10141:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10142:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10143:     # In both cases, we have to default to `cp -p'.
10144:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10145:       as_ln_s='cp -p'
10146:   elif ln conf$$.file conf$$ 2>/dev/null; then
10147:     as_ln_s=ln
10148:   else
10149:     as_ln_s='cp -p'
10150:   fi
10151: else
10152:   as_ln_s='cp -p'
10153: fi
10154: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10155: rmdir conf$$.dir 2>/dev/null
10156: 
10157: 
10158: # as_fn_mkdir_p
10159: # -------------
10160: # Create "$as_dir" as a directory, including parents if necessary.
10161: as_fn_mkdir_p ()
10162: {
10163: 
10164:   case $as_dir in #(
10165:   -*) as_dir=./$as_dir;;
10166:   esac
10167:   test -d "$as_dir" || eval $as_mkdir_p || {
10168:     as_dirs=
10169:     while :; do
10170:       case $as_dir in #(
10171:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10172:       *) as_qdir=$as_dir;;
10173:       esac
10174:       as_dirs="'$as_qdir' $as_dirs"
10175:       as_dir=`$as_dirname -- "$as_dir" ||
10176: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10177:      X"$as_dir" : 'X\(//\)[^/]' \| \
10178:      X"$as_dir" : 'X\(//\)$' \| \
10179:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10180: $as_echo X"$as_dir" |
10181:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10182:         s//\1/
10183:         q
10184:       }
10185:       /^X\(\/\/\)[^/].*/{
10186:         s//\1/
10187:         q
10188:       }
10189:       /^X\(\/\/\)$/{
10190:         s//\1/
10191:         q
10192:       }
10193:       /^X\(\/\).*/{
10194:         s//\1/
10195:         q
10196:       }
10197:       s/.*/./; q'`
10198:       test -d "$as_dir" && break
10199:     done
10200:     test -z "$as_dirs" || eval "mkdir $as_dirs"
10201:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10202: 
10203: 
10204: } # as_fn_mkdir_p
10205: if mkdir -p . 2>/dev/null; then
10206:   as_mkdir_p='mkdir -p "$as_dir"'
10207: else
10208:   test -d ./-p && rmdir ./-p
10209:   as_mkdir_p=false
10210: fi
10211: 
10212: if test -x / >/dev/null 2>&1; then
10213:   as_test_x='test -x'
10214: else
10215:   if ls -dL / >/dev/null 2>&1; then
10216:     as_ls_L_option=L
10217:   else
10218:     as_ls_L_option=
10219:   fi
10220:   as_test_x='
10221:     eval sh -c '\''
10222:       if test -d "$1"; then
10223:     test -d "$1/.";
10224:       else
10225:     case $1 in #(
10226:     -*)set "./$1";;
10227:     esac;
10228:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10229:     ???[sx]*):;;*)false;;esac;fi
10230:     '\'' sh
10231:   '
10232: fi
10233: as_executable_p=$as_test_x
10234: 
10235: # Sed expression to map a string onto a valid CPP name.
10236: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10237: 
10238: # Sed expression to map a string onto a valid variable name.
10239: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10240: 
10241: 
10242: exec 6>&1
10243: ## ----------------------------------- ##
10244: ## Main body of $CONFIG_STATUS script. ##
10245: ## ----------------------------------- ##
10246: _ASEOF
10247: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10248: 
10249: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10250: # Save the log message, to keep $0 and so on meaningful, and to
10251: # report actual input values of CONFIG_FILES etc. instead of their
10252: # values after options handling.
10253: ac_log="
10254: This file was extended by rpl $as_me 4.1.4, which was
10255: generated by GNU Autoconf 2.67.  Invocation command line was
10256: 
10257:   CONFIG_FILES    = $CONFIG_FILES
10258:   CONFIG_HEADERS  = $CONFIG_HEADERS
10259:   CONFIG_LINKS    = $CONFIG_LINKS
10260:   CONFIG_COMMANDS = $CONFIG_COMMANDS
10261:   $ $0 $@
10262: 
10263: on `(hostname || uname -n) 2>/dev/null | sed 1q`
10264: "
10265: 
10266: _ACEOF
10267: 
10268: case $ac_config_files in *"
10269: "*) set x $ac_config_files; shift; ac_config_files=$*;;
10270: esac
10271: 
10272: case $ac_config_headers in *"
10273: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10274: esac
10275: 
10276: 
10277: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10278: # Files that config.status was made for.
10279: config_files="$ac_config_files"
10280: config_headers="$ac_config_headers"
10281: config_commands="$ac_config_commands"
10282: 
10283: _ACEOF
10284: 
10285: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10286: ac_cs_usage="\
10287: \`$as_me' instantiates files and other configuration actions
10288: from templates according to the current configuration.  Unless the files
10289: and actions are specified as TAGs, all are instantiated by default.
10290: 
10291: Usage: $0 [OPTION]... [TAG]...
10292: 
10293:   -h, --help       print this help, then exit
10294:   -V, --version    print version number and configuration settings, then exit
10295:       --config     print configuration, then exit
10296:   -q, --quiet, --silent
10297:                    do not print progress messages
10298:   -d, --debug      don't remove temporary files
10299:       --recheck    update $as_me by reconfiguring in the same conditions
10300:       --file=FILE[:TEMPLATE]
10301:                    instantiate the configuration file FILE
10302:       --header=FILE[:TEMPLATE]
10303:                    instantiate the configuration header FILE
10304: 
10305: Configuration files:
10306: $config_files
10307: 
10308: Configuration headers:
10309: $config_headers
10310: 
10311: Configuration commands:
10312: $config_commands
10313: 
10314: Report bugs to the package provider."
10315: 
10316: _ACEOF
10317: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10318: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10319: ac_cs_version="\\
10320: rpl config.status 4.1.4
10321: configured by $0, generated by GNU Autoconf 2.67,
10322:   with options \\"\$ac_cs_config\\"
10323: 
10324: Copyright (C) 2010 Free Software Foundation, Inc.
10325: This config.status script is free software; the Free Software Foundation
10326: gives unlimited permission to copy, distribute and modify it."
10327: 
10328: ac_pwd='$ac_pwd'
10329: srcdir='$srcdir'
10330: INSTALL='$INSTALL'
10331: MKDIR_P='$MKDIR_P'
10332: AWK='$AWK'
10333: test -n "\$AWK" || AWK=awk
10334: _ACEOF
10335: 
10336: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10337: # The default lists apply if the user does not specify any file.
10338: ac_need_defaults=:
10339: while test $# != 0
10340: do
10341:   case $1 in
10342:   --*=?*)
10343:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10344:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10345:     ac_shift=:
10346:     ;;
10347:   --*=)
10348:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10349:     ac_optarg=
10350:     ac_shift=:
10351:     ;;
10352:   *)
10353:     ac_option=$1
10354:     ac_optarg=$2
10355:     ac_shift=shift
10356:     ;;
10357:   esac
10358: 
10359:   case $ac_option in
10360:   # Handling of the options.
10361:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10362:     ac_cs_recheck=: ;;
10363:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10364:     $as_echo "$ac_cs_version"; exit ;;
10365:   --config | --confi | --conf | --con | --co | --c )
10366:     $as_echo "$ac_cs_config"; exit ;;
10367:   --debug | --debu | --deb | --de | --d | -d )
10368:     debug=: ;;
10369:   --file | --fil | --fi | --f )
10370:     $ac_shift
10371:     case $ac_optarg in
10372:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10373:     '') as_fn_error $? "missing file argument" ;;
10374:     esac
10375:     as_fn_append CONFIG_FILES " '$ac_optarg'"
10376:     ac_need_defaults=false;;
10377:   --header | --heade | --head | --hea )
10378:     $ac_shift
10379:     case $ac_optarg in
10380:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10381:     esac
10382:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10383:     ac_need_defaults=false;;
10384:   --he | --h)
10385:     # Conflict between --help and --header
10386:     as_fn_error $? "ambiguous option: \`$1'
10387: Try \`$0 --help' for more information.";;
10388:   --help | --hel | -h )
10389:     $as_echo "$ac_cs_usage"; exit ;;
10390:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10391:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
10392:     ac_cs_silent=: ;;
10393: 
10394:   # This is an error.
10395:   -*) as_fn_error $? "unrecognized option: \`$1'
10396: Try \`$0 --help' for more information." ;;
10397: 
10398:   *) as_fn_append ac_config_targets " $1"
10399:      ac_need_defaults=false ;;
10400: 
10401:   esac
10402:   shift
10403: done
10404: 
10405: ac_configure_extra_args=
10406: 
10407: if $ac_cs_silent; then
10408:   exec 6>/dev/null
10409:   ac_configure_extra_args="$ac_configure_extra_args --silent"
10410: fi
10411: 
10412: _ACEOF
10413: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10414: if \$ac_cs_recheck; then
10415:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10416:   shift
10417:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10418:   CONFIG_SHELL='$SHELL'
10419:   export CONFIG_SHELL
10420:   exec "\$@"
10421: fi
10422: 
10423: _ACEOF
10424: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10425: exec 5>>config.log
10426: {
10427:   echo
10428:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10429: ## Running $as_me. ##
10430: _ASBOX
10431:   $as_echo "$ac_log"
10432: } >&5
10433: 
10434: _ACEOF
10435: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10436: #
10437: # INIT-COMMANDS
10438: #
10439: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10440: 
10441: _ACEOF
10442: 
10443: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10444: 
10445: # Handling of arguments.
10446: for ac_config_target in $ac_config_targets
10447: do
10448:   case $ac_config_target in
10449:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10450:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10451:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10452:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10453:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10454:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10455:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10456:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10457:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10458:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10459:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10460:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10461:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10462:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10463:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10464:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10465:     "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10466:     "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10467:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10468:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10469:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10470:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10471:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10472:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10473:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10474:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10475:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10476:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10477:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10478:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10479: 
10480:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
10481:   esac
10482: done
10483: 
10484: 
10485: # If the user did not use the arguments to specify the items to instantiate,
10486: # then the envvar interface is used.  Set only those that are not.
10487: # We use the long form for the default assignment because of an extremely
10488: # bizarre bug on SunOS 4.1.3.
10489: if $ac_need_defaults; then
10490:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10491:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10492:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10493: fi
10494: 
10495: # Have a temporary directory for convenience.  Make it in the build tree
10496: # simply because there is no reason against having it here, and in addition,
10497: # creating and moving files from /tmp can sometimes cause problems.
10498: # Hook for its removal unless debugging.
10499: # Note that there is a small window in which the directory will not be cleaned:
10500: # after its creation but before its name has been assigned to `$tmp'.
10501: $debug ||
10502: {
10503:   tmp=
10504:   trap 'exit_status=$?
10505:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10506: ' 0
10507:   trap 'as_fn_exit 1' 1 2 13 15
10508: }
10509: # Create a (secure) tmp directory for tmp files.
10510: 
10511: {
10512:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10513:   test -n "$tmp" && test -d "$tmp"
10514: }  ||
10515: {
10516:   tmp=./conf$$-$RANDOM
10517:   (umask 077 && mkdir "$tmp")
10518: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10519: 
10520: # Set up the scripts for CONFIG_FILES section.
10521: # No need to generate them if there are no CONFIG_FILES.
10522: # This happens for instance with `./config.status config.h'.
10523: if test -n "$CONFIG_FILES"; then
10524: 
10525: 
10526: ac_cr=`echo X | tr X '\015'`
10527: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10528: # But we know of no other shell where ac_cr would be empty at this
10529: # point, so we can use a bashism as a fallback.
10530: if test "x$ac_cr" = x; then
10531:   eval ac_cr=\$\'\\r\'
10532: fi
10533: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10534: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10535:   ac_cs_awk_cr='\\r'
10536: else
10537:   ac_cs_awk_cr=$ac_cr
10538: fi
10539: 
10540: echo 'BEGIN {' >"$tmp/subs1.awk" &&
10541: _ACEOF
10542: 
10543: 
10544: {
10545:   echo "cat >conf$$subs.awk <<_ACEOF" &&
10546:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10547:   echo "_ACEOF"
10548: } >conf$$subs.sh ||
10549:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10550: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10551: ac_delim='%!_!# '
10552: for ac_last_try in false false false false false :; do
10553:   . ./conf$$subs.sh ||
10554:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10555: 
10556:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10557:   if test $ac_delim_n = $ac_delim_num; then
10558:     break
10559:   elif $ac_last_try; then
10560:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10561:   else
10562:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10563:   fi
10564: done
10565: rm -f conf$$subs.sh
10566: 
10567: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10568: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10569: _ACEOF
10570: sed -n '
10571: h
10572: s/^/S["/; s/!.*/"]=/
10573: p
10574: g
10575: s/^[^!]*!//
10576: :repl
10577: t repl
10578: s/'"$ac_delim"'$//
10579: t delim
10580: :nl
10581: h
10582: s/\(.\{148\}\)..*/\1/
10583: t more1
10584: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10585: p
10586: n
10587: b repl
10588: :more1
10589: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10590: p
10591: g
10592: s/.\{148\}//
10593: t nl
10594: :delim
10595: h
10596: s/\(.\{148\}\)..*/\1/
10597: t more2
10598: s/["\\]/\\&/g; s/^/"/; s/$/"/
10599: p
10600: b
10601: :more2
10602: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10603: p
10604: g
10605: s/.\{148\}//
10606: t delim
10607: ' <conf$$subs.awk | sed '
10608: /^[^""]/{
10609:   N
10610:   s/\n//
10611: }
10612: ' >>$CONFIG_STATUS || ac_write_fail=1
10613: rm -f conf$$subs.awk
10614: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10615: _ACAWK
10616: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10617:   for (key in S) S_is_set[key] = 1
10618:   FS = ""
10619: 
10620: }
10621: {
10622:   line = $ 0
10623:   nfields = split(line, field, "@")
10624:   substed = 0
10625:   len = length(field[1])
10626:   for (i = 2; i < nfields; i++) {
10627:     key = field[i]
10628:     keylen = length(key)
10629:     if (S_is_set[key]) {
10630:       value = S[key]
10631:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10632:       len += length(value) + length(field[++i])
10633:       substed = 1
10634:     } else
10635:       len += 1 + keylen
10636:   }
10637: 
10638:   print line
10639: }
10640: 
10641: _ACAWK
10642: _ACEOF
10643: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10644: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10645:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10646: else
10647:   cat
10648: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10649:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10650: _ACEOF
10651: 
10652: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10653: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10654: # trailing colons and then remove the whole line if VPATH becomes empty
10655: # (actually we leave an empty line to preserve line numbers).
10656: if test "x$srcdir" = x.; then
10657:   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
10658: h
10659: s///
10660: s/^/:/
10661: s/[  ]*$/:/
10662: s/:\$(srcdir):/:/g
10663: s/:\${srcdir}:/:/g
10664: s/:@srcdir@:/:/g
10665: s/^:*//
10666: s/:*$//
10667: x
10668: s/\(=[   ]*\).*/\1/
10669: G
10670: s/\n//
10671: s/^[^=]*=[   ]*$//
10672: }'
10673: fi
10674: 
10675: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10676: fi # test -n "$CONFIG_FILES"
10677: 
10678: # Set up the scripts for CONFIG_HEADERS section.
10679: # No need to generate them if there are no CONFIG_HEADERS.
10680: # This happens for instance with `./config.status Makefile'.
10681: if test -n "$CONFIG_HEADERS"; then
10682: cat >"$tmp/defines.awk" <<\_ACAWK ||
10683: BEGIN {
10684: _ACEOF
10685: 
10686: # Transform confdefs.h into an awk script `defines.awk', embedded as
10687: # here-document in config.status, that substitutes the proper values into
10688: # config.h.in to produce config.h.
10689: 
10690: # Create a delimiter string that does not exist in confdefs.h, to ease
10691: # handling of long lines.
10692: ac_delim='%!_!# '
10693: for ac_last_try in false false :; do
10694:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10695:   if test -z "$ac_t"; then
10696:     break
10697:   elif $ac_last_try; then
10698:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10699:   else
10700:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10701:   fi
10702: done
10703: 
10704: # For the awk script, D is an array of macro values keyed by name,
10705: # likewise P contains macro parameters if any.  Preserve backslash
10706: # newline sequences.
10707: 
10708: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10709: sed -n '
10710: s/.\{148\}/&'"$ac_delim"'/g
10711: t rset
10712: :rset
10713: s/^[     ]*#[    ]*define[   ][  ]*/ /
10714: t def
10715: d
10716: :def
10717: s/\\$//
10718: t bsnl
10719: s/["\\]/\\&/g
10720: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10721: D["\1"]=" \3"/p
10722: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10723: d
10724: :bsnl
10725: s/["\\]/\\&/g
10726: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10727: D["\1"]=" \3\\\\\\n"\\/p
10728: t cont
10729: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10730: t cont
10731: d
10732: :cont
10733: n
10734: s/.\{148\}/&'"$ac_delim"'/g
10735: t clear
10736: :clear
10737: s/\\$//
10738: t bsnlc
10739: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10740: d
10741: :bsnlc
10742: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10743: b cont
10744: ' <confdefs.h | sed '
10745: s/'"$ac_delim"'/"\\\
10746: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10747: 
10748: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10749:   for (key in D) D_is_set[key] = 1
10750:   FS = ""
10751: }
10752: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10753:   line = \$ 0
10754:   split(line, arg, " ")
10755:   if (arg[1] == "#") {
10756:     defundef = arg[2]
10757:     mac1 = arg[3]
10758:   } else {
10759:     defundef = substr(arg[1], 2)
10760:     mac1 = arg[2]
10761:   }
10762:   split(mac1, mac2, "(") #)
10763:   macro = mac2[1]
10764:   prefix = substr(line, 1, index(line, defundef) - 1)
10765:   if (D_is_set[macro]) {
10766:     # Preserve the white space surrounding the "#".
10767:     print prefix "define", macro P[macro] D[macro]
10768:     next
10769:   } else {
10770:     # Replace #undef with comments.  This is necessary, for example,
10771:     # in the case of _POSIX_SOURCE, which is predefined and required
10772:     # on some systems where configure will not decide to define it.
10773:     if (defundef == "undef") {
10774:       print "/*", prefix defundef, macro, "*/"
10775:       next
10776:     }
10777:   }
10778: }
10779: { print }
10780: _ACAWK
10781: _ACEOF
10782: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10783:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10784: fi # test -n "$CONFIG_HEADERS"
10785: 
10786: 
10787: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10788: shift
10789: for ac_tag
10790: do
10791:   case $ac_tag in
10792:   :[FHLC]) ac_mode=$ac_tag; continue;;
10793:   esac
10794:   case $ac_mode$ac_tag in
10795:   :[FHL]*:*);;
10796:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
10797:   :[FH]-) ac_tag=-:-;;
10798:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10799:   esac
10800:   ac_save_IFS=$IFS
10801:   IFS=:
10802:   set x $ac_tag
10803:   IFS=$ac_save_IFS
10804:   shift
10805:   ac_file=$1
10806:   shift
10807: 
10808:   case $ac_mode in
10809:   :L) ac_source=$1;;
10810:   :[FH])
10811:     ac_file_inputs=
10812:     for ac_f
10813:     do
10814:       case $ac_f in
10815:       -) ac_f="$tmp/stdin";;
10816:       *) # Look for the file first in the build tree, then in the source tree
10817:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10818:      # because $ac_f cannot contain `:'.
10819:      test -f "$ac_f" ||
10820:        case $ac_f in
10821:        [\\/$]*) false;;
10822:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10823:        esac ||
10824:        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
10825:       esac
10826:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10827:       as_fn_append ac_file_inputs " '$ac_f'"
10828:     done
10829: 
10830:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10831:     # use $as_me), people would be surprised to read:
10832:     #    /* config.h.  Generated by config.status.  */
10833:     configure_input='Generated from '`
10834:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10835:     `' by configure.'
10836:     if test x"$ac_file" != x-; then
10837:       configure_input="$ac_file.  $configure_input"
10838:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10839: $as_echo "$as_me: creating $ac_file" >&6;}
10840:     fi
10841:     # Neutralize special characters interpreted by sed in replacement strings.
10842:     case $configure_input in #(
10843:     *\&* | *\|* | *\\* )
10844:        ac_sed_conf_input=`$as_echo "$configure_input" |
10845:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10846:     *) ac_sed_conf_input=$configure_input;;
10847:     esac
10848: 
10849:     case $ac_tag in
10850:     *:-:* | *:-) cat >"$tmp/stdin" \
10851:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
10852:     esac
10853:     ;;
10854:   esac
10855: 
10856:   ac_dir=`$as_dirname -- "$ac_file" ||
10857: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10858:      X"$ac_file" : 'X\(//\)[^/]' \| \
10859:      X"$ac_file" : 'X\(//\)$' \| \
10860:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10861: $as_echo X"$ac_file" |
10862:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10863:         s//\1/
10864:         q
10865:       }
10866:       /^X\(\/\/\)[^/].*/{
10867:         s//\1/
10868:         q
10869:       }
10870:       /^X\(\/\/\)$/{
10871:         s//\1/
10872:         q
10873:       }
10874:       /^X\(\/\).*/{
10875:         s//\1/
10876:         q
10877:       }
10878:       s/.*/./; q'`
10879:   as_dir="$ac_dir"; as_fn_mkdir_p
10880:   ac_builddir=.
10881: 
10882: case "$ac_dir" in
10883: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10884: *)
10885:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10886:   # A ".." for each directory in $ac_dir_suffix.
10887:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10888:   case $ac_top_builddir_sub in
10889:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10890:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10891:   esac ;;
10892: esac
10893: ac_abs_top_builddir=$ac_pwd
10894: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10895: # for backward compatibility:
10896: ac_top_builddir=$ac_top_build_prefix
10897: 
10898: case $srcdir in
10899:   .)  # We are building in place.
10900:     ac_srcdir=.
10901:     ac_top_srcdir=$ac_top_builddir_sub
10902:     ac_abs_top_srcdir=$ac_pwd ;;
10903:   [\\/]* | ?:[\\/]* )  # Absolute name.
10904:     ac_srcdir=$srcdir$ac_dir_suffix;
10905:     ac_top_srcdir=$srcdir
10906:     ac_abs_top_srcdir=$srcdir ;;
10907:   *) # Relative name.
10908:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10909:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10910:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10911: esac
10912: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10913: 
10914: 
10915:   case $ac_mode in
10916:   :F)
10917:   #
10918:   # CONFIG_FILE
10919:   #
10920: 
10921:   case $INSTALL in
10922:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10923:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10924:   esac
10925:   ac_MKDIR_P=$MKDIR_P
10926:   case $MKDIR_P in
10927:   [\\/$]* | ?:[\\/]* ) ;;
10928:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10929:   esac
10930: _ACEOF
10931: 
10932: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10933: # If the template does not know about datarootdir, expand it.
10934: # FIXME: This hack should be removed a few years after 2.60.
10935: ac_datarootdir_hack=; ac_datarootdir_seen=
10936: ac_sed_dataroot='
10937: /datarootdir/ {
10938:   p
10939:   q
10940: }
10941: /@datadir@/p
10942: /@docdir@/p
10943: /@infodir@/p
10944: /@localedir@/p
10945: /@mandir@/p'
10946: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10947: *datarootdir*) ac_datarootdir_seen=yes;;
10948: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10949:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10950: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10951: _ACEOF
10952: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10953:   ac_datarootdir_hack='
10954:   s&@datadir@&$datadir&g
10955:   s&@docdir@&$docdir&g
10956:   s&@infodir@&$infodir&g
10957:   s&@localedir@&$localedir&g
10958:   s&@mandir@&$mandir&g
10959:   s&\\\${datarootdir}&$datarootdir&g' ;;
10960: esac
10961: _ACEOF
10962: 
10963: # Neutralize VPATH when `$srcdir' = `.'.
10964: # Shell code in configure.ac might set extrasub.
10965: # FIXME: do we really want to maintain this feature?
10966: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10967: ac_sed_extra="$ac_vpsub
10968: $extrasub
10969: _ACEOF
10970: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10971: :t
10972: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10973: s|@configure_input@|$ac_sed_conf_input|;t t
10974: s&@top_builddir@&$ac_top_builddir_sub&;t t
10975: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10976: s&@srcdir@&$ac_srcdir&;t t
10977: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10978: s&@top_srcdir@&$ac_top_srcdir&;t t
10979: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10980: s&@builddir@&$ac_builddir&;t t
10981: s&@abs_builddir@&$ac_abs_builddir&;t t
10982: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10983: s&@INSTALL@&$ac_INSTALL&;t t
10984: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10985: $ac_datarootdir_hack
10986: "
10987: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10988:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10989: 
10990: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10991:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10992:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10993:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10994: which seems to be undefined.  Please make sure it is defined" >&5
10995: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10996: which seems to be undefined.  Please make sure it is defined" >&2;}
10997: 
10998:   rm -f "$tmp/stdin"
10999:   case $ac_file in
11000:   -) cat "$tmp/out" && rm -f "$tmp/out";;
11001:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11002:   esac \
11003:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11004:  ;;
11005:   :H)
11006:   #
11007:   # CONFIG_HEADER
11008:   #
11009:   if test x"$ac_file" != x-; then
11010:     {
11011:       $as_echo "/* $configure_input  */" \
11012:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11013:     } >"$tmp/config.h" \
11014:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11015:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11016:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11017: $as_echo "$as_me: $ac_file is unchanged" >&6;}
11018:     else
11019:       rm -f "$ac_file"
11020:       mv "$tmp/config.h" "$ac_file" \
11021:     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11022:     fi
11023:   else
11024:     $as_echo "/* $configure_input  */" \
11025:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11026:       || as_fn_error $? "could not create -" "$LINENO" 5
11027:   fi
11028: # Compute "$ac_file"'s index in $config_headers.
11029: _am_arg="$ac_file"
11030: _am_stamp_count=1
11031: for _am_header in $config_headers :; do
11032:   case $_am_header in
11033:     $_am_arg | $_am_arg:* )
11034:       break ;;
11035:     * )
11036:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11037:   esac
11038: done
11039: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11040: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11041:      X"$_am_arg" : 'X\(//\)[^/]' \| \
11042:      X"$_am_arg" : 'X\(//\)$' \| \
11043:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11044: $as_echo X"$_am_arg" |
11045:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11046:         s//\1/
11047:         q
11048:       }
11049:       /^X\(\/\/\)[^/].*/{
11050:         s//\1/
11051:         q
11052:       }
11053:       /^X\(\/\/\)$/{
11054:         s//\1/
11055:         q
11056:       }
11057:       /^X\(\/\).*/{
11058:         s//\1/
11059:         q
11060:       }
11061:       s/.*/./; q'`/stamp-h$_am_stamp_count
11062:  ;;
11063: 
11064:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11065: $as_echo "$as_me: executing $ac_file commands" >&6;}
11066:  ;;
11067:   esac
11068: 
11069: 
11070:   case $ac_file$ac_mode in
11071:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
11072:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
11073:   # are listed without --file.  Let's play safe and only enable the eval
11074:   # if we detect the quoting.
11075:   case $CONFIG_FILES in
11076:   *\'*) eval set x "$CONFIG_FILES" ;;
11077:   *)   set x $CONFIG_FILES ;;
11078:   esac
11079:   shift
11080:   for mf
11081:   do
11082:     # Strip MF so we end up with the name of the file.
11083:     mf=`echo "$mf" | sed -e 's/:.*$//'`
11084:     # Check whether this is an Automake generated Makefile or not.
11085:     # We used to match only the files named `Makefile.in', but
11086:     # some people rename them; so instead we look at the file content.
11087:     # Grep'ing the first line is not enough: some people post-process
11088:     # each Makefile.in and add a new line on top of each file to say so.
11089:     # Grep'ing the whole file is not good either: AIX grep has a line
11090:     # limit of 2048, but all sed's we know have understand at least 4000.
11091:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11092:       dirpart=`$as_dirname -- "$mf" ||
11093: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11094:      X"$mf" : 'X\(//\)[^/]' \| \
11095:      X"$mf" : 'X\(//\)$' \| \
11096:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11097: $as_echo X"$mf" |
11098:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11099:         s//\1/
11100:         q
11101:       }
11102:       /^X\(\/\/\)[^/].*/{
11103:         s//\1/
11104:         q
11105:       }
11106:       /^X\(\/\/\)$/{
11107:         s//\1/
11108:         q
11109:       }
11110:       /^X\(\/\).*/{
11111:         s//\1/
11112:         q
11113:       }
11114:       s/.*/./; q'`
11115:     else
11116:       continue
11117:     fi
11118:     # Extract the definition of DEPDIR, am__include, and am__quote
11119:     # from the Makefile without running `make'.
11120:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11121:     test -z "$DEPDIR" && continue
11122:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
11123:     test -z "am__include" && continue
11124:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11125:     # When using ansi2knr, U may be empty or an underscore; expand it
11126:     U=`sed -n 's/^U = //p' < "$mf"`
11127:     # Find all dependency output files, they are included files with
11128:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
11129:     # simplest approach to changing $(DEPDIR) to its actual value in the
11130:     # expansion.
11131:     for file in `sed -n "
11132:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11133:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11134:       # Make sure the directory exists.
11135:       test -f "$dirpart/$file" && continue
11136:       fdir=`$as_dirname -- "$file" ||
11137: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11138:      X"$file" : 'X\(//\)[^/]' \| \
11139:      X"$file" : 'X\(//\)$' \| \
11140:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11141: $as_echo X"$file" |
11142:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11143:         s//\1/
11144:         q
11145:       }
11146:       /^X\(\/\/\)[^/].*/{
11147:         s//\1/
11148:         q
11149:       }
11150:       /^X\(\/\/\)$/{
11151:         s//\1/
11152:         q
11153:       }
11154:       /^X\(\/\).*/{
11155:         s//\1/
11156:         q
11157:       }
11158:       s/.*/./; q'`
11159:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
11160:       # echo "creating $dirpart/$file"
11161:       echo '# dummy' > "$dirpart/$file"
11162:     done
11163:   done
11164: }
11165:  ;;
11166: 
11167:   esac
11168: done # for ac_tag
11169: 
11170: 
11171: as_fn_exit 0
11172: _ACEOF
11173: ac_clean_files=$ac_clean_files_save
11174: 
11175: test $ac_write_fail = 0 ||
11176:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11177: 
11178: 
11179: # configure is writing to config.log, and then calls config.status.
11180: # config.status does its own redirection, appending to config.log.
11181: # Unfortunately, on DOS this fails, as config.log is still kept open
11182: # by configure, so config.status won't be able to write to it; its
11183: # output is simply discarded.  So we exec the FD to /dev/null,
11184: # effectively closing config.log, so it can be properly (re)opened and
11185: # appended to by config.status.  When coming back to configure, we
11186: # need to make the FD available again.
11187: if test "$no_create" != yes; then
11188:   ac_cs_success=:
11189:   ac_config_status_args=
11190:   test "$silent" = yes &&
11191:     ac_config_status_args="$ac_config_status_args --quiet"
11192:   exec 5>/dev/null
11193:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11194:   exec 5>>config.log
11195:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11196:   # would make configure fail if this is the last instruction.
11197:   $ac_cs_success || as_fn_exit 1
11198: fi
11199: 
11200: #
11201: # CONFIG_SUBDIRS section.
11202: #
11203: if test "$no_recursion" != yes; then
11204: 
11205:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
11206:   # so they do not pile up.
11207:   ac_sub_configure_args=
11208:   ac_prev=
11209:   eval "set x $ac_configure_args"
11210:   shift
11211:   for ac_arg
11212:   do
11213:     if test -n "$ac_prev"; then
11214:       ac_prev=
11215:       continue
11216:     fi
11217:     case $ac_arg in
11218:     -cache-file | --cache-file | --cache-fil | --cache-fi \
11219:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
11220:       ac_prev=cache_file ;;
11221:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
11222:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
11223:     | --c=*)
11224:       ;;
11225:     --config-cache | -C)
11226:       ;;
11227:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11228:       ac_prev=srcdir ;;
11229:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11230:       ;;
11231:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11232:       ac_prev=prefix ;;
11233:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11234:       ;;
11235:     --disable-option-checking)
11236:       ;;
11237:     *)
11238:       case $ac_arg in
11239:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11240:       esac
11241:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
11242:     esac
11243:   done
11244: 
11245:   # Always prepend --prefix to ensure using the same prefix
11246:   # in subdir configurations.
11247:   ac_arg="--prefix=$prefix"
11248:   case $ac_arg in
11249:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11250:   esac
11251:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
11252: 
11253:   # Pass --silent
11254:   if test "$silent" = yes; then
11255:     ac_sub_configure_args="--silent $ac_sub_configure_args"
11256:   fi
11257: 
11258:   # Always prepend --disable-option-checking to silence warnings, since
11259:   # different subdirs can have different --enable and --with options.
11260:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
11261: 
11262:   ac_popdir=`pwd`
11263:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
11264: 
11265:     # Do not complain, so a configure script can configure whichever
11266:     # parts of a large source tree are present.
11267:     test -d "$srcdir/$ac_dir" || continue
11268: 
11269:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11270:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
11271:     $as_echo "$ac_msg" >&6
11272:     as_dir="$ac_dir"; as_fn_mkdir_p
11273:     ac_builddir=.
11274: 
11275: case "$ac_dir" in
11276: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11277: *)
11278:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11279:   # A ".." for each directory in $ac_dir_suffix.
11280:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11281:   case $ac_top_builddir_sub in
11282:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11283:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11284:   esac ;;
11285: esac
11286: ac_abs_top_builddir=$ac_pwd
11287: ac_abs_builddir=$ac_pwd$ac_dir_suffix
11288: # for backward compatibility:
11289: ac_top_builddir=$ac_top_build_prefix
11290: 
11291: case $srcdir in
11292:   .)  # We are building in place.
11293:     ac_srcdir=.
11294:     ac_top_srcdir=$ac_top_builddir_sub
11295:     ac_abs_top_srcdir=$ac_pwd ;;
11296:   [\\/]* | ?:[\\/]* )  # Absolute name.
11297:     ac_srcdir=$srcdir$ac_dir_suffix;
11298:     ac_top_srcdir=$srcdir
11299:     ac_abs_top_srcdir=$srcdir ;;
11300:   *) # Relative name.
11301:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11302:     ac_top_srcdir=$ac_top_build_prefix$srcdir
11303:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11304: esac
11305: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11306: 
11307: 
11308:     cd "$ac_dir"
11309: 
11310:     # Check for guested configure; otherwise get Cygnus style configure.
11311:     if test -f "$ac_srcdir/configure.gnu"; then
11312:       ac_sub_configure=$ac_srcdir/configure.gnu
11313:     elif test -f "$ac_srcdir/configure"; then
11314:       ac_sub_configure=$ac_srcdir/configure
11315:     elif test -f "$ac_srcdir/configure.in"; then
11316:       # This should be Cygnus configure.
11317:       ac_sub_configure=$ac_aux_dir/configure
11318:     else
11319:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11320: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11321:       ac_sub_configure=
11322:     fi
11323: 
11324:     # The recursion is here.
11325:     if test -n "$ac_sub_configure"; then
11326:       # Make the cache file name correct relative to the subdirectory.
11327:       case $cache_file in
11328:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11329:       *) # Relative name.
11330:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11331:       esac
11332: 
11333:       { $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
11334: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11335:       # The eval makes quoting arguments work.
11336:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11337:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11338:     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11339:     fi
11340: 
11341:     cd "$ac_popdir"
11342:   done
11343: fi
11344: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11345:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11346: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11347: fi
11348: 

CVSweb interface <joel.bertrand@systella.fr>