File:  [local] / rpl / Attic / configure
Revision 1.98: download - view: text, annotated - select for diffs - revision graph
Mon Dec 5 19:35:52 2011 UTC (12 years, 5 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Ajout de POLL.

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.68 for rpl 4.1.5.
    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: as_myself=
   93: case $0 in #((
   94:   *[\\/]* ) as_myself=$0 ;;
   95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96: for as_dir in $PATH
   97: do
   98:   IFS=$as_save_IFS
   99:   test -z "$as_dir" && as_dir=.
  100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101:   done
  102: IFS=$as_save_IFS
  103: 
  104:      ;;
  105: esac
  106: # We did not find ourselves, most probably we were run as `sh COMMAND'
  107: # in which case we are not to be found in the path.
  108: if test "x$as_myself" = x; then
  109:   as_myself=$0
  110: fi
  111: if test ! -f "$as_myself"; then
  112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113:   exit 1
  114: fi
  115: 
  116: # Unset variables that we do not need and which cause bugs (e.g. in
  117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118: # suppresses any "Segmentation fault" message there.  '((' could
  119: # trigger a bug in pdksh 5.2.14.
  120: for as_var in BASH_ENV ENV MAIL MAILPATH
  121: do eval test x\${$as_var+set} = xset \
  122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123: done
  124: PS1='$ '
  125: PS2='> '
  126: PS4='+ '
  127: 
  128: # NLS nuisances.
  129: LC_ALL=C
  130: export LC_ALL
  131: LANGUAGE=C
  132: export LANGUAGE
  133: 
  134: # CDPATH.
  135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136: 
  137: if test "x$CONFIG_SHELL" = x; then
  138:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  139:   emulate sh
  140:   NULLCMD=:
  141:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  142:   # is contrary to our usage.  Disable this feature.
  143:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  144:   setopt NO_GLOB_SUBST
  145: else
  146:   case \`(set -o) 2>/dev/null\` in #(
  147:   *posix*) :
  148:     set -o posix ;; #(
  149:   *) :
  150:      ;;
  151: esac
  152: fi
  153: "
  154:   as_required="as_fn_return () { (exit \$1); }
  155: as_fn_success () { as_fn_return 0; }
  156: as_fn_failure () { as_fn_return 1; }
  157: as_fn_ret_success () { return 0; }
  158: as_fn_ret_failure () { return 1; }
  159: 
  160: exitcode=0
  161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  166: 
  167: else
  168:   exitcode=1; echo positional parameters were not saved.
  169: fi
  170: test x\$exitcode = x0 || exit 1"
  171:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  172:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  173:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  174:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  175: test \$(( 1 + 1 )) = 2 || exit 1"
  176:   if (eval "$as_required") 2>/dev/null; then :
  177:   as_have_required=yes
  178: else
  179:   as_have_required=no
  180: fi
  181:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  182: 
  183: else
  184:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  185: as_found=false
  186: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  187: do
  188:   IFS=$as_save_IFS
  189:   test -z "$as_dir" && as_dir=.
  190:   as_found=:
  191:   case $as_dir in #(
  192:      /*)
  193:        for as_base in sh bash ksh sh5; do
  194:          # Try only shells that exist, to save several forks.
  195:          as_shell=$as_dir/$as_base
  196:          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  197:             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  198:   CONFIG_SHELL=$as_shell as_have_required=yes
  199:            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  200:   break 2
  201: fi
  202: fi
  203:        done;;
  204:        esac
  205:   as_found=false
  206: done
  207: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  208:           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  209:   CONFIG_SHELL=$SHELL as_have_required=yes
  210: fi; }
  211: IFS=$as_save_IFS
  212: 
  213: 
  214:       if test "x$CONFIG_SHELL" != x; then :
  215:   # We cannot yet assume a decent shell, so we have to provide a
  216:     # neutralization value for shells without unset; and this also
  217:     # works around shells that cannot unset nonexistent variables.
  218:     # Preserve -v and -x to the replacement shell.
  219:     BASH_ENV=/dev/null
  220:     ENV=/dev/null
  221:     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  222:     export CONFIG_SHELL
  223:     case $- in # ((((
  224:       *v*x* | *x*v* ) as_opts=-vx ;;
  225:       *v* ) as_opts=-v ;;
  226:       *x* ) as_opts=-x ;;
  227:       * ) as_opts= ;;
  228:     esac
  229:     exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  230: fi
  231: 
  232:     if test x$as_have_required = xno; then :
  233:   $as_echo "$0: This script requires a shell more modern than all"
  234:   $as_echo "$0: the shells that I found on your system."
  235:   if test x${ZSH_VERSION+set} = xset ; then
  236:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  237:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  238:   else
  239:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  240: $0: including any error possibly output before this
  241: $0: message. Then install a modern shell, or manually run
  242: $0: the script under such a shell if you do have one."
  243:   fi
  244:   exit 1
  245: fi
  246: fi
  247: fi
  248: SHELL=${CONFIG_SHELL-/bin/sh}
  249: export SHELL
  250: # Unset more variables known to interfere with behavior of common tools.
  251: CLICOLOR_FORCE= GREP_OPTIONS=
  252: unset CLICOLOR_FORCE GREP_OPTIONS
  253: 
  254: ## --------------------- ##
  255: ## M4sh Shell Functions. ##
  256: ## --------------------- ##
  257: # as_fn_unset VAR
  258: # ---------------
  259: # Portably unset VAR.
  260: as_fn_unset ()
  261: {
  262:   { eval $1=; unset $1;}
  263: }
  264: as_unset=as_fn_unset
  265: 
  266: # as_fn_set_status STATUS
  267: # -----------------------
  268: # Set $? to STATUS, without forking.
  269: as_fn_set_status ()
  270: {
  271:   return $1
  272: } # as_fn_set_status
  273: 
  274: # as_fn_exit STATUS
  275: # -----------------
  276: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  277: as_fn_exit ()
  278: {
  279:   set +e
  280:   as_fn_set_status $1
  281:   exit $1
  282: } # as_fn_exit
  283: 
  284: # as_fn_mkdir_p
  285: # -------------
  286: # Create "$as_dir" as a directory, including parents if necessary.
  287: as_fn_mkdir_p ()
  288: {
  289: 
  290:   case $as_dir in #(
  291:   -*) as_dir=./$as_dir;;
  292:   esac
  293:   test -d "$as_dir" || eval $as_mkdir_p || {
  294:     as_dirs=
  295:     while :; do
  296:       case $as_dir in #(
  297:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  298:       *) as_qdir=$as_dir;;
  299:       esac
  300:       as_dirs="'$as_qdir' $as_dirs"
  301:       as_dir=`$as_dirname -- "$as_dir" ||
  302: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  303:      X"$as_dir" : 'X\(//\)[^/]' \| \
  304:      X"$as_dir" : 'X\(//\)$' \| \
  305:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  306: $as_echo X"$as_dir" |
  307:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  308:         s//\1/
  309:         q
  310:       }
  311:       /^X\(\/\/\)[^/].*/{
  312:         s//\1/
  313:         q
  314:       }
  315:       /^X\(\/\/\)$/{
  316:         s//\1/
  317:         q
  318:       }
  319:       /^X\(\/\).*/{
  320:         s//\1/
  321:         q
  322:       }
  323:       s/.*/./; q'`
  324:       test -d "$as_dir" && break
  325:     done
  326:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  327:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  328: 
  329: 
  330: } # as_fn_mkdir_p
  331: # as_fn_append VAR VALUE
  332: # ----------------------
  333: # Append the text in VALUE to the end of the definition contained in VAR. Take
  334: # advantage of any shell optimizations that allow amortized linear growth over
  335: # repeated appends, instead of the typical quadratic growth present in naive
  336: # implementations.
  337: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  338:   eval 'as_fn_append ()
  339:   {
  340:     eval $1+=\$2
  341:   }'
  342: else
  343:   as_fn_append ()
  344:   {
  345:     eval $1=\$$1\$2
  346:   }
  347: fi # as_fn_append
  348: 
  349: # as_fn_arith ARG...
  350: # ------------------
  351: # Perform arithmetic evaluation on the ARGs, and store the result in the
  352: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  353: # must be portable across $(()) and expr.
  354: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  355:   eval 'as_fn_arith ()
  356:   {
  357:     as_val=$(( $* ))
  358:   }'
  359: else
  360:   as_fn_arith ()
  361:   {
  362:     as_val=`expr "$@" || test $? -eq 1`
  363:   }
  364: fi # as_fn_arith
  365: 
  366: 
  367: # as_fn_error STATUS ERROR [LINENO LOG_FD]
  368: # ----------------------------------------
  369: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  370: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  371: # script with STATUS, using 1 if that was 0.
  372: as_fn_error ()
  373: {
  374:   as_status=$1; test $as_status -eq 0 && as_status=1
  375:   if test "$4"; then
  376:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  377:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  378:   fi
  379:   $as_echo "$as_me: error: $2" >&2
  380:   as_fn_exit $as_status
  381: } # as_fn_error
  382: 
  383: if expr a : '\(a\)' >/dev/null 2>&1 &&
  384:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  385:   as_expr=expr
  386: else
  387:   as_expr=false
  388: fi
  389: 
  390: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  391:   as_basename=basename
  392: else
  393:   as_basename=false
  394: fi
  395: 
  396: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  397:   as_dirname=dirname
  398: else
  399:   as_dirname=false
  400: fi
  401: 
  402: as_me=`$as_basename -- "$0" ||
  403: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  404:      X"$0" : 'X\(//\)$' \| \
  405:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  406: $as_echo X/"$0" |
  407:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  408:         s//\1/
  409:         q
  410:       }
  411:       /^X\/\(\/\/\)$/{
  412:         s//\1/
  413:         q
  414:       }
  415:       /^X\/\(\/\).*/{
  416:         s//\1/
  417:         q
  418:       }
  419:       s/.*/./; q'`
  420: 
  421: # Avoid depending upon Character Ranges.
  422: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  423: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  424: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  425: as_cr_digits='0123456789'
  426: as_cr_alnum=$as_cr_Letters$as_cr_digits
  427: 
  428: 
  429:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  430:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  431:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  432:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  433:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  434:   sed -n '
  435:     p
  436:     /[$]LINENO/=
  437:   ' <$as_myself |
  438:     sed '
  439:       s/[$]LINENO.*/&-/
  440:       t lineno
  441:       b
  442:       :lineno
  443:       N
  444:       :loop
  445:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  446:       t loop
  447:       s/-\n.*//
  448:     ' >$as_me.lineno &&
  449:   chmod +x "$as_me.lineno" ||
  450:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  451: 
  452:   # Don't try to exec as it changes $[0], causing all sort of problems
  453:   # (the dirname of $[0] is not the place where we might find the
  454:   # original and so on.  Autoconf is especially sensitive to this).
  455:   . "./$as_me.lineno"
  456:   # Exit status is that of the last command.
  457:   exit
  458: }
  459: 
  460: ECHO_C= ECHO_N= ECHO_T=
  461: case `echo -n x` in #(((((
  462: -n*)
  463:   case `echo 'xy\c'` in
  464:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  465:   xy)  ECHO_C='\c';;
  466:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  467:        ECHO_T=' ';;
  468:   esac;;
  469: *)
  470:   ECHO_N='-n';;
  471: esac
  472: 
  473: rm -f conf$$ conf$$.exe conf$$.file
  474: if test -d conf$$.dir; then
  475:   rm -f conf$$.dir/conf$$.file
  476: else
  477:   rm -f conf$$.dir
  478:   mkdir conf$$.dir 2>/dev/null
  479: fi
  480: if (echo >conf$$.file) 2>/dev/null; then
  481:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  482:     as_ln_s='ln -s'
  483:     # ... but there are two gotchas:
  484:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  485:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  486:     # In both cases, we have to default to `cp -p'.
  487:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  488:       as_ln_s='cp -p'
  489:   elif ln conf$$.file conf$$ 2>/dev/null; then
  490:     as_ln_s=ln
  491:   else
  492:     as_ln_s='cp -p'
  493:   fi
  494: else
  495:   as_ln_s='cp -p'
  496: fi
  497: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  498: rmdir conf$$.dir 2>/dev/null
  499: 
  500: if mkdir -p . 2>/dev/null; then
  501:   as_mkdir_p='mkdir -p "$as_dir"'
  502: else
  503:   test -d ./-p && rmdir ./-p
  504:   as_mkdir_p=false
  505: fi
  506: 
  507: if test -x / >/dev/null 2>&1; then
  508:   as_test_x='test -x'
  509: else
  510:   if ls -dL / >/dev/null 2>&1; then
  511:     as_ls_L_option=L
  512:   else
  513:     as_ls_L_option=
  514:   fi
  515:   as_test_x='
  516:     eval sh -c '\''
  517:       if test -d "$1"; then
  518:     test -d "$1/.";
  519:       else
  520:     case $1 in #(
  521:     -*)set "./$1";;
  522:     esac;
  523:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  524:     ???[sx]*):;;*)false;;esac;fi
  525:     '\'' sh
  526:   '
  527: fi
  528: as_executable_p=$as_test_x
  529: 
  530: # Sed expression to map a string onto a valid CPP name.
  531: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  532: 
  533: # Sed expression to map a string onto a valid variable name.
  534: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  535: 
  536: 
  537: test -n "$DJDIR" || exec 7<&0 </dev/null
  538: exec 6>&1
  539: 
  540: # Name of the host.
  541: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  542: # so uname gets run too.
  543: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  544: 
  545: #
  546: # Initializations.
  547: #
  548: ac_default_prefix=/usr/local
  549: ac_clean_files=
  550: ac_config_libobj_dir=.
  551: LIBOBJS=
  552: cross_compiling=no
  553: subdirs=
  554: MFLAGS=
  555: MAKEFLAGS=
  556: 
  557: # Identity of this package.
  558: PACKAGE_NAME='rpl'
  559: PACKAGE_TARNAME='rpl'
  560: PACKAGE_VERSION='4.1.5'
  561: PACKAGE_STRING='rpl 4.1.5'
  562: PACKAGE_BUGREPORT=''
  563: PACKAGE_URL=''
  564: 
  565: enable_option_checking=no
  566: ac_default_prefix=/usr/local
  567: # Factoring default headers for most tests.
  568: ac_includes_default="\
  569: #include <stdio.h>
  570: #ifdef HAVE_SYS_TYPES_H
  571: # include <sys/types.h>
  572: #endif
  573: #ifdef HAVE_SYS_STAT_H
  574: # include <sys/stat.h>
  575: #endif
  576: #ifdef STDC_HEADERS
  577: # include <stdlib.h>
  578: # include <stddef.h>
  579: #else
  580: # ifdef HAVE_STDLIB_H
  581: #  include <stdlib.h>
  582: # endif
  583: #endif
  584: #ifdef HAVE_STRING_H
  585: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  586: #  include <memory.h>
  587: # endif
  588: # include <string.h>
  589: #endif
  590: #ifdef HAVE_STRINGS_H
  591: # include <strings.h>
  592: #endif
  593: #ifdef HAVE_INTTYPES_H
  594: # include <inttypes.h>
  595: #endif
  596: #ifdef HAVE_STDINT_H
  597: # include <stdint.h>
  598: #endif
  599: #ifdef HAVE_UNISTD_H
  600: # include <unistd.h>
  601: #endif"
  602: 
  603: ac_subst_vars='am__EXEEXT_FALSE
  604: am__EXEEXT_TRUE
  605: LTLIBOBJS
  606: LIBOBJS
  607: LIBMOTIF
  608: INCMOTIF
  609: GIAC
  610: PARI
  611: COCOA
  612: NTL
  613: MPFR
  614: GMP
  615: MALLOC
  616: EXT_SQL
  617: DATE_FR
  618: FINAL_ENCODING
  619: SIGSEGV
  620: BUILD_OPENMOTIF
  621: OPENMOTIF
  622: LIBXPM
  623: OPENSSL
  624: SQLITE
  625: ICONV
  626: FILE
  627: GNUPLOT
  628: GPP
  629: GSL
  630: UNITS
  631: READLINE
  632: NCURSES
  633: ARCH
  634: ELF
  635: BSH_PATH
  636: IPV6
  637: SEMUN
  638: IPCS_SYSV
  639: SEMAPHORES_NOMMES
  640: NESTED_FUNCTIONS
  641: EXPORT_DYNAMIC
  642: C_STANDARD
  643: LIB_PREFIX
  644: WHOLE_LIB2
  645: WHOLE_LIB1
  646: OS
  647: HOST
  648: GNUPLOT_COMPILATION
  649: EGREP
  650: GREP
  651: libPgSQLlib
  652: libPgSQLinc
  653: POSTGRESQL_SUPPORT
  654: libMySQLlib
  655: libMySQLinc
  656: MYSQL_SUPPORT
  657: DATE
  658: includeX
  659: libX
  660: MOTIF_SUPPORT
  661: DEBUG
  662: EXPERIMENTAL_CODE
  663: VIM_SUPPORT
  664: POSTSCRIPT_SUPPORT
  665: FORCE_GNUPLOT_PATH
  666: GNUPLOT_SUPPORT
  667: VIM
  668: GNUPLOT_P
  669: GV
  670: GS
  671: DVIPS
  672: LATEX
  673: TEX
  674: SED
  675: RANLIB
  676: LN_S
  677: RUNPATH
  678: PROFILAGE
  679: subdirs
  680: PSELECT
  681: SHARED_MEMORY
  682: LIBRPLCAS
  683: RPLCAS
  684: ABI
  685: RPLTOOLS
  686: X_EXTRA_LIBS
  687: X_LIBS
  688: X_PRE_LIBS
  689: X_CFLAGS
  690: CPP
  691: XMKMF
  692: ac_ct_FC
  693: FCFLAGS
  694: FC
  695: ac_ct_F77
  696: FFLAGS
  697: F77
  698: am__fastdepCXX_FALSE
  699: am__fastdepCXX_TRUE
  700: CXXDEPMODE
  701: ac_ct_CXX
  702: CXXFLAGS
  703: CXX
  704: am__fastdepCC_FALSE
  705: am__fastdepCC_TRUE
  706: CCDEPMODE
  707: AMDEPBACKSLASH
  708: AMDEP_FALSE
  709: AMDEP_TRUE
  710: am__quote
  711: am__include
  712: DEPDIR
  713: OBJEXT
  714: EXEEXT
  715: ac_ct_CC
  716: CPPFLAGS
  717: LDFLAGS
  718: CFLAGS
  719: CC
  720: AM_BACKSLASH
  721: AM_DEFAULT_VERBOSITY
  722: am__untar
  723: am__tar
  724: AMTAR
  725: am__leading_dot
  726: SET_MAKE
  727: AWK
  728: mkdir_p
  729: MKDIR_P
  730: INSTALL_STRIP_PROGRAM
  731: STRIP
  732: install_sh
  733: MAKEINFO
  734: AUTOHEADER
  735: AUTOMAKE
  736: AUTOCONF
  737: ACLOCAL
  738: VERSION
  739: PACKAGE
  740: CYGPATH_W
  741: am__isrc
  742: INSTALL_DATA
  743: INSTALL_SCRIPT
  744: INSTALL_PROGRAM
  745: target_os
  746: target_vendor
  747: target_cpu
  748: target
  749: host_os
  750: host_vendor
  751: host_cpu
  752: host
  753: build_os
  754: build_vendor
  755: build_cpu
  756: build
  757: target_alias
  758: host_alias
  759: build_alias
  760: LIBS
  761: ECHO_T
  762: ECHO_N
  763: ECHO_C
  764: DEFS
  765: mandir
  766: localedir
  767: libdir
  768: psdir
  769: pdfdir
  770: dvidir
  771: htmldir
  772: infodir
  773: docdir
  774: oldincludedir
  775: includedir
  776: localstatedir
  777: sharedstatedir
  778: sysconfdir
  779: datadir
  780: datarootdir
  781: libexecdir
  782: sbindir
  783: bindir
  784: program_transform_name
  785: prefix
  786: exec_prefix
  787: PACKAGE_URL
  788: PACKAGE_BUGREPORT
  789: PACKAGE_STRING
  790: PACKAGE_VERSION
  791: PACKAGE_TARNAME
  792: PACKAGE_NAME
  793: PATH_SEPARATOR
  794: SHELL'
  795: ac_subst_files=''
  796: ac_user_opts='
  797: enable_option_checking
  798: enable_silent_rules
  799: enable_dependency_tracking
  800: with_x
  801: with_32bits_abi
  802: with_64bits_abi
  803: enable_recursive
  804: with_rpltools
  805: enable_rplcas
  806: enable_optimization
  807: enable_sysv_ipcs
  808: enable_full_static
  809: enable_final_encoding
  810: enable_tex
  811: enable_vim
  812: enable_embedded_gnuplot
  813: enable_gnuplot
  814: enable_motif
  815: enable_experimental
  816: enable_debug
  817: enable_profile
  818: enable_final_run_path
  819: with_mysql
  820: with_postgresql
  821: with_bourne_shell
  822: with_openssl_arch
  823: '
  824:       ac_precious_vars='build_alias
  825: host_alias
  826: target_alias
  827: CC
  828: CFLAGS
  829: LDFLAGS
  830: LIBS
  831: CPPFLAGS
  832: CXX
  833: CXXFLAGS
  834: CCC
  835: F77
  836: FFLAGS
  837: FC
  838: FCFLAGS
  839: XMKMF
  840: CPP'
  841: ac_subdirs_all='tools/$LIBXPM
  842: tools/$OPENMOTIF
  843: tools/$GNUPLOT
  844: tools/$NCURSES
  845: tools/$READLINE
  846: tools/$GSL
  847: tools/$GPP
  848: tools/$FILE
  849: tools/$ICONV
  850: tools/$SQLITE
  851: tools/$UNITS
  852: tools/$SIGSEGV'
  853: 
  854: # Initialize some variables set by options.
  855: ac_init_help=
  856: ac_init_version=false
  857: ac_unrecognized_opts=
  858: ac_unrecognized_sep=
  859: # The variables have the same names as the options, with
  860: # dashes changed to underlines.
  861: cache_file=/dev/null
  862: exec_prefix=NONE
  863: no_create=
  864: no_recursion=
  865: prefix=NONE
  866: program_prefix=NONE
  867: program_suffix=NONE
  868: program_transform_name=s,x,x,
  869: silent=
  870: site=
  871: srcdir=
  872: verbose=
  873: x_includes=NONE
  874: x_libraries=NONE
  875: 
  876: # Installation directory options.
  877: # These are left unexpanded so users can "make install exec_prefix=/foo"
  878: # and all the variables that are supposed to be based on exec_prefix
  879: # by default will actually change.
  880: # Use braces instead of parens because sh, perl, etc. also accept them.
  881: # (The list follows the same order as the GNU Coding Standards.)
  882: bindir='${exec_prefix}/bin'
  883: sbindir='${exec_prefix}/sbin'
  884: libexecdir='${exec_prefix}/libexec'
  885: datarootdir='${prefix}/share'
  886: datadir='${datarootdir}'
  887: sysconfdir='${prefix}/etc'
  888: sharedstatedir='${prefix}/com'
  889: localstatedir='${prefix}/var'
  890: includedir='${prefix}/include'
  891: oldincludedir='/usr/include'
  892: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  893: infodir='${datarootdir}/info'
  894: htmldir='${docdir}'
  895: dvidir='${docdir}'
  896: pdfdir='${docdir}'
  897: psdir='${docdir}'
  898: libdir='${exec_prefix}/lib'
  899: localedir='${datarootdir}/locale'
  900: mandir='${datarootdir}/man'
  901: 
  902: ac_prev=
  903: ac_dashdash=
  904: for ac_option
  905: do
  906:   # If the previous option needs an argument, assign it.
  907:   if test -n "$ac_prev"; then
  908:     eval $ac_prev=\$ac_option
  909:     ac_prev=
  910:     continue
  911:   fi
  912: 
  913:   case $ac_option in
  914:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  915:   *=)   ac_optarg= ;;
  916:   *)    ac_optarg=yes ;;
  917:   esac
  918: 
  919:   # Accept the important Cygnus configure options, so we can diagnose typos.
  920: 
  921:   case $ac_dashdash$ac_option in
  922:   --)
  923:     ac_dashdash=yes ;;
  924: 
  925:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  926:     ac_prev=bindir ;;
  927:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  928:     bindir=$ac_optarg ;;
  929: 
  930:   -build | --build | --buil | --bui | --bu)
  931:     ac_prev=build_alias ;;
  932:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  933:     build_alias=$ac_optarg ;;
  934: 
  935:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  936:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  937:     ac_prev=cache_file ;;
  938:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  939:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  940:     cache_file=$ac_optarg ;;
  941: 
  942:   --config-cache | -C)
  943:     cache_file=config.cache ;;
  944: 
  945:   -datadir | --datadir | --datadi | --datad)
  946:     ac_prev=datadir ;;
  947:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  948:     datadir=$ac_optarg ;;
  949: 
  950:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  951:   | --dataroo | --dataro | --datar)
  952:     ac_prev=datarootdir ;;
  953:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  954:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  955:     datarootdir=$ac_optarg ;;
  956: 
  957:   -disable-* | --disable-*)
  958:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  959:     # Reject names that are not valid shell variable names.
  960:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  961:       as_fn_error $? "invalid feature name: $ac_useropt"
  962:     ac_useropt_orig=$ac_useropt
  963:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  964:     case $ac_user_opts in
  965:       *"
  966: "enable_$ac_useropt"
  967: "*) ;;
  968:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  969:      ac_unrecognized_sep=', ';;
  970:     esac
  971:     eval enable_$ac_useropt=no ;;
  972: 
  973:   -docdir | --docdir | --docdi | --doc | --do)
  974:     ac_prev=docdir ;;
  975:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  976:     docdir=$ac_optarg ;;
  977: 
  978:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  979:     ac_prev=dvidir ;;
  980:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  981:     dvidir=$ac_optarg ;;
  982: 
  983:   -enable-* | --enable-*)
  984:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  985:     # Reject names that are not valid shell variable names.
  986:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  987:       as_fn_error $? "invalid feature name: $ac_useropt"
  988:     ac_useropt_orig=$ac_useropt
  989:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  990:     case $ac_user_opts in
  991:       *"
  992: "enable_$ac_useropt"
  993: "*) ;;
  994:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  995:      ac_unrecognized_sep=', ';;
  996:     esac
  997:     eval enable_$ac_useropt=\$ac_optarg ;;
  998: 
  999:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1000:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1001:   | --exec | --exe | --ex)
 1002:     ac_prev=exec_prefix ;;
 1003:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1004:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1005:   | --exec=* | --exe=* | --ex=*)
 1006:     exec_prefix=$ac_optarg ;;
 1007: 
 1008:   -gas | --gas | --ga | --g)
 1009:     # Obsolete; use --with-gas.
 1010:     with_gas=yes ;;
 1011: 
 1012:   -help | --help | --hel | --he | -h)
 1013:     ac_init_help=long ;;
 1014:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1015:     ac_init_help=recursive ;;
 1016:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1017:     ac_init_help=short ;;
 1018: 
 1019:   -host | --host | --hos | --ho)
 1020:     ac_prev=host_alias ;;
 1021:   -host=* | --host=* | --hos=* | --ho=*)
 1022:     host_alias=$ac_optarg ;;
 1023: 
 1024:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1025:     ac_prev=htmldir ;;
 1026:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1027:   | --ht=*)
 1028:     htmldir=$ac_optarg ;;
 1029: 
 1030:   -includedir | --includedir | --includedi | --included | --include \
 1031:   | --includ | --inclu | --incl | --inc)
 1032:     ac_prev=includedir ;;
 1033:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1034:   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1035:     includedir=$ac_optarg ;;
 1036: 
 1037:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1038:     ac_prev=infodir ;;
 1039:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1040:     infodir=$ac_optarg ;;
 1041: 
 1042:   -libdir | --libdir | --libdi | --libd)
 1043:     ac_prev=libdir ;;
 1044:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1045:     libdir=$ac_optarg ;;
 1046: 
 1047:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1048:   | --libexe | --libex | --libe)
 1049:     ac_prev=libexecdir ;;
 1050:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1051:   | --libexe=* | --libex=* | --libe=*)
 1052:     libexecdir=$ac_optarg ;;
 1053: 
 1054:   -localedir | --localedir | --localedi | --localed | --locale)
 1055:     ac_prev=localedir ;;
 1056:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1057:     localedir=$ac_optarg ;;
 1058: 
 1059:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1060:   | --localstate | --localstat | --localsta | --localst | --locals)
 1061:     ac_prev=localstatedir ;;
 1062:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1063:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1064:     localstatedir=$ac_optarg ;;
 1065: 
 1066:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1067:     ac_prev=mandir ;;
 1068:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1069:     mandir=$ac_optarg ;;
 1070: 
 1071:   -nfp | --nfp | --nf)
 1072:     # Obsolete; use --without-fp.
 1073:     with_fp=no ;;
 1074: 
 1075:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1076:   | --no-cr | --no-c | -n)
 1077:     no_create=yes ;;
 1078: 
 1079:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1080:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1081:     no_recursion=yes ;;
 1082: 
 1083:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1084:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1085:   | --oldin | --oldi | --old | --ol | --o)
 1086:     ac_prev=oldincludedir ;;
 1087:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1088:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1089:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1090:     oldincludedir=$ac_optarg ;;
 1091: 
 1092:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1093:     ac_prev=prefix ;;
 1094:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1095:     prefix=$ac_optarg ;;
 1096: 
 1097:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1098:   | --program-pre | --program-pr | --program-p)
 1099:     ac_prev=program_prefix ;;
 1100:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1101:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1102:     program_prefix=$ac_optarg ;;
 1103: 
 1104:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1105:   | --program-suf | --program-su | --program-s)
 1106:     ac_prev=program_suffix ;;
 1107:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1108:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1109:     program_suffix=$ac_optarg ;;
 1110: 
 1111:   -program-transform-name | --program-transform-name \
 1112:   | --program-transform-nam | --program-transform-na \
 1113:   | --program-transform-n | --program-transform- \
 1114:   | --program-transform | --program-transfor \
 1115:   | --program-transfo | --program-transf \
 1116:   | --program-trans | --program-tran \
 1117:   | --progr-tra | --program-tr | --program-t)
 1118:     ac_prev=program_transform_name ;;
 1119:   -program-transform-name=* | --program-transform-name=* \
 1120:   | --program-transform-nam=* | --program-transform-na=* \
 1121:   | --program-transform-n=* | --program-transform-=* \
 1122:   | --program-transform=* | --program-transfor=* \
 1123:   | --program-transfo=* | --program-transf=* \
 1124:   | --program-trans=* | --program-tran=* \
 1125:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1126:     program_transform_name=$ac_optarg ;;
 1127: 
 1128:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1129:     ac_prev=pdfdir ;;
 1130:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1131:     pdfdir=$ac_optarg ;;
 1132: 
 1133:   -psdir | --psdir | --psdi | --psd | --ps)
 1134:     ac_prev=psdir ;;
 1135:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1136:     psdir=$ac_optarg ;;
 1137: 
 1138:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1139:   | -silent | --silent | --silen | --sile | --sil)
 1140:     silent=yes ;;
 1141: 
 1142:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1143:     ac_prev=sbindir ;;
 1144:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1145:   | --sbi=* | --sb=*)
 1146:     sbindir=$ac_optarg ;;
 1147: 
 1148:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1149:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1150:   | --sharedst | --shareds | --shared | --share | --shar \
 1151:   | --sha | --sh)
 1152:     ac_prev=sharedstatedir ;;
 1153:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1154:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1155:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1156:   | --sha=* | --sh=*)
 1157:     sharedstatedir=$ac_optarg ;;
 1158: 
 1159:   -site | --site | --sit)
 1160:     ac_prev=site ;;
 1161:   -site=* | --site=* | --sit=*)
 1162:     site=$ac_optarg ;;
 1163: 
 1164:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1165:     ac_prev=srcdir ;;
 1166:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1167:     srcdir=$ac_optarg ;;
 1168: 
 1169:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1170:   | --syscon | --sysco | --sysc | --sys | --sy)
 1171:     ac_prev=sysconfdir ;;
 1172:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1173:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1174:     sysconfdir=$ac_optarg ;;
 1175: 
 1176:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1177:     ac_prev=target_alias ;;
 1178:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1179:     target_alias=$ac_optarg ;;
 1180: 
 1181:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1182:     verbose=yes ;;
 1183: 
 1184:   -version | --version | --versio | --versi | --vers | -V)
 1185:     ac_init_version=: ;;
 1186: 
 1187:   -with-* | --with-*)
 1188:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1189:     # Reject names that are not valid shell variable names.
 1190:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1191:       as_fn_error $? "invalid package name: $ac_useropt"
 1192:     ac_useropt_orig=$ac_useropt
 1193:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1194:     case $ac_user_opts in
 1195:       *"
 1196: "with_$ac_useropt"
 1197: "*) ;;
 1198:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1199:      ac_unrecognized_sep=', ';;
 1200:     esac
 1201:     eval with_$ac_useropt=\$ac_optarg ;;
 1202: 
 1203:   -without-* | --without-*)
 1204:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1205:     # Reject names that are not valid shell variable names.
 1206:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1207:       as_fn_error $? "invalid package name: $ac_useropt"
 1208:     ac_useropt_orig=$ac_useropt
 1209:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1210:     case $ac_user_opts in
 1211:       *"
 1212: "with_$ac_useropt"
 1213: "*) ;;
 1214:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1215:      ac_unrecognized_sep=', ';;
 1216:     esac
 1217:     eval with_$ac_useropt=no ;;
 1218: 
 1219:   --x)
 1220:     # Obsolete; use --with-x.
 1221:     with_x=yes ;;
 1222: 
 1223:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1224:   | --x-incl | --x-inc | --x-in | --x-i)
 1225:     ac_prev=x_includes ;;
 1226:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1227:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1228:     x_includes=$ac_optarg ;;
 1229: 
 1230:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1231:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1232:     ac_prev=x_libraries ;;
 1233:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1234:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1235:     x_libraries=$ac_optarg ;;
 1236: 
 1237:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1238: Try \`$0 --help' for more information"
 1239:     ;;
 1240: 
 1241:   *=*)
 1242:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1243:     # Reject names that are not valid shell variable names.
 1244:     case $ac_envvar in #(
 1245:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1246:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1247:     esac
 1248:     eval $ac_envvar=\$ac_optarg
 1249:     export $ac_envvar ;;
 1250: 
 1251:   *)
 1252:     # FIXME: should be removed in autoconf 3.0.
 1253:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1254:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1255:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1256:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1257:     ;;
 1258: 
 1259:   esac
 1260: done
 1261: 
 1262: if test -n "$ac_prev"; then
 1263:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1264:   as_fn_error $? "missing argument to $ac_option"
 1265: fi
 1266: 
 1267: if test -n "$ac_unrecognized_opts"; then
 1268:   case $enable_option_checking in
 1269:     no) ;;
 1270:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1271:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1272:   esac
 1273: fi
 1274: 
 1275: # Check all directory arguments for consistency.
 1276: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1277:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1278:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1279:         libdir localedir mandir
 1280: do
 1281:   eval ac_val=\$$ac_var
 1282:   # Remove trailing slashes.
 1283:   case $ac_val in
 1284:     */ )
 1285:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1286:       eval $ac_var=\$ac_val;;
 1287:   esac
 1288:   # Be sure to have absolute directory names.
 1289:   case $ac_val in
 1290:     [\\/$]* | ?:[\\/]* )  continue;;
 1291:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1292:   esac
 1293:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1294: done
 1295: 
 1296: # There might be people who depend on the old broken behavior: `$host'
 1297: # used to hold the argument of --host etc.
 1298: # FIXME: To remove some day.
 1299: build=$build_alias
 1300: host=$host_alias
 1301: target=$target_alias
 1302: 
 1303: # FIXME: To remove some day.
 1304: if test "x$host_alias" != x; then
 1305:   if test "x$build_alias" = x; then
 1306:     cross_compiling=maybe
 1307:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1308:     If a cross compiler is detected then cross compile mode will be used" >&2
 1309:   elif test "x$build_alias" != "x$host_alias"; then
 1310:     cross_compiling=yes
 1311:   fi
 1312: fi
 1313: 
 1314: ac_tool_prefix=
 1315: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1316: 
 1317: test "$silent" = yes && exec 6>/dev/null
 1318: 
 1319: 
 1320: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1321: ac_ls_di=`ls -di .` &&
 1322: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1323:   as_fn_error $? "working directory cannot be determined"
 1324: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1325:   as_fn_error $? "pwd does not report name of working directory"
 1326: 
 1327: 
 1328: # Find the source files, if location was not specified.
 1329: if test -z "$srcdir"; then
 1330:   ac_srcdir_defaulted=yes
 1331:   # Try the directory containing this script, then the parent directory.
 1332:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1333: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1334:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1335:      X"$as_myself" : 'X\(//\)$' \| \
 1336:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1337: $as_echo X"$as_myself" |
 1338:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1339:         s//\1/
 1340:         q
 1341:       }
 1342:       /^X\(\/\/\)[^/].*/{
 1343:         s//\1/
 1344:         q
 1345:       }
 1346:       /^X\(\/\/\)$/{
 1347:         s//\1/
 1348:         q
 1349:       }
 1350:       /^X\(\/\).*/{
 1351:         s//\1/
 1352:         q
 1353:       }
 1354:       s/.*/./; q'`
 1355:   srcdir=$ac_confdir
 1356:   if test ! -r "$srcdir/$ac_unique_file"; then
 1357:     srcdir=..
 1358:   fi
 1359: else
 1360:   ac_srcdir_defaulted=no
 1361: fi
 1362: if test ! -r "$srcdir/$ac_unique_file"; then
 1363:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1364:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1365: fi
 1366: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1367: ac_abs_confdir=`(
 1368:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1369:     pwd)`
 1370: # When building in place, set srcdir=.
 1371: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1372:   srcdir=.
 1373: fi
 1374: # Remove unnecessary trailing slashes from srcdir.
 1375: # Double slashes in file names in object file debugging info
 1376: # mess up M-x gdb in Emacs.
 1377: case $srcdir in
 1378: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1379: esac
 1380: for ac_var in $ac_precious_vars; do
 1381:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1382:   eval ac_env_${ac_var}_value=\$${ac_var}
 1383:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1384:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1385: done
 1386: 
 1387: #
 1388: # Report the --help message.
 1389: #
 1390: if test "$ac_init_help" = "long"; then
 1391:   # Omit some internal or obsolete options to make the list less imposing.
 1392:   # This message is too long to be a string in the A/UX 3.1 sh.
 1393:   cat <<_ACEOF
 1394: \`configure' configures rpl 4.1.5 to adapt to many kinds of systems.
 1395: 
 1396: Usage: $0 [OPTION]... [VAR=VALUE]...
 1397: 
 1398: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1399: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1400: 
 1401: Defaults for the options are specified in brackets.
 1402: 
 1403: Configuration:
 1404:   -h, --help              display this help and exit
 1405:       --help=short        display options specific to this package
 1406:       --help=recursive    display the short help of all the included packages
 1407:   -V, --version           display version information and exit
 1408:   -q, --quiet, --silent   do not print \`checking ...' messages
 1409:       --cache-file=FILE   cache test results in FILE [disabled]
 1410:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1411:   -n, --no-create         do not create output files
 1412:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1413: 
 1414: Installation directories:
 1415:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1416:                           [$ac_default_prefix]
 1417:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1418:                           [PREFIX]
 1419: 
 1420: By default, \`make install' will install all the files in
 1421: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1422: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1423: for instance \`--prefix=\$HOME'.
 1424: 
 1425: For better control, use the options below.
 1426: 
 1427: Fine tuning of the installation directories:
 1428:   --bindir=DIR            user executables [EPREFIX/bin]
 1429:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1430:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1431:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1432:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1433:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1434:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1435:   --includedir=DIR        C header files [PREFIX/include]
 1436:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1437:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1438:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1439:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1440:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1441:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1442:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1443:   --htmldir=DIR           html documentation [DOCDIR]
 1444:   --dvidir=DIR            dvi documentation [DOCDIR]
 1445:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1446:   --psdir=DIR             ps documentation [DOCDIR]
 1447: _ACEOF
 1448: 
 1449:   cat <<\_ACEOF
 1450: 
 1451: Program names:
 1452:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1453:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1454:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1455: 
 1456: X features:
 1457:   --x-includes=DIR    X include files are in DIR
 1458:   --x-libraries=DIR   X library files are in DIR
 1459: 
 1460: System types:
 1461:   --build=BUILD     configure for building on BUILD [guessed]
 1462:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1463:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1464: _ACEOF
 1465: fi
 1466: 
 1467: if test -n "$ac_init_help"; then
 1468:   case $ac_init_help in
 1469:      short | recursive ) echo "Configuration of rpl 4.1.5:";;
 1470:    esac
 1471:   cat <<\_ACEOF
 1472: 
 1473: Optional Features:
 1474:   --disable-option-checking  ignore unrecognized --enable/--with options
 1475:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1476:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1477:   --enable-silent-rules          less verbose build output (undo: `make V=1')
 1478:   --disable-silent-rules         verbose build output (undo: `make V=0')
 1479:   --disable-dependency-tracking  speeds up one-time build
 1480:   --enable-dependency-tracking   do not reject slow dependency extractors
 1481:   --enable-recursive      recursive configuration (default=yes)
 1482:   --enable-rplcas         compile rplcas (default=no)
 1483:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1484:   --enable-sysv-ipcs      use SystemV IPC functions [default=guessed]
 1485:   --enable-full-static    build static RPL/2 engine [default=shared]
 1486:   --enable-final-encoding force final encoding [default=guessed]
 1487:   --enable-tex            provide the TeX support [default=guessed]
 1488:   --enable-vim            provide the vim support [default=guessed]
 1489:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1490:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1491:   --enable-motif          provide the Motif support [default=guessed]
 1492:   --enable-experimental   enable experimental code [default=no]
 1493:   --enable-debug          enable debug code [default=no]
 1494:   --enable-profile        enable profile code [default=no]
 1495:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1496: 
 1497: Optional Packages:
 1498:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1499:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1500:   --with-x                use the X Window System
 1501:   --with-32bits-abi       force 32bits ABI (multilib)
 1502:   --with-64bits-abi       force 64bits ABI (multilib)
 1503:   --with-rpltools         specify rpltools path used for cross compilation
 1504:   --with-mysql=PATH         specify directory for installed mysql
 1505:   --with-postgresql=PATH    specify directory for installed postgresql
 1506:   --with-bourne-shell=PATH  specify path for OS/2 bourne shell
 1507:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
 1508: 
 1509: Some influential environment variables:
 1510:   CC          C compiler command
 1511:   CFLAGS      C compiler flags
 1512:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1513:               nonstandard directory <lib dir>
 1514:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1515:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1516:               you have headers in a nonstandard directory <include dir>
 1517:   CXX         C++ compiler command
 1518:   CXXFLAGS    C++ compiler flags
 1519:   F77         Fortran 77 compiler command
 1520:   FFLAGS      Fortran 77 compiler flags
 1521:   FC          Fortran compiler command
 1522:   FCFLAGS     Fortran compiler flags
 1523:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1524:   CPP         C preprocessor
 1525: 
 1526: Use these variables to override the choices made by `configure' or to help
 1527: it to find libraries and programs with nonstandard names/locations.
 1528: 
 1529: Report bugs to the package provider.
 1530: _ACEOF
 1531: ac_status=$?
 1532: fi
 1533: 
 1534: if test "$ac_init_help" = "recursive"; then
 1535:   # If there are subdirs, report their specific --help.
 1536:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1537:     test -d "$ac_dir" ||
 1538:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1539:       continue
 1540:     ac_builddir=.
 1541: 
 1542: case "$ac_dir" in
 1543: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1544: *)
 1545:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1546:   # A ".." for each directory in $ac_dir_suffix.
 1547:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1548:   case $ac_top_builddir_sub in
 1549:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1550:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1551:   esac ;;
 1552: esac
 1553: ac_abs_top_builddir=$ac_pwd
 1554: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1555: # for backward compatibility:
 1556: ac_top_builddir=$ac_top_build_prefix
 1557: 
 1558: case $srcdir in
 1559:   .)  # We are building in place.
 1560:     ac_srcdir=.
 1561:     ac_top_srcdir=$ac_top_builddir_sub
 1562:     ac_abs_top_srcdir=$ac_pwd ;;
 1563:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1564:     ac_srcdir=$srcdir$ac_dir_suffix;
 1565:     ac_top_srcdir=$srcdir
 1566:     ac_abs_top_srcdir=$srcdir ;;
 1567:   *) # Relative name.
 1568:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1569:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1570:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1571: esac
 1572: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1573: 
 1574:     cd "$ac_dir" || { ac_status=$?; continue; }
 1575:     # Check for guested configure.
 1576:     if test -f "$ac_srcdir/configure.gnu"; then
 1577:       echo &&
 1578:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1579:     elif test -f "$ac_srcdir/configure"; then
 1580:       echo &&
 1581:       $SHELL "$ac_srcdir/configure" --help=recursive
 1582:     else
 1583:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1584:     fi || ac_status=$?
 1585:     cd "$ac_pwd" || { ac_status=$?; break; }
 1586:   done
 1587: fi
 1588: 
 1589: test -n "$ac_init_help" && exit $ac_status
 1590: if $ac_init_version; then
 1591:   cat <<\_ACEOF
 1592: rpl configure 4.1.5
 1593: generated by GNU Autoconf 2.68
 1594: 
 1595: Copyright (C) 2010 Free Software Foundation, Inc.
 1596: This configure script is free software; the Free Software Foundation
 1597: gives unlimited permission to copy, distribute and modify it.
 1598: _ACEOF
 1599:   exit
 1600: fi
 1601: 
 1602: ## ------------------------ ##
 1603: ## Autoconf initialization. ##
 1604: ## ------------------------ ##
 1605: 
 1606: # ac_fn_c_try_compile LINENO
 1607: # --------------------------
 1608: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1609: ac_fn_c_try_compile ()
 1610: {
 1611:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1612:   rm -f conftest.$ac_objext
 1613:   if { { ac_try="$ac_compile"
 1614: case "(($ac_try" in
 1615:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1616:   *) ac_try_echo=$ac_try;;
 1617: esac
 1618: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1619: $as_echo "$ac_try_echo"; } >&5
 1620:   (eval "$ac_compile") 2>conftest.err
 1621:   ac_status=$?
 1622:   if test -s conftest.err; then
 1623:     grep -v '^ *+' conftest.err >conftest.er1
 1624:     cat conftest.er1 >&5
 1625:     mv -f conftest.er1 conftest.err
 1626:   fi
 1627:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1628:   test $ac_status = 0; } && {
 1629:      test -z "$ac_c_werror_flag" ||
 1630:      test ! -s conftest.err
 1631:        } && test -s conftest.$ac_objext; then :
 1632:   ac_retval=0
 1633: else
 1634:   $as_echo "$as_me: failed program was:" >&5
 1635: sed 's/^/| /' conftest.$ac_ext >&5
 1636: 
 1637:     ac_retval=1
 1638: fi
 1639:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1640:   as_fn_set_status $ac_retval
 1641: 
 1642: } # ac_fn_c_try_compile
 1643: 
 1644: # ac_fn_cxx_try_compile LINENO
 1645: # ----------------------------
 1646: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1647: ac_fn_cxx_try_compile ()
 1648: {
 1649:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1650:   rm -f conftest.$ac_objext
 1651:   if { { ac_try="$ac_compile"
 1652: case "(($ac_try" in
 1653:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1654:   *) ac_try_echo=$ac_try;;
 1655: esac
 1656: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1657: $as_echo "$ac_try_echo"; } >&5
 1658:   (eval "$ac_compile") 2>conftest.err
 1659:   ac_status=$?
 1660:   if test -s conftest.err; then
 1661:     grep -v '^ *+' conftest.err >conftest.er1
 1662:     cat conftest.er1 >&5
 1663:     mv -f conftest.er1 conftest.err
 1664:   fi
 1665:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1666:   test $ac_status = 0; } && {
 1667:      test -z "$ac_cxx_werror_flag" ||
 1668:      test ! -s conftest.err
 1669:        } && test -s conftest.$ac_objext; then :
 1670:   ac_retval=0
 1671: else
 1672:   $as_echo "$as_me: failed program was:" >&5
 1673: sed 's/^/| /' conftest.$ac_ext >&5
 1674: 
 1675:     ac_retval=1
 1676: fi
 1677:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1678:   as_fn_set_status $ac_retval
 1679: 
 1680: } # ac_fn_cxx_try_compile
 1681: 
 1682: # ac_fn_f77_try_compile LINENO
 1683: # ----------------------------
 1684: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1685: ac_fn_f77_try_compile ()
 1686: {
 1687:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1688:   rm -f conftest.$ac_objext
 1689:   if { { ac_try="$ac_compile"
 1690: case "(($ac_try" in
 1691:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1692:   *) ac_try_echo=$ac_try;;
 1693: esac
 1694: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1695: $as_echo "$ac_try_echo"; } >&5
 1696:   (eval "$ac_compile") 2>conftest.err
 1697:   ac_status=$?
 1698:   if test -s conftest.err; then
 1699:     grep -v '^ *+' conftest.err >conftest.er1
 1700:     cat conftest.er1 >&5
 1701:     mv -f conftest.er1 conftest.err
 1702:   fi
 1703:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1704:   test $ac_status = 0; } && {
 1705:      test -z "$ac_f77_werror_flag" ||
 1706:      test ! -s conftest.err
 1707:        } && test -s conftest.$ac_objext; then :
 1708:   ac_retval=0
 1709: else
 1710:   $as_echo "$as_me: failed program was:" >&5
 1711: sed 's/^/| /' conftest.$ac_ext >&5
 1712: 
 1713:     ac_retval=1
 1714: fi
 1715:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1716:   as_fn_set_status $ac_retval
 1717: 
 1718: } # ac_fn_f77_try_compile
 1719: 
 1720: # ac_fn_fc_try_compile LINENO
 1721: # ---------------------------
 1722: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1723: ac_fn_fc_try_compile ()
 1724: {
 1725:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1726:   rm -f conftest.$ac_objext
 1727:   if { { ac_try="$ac_compile"
 1728: case "(($ac_try" in
 1729:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1730:   *) ac_try_echo=$ac_try;;
 1731: esac
 1732: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1733: $as_echo "$ac_try_echo"; } >&5
 1734:   (eval "$ac_compile") 2>conftest.err
 1735:   ac_status=$?
 1736:   if test -s conftest.err; then
 1737:     grep -v '^ *+' conftest.err >conftest.er1
 1738:     cat conftest.er1 >&5
 1739:     mv -f conftest.er1 conftest.err
 1740:   fi
 1741:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1742:   test $ac_status = 0; } && {
 1743:      test -z "$ac_fc_werror_flag" ||
 1744:      test ! -s conftest.err
 1745:        } && test -s conftest.$ac_objext; then :
 1746:   ac_retval=0
 1747: else
 1748:   $as_echo "$as_me: failed program was:" >&5
 1749: sed 's/^/| /' conftest.$ac_ext >&5
 1750: 
 1751:     ac_retval=1
 1752: fi
 1753:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1754:   as_fn_set_status $ac_retval
 1755: 
 1756: } # ac_fn_fc_try_compile
 1757: 
 1758: # ac_fn_c_try_cpp LINENO
 1759: # ----------------------
 1760: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1761: ac_fn_c_try_cpp ()
 1762: {
 1763:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1764:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1765: case "(($ac_try" in
 1766:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1767:   *) ac_try_echo=$ac_try;;
 1768: esac
 1769: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1770: $as_echo "$ac_try_echo"; } >&5
 1771:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1772:   ac_status=$?
 1773:   if test -s conftest.err; then
 1774:     grep -v '^ *+' conftest.err >conftest.er1
 1775:     cat conftest.er1 >&5
 1776:     mv -f conftest.er1 conftest.err
 1777:   fi
 1778:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1779:   test $ac_status = 0; } > conftest.i && {
 1780:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1781:      test ! -s conftest.err
 1782:        }; then :
 1783:   ac_retval=0
 1784: else
 1785:   $as_echo "$as_me: failed program was:" >&5
 1786: sed 's/^/| /' conftest.$ac_ext >&5
 1787: 
 1788:     ac_retval=1
 1789: fi
 1790:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1791:   as_fn_set_status $ac_retval
 1792: 
 1793: } # ac_fn_c_try_cpp
 1794: 
 1795: # ac_fn_c_try_link LINENO
 1796: # -----------------------
 1797: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1798: ac_fn_c_try_link ()
 1799: {
 1800:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1801:   rm -f conftest.$ac_objext conftest$ac_exeext
 1802:   if { { ac_try="$ac_link"
 1803: case "(($ac_try" in
 1804:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1805:   *) ac_try_echo=$ac_try;;
 1806: esac
 1807: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1808: $as_echo "$ac_try_echo"; } >&5
 1809:   (eval "$ac_link") 2>conftest.err
 1810:   ac_status=$?
 1811:   if test -s conftest.err; then
 1812:     grep -v '^ *+' conftest.err >conftest.er1
 1813:     cat conftest.er1 >&5
 1814:     mv -f conftest.er1 conftest.err
 1815:   fi
 1816:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1817:   test $ac_status = 0; } && {
 1818:      test -z "$ac_c_werror_flag" ||
 1819:      test ! -s conftest.err
 1820:        } && test -s conftest$ac_exeext && {
 1821:      test "$cross_compiling" = yes ||
 1822:      $as_test_x conftest$ac_exeext
 1823:        }; then :
 1824:   ac_retval=0
 1825: else
 1826:   $as_echo "$as_me: failed program was:" >&5
 1827: sed 's/^/| /' conftest.$ac_ext >&5
 1828: 
 1829:     ac_retval=1
 1830: fi
 1831:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1832:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1833:   # interfere with the next link command; also delete a directory that is
 1834:   # left behind by Apple's compiler.  We do this before executing the actions.
 1835:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1836:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1837:   as_fn_set_status $ac_retval
 1838: 
 1839: } # ac_fn_c_try_link
 1840: 
 1841: # ac_fn_c_check_func LINENO FUNC VAR
 1842: # ----------------------------------
 1843: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1844: ac_fn_c_check_func ()
 1845: {
 1846:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1847:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1848: $as_echo_n "checking for $2... " >&6; }
 1849: if eval \${$3+:} false; then :
 1850:   $as_echo_n "(cached) " >&6
 1851: else
 1852:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1853: /* end confdefs.h.  */
 1854: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1855:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1856: #define $2 innocuous_$2
 1857: 
 1858: /* System header to define __stub macros and hopefully few prototypes,
 1859:     which can conflict with char $2 (); below.
 1860:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1861:     <limits.h> exists even on freestanding compilers.  */
 1862: 
 1863: #ifdef __STDC__
 1864: # include <limits.h>
 1865: #else
 1866: # include <assert.h>
 1867: #endif
 1868: 
 1869: #undef $2
 1870: 
 1871: /* Override any GCC internal prototype to avoid an error.
 1872:    Use char because int might match the return type of a GCC
 1873:    builtin and then its argument prototype would still apply.  */
 1874: #ifdef __cplusplus
 1875: extern "C"
 1876: #endif
 1877: char $2 ();
 1878: /* The GNU C library defines this for functions which it implements
 1879:     to always fail with ENOSYS.  Some functions are actually named
 1880:     something starting with __ and the normal name is an alias.  */
 1881: #if defined __stub_$2 || defined __stub___$2
 1882: choke me
 1883: #endif
 1884: 
 1885: int
 1886: main ()
 1887: {
 1888: return $2 ();
 1889:   ;
 1890:   return 0;
 1891: }
 1892: _ACEOF
 1893: if ac_fn_c_try_link "$LINENO"; then :
 1894:   eval "$3=yes"
 1895: else
 1896:   eval "$3=no"
 1897: fi
 1898: rm -f core conftest.err conftest.$ac_objext \
 1899:     conftest$ac_exeext conftest.$ac_ext
 1900: fi
 1901: eval ac_res=\$$3
 1902:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1903: $as_echo "$ac_res" >&6; }
 1904:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1905: 
 1906: } # ac_fn_c_check_func
 1907: 
 1908: # ac_fn_c_try_run LINENO
 1909: # ----------------------
 1910: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1911: # that executables *can* be run.
 1912: ac_fn_c_try_run ()
 1913: {
 1914:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1915:   if { { ac_try="$ac_link"
 1916: case "(($ac_try" in
 1917:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1918:   *) ac_try_echo=$ac_try;;
 1919: esac
 1920: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1921: $as_echo "$ac_try_echo"; } >&5
 1922:   (eval "$ac_link") 2>&5
 1923:   ac_status=$?
 1924:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1925:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1926:   { { case "(($ac_try" in
 1927:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1928:   *) ac_try_echo=$ac_try;;
 1929: esac
 1930: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1931: $as_echo "$ac_try_echo"; } >&5
 1932:   (eval "$ac_try") 2>&5
 1933:   ac_status=$?
 1934:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1935:   test $ac_status = 0; }; }; then :
 1936:   ac_retval=0
 1937: else
 1938:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1939:        $as_echo "$as_me: failed program was:" >&5
 1940: sed 's/^/| /' conftest.$ac_ext >&5
 1941: 
 1942:        ac_retval=$ac_status
 1943: fi
 1944:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1945:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1946:   as_fn_set_status $ac_retval
 1947: 
 1948: } # ac_fn_c_try_run
 1949: 
 1950: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1951: # -------------------------------------------
 1952: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1953: # variable VAR accordingly.
 1954: ac_fn_c_check_type ()
 1955: {
 1956:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1957:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1958: $as_echo_n "checking for $2... " >&6; }
 1959: if eval \${$3+:} false; then :
 1960:   $as_echo_n "(cached) " >&6
 1961: else
 1962:   eval "$3=no"
 1963:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1964: /* end confdefs.h.  */
 1965: $4
 1966: int
 1967: main ()
 1968: {
 1969: if (sizeof ($2))
 1970:      return 0;
 1971:   ;
 1972:   return 0;
 1973: }
 1974: _ACEOF
 1975: if ac_fn_c_try_compile "$LINENO"; then :
 1976:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1977: /* end confdefs.h.  */
 1978: $4
 1979: int
 1980: main ()
 1981: {
 1982: if (sizeof (($2)))
 1983:         return 0;
 1984:   ;
 1985:   return 0;
 1986: }
 1987: _ACEOF
 1988: if ac_fn_c_try_compile "$LINENO"; then :
 1989: 
 1990: else
 1991:   eval "$3=yes"
 1992: fi
 1993: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1994: fi
 1995: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1996: fi
 1997: eval ac_res=\$$3
 1998:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1999: $as_echo "$ac_res" >&6; }
 2000:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2001: 
 2002: } # ac_fn_c_check_type
 2003: 
 2004: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 2005: # --------------------------------------------
 2006: # Tries to find the compile-time value of EXPR in a program that includes
 2007: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 2008: # computed
 2009: ac_fn_c_compute_int ()
 2010: {
 2011:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2012:   if test "$cross_compiling" = yes; then
 2013:     # Depending upon the size, compute the lo and hi bounds.
 2014: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2015: /* end confdefs.h.  */
 2016: $4
 2017: int
 2018: main ()
 2019: {
 2020: static int test_array [1 - 2 * !(($2) >= 0)];
 2021: test_array [0] = 0
 2022: 
 2023:   ;
 2024:   return 0;
 2025: }
 2026: _ACEOF
 2027: if ac_fn_c_try_compile "$LINENO"; then :
 2028:   ac_lo=0 ac_mid=0
 2029:   while :; do
 2030:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2031: /* end confdefs.h.  */
 2032: $4
 2033: int
 2034: main ()
 2035: {
 2036: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2037: test_array [0] = 0
 2038: 
 2039:   ;
 2040:   return 0;
 2041: }
 2042: _ACEOF
 2043: if ac_fn_c_try_compile "$LINENO"; then :
 2044:   ac_hi=$ac_mid; break
 2045: else
 2046:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2047:             if test $ac_lo -le $ac_mid; then
 2048:               ac_lo= ac_hi=
 2049:               break
 2050:             fi
 2051:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2052: fi
 2053: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2054:   done
 2055: else
 2056:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2057: /* end confdefs.h.  */
 2058: $4
 2059: int
 2060: main ()
 2061: {
 2062: static int test_array [1 - 2 * !(($2) < 0)];
 2063: test_array [0] = 0
 2064: 
 2065:   ;
 2066:   return 0;
 2067: }
 2068: _ACEOF
 2069: if ac_fn_c_try_compile "$LINENO"; then :
 2070:   ac_hi=-1 ac_mid=-1
 2071:   while :; do
 2072:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2073: /* end confdefs.h.  */
 2074: $4
 2075: int
 2076: main ()
 2077: {
 2078: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2079: test_array [0] = 0
 2080: 
 2081:   ;
 2082:   return 0;
 2083: }
 2084: _ACEOF
 2085: if ac_fn_c_try_compile "$LINENO"; then :
 2086:   ac_lo=$ac_mid; break
 2087: else
 2088:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2089:             if test $ac_mid -le $ac_hi; then
 2090:               ac_lo= ac_hi=
 2091:               break
 2092:             fi
 2093:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2094: fi
 2095: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2096:   done
 2097: else
 2098:   ac_lo= ac_hi=
 2099: fi
 2100: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2101: fi
 2102: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2103: # Binary search between lo and hi bounds.
 2104: while test "x$ac_lo" != "x$ac_hi"; do
 2105:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2106:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2107: /* end confdefs.h.  */
 2108: $4
 2109: int
 2110: main ()
 2111: {
 2112: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2113: test_array [0] = 0
 2114: 
 2115:   ;
 2116:   return 0;
 2117: }
 2118: _ACEOF
 2119: if ac_fn_c_try_compile "$LINENO"; then :
 2120:   ac_hi=$ac_mid
 2121: else
 2122:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2123: fi
 2124: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2125: done
 2126: case $ac_lo in #((
 2127: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2128: '') ac_retval=1 ;;
 2129: esac
 2130:   else
 2131:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2132: /* end confdefs.h.  */
 2133: $4
 2134: static long int longval () { return $2; }
 2135: static unsigned long int ulongval () { return $2; }
 2136: #include <stdio.h>
 2137: #include <stdlib.h>
 2138: int
 2139: main ()
 2140: {
 2141: 
 2142:   FILE *f = fopen ("conftest.val", "w");
 2143:   if (! f)
 2144:     return 1;
 2145:   if (($2) < 0)
 2146:     {
 2147:       long int i = longval ();
 2148:       if (i != ($2))
 2149:     return 1;
 2150:       fprintf (f, "%ld", i);
 2151:     }
 2152:   else
 2153:     {
 2154:       unsigned long int i = ulongval ();
 2155:       if (i != ($2))
 2156:     return 1;
 2157:       fprintf (f, "%lu", i);
 2158:     }
 2159:   /* Do not output a trailing newline, as this causes \r\n confusion
 2160:      on some platforms.  */
 2161:   return ferror (f) || fclose (f) != 0;
 2162: 
 2163:   ;
 2164:   return 0;
 2165: }
 2166: _ACEOF
 2167: if ac_fn_c_try_run "$LINENO"; then :
 2168:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2169: else
 2170:   ac_retval=1
 2171: fi
 2172: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2173:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2174: rm -f conftest.val
 2175: 
 2176:   fi
 2177:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2178:   as_fn_set_status $ac_retval
 2179: 
 2180: } # ac_fn_c_compute_int
 2181: 
 2182: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2183: # -------------------------------------------------------
 2184: # Tests whether HEADER exists and can be compiled using the include files in
 2185: # INCLUDES, setting the cache variable VAR accordingly.
 2186: ac_fn_c_check_header_compile ()
 2187: {
 2188:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2189:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2190: $as_echo_n "checking for $2... " >&6; }
 2191: if eval \${$3+:} false; then :
 2192:   $as_echo_n "(cached) " >&6
 2193: else
 2194:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2195: /* end confdefs.h.  */
 2196: $4
 2197: #include <$2>
 2198: _ACEOF
 2199: if ac_fn_c_try_compile "$LINENO"; then :
 2200:   eval "$3=yes"
 2201: else
 2202:   eval "$3=no"
 2203: fi
 2204: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2205: fi
 2206: eval ac_res=\$$3
 2207:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2208: $as_echo "$ac_res" >&6; }
 2209:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2210: 
 2211: } # ac_fn_c_check_header_compile
 2212: 
 2213: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2214: # -------------------------------------------------------
 2215: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2216: # the include files in INCLUDES and setting the cache variable VAR
 2217: # accordingly.
 2218: ac_fn_c_check_header_mongrel ()
 2219: {
 2220:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2221:   if eval \${$3+:} false; then :
 2222:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2223: $as_echo_n "checking for $2... " >&6; }
 2224: if eval \${$3+:} false; then :
 2225:   $as_echo_n "(cached) " >&6
 2226: fi
 2227: eval ac_res=\$$3
 2228:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2229: $as_echo "$ac_res" >&6; }
 2230: else
 2231:   # Is the header compilable?
 2232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2233: $as_echo_n "checking $2 usability... " >&6; }
 2234: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2235: /* end confdefs.h.  */
 2236: $4
 2237: #include <$2>
 2238: _ACEOF
 2239: if ac_fn_c_try_compile "$LINENO"; then :
 2240:   ac_header_compiler=yes
 2241: else
 2242:   ac_header_compiler=no
 2243: fi
 2244: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2246: $as_echo "$ac_header_compiler" >&6; }
 2247: 
 2248: # Is the header present?
 2249: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2250: $as_echo_n "checking $2 presence... " >&6; }
 2251: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2252: /* end confdefs.h.  */
 2253: #include <$2>
 2254: _ACEOF
 2255: if ac_fn_c_try_cpp "$LINENO"; then :
 2256:   ac_header_preproc=yes
 2257: else
 2258:   ac_header_preproc=no
 2259: fi
 2260: rm -f conftest.err conftest.i conftest.$ac_ext
 2261: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2262: $as_echo "$ac_header_preproc" >&6; }
 2263: 
 2264: # So?  What about this header?
 2265: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2266:   yes:no: )
 2267:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2268: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2269:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2270: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2271:     ;;
 2272:   no:yes:* )
 2273:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2274: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2275:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2276: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2277:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2278: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2279:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2280: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2281:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2282: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2283:     ;;
 2284: esac
 2285:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2286: $as_echo_n "checking for $2... " >&6; }
 2287: if eval \${$3+:} false; then :
 2288:   $as_echo_n "(cached) " >&6
 2289: else
 2290:   eval "$3=\$ac_header_compiler"
 2291: fi
 2292: eval ac_res=\$$3
 2293:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2294: $as_echo "$ac_res" >&6; }
 2295: fi
 2296:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2297: 
 2298: } # ac_fn_c_check_header_mongrel
 2299: cat >config.log <<_ACEOF
 2300: This file contains any messages produced by compilers while
 2301: running configure, to aid debugging if configure makes a mistake.
 2302: 
 2303: It was created by rpl $as_me 4.1.5, which was
 2304: generated by GNU Autoconf 2.68.  Invocation command line was
 2305: 
 2306:   $ $0 $@
 2307: 
 2308: _ACEOF
 2309: exec 5>>config.log
 2310: {
 2311: cat <<_ASUNAME
 2312: ## --------- ##
 2313: ## Platform. ##
 2314: ## --------- ##
 2315: 
 2316: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2317: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2318: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2319: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2320: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2321: 
 2322: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2323: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2324: 
 2325: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2326: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2327: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2328: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2329: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2330: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2331: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2332: 
 2333: _ASUNAME
 2334: 
 2335: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2336: for as_dir in $PATH
 2337: do
 2338:   IFS=$as_save_IFS
 2339:   test -z "$as_dir" && as_dir=.
 2340:     $as_echo "PATH: $as_dir"
 2341:   done
 2342: IFS=$as_save_IFS
 2343: 
 2344: } >&5
 2345: 
 2346: cat >&5 <<_ACEOF
 2347: 
 2348: 
 2349: ## ----------- ##
 2350: ## Core tests. ##
 2351: ## ----------- ##
 2352: 
 2353: _ACEOF
 2354: 
 2355: 
 2356: # Keep a trace of the command line.
 2357: # Strip out --no-create and --no-recursion so they do not pile up.
 2358: # Strip out --silent because we don't want to record it for future runs.
 2359: # Also quote any args containing shell meta-characters.
 2360: # Make two passes to allow for proper duplicate-argument suppression.
 2361: ac_configure_args=
 2362: ac_configure_args0=
 2363: ac_configure_args1=
 2364: ac_must_keep_next=false
 2365: for ac_pass in 1 2
 2366: do
 2367:   for ac_arg
 2368:   do
 2369:     case $ac_arg in
 2370:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2371:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2372:     | -silent | --silent | --silen | --sile | --sil)
 2373:       continue ;;
 2374:     *\'*)
 2375:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2376:     esac
 2377:     case $ac_pass in
 2378:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2379:     2)
 2380:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2381:       if test $ac_must_keep_next = true; then
 2382:     ac_must_keep_next=false # Got value, back to normal.
 2383:       else
 2384:     case $ac_arg in
 2385:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2386:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2387:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2388:       | -with-* | --with-* | -without-* | --without-* | --x)
 2389:         case "$ac_configure_args0 " in
 2390:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2391:         esac
 2392:         ;;
 2393:       -* ) ac_must_keep_next=true ;;
 2394:     esac
 2395:       fi
 2396:       as_fn_append ac_configure_args " '$ac_arg'"
 2397:       ;;
 2398:     esac
 2399:   done
 2400: done
 2401: { ac_configure_args0=; unset ac_configure_args0;}
 2402: { ac_configure_args1=; unset ac_configure_args1;}
 2403: 
 2404: # When interrupted or exit'd, cleanup temporary files, and complete
 2405: # config.log.  We remove comments because anyway the quotes in there
 2406: # would cause problems or look ugly.
 2407: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2408: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2409: trap 'exit_status=$?
 2410:   # Save into config.log some information that might help in debugging.
 2411:   {
 2412:     echo
 2413: 
 2414:     $as_echo "## ---------------- ##
 2415: ## Cache variables. ##
 2416: ## ---------------- ##"
 2417:     echo
 2418:     # The following way of writing the cache mishandles newlines in values,
 2419: (
 2420:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2421:     eval ac_val=\$$ac_var
 2422:     case $ac_val in #(
 2423:     *${as_nl}*)
 2424:       case $ac_var in #(
 2425:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2426: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2427:       esac
 2428:       case $ac_var in #(
 2429:       _ | IFS | as_nl) ;; #(
 2430:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2431:       *) { eval $ac_var=; unset $ac_var;} ;;
 2432:       esac ;;
 2433:     esac
 2434:   done
 2435:   (set) 2>&1 |
 2436:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2437:     *${as_nl}ac_space=\ *)
 2438:       sed -n \
 2439:     "s/'\''/'\''\\\\'\'''\''/g;
 2440:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2441:       ;; #(
 2442:     *)
 2443:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2444:       ;;
 2445:     esac |
 2446:     sort
 2447: )
 2448:     echo
 2449: 
 2450:     $as_echo "## ----------------- ##
 2451: ## Output variables. ##
 2452: ## ----------------- ##"
 2453:     echo
 2454:     for ac_var in $ac_subst_vars
 2455:     do
 2456:       eval ac_val=\$$ac_var
 2457:       case $ac_val in
 2458:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2459:       esac
 2460:       $as_echo "$ac_var='\''$ac_val'\''"
 2461:     done | sort
 2462:     echo
 2463: 
 2464:     if test -n "$ac_subst_files"; then
 2465:       $as_echo "## ------------------- ##
 2466: ## File substitutions. ##
 2467: ## ------------------- ##"
 2468:       echo
 2469:       for ac_var in $ac_subst_files
 2470:       do
 2471:     eval ac_val=\$$ac_var
 2472:     case $ac_val in
 2473:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2474:     esac
 2475:     $as_echo "$ac_var='\''$ac_val'\''"
 2476:       done | sort
 2477:       echo
 2478:     fi
 2479: 
 2480:     if test -s confdefs.h; then
 2481:       $as_echo "## ----------- ##
 2482: ## confdefs.h. ##
 2483: ## ----------- ##"
 2484:       echo
 2485:       cat confdefs.h
 2486:       echo
 2487:     fi
 2488:     test "$ac_signal" != 0 &&
 2489:       $as_echo "$as_me: caught signal $ac_signal"
 2490:     $as_echo "$as_me: exit $exit_status"
 2491:   } >&5
 2492:   rm -f core *.core core.conftest.* &&
 2493:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2494:     exit $exit_status
 2495: ' 0
 2496: for ac_signal in 1 2 13 15; do
 2497:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2498: done
 2499: ac_signal=0
 2500: 
 2501: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2502: rm -f -r conftest* confdefs.h
 2503: 
 2504: $as_echo "/* confdefs.h */" > confdefs.h
 2505: 
 2506: # Predefined preprocessor variables.
 2507: 
 2508: cat >>confdefs.h <<_ACEOF
 2509: #define PACKAGE_NAME "$PACKAGE_NAME"
 2510: _ACEOF
 2511: 
 2512: cat >>confdefs.h <<_ACEOF
 2513: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2514: _ACEOF
 2515: 
 2516: cat >>confdefs.h <<_ACEOF
 2517: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2518: _ACEOF
 2519: 
 2520: cat >>confdefs.h <<_ACEOF
 2521: #define PACKAGE_STRING "$PACKAGE_STRING"
 2522: _ACEOF
 2523: 
 2524: cat >>confdefs.h <<_ACEOF
 2525: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2526: _ACEOF
 2527: 
 2528: cat >>confdefs.h <<_ACEOF
 2529: #define PACKAGE_URL "$PACKAGE_URL"
 2530: _ACEOF
 2531: 
 2532: 
 2533: # Let the site file select an alternate cache file if it wants to.
 2534: # Prefer an explicitly selected file to automatically selected ones.
 2535: ac_site_file1=NONE
 2536: ac_site_file2=NONE
 2537: if test -n "$CONFIG_SITE"; then
 2538:   # We do not want a PATH search for config.site.
 2539:   case $CONFIG_SITE in #((
 2540:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2541:     */*) ac_site_file1=$CONFIG_SITE;;
 2542:     *)   ac_site_file1=./$CONFIG_SITE;;
 2543:   esac
 2544: elif test "x$prefix" != xNONE; then
 2545:   ac_site_file1=$prefix/share/config.site
 2546:   ac_site_file2=$prefix/etc/config.site
 2547: else
 2548:   ac_site_file1=$ac_default_prefix/share/config.site
 2549:   ac_site_file2=$ac_default_prefix/etc/config.site
 2550: fi
 2551: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2552: do
 2553:   test "x$ac_site_file" = xNONE && continue
 2554:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2555:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2556: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2557:     sed 's/^/| /' "$ac_site_file" >&5
 2558:     . "$ac_site_file" \
 2559:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2560: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2561: as_fn_error $? "failed to load site script $ac_site_file
 2562: See \`config.log' for more details" "$LINENO" 5; }
 2563:   fi
 2564: done
 2565: 
 2566: if test -r "$cache_file"; then
 2567:   # Some versions of bash will fail to source /dev/null (special files
 2568:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2569:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2570:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2571: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2572:     case $cache_file in
 2573:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2574:       *)                      . "./$cache_file";;
 2575:     esac
 2576:   fi
 2577: else
 2578:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2579: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2580:   >$cache_file
 2581: fi
 2582: 
 2583: # Check that the precious variables saved in the cache have kept the same
 2584: # value.
 2585: ac_cache_corrupted=false
 2586: for ac_var in $ac_precious_vars; do
 2587:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2588:   eval ac_new_set=\$ac_env_${ac_var}_set
 2589:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2590:   eval ac_new_val=\$ac_env_${ac_var}_value
 2591:   case $ac_old_set,$ac_new_set in
 2592:     set,)
 2593:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2594: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2595:       ac_cache_corrupted=: ;;
 2596:     ,set)
 2597:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2598: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2599:       ac_cache_corrupted=: ;;
 2600:     ,);;
 2601:     *)
 2602:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2603:     # differences in whitespace do not lead to failure.
 2604:     ac_old_val_w=`echo x $ac_old_val`
 2605:     ac_new_val_w=`echo x $ac_new_val`
 2606:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2607:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2608: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2609:       ac_cache_corrupted=:
 2610:     else
 2611:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2612: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2613:       eval $ac_var=\$ac_old_val
 2614:     fi
 2615:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2616: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2617:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2618: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2619:       fi;;
 2620:   esac
 2621:   # Pass precious variables to config.status.
 2622:   if test "$ac_new_set" = set; then
 2623:     case $ac_new_val in
 2624:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2625:     *) ac_arg=$ac_var=$ac_new_val ;;
 2626:     esac
 2627:     case " $ac_configure_args " in
 2628:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2629:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2630:     esac
 2631:   fi
 2632: done
 2633: if $ac_cache_corrupted; then
 2634:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2635: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2636:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2637: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2638:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2639: fi
 2640: ## -------------------- ##
 2641: ## Main body of script. ##
 2642: ## -------------------- ##
 2643: 
 2644: ac_ext=c
 2645: ac_cpp='$CPP $CPPFLAGS'
 2646: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2647: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2648: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2649: 
 2650: 
 2651: ac_aux_dir=
 2652: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2653:   if test -f "$ac_dir/install-sh"; then
 2654:     ac_aux_dir=$ac_dir
 2655:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2656:     break
 2657:   elif test -f "$ac_dir/install.sh"; then
 2658:     ac_aux_dir=$ac_dir
 2659:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2660:     break
 2661:   elif test -f "$ac_dir/shtool"; then
 2662:     ac_aux_dir=$ac_dir
 2663:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2664:     break
 2665:   fi
 2666: done
 2667: if test -z "$ac_aux_dir"; then
 2668:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2669: fi
 2670: 
 2671: # These three variables are undocumented and unsupported,
 2672: # and are intended to be withdrawn in a future Autoconf release.
 2673: # They can cause serious problems if a builder's source tree is in a directory
 2674: # whose full name contains unusual characters.
 2675: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2676: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2677: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2678: 
 2679: 
 2680: # Make sure we can run config.sub.
 2681: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2682:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2683: 
 2684: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2685: $as_echo_n "checking build system type... " >&6; }
 2686: if ${ac_cv_build+:} false; then :
 2687:   $as_echo_n "(cached) " >&6
 2688: else
 2689:   ac_build_alias=$build_alias
 2690: test "x$ac_build_alias" = x &&
 2691:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2692: test "x$ac_build_alias" = x &&
 2693:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2694: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2695:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2696: 
 2697: fi
 2698: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2699: $as_echo "$ac_cv_build" >&6; }
 2700: case $ac_cv_build in
 2701: *-*-*) ;;
 2702: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 2703: esac
 2704: build=$ac_cv_build
 2705: ac_save_IFS=$IFS; IFS='-'
 2706: set x $ac_cv_build
 2707: shift
 2708: build_cpu=$1
 2709: build_vendor=$2
 2710: shift; shift
 2711: # Remember, the first character of IFS is used to create $*,
 2712: # except with old shells:
 2713: build_os=$*
 2714: IFS=$ac_save_IFS
 2715: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2716: 
 2717: 
 2718: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2719: $as_echo_n "checking host system type... " >&6; }
 2720: if ${ac_cv_host+:} false; then :
 2721:   $as_echo_n "(cached) " >&6
 2722: else
 2723:   if test "x$host_alias" = x; then
 2724:   ac_cv_host=$ac_cv_build
 2725: else
 2726:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2727:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2728: fi
 2729: 
 2730: fi
 2731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2732: $as_echo "$ac_cv_host" >&6; }
 2733: case $ac_cv_host in
 2734: *-*-*) ;;
 2735: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 2736: esac
 2737: host=$ac_cv_host
 2738: ac_save_IFS=$IFS; IFS='-'
 2739: set x $ac_cv_host
 2740: shift
 2741: host_cpu=$1
 2742: host_vendor=$2
 2743: shift; shift
 2744: # Remember, the first character of IFS is used to create $*,
 2745: # except with old shells:
 2746: host_os=$*
 2747: IFS=$ac_save_IFS
 2748: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2749: 
 2750: 
 2751: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2752: $as_echo_n "checking target system type... " >&6; }
 2753: if ${ac_cv_target+:} false; then :
 2754:   $as_echo_n "(cached) " >&6
 2755: else
 2756:   if test "x$target_alias" = x; then
 2757:   ac_cv_target=$ac_cv_host
 2758: else
 2759:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2760:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2761: fi
 2762: 
 2763: fi
 2764: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2765: $as_echo "$ac_cv_target" >&6; }
 2766: case $ac_cv_target in
 2767: *-*-*) ;;
 2768: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 2769: esac
 2770: target=$ac_cv_target
 2771: ac_save_IFS=$IFS; IFS='-'
 2772: set x $ac_cv_target
 2773: shift
 2774: target_cpu=$1
 2775: target_vendor=$2
 2776: shift; shift
 2777: # Remember, the first character of IFS is used to create $*,
 2778: # except with old shells:
 2779: target_os=$*
 2780: IFS=$ac_save_IFS
 2781: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2782: 
 2783: 
 2784: # The aliases save the names the user supplied, while $host etc.
 2785: # will get canonicalized.
 2786: test -n "$target_alias" &&
 2787:   test "$program_prefix$program_suffix$program_transform_name" = \
 2788:     NONENONEs,x,x, &&
 2789:   program_prefix=${target_alias}-
 2790: 
 2791: am__api_version='1.11'
 2792: 
 2793: # Find a good install program.  We prefer a C program (faster),
 2794: # so one script is as good as another.  But avoid the broken or
 2795: # incompatible versions:
 2796: # SysV /etc/install, /usr/sbin/install
 2797: # SunOS /usr/etc/install
 2798: # IRIX /sbin/install
 2799: # AIX /bin/install
 2800: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2801: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2802: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2803: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2804: # OS/2's system install, which has a completely different semantic
 2805: # ./install, which can be erroneously created by make from ./install.sh.
 2806: # Reject install programs that cannot install multiple files.
 2807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2808: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2809: if test -z "$INSTALL"; then
 2810: if ${ac_cv_path_install+:} false; then :
 2811:   $as_echo_n "(cached) " >&6
 2812: else
 2813:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2814: for as_dir in $PATH
 2815: do
 2816:   IFS=$as_save_IFS
 2817:   test -z "$as_dir" && as_dir=.
 2818:     # Account for people who put trailing slashes in PATH elements.
 2819: case $as_dir/ in #((
 2820:   ./ | .// | /[cC]/* | \
 2821:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2822:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2823:   /usr/ucb/* ) ;;
 2824:   *)
 2825:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2826:     # Don't use installbsd from OSF since it installs stuff as root
 2827:     # by default.
 2828:     for ac_prog in ginstall scoinst install; do
 2829:       for ac_exec_ext in '' $ac_executable_extensions; do
 2830:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2831:       if test $ac_prog = install &&
 2832:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2833:         # AIX install.  It has an incompatible calling convention.
 2834:         :
 2835:       elif test $ac_prog = install &&
 2836:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2837:         # program-specific install script used by HP pwplus--don't use.
 2838:         :
 2839:       else
 2840:         rm -rf conftest.one conftest.two conftest.dir
 2841:         echo one > conftest.one
 2842:         echo two > conftest.two
 2843:         mkdir conftest.dir
 2844:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2845:           test -s conftest.one && test -s conftest.two &&
 2846:           test -s conftest.dir/conftest.one &&
 2847:           test -s conftest.dir/conftest.two
 2848:         then
 2849:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2850:           break 3
 2851:         fi
 2852:       fi
 2853:     fi
 2854:       done
 2855:     done
 2856:     ;;
 2857: esac
 2858: 
 2859:   done
 2860: IFS=$as_save_IFS
 2861: 
 2862: rm -rf conftest.one conftest.two conftest.dir
 2863: 
 2864: fi
 2865:   if test "${ac_cv_path_install+set}" = set; then
 2866:     INSTALL=$ac_cv_path_install
 2867:   else
 2868:     # As a last resort, use the slow shell script.  Don't cache a
 2869:     # value for INSTALL within a source directory, because that will
 2870:     # break other packages using the cache if that directory is
 2871:     # removed, or if the value is a relative name.
 2872:     INSTALL=$ac_install_sh
 2873:   fi
 2874: fi
 2875: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2876: $as_echo "$INSTALL" >&6; }
 2877: 
 2878: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2879: # It thinks the first close brace ends the variable substitution.
 2880: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2881: 
 2882: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2883: 
 2884: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2885: 
 2886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2887: $as_echo_n "checking whether build environment is sane... " >&6; }
 2888: # Just in case
 2889: sleep 1
 2890: echo timestamp > conftest.file
 2891: # Reject unsafe characters in $srcdir or the absolute working directory
 2892: # name.  Accept space and tab only in the latter.
 2893: am_lf='
 2894: '
 2895: case `pwd` in
 2896:   *[\\\"\#\$\&\'\`$am_lf]*)
 2897:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2898: esac
 2899: case $srcdir in
 2900:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2901:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2902: esac
 2903: 
 2904: # Do `set' in a subshell so we don't clobber the current shell's
 2905: # arguments.  Must try -L first in case configure is actually a
 2906: # symlink; some systems play weird games with the mod time of symlinks
 2907: # (eg FreeBSD returns the mod time of the symlink's containing
 2908: # directory).
 2909: if (
 2910:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2911:    if test "$*" = "X"; then
 2912:       # -L didn't work.
 2913:       set X `ls -t "$srcdir/configure" conftest.file`
 2914:    fi
 2915:    rm -f conftest.file
 2916:    if test "$*" != "X $srcdir/configure conftest.file" \
 2917:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2918: 
 2919:       # If neither matched, then we have a broken ls.  This can happen
 2920:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2921:       # broken ls alias from the environment.  This has actually
 2922:       # happened.  Such a system could not be considered "sane".
 2923:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2924: alias in your environment" "$LINENO" 5
 2925:    fi
 2926: 
 2927:    test "$2" = conftest.file
 2928:    )
 2929: then
 2930:    # Ok.
 2931:    :
 2932: else
 2933:    as_fn_error $? "newly created file is older than distributed files!
 2934: Check your system clock" "$LINENO" 5
 2935: fi
 2936: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2937: $as_echo "yes" >&6; }
 2938: test "$program_prefix" != NONE &&
 2939:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2940: # Use a double $ so make ignores it.
 2941: test "$program_suffix" != NONE &&
 2942:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2943: # Double any \ or $.
 2944: # By default was `s,x,x', remove it if useless.
 2945: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2946: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2947: 
 2948: # expand $ac_aux_dir to an absolute path
 2949: am_aux_dir=`cd $ac_aux_dir && pwd`
 2950: 
 2951: if test x"${MISSING+set}" != xset; then
 2952:   case $am_aux_dir in
 2953:   *\ * | *\ *)
 2954:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2955:   *)
 2956:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2957:   esac
 2958: fi
 2959: # Use eval to expand $SHELL
 2960: if eval "$MISSING --run true"; then
 2961:   am_missing_run="$MISSING --run "
 2962: else
 2963:   am_missing_run=
 2964:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2965: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2966: fi
 2967: 
 2968: if test x"${install_sh}" != xset; then
 2969:   case $am_aux_dir in
 2970:   *\ * | *\ *)
 2971:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2972:   *)
 2973:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2974:   esac
 2975: fi
 2976: 
 2977: # Installed binaries are usually stripped using `strip' when the user
 2978: # run `make install-strip'.  However `strip' might not be the right
 2979: # tool to use in cross-compilation environments, therefore Automake
 2980: # will honor the `STRIP' environment variable to overrule this program.
 2981: if test "$cross_compiling" != no; then
 2982:   if test -n "$ac_tool_prefix"; then
 2983:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2984: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2985: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2986: $as_echo_n "checking for $ac_word... " >&6; }
 2987: if ${ac_cv_prog_STRIP+:} false; then :
 2988:   $as_echo_n "(cached) " >&6
 2989: else
 2990:   if test -n "$STRIP"; then
 2991:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2992: else
 2993: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2994: for as_dir in $PATH
 2995: do
 2996:   IFS=$as_save_IFS
 2997:   test -z "$as_dir" && as_dir=.
 2998:     for ac_exec_ext in '' $ac_executable_extensions; do
 2999:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3000:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 3001:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3002:     break 2
 3003:   fi
 3004: done
 3005:   done
 3006: IFS=$as_save_IFS
 3007: 
 3008: fi
 3009: fi
 3010: STRIP=$ac_cv_prog_STRIP
 3011: if test -n "$STRIP"; then
 3012:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 3013: $as_echo "$STRIP" >&6; }
 3014: else
 3015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3016: $as_echo "no" >&6; }
 3017: fi
 3018: 
 3019: 
 3020: fi
 3021: if test -z "$ac_cv_prog_STRIP"; then
 3022:   ac_ct_STRIP=$STRIP
 3023:   # Extract the first word of "strip", so it can be a program name with args.
 3024: set dummy strip; ac_word=$2
 3025: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3026: $as_echo_n "checking for $ac_word... " >&6; }
 3027: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 3028:   $as_echo_n "(cached) " >&6
 3029: else
 3030:   if test -n "$ac_ct_STRIP"; then
 3031:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 3032: else
 3033: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3034: for as_dir in $PATH
 3035: do
 3036:   IFS=$as_save_IFS
 3037:   test -z "$as_dir" && as_dir=.
 3038:     for ac_exec_ext in '' $ac_executable_extensions; do
 3039:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3040:     ac_cv_prog_ac_ct_STRIP="strip"
 3041:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3042:     break 2
 3043:   fi
 3044: done
 3045:   done
 3046: IFS=$as_save_IFS
 3047: 
 3048: fi
 3049: fi
 3050: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3051: if test -n "$ac_ct_STRIP"; then
 3052:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3053: $as_echo "$ac_ct_STRIP" >&6; }
 3054: else
 3055:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3056: $as_echo "no" >&6; }
 3057: fi
 3058: 
 3059:   if test "x$ac_ct_STRIP" = x; then
 3060:     STRIP=":"
 3061:   else
 3062:     case $cross_compiling:$ac_tool_warned in
 3063: yes:)
 3064: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3065: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3066: ac_tool_warned=yes ;;
 3067: esac
 3068:     STRIP=$ac_ct_STRIP
 3069:   fi
 3070: else
 3071:   STRIP="$ac_cv_prog_STRIP"
 3072: fi
 3073: 
 3074: fi
 3075: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3076: 
 3077: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3078: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3079: if test -z "$MKDIR_P"; then
 3080:   if ${ac_cv_path_mkdir+:} false; then :
 3081:   $as_echo_n "(cached) " >&6
 3082: else
 3083:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3084: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3085: do
 3086:   IFS=$as_save_IFS
 3087:   test -z "$as_dir" && as_dir=.
 3088:     for ac_prog in mkdir gmkdir; do
 3089:      for ac_exec_ext in '' $ac_executable_extensions; do
 3090:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3091:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3092:          'mkdir (GNU coreutils) '* | \
 3093:          'mkdir (coreutils) '* | \
 3094:          'mkdir (fileutils) '4.1*)
 3095:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3096:            break 3;;
 3097:        esac
 3098:      done
 3099:        done
 3100:   done
 3101: IFS=$as_save_IFS
 3102: 
 3103: fi
 3104: 
 3105:   test -d ./--version && rmdir ./--version
 3106:   if test "${ac_cv_path_mkdir+set}" = set; then
 3107:     MKDIR_P="$ac_cv_path_mkdir -p"
 3108:   else
 3109:     # As a last resort, use the slow shell script.  Don't cache a
 3110:     # value for MKDIR_P within a source directory, because that will
 3111:     # break other packages using the cache if that directory is
 3112:     # removed, or if the value is a relative name.
 3113:     MKDIR_P="$ac_install_sh -d"
 3114:   fi
 3115: fi
 3116: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3117: $as_echo "$MKDIR_P" >&6; }
 3118: 
 3119: mkdir_p="$MKDIR_P"
 3120: case $mkdir_p in
 3121:   [\\/$]* | ?:[\\/]*) ;;
 3122:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3123: esac
 3124: 
 3125: for ac_prog in gawk mawk nawk awk
 3126: do
 3127:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3128: set dummy $ac_prog; ac_word=$2
 3129: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3130: $as_echo_n "checking for $ac_word... " >&6; }
 3131: if ${ac_cv_prog_AWK+:} false; then :
 3132:   $as_echo_n "(cached) " >&6
 3133: else
 3134:   if test -n "$AWK"; then
 3135:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3136: else
 3137: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3138: for as_dir in $PATH
 3139: do
 3140:   IFS=$as_save_IFS
 3141:   test -z "$as_dir" && as_dir=.
 3142:     for ac_exec_ext in '' $ac_executable_extensions; do
 3143:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3144:     ac_cv_prog_AWK="$ac_prog"
 3145:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3146:     break 2
 3147:   fi
 3148: done
 3149:   done
 3150: IFS=$as_save_IFS
 3151: 
 3152: fi
 3153: fi
 3154: AWK=$ac_cv_prog_AWK
 3155: if test -n "$AWK"; then
 3156:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3157: $as_echo "$AWK" >&6; }
 3158: else
 3159:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3160: $as_echo "no" >&6; }
 3161: fi
 3162: 
 3163: 
 3164:   test -n "$AWK" && break
 3165: done
 3166: 
 3167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3168: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3169: set x ${MAKE-make}
 3170: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3171: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3172:   $as_echo_n "(cached) " >&6
 3173: else
 3174:   cat >conftest.make <<\_ACEOF
 3175: SHELL = /bin/sh
 3176: all:
 3177:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3178: _ACEOF
 3179: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3180: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3181:   *@@@%%%=?*=@@@%%%*)
 3182:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3183:   *)
 3184:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3185: esac
 3186: rm -f conftest.make
 3187: fi
 3188: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3190: $as_echo "yes" >&6; }
 3191:   SET_MAKE=
 3192: else
 3193:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3194: $as_echo "no" >&6; }
 3195:   SET_MAKE="MAKE=${MAKE-make}"
 3196: fi
 3197: 
 3198: rm -rf .tst 2>/dev/null
 3199: mkdir .tst 2>/dev/null
 3200: if test -d .tst; then
 3201:   am__leading_dot=.
 3202: else
 3203:   am__leading_dot=_
 3204: fi
 3205: rmdir .tst 2>/dev/null
 3206: 
 3207: # Check whether --enable-silent-rules was given.
 3208: if test "${enable_silent_rules+set}" = set; then :
 3209:   enableval=$enable_silent_rules;
 3210: fi
 3211: 
 3212: case $enable_silent_rules in
 3213: yes) AM_DEFAULT_VERBOSITY=0;;
 3214: no)  AM_DEFAULT_VERBOSITY=1;;
 3215: *)   AM_DEFAULT_VERBOSITY=1;;
 3216: esac
 3217: AM_BACKSLASH='\'
 3218: 
 3219: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3220:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3221:   # is not polluted with repeated "-I."
 3222:   am__isrc=' -I$(srcdir)'
 3223:   # test to see if srcdir already configured
 3224:   if test -f $srcdir/config.status; then
 3225:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3226:   fi
 3227: fi
 3228: 
 3229: # test whether we have cygpath
 3230: if test -z "$CYGPATH_W"; then
 3231:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3232:     CYGPATH_W='cygpath -w'
 3233:   else
 3234:     CYGPATH_W=echo
 3235:   fi
 3236: fi
 3237: 
 3238: 
 3239: # Define the identity of the package.
 3240:  PACKAGE='rpl'
 3241:  VERSION='4.1.5'
 3242: 
 3243: 
 3244: cat >>confdefs.h <<_ACEOF
 3245: #define PACKAGE "$PACKAGE"
 3246: _ACEOF
 3247: 
 3248: 
 3249: cat >>confdefs.h <<_ACEOF
 3250: #define VERSION "$VERSION"
 3251: _ACEOF
 3252: 
 3253: # Some tools Automake needs.
 3254: 
 3255: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3256: 
 3257: 
 3258: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3259: 
 3260: 
 3261: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3262: 
 3263: 
 3264: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3265: 
 3266: 
 3267: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3268: 
 3269: # We need awk for the "check" target.  The system "awk" is bad on
 3270: # some platforms.
 3271: # Always define AMTAR for backward compatibility.
 3272: 
 3273: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3274: 
 3275: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3276: 
 3277: 
 3278: 
 3279: 
 3280: 
 3281: # Check whether --enable-silent-rules was given.
 3282: if test "${enable_silent_rules+set}" = set; then :
 3283:   enableval=$enable_silent_rules;
 3284: fi
 3285: 
 3286: case $enable_silent_rules in
 3287: yes) AM_DEFAULT_VERBOSITY=0;;
 3288: no)  AM_DEFAULT_VERBOSITY=1;;
 3289: *)   AM_DEFAULT_VERBOSITY=0;;
 3290: esac
 3291: AM_BACKSLASH='\'
 3292: 
 3293: 
 3294: ac_config_headers="$ac_config_headers rplconfig.h"
 3295: 
 3296: 
 3297: NCURSES=ncurses-5.9
 3298: READLINE=readline-6.2
 3299: UNITS=units-1.88
 3300: GSL=gsl-1.15
 3301: GPP=gpp-3.0
 3302: GNUPLOT=gnuplot-4.4.3
 3303: FILE=file-5.03
 3304: ICONV=libiconv-1.13.1
 3305: SQLITE=sqlite-3.7.9
 3306: OPENSSL=openssl-1.0.0e
 3307: OPENMOTIF=openmotif-2.3.3
 3308: LIBXPM=libXpm-3.5.9
 3309: SIGSEGV=libsigsegv-2.6
 3310: 
 3311: GMP=gmp-5.0.2
 3312: MPFR=mpfr-3.0.1
 3313: NTL=ntl-5.5.2
 3314: COCOA=CoCoALib-0.9943
 3315: PARI=pari-2.5.0
 3316: GIAC=giac-0.9.5
 3317: 
 3318: ac_ext=c
 3319: ac_cpp='$CPP $CPPFLAGS'
 3320: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3321: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3322: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3323: if test -n "$ac_tool_prefix"; then
 3324:   for ac_prog in gcc
 3325:   do
 3326:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3327: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3328: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3329: $as_echo_n "checking for $ac_word... " >&6; }
 3330: if ${ac_cv_prog_CC+:} false; then :
 3331:   $as_echo_n "(cached) " >&6
 3332: else
 3333:   if test -n "$CC"; then
 3334:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3335: else
 3336: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3337: for as_dir in $PATH
 3338: do
 3339:   IFS=$as_save_IFS
 3340:   test -z "$as_dir" && as_dir=.
 3341:     for ac_exec_ext in '' $ac_executable_extensions; do
 3342:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3343:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3344:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3345:     break 2
 3346:   fi
 3347: done
 3348:   done
 3349: IFS=$as_save_IFS
 3350: 
 3351: fi
 3352: fi
 3353: CC=$ac_cv_prog_CC
 3354: if test -n "$CC"; then
 3355:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3356: $as_echo "$CC" >&6; }
 3357: else
 3358:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3359: $as_echo "no" >&6; }
 3360: fi
 3361: 
 3362: 
 3363:     test -n "$CC" && break
 3364:   done
 3365: fi
 3366: if test -z "$CC"; then
 3367:   ac_ct_CC=$CC
 3368:   for ac_prog in gcc
 3369: do
 3370:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3371: set dummy $ac_prog; ac_word=$2
 3372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3373: $as_echo_n "checking for $ac_word... " >&6; }
 3374: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3375:   $as_echo_n "(cached) " >&6
 3376: else
 3377:   if test -n "$ac_ct_CC"; then
 3378:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3379: else
 3380: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3381: for as_dir in $PATH
 3382: do
 3383:   IFS=$as_save_IFS
 3384:   test -z "$as_dir" && as_dir=.
 3385:     for ac_exec_ext in '' $ac_executable_extensions; do
 3386:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3387:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3388:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3389:     break 2
 3390:   fi
 3391: done
 3392:   done
 3393: IFS=$as_save_IFS
 3394: 
 3395: fi
 3396: fi
 3397: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3398: if test -n "$ac_ct_CC"; then
 3399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3400: $as_echo "$ac_ct_CC" >&6; }
 3401: else
 3402:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3403: $as_echo "no" >&6; }
 3404: fi
 3405: 
 3406: 
 3407:   test -n "$ac_ct_CC" && break
 3408: done
 3409: 
 3410:   if test "x$ac_ct_CC" = x; then
 3411:     CC=""
 3412:   else
 3413:     case $cross_compiling:$ac_tool_warned in
 3414: yes:)
 3415: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3416: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3417: ac_tool_warned=yes ;;
 3418: esac
 3419:     CC=$ac_ct_CC
 3420:   fi
 3421: fi
 3422: 
 3423: 
 3424: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3425: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3426: as_fn_error $? "no acceptable C compiler found in \$PATH
 3427: See \`config.log' for more details" "$LINENO" 5; }
 3428: 
 3429: # Provide some information about the compiler.
 3430: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3431: set X $ac_compile
 3432: ac_compiler=$2
 3433: for ac_option in --version -v -V -qversion; do
 3434:   { { ac_try="$ac_compiler $ac_option >&5"
 3435: case "(($ac_try" in
 3436:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3437:   *) ac_try_echo=$ac_try;;
 3438: esac
 3439: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3440: $as_echo "$ac_try_echo"; } >&5
 3441:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3442:   ac_status=$?
 3443:   if test -s conftest.err; then
 3444:     sed '10a\
 3445: ... rest of stderr output deleted ...
 3446:          10q' conftest.err >conftest.er1
 3447:     cat conftest.er1 >&5
 3448:   fi
 3449:   rm -f conftest.er1 conftest.err
 3450:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3451:   test $ac_status = 0; }
 3452: done
 3453: 
 3454: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3455: /* end confdefs.h.  */
 3456: 
 3457: int
 3458: main ()
 3459: {
 3460: 
 3461:   ;
 3462:   return 0;
 3463: }
 3464: _ACEOF
 3465: ac_clean_files_save=$ac_clean_files
 3466: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3467: # Try to create an executable without -o first, disregard a.out.
 3468: # It will help us diagnose broken compilers, and finding out an intuition
 3469: # of exeext.
 3470: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3471: $as_echo_n "checking whether the C compiler works... " >&6; }
 3472: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3473: 
 3474: # The possible output files:
 3475: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3476: 
 3477: ac_rmfiles=
 3478: for ac_file in $ac_files
 3479: do
 3480:   case $ac_file in
 3481:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3482:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3483:   esac
 3484: done
 3485: rm -f $ac_rmfiles
 3486: 
 3487: if { { ac_try="$ac_link_default"
 3488: case "(($ac_try" in
 3489:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3490:   *) ac_try_echo=$ac_try;;
 3491: esac
 3492: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3493: $as_echo "$ac_try_echo"; } >&5
 3494:   (eval "$ac_link_default") 2>&5
 3495:   ac_status=$?
 3496:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3497:   test $ac_status = 0; }; then :
 3498:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3499: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3500: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3501: # so that the user can short-circuit this test for compilers unknown to
 3502: # Autoconf.
 3503: for ac_file in $ac_files ''
 3504: do
 3505:   test -f "$ac_file" || continue
 3506:   case $ac_file in
 3507:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3508:     ;;
 3509:     [ab].out )
 3510:     # We found the default executable, but exeext='' is most
 3511:     # certainly right.
 3512:     break;;
 3513:     *.* )
 3514:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3515:     then :; else
 3516:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3517:     fi
 3518:     # We set ac_cv_exeext here because the later test for it is not
 3519:     # safe: cross compilers may not add the suffix if given an `-o'
 3520:     # argument, so we may need to know it at that point already.
 3521:     # Even if this section looks crufty: it has the advantage of
 3522:     # actually working.
 3523:     break;;
 3524:     * )
 3525:     break;;
 3526:   esac
 3527: done
 3528: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3529: 
 3530: else
 3531:   ac_file=''
 3532: fi
 3533: if test -z "$ac_file"; then :
 3534:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3535: $as_echo "no" >&6; }
 3536: $as_echo "$as_me: failed program was:" >&5
 3537: sed 's/^/| /' conftest.$ac_ext >&5
 3538: 
 3539: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3540: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3541: as_fn_error 77 "C compiler cannot create executables
 3542: See \`config.log' for more details" "$LINENO" 5; }
 3543: else
 3544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3545: $as_echo "yes" >&6; }
 3546: fi
 3547: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3548: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3549: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3550: $as_echo "$ac_file" >&6; }
 3551: ac_exeext=$ac_cv_exeext
 3552: 
 3553: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3554: ac_clean_files=$ac_clean_files_save
 3555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3556: $as_echo_n "checking for suffix of executables... " >&6; }
 3557: if { { ac_try="$ac_link"
 3558: case "(($ac_try" in
 3559:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3560:   *) ac_try_echo=$ac_try;;
 3561: esac
 3562: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3563: $as_echo "$ac_try_echo"; } >&5
 3564:   (eval "$ac_link") 2>&5
 3565:   ac_status=$?
 3566:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3567:   test $ac_status = 0; }; then :
 3568:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3569: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3570: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3571: # `rm'.
 3572: for ac_file in conftest.exe conftest conftest.*; do
 3573:   test -f "$ac_file" || continue
 3574:   case $ac_file in
 3575:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3576:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3577:       break;;
 3578:     * ) break;;
 3579:   esac
 3580: done
 3581: else
 3582:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3583: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3584: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3585: See \`config.log' for more details" "$LINENO" 5; }
 3586: fi
 3587: rm -f conftest conftest$ac_cv_exeext
 3588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3589: $as_echo "$ac_cv_exeext" >&6; }
 3590: 
 3591: rm -f conftest.$ac_ext
 3592: EXEEXT=$ac_cv_exeext
 3593: ac_exeext=$EXEEXT
 3594: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3595: /* end confdefs.h.  */
 3596: #include <stdio.h>
 3597: int
 3598: main ()
 3599: {
 3600: FILE *f = fopen ("conftest.out", "w");
 3601:  return ferror (f) || fclose (f) != 0;
 3602: 
 3603:   ;
 3604:   return 0;
 3605: }
 3606: _ACEOF
 3607: ac_clean_files="$ac_clean_files conftest.out"
 3608: # Check that the compiler produces executables we can run.  If not, either
 3609: # the compiler is broken, or we cross compile.
 3610: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3611: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3612: if test "$cross_compiling" != yes; then
 3613:   { { ac_try="$ac_link"
 3614: case "(($ac_try" in
 3615:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3616:   *) ac_try_echo=$ac_try;;
 3617: esac
 3618: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3619: $as_echo "$ac_try_echo"; } >&5
 3620:   (eval "$ac_link") 2>&5
 3621:   ac_status=$?
 3622:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3623:   test $ac_status = 0; }
 3624:   if { ac_try='./conftest$ac_cv_exeext'
 3625:   { { case "(($ac_try" in
 3626:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3627:   *) ac_try_echo=$ac_try;;
 3628: esac
 3629: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3630: $as_echo "$ac_try_echo"; } >&5
 3631:   (eval "$ac_try") 2>&5
 3632:   ac_status=$?
 3633:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3634:   test $ac_status = 0; }; }; then
 3635:     cross_compiling=no
 3636:   else
 3637:     if test "$cross_compiling" = maybe; then
 3638:     cross_compiling=yes
 3639:     else
 3640:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3641: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3642: as_fn_error $? "cannot run C compiled programs.
 3643: If you meant to cross compile, use \`--host'.
 3644: See \`config.log' for more details" "$LINENO" 5; }
 3645:     fi
 3646:   fi
 3647: fi
 3648: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3649: $as_echo "$cross_compiling" >&6; }
 3650: 
 3651: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3652: ac_clean_files=$ac_clean_files_save
 3653: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3654: $as_echo_n "checking for suffix of object files... " >&6; }
 3655: if ${ac_cv_objext+:} false; then :
 3656:   $as_echo_n "(cached) " >&6
 3657: else
 3658:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3659: /* end confdefs.h.  */
 3660: 
 3661: int
 3662: main ()
 3663: {
 3664: 
 3665:   ;
 3666:   return 0;
 3667: }
 3668: _ACEOF
 3669: rm -f conftest.o conftest.obj
 3670: if { { ac_try="$ac_compile"
 3671: case "(($ac_try" in
 3672:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3673:   *) ac_try_echo=$ac_try;;
 3674: esac
 3675: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3676: $as_echo "$ac_try_echo"; } >&5
 3677:   (eval "$ac_compile") 2>&5
 3678:   ac_status=$?
 3679:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3680:   test $ac_status = 0; }; then :
 3681:   for ac_file in conftest.o conftest.obj conftest.*; do
 3682:   test -f "$ac_file" || continue;
 3683:   case $ac_file in
 3684:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3685:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3686:        break;;
 3687:   esac
 3688: done
 3689: else
 3690:   $as_echo "$as_me: failed program was:" >&5
 3691: sed 's/^/| /' conftest.$ac_ext >&5
 3692: 
 3693: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3694: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3695: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3696: See \`config.log' for more details" "$LINENO" 5; }
 3697: fi
 3698: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3699: fi
 3700: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3701: $as_echo "$ac_cv_objext" >&6; }
 3702: OBJEXT=$ac_cv_objext
 3703: ac_objext=$OBJEXT
 3704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3705: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3706: if ${ac_cv_c_compiler_gnu+:} false; then :
 3707:   $as_echo_n "(cached) " >&6
 3708: else
 3709:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3710: /* end confdefs.h.  */
 3711: 
 3712: int
 3713: main ()
 3714: {
 3715: #ifndef __GNUC__
 3716:        choke me
 3717: #endif
 3718: 
 3719:   ;
 3720:   return 0;
 3721: }
 3722: _ACEOF
 3723: if ac_fn_c_try_compile "$LINENO"; then :
 3724:   ac_compiler_gnu=yes
 3725: else
 3726:   ac_compiler_gnu=no
 3727: fi
 3728: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3729: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3730: 
 3731: fi
 3732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3733: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3734: if test $ac_compiler_gnu = yes; then
 3735:   GCC=yes
 3736: else
 3737:   GCC=
 3738: fi
 3739: ac_test_CFLAGS=${CFLAGS+set}
 3740: ac_save_CFLAGS=$CFLAGS
 3741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3742: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3743: if ${ac_cv_prog_cc_g+:} false; then :
 3744:   $as_echo_n "(cached) " >&6
 3745: else
 3746:   ac_save_c_werror_flag=$ac_c_werror_flag
 3747:    ac_c_werror_flag=yes
 3748:    ac_cv_prog_cc_g=no
 3749:    CFLAGS="-g"
 3750:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3751: /* end confdefs.h.  */
 3752: 
 3753: int
 3754: main ()
 3755: {
 3756: 
 3757:   ;
 3758:   return 0;
 3759: }
 3760: _ACEOF
 3761: if ac_fn_c_try_compile "$LINENO"; then :
 3762:   ac_cv_prog_cc_g=yes
 3763: else
 3764:   CFLAGS=""
 3765:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3766: /* end confdefs.h.  */
 3767: 
 3768: int
 3769: main ()
 3770: {
 3771: 
 3772:   ;
 3773:   return 0;
 3774: }
 3775: _ACEOF
 3776: if ac_fn_c_try_compile "$LINENO"; then :
 3777: 
 3778: else
 3779:   ac_c_werror_flag=$ac_save_c_werror_flag
 3780:      CFLAGS="-g"
 3781:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3782: /* end confdefs.h.  */
 3783: 
 3784: int
 3785: main ()
 3786: {
 3787: 
 3788:   ;
 3789:   return 0;
 3790: }
 3791: _ACEOF
 3792: if ac_fn_c_try_compile "$LINENO"; then :
 3793:   ac_cv_prog_cc_g=yes
 3794: fi
 3795: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3796: fi
 3797: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3798: fi
 3799: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3800:    ac_c_werror_flag=$ac_save_c_werror_flag
 3801: fi
 3802: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3803: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3804: if test "$ac_test_CFLAGS" = set; then
 3805:   CFLAGS=$ac_save_CFLAGS
 3806: elif test $ac_cv_prog_cc_g = yes; then
 3807:   if test "$GCC" = yes; then
 3808:     CFLAGS="-g -O2"
 3809:   else
 3810:     CFLAGS="-g"
 3811:   fi
 3812: else
 3813:   if test "$GCC" = yes; then
 3814:     CFLAGS="-O2"
 3815:   else
 3816:     CFLAGS=
 3817:   fi
 3818: fi
 3819: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3820: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3821: if ${ac_cv_prog_cc_c89+:} false; then :
 3822:   $as_echo_n "(cached) " >&6
 3823: else
 3824:   ac_cv_prog_cc_c89=no
 3825: ac_save_CC=$CC
 3826: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3827: /* end confdefs.h.  */
 3828: #include <stdarg.h>
 3829: #include <stdio.h>
 3830: #include <sys/types.h>
 3831: #include <sys/stat.h>
 3832: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3833: struct buf { int x; };
 3834: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3835: static char *e (p, i)
 3836:      char **p;
 3837:      int i;
 3838: {
 3839:   return p[i];
 3840: }
 3841: static char *f (char * (*g) (char **, int), char **p, ...)
 3842: {
 3843:   char *s;
 3844:   va_list v;
 3845:   va_start (v,p);
 3846:   s = g (p, va_arg (v,int));
 3847:   va_end (v);
 3848:   return s;
 3849: }
 3850: 
 3851: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3852:    function prototypes and stuff, but not '\xHH' hex character constants.
 3853:    These don't provoke an error unfortunately, instead are silently treated
 3854:    as 'x'.  The following induces an error, until -std is added to get
 3855:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3856:    array size at least.  It's necessary to write '\x00'==0 to get something
 3857:    that's true only with -std.  */
 3858: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3859: 
 3860: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3861:    inside strings and character constants.  */
 3862: #define FOO(x) 'x'
 3863: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3864: 
 3865: int test (int i, double x);
 3866: struct s1 {int (*f) (int a);};
 3867: struct s2 {int (*f) (double a);};
 3868: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3869: int argc;
 3870: char **argv;
 3871: int
 3872: main ()
 3873: {
 3874: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3875:   ;
 3876:   return 0;
 3877: }
 3878: _ACEOF
 3879: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3880:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3881: do
 3882:   CC="$ac_save_CC $ac_arg"
 3883:   if ac_fn_c_try_compile "$LINENO"; then :
 3884:   ac_cv_prog_cc_c89=$ac_arg
 3885: fi
 3886: rm -f core conftest.err conftest.$ac_objext
 3887:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3888: done
 3889: rm -f conftest.$ac_ext
 3890: CC=$ac_save_CC
 3891: 
 3892: fi
 3893: # AC_CACHE_VAL
 3894: case "x$ac_cv_prog_cc_c89" in
 3895:   x)
 3896:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3897: $as_echo "none needed" >&6; } ;;
 3898:   xno)
 3899:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3900: $as_echo "unsupported" >&6; } ;;
 3901:   *)
 3902:     CC="$CC $ac_cv_prog_cc_c89"
 3903:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3904: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3905: esac
 3906: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3907: 
 3908: fi
 3909: 
 3910: ac_ext=c
 3911: ac_cpp='$CPP $CPPFLAGS'
 3912: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3913: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3914: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3915: DEPDIR="${am__leading_dot}deps"
 3916: 
 3917: ac_config_commands="$ac_config_commands depfiles"
 3918: 
 3919: 
 3920: am_make=${MAKE-make}
 3921: cat > confinc << 'END'
 3922: am__doit:
 3923:     @echo this is the am__doit target
 3924: .PHONY: am__doit
 3925: END
 3926: # If we don't find an include directive, just comment out the code.
 3927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3928: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3929: am__include="#"
 3930: am__quote=
 3931: _am_result=none
 3932: # First try GNU make style include.
 3933: echo "include confinc" > confmf
 3934: # Ignore all kinds of additional output from `make'.
 3935: case `$am_make -s -f confmf 2> /dev/null` in #(
 3936: *the\ am__doit\ target*)
 3937:   am__include=include
 3938:   am__quote=
 3939:   _am_result=GNU
 3940:   ;;
 3941: esac
 3942: # Now try BSD make style include.
 3943: if test "$am__include" = "#"; then
 3944:    echo '.include "confinc"' > confmf
 3945:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3946:    *the\ am__doit\ target*)
 3947:      am__include=.include
 3948:      am__quote="\""
 3949:      _am_result=BSD
 3950:      ;;
 3951:    esac
 3952: fi
 3953: 
 3954: 
 3955: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3956: $as_echo "$_am_result" >&6; }
 3957: rm -f confinc confmf
 3958: 
 3959: # Check whether --enable-dependency-tracking was given.
 3960: if test "${enable_dependency_tracking+set}" = set; then :
 3961:   enableval=$enable_dependency_tracking;
 3962: fi
 3963: 
 3964: if test "x$enable_dependency_tracking" != xno; then
 3965:   am_depcomp="$ac_aux_dir/depcomp"
 3966:   AMDEPBACKSLASH='\'
 3967: fi
 3968:  if test "x$enable_dependency_tracking" != xno; then
 3969:   AMDEP_TRUE=
 3970:   AMDEP_FALSE='#'
 3971: else
 3972:   AMDEP_TRUE='#'
 3973:   AMDEP_FALSE=
 3974: fi
 3975: 
 3976: 
 3977: 
 3978: depcc="$CC"   am_compiler_list=
 3979: 
 3980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3981: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3982: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 3983:   $as_echo_n "(cached) " >&6
 3984: else
 3985:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3986:   # We make a subdir and do the tests there.  Otherwise we can end up
 3987:   # making bogus files that we don't know about and never remove.  For
 3988:   # instance it was reported that on HP-UX the gcc test will end up
 3989:   # making a dummy file named `D' -- because `-MD' means `put the output
 3990:   # in D'.
 3991:   mkdir conftest.dir
 3992:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3993:   # using a relative directory.
 3994:   cp "$am_depcomp" conftest.dir
 3995:   cd conftest.dir
 3996:   # We will build objects and dependencies in a subdirectory because
 3997:   # it helps to detect inapplicable dependency modes.  For instance
 3998:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3999:   # side effect of compilation, but ICC will put the dependencies in
 4000:   # the current directory while Tru64 will put them in the object
 4001:   # directory.
 4002:   mkdir sub
 4003: 
 4004:   am_cv_CC_dependencies_compiler_type=none
 4005:   if test "$am_compiler_list" = ""; then
 4006:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4007:   fi
 4008:   am__universal=false
 4009:   case " $depcc " in #(
 4010:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4011:      esac
 4012: 
 4013:   for depmode in $am_compiler_list; do
 4014:     # Setup a source with many dependencies, because some compilers
 4015:     # like to wrap large dependency lists on column 80 (with \), and
 4016:     # we should not choose a depcomp mode which is confused by this.
 4017:     #
 4018:     # We need to recreate these files for each test, as the compiler may
 4019:     # overwrite some of them when testing with obscure command lines.
 4020:     # This happens at least with the AIX C compiler.
 4021:     : > sub/conftest.c
 4022:     for i in 1 2 3 4 5 6; do
 4023:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4024:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4025:       # Solaris 8's {/usr,}/bin/sh.
 4026:       touch sub/conftst$i.h
 4027:     done
 4028:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4029: 
 4030:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4031:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4032:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4033:     # versions had trouble with output in subdirs
 4034:     am__obj=sub/conftest.${OBJEXT-o}
 4035:     am__minus_obj="-o $am__obj"
 4036:     case $depmode in
 4037:     gcc)
 4038:       # This depmode causes a compiler race in universal mode.
 4039:       test "$am__universal" = false || continue
 4040:       ;;
 4041:     nosideeffect)
 4042:       # after this tag, mechanisms are not by side-effect, so they'll
 4043:       # only be used when explicitly requested
 4044:       if test "x$enable_dependency_tracking" = xyes; then
 4045:     continue
 4046:       else
 4047:     break
 4048:       fi
 4049:       ;;
 4050:     msvisualcpp | msvcmsys)
 4051:       # This compiler won't grok `-c -o', but also, the minuso test has
 4052:       # not run yet.  These depmodes are late enough in the game, and
 4053:       # so weak that their functioning should not be impacted.
 4054:       am__obj=conftest.${OBJEXT-o}
 4055:       am__minus_obj=
 4056:       ;;
 4057:     none) break ;;
 4058:     esac
 4059:     if depmode=$depmode \
 4060:        source=sub/conftest.c object=$am__obj \
 4061:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4062:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4063:          >/dev/null 2>conftest.err &&
 4064:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4065:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4066:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4067:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4068:       # icc doesn't choke on unknown options, it will just issue warnings
 4069:       # or remarks (even with -Werror).  So we grep stderr for any message
 4070:       # that says an option was ignored or not supported.
 4071:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4072:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4073:       # The diagnosis changed in icc 8.0:
 4074:       #   icc: Command line remark: option '-MP' not supported
 4075:       if (grep 'ignoring option' conftest.err ||
 4076:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4077:         am_cv_CC_dependencies_compiler_type=$depmode
 4078:         break
 4079:       fi
 4080:     fi
 4081:   done
 4082: 
 4083:   cd ..
 4084:   rm -rf conftest.dir
 4085: else
 4086:   am_cv_CC_dependencies_compiler_type=none
 4087: fi
 4088: 
 4089: fi
 4090: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4091: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4092: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4093: 
 4094:  if
 4095:   test "x$enable_dependency_tracking" != xno \
 4096:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4097:   am__fastdepCC_TRUE=
 4098:   am__fastdepCC_FALSE='#'
 4099: else
 4100:   am__fastdepCC_TRUE='#'
 4101:   am__fastdepCC_FALSE=
 4102: fi
 4103: 
 4104: 
 4105: 
 4106: EXT_SQL=
 4107: 
 4108: if test x"$CC" != x""; then
 4109:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4110:             awk -F. '{ printf("%s", $1);}'`
 4111:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4112:             awk -F. '{ printf("%s", $2);}'`
 4113:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4114:         OPTIMISATION_C=-O3
 4115:     else
 4116:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
 4117:                 then
 4118:             OPTIMISATION_C=-O3
 4119:         else
 4120:             if test $GCC_VERSION_MAJEURE -ge 2; then
 4121:                 OPTIMISATION_C=-O2
 4122:             else
 4123:                 as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
 4124:             fi
 4125:         fi
 4126:     fi
 4127: fi
 4128: 
 4129: if test "x$CC" != xcc; then
 4130:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4131: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4132: else
 4133:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4134: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4135: fi
 4136: set dummy $CC; ac_cc=`$as_echo "$2" |
 4137:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4138: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 4139:   $as_echo_n "(cached) " >&6
 4140: else
 4141:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4142: /* end confdefs.h.  */
 4143: 
 4144: int
 4145: main ()
 4146: {
 4147: 
 4148:   ;
 4149:   return 0;
 4150: }
 4151: _ACEOF
 4152: # Make sure it works both with $CC and with simple cc.
 4153: # We do the test twice because some compilers refuse to overwrite an
 4154: # existing .o file with -o, though they will create one.
 4155: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4156: rm -f conftest2.*
 4157: if { { case "(($ac_try" in
 4158:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4159:   *) ac_try_echo=$ac_try;;
 4160: esac
 4161: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4162: $as_echo "$ac_try_echo"; } >&5
 4163:   (eval "$ac_try") 2>&5
 4164:   ac_status=$?
 4165:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4166:   test $ac_status = 0; } &&
 4167:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4168:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4169:   *) ac_try_echo=$ac_try;;
 4170: esac
 4171: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4172: $as_echo "$ac_try_echo"; } >&5
 4173:   (eval "$ac_try") 2>&5
 4174:   ac_status=$?
 4175:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4176:   test $ac_status = 0; };
 4177: then
 4178:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4179:   if test "x$CC" != xcc; then
 4180:     # Test first that cc exists at all.
 4181:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4182:   { { case "(($ac_try" in
 4183:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4184:   *) ac_try_echo=$ac_try;;
 4185: esac
 4186: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4187: $as_echo "$ac_try_echo"; } >&5
 4188:   (eval "$ac_try") 2>&5
 4189:   ac_status=$?
 4190:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4191:   test $ac_status = 0; }; }; then
 4192:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4193:       rm -f conftest2.*
 4194:       if { { case "(($ac_try" in
 4195:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4196:   *) ac_try_echo=$ac_try;;
 4197: esac
 4198: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4199: $as_echo "$ac_try_echo"; } >&5
 4200:   (eval "$ac_try") 2>&5
 4201:   ac_status=$?
 4202:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4203:   test $ac_status = 0; } &&
 4204:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4205:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4206:   *) ac_try_echo=$ac_try;;
 4207: esac
 4208: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4209: $as_echo "$ac_try_echo"; } >&5
 4210:   (eval "$ac_try") 2>&5
 4211:   ac_status=$?
 4212:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4213:   test $ac_status = 0; };
 4214:       then
 4215:     # cc works too.
 4216:     :
 4217:       else
 4218:     # cc exists but doesn't like -o.
 4219:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4220:       fi
 4221:     fi
 4222:   fi
 4223: else
 4224:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4225: fi
 4226: rm -f core conftest*
 4227: 
 4228: fi
 4229: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4230:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4231: $as_echo "yes" >&6; }
 4232: else
 4233:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4234: $as_echo "no" >&6; }
 4235: 
 4236: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4237: 
 4238: fi
 4239: 
 4240: # FIXME: we rely on the cache variable name because
 4241: # there is no other way.
 4242: set dummy $CC
 4243: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4244: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4245: if test "$am_t" != yes; then
 4246:    # Losing compiler, so override with the script.
 4247:    # FIXME: It is wrong to rewrite CC.
 4248:    # But if we don't then we get into trouble of one sort or another.
 4249:    # A longer-term fix would be to have automake use am__CC in this case,
 4250:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4251:    CC="$am_aux_dir/compile $CC"
 4252: fi
 4253: 
 4254: 
 4255: 
 4256: if test "$GCC" != yes; then
 4257:     as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
 4258: fi
 4259: 
 4260: ac_ext=cpp
 4261: ac_cpp='$CXXCPP $CPPFLAGS'
 4262: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4263: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4264: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4265: if test -z "$CXX"; then
 4266:   if test -n "$CCC"; then
 4267:     CXX=$CCC
 4268:   else
 4269:     if test -n "$ac_tool_prefix"; then
 4270:   for ac_prog in g++
 4271:   do
 4272:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4273: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4274: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4275: $as_echo_n "checking for $ac_word... " >&6; }
 4276: if ${ac_cv_prog_CXX+:} false; then :
 4277:   $as_echo_n "(cached) " >&6
 4278: else
 4279:   if test -n "$CXX"; then
 4280:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4281: else
 4282: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4283: for as_dir in $PATH
 4284: do
 4285:   IFS=$as_save_IFS
 4286:   test -z "$as_dir" && as_dir=.
 4287:     for ac_exec_ext in '' $ac_executable_extensions; do
 4288:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4289:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4290:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4291:     break 2
 4292:   fi
 4293: done
 4294:   done
 4295: IFS=$as_save_IFS
 4296: 
 4297: fi
 4298: fi
 4299: CXX=$ac_cv_prog_CXX
 4300: if test -n "$CXX"; then
 4301:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4302: $as_echo "$CXX" >&6; }
 4303: else
 4304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4305: $as_echo "no" >&6; }
 4306: fi
 4307: 
 4308: 
 4309:     test -n "$CXX" && break
 4310:   done
 4311: fi
 4312: if test -z "$CXX"; then
 4313:   ac_ct_CXX=$CXX
 4314:   for ac_prog in g++
 4315: do
 4316:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4317: set dummy $ac_prog; ac_word=$2
 4318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4319: $as_echo_n "checking for $ac_word... " >&6; }
 4320: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 4321:   $as_echo_n "(cached) " >&6
 4322: else
 4323:   if test -n "$ac_ct_CXX"; then
 4324:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4325: else
 4326: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4327: for as_dir in $PATH
 4328: do
 4329:   IFS=$as_save_IFS
 4330:   test -z "$as_dir" && as_dir=.
 4331:     for ac_exec_ext in '' $ac_executable_extensions; do
 4332:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4333:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4334:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4335:     break 2
 4336:   fi
 4337: done
 4338:   done
 4339: IFS=$as_save_IFS
 4340: 
 4341: fi
 4342: fi
 4343: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4344: if test -n "$ac_ct_CXX"; then
 4345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4346: $as_echo "$ac_ct_CXX" >&6; }
 4347: else
 4348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4349: $as_echo "no" >&6; }
 4350: fi
 4351: 
 4352: 
 4353:   test -n "$ac_ct_CXX" && break
 4354: done
 4355: 
 4356:   if test "x$ac_ct_CXX" = x; then
 4357:     CXX="g++"
 4358:   else
 4359:     case $cross_compiling:$ac_tool_warned in
 4360: yes:)
 4361: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4362: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4363: ac_tool_warned=yes ;;
 4364: esac
 4365:     CXX=$ac_ct_CXX
 4366:   fi
 4367: fi
 4368: 
 4369:   fi
 4370: fi
 4371: # Provide some information about the compiler.
 4372: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4373: set X $ac_compile
 4374: ac_compiler=$2
 4375: for ac_option in --version -v -V -qversion; do
 4376:   { { ac_try="$ac_compiler $ac_option >&5"
 4377: case "(($ac_try" in
 4378:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4379:   *) ac_try_echo=$ac_try;;
 4380: esac
 4381: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4382: $as_echo "$ac_try_echo"; } >&5
 4383:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4384:   ac_status=$?
 4385:   if test -s conftest.err; then
 4386:     sed '10a\
 4387: ... rest of stderr output deleted ...
 4388:          10q' conftest.err >conftest.er1
 4389:     cat conftest.er1 >&5
 4390:   fi
 4391:   rm -f conftest.er1 conftest.err
 4392:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4393:   test $ac_status = 0; }
 4394: done
 4395: 
 4396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4397: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4398: if ${ac_cv_cxx_compiler_gnu+:} false; then :
 4399:   $as_echo_n "(cached) " >&6
 4400: else
 4401:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4402: /* end confdefs.h.  */
 4403: 
 4404: int
 4405: main ()
 4406: {
 4407: #ifndef __GNUC__
 4408:        choke me
 4409: #endif
 4410: 
 4411:   ;
 4412:   return 0;
 4413: }
 4414: _ACEOF
 4415: if ac_fn_cxx_try_compile "$LINENO"; then :
 4416:   ac_compiler_gnu=yes
 4417: else
 4418:   ac_compiler_gnu=no
 4419: fi
 4420: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4421: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4422: 
 4423: fi
 4424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4425: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4426: if test $ac_compiler_gnu = yes; then
 4427:   GXX=yes
 4428: else
 4429:   GXX=
 4430: fi
 4431: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4432: ac_save_CXXFLAGS=$CXXFLAGS
 4433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4434: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4435: if ${ac_cv_prog_cxx_g+:} false; then :
 4436:   $as_echo_n "(cached) " >&6
 4437: else
 4438:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4439:    ac_cxx_werror_flag=yes
 4440:    ac_cv_prog_cxx_g=no
 4441:    CXXFLAGS="-g"
 4442:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4443: /* end confdefs.h.  */
 4444: 
 4445: int
 4446: main ()
 4447: {
 4448: 
 4449:   ;
 4450:   return 0;
 4451: }
 4452: _ACEOF
 4453: if ac_fn_cxx_try_compile "$LINENO"; then :
 4454:   ac_cv_prog_cxx_g=yes
 4455: else
 4456:   CXXFLAGS=""
 4457:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4458: /* end confdefs.h.  */
 4459: 
 4460: int
 4461: main ()
 4462: {
 4463: 
 4464:   ;
 4465:   return 0;
 4466: }
 4467: _ACEOF
 4468: if ac_fn_cxx_try_compile "$LINENO"; then :
 4469: 
 4470: else
 4471:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4472:      CXXFLAGS="-g"
 4473:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4474: /* end confdefs.h.  */
 4475: 
 4476: int
 4477: main ()
 4478: {
 4479: 
 4480:   ;
 4481:   return 0;
 4482: }
 4483: _ACEOF
 4484: if ac_fn_cxx_try_compile "$LINENO"; then :
 4485:   ac_cv_prog_cxx_g=yes
 4486: fi
 4487: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4488: fi
 4489: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4490: fi
 4491: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4492:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4493: fi
 4494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4495: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4496: if test "$ac_test_CXXFLAGS" = set; then
 4497:   CXXFLAGS=$ac_save_CXXFLAGS
 4498: elif test $ac_cv_prog_cxx_g = yes; then
 4499:   if test "$GXX" = yes; then
 4500:     CXXFLAGS="-g -O2"
 4501:   else
 4502:     CXXFLAGS="-g"
 4503:   fi
 4504: else
 4505:   if test "$GXX" = yes; then
 4506:     CXXFLAGS="-O2"
 4507:   else
 4508:     CXXFLAGS=
 4509:   fi
 4510: fi
 4511: ac_ext=c
 4512: ac_cpp='$CPP $CPPFLAGS'
 4513: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4514: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4515: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4516: 
 4517: depcc="$CXX"  am_compiler_list=
 4518: 
 4519: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4520: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4521: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 4522:   $as_echo_n "(cached) " >&6
 4523: else
 4524:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4525:   # We make a subdir and do the tests there.  Otherwise we can end up
 4526:   # making bogus files that we don't know about and never remove.  For
 4527:   # instance it was reported that on HP-UX the gcc test will end up
 4528:   # making a dummy file named `D' -- because `-MD' means `put the output
 4529:   # in D'.
 4530:   mkdir conftest.dir
 4531:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4532:   # using a relative directory.
 4533:   cp "$am_depcomp" conftest.dir
 4534:   cd conftest.dir
 4535:   # We will build objects and dependencies in a subdirectory because
 4536:   # it helps to detect inapplicable dependency modes.  For instance
 4537:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4538:   # side effect of compilation, but ICC will put the dependencies in
 4539:   # the current directory while Tru64 will put them in the object
 4540:   # directory.
 4541:   mkdir sub
 4542: 
 4543:   am_cv_CXX_dependencies_compiler_type=none
 4544:   if test "$am_compiler_list" = ""; then
 4545:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4546:   fi
 4547:   am__universal=false
 4548:   case " $depcc " in #(
 4549:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4550:      esac
 4551: 
 4552:   for depmode in $am_compiler_list; do
 4553:     # Setup a source with many dependencies, because some compilers
 4554:     # like to wrap large dependency lists on column 80 (with \), and
 4555:     # we should not choose a depcomp mode which is confused by this.
 4556:     #
 4557:     # We need to recreate these files for each test, as the compiler may
 4558:     # overwrite some of them when testing with obscure command lines.
 4559:     # This happens at least with the AIX C compiler.
 4560:     : > sub/conftest.c
 4561:     for i in 1 2 3 4 5 6; do
 4562:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4563:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4564:       # Solaris 8's {/usr,}/bin/sh.
 4565:       touch sub/conftst$i.h
 4566:     done
 4567:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4568: 
 4569:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4570:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4571:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4572:     # versions had trouble with output in subdirs
 4573:     am__obj=sub/conftest.${OBJEXT-o}
 4574:     am__minus_obj="-o $am__obj"
 4575:     case $depmode in
 4576:     gcc)
 4577:       # This depmode causes a compiler race in universal mode.
 4578:       test "$am__universal" = false || continue
 4579:       ;;
 4580:     nosideeffect)
 4581:       # after this tag, mechanisms are not by side-effect, so they'll
 4582:       # only be used when explicitly requested
 4583:       if test "x$enable_dependency_tracking" = xyes; then
 4584:     continue
 4585:       else
 4586:     break
 4587:       fi
 4588:       ;;
 4589:     msvisualcpp | msvcmsys)
 4590:       # This compiler won't grok `-c -o', but also, the minuso test has
 4591:       # not run yet.  These depmodes are late enough in the game, and
 4592:       # so weak that their functioning should not be impacted.
 4593:       am__obj=conftest.${OBJEXT-o}
 4594:       am__minus_obj=
 4595:       ;;
 4596:     none) break ;;
 4597:     esac
 4598:     if depmode=$depmode \
 4599:        source=sub/conftest.c object=$am__obj \
 4600:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4601:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4602:          >/dev/null 2>conftest.err &&
 4603:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4604:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4605:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4606:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4607:       # icc doesn't choke on unknown options, it will just issue warnings
 4608:       # or remarks (even with -Werror).  So we grep stderr for any message
 4609:       # that says an option was ignored or not supported.
 4610:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4611:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4612:       # The diagnosis changed in icc 8.0:
 4613:       #   icc: Command line remark: option '-MP' not supported
 4614:       if (grep 'ignoring option' conftest.err ||
 4615:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4616:         am_cv_CXX_dependencies_compiler_type=$depmode
 4617:         break
 4618:       fi
 4619:     fi
 4620:   done
 4621: 
 4622:   cd ..
 4623:   rm -rf conftest.dir
 4624: else
 4625:   am_cv_CXX_dependencies_compiler_type=none
 4626: fi
 4627: 
 4628: fi
 4629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4630: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4631: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4632: 
 4633:  if
 4634:   test "x$enable_dependency_tracking" != xno \
 4635:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4636:   am__fastdepCXX_TRUE=
 4637:   am__fastdepCXX_FALSE='#'
 4638: else
 4639:   am__fastdepCXX_TRUE='#'
 4640:   am__fastdepCXX_FALSE=
 4641: fi
 4642: 
 4643: 
 4644: 
 4645: if test "$GXX" != yes; then
 4646:     as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
 4647: fi
 4648: 
 4649: if test x"$CXX" != x""; then
 4650:     GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4651:             awk -F. '{ printf("%s", $1);}'`
 4652:     GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4653:             awk -F. '{ printf("%s", $2);}'`
 4654:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4655:         OPTIMISATION_GXX=-O3
 4656:     else
 4657:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 4658:             OPTIMISATION_GXX=-O3
 4659:         else
 4660:             if test $GCC_VERSION_MAJEURE -ge 3; then
 4661:                 OPTIMISATION_GXX=-O2
 4662:             else
 4663:                 as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5
 4664:             fi
 4665:         fi
 4666:     fi
 4667: fi
 4668: 
 4669: ac_ext=f
 4670: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4671: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4672: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4673: if test -n "$ac_tool_prefix"; then
 4674:   for ac_prog in gfortran
 4675:   do
 4676:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4677: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4679: $as_echo_n "checking for $ac_word... " >&6; }
 4680: if ${ac_cv_prog_F77+:} false; then :
 4681:   $as_echo_n "(cached) " >&6
 4682: else
 4683:   if test -n "$F77"; then
 4684:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4685: else
 4686: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4687: for as_dir in $PATH
 4688: do
 4689:   IFS=$as_save_IFS
 4690:   test -z "$as_dir" && as_dir=.
 4691:     for ac_exec_ext in '' $ac_executable_extensions; do
 4692:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4693:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4694:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4695:     break 2
 4696:   fi
 4697: done
 4698:   done
 4699: IFS=$as_save_IFS
 4700: 
 4701: fi
 4702: fi
 4703: F77=$ac_cv_prog_F77
 4704: if test -n "$F77"; then
 4705:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4706: $as_echo "$F77" >&6; }
 4707: else
 4708:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4709: $as_echo "no" >&6; }
 4710: fi
 4711: 
 4712: 
 4713:     test -n "$F77" && break
 4714:   done
 4715: fi
 4716: if test -z "$F77"; then
 4717:   ac_ct_F77=$F77
 4718:   for ac_prog in gfortran
 4719: do
 4720:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4721: set dummy $ac_prog; ac_word=$2
 4722: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4723: $as_echo_n "checking for $ac_word... " >&6; }
 4724: if ${ac_cv_prog_ac_ct_F77+:} false; then :
 4725:   $as_echo_n "(cached) " >&6
 4726: else
 4727:   if test -n "$ac_ct_F77"; then
 4728:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4729: else
 4730: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4731: for as_dir in $PATH
 4732: do
 4733:   IFS=$as_save_IFS
 4734:   test -z "$as_dir" && as_dir=.
 4735:     for ac_exec_ext in '' $ac_executable_extensions; do
 4736:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4737:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4738:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4739:     break 2
 4740:   fi
 4741: done
 4742:   done
 4743: IFS=$as_save_IFS
 4744: 
 4745: fi
 4746: fi
 4747: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4748: if test -n "$ac_ct_F77"; then
 4749:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4750: $as_echo "$ac_ct_F77" >&6; }
 4751: else
 4752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4753: $as_echo "no" >&6; }
 4754: fi
 4755: 
 4756: 
 4757:   test -n "$ac_ct_F77" && break
 4758: done
 4759: 
 4760:   if test "x$ac_ct_F77" = x; then
 4761:     F77=""
 4762:   else
 4763:     case $cross_compiling:$ac_tool_warned in
 4764: yes:)
 4765: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4766: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4767: ac_tool_warned=yes ;;
 4768: esac
 4769:     F77=$ac_ct_F77
 4770:   fi
 4771: fi
 4772: 
 4773: 
 4774: # Provide some information about the compiler.
 4775: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4776: set X $ac_compile
 4777: ac_compiler=$2
 4778: for ac_option in --version -v -V -qversion; do
 4779:   { { ac_try="$ac_compiler $ac_option >&5"
 4780: case "(($ac_try" in
 4781:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4782:   *) ac_try_echo=$ac_try;;
 4783: esac
 4784: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4785: $as_echo "$ac_try_echo"; } >&5
 4786:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4787:   ac_status=$?
 4788:   if test -s conftest.err; then
 4789:     sed '10a\
 4790: ... rest of stderr output deleted ...
 4791:          10q' conftest.err >conftest.er1
 4792:     cat conftest.er1 >&5
 4793:   fi
 4794:   rm -f conftest.er1 conftest.err
 4795:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4796:   test $ac_status = 0; }
 4797: done
 4798: rm -f a.out
 4799: 
 4800: # If we don't use `.F' as extension, the preprocessor is not run on the
 4801: # input file.  (Note that this only needs to work for GNU compilers.)
 4802: ac_save_ext=$ac_ext
 4803: ac_ext=F
 4804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4805: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4806: if ${ac_cv_f77_compiler_gnu+:} false; then :
 4807:   $as_echo_n "(cached) " >&6
 4808: else
 4809:   cat > conftest.$ac_ext <<_ACEOF
 4810:       program main
 4811: #ifndef __GNUC__
 4812:        choke me
 4813: #endif
 4814: 
 4815:       end
 4816: _ACEOF
 4817: if ac_fn_f77_try_compile "$LINENO"; then :
 4818:   ac_compiler_gnu=yes
 4819: else
 4820:   ac_compiler_gnu=no
 4821: fi
 4822: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4823: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4824: 
 4825: fi
 4826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4827: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4828: ac_ext=$ac_save_ext
 4829: ac_test_FFLAGS=${FFLAGS+set}
 4830: ac_save_FFLAGS=$FFLAGS
 4831: FFLAGS=
 4832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4833: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4834: if ${ac_cv_prog_f77_g+:} false; then :
 4835:   $as_echo_n "(cached) " >&6
 4836: else
 4837:   FFLAGS=-g
 4838: cat > conftest.$ac_ext <<_ACEOF
 4839:       program main
 4840: 
 4841:       end
 4842: _ACEOF
 4843: if ac_fn_f77_try_compile "$LINENO"; then :
 4844:   ac_cv_prog_f77_g=yes
 4845: else
 4846:   ac_cv_prog_f77_g=no
 4847: fi
 4848: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4849: 
 4850: fi
 4851: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4852: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4853: if test "$ac_test_FFLAGS" = set; then
 4854:   FFLAGS=$ac_save_FFLAGS
 4855: elif test $ac_cv_prog_f77_g = yes; then
 4856:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4857:     FFLAGS="-g -O2"
 4858:   else
 4859:     FFLAGS="-g"
 4860:   fi
 4861: else
 4862:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4863:     FFLAGS="-O2"
 4864:   else
 4865:     FFLAGS=
 4866:   fi
 4867: fi
 4868: 
 4869: if test $ac_compiler_gnu = yes; then
 4870:   G77=yes
 4871: else
 4872:   G77=
 4873: fi
 4874: ac_ext=c
 4875: ac_cpp='$CPP $CPPFLAGS'
 4876: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4877: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4878: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4879: 
 4880: 
 4881: ac_ext=${ac_fc_srcext-f}
 4882: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4883: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4884: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4885: if test -n "$ac_tool_prefix"; then
 4886:   for ac_prog in gfortran
 4887:   do
 4888:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4889: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4891: $as_echo_n "checking for $ac_word... " >&6; }
 4892: if ${ac_cv_prog_FC+:} false; then :
 4893:   $as_echo_n "(cached) " >&6
 4894: else
 4895:   if test -n "$FC"; then
 4896:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4897: else
 4898: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4899: for as_dir in $PATH
 4900: do
 4901:   IFS=$as_save_IFS
 4902:   test -z "$as_dir" && as_dir=.
 4903:     for ac_exec_ext in '' $ac_executable_extensions; do
 4904:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4905:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4906:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4907:     break 2
 4908:   fi
 4909: done
 4910:   done
 4911: IFS=$as_save_IFS
 4912: 
 4913: fi
 4914: fi
 4915: FC=$ac_cv_prog_FC
 4916: if test -n "$FC"; then
 4917:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4918: $as_echo "$FC" >&6; }
 4919: else
 4920:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4921: $as_echo "no" >&6; }
 4922: fi
 4923: 
 4924: 
 4925:     test -n "$FC" && break
 4926:   done
 4927: fi
 4928: if test -z "$FC"; then
 4929:   ac_ct_FC=$FC
 4930:   for ac_prog in gfortran
 4931: do
 4932:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4933: set dummy $ac_prog; ac_word=$2
 4934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4935: $as_echo_n "checking for $ac_word... " >&6; }
 4936: if ${ac_cv_prog_ac_ct_FC+:} false; then :
 4937:   $as_echo_n "(cached) " >&6
 4938: else
 4939:   if test -n "$ac_ct_FC"; then
 4940:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4941: else
 4942: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4943: for as_dir in $PATH
 4944: do
 4945:   IFS=$as_save_IFS
 4946:   test -z "$as_dir" && as_dir=.
 4947:     for ac_exec_ext in '' $ac_executable_extensions; do
 4948:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4949:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4950:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4951:     break 2
 4952:   fi
 4953: done
 4954:   done
 4955: IFS=$as_save_IFS
 4956: 
 4957: fi
 4958: fi
 4959: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4960: if test -n "$ac_ct_FC"; then
 4961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4962: $as_echo "$ac_ct_FC" >&6; }
 4963: else
 4964:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4965: $as_echo "no" >&6; }
 4966: fi
 4967: 
 4968: 
 4969:   test -n "$ac_ct_FC" && break
 4970: done
 4971: 
 4972:   if test "x$ac_ct_FC" = x; then
 4973:     FC=""
 4974:   else
 4975:     case $cross_compiling:$ac_tool_warned in
 4976: yes:)
 4977: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4978: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4979: ac_tool_warned=yes ;;
 4980: esac
 4981:     FC=$ac_ct_FC
 4982:   fi
 4983: fi
 4984: 
 4985: 
 4986: # Provide some information about the compiler.
 4987: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4988: set X $ac_compile
 4989: ac_compiler=$2
 4990: for ac_option in --version -v -V -qversion; do
 4991:   { { ac_try="$ac_compiler $ac_option >&5"
 4992: case "(($ac_try" in
 4993:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4994:   *) ac_try_echo=$ac_try;;
 4995: esac
 4996: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4997: $as_echo "$ac_try_echo"; } >&5
 4998:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4999:   ac_status=$?
 5000:   if test -s conftest.err; then
 5001:     sed '10a\
 5002: ... rest of stderr output deleted ...
 5003:          10q' conftest.err >conftest.er1
 5004:     cat conftest.er1 >&5
 5005:   fi
 5006:   rm -f conftest.er1 conftest.err
 5007:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 5008:   test $ac_status = 0; }
 5009: done
 5010: rm -f a.out
 5011: 
 5012: # If we don't use `.F' as extension, the preprocessor is not run on the
 5013: # input file.  (Note that this only needs to work for GNU compilers.)
 5014: ac_save_ext=$ac_ext
 5015: ac_ext=F
 5016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 5017: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 5018: if ${ac_cv_fc_compiler_gnu+:} false; then :
 5019:   $as_echo_n "(cached) " >&6
 5020: else
 5021:   cat > conftest.$ac_ext <<_ACEOF
 5022:       program main
 5023: #ifndef __GNUC__
 5024:        choke me
 5025: #endif
 5026: 
 5027:       end
 5028: _ACEOF
 5029: if ac_fn_fc_try_compile "$LINENO"; then :
 5030:   ac_compiler_gnu=yes
 5031: else
 5032:   ac_compiler_gnu=no
 5033: fi
 5034: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5035: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 5036: 
 5037: fi
 5038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 5039: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 5040: ac_ext=$ac_save_ext
 5041: ac_test_FCFLAGS=${FCFLAGS+set}
 5042: ac_save_FCFLAGS=$FCFLAGS
 5043: FCFLAGS=
 5044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 5045: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 5046: if ${ac_cv_prog_fc_g+:} false; then :
 5047:   $as_echo_n "(cached) " >&6
 5048: else
 5049:   FCFLAGS=-g
 5050: cat > conftest.$ac_ext <<_ACEOF
 5051:       program main
 5052: 
 5053:       end
 5054: _ACEOF
 5055: if ac_fn_fc_try_compile "$LINENO"; then :
 5056:   ac_cv_prog_fc_g=yes
 5057: else
 5058:   ac_cv_prog_fc_g=no
 5059: fi
 5060: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5061: 
 5062: fi
 5063: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 5064: $as_echo "$ac_cv_prog_fc_g" >&6; }
 5065: if test "$ac_test_FCFLAGS" = set; then
 5066:   FCFLAGS=$ac_save_FCFLAGS
 5067: elif test $ac_cv_prog_fc_g = yes; then
 5068:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 5069:     FCFLAGS="-g -O2"
 5070:   else
 5071:     FCFLAGS="-g"
 5072:   fi
 5073: else
 5074:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 5075:     FCFLAGS="-O2"
 5076:   else
 5077:     FCFLAGS=
 5078:   fi
 5079: fi
 5080: 
 5081: ac_ext=c
 5082: ac_cpp='$CPP $CPPFLAGS'
 5083: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5084: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5085: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5086: 
 5087: 
 5088: if test x"$F77" == x; then
 5089:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 5090: fi
 5091: 
 5092: if test x"$FC" == x; then
 5093:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 5094: fi
 5095: 
 5096: if test x"$FC" != x""; then
 5097:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5098:             awk -F. '{ printf("%s", $1);}'`
 5099:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5100:             awk -F. '{ printf("%s", $2);}'`
 5101:     if test $GCC_VERSION_MAJEURE -ge 5; then
 5102:         OPTIMISATION_F=-O3
 5103:     else
 5104:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 5105:             OPTIMISATION_F=-O3
 5106:         else
 5107:             if test $GCC_VERSION_MAJEURE -ge 3; then
 5108:                 OPTIMISATION_F=-O2
 5109:             else
 5110:                 as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
 5111:             fi
 5112:         fi
 5113:     fi
 5114: fi
 5115: 
 5116: 
 5117: ac_ext=c
 5118: ac_cpp='$CPP $CPPFLAGS'
 5119: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5120: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5121: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5123: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5124: # On Suns, sometimes $CPP names a directory.
 5125: if test -n "$CPP" && test -d "$CPP"; then
 5126:   CPP=
 5127: fi
 5128: if test -z "$CPP"; then
 5129:   if ${ac_cv_prog_CPP+:} false; then :
 5130:   $as_echo_n "(cached) " >&6
 5131: else
 5132:       # Double quotes because CPP needs to be expanded
 5133:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5134:     do
 5135:       ac_preproc_ok=false
 5136: for ac_c_preproc_warn_flag in '' yes
 5137: do
 5138:   # Use a header file that comes with gcc, so configuring glibc
 5139:   # with a fresh cross-compiler works.
 5140:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5141:   # <limits.h> exists even on freestanding compilers.
 5142:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5143:   # not just through cpp. "Syntax error" is here to catch this case.
 5144:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5145: /* end confdefs.h.  */
 5146: #ifdef __STDC__
 5147: # include <limits.h>
 5148: #else
 5149: # include <assert.h>
 5150: #endif
 5151:              Syntax error
 5152: _ACEOF
 5153: if ac_fn_c_try_cpp "$LINENO"; then :
 5154: 
 5155: else
 5156:   # Broken: fails on valid input.
 5157: continue
 5158: fi
 5159: rm -f conftest.err conftest.i conftest.$ac_ext
 5160: 
 5161:   # OK, works on sane cases.  Now check whether nonexistent headers
 5162:   # can be detected and how.
 5163:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5164: /* end confdefs.h.  */
 5165: #include <ac_nonexistent.h>
 5166: _ACEOF
 5167: if ac_fn_c_try_cpp "$LINENO"; then :
 5168:   # Broken: success on invalid input.
 5169: continue
 5170: else
 5171:   # Passes both tests.
 5172: ac_preproc_ok=:
 5173: break
 5174: fi
 5175: rm -f conftest.err conftest.i conftest.$ac_ext
 5176: 
 5177: done
 5178: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5179: rm -f conftest.i conftest.err conftest.$ac_ext
 5180: if $ac_preproc_ok; then :
 5181:   break
 5182: fi
 5183: 
 5184:     done
 5185:     ac_cv_prog_CPP=$CPP
 5186: 
 5187: fi
 5188:   CPP=$ac_cv_prog_CPP
 5189: else
 5190:   ac_cv_prog_CPP=$CPP
 5191: fi
 5192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5193: $as_echo "$CPP" >&6; }
 5194: ac_preproc_ok=false
 5195: for ac_c_preproc_warn_flag in '' yes
 5196: do
 5197:   # Use a header file that comes with gcc, so configuring glibc
 5198:   # with a fresh cross-compiler works.
 5199:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5200:   # <limits.h> exists even on freestanding compilers.
 5201:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5202:   # not just through cpp. "Syntax error" is here to catch this case.
 5203:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5204: /* end confdefs.h.  */
 5205: #ifdef __STDC__
 5206: # include <limits.h>
 5207: #else
 5208: # include <assert.h>
 5209: #endif
 5210:              Syntax error
 5211: _ACEOF
 5212: if ac_fn_c_try_cpp "$LINENO"; then :
 5213: 
 5214: else
 5215:   # Broken: fails on valid input.
 5216: continue
 5217: fi
 5218: rm -f conftest.err conftest.i conftest.$ac_ext
 5219: 
 5220:   # OK, works on sane cases.  Now check whether nonexistent headers
 5221:   # can be detected and how.
 5222:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5223: /* end confdefs.h.  */
 5224: #include <ac_nonexistent.h>
 5225: _ACEOF
 5226: if ac_fn_c_try_cpp "$LINENO"; then :
 5227:   # Broken: success on invalid input.
 5228: continue
 5229: else
 5230:   # Passes both tests.
 5231: ac_preproc_ok=:
 5232: break
 5233: fi
 5234: rm -f conftest.err conftest.i conftest.$ac_ext
 5235: 
 5236: done
 5237: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5238: rm -f conftest.i conftest.err conftest.$ac_ext
 5239: if $ac_preproc_ok; then :
 5240: 
 5241: else
 5242:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5243: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5244: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5245: See \`config.log' for more details" "$LINENO" 5; }
 5246: fi
 5247: 
 5248: ac_ext=c
 5249: ac_cpp='$CPP $CPPFLAGS'
 5250: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5251: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5252: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5253: 
 5254: 
 5255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5256: $as_echo_n "checking for X... " >&6; }
 5257: 
 5258: 
 5259: # Check whether --with-x was given.
 5260: if test "${with_x+set}" = set; then :
 5261:   withval=$with_x;
 5262: fi
 5263: 
 5264: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5265: if test "x$with_x" = xno; then
 5266:   # The user explicitly disabled X.
 5267:   have_x=disabled
 5268: else
 5269:   case $x_includes,$x_libraries in #(
 5270:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 5271:     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 5272:   $as_echo_n "(cached) " >&6
 5273: else
 5274:   # One or both of the vars are not set, and there is no cached value.
 5275: ac_x_includes=no ac_x_libraries=no
 5276: rm -f -r conftest.dir
 5277: if mkdir conftest.dir; then
 5278:   cd conftest.dir
 5279:   cat >Imakefile <<'_ACEOF'
 5280: incroot:
 5281:     @echo incroot='${INCROOT}'
 5282: usrlibdir:
 5283:     @echo usrlibdir='${USRLIBDIR}'
 5284: libdir:
 5285:     @echo libdir='${LIBDIR}'
 5286: _ACEOF
 5287:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5288:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 5289:     for ac_var in incroot usrlibdir libdir; do
 5290:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5291:     done
 5292:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5293:     for ac_extension in a so sl dylib la dll; do
 5294:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5295:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5296:     ac_im_usrlibdir=$ac_im_libdir; break
 5297:       fi
 5298:     done
 5299:     # Screen out bogus values from the imake configuration.  They are
 5300:     # bogus both because they are the default anyway, and because
 5301:     # using them would break gcc on systems where it needs fixed includes.
 5302:     case $ac_im_incroot in
 5303:     /usr/include) ac_x_includes= ;;
 5304:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5305:     esac
 5306:     case $ac_im_usrlibdir in
 5307:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5308:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5309:     esac
 5310:   fi
 5311:   cd ..
 5312:   rm -f -r conftest.dir
 5313: fi
 5314: 
 5315: # Standard set of common directories for X headers.
 5316: # Check X11 before X11Rn because it is often a symlink to the current release.
 5317: ac_x_header_dirs='
 5318: /usr/X11/include
 5319: /usr/X11R7/include
 5320: /usr/X11R6/include
 5321: /usr/X11R5/include
 5322: /usr/X11R4/include
 5323: 
 5324: /usr/include/X11
 5325: /usr/include/X11R7
 5326: /usr/include/X11R6
 5327: /usr/include/X11R5
 5328: /usr/include/X11R4
 5329: 
 5330: /usr/local/X11/include
 5331: /usr/local/X11R7/include
 5332: /usr/local/X11R6/include
 5333: /usr/local/X11R5/include
 5334: /usr/local/X11R4/include
 5335: 
 5336: /usr/local/include/X11
 5337: /usr/local/include/X11R7
 5338: /usr/local/include/X11R6
 5339: /usr/local/include/X11R5
 5340: /usr/local/include/X11R4
 5341: 
 5342: /usr/X386/include
 5343: /usr/x386/include
 5344: /usr/XFree86/include/X11
 5345: 
 5346: /usr/include
 5347: /usr/local/include
 5348: /usr/unsupported/include
 5349: /usr/athena/include
 5350: /usr/local/x11r5/include
 5351: /usr/lpp/Xamples/include
 5352: 
 5353: /usr/openwin/include
 5354: /usr/openwin/share/include'
 5355: 
 5356: if test "$ac_x_includes" = no; then
 5357:   # Guess where to find include files, by looking for Xlib.h.
 5358:   # First, try using that file with no special directory specified.
 5359:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5360: /* end confdefs.h.  */
 5361: #include <X11/Xlib.h>
 5362: _ACEOF
 5363: if ac_fn_c_try_cpp "$LINENO"; then :
 5364:   # We can compile using X headers with no special include directory.
 5365: ac_x_includes=
 5366: else
 5367:   for ac_dir in $ac_x_header_dirs; do
 5368:   if test -r "$ac_dir/X11/Xlib.h"; then
 5369:     ac_x_includes=$ac_dir
 5370:     break
 5371:   fi
 5372: done
 5373: fi
 5374: rm -f conftest.err conftest.i conftest.$ac_ext
 5375: fi # $ac_x_includes = no
 5376: 
 5377: if test "$ac_x_libraries" = no; then
 5378:   # Check for the libraries.
 5379:   # See if we find them without any special options.
 5380:   # Don't add to $LIBS permanently.
 5381:   ac_save_LIBS=$LIBS
 5382:   LIBS="-lX11 $LIBS"
 5383:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5384: /* end confdefs.h.  */
 5385: #include <X11/Xlib.h>
 5386: int
 5387: main ()
 5388: {
 5389: XrmInitialize ()
 5390:   ;
 5391:   return 0;
 5392: }
 5393: _ACEOF
 5394: if ac_fn_c_try_link "$LINENO"; then :
 5395:   LIBS=$ac_save_LIBS
 5396: # We can link X programs with no special library path.
 5397: ac_x_libraries=
 5398: else
 5399:   LIBS=$ac_save_LIBS
 5400: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5401: do
 5402:   # Don't even attempt the hair of trying to link an X program!
 5403:   for ac_extension in a so sl dylib la dll; do
 5404:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5405:       ac_x_libraries=$ac_dir
 5406:       break 2
 5407:     fi
 5408:   done
 5409: done
 5410: fi
 5411: rm -f core conftest.err conftest.$ac_objext \
 5412:     conftest$ac_exeext conftest.$ac_ext
 5413: fi # $ac_x_libraries = no
 5414: 
 5415: case $ac_x_includes,$ac_x_libraries in #(
 5416:   no,* | *,no | *\'*)
 5417:     # Didn't find X, or a directory has "'" in its name.
 5418:     ac_cv_have_x="have_x=no";; #(
 5419:   *)
 5420:     # Record where we found X for the cache.
 5421:     ac_cv_have_x="have_x=yes\
 5422:     ac_x_includes='$ac_x_includes'\
 5423:     ac_x_libraries='$ac_x_libraries'"
 5424: esac
 5425: fi
 5426: ;; #(
 5427:     *) have_x=yes;;
 5428:   esac
 5429:   eval "$ac_cv_have_x"
 5430: fi # $with_x != no
 5431: 
 5432: if test "$have_x" != yes; then
 5433:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5434: $as_echo "$have_x" >&6; }
 5435:   no_x=yes
 5436: else
 5437:   # If each of the values was on the command line, it overrides each guess.
 5438:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5439:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5440:   # Update the cache value to reflect the command line values.
 5441:   ac_cv_have_x="have_x=yes\
 5442:     ac_x_includes='$x_includes'\
 5443:     ac_x_libraries='$x_libraries'"
 5444:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5445: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5446: fi
 5447: 
 5448: if test "$no_x" = yes; then
 5449:   # Not all programs may use this symbol, but it does not hurt to define it.
 5450: 
 5451: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5452: 
 5453:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5454: else
 5455:   if test -n "$x_includes"; then
 5456:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5457:   fi
 5458: 
 5459:   # It would also be nice to do this for all -L options, not just this one.
 5460:   if test -n "$x_libraries"; then
 5461:     X_LIBS="$X_LIBS -L$x_libraries"
 5462:     # For Solaris; some versions of Sun CC require a space after -R and
 5463:     # others require no space.  Words are not sufficient . . . .
 5464:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5465: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5466:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5467:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5468:     ac_c_werror_flag=yes
 5469:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5470: /* end confdefs.h.  */
 5471: 
 5472: int
 5473: main ()
 5474: {
 5475: 
 5476:   ;
 5477:   return 0;
 5478: }
 5479: _ACEOF
 5480: if ac_fn_c_try_link "$LINENO"; then :
 5481:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5482: $as_echo "no" >&6; }
 5483:        X_LIBS="$X_LIBS -R$x_libraries"
 5484: else
 5485:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5486:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5487: /* end confdefs.h.  */
 5488: 
 5489: int
 5490: main ()
 5491: {
 5492: 
 5493:   ;
 5494:   return 0;
 5495: }
 5496: _ACEOF
 5497: if ac_fn_c_try_link "$LINENO"; then :
 5498:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5499: $as_echo "yes" >&6; }
 5500:       X_LIBS="$X_LIBS -R $x_libraries"
 5501: else
 5502:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5503: $as_echo "neither works" >&6; }
 5504: fi
 5505: rm -f core conftest.err conftest.$ac_objext \
 5506:     conftest$ac_exeext conftest.$ac_ext
 5507: fi
 5508: rm -f core conftest.err conftest.$ac_objext \
 5509:     conftest$ac_exeext conftest.$ac_ext
 5510:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5511:     LIBS=$ac_xsave_LIBS
 5512:   fi
 5513: 
 5514:   # Check for system-dependent libraries X programs must link with.
 5515:   # Do this before checking for the system-independent R6 libraries
 5516:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5517: 
 5518:   if test "$ISC" = yes; then
 5519:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5520:   else
 5521:     # Martyn Johnson says this is needed for Ultrix, if the X
 5522:     # libraries were built with DECnet support.  And Karl Berry says
 5523:     # the Alpha needs dnet_stub (dnet does not exist).
 5524:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5525:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5526: /* end confdefs.h.  */
 5527: 
 5528: /* Override any GCC internal prototype to avoid an error.
 5529:    Use char because int might match the return type of a GCC
 5530:    builtin and then its argument prototype would still apply.  */
 5531: #ifdef __cplusplus
 5532: extern "C"
 5533: #endif
 5534: char XOpenDisplay ();
 5535: int
 5536: main ()
 5537: {
 5538: return XOpenDisplay ();
 5539:   ;
 5540:   return 0;
 5541: }
 5542: _ACEOF
 5543: if ac_fn_c_try_link "$LINENO"; then :
 5544: 
 5545: else
 5546:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5547: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5548: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
 5549:   $as_echo_n "(cached) " >&6
 5550: else
 5551:   ac_check_lib_save_LIBS=$LIBS
 5552: LIBS="-ldnet  $LIBS"
 5553: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5554: /* end confdefs.h.  */
 5555: 
 5556: /* Override any GCC internal prototype to avoid an error.
 5557:    Use char because int might match the return type of a GCC
 5558:    builtin and then its argument prototype would still apply.  */
 5559: #ifdef __cplusplus
 5560: extern "C"
 5561: #endif
 5562: char dnet_ntoa ();
 5563: int
 5564: main ()
 5565: {
 5566: return dnet_ntoa ();
 5567:   ;
 5568:   return 0;
 5569: }
 5570: _ACEOF
 5571: if ac_fn_c_try_link "$LINENO"; then :
 5572:   ac_cv_lib_dnet_dnet_ntoa=yes
 5573: else
 5574:   ac_cv_lib_dnet_dnet_ntoa=no
 5575: fi
 5576: rm -f core conftest.err conftest.$ac_objext \
 5577:     conftest$ac_exeext conftest.$ac_ext
 5578: LIBS=$ac_check_lib_save_LIBS
 5579: fi
 5580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5581: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5582: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
 5583:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5584: fi
 5585: 
 5586:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5587:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5588: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5589: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
 5590:   $as_echo_n "(cached) " >&6
 5591: else
 5592:   ac_check_lib_save_LIBS=$LIBS
 5593: LIBS="-ldnet_stub  $LIBS"
 5594: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5595: /* end confdefs.h.  */
 5596: 
 5597: /* Override any GCC internal prototype to avoid an error.
 5598:    Use char because int might match the return type of a GCC
 5599:    builtin and then its argument prototype would still apply.  */
 5600: #ifdef __cplusplus
 5601: extern "C"
 5602: #endif
 5603: char dnet_ntoa ();
 5604: int
 5605: main ()
 5606: {
 5607: return dnet_ntoa ();
 5608:   ;
 5609:   return 0;
 5610: }
 5611: _ACEOF
 5612: if ac_fn_c_try_link "$LINENO"; then :
 5613:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5614: else
 5615:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5616: fi
 5617: rm -f core conftest.err conftest.$ac_objext \
 5618:     conftest$ac_exeext conftest.$ac_ext
 5619: LIBS=$ac_check_lib_save_LIBS
 5620: fi
 5621: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5622: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5623: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
 5624:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5625: fi
 5626: 
 5627:     fi
 5628: fi
 5629: rm -f core conftest.err conftest.$ac_objext \
 5630:     conftest$ac_exeext conftest.$ac_ext
 5631:     LIBS="$ac_xsave_LIBS"
 5632: 
 5633:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5634:     # to get the SysV transport functions.
 5635:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5636:     # needs -lnsl.
 5637:     # The nsl library prevents programs from opening the X display
 5638:     # on Irix 5.2, according to T.E. Dickey.
 5639:     # The functions gethostbyname, getservbyname, and inet_addr are
 5640:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5641:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5642: if test "x$ac_cv_func_gethostbyname" = xyes; then :
 5643: 
 5644: fi
 5645: 
 5646:     if test $ac_cv_func_gethostbyname = no; then
 5647:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5648: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5649: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 5650:   $as_echo_n "(cached) " >&6
 5651: else
 5652:   ac_check_lib_save_LIBS=$LIBS
 5653: LIBS="-lnsl  $LIBS"
 5654: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5655: /* end confdefs.h.  */
 5656: 
 5657: /* Override any GCC internal prototype to avoid an error.
 5658:    Use char because int might match the return type of a GCC
 5659:    builtin and then its argument prototype would still apply.  */
 5660: #ifdef __cplusplus
 5661: extern "C"
 5662: #endif
 5663: char gethostbyname ();
 5664: int
 5665: main ()
 5666: {
 5667: return gethostbyname ();
 5668:   ;
 5669:   return 0;
 5670: }
 5671: _ACEOF
 5672: if ac_fn_c_try_link "$LINENO"; then :
 5673:   ac_cv_lib_nsl_gethostbyname=yes
 5674: else
 5675:   ac_cv_lib_nsl_gethostbyname=no
 5676: fi
 5677: rm -f core conftest.err conftest.$ac_objext \
 5678:     conftest$ac_exeext conftest.$ac_ext
 5679: LIBS=$ac_check_lib_save_LIBS
 5680: fi
 5681: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5682: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5683: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 5684:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5685: fi
 5686: 
 5687:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5688:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5689: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5690: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
 5691:   $as_echo_n "(cached) " >&6
 5692: else
 5693:   ac_check_lib_save_LIBS=$LIBS
 5694: LIBS="-lbsd  $LIBS"
 5695: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5696: /* end confdefs.h.  */
 5697: 
 5698: /* Override any GCC internal prototype to avoid an error.
 5699:    Use char because int might match the return type of a GCC
 5700:    builtin and then its argument prototype would still apply.  */
 5701: #ifdef __cplusplus
 5702: extern "C"
 5703: #endif
 5704: char gethostbyname ();
 5705: int
 5706: main ()
 5707: {
 5708: return gethostbyname ();
 5709:   ;
 5710:   return 0;
 5711: }
 5712: _ACEOF
 5713: if ac_fn_c_try_link "$LINENO"; then :
 5714:   ac_cv_lib_bsd_gethostbyname=yes
 5715: else
 5716:   ac_cv_lib_bsd_gethostbyname=no
 5717: fi
 5718: rm -f core conftest.err conftest.$ac_objext \
 5719:     conftest$ac_exeext conftest.$ac_ext
 5720: LIBS=$ac_check_lib_save_LIBS
 5721: fi
 5722: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5723: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5724: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
 5725:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5726: fi
 5727: 
 5728:       fi
 5729:     fi
 5730: 
 5731:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5732:     # socket/setsockopt and other routines are undefined under SCO ODT
 5733:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5734:     # on later versions), says Simon Leinen: it contains gethostby*
 5735:     # variants that don't use the name server (or something).  -lsocket
 5736:     # must be given before -lnsl if both are needed.  We assume that
 5737:     # if connect needs -lnsl, so does gethostbyname.
 5738:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5739: if test "x$ac_cv_func_connect" = xyes; then :
 5740: 
 5741: fi
 5742: 
 5743:     if test $ac_cv_func_connect = no; then
 5744:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5745: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5746: if ${ac_cv_lib_socket_connect+:} false; then :
 5747:   $as_echo_n "(cached) " >&6
 5748: else
 5749:   ac_check_lib_save_LIBS=$LIBS
 5750: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5751: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5752: /* end confdefs.h.  */
 5753: 
 5754: /* Override any GCC internal prototype to avoid an error.
 5755:    Use char because int might match the return type of a GCC
 5756:    builtin and then its argument prototype would still apply.  */
 5757: #ifdef __cplusplus
 5758: extern "C"
 5759: #endif
 5760: char connect ();
 5761: int
 5762: main ()
 5763: {
 5764: return connect ();
 5765:   ;
 5766:   return 0;
 5767: }
 5768: _ACEOF
 5769: if ac_fn_c_try_link "$LINENO"; then :
 5770:   ac_cv_lib_socket_connect=yes
 5771: else
 5772:   ac_cv_lib_socket_connect=no
 5773: fi
 5774: rm -f core conftest.err conftest.$ac_objext \
 5775:     conftest$ac_exeext conftest.$ac_ext
 5776: LIBS=$ac_check_lib_save_LIBS
 5777: fi
 5778: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5779: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5780: if test "x$ac_cv_lib_socket_connect" = xyes; then :
 5781:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5782: fi
 5783: 
 5784:     fi
 5785: 
 5786:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5787:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5788: if test "x$ac_cv_func_remove" = xyes; then :
 5789: 
 5790: fi
 5791: 
 5792:     if test $ac_cv_func_remove = no; then
 5793:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5794: $as_echo_n "checking for remove in -lposix... " >&6; }
 5795: if ${ac_cv_lib_posix_remove+:} false; then :
 5796:   $as_echo_n "(cached) " >&6
 5797: else
 5798:   ac_check_lib_save_LIBS=$LIBS
 5799: LIBS="-lposix  $LIBS"
 5800: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5801: /* end confdefs.h.  */
 5802: 
 5803: /* Override any GCC internal prototype to avoid an error.
 5804:    Use char because int might match the return type of a GCC
 5805:    builtin and then its argument prototype would still apply.  */
 5806: #ifdef __cplusplus
 5807: extern "C"
 5808: #endif
 5809: char remove ();
 5810: int
 5811: main ()
 5812: {
 5813: return remove ();
 5814:   ;
 5815:   return 0;
 5816: }
 5817: _ACEOF
 5818: if ac_fn_c_try_link "$LINENO"; then :
 5819:   ac_cv_lib_posix_remove=yes
 5820: else
 5821:   ac_cv_lib_posix_remove=no
 5822: fi
 5823: rm -f core conftest.err conftest.$ac_objext \
 5824:     conftest$ac_exeext conftest.$ac_ext
 5825: LIBS=$ac_check_lib_save_LIBS
 5826: fi
 5827: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5828: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5829: if test "x$ac_cv_lib_posix_remove" = xyes; then :
 5830:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5831: fi
 5832: 
 5833:     fi
 5834: 
 5835:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5836:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5837: if test "x$ac_cv_func_shmat" = xyes; then :
 5838: 
 5839: fi
 5840: 
 5841:     if test $ac_cv_func_shmat = no; then
 5842:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5843: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5844: if ${ac_cv_lib_ipc_shmat+:} false; then :
 5845:   $as_echo_n "(cached) " >&6
 5846: else
 5847:   ac_check_lib_save_LIBS=$LIBS
 5848: LIBS="-lipc  $LIBS"
 5849: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5850: /* end confdefs.h.  */
 5851: 
 5852: /* Override any GCC internal prototype to avoid an error.
 5853:    Use char because int might match the return type of a GCC
 5854:    builtin and then its argument prototype would still apply.  */
 5855: #ifdef __cplusplus
 5856: extern "C"
 5857: #endif
 5858: char shmat ();
 5859: int
 5860: main ()
 5861: {
 5862: return shmat ();
 5863:   ;
 5864:   return 0;
 5865: }
 5866: _ACEOF
 5867: if ac_fn_c_try_link "$LINENO"; then :
 5868:   ac_cv_lib_ipc_shmat=yes
 5869: else
 5870:   ac_cv_lib_ipc_shmat=no
 5871: fi
 5872: rm -f core conftest.err conftest.$ac_objext \
 5873:     conftest$ac_exeext conftest.$ac_ext
 5874: LIBS=$ac_check_lib_save_LIBS
 5875: fi
 5876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5877: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5878: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
 5879:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5880: fi
 5881: 
 5882:     fi
 5883:   fi
 5884: 
 5885:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5886:   ac_save_LDFLAGS=$LDFLAGS
 5887:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5888:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5889:   # check for ICE first), but we must link in the order -lSM -lICE or
 5890:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5891:   # These have to be linked with before -lX11, unlike the other
 5892:   # libraries we check for below, so use a different variable.
 5893:   # John Interrante, Karl Berry
 5894:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5895: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5896: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
 5897:   $as_echo_n "(cached) " >&6
 5898: else
 5899:   ac_check_lib_save_LIBS=$LIBS
 5900: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 5901: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5902: /* end confdefs.h.  */
 5903: 
 5904: /* Override any GCC internal prototype to avoid an error.
 5905:    Use char because int might match the return type of a GCC
 5906:    builtin and then its argument prototype would still apply.  */
 5907: #ifdef __cplusplus
 5908: extern "C"
 5909: #endif
 5910: char IceConnectionNumber ();
 5911: int
 5912: main ()
 5913: {
 5914: return IceConnectionNumber ();
 5915:   ;
 5916:   return 0;
 5917: }
 5918: _ACEOF
 5919: if ac_fn_c_try_link "$LINENO"; then :
 5920:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5921: else
 5922:   ac_cv_lib_ICE_IceConnectionNumber=no
 5923: fi
 5924: rm -f core conftest.err conftest.$ac_objext \
 5925:     conftest$ac_exeext conftest.$ac_ext
 5926: LIBS=$ac_check_lib_save_LIBS
 5927: fi
 5928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 5929: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5930: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
 5931:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5932: fi
 5933: 
 5934:   LDFLAGS=$ac_save_LDFLAGS
 5935: 
 5936: fi
 5937: 
 5938: 
 5939: if test "$ac_x_includes" != "no"; then
 5940:     if test x"$ac_x_includes" != x; then
 5941:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5942:         includeX="-I$ac_x_includes"
 5943:     fi
 5944: fi
 5945: if test "$ac_x_libraries" != "no"; then
 5946:     if test x"$ac_x_libraries" != x; then
 5947:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5948:     fi
 5949: fi
 5950: 
 5951: 
 5952: # Check whether --with-32bits-abi was given.
 5953: if test "${with_32bits_abi+set}" = set; then :
 5954:   withval=$with_32bits_abi;
 5955: if test "$with-32bits-abi" = "no"; then
 5956:     ABI=
 5957: else
 5958:     ABI=-m32
 5959: fi
 5960: else
 5961: 
 5962:     ABI=
 5963: 
 5964: 
 5965: fi
 5966: 
 5967: 
 5968: if test x$ABI = x; then
 5969: 
 5970: # Check whether --with-64bits-abi was given.
 5971: if test "${with_64bits_abi+set}" = set; then :
 5972:   withval=$with_64bits_abi;
 5973: if test "$with-64bits-abi" = "no"; then
 5974:     ABI=
 5975: else
 5976:     ABI=-m64
 5977: fi
 5978: else
 5979: 
 5980:     ABI=
 5981: 
 5982: 
 5983: fi
 5984: 
 5985: fi
 5986: 
 5987: LDFLAGS="$LDFLAGS $ABI"
 5988: 
 5989: # Check whether --enable-recursive was given.
 5990: if test "${enable_recursive+set}" = set; then :
 5991:   enableval=$enable_recursive;
 5992: if test "$enableval" = "yes"; then
 5993:     RECURSIVE=yes
 5994: else
 5995:     RECURSIVE=no
 5996: fi
 5997: else
 5998: 
 5999:     RECURSIVE=yes
 6000: 
 6001: 
 6002: fi
 6003: 
 6004: 
 6005: 
 6006: # Check whether --with-rpltools was given.
 6007: if test "${with_rpltools+set}" = set; then :
 6008:   withval=$with_rpltools;
 6009: if test "$with_rpltools" = "no" -o "$with_rpltools" = yes; then
 6010:     as_fn_error $? "You have to specify rpltools path !" "$LINENO" 5
 6011: else
 6012:     RPLTOOLS=$with_rpltools
 6013: fi
 6014: else
 6015: 
 6016:     RPLTOOLS=\$\(top_builddir\)
 6017: 
 6018: 
 6019: fi
 6020: 
 6021: 
 6022: 
 6023: 
 6024: # Check whether --enable-rplcas was given.
 6025: if test "${enable_rplcas+set}" = set; then :
 6026:   enableval=$enable_rplcas;
 6027: if test "$enableval" = "no"; then
 6028:     RPLCAS=-URPLCAS
 6029:     LIBRPLCAS=
 6030: else
 6031:     RPLCAS=-DRPLCAS
 6032:     LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
 6033: fi
 6034: else
 6035: 
 6036:     RPLCAS=-URPLCAS
 6037:     LIBRPLCAS=
 6038: 
 6039: 
 6040: fi
 6041: 
 6042: 
 6043: 
 6044: 
 6045: 
 6046: 
 6047: # Check whether --enable-optimization was given.
 6048: if test "${enable_optimization+set}" = set; then :
 6049:   enableval=$enable_optimization;
 6050: if test "$enableval" = "no"; then
 6051:     CFLAGS=$ABI
 6052:     FFLAGS=$ABI
 6053:     CXXFLAGS=$ABI
 6054:     FCFLAGS=$ABI
 6055: else
 6056:     CFLAGS="$CFLAGS $ABI $enable_optimization"
 6057:     FFLAGS="$FFLAGS $ABI $enable_optimization"
 6058:     CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
 6059:     FCFLAGS="$FCFLAGS $ABI $enable_optimization"
 6060: fi
 6061: else
 6062: 
 6063:     CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
 6064:     FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
 6065:     CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
 6066:     FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
 6067: 
 6068: 
 6069: fi
 6070: 
 6071: 
 6072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable shared memory" >&5
 6073: $as_echo_n "checking for usable shared memory... " >&6; }
 6074: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6075: /* end confdefs.h.  */
 6076: #include <sys/shm.h>
 6077: 
 6078: int
 6079: main ()
 6080: {
 6081:  return(0);
 6082:   ;
 6083:   return 0;
 6084: }
 6085: _ACEOF
 6086: if ac_fn_c_try_compile "$LINENO"; then :
 6087:   SHARED_MEMORY=-DSHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6088: $as_echo "yes" >&6; }
 6089: else
 6090:   SHARED_MEMORY=-USHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6091: $as_echo "no" >&6; }
 6092: 
 6093: fi
 6094: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6095: 
 6096: 
 6097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5
 6098: $as_echo_n "checking for pselect... " >&6; }
 6099: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6100: /* end confdefs.h.  */
 6101: #include <sys/select.h>
 6102:      #include <unistd.h>
 6103:      #include <sys/time.h>
 6104:      #include <sys/types.h>
 6105: 
 6106: int
 6107: main ()
 6108: {
 6109: 
 6110:      struct timespec tv;
 6111:      fd_set s1, s2, s3;
 6112:      tv.tv_sec=1;
 6113:      tv.tv_nsec=0;
 6114:      FD_SET(1, &s1); FD_SET(2, &s2); FD_SET(3, &s3);
 6115:      pselect(5, &s1, &s2, &s3, &tv, NULL);
 6116:      return(0);
 6117: 
 6118:   ;
 6119:   return 0;
 6120: }
 6121: _ACEOF
 6122: if ac_fn_c_try_compile "$LINENO"; then :
 6123:   PSELECT=-DPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6124: $as_echo "yes" >&6; }
 6125: else
 6126:   PSELECT=-UPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6127: $as_echo "no" >&6; }
 6128: 
 6129: fi
 6130: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6131: 
 6132: 
 6133: # Check whether --enable-sysv-ipcs was given.
 6134: if test "${enable_sysv_ipcs+set}" = set; then :
 6135:   enableval=$enable_sysv_ipcs;
 6136: if test "$enableval" = "no"; then
 6137:     IPCS_SYSV=-UIPCS_SYSV
 6138:     POSIX_IPCS=no
 6139: else
 6140:     IPCS_SYSV=-DIPCS_SYSV
 6141:     POSIX_IPCS=yes
 6142: fi
 6143: else
 6144:   REG=$LDFLAGS
 6145: POSIX_IPCS=guessed
 6146: LDFLAGS=-lrt
 6147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores and shared objects" >&5
 6148: $as_echo_n "checking for POSIX semaphores and shared objects... " >&6; }
 6149: if test "$cross_compiling" = yes; then :
 6150:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 6151: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 6152: as_fn_error $? "cannot run test program while cross compiling
 6153: See \`config.log' for more details" "$LINENO" 5; }
 6154: else
 6155:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6156: /* end confdefs.h.  */
 6157: #include <sys/mman.h>
 6158: #include <sys/stat.h>
 6159: #include <fcntl.h>
 6160: 
 6161: int
 6162: main ()
 6163: {
 6164:  int fd; char *sem = "/test";
 6165: fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
 6166:   close(fd);
 6167:   shm_unlink(sem);
 6168:   fd = sem_open(sem, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0);
 6169:   close(fd);
 6170:   sem_unlink(sem);
 6171:   return(0);
 6172: 
 6173:   ;
 6174:   return 0;
 6175: }
 6176: _ACEOF
 6177: if ac_fn_c_try_run "$LINENO"; then :
 6178:   IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6179: $as_echo "yes" >&6; }
 6180: else
 6181:   IPCS_SYSV=-DIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6182: $as_echo "no" >&6; }
 6183: 
 6184: fi
 6185: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 6186:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 6187: fi
 6188: 
 6189: LDFLAGS=$REG
 6190: 
 6191: fi
 6192: 
 6193: 
 6194: if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then
 6195: REG=$LDFLAGS
 6196: LDFLAGS=-pthread
 6197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5
 6198: $as_echo_n "checking for POSIX anonymous semaphores... " >&6; }
 6199: if test "$cross_compiling" = yes; then :
 6200:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 6201: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 6202: as_fn_error $? "cannot run test program while cross compiling
 6203: See \`config.log' for more details" "$LINENO" 5; }
 6204: else
 6205:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6206: /* end confdefs.h.  */
 6207: #include <semaphore.h>
 6208: 
 6209: int
 6210: main ()
 6211: {
 6212:  sem_t sem;
 6213:  if (sem_init(&sem, 1, 0) != 0) return(1);
 6214:  sem_destroy(&sem);
 6215:   return(0);
 6216: 
 6217:   ;
 6218:   return 0;
 6219: }
 6220: _ACEOF
 6221: if ac_fn_c_try_run "$LINENO"; then :
 6222:   SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6223: $as_echo "yes" >&6; }
 6224: else
 6225:   SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6226: $as_echo "no" >&6; }
 6227: 
 6228: fi
 6229: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 6230:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 6231: fi
 6232: 
 6233: LDFLAGS=$REG
 6234: REG=""
 6235: else
 6236:     SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 6237: fi
 6238: 
 6239: # Check whether --enable-full-static was given.
 6240: if test "${enable_full_static+set}" = set; then :
 6241:   enableval=$enable_full_static;
 6242: if test "$enableval" = "no"; then
 6243:     STATIC=no
 6244: else
 6245:     STATIC=yes
 6246: fi
 6247: else
 6248:   STATIC=no
 6249: fi
 6250: 
 6251: 
 6252: # Check whether --enable-final-encoding was given.
 6253: if test "${enable_final_encoding+set}" = set; then :
 6254:   enableval=$enable_final_encoding;
 6255: if test "$enableval" = "no"; then
 6256:     FINAL_ENCODING="\$(shell locale charmap | \
 6257:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6258:     FORCED_FINAL_ENCODING=0
 6259: else
 6260:     FINAL_ENCODING="$enable_final_encoding"
 6261:     FORCED_FINAL_ENCODING=1
 6262: fi
 6263: else
 6264: 
 6265: FORCED_FINAL_ENCODING=0
 6266: FINAL_ENCODING="\$(shell locale charmap | \
 6267:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6268: fi
 6269: 
 6270: 
 6271: # Check whether --enable-tex was given.
 6272: if test "${enable_tex+set}" = set; then :
 6273:   enableval=$enable_tex;
 6274: if test "$enableval" = "no"; then
 6275:     TEX_SUPPORT=no
 6276: else
 6277:     TEX_SUPPORT=yes
 6278: fi
 6279: else
 6280:   TEX_SUPPORT=guessed
 6281: fi
 6282: 
 6283: 
 6284: # Check whether --enable-vim was given.
 6285: if test "${enable_vim+set}" = set; then :
 6286:   enableval=$enable_vim;
 6287: if test "$enableval" = "no"; then
 6288:     VIM_SUPPORT=no
 6289: else
 6290:     VIM_SUPPORT=yes
 6291: fi
 6292: else
 6293:   VIM_SUPPORT=guessed
 6294: fi
 6295: 
 6296: 
 6297: # Check whether --enable-embedded-gnuplot was given.
 6298: if test "${enable_embedded_gnuplot+set}" = set; then :
 6299:   enableval=$enable_embedded_gnuplot;
 6300: if test "$enableval" = "no"; then
 6301:     MYGNUPLOT=no
 6302: else
 6303:     MYGNUPLOT=yes
 6304: fi
 6305: else
 6306: 
 6307: MYGNUPLOT=yes
 6308: fi
 6309: 
 6310: 
 6311: # Check whether --enable-gnuplot was given.
 6312: if test "${enable_gnuplot+set}" = set; then :
 6313:   enableval=$enable_gnuplot;
 6314: if test "$enableval" = "no"; then
 6315:     GNUPLOT_SUPPORT=no
 6316:     MYGNUPLOT=no
 6317:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6318: else
 6319:     GNUPLOT_SUPPORT=yes
 6320:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6321: fi
 6322: else
 6323: 
 6324: if test "$MYGNUPLOT" = "yes"; then
 6325:     GNUPLOT_SUPPORT=yes
 6326:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6327: else
 6328:     GNUPLOT_SUPPORT=guessed
 6329:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6330: fi
 6331: fi
 6332: 
 6333: 
 6334: libX=""
 6335: LIBMOTIF=""
 6336: INCMOTIF=""
 6337: BUILD_OPENMOTIF=""
 6338: 
 6339: # Check whether --enable-motif was given.
 6340: if test "${enable_motif+set}" = set; then :
 6341:   enableval=$enable_motif;
 6342: if test "$enableval" = "no"; then
 6343:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6344: else
 6345:     MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6346: fi
 6347: else
 6348:   if test "$have_x" == "yes"; then
 6349:     MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6350: else
 6351:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6352: fi
 6353: fi
 6354: 
 6355: 
 6356: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6357:     libX="$X_LIBS -lXt -lX11"
 6358:     LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \
 6359:             \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a"
 6360:     INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \
 6361:             -I\$(top_builddir)/tools/$OPENMOTIF/lib \
 6362:             -I\$(top_srcdir)/tools/$LIBXPM/include"
 6363:     BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
 6364: 
 6365:     if test $RECURSIVE = yes; then
 6366: 
 6367: 
 6368: subdirs="$subdirs tools/$LIBXPM"
 6369: 
 6370:         subdirs="$subdirs tools/$OPENMOTIF"
 6371: 
 6372:     fi;
 6373: fi
 6374: 
 6375: # Check whether --enable-experimental was given.
 6376: if test "${enable_experimental+set}" = set; then :
 6377:   enableval=$enable_experimental;
 6378: if test "$enableval" = "no"; then
 6379:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6380: else
 6381:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6382: fi
 6383: else
 6384:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6385: fi
 6386: 
 6387: 
 6388: # Check whether --enable-debug was given.
 6389: if test "${enable_debug+set}" = set; then :
 6390:   enableval=$enable_debug;
 6391: if test "$enableval" = "no"; then
 6392:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6393: else
 6394:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6395: fi
 6396: else
 6397:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6398: fi
 6399: 
 6400: 
 6401: # Check whether --enable-profile was given.
 6402: if test "${enable_profile+set}" = set; then :
 6403:   enableval=$enable_profile;
 6404: if test "$enableval" = "no"; then
 6405:     PROFILAGE=""
 6406: else
 6407:     PROFILAGE="-pg"
 6408: fi
 6409: else
 6410:   PROFILAGE=""
 6411: fi
 6412: 
 6413: 
 6414: 
 6415: 
 6416: if test ! -d tools; then
 6417:     mkdir tools
 6418: fi
 6419: if test ! -d "$srcdir"/tools/$NCURSES; then
 6420:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6421:             (cd "$srcdir/tools" && tar -xf -)
 6422:     (cd "$srcdir/tools/"$NCURSES && \
 6423:             for i in ../$NCURSES*.patch.gz;
 6424:             do gunzip -c $i | patch -p1;
 6425:             done);
 6426: fi
 6427: if test ! -d "$srcdir"/tools/$READLINE; then
 6428:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6429:             (cd "$srcdir/tools" && tar -xf -)
 6430: fi
 6431: if test ! -d "$srcdir"/tools/$UNITS; then
 6432:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6433:             (cd "$srcdir/tools" && tar -xf -)
 6434: fi
 6435: if test ! -d "$srcdir"/tools/$GSL; then
 6436:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6437:             (cd "$srcdir/tools" && tar -xf -)
 6438:     if test $(uname) = "OS/2"; then
 6439:         (cd "$srcdir"/tools/$GSL; \
 6440:                 TMP=$(mktemp tmp.XXXXXXXXXX); \
 6441:                 sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
 6442:                 \mv -f $TMP ltmain.sh)
 6443:     fi
 6444: fi
 6445: if test ! -d "$srcdir"/tools/$GPP; then
 6446:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6447:             (cd "$srcdir/tools" && tar -xf -)
 6448: fi
 6449: if test ! -d "$srcdir"/tools/$FILE; then
 6450:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6451:             (cd "$srcdir/tools" && tar -xf - )
 6452:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6453: fi
 6454: if test ! -d "$srcdir"/tools/$ICONV; then
 6455:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6456:             (cd "$srcdir/tools" && tar -xf -)
 6457: fi
 6458: if test ! -d "$srcdir"/tools/$SQLITE; then
 6459:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6460:             (cd "$srcdir/tools" && tar -xf -)
 6461: fi
 6462: if test ! -d "$srcdir"/tools/$SIGSEGV; then
 6463:     gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \
 6464:             (cd "$srcdir/tools" && tar -xf -)
 6465: fi
 6466: if test ! -d "$srcdir"/tools/$OPENMOTIF; then
 6467:     gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \
 6468:             (cd "$srcdir/tools" && tar -xf -)
 6469: fi
 6470: if test ! -d "$srcdir"/tools/$LIBXPM; then
 6471:     gunzip -c "$srcdir"/tools/$LIBXPM.tar.gz | \
 6472:             (cd "$srcdir/tools" && tar -xf -)
 6473: fi
 6474: if test ! -d tools/$OPENSSL; then
 6475:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6476:             (cd tools && tar -xf -)
 6477: fi
 6478: if test ! -d rplcas; then
 6479:     mkdir rplcas
 6480: fi
 6481: if test ! -d "$srcdir"/rplcas/$GMP; then
 6482:     gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
 6483:             (cd "$srcdir/rplcas" && tar -xf -)
 6484: fi
 6485: if test ! -d "$srcdir"/rplcas/$MPFR; then
 6486:     gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
 6487:             (cd "$srcdir/rplcas" && tar -xf -)
 6488: fi
 6489: if test ! -d rplcas/$NTL; then
 6490:     gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
 6491:             (cd rplcas && tar -xf -)
 6492: fi
 6493: if test ! -d rplcas/$COCOA; then
 6494:     gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
 6495:             (cd rplcas && tar -xf -)
 6496: fi
 6497: if test ! -d rplcas/$PARI; then
 6498:     gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
 6499:             (cd rplcas && tar -xf -)
 6500: fi
 6501: if test ! -d "$srcdir"/rplcas/$GIAC; then
 6502:     gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
 6503:             (cd "$srcdir/rplcas" && tar -xf -)
 6504: fi
 6505: 
 6506: touch tools/openmotif.lib
 6507: 
 6508: 
 6509: 
 6510: # Check whether --enable-final-run-path was given.
 6511: if test "${enable_final_run_path+set}" = set; then :
 6512:   enableval=$enable_final_run_path;
 6513:     if test "x$enable_final_run_path" = "x"; then
 6514:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6515: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6516:         as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
 6517:     else
 6518:         RUNPATH="$enable_final_run_path"
 6519:     fi
 6520: 
 6521: else
 6522:   RUNPATH="\${prefix}"
 6523: 
 6524: fi
 6525: 
 6526: 
 6527: 
 6528: 
 6529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6530: $as_echo_n "checking whether ln -s works... " >&6; }
 6531: LN_S=$as_ln_s
 6532: if test "$LN_S" = "ln -s"; then
 6533:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6534: $as_echo "yes" >&6; }
 6535: else
 6536:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6537: $as_echo "no, using $LN_S" >&6; }
 6538: fi
 6539: 
 6540: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6541: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6542: set x ${MAKE-make}
 6543: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6544: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 6545:   $as_echo_n "(cached) " >&6
 6546: else
 6547:   cat >conftest.make <<\_ACEOF
 6548: SHELL = /bin/sh
 6549: all:
 6550:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6551: _ACEOF
 6552: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 6553: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6554:   *@@@%%%=?*=@@@%%%*)
 6555:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6556:   *)
 6557:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6558: esac
 6559: rm -f conftest.make
 6560: fi
 6561: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6562:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6563: $as_echo "yes" >&6; }
 6564:   SET_MAKE=
 6565: else
 6566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6567: $as_echo "no" >&6; }
 6568:   SET_MAKE="MAKE=${MAKE-make}"
 6569: fi
 6570: 
 6571: if test -n "$ac_tool_prefix"; then
 6572:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6573: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6575: $as_echo_n "checking for $ac_word... " >&6; }
 6576: if ${ac_cv_prog_RANLIB+:} false; then :
 6577:   $as_echo_n "(cached) " >&6
 6578: else
 6579:   if test -n "$RANLIB"; then
 6580:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6581: else
 6582: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6583: for as_dir in $PATH
 6584: do
 6585:   IFS=$as_save_IFS
 6586:   test -z "$as_dir" && as_dir=.
 6587:     for ac_exec_ext in '' $ac_executable_extensions; do
 6588:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6589:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6590:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6591:     break 2
 6592:   fi
 6593: done
 6594:   done
 6595: IFS=$as_save_IFS
 6596: 
 6597: fi
 6598: fi
 6599: RANLIB=$ac_cv_prog_RANLIB
 6600: if test -n "$RANLIB"; then
 6601:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6602: $as_echo "$RANLIB" >&6; }
 6603: else
 6604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6605: $as_echo "no" >&6; }
 6606: fi
 6607: 
 6608: 
 6609: fi
 6610: if test -z "$ac_cv_prog_RANLIB"; then
 6611:   ac_ct_RANLIB=$RANLIB
 6612:   # Extract the first word of "ranlib", so it can be a program name with args.
 6613: set dummy ranlib; ac_word=$2
 6614: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6615: $as_echo_n "checking for $ac_word... " >&6; }
 6616: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 6617:   $as_echo_n "(cached) " >&6
 6618: else
 6619:   if test -n "$ac_ct_RANLIB"; then
 6620:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6621: else
 6622: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6623: for as_dir in $PATH
 6624: do
 6625:   IFS=$as_save_IFS
 6626:   test -z "$as_dir" && as_dir=.
 6627:     for ac_exec_ext in '' $ac_executable_extensions; do
 6628:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6629:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6630:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6631:     break 2
 6632:   fi
 6633: done
 6634:   done
 6635: IFS=$as_save_IFS
 6636: 
 6637: fi
 6638: fi
 6639: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6640: if test -n "$ac_ct_RANLIB"; then
 6641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6642: $as_echo "$ac_ct_RANLIB" >&6; }
 6643: else
 6644:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6645: $as_echo "no" >&6; }
 6646: fi
 6647: 
 6648:   if test "x$ac_ct_RANLIB" = x; then
 6649:     RANLIB=":"
 6650:   else
 6651:     case $cross_compiling:$ac_tool_warned in
 6652: yes:)
 6653: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6654: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6655: ac_tool_warned=yes ;;
 6656: esac
 6657:     RANLIB=$ac_ct_RANLIB
 6658:   fi
 6659: else
 6660:   RANLIB="$ac_cv_prog_RANLIB"
 6661: fi
 6662: 
 6663: 
 6664: # Extract the first word of "nawk", so it can be a program name with args.
 6665: set dummy nawk; ac_word=$2
 6666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6667: $as_echo_n "checking for $ac_word... " >&6; }
 6668: if ${ac_cv_prog_AWK+:} false; then :
 6669:   $as_echo_n "(cached) " >&6
 6670: else
 6671:   if test -n "$AWK"; then
 6672:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6673: else
 6674: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6675: for as_dir in $PATH
 6676: do
 6677:   IFS=$as_save_IFS
 6678:   test -z "$as_dir" && as_dir=.
 6679:     for ac_exec_ext in '' $ac_executable_extensions; do
 6680:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6681:     ac_cv_prog_AWK="yes"
 6682:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6683:     break 2
 6684:   fi
 6685: done
 6686:   done
 6687: IFS=$as_save_IFS
 6688: 
 6689:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6690: fi
 6691: fi
 6692: AWK=$ac_cv_prog_AWK
 6693: if test -n "$AWK"; then
 6694:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6695: $as_echo "$AWK" >&6; }
 6696: else
 6697:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6698: $as_echo "no" >&6; }
 6699: fi
 6700: 
 6701: 
 6702: if test "$AWK" = no; then
 6703:     # Extract the first word of "gawk", so it can be a program name with args.
 6704: set dummy gawk; ac_word=$2
 6705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6706: $as_echo_n "checking for $ac_word... " >&6; }
 6707: if ${ac_cv_prog_AWK+:} false; then :
 6708:   $as_echo_n "(cached) " >&6
 6709: else
 6710:   if test -n "$AWK"; then
 6711:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6712: else
 6713: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6714: for as_dir in $PATH
 6715: do
 6716:   IFS=$as_save_IFS
 6717:   test -z "$as_dir" && as_dir=.
 6718:     for ac_exec_ext in '' $ac_executable_extensions; do
 6719:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6720:     ac_cv_prog_AWK="yes"
 6721:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6722:     break 2
 6723:   fi
 6724: done
 6725:   done
 6726: IFS=$as_save_IFS
 6727: 
 6728:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6729: fi
 6730: fi
 6731: AWK=$ac_cv_prog_AWK
 6732: if test -n "$AWK"; then
 6733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6734: $as_echo "$AWK" >&6; }
 6735: else
 6736:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6737: $as_echo "no" >&6; }
 6738: fi
 6739: 
 6740: 
 6741:     if test "$AWK" = no; then
 6742:         as_fn_error $? "Can not find nawk !" "$LINENO" 5
 6743:     fi
 6744: fi
 6745: 
 6746: # Extract the first word of "sed", so it can be a program name with args.
 6747: set dummy sed; ac_word=$2
 6748: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6749: $as_echo_n "checking for $ac_word... " >&6; }
 6750: if ${ac_cv_prog_SED+:} false; then :
 6751:   $as_echo_n "(cached) " >&6
 6752: else
 6753:   if test -n "$SED"; then
 6754:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6755: else
 6756: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6757: for as_dir in $PATH
 6758: do
 6759:   IFS=$as_save_IFS
 6760:   test -z "$as_dir" && as_dir=.
 6761:     for ac_exec_ext in '' $ac_executable_extensions; do
 6762:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6763:     ac_cv_prog_SED="yes"
 6764:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6765:     break 2
 6766:   fi
 6767: done
 6768:   done
 6769: IFS=$as_save_IFS
 6770: 
 6771:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6772: fi
 6773: fi
 6774: SED=$ac_cv_prog_SED
 6775: if test -n "$SED"; then
 6776:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6777: $as_echo "$SED" >&6; }
 6778: else
 6779:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6780: $as_echo "no" >&6; }
 6781: fi
 6782: 
 6783: 
 6784: if test "$SED" = no; then
 6785:     as_fn_error $? "Can not find sed !" "$LINENO" 5
 6786: fi
 6787: 
 6788: if test "$TEX_SUPPORT" = guessed; then
 6789:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6790: 
 6791:     # Extract the first word of "tex", so it can be a program name with args.
 6792: set dummy tex; ac_word=$2
 6793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6794: $as_echo_n "checking for $ac_word... " >&6; }
 6795: if ${ac_cv_prog_TEX+:} false; then :
 6796:   $as_echo_n "(cached) " >&6
 6797: else
 6798:   if test -n "$TEX"; then
 6799:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6800: else
 6801: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6802: for as_dir in $PATH
 6803: do
 6804:   IFS=$as_save_IFS
 6805:   test -z "$as_dir" && as_dir=.
 6806:     for ac_exec_ext in '' $ac_executable_extensions; do
 6807:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6808:     ac_cv_prog_TEX="yes"
 6809:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6810:     break 2
 6811:   fi
 6812: done
 6813:   done
 6814: IFS=$as_save_IFS
 6815: 
 6816:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6817: fi
 6818: fi
 6819: TEX=$ac_cv_prog_TEX
 6820: if test -n "$TEX"; then
 6821:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6822: $as_echo "$TEX" >&6; }
 6823: else
 6824:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6825: $as_echo "no" >&6; }
 6826: fi
 6827: 
 6828: 
 6829:     if test "$TEX" = no; then
 6830:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6831: Download at http://tex.loria.fr/
 6832: " >&5
 6833: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6834: Download at http://tex.loria.fr/
 6835: " >&2;}
 6836:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6837:     fi
 6838: 
 6839:     # Extract the first word of "latex", so it can be a program name with args.
 6840: set dummy latex; ac_word=$2
 6841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6842: $as_echo_n "checking for $ac_word... " >&6; }
 6843: if ${ac_cv_prog_LATEX+:} false; then :
 6844:   $as_echo_n "(cached) " >&6
 6845: else
 6846:   if test -n "$LATEX"; then
 6847:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6848: else
 6849: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6850: for as_dir in $PATH
 6851: do
 6852:   IFS=$as_save_IFS
 6853:   test -z "$as_dir" && as_dir=.
 6854:     for ac_exec_ext in '' $ac_executable_extensions; do
 6855:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6856:     ac_cv_prog_LATEX="yes"
 6857:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6858:     break 2
 6859:   fi
 6860: done
 6861:   done
 6862: IFS=$as_save_IFS
 6863: 
 6864:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6865: fi
 6866: fi
 6867: LATEX=$ac_cv_prog_LATEX
 6868: if test -n "$LATEX"; then
 6869:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6870: $as_echo "$LATEX" >&6; }
 6871: else
 6872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6873: $as_echo "no" >&6; }
 6874: fi
 6875: 
 6876: 
 6877:     if test "$LATEX" = no; then
 6878:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6879: Download at http://tex.loria.fr/
 6880: " >&5
 6881: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6882: Download at http://tex.loria.fr/
 6883: " >&2;}
 6884:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6885:     fi
 6886: 
 6887:     # Extract the first word of "dvips", so it can be a program name with args.
 6888: set dummy dvips; ac_word=$2
 6889: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6890: $as_echo_n "checking for $ac_word... " >&6; }
 6891: if ${ac_cv_prog_DVIPS+:} false; then :
 6892:   $as_echo_n "(cached) " >&6
 6893: else
 6894:   if test -n "$DVIPS"; then
 6895:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6896: else
 6897: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6898: for as_dir in $PATH
 6899: do
 6900:   IFS=$as_save_IFS
 6901:   test -z "$as_dir" && as_dir=.
 6902:     for ac_exec_ext in '' $ac_executable_extensions; do
 6903:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6904:     ac_cv_prog_DVIPS="yes"
 6905:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6906:     break 2
 6907:   fi
 6908: done
 6909:   done
 6910: IFS=$as_save_IFS
 6911: 
 6912:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6913: fi
 6914: fi
 6915: DVIPS=$ac_cv_prog_DVIPS
 6916: if test -n "$DVIPS"; then
 6917:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6918: $as_echo "$DVIPS" >&6; }
 6919: else
 6920:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6921: $as_echo "no" >&6; }
 6922: fi
 6923: 
 6924: 
 6925:     if test "$DVIPS" = no; then
 6926:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6927: Download at http://tex.loria.fr/
 6928: " >&5
 6929: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6930: Download at http://tex.loria.fr/
 6931: " >&2;}
 6932:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6933:     fi
 6934: 
 6935:     # Extract the first word of "gs", so it can be a program name with args.
 6936: set dummy gs; ac_word=$2
 6937: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6938: $as_echo_n "checking for $ac_word... " >&6; }
 6939: if ${ac_cv_prog_GS+:} false; then :
 6940:   $as_echo_n "(cached) " >&6
 6941: else
 6942:   if test -n "$GS"; then
 6943:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6944: else
 6945: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6946: for as_dir in $PATH
 6947: do
 6948:   IFS=$as_save_IFS
 6949:   test -z "$as_dir" && as_dir=.
 6950:     for ac_exec_ext in '' $ac_executable_extensions; do
 6951:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6952:     ac_cv_prog_GS="yes"
 6953:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6954:     break 2
 6955:   fi
 6956: done
 6957:   done
 6958: IFS=$as_save_IFS
 6959: 
 6960:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6961: fi
 6962: fi
 6963: GS=$ac_cv_prog_GS
 6964: if test -n "$GS"; then
 6965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6966: $as_echo "$GS" >&6; }
 6967: else
 6968:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6969: $as_echo "no" >&6; }
 6970: fi
 6971: 
 6972: 
 6973:     if test "$GS" = no; then
 6974:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6975: Download at http://ftp.lip6.fr/
 6976: " >&5
 6977: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6978: Download at http://ftp.lip6.fr/
 6979: " >&2;}
 6980:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6981:     fi
 6982: 
 6983:     # Extract the first word of "gv", so it can be a program name with args.
 6984: set dummy gv; ac_word=$2
 6985: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6986: $as_echo_n "checking for $ac_word... " >&6; }
 6987: if ${ac_cv_prog_GV+:} false; then :
 6988:   $as_echo_n "(cached) " >&6
 6989: else
 6990:   if test -n "$GV"; then
 6991:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6992: else
 6993: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6994: for as_dir in $PATH
 6995: do
 6996:   IFS=$as_save_IFS
 6997:   test -z "$as_dir" && as_dir=.
 6998:     for ac_exec_ext in '' $ac_executable_extensions; do
 6999:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7000:     ac_cv_prog_GV="yes"
 7001:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7002:     break 2
 7003:   fi
 7004: done
 7005:   done
 7006: IFS=$as_save_IFS
 7007: 
 7008:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 7009: fi
 7010: fi
 7011: GV=$ac_cv_prog_GV
 7012: if test -n "$GV"; then
 7013:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 7014: $as_echo "$GV" >&6; }
 7015: else
 7016:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7017: $as_echo "no" >&6; }
 7018: fi
 7019: 
 7020: 
 7021:     if test "$GV" = no; then
 7022:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 7023: Download at http://ftp.lip6.fr/
 7024: " >&5
 7025: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 7026: Download at http://ftp.lip6.fr/
 7027: " >&2;}
 7028:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7029:     fi
 7030: else
 7031:     if test "$TEX_SUPPORT" = no; then
 7032:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 7033:     else
 7034:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 7035:     fi
 7036: fi
 7037: 
 7038: if test "$GNUPLOT_SUPPORT" = guessed; then
 7039:     # Extract the first word of "gnuplot", so it can be a program name with args.
 7040: set dummy gnuplot; ac_word=$2
 7041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7042: $as_echo_n "checking for $ac_word... " >&6; }
 7043: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
 7044:   $as_echo_n "(cached) " >&6
 7045: else
 7046:   if test -n "$GNUPLOT_P"; then
 7047:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 7048: else
 7049: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7050: for as_dir in $PATH
 7051: do
 7052:   IFS=$as_save_IFS
 7053:   test -z "$as_dir" && as_dir=.
 7054:     for ac_exec_ext in '' $ac_executable_extensions; do
 7055:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7056:     ac_cv_prog_GNUPLOT_P="yes"
 7057:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7058:     break 2
 7059:   fi
 7060: done
 7061:   done
 7062: IFS=$as_save_IFS
 7063: 
 7064:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 7065: fi
 7066: fi
 7067: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 7068: if test -n "$GNUPLOT_P"; then
 7069:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 7070: $as_echo "$GNUPLOT_P" >&6; }
 7071: else
 7072:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7073: $as_echo "no" >&6; }
 7074: fi
 7075: 
 7076: 
 7077:     if test "$GNUPLOT_P" = no; then
 7078:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 7079: Download at http://www.gnuplot.vt.edu/
 7080: " >&5
 7081: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 7082: Download at http://www.gnuplot.vt.edu/
 7083: " >&2;}
 7084:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 7085:     else
 7086:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 7087:     fi
 7088: else
 7089:     if test "$GNUPLOT_SUPPORT" = no; then
 7090:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 7091:     else
 7092:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 7093:     fi
 7094: fi
 7095: 
 7096: if test "$VIM_SUPPORT" = guessed; then
 7097:     # Extract the first word of "vim", so it can be a program name with args.
 7098: set dummy vim; ac_word=$2
 7099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7100: $as_echo_n "checking for $ac_word... " >&6; }
 7101: if ${ac_cv_prog_VIM+:} false; then :
 7102:   $as_echo_n "(cached) " >&6
 7103: else
 7104:   if test -n "$VIM"; then
 7105:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 7106: else
 7107: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7108: for as_dir in $PATH
 7109: do
 7110:   IFS=$as_save_IFS
 7111:   test -z "$as_dir" && as_dir=.
 7112:     for ac_exec_ext in '' $ac_executable_extensions; do
 7113:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 7114:     ac_cv_prog_VIM="yes"
 7115:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7116:     break 2
 7117:   fi
 7118: done
 7119:   done
 7120: IFS=$as_save_IFS
 7121: 
 7122:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 7123: fi
 7124: fi
 7125: VIM=$ac_cv_prog_VIM
 7126: if test -n "$VIM"; then
 7127:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 7128: $as_echo "$VIM" >&6; }
 7129: else
 7130:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7131: $as_echo "no" >&6; }
 7132: fi
 7133: 
 7134: 
 7135:     if test "$VIM" = no; then
 7136:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 7137: Download at http://www.vim.org/
 7138: " >&5
 7139: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 7140: Download at http://www.vim.org/
 7141: " >&2;}
 7142:         VIM_SUPPORT="-UVIM_SUPPORT"
 7143:     else
 7144:         VIM_SUPPORT="-DVIM_SUPPORT"
 7145:     fi
 7146: else
 7147:     if test "$VIM_SUPPORT" = no; then
 7148:         VIM_SUPPORT="-UVIM_SUPPORT"
 7149:     else
 7150:         VIM_SUPPORT="-DVIM_SUPPORT"
 7151:     fi
 7152: fi
 7153: 
 7154: 
 7155: 
 7156: 
 7157: 
 7158: 
 7159: 
 7160: 
 7161: 
 7162: 
 7163: 
 7164: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 7165: 
 7166: 
 7167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 7168: $as_echo_n "checking for main in -lm... " >&6; }
 7169: if ${ac_cv_lib_m_main+:} false; then :
 7170:   $as_echo_n "(cached) " >&6
 7171: else
 7172:   ac_check_lib_save_LIBS=$LIBS
 7173: LIBS="-lm  $LIBS"
 7174: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7175: /* end confdefs.h.  */
 7176: 
 7177: 
 7178: int
 7179: main ()
 7180: {
 7181: return main ();
 7182:   ;
 7183:   return 0;
 7184: }
 7185: _ACEOF
 7186: if ac_fn_c_try_link "$LINENO"; then :
 7187:   ac_cv_lib_m_main=yes
 7188: else
 7189:   ac_cv_lib_m_main=no
 7190: fi
 7191: rm -f core conftest.err conftest.$ac_objext \
 7192:     conftest$ac_exeext conftest.$ac_ext
 7193: LIBS=$ac_check_lib_save_LIBS
 7194: fi
 7195: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 7196: $as_echo "$ac_cv_lib_m_main" >&6; }
 7197: if test "x$ac_cv_lib_m_main" = xyes; then :
 7198:   cat >>confdefs.h <<_ACEOF
 7199: #define HAVE_LIBM 1
 7200: _ACEOF
 7201: 
 7202:   LIBS="-lm $LIBS"
 7203: 
 7204: else
 7205:   as_fn_error $? "Can not find libm !" "$LINENO" 5
 7206: fi
 7207: 
 7208: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5
 7209: $as_echo_n "checking for pthread_mutex_init in -lc... " >&6; }
 7210: if ${ac_cv_lib_c_pthread_mutex_init+:} false; then :
 7211:   $as_echo_n "(cached) " >&6
 7212: else
 7213:   ac_check_lib_save_LIBS=$LIBS
 7214: LIBS="-lc  $LIBS"
 7215: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7216: /* end confdefs.h.  */
 7217: 
 7218: /* Override any GCC internal prototype to avoid an error.
 7219:    Use char because int might match the return type of a GCC
 7220:    builtin and then its argument prototype would still apply.  */
 7221: #ifdef __cplusplus
 7222: extern "C"
 7223: #endif
 7224: char pthread_mutex_init ();
 7225: int
 7226: main ()
 7227: {
 7228: return pthread_mutex_init ();
 7229:   ;
 7230:   return 0;
 7231: }
 7232: _ACEOF
 7233: if ac_fn_c_try_link "$LINENO"; then :
 7234:   ac_cv_lib_c_pthread_mutex_init=yes
 7235: else
 7236:   ac_cv_lib_c_pthread_mutex_init=no
 7237: fi
 7238: rm -f core conftest.err conftest.$ac_objext \
 7239:     conftest$ac_exeext conftest.$ac_ext
 7240: LIBS=$ac_check_lib_save_LIBS
 7241: fi
 7242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5
 7243: $as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; }
 7244: if test "x$ac_cv_lib_c_pthread_mutex_init" = xyes; then :
 7245:   cat >>confdefs.h <<_ACEOF
 7246: #define HAVE_LIBC 1
 7247: _ACEOF
 7248: 
 7249:   LIBS="-lc $LIBS"
 7250: 
 7251: else
 7252:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 7253: $as_echo_n "checking for main in -lpthread... " >&6; }
 7254: if ${ac_cv_lib_pthread_main+:} false; then :
 7255:   $as_echo_n "(cached) " >&6
 7256: else
 7257:   ac_check_lib_save_LIBS=$LIBS
 7258: LIBS="-lpthread  $LIBS"
 7259: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7260: /* end confdefs.h.  */
 7261: 
 7262: 
 7263: int
 7264: main ()
 7265: {
 7266: return main ();
 7267:   ;
 7268:   return 0;
 7269: }
 7270: _ACEOF
 7271: if ac_fn_c_try_link "$LINENO"; then :
 7272:   ac_cv_lib_pthread_main=yes
 7273: else
 7274:   ac_cv_lib_pthread_main=no
 7275: fi
 7276: rm -f core conftest.err conftest.$ac_objext \
 7277:     conftest$ac_exeext conftest.$ac_ext
 7278: LIBS=$ac_check_lib_save_LIBS
 7279: fi
 7280: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 7281: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 7282: if test "x$ac_cv_lib_pthread_main" = xyes; then :
 7283:   cat >>confdefs.h <<_ACEOF
 7284: #define HAVE_LIBPTHREAD 1
 7285: _ACEOF
 7286: 
 7287:   LIBS="-lpthread $LIBS"
 7288: 
 7289: else
 7290:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
 7291: fi
 7292: 
 7293: fi
 7294: 
 7295: 
 7296: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 7297: #include <sys/sem.h>
 7298: 
 7299: "
 7300: if test "x$ac_cv_type_union_semun" = xyes; then :
 7301:   SEMUN=-DUNION_SEMUN
 7302: else
 7303:   SEMUN=-UUNION_SEMUN
 7304: fi
 7305: 
 7306: 
 7307: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
 7308: #include <sys/types.h>
 7309: #include <netinet/in.h>
 7310: 
 7311: "
 7312: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
 7313:   IPV6=-DIPV6
 7314: else
 7315:   IPV6=-UIPV6
 7316: fi
 7317: 
 7318: 
 7319: if test "$CYGWIN" != yes; then
 7320:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 7321: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 7322: if ${ac_cv_lib_dl_dlopen+:} false; then :
 7323:   $as_echo_n "(cached) " >&6
 7324: else
 7325:   ac_check_lib_save_LIBS=$LIBS
 7326: LIBS="-ldl  $LIBS"
 7327: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7328: /* end confdefs.h.  */
 7329: 
 7330: /* Override any GCC internal prototype to avoid an error.
 7331:    Use char because int might match the return type of a GCC
 7332:    builtin and then its argument prototype would still apply.  */
 7333: #ifdef __cplusplus
 7334: extern "C"
 7335: #endif
 7336: char dlopen ();
 7337: int
 7338: main ()
 7339: {
 7340: return dlopen ();
 7341:   ;
 7342:   return 0;
 7343: }
 7344: _ACEOF
 7345: if ac_fn_c_try_link "$LINENO"; then :
 7346:   ac_cv_lib_dl_dlopen=yes
 7347: else
 7348:   ac_cv_lib_dl_dlopen=no
 7349: fi
 7350: rm -f core conftest.err conftest.$ac_objext \
 7351:     conftest$ac_exeext conftest.$ac_ext
 7352: LIBS=$ac_check_lib_save_LIBS
 7353: fi
 7354: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 7355: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 7356: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 7357:   LIBS="$LIBS -ldl"
 7358: else
 7359:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 7360: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7361: fi
 7362: 
 7363: fi
 7364: 
 7365: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 7366: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 7367: if ${ac_cv_lib_rt_nanosleep+:} false; then :
 7368:   $as_echo_n "(cached) " >&6
 7369: else
 7370:   ac_check_lib_save_LIBS=$LIBS
 7371: LIBS="-lrt  $LIBS"
 7372: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7373: /* end confdefs.h.  */
 7374: 
 7375: /* Override any GCC internal prototype to avoid an error.
 7376:    Use char because int might match the return type of a GCC
 7377:    builtin and then its argument prototype would still apply.  */
 7378: #ifdef __cplusplus
 7379: extern "C"
 7380: #endif
 7381: char nanosleep ();
 7382: int
 7383: main ()
 7384: {
 7385: return nanosleep ();
 7386:   ;
 7387:   return 0;
 7388: }
 7389: _ACEOF
 7390: if ac_fn_c_try_link "$LINENO"; then :
 7391:   ac_cv_lib_rt_nanosleep=yes
 7392: else
 7393:   ac_cv_lib_rt_nanosleep=no
 7394: fi
 7395: rm -f core conftest.err conftest.$ac_objext \
 7396:     conftest$ac_exeext conftest.$ac_ext
 7397: LIBS=$ac_check_lib_save_LIBS
 7398: fi
 7399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7400: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7401: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
 7402:   LIBS="$LIBS -lrt"
 7403: else
 7404:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7405: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7406: fi
 7407: 
 7408: 
 7409: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7410: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7411: if ${ac_cv_lib_socket_bind+:} false; then :
 7412:   $as_echo_n "(cached) " >&6
 7413: else
 7414:   ac_check_lib_save_LIBS=$LIBS
 7415: LIBS="-lsocket  $LIBS"
 7416: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7417: /* end confdefs.h.  */
 7418: 
 7419: /* Override any GCC internal prototype to avoid an error.
 7420:    Use char because int might match the return type of a GCC
 7421:    builtin and then its argument prototype would still apply.  */
 7422: #ifdef __cplusplus
 7423: extern "C"
 7424: #endif
 7425: char bind ();
 7426: int
 7427: main ()
 7428: {
 7429: return bind ();
 7430:   ;
 7431:   return 0;
 7432: }
 7433: _ACEOF
 7434: if ac_fn_c_try_link "$LINENO"; then :
 7435:   ac_cv_lib_socket_bind=yes
 7436: else
 7437:   ac_cv_lib_socket_bind=no
 7438: fi
 7439: rm -f core conftest.err conftest.$ac_objext \
 7440:     conftest$ac_exeext conftest.$ac_ext
 7441: LIBS=$ac_check_lib_save_LIBS
 7442: fi
 7443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7444: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7445: if test "x$ac_cv_lib_socket_bind" = xyes; then :
 7446:   LIBS="$LIBS -lsocket"
 7447: else
 7448:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7449: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7450: fi
 7451: 
 7452: 
 7453: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7454: 
 7455: # Check whether --with-mysql was given.
 7456: if test "${with_mysql+set}" = set; then :
 7457:   withval=$with_mysql;
 7458: else
 7459:   with_mysql=check
 7460: fi
 7461: 
 7462: 
 7463: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7464:     libMySQLinc="-I/usr/include"
 7465:     libMySQLlib="/usr/lib"
 7466: 
 7467:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7468: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7469:     saved_CFLAGS="$CFLAGS"
 7470:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7471:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7472: /* end confdefs.h.  */
 7473: #include "mysql.h"
 7474: int
 7475: main ()
 7476: {
 7477: 
 7478:   ;
 7479:   return 0;
 7480: }
 7481: _ACEOF
 7482: if ac_fn_c_try_compile "$LINENO"; then :
 7483:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7484: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7485:                     libMySQLinc=$libMySQLinc/mysql
 7486: else
 7487:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7488: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7489: fi
 7490: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7491:     CFLAGS=$saved_CFLAGS
 7492: 
 7493:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7494:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7495: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7496:         saved_CFLAGS="$CFLAGS"
 7497:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7498:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7499: /* end confdefs.h.  */
 7500: #include "mysql.h"
 7501: int
 7502: main ()
 7503: {
 7504: 
 7505:   ;
 7506:   return 0;
 7507: }
 7508: _ACEOF
 7509: if ac_fn_c_try_compile "$LINENO"; then :
 7510:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7511: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7512:                         libMySQLinc=$libMySQLinc
 7513: else
 7514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7515: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7516: fi
 7517: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7518:         CFLAGS=$saved_CFLAGS
 7519:         libMySQLinc=$libMySQLinc/mysql
 7520:     fi
 7521: 
 7522:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7523:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7524: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7525:         saved_CFLAGS="$CFLAGS"
 7526:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7527:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7528: /* end confdefs.h.  */
 7529: #include "mysql.h"
 7530: int
 7531: main ()
 7532: {
 7533: 
 7534:   ;
 7535:   return 0;
 7536: }
 7537: _ACEOF
 7538: if ac_fn_c_try_compile "$LINENO"; then :
 7539:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7540: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7541:                         libMySQLinc=$libMySQLinc/mysql
 7542: else
 7543:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7544: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7545: fi
 7546: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7547:         CFLAGS=$saved_CFLAGS
 7548:         libMySQLinc=$libMySQLinc/../local/include
 7549:         libMySQLlib=$libMySQLlib/../local/lib
 7550:     fi
 7551: 
 7552:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7553:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7554: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7555:         saved_CFLAGS="$CFLAGS"
 7556:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7557:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7558: /* end confdefs.h.  */
 7559: #include "mysql.h"
 7560: int
 7561: main ()
 7562: {
 7563: 
 7564:   ;
 7565:   return 0;
 7566: }
 7567: _ACEOF
 7568: if ac_fn_c_try_compile "$LINENO"; then :
 7569:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7570: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7571:                         libMySQLinc=$libMySQLinc/mysql
 7572: else
 7573:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7574: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7575: fi
 7576: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7577:         CFLAGS=$saved_CFLAGS
 7578:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7579:         libMySQLlib=$libMySQLlib/../local/lib
 7580:     fi
 7581: else
 7582:     if test "x$with_mysql" != xno; then
 7583:         libMySQLinc="-I$with_mysql/include"
 7584:         libMySQLlib="$with_mysql/lib"
 7585: 
 7586:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7587: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7588:         saved_CFLAGS="$CFLAGS"
 7589:         CFLAGS="$CFLAGS $libMySQLinc"
 7590:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7591: /* end confdefs.h.  */
 7592: #include "mysql.h"
 7593: int
 7594: main ()
 7595: {
 7596: 
 7597:   ;
 7598:   return 0;
 7599: }
 7600: _ACEOF
 7601: if ac_fn_c_try_compile "$LINENO"; then :
 7602:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7603: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7604:                         libMySQLinc=$libMySQLinc/mysql
 7605: else
 7606:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7607: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7608: fi
 7609: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7610:         CFLAGS=$saved_CFLAGS
 7611: 
 7612:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7613:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7614: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7615:             saved_CFLAGS="$CFLAGS"
 7616:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7617:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7618: /* end confdefs.h.  */
 7619: #include "mysql.h"
 7620: int
 7621: main ()
 7622: {
 7623: 
 7624:   ;
 7625:   return 0;
 7626: }
 7627: _ACEOF
 7628: if ac_fn_c_try_compile "$LINENO"; then :
 7629:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7630: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7631:                             libMySQLinc=$libMySQLinc
 7632: else
 7633:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7634: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7635: fi
 7636: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7637:             CFLAGS=$saved_CFLAGS
 7638:             libMySQLinc=$libMySQLinc/mysql
 7639:         fi
 7640:     else
 7641:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7642:     fi
 7643: fi
 7644: 
 7645: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7646:     MYSQL_LIB=no
 7647: 
 7648:     if test $MYSQL_LIB = no; then
 7649:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7650: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7651:         saved_LIBS="$LIBS"
 7652:         if test $STATIC = no; then
 7653:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7654:         else
 7655:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7656:         fi
 7657:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7658: /* end confdefs.h.  */
 7659: #include "mysql.h"
 7660: int
 7661: main ()
 7662: {
 7663: MYSQL mysql; mysql_init(&mysql);
 7664:   ;
 7665:   return 0;
 7666: }
 7667: _ACEOF
 7668: if ac_fn_c_try_link "$LINENO"; then :
 7669:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7670: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7671: else
 7672:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7673: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7674: fi
 7675: rm -f core conftest.err conftest.$ac_objext \
 7676:     conftest$ac_exeext conftest.$ac_ext
 7677:         LIBS=$saved_LIBS;
 7678:         if test $STATIC = no; then
 7679:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7680:         else
 7681:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7682:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7683:         fi
 7684:     fi
 7685: 
 7686:     if test $MYSQL_LIB = no; then
 7687:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7688:     fi
 7689: fi
 7690: 
 7691: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7692:     libMySQLinc=
 7693:     libMySQLlib=
 7694: fi
 7695: 
 7696: 
 7697: 
 7698: 
 7699: 
 7700: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7701: 
 7702: # Check whether --with-postgresql was given.
 7703: if test "${with_postgresql+set}" = set; then :
 7704:   withval=$with_postgresql;
 7705: else
 7706:   with_postgresql=check
 7707: fi
 7708: 
 7709: 
 7710: # with_postgresql : check [pas défini], yes [uniquement --with],
 7711: # no [--without], valeur [--with=valeur].
 7712: 
 7713: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7714:     libPgSQLinc="-I/usr/include"
 7715:     libPgSQLlib="/usr/lib"
 7716: 
 7717:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7718: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7719:     saved_CFLAGS="$CFLAGS"
 7720:     CFLAGS="$CFLAGS $libPgSQLinc"
 7721:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7722: /* end confdefs.h.  */
 7723: #include "libpq-fe.h"
 7724: int
 7725: main ()
 7726: {
 7727: 
 7728:   ;
 7729:   return 0;
 7730: }
 7731: _ACEOF
 7732: if ac_fn_c_try_compile "$LINENO"; then :
 7733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7734: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7735: else
 7736:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7737: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7738: fi
 7739: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7740:     CFLAGS=$saved_CFLAGS
 7741: 
 7742:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7743:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7744: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7745:         saved_CFLAGS="$CFLAGS"
 7746:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7747:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7748: /* end confdefs.h.  */
 7749: #include "libpq-fe.h"
 7750: int
 7751: main ()
 7752: {
 7753: 
 7754:   ;
 7755:   return 0;
 7756: }
 7757: _ACEOF
 7758: if ac_fn_c_try_compile "$LINENO"; then :
 7759:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7760: $as_echo "yes" >&6; };
 7761:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7762: else
 7763:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7764: $as_echo "no" >&6; };
 7765:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7766: fi
 7767: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7768:         CFLAGS=$saved_CFLAGS
 7769:         libPgSQLinc=$libPgSQLinc/postgresql
 7770:     fi
 7771: 
 7772:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7773:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7774: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7775:         saved_CFLAGS="$CFLAGS"
 7776:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7777:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7778: /* end confdefs.h.  */
 7779: #include "libpq-fe.h"
 7780: int
 7781: main ()
 7782: {
 7783: 
 7784:   ;
 7785:   return 0;
 7786: }
 7787: _ACEOF
 7788: if ac_fn_c_try_compile "$LINENO"; then :
 7789:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7790: $as_echo "yes" >&6; };
 7791:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7792: else
 7793:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7794: $as_echo "no" >&6; };
 7795:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7796: fi
 7797: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7798:         CFLAGS=$saved_CFLAGS
 7799:         libPgSQLinc=$libPgSQLinc/pgsql
 7800:     fi
 7801: 
 7802:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7803:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7804: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7805:         saved_CFLAGS="$CFLAGS"
 7806:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7807:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7808: /* end confdefs.h.  */
 7809: #include "libpq-fe.h"
 7810: int
 7811: main ()
 7812: {
 7813: 
 7814:   ;
 7815:   return 0;
 7816: }
 7817: _ACEOF
 7818: if ac_fn_c_try_compile "$LINENO"; then :
 7819:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7820: $as_echo "yes" >&6; };
 7821:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7822: else
 7823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7824: $as_echo "no" >&6; };
 7825:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7826: fi
 7827: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7828:         CFLAGS=$saved_CFLAGS
 7829:         libPgSQLinc=$libPgSQLinc/../local/include
 7830:         libPgSQLlib=$libPgSQLlib/../local/lib
 7831:     fi
 7832: 
 7833:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7834:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7835: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7836:         saved_CFLAGS="$CFLAGS"
 7837:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7838:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7839: /* end confdefs.h.  */
 7840: #include "libpq-fe.h"
 7841: int
 7842: main ()
 7843: {
 7844: 
 7845:   ;
 7846:   return 0;
 7847: }
 7848: _ACEOF
 7849: if ac_fn_c_try_compile "$LINENO"; then :
 7850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7851: $as_echo "yes" >&6; };
 7852:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7853: else
 7854:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7855: $as_echo "no" >&6; };
 7856:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7857: fi
 7858: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7859:         CFLAGS=$saved_CFLAGS
 7860:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7861:         libPgSQLlib=$libPgSQLlib/../local/lib
 7862:     fi
 7863: 
 7864:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7865:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7866: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7867:         saved_CFLAGS="$CFLAGS"
 7868:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7869:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7870: /* end confdefs.h.  */
 7871: #include "libpq-fe.h"
 7872: int
 7873: main ()
 7874: {
 7875: 
 7876:   ;
 7877:   return 0;
 7878: }
 7879: _ACEOF
 7880: if ac_fn_c_try_compile "$LINENO"; then :
 7881:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7882: $as_echo "yes" >&6; };
 7883:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7884: else
 7885:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7886: $as_echo "no" >&6; };
 7887:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7888: fi
 7889: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7890:         CFLAGS=$saved_CFLAGS
 7891:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7892:         libPgSQLlib=$libPgSQLlib/../local/lib
 7893:     fi
 7894: else
 7895:     if test "x$with_postgresql" != xno; then
 7896:         libPgSQLinc="-I$with_postgresql/include"
 7897:         libPgSQLlib="$with_postgresql/lib"
 7898: 
 7899:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7900: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7901:         saved_CFLAGS="$CFLAGS"
 7902:         CFLAGS="$CFLAGS $libPgSQLinc"
 7903:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7904: /* end confdefs.h.  */
 7905: #include "libpq-fe.h"
 7906: int
 7907: main ()
 7908: {
 7909: 
 7910:   ;
 7911:   return 0;
 7912: }
 7913: _ACEOF
 7914: if ac_fn_c_try_compile "$LINENO"; then :
 7915:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7916: $as_echo "yes" >&6; };
 7917:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7918: else
 7919:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7920: $as_echo "no" >&6; };
 7921:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7922: fi
 7923: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7924:         CFLAGS=$saved_CFLAGS
 7925: 
 7926:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7927:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7928: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7929:             saved_CFLAGS="$CFLAGS"
 7930:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7931:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7932: /* end confdefs.h.  */
 7933: #include "libpq-fe.h"
 7934: int
 7935: main ()
 7936: {
 7937: 
 7938:   ;
 7939:   return 0;
 7940: }
 7941: _ACEOF
 7942: if ac_fn_c_try_compile "$LINENO"; then :
 7943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7944: $as_echo "yes" >&6; };
 7945:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7946: else
 7947:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7948: $as_echo "no" >&6; };
 7949:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7950: fi
 7951: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7952:             CFLAGS=$saved_CFLAGS
 7953:             libPgSQLinc=$libPgSQLinc/postgresql
 7954:         fi
 7955: 
 7956:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7957:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7958: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7959:             saved_CFLAGS="$CFLAGS"
 7960:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7961:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7962: /* end confdefs.h.  */
 7963: #include "libpq-fe.h"
 7964: int
 7965: main ()
 7966: {
 7967: 
 7968:   ;
 7969:   return 0;
 7970: }
 7971: _ACEOF
 7972: if ac_fn_c_try_compile "$LINENO"; then :
 7973:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7974: $as_echo "yes" >&6; };
 7975:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7976: else
 7977:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7978: $as_echo "no" >&6; };
 7979:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7980: fi
 7981: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7982:             CFLAGS=$saved_CFLAGS
 7983:             libPgSQLinc=$libPgSQLinc/pgsql
 7984:         fi
 7985:     else
 7986:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7987:     fi
 7988: fi
 7989: 
 7990: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7991:     POSTGRESQL_LIB=no
 7992: 
 7993:     if test $POSTGRESQL_LIB = no; then
 7994:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7995: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7996:         saved_LIBS="$LIBS"
 7997:         if test $STATIC = no; then
 7998:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7999:         else
 8000:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 8001:         fi
 8002:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8003: /* end confdefs.h.  */
 8004: #include "libpq-fe.h"
 8005: int
 8006: main ()
 8007: {
 8008: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 8009:              PQconnectdb(conninfo);
 8010:   ;
 8011:   return 0;
 8012: }
 8013: _ACEOF
 8014: if ac_fn_c_try_link "$LINENO"; then :
 8015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 8016: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 8017: else
 8018:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8019: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 8020: fi
 8021: rm -f core conftest.err conftest.$ac_objext \
 8022:     conftest$ac_exeext conftest.$ac_ext
 8023:         LIBS=$saved_LIBS;
 8024:         if test $STATIC = no; then
 8025:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 8026:         else
 8027:             libPgSQLlib="$libPgSQLlib/libpq.a"
 8028:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 8029:         fi
 8030:     fi
 8031: fi
 8032: 
 8033: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 8034:     libPgSQLinc=
 8035:     libPgSQLlib=
 8036: fi
 8037: 
 8038: 
 8039: 
 8040: 
 8041: 
 8042: # with_postgresql : check [pas défini], yes [uniquement --with],
 8043: # no [--without], valeur [--with=valeur].
 8044: 
 8045: # Check whether --with-bourne_shell was given.
 8046: if test "${with_bourne_shell+set}" = set; then :
 8047:   withval=$with_bourne_shell;
 8048: else
 8049:   with_bourne_shell=no
 8050: fi
 8051: 
 8052: 
 8053: if test "x$with_bourne_shell" = xyes; then
 8054:     as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
 8055: fi
 8056: 
 8057: if test "x$with_bourne_shell" = xno; then
 8058:     if test $(uname) = "OS/2"; then
 8059:         as_fn_error $? "With OS/2 or eComstation, you have to specify a valide
 8060: shell path with --with-bourne-shell=PATH !" "$LINENO" 5
 8061:     fi
 8062: 
 8063:     BSH_PATH=
 8064: else
 8065:     if test ! -x $with_bourne_shell; then
 8066:         as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
 8067:     fi
 8068: 
 8069:     if test $(uname) = "OS/2"; then
 8070:         with_os2_bourne_shell=$(echo $with_bourne_shell | \
 8071:                 sed -e '1,$s/\//\\\\\\\\/g')
 8072:         BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
 8073:     else
 8074:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
 8075: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
 8076:         BSH_PATH=
 8077:     fi
 8078: fi
 8079: 
 8080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 8081: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 8082: if ${ac_cv_path_GREP+:} false; then :
 8083:   $as_echo_n "(cached) " >&6
 8084: else
 8085:   if test -z "$GREP"; then
 8086:   ac_path_GREP_found=false
 8087:   # Loop through the user's path and test for each of PROGNAME-LIST
 8088:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8089: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 8090: do
 8091:   IFS=$as_save_IFS
 8092:   test -z "$as_dir" && as_dir=.
 8093:     for ac_prog in grep ggrep; do
 8094:     for ac_exec_ext in '' $ac_executable_extensions; do
 8095:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 8096:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 8097: # Check for GNU ac_path_GREP and select it if it is found.
 8098:   # Check for GNU $ac_path_GREP
 8099: case `"$ac_path_GREP" --version 2>&1` in
 8100: *GNU*)
 8101:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 8102: *)
 8103:   ac_count=0
 8104:   $as_echo_n 0123456789 >"conftest.in"
 8105:   while :
 8106:   do
 8107:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 8108:     mv "conftest.tmp" "conftest.in"
 8109:     cp "conftest.in" "conftest.nl"
 8110:     $as_echo 'GREP' >> "conftest.nl"
 8111:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 8112:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 8113:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 8114:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 8115:       # Best one so far, save it but keep looking for a better one
 8116:       ac_cv_path_GREP="$ac_path_GREP"
 8117:       ac_path_GREP_max=$ac_count
 8118:     fi
 8119:     # 10*(2^10) chars as input seems more than enough
 8120:     test $ac_count -gt 10 && break
 8121:   done
 8122:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 8123: esac
 8124: 
 8125:       $ac_path_GREP_found && break 3
 8126:     done
 8127:   done
 8128:   done
 8129: IFS=$as_save_IFS
 8130:   if test -z "$ac_cv_path_GREP"; then
 8131:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 8132:   fi
 8133: else
 8134:   ac_cv_path_GREP=$GREP
 8135: fi
 8136: 
 8137: fi
 8138: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 8139: $as_echo "$ac_cv_path_GREP" >&6; }
 8140:  GREP="$ac_cv_path_GREP"
 8141: 
 8142: 
 8143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 8144: $as_echo_n "checking for egrep... " >&6; }
 8145: if ${ac_cv_path_EGREP+:} false; then :
 8146:   $as_echo_n "(cached) " >&6
 8147: else
 8148:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 8149:    then ac_cv_path_EGREP="$GREP -E"
 8150:    else
 8151:      if test -z "$EGREP"; then
 8152:   ac_path_EGREP_found=false
 8153:   # Loop through the user's path and test for each of PROGNAME-LIST
 8154:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8155: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 8156: do
 8157:   IFS=$as_save_IFS
 8158:   test -z "$as_dir" && as_dir=.
 8159:     for ac_prog in egrep; do
 8160:     for ac_exec_ext in '' $ac_executable_extensions; do
 8161:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 8162:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 8163: # Check for GNU ac_path_EGREP and select it if it is found.
 8164:   # Check for GNU $ac_path_EGREP
 8165: case `"$ac_path_EGREP" --version 2>&1` in
 8166: *GNU*)
 8167:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 8168: *)
 8169:   ac_count=0
 8170:   $as_echo_n 0123456789 >"conftest.in"
 8171:   while :
 8172:   do
 8173:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 8174:     mv "conftest.tmp" "conftest.in"
 8175:     cp "conftest.in" "conftest.nl"
 8176:     $as_echo 'EGREP' >> "conftest.nl"
 8177:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 8178:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 8179:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 8180:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 8181:       # Best one so far, save it but keep looking for a better one
 8182:       ac_cv_path_EGREP="$ac_path_EGREP"
 8183:       ac_path_EGREP_max=$ac_count
 8184:     fi
 8185:     # 10*(2^10) chars as input seems more than enough
 8186:     test $ac_count -gt 10 && break
 8187:   done
 8188:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 8189: esac
 8190: 
 8191:       $ac_path_EGREP_found && break 3
 8192:     done
 8193:   done
 8194:   done
 8195: IFS=$as_save_IFS
 8196:   if test -z "$ac_cv_path_EGREP"; then
 8197:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 8198:   fi
 8199: else
 8200:   ac_cv_path_EGREP=$EGREP
 8201: fi
 8202: 
 8203:    fi
 8204: fi
 8205: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 8206: $as_echo "$ac_cv_path_EGREP" >&6; }
 8207:  EGREP="$ac_cv_path_EGREP"
 8208: 
 8209: 
 8210: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8211: $as_echo_n "checking for ANSI C header files... " >&6; }
 8212: if ${ac_cv_header_stdc+:} false; then :
 8213:   $as_echo_n "(cached) " >&6
 8214: else
 8215:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8216: /* end confdefs.h.  */
 8217: #include <stdlib.h>
 8218: #include <stdarg.h>
 8219: #include <string.h>
 8220: #include <float.h>
 8221: 
 8222: int
 8223: main ()
 8224: {
 8225: 
 8226:   ;
 8227:   return 0;
 8228: }
 8229: _ACEOF
 8230: if ac_fn_c_try_compile "$LINENO"; then :
 8231:   ac_cv_header_stdc=yes
 8232: else
 8233:   ac_cv_header_stdc=no
 8234: fi
 8235: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8236: 
 8237: if test $ac_cv_header_stdc = yes; then
 8238:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8239:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8240: /* end confdefs.h.  */
 8241: #include <string.h>
 8242: 
 8243: _ACEOF
 8244: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8245:   $EGREP "memchr" >/dev/null 2>&1; then :
 8246: 
 8247: else
 8248:   ac_cv_header_stdc=no
 8249: fi
 8250: rm -f conftest*
 8251: 
 8252: fi
 8253: 
 8254: if test $ac_cv_header_stdc = yes; then
 8255:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8256:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8257: /* end confdefs.h.  */
 8258: #include <stdlib.h>
 8259: 
 8260: _ACEOF
 8261: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8262:   $EGREP "free" >/dev/null 2>&1; then :
 8263: 
 8264: else
 8265:   ac_cv_header_stdc=no
 8266: fi
 8267: rm -f conftest*
 8268: 
 8269: fi
 8270: 
 8271: if test $ac_cv_header_stdc = yes; then
 8272:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8273:   if test "$cross_compiling" = yes; then :
 8274:   :
 8275: else
 8276:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8277: /* end confdefs.h.  */
 8278: #include <ctype.h>
 8279: #include <stdlib.h>
 8280: #if ((' ' & 0x0FF) == 0x020)
 8281: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8282: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8283: #else
 8284: # define ISLOWER(c) \
 8285:            (('a' <= (c) && (c) <= 'i') \
 8286:              || ('j' <= (c) && (c) <= 'r') \
 8287:              || ('s' <= (c) && (c) <= 'z'))
 8288: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8289: #endif
 8290: 
 8291: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8292: int
 8293: main ()
 8294: {
 8295:   int i;
 8296:   for (i = 0; i < 256; i++)
 8297:     if (XOR (islower (i), ISLOWER (i))
 8298:     || toupper (i) != TOUPPER (i))
 8299:       return 2;
 8300:   return 0;
 8301: }
 8302: _ACEOF
 8303: if ac_fn_c_try_run "$LINENO"; then :
 8304: 
 8305: else
 8306:   ac_cv_header_stdc=no
 8307: fi
 8308: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8309:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8310: fi
 8311: 
 8312: fi
 8313: fi
 8314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8315: $as_echo "$ac_cv_header_stdc" >&6; }
 8316: if test $ac_cv_header_stdc = yes; then
 8317: 
 8318: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8319: 
 8320: fi
 8321: 
 8322: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 8323: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 8324:           inttypes.h stdint.h unistd.h
 8325: do :
 8326:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8327: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 8328: "
 8329: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8330:   cat >>confdefs.h <<_ACEOF
 8331: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8332: _ACEOF
 8333: 
 8334: fi
 8335: 
 8336: done
 8337: 
 8338: 
 8339: # The cast to long int works around a bug in the HP C Compiler
 8340: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8341: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8342: # This bug is HP SR number 8606223364.
 8343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 8344: $as_echo_n "checking size of void *... " >&6; }
 8345: if ${ac_cv_sizeof_void_p+:} false; then :
 8346:   $as_echo_n "(cached) " >&6
 8347: else
 8348:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 8349: 
 8350: else
 8351:   if test "$ac_cv_type_void_p" = yes; then
 8352:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8353: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8354: as_fn_error 77 "cannot compute sizeof (void *)
 8355: See \`config.log' for more details" "$LINENO" 5; }
 8356:    else
 8357:      ac_cv_sizeof_void_p=0
 8358:    fi
 8359: fi
 8360: 
 8361: fi
 8362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 8363: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 8364: 
 8365: 
 8366: 
 8367: cat >>confdefs.h <<_ACEOF
 8368: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 8369: _ACEOF
 8370: 
 8371: 
 8372: # The cast to long int works around a bug in the HP C Compiler
 8373: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8374: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8375: # This bug is HP SR number 8606223364.
 8376: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 8377: $as_echo_n "checking size of char... " >&6; }
 8378: if ${ac_cv_sizeof_char+:} false; then :
 8379:   $as_echo_n "(cached) " >&6
 8380: else
 8381:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 8382: 
 8383: else
 8384:   if test "$ac_cv_type_char" = yes; then
 8385:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8386: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8387: as_fn_error 77 "cannot compute sizeof (char)
 8388: See \`config.log' for more details" "$LINENO" 5; }
 8389:    else
 8390:      ac_cv_sizeof_char=0
 8391:    fi
 8392: fi
 8393: 
 8394: fi
 8395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 8396: $as_echo "$ac_cv_sizeof_char" >&6; }
 8397: 
 8398: 
 8399: 
 8400: cat >>confdefs.h <<_ACEOF
 8401: #define SIZEOF_CHAR $ac_cv_sizeof_char
 8402: _ACEOF
 8403: 
 8404: 
 8405: # The cast to long int works around a bug in the HP C Compiler
 8406: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8407: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8408: # This bug is HP SR number 8606223364.
 8409: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 8410: $as_echo_n "checking size of short int... " >&6; }
 8411: if ${ac_cv_sizeof_short_int+:} false; then :
 8412:   $as_echo_n "(cached) " >&6
 8413: else
 8414:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 8415: 
 8416: else
 8417:   if test "$ac_cv_type_short_int" = yes; then
 8418:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8419: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8420: as_fn_error 77 "cannot compute sizeof (short int)
 8421: See \`config.log' for more details" "$LINENO" 5; }
 8422:    else
 8423:      ac_cv_sizeof_short_int=0
 8424:    fi
 8425: fi
 8426: 
 8427: fi
 8428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8429: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8430: 
 8431: 
 8432: 
 8433: cat >>confdefs.h <<_ACEOF
 8434: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8435: _ACEOF
 8436: 
 8437: 
 8438: # The cast to long int works around a bug in the HP C Compiler
 8439: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8440: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8441: # This bug is HP SR number 8606223364.
 8442: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8443: $as_echo_n "checking size of int... " >&6; }
 8444: if ${ac_cv_sizeof_int+:} false; then :
 8445:   $as_echo_n "(cached) " >&6
 8446: else
 8447:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8448: 
 8449: else
 8450:   if test "$ac_cv_type_int" = yes; then
 8451:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8452: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8453: as_fn_error 77 "cannot compute sizeof (int)
 8454: See \`config.log' for more details" "$LINENO" 5; }
 8455:    else
 8456:      ac_cv_sizeof_int=0
 8457:    fi
 8458: fi
 8459: 
 8460: fi
 8461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8462: $as_echo "$ac_cv_sizeof_int" >&6; }
 8463: 
 8464: 
 8465: 
 8466: cat >>confdefs.h <<_ACEOF
 8467: #define SIZEOF_INT $ac_cv_sizeof_int
 8468: _ACEOF
 8469: 
 8470: 
 8471: # The cast to long int works around a bug in the HP C Compiler
 8472: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8473: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8474: # This bug is HP SR number 8606223364.
 8475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8476: $as_echo_n "checking size of long int... " >&6; }
 8477: if ${ac_cv_sizeof_long_int+:} false; then :
 8478:   $as_echo_n "(cached) " >&6
 8479: else
 8480:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8481: 
 8482: else
 8483:   if test "$ac_cv_type_long_int" = yes; then
 8484:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8485: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8486: as_fn_error 77 "cannot compute sizeof (long int)
 8487: See \`config.log' for more details" "$LINENO" 5; }
 8488:    else
 8489:      ac_cv_sizeof_long_int=0
 8490:    fi
 8491: fi
 8492: 
 8493: fi
 8494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8495: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8496: 
 8497: 
 8498: 
 8499: cat >>confdefs.h <<_ACEOF
 8500: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8501: _ACEOF
 8502: 
 8503: 
 8504: # The cast to long int works around a bug in the HP C Compiler
 8505: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8506: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8507: # This bug is HP SR number 8606223364.
 8508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8509: $as_echo_n "checking size of long long int... " >&6; }
 8510: if ${ac_cv_sizeof_long_long_int+:} false; then :
 8511:   $as_echo_n "(cached) " >&6
 8512: else
 8513:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8514: 
 8515: else
 8516:   if test "$ac_cv_type_long_long_int" = yes; then
 8517:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8518: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8519: as_fn_error 77 "cannot compute sizeof (long long int)
 8520: See \`config.log' for more details" "$LINENO" 5; }
 8521:    else
 8522:      ac_cv_sizeof_long_long_int=0
 8523:    fi
 8524: fi
 8525: 
 8526: fi
 8527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8528: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8529: 
 8530: 
 8531: 
 8532: cat >>confdefs.h <<_ACEOF
 8533: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8534: _ACEOF
 8535: 
 8536: 
 8537: # The cast to long int works around a bug in the HP C Compiler
 8538: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8539: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8540: # This bug is HP SR number 8606223364.
 8541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8542: $as_echo_n "checking size of float... " >&6; }
 8543: if ${ac_cv_sizeof_float+:} false; then :
 8544:   $as_echo_n "(cached) " >&6
 8545: else
 8546:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8547: 
 8548: else
 8549:   if test "$ac_cv_type_float" = yes; then
 8550:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8551: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8552: as_fn_error 77 "cannot compute sizeof (float)
 8553: See \`config.log' for more details" "$LINENO" 5; }
 8554:    else
 8555:      ac_cv_sizeof_float=0
 8556:    fi
 8557: fi
 8558: 
 8559: fi
 8560: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8561: $as_echo "$ac_cv_sizeof_float" >&6; }
 8562: 
 8563: 
 8564: 
 8565: cat >>confdefs.h <<_ACEOF
 8566: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8567: _ACEOF
 8568: 
 8569: 
 8570: # The cast to long int works around a bug in the HP C Compiler
 8571: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8572: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8573: # This bug is HP SR number 8606223364.
 8574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8575: $as_echo_n "checking size of double... " >&6; }
 8576: if ${ac_cv_sizeof_double+:} false; then :
 8577:   $as_echo_n "(cached) " >&6
 8578: else
 8579:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8580: 
 8581: else
 8582:   if test "$ac_cv_type_double" = yes; then
 8583:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8584: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8585: as_fn_error 77 "cannot compute sizeof (double)
 8586: See \`config.log' for more details" "$LINENO" 5; }
 8587:    else
 8588:      ac_cv_sizeof_double=0
 8589:    fi
 8590: fi
 8591: 
 8592: fi
 8593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8594: $as_echo "$ac_cv_sizeof_double" >&6; }
 8595: 
 8596: 
 8597: 
 8598: cat >>confdefs.h <<_ACEOF
 8599: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8600: _ACEOF
 8601: 
 8602: 
 8603: # The cast to long int works around a bug in the HP C Compiler
 8604: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8605: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8606: # This bug is HP SR number 8606223364.
 8607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8608: $as_echo_n "checking size of long double... " >&6; }
 8609: if ${ac_cv_sizeof_long_double+:} false; then :
 8610:   $as_echo_n "(cached) " >&6
 8611: else
 8612:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8613: 
 8614: else
 8615:   if test "$ac_cv_type_long_double" = yes; then
 8616:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8617: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8618: as_fn_error 77 "cannot compute sizeof (long double)
 8619: See \`config.log' for more details" "$LINENO" 5; }
 8620:    else
 8621:      ac_cv_sizeof_long_double=0
 8622:    fi
 8623: fi
 8624: 
 8625: fi
 8626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8627: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8628: 
 8629: 
 8630: 
 8631: cat >>confdefs.h <<_ACEOF
 8632: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8633: _ACEOF
 8634: 
 8635: 
 8636: 
 8637: ac_header_dirent=no
 8638: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8639:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8640: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8641: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8642: if eval \${$as_ac_Header+:} false; then :
 8643:   $as_echo_n "(cached) " >&6
 8644: else
 8645:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8646: /* end confdefs.h.  */
 8647: #include <sys/types.h>
 8648: #include <$ac_hdr>
 8649: 
 8650: int
 8651: main ()
 8652: {
 8653: if ((DIR *) 0)
 8654: return 0;
 8655:   ;
 8656:   return 0;
 8657: }
 8658: _ACEOF
 8659: if ac_fn_c_try_compile "$LINENO"; then :
 8660:   eval "$as_ac_Header=yes"
 8661: else
 8662:   eval "$as_ac_Header=no"
 8663: fi
 8664: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8665: fi
 8666: eval ac_res=\$$as_ac_Header
 8667:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8668: $as_echo "$ac_res" >&6; }
 8669: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8670:   cat >>confdefs.h <<_ACEOF
 8671: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8672: _ACEOF
 8673: 
 8674: ac_header_dirent=$ac_hdr; break
 8675: fi
 8676: 
 8677: done
 8678: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8679: if test $ac_header_dirent = dirent.h; then
 8680:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8681: $as_echo_n "checking for library containing opendir... " >&6; }
 8682: if ${ac_cv_search_opendir+:} false; then :
 8683:   $as_echo_n "(cached) " >&6
 8684: else
 8685:   ac_func_search_save_LIBS=$LIBS
 8686: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8687: /* end confdefs.h.  */
 8688: 
 8689: /* Override any GCC internal prototype to avoid an error.
 8690:    Use char because int might match the return type of a GCC
 8691:    builtin and then its argument prototype would still apply.  */
 8692: #ifdef __cplusplus
 8693: extern "C"
 8694: #endif
 8695: char opendir ();
 8696: int
 8697: main ()
 8698: {
 8699: return opendir ();
 8700:   ;
 8701:   return 0;
 8702: }
 8703: _ACEOF
 8704: for ac_lib in '' dir; do
 8705:   if test -z "$ac_lib"; then
 8706:     ac_res="none required"
 8707:   else
 8708:     ac_res=-l$ac_lib
 8709:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8710:   fi
 8711:   if ac_fn_c_try_link "$LINENO"; then :
 8712:   ac_cv_search_opendir=$ac_res
 8713: fi
 8714: rm -f core conftest.err conftest.$ac_objext \
 8715:     conftest$ac_exeext
 8716:   if ${ac_cv_search_opendir+:} false; then :
 8717:   break
 8718: fi
 8719: done
 8720: if ${ac_cv_search_opendir+:} false; then :
 8721: 
 8722: else
 8723:   ac_cv_search_opendir=no
 8724: fi
 8725: rm conftest.$ac_ext
 8726: LIBS=$ac_func_search_save_LIBS
 8727: fi
 8728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8729: $as_echo "$ac_cv_search_opendir" >&6; }
 8730: ac_res=$ac_cv_search_opendir
 8731: if test "$ac_res" != no; then :
 8732:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8733: 
 8734: fi
 8735: 
 8736: else
 8737:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8738: $as_echo_n "checking for library containing opendir... " >&6; }
 8739: if ${ac_cv_search_opendir+:} false; then :
 8740:   $as_echo_n "(cached) " >&6
 8741: else
 8742:   ac_func_search_save_LIBS=$LIBS
 8743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8744: /* end confdefs.h.  */
 8745: 
 8746: /* Override any GCC internal prototype to avoid an error.
 8747:    Use char because int might match the return type of a GCC
 8748:    builtin and then its argument prototype would still apply.  */
 8749: #ifdef __cplusplus
 8750: extern "C"
 8751: #endif
 8752: char opendir ();
 8753: int
 8754: main ()
 8755: {
 8756: return opendir ();
 8757:   ;
 8758:   return 0;
 8759: }
 8760: _ACEOF
 8761: for ac_lib in '' x; do
 8762:   if test -z "$ac_lib"; then
 8763:     ac_res="none required"
 8764:   else
 8765:     ac_res=-l$ac_lib
 8766:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8767:   fi
 8768:   if ac_fn_c_try_link "$LINENO"; then :
 8769:   ac_cv_search_opendir=$ac_res
 8770: fi
 8771: rm -f core conftest.err conftest.$ac_objext \
 8772:     conftest$ac_exeext
 8773:   if ${ac_cv_search_opendir+:} false; then :
 8774:   break
 8775: fi
 8776: done
 8777: if ${ac_cv_search_opendir+:} false; then :
 8778: 
 8779: else
 8780:   ac_cv_search_opendir=no
 8781: fi
 8782: rm conftest.$ac_ext
 8783: LIBS=$ac_func_search_save_LIBS
 8784: fi
 8785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8786: $as_echo "$ac_cv_search_opendir" >&6; }
 8787: ac_res=$ac_cv_search_opendir
 8788: if test "$ac_res" != no; then :
 8789:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8790: 
 8791: fi
 8792: 
 8793: fi
 8794: 
 8795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8796: $as_echo_n "checking for ANSI C header files... " >&6; }
 8797: if ${ac_cv_header_stdc+:} false; then :
 8798:   $as_echo_n "(cached) " >&6
 8799: else
 8800:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8801: /* end confdefs.h.  */
 8802: #include <stdlib.h>
 8803: #include <stdarg.h>
 8804: #include <string.h>
 8805: #include <float.h>
 8806: 
 8807: int
 8808: main ()
 8809: {
 8810: 
 8811:   ;
 8812:   return 0;
 8813: }
 8814: _ACEOF
 8815: if ac_fn_c_try_compile "$LINENO"; then :
 8816:   ac_cv_header_stdc=yes
 8817: else
 8818:   ac_cv_header_stdc=no
 8819: fi
 8820: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8821: 
 8822: if test $ac_cv_header_stdc = yes; then
 8823:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8824:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8825: /* end confdefs.h.  */
 8826: #include <string.h>
 8827: 
 8828: _ACEOF
 8829: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8830:   $EGREP "memchr" >/dev/null 2>&1; then :
 8831: 
 8832: else
 8833:   ac_cv_header_stdc=no
 8834: fi
 8835: rm -f conftest*
 8836: 
 8837: fi
 8838: 
 8839: if test $ac_cv_header_stdc = yes; then
 8840:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8841:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8842: /* end confdefs.h.  */
 8843: #include <stdlib.h>
 8844: 
 8845: _ACEOF
 8846: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8847:   $EGREP "free" >/dev/null 2>&1; then :
 8848: 
 8849: else
 8850:   ac_cv_header_stdc=no
 8851: fi
 8852: rm -f conftest*
 8853: 
 8854: fi
 8855: 
 8856: if test $ac_cv_header_stdc = yes; then
 8857:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8858:   if test "$cross_compiling" = yes; then :
 8859:   :
 8860: else
 8861:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8862: /* end confdefs.h.  */
 8863: #include <ctype.h>
 8864: #include <stdlib.h>
 8865: #if ((' ' & 0x0FF) == 0x020)
 8866: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8867: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8868: #else
 8869: # define ISLOWER(c) \
 8870:            (('a' <= (c) && (c) <= 'i') \
 8871:              || ('j' <= (c) && (c) <= 'r') \
 8872:              || ('s' <= (c) && (c) <= 'z'))
 8873: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8874: #endif
 8875: 
 8876: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8877: int
 8878: main ()
 8879: {
 8880:   int i;
 8881:   for (i = 0; i < 256; i++)
 8882:     if (XOR (islower (i), ISLOWER (i))
 8883:     || toupper (i) != TOUPPER (i))
 8884:       return 2;
 8885:   return 0;
 8886: }
 8887: _ACEOF
 8888: if ac_fn_c_try_run "$LINENO"; then :
 8889: 
 8890: else
 8891:   ac_cv_header_stdc=no
 8892: fi
 8893: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8894:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8895: fi
 8896: 
 8897: fi
 8898: fi
 8899: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8900: $as_echo "$ac_cv_header_stdc" >&6; }
 8901: if test $ac_cv_header_stdc = yes; then
 8902: 
 8903: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8904: 
 8905: fi
 8906: 
 8907: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8908: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8909: if ${ac_cv_header_sys_wait_h+:} false; then :
 8910:   $as_echo_n "(cached) " >&6
 8911: else
 8912:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8913: /* end confdefs.h.  */
 8914: #include <sys/types.h>
 8915: #include <sys/wait.h>
 8916: #ifndef WEXITSTATUS
 8917: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8918: #endif
 8919: #ifndef WIFEXITED
 8920: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8921: #endif
 8922: 
 8923: int
 8924: main ()
 8925: {
 8926:   int s;
 8927:   wait (&s);
 8928:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8929:   ;
 8930:   return 0;
 8931: }
 8932: _ACEOF
 8933: if ac_fn_c_try_compile "$LINENO"; then :
 8934:   ac_cv_header_sys_wait_h=yes
 8935: else
 8936:   ac_cv_header_sys_wait_h=no
 8937: fi
 8938: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8939: fi
 8940: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8941: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8942: if test $ac_cv_header_sys_wait_h = yes; then
 8943: 
 8944: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8945: 
 8946: fi
 8947: 
 8948: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8949:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8950:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8951: do :
 8952:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8953: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8954: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8955:   cat >>confdefs.h <<_ACEOF
 8956: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8957: _ACEOF
 8958: 
 8959: fi
 8960: 
 8961: done
 8962: 
 8963: 
 8964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8965: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8966: if ${ac_cv_c_const+:} false; then :
 8967:   $as_echo_n "(cached) " >&6
 8968: else
 8969:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8970: /* end confdefs.h.  */
 8971: 
 8972: int
 8973: main ()
 8974: {
 8975: /* FIXME: Include the comments suggested by Paul. */
 8976: #ifndef __cplusplus
 8977:   /* Ultrix mips cc rejects this.  */
 8978:   typedef int charset[2];
 8979:   const charset cs;
 8980:   /* SunOS 4.1.1 cc rejects this.  */
 8981:   char const *const *pcpcc;
 8982:   char **ppc;
 8983:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8984:   struct point {int x, y;};
 8985:   static struct point const zero = {0,0};
 8986:   /* AIX XL C 1.02.0.0 rejects this.
 8987:      It does not let you subtract one const X* pointer from another in
 8988:      an arm of an if-expression whose if-part is not a constant
 8989:      expression */
 8990:   const char *g = "string";
 8991:   pcpcc = &g + (g ? g-g : 0);
 8992:   /* HPUX 7.0 cc rejects these. */
 8993:   ++pcpcc;
 8994:   ppc = (char**) pcpcc;
 8995:   pcpcc = (char const *const *) ppc;
 8996:   { /* SCO 3.2v4 cc rejects this.  */
 8997:     char *t;
 8998:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8999: 
 9000:     *t++ = 0;
 9001:     if (s) return 0;
 9002:   }
 9003:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 9004:     int x[] = {25, 17};
 9005:     const int *foo = &x[0];
 9006:     ++foo;
 9007:   }
 9008:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 9009:     typedef const int *iptr;
 9010:     iptr p = 0;
 9011:     ++p;
 9012:   }
 9013:   { /* AIX XL C 1.02.0.0 rejects this saying
 9014:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 9015:     struct s { int j; const int *ap[3]; };
 9016:     struct s *b; b->j = 5;
 9017:   }
 9018:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 9019:     const int foo = 10;
 9020:     if (!foo) return 0;
 9021:   }
 9022:   return !cs[0] && !zero.x;
 9023: #endif
 9024: 
 9025:   ;
 9026:   return 0;
 9027: }
 9028: _ACEOF
 9029: if ac_fn_c_try_compile "$LINENO"; then :
 9030:   ac_cv_c_const=yes
 9031: else
 9032:   ac_cv_c_const=no
 9033: fi
 9034: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9035: fi
 9036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 9037: $as_echo "$ac_cv_c_const" >&6; }
 9038: if test $ac_cv_c_const = no; then
 9039: 
 9040: $as_echo "#define const /**/" >>confdefs.h
 9041: 
 9042: fi
 9043: 
 9044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 9045: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 9046: if ${ac_cv_type_uid_t+:} false; then :
 9047:   $as_echo_n "(cached) " >&6
 9048: else
 9049:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9050: /* end confdefs.h.  */
 9051: #include <sys/types.h>
 9052: 
 9053: _ACEOF
 9054: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 9055:   $EGREP "uid_t" >/dev/null 2>&1; then :
 9056:   ac_cv_type_uid_t=yes
 9057: else
 9058:   ac_cv_type_uid_t=no
 9059: fi
 9060: rm -f conftest*
 9061: 
 9062: fi
 9063: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 9064: $as_echo "$ac_cv_type_uid_t" >&6; }
 9065: if test $ac_cv_type_uid_t = no; then
 9066: 
 9067: $as_echo "#define uid_t int" >>confdefs.h
 9068: 
 9069: 
 9070: $as_echo "#define gid_t int" >>confdefs.h
 9071: 
 9072: fi
 9073: 
 9074: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 9075: if test "x$ac_cv_type_pid_t" = xyes; then :
 9076: 
 9077: else
 9078: 
 9079: cat >>confdefs.h <<_ACEOF
 9080: #define pid_t int
 9081: _ACEOF
 9082: 
 9083: fi
 9084: 
 9085: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 9086: if test "x$ac_cv_type_size_t" = xyes; then :
 9087: 
 9088: else
 9089: 
 9090: cat >>confdefs.h <<_ACEOF
 9091: #define size_t unsigned int
 9092: _ACEOF
 9093: 
 9094: fi
 9095: 
 9096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 9097: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 9098: if ${ac_cv_header_time+:} false; then :
 9099:   $as_echo_n "(cached) " >&6
 9100: else
 9101:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9102: /* end confdefs.h.  */
 9103: #include <sys/types.h>
 9104: #include <sys/time.h>
 9105: #include <time.h>
 9106: 
 9107: int
 9108: main ()
 9109: {
 9110: if ((struct tm *) 0)
 9111: return 0;
 9112:   ;
 9113:   return 0;
 9114: }
 9115: _ACEOF
 9116: if ac_fn_c_try_compile "$LINENO"; then :
 9117:   ac_cv_header_time=yes
 9118: else
 9119:   ac_cv_header_time=no
 9120: fi
 9121: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9122: fi
 9123: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 9124: $as_echo "$ac_cv_header_time" >&6; }
 9125: if test $ac_cv_header_time = yes; then
 9126: 
 9127: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 9128: 
 9129: fi
 9130: 
 9131: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 9132: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 9133: if ${ac_cv_struct_tm+:} false; then :
 9134:   $as_echo_n "(cached) " >&6
 9135: else
 9136:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9137: /* end confdefs.h.  */
 9138: #include <sys/types.h>
 9139: #include <time.h>
 9140: 
 9141: int
 9142: main ()
 9143: {
 9144: struct tm tm;
 9145:                      int *p = &tm.tm_sec;
 9146:                      return !p;
 9147:   ;
 9148:   return 0;
 9149: }
 9150: _ACEOF
 9151: if ac_fn_c_try_compile "$LINENO"; then :
 9152:   ac_cv_struct_tm=time.h
 9153: else
 9154:   ac_cv_struct_tm=sys/time.h
 9155: fi
 9156: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9157: fi
 9158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 9159: $as_echo "$ac_cv_struct_tm" >&6; }
 9160: if test $ac_cv_struct_tm = sys/time.h; then
 9161: 
 9162: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 9163: 
 9164: fi
 9165: 
 9166: 
 9167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 9168: $as_echo_n "checking return type of signal handlers... " >&6; }
 9169: if ${ac_cv_type_signal+:} false; then :
 9170:   $as_echo_n "(cached) " >&6
 9171: else
 9172:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9173: /* end confdefs.h.  */
 9174: #include <sys/types.h>
 9175: #include <signal.h>
 9176: 
 9177: int
 9178: main ()
 9179: {
 9180: return *(signal (0, 0)) (0) == 1;
 9181:   ;
 9182:   return 0;
 9183: }
 9184: _ACEOF
 9185: if ac_fn_c_try_compile "$LINENO"; then :
 9186:   ac_cv_type_signal=int
 9187: else
 9188:   ac_cv_type_signal=void
 9189: fi
 9190: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9191: fi
 9192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 9193: $as_echo "$ac_cv_type_signal" >&6; }
 9194: 
 9195: cat >>confdefs.h <<_ACEOF
 9196: #define RETSIGTYPE $ac_cv_type_signal
 9197: _ACEOF
 9198: 
 9199: 
 9200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 9201: $as_echo_n "checking for working strcoll... " >&6; }
 9202: if ${ac_cv_func_strcoll_works+:} false; then :
 9203:   $as_echo_n "(cached) " >&6
 9204: else
 9205:   if test "$cross_compiling" = yes; then :
 9206:   ac_cv_func_strcoll_works=no
 9207: else
 9208:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9209: /* end confdefs.h.  */
 9210: $ac_includes_default
 9211: int
 9212: main ()
 9213: {
 9214: return (strcoll ("abc", "def") >= 0 ||
 9215:      strcoll ("ABC", "DEF") >= 0 ||
 9216:      strcoll ("123", "456") >= 0)
 9217:   ;
 9218:   return 0;
 9219: }
 9220: _ACEOF
 9221: if ac_fn_c_try_run "$LINENO"; then :
 9222:   ac_cv_func_strcoll_works=yes
 9223: else
 9224:   ac_cv_func_strcoll_works=no
 9225: fi
 9226: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 9227:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 9228: fi
 9229: 
 9230: fi
 9231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 9232: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 9233: if test $ac_cv_func_strcoll_works = yes; then
 9234: 
 9235: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 9236: 
 9237: fi
 9238: 
 9239: for ac_func in strftime
 9240: do :
 9241:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 9242: if test "x$ac_cv_func_strftime" = xyes; then :
 9243:   cat >>confdefs.h <<_ACEOF
 9244: #define HAVE_STRFTIME 1
 9245: _ACEOF
 9246: 
 9247: else
 9248:   # strftime is in -lintl on SCO UNIX.
 9249: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 9250: $as_echo_n "checking for strftime in -lintl... " >&6; }
 9251: if ${ac_cv_lib_intl_strftime+:} false; then :
 9252:   $as_echo_n "(cached) " >&6
 9253: else
 9254:   ac_check_lib_save_LIBS=$LIBS
 9255: LIBS="-lintl  $LIBS"
 9256: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9257: /* end confdefs.h.  */
 9258: 
 9259: /* Override any GCC internal prototype to avoid an error.
 9260:    Use char because int might match the return type of a GCC
 9261:    builtin and then its argument prototype would still apply.  */
 9262: #ifdef __cplusplus
 9263: extern "C"
 9264: #endif
 9265: char strftime ();
 9266: int
 9267: main ()
 9268: {
 9269: return strftime ();
 9270:   ;
 9271:   return 0;
 9272: }
 9273: _ACEOF
 9274: if ac_fn_c_try_link "$LINENO"; then :
 9275:   ac_cv_lib_intl_strftime=yes
 9276: else
 9277:   ac_cv_lib_intl_strftime=no
 9278: fi
 9279: rm -f core conftest.err conftest.$ac_objext \
 9280:     conftest$ac_exeext conftest.$ac_ext
 9281: LIBS=$ac_check_lib_save_LIBS
 9282: fi
 9283: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 9284: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 9285: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
 9286:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 9287: 
 9288: LIBS="-lintl $LIBS"
 9289: fi
 9290: 
 9291: fi
 9292: done
 9293: 
 9294: for ac_func in vprintf
 9295: do :
 9296:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 9297: if test "x$ac_cv_func_vprintf" = xyes; then :
 9298:   cat >>confdefs.h <<_ACEOF
 9299: #define HAVE_VPRINTF 1
 9300: _ACEOF
 9301: 
 9302: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 9303: if test "x$ac_cv_func__doprnt" = xyes; then :
 9304: 
 9305: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 9306: 
 9307: fi
 9308: 
 9309: fi
 9310: done
 9311: 
 9312: 
 9313: for ac_func in ftime getcwd putenv select strcspn strdup \
 9314:         strerror strspn strstr strtod
 9315: do :
 9316:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 9317: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 9318: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 9319:   cat >>confdefs.h <<_ACEOF
 9320: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 9321: _ACEOF
 9322: 
 9323: fi
 9324: done
 9325: 
 9326: 
 9327: 
 9328: # Check whether --with-openssl_arch was given.
 9329: if test "${with_openssl_arch+set}" = set; then :
 9330:   withval=$with_openssl_arch;
 9331: else
 9332:   with_openssl_arch=none
 9333: fi
 9334: 
 9335: 
 9336: if test $(uname) = "OS/2"; then
 9337:     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 9338: else
 9339:     if test "x$with_openssl_arch" = xnone; then
 9340:         (cd tools/$OPENSSL && ./config no-asm)
 9341:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 9342:         (cd tools/$OPENSSL && ./Configure)
 9343:         as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
 9344:     elif test "x$with_openssl_arch" = xlist; then
 9345:         (cd tools/$OPENSSL && ./Configure)
 9346:         as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
 9347:     else
 9348:         (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
 9349:     fi
 9350: fi
 9351: 
 9352: if test "$MYGNUPLOT" = "yes"; then
 9353:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 9354:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 9355:                 (cd "$srcdir/tools" && tar -xf -)
 9356:     fi
 9357: 
 9358:     if test $RECURSIVE = yes; then
 9359:         subdirs="$subdirs tools/$GNUPLOT"
 9360: 
 9361:     fi
 9362: 
 9363:     GNUPLOT_COMPILATION=$GNUPLOT
 9364: else
 9365:     GNUPLOT_COMPILATION=
 9366: fi
 9367: 
 9368: 
 9369: 
 9370: HOST=$target
 9371: 
 9372: 
 9373: my_save_cflags="$CFLAGS"
 9374: FPCFLAGS=""
 9375: 
 9376: CFLAGS=-malign-double
 9377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -malign-double" >&5
 9378: $as_echo_n "checking whether CC supports -malign-double... " >&6; }
 9379: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9380: /* end confdefs.h.  */
 9381: 
 9382: int
 9383: main ()
 9384: {
 9385: 
 9386:   ;
 9387:   return 0;
 9388: }
 9389: _ACEOF
 9390: if ac_fn_c_try_compile "$LINENO"; then :
 9391:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9392: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -malign-double"
 9393: else
 9394:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9395: $as_echo "no" >&6; }
 9396: fi
 9397: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9398: CFLAGS=-mieee-fp
 9399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee-fp" >&5
 9400: $as_echo_n "checking whether CC supports -mieee-fp... " >&6; }
 9401: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9402: /* end confdefs.h.  */
 9403: 
 9404: int
 9405: main ()
 9406: {
 9407: 
 9408:   ;
 9409:   return 0;
 9410: }
 9411: _ACEOF
 9412: if ac_fn_c_try_compile "$LINENO"; then :
 9413:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9414: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee-fp"
 9415: else
 9416:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9417: $as_echo "no" >&6; }
 9418: fi
 9419: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9420: CFLAGS=-mieee
 9421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee" >&5
 9422: $as_echo_n "checking whether CC supports -mieee... " >&6; }
 9423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9424: /* end confdefs.h.  */
 9425: 
 9426: int
 9427: main ()
 9428: {
 9429: 
 9430:   ;
 9431:   return 0;
 9432: }
 9433: _ACEOF
 9434: if ac_fn_c_try_compile "$LINENO"; then :
 9435:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9436: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee"
 9437: else
 9438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9439: $as_echo "no" >&6; }
 9440: fi
 9441: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9442: CFLAGS=$my_save_cflags
 9443: 
 9444: CFLAGS="$CFLAGS $FPCFLAGS -Wall -funsigned-char -Wno-pointer-sign"
 9445: FFLAGS="$FFLAGS $FPCFLAGS -Wall -fno-f2c"
 9446: FCFLAGS="$FCFLAGS $FPCFLAGS -Wall -fno-f2c"
 9447: CXXFLAGS="$CXXFLAGS $FPCFLAGS -Wall -funsigned-char"
 9448: 
 9449: case $target_os in
 9450: 
 9451:     cygwin*)
 9452:         OS=Cygwin
 9453:     break ;;
 9454: 
 9455:     interix*)
 9456:         OS=Interix
 9457:     break ;;
 9458: 
 9459:     *)
 9460:         OS=$(uname)
 9461:     break ;;
 9462: 
 9463: esac
 9464: 
 9465: 
 9466: 
 9467: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9468: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9469: MALLOC=
 9470: 
 9471: case $OS in
 9472:     Darwin)
 9473:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9474:         NESTED_FUNCTIONS=-fnested-functions
 9475:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9476:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9477:                 --disable-shared --enable-static --enable-threads \
 9478:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9479:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9480:                 LDFLAGS=\"$LDFLAGS\""
 9481:         C_STANDARD=-std=gnu99
 9482:         ELF=
 9483:     break ;;
 9484: 
 9485:     Cygwin)
 9486:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9487:         NESTED_FUNCTIONS=
 9488:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9489:                 --disable-shared --enable-static --enable-threads \
 9490:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9491:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9492:                 LDFLAGS=\"$LDFLAGS\""
 9493:         C_STANDARD=-std=gnu99
 9494:         ELF=
 9495:     break ;;
 9496: 
 9497:     Interix)
 9498:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9499:         NESTED_FUNCTIONS=
 9500:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9501:                 --disable-shared --enable-static --enable-threads \
 9502:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9503:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9504:                 LDFLAGS=\"$LDFLAGS\""
 9505:         C_STANDARD=-std=gnu99
 9506:         ELF=
 9507:     break;;
 9508: 
 9509:     AIX)
 9510:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9511:         NESTED_FUNCTIONS=
 9512:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9513:                 --disable-shared --enable-static --enable-threads \
 9514:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9515:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9516:                 LDFLAGS=\"$LDFLAGS\""
 9517:         C_STANDARD=-std=gnu99
 9518:         ELF=
 9519:     break ;;
 9520: 
 9521:     OS/2)
 9522:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9523:             FINAL_ENCODING=CP850; \
 9524:         fi;
 9525:         OS=OS2
 9526:         NESTED_FUNCTIONS=
 9527:         EXPORT_DYNAMIC=-Zmap
 9528:         ac_configure_args="$ac_configure_args --without-readline \
 9529:                 --without-cairo --disable-shared --enable-static \
 9530:                 --enable-threads \
 9531:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9532:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9533:                 LDFLAGS=\"$LDFLAGS\""
 9534:         C_STANDARD=
 9535:         ELF=
 9536:     break;;
 9537: 
 9538:     OpenBSD)
 9539:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9540:             FINAL_ENCODING=UTF-8; \
 9541:         fi;
 9542:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9543:         NESTED_FUNCTIONS=
 9544:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9545:                 --disable-shared --enable-static --enable-threads \
 9546:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9547:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9548:                 LDFLAGS=\"$LDFLAGS\""
 9549:         C_STANDARD=-std=gnu99
 9550:         ELF=
 9551:     break;;
 9552: 
 9553:     SunOS)
 9554:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9555:         NESTED_FUNCTIONS=
 9556: 
 9557:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9558:                 --disable-shared --enable-static --enable-threads \
 9559:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9560:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9561:                 LDFLAGS=\"$LDFLAGS\""
 9562:         C_STANDARD=-std=gnu99
 9563:         MALLOC=-lumem
 9564:         ELF=
 9565:     break ;;
 9566: 
 9567:     NetBSD)
 9568:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9569:         NESTED_FUNCTIONS=
 9570: 
 9571:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9572:                 --disable-shared --enable-static --enable-threads \
 9573:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9574:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9575:                 LDFLAGS=\"$LDFLAGS\""
 9576:         C_STANDARD=-std=gnu99
 9577:         GCCBIN=`which gcc`
 9578:         GCCLIB=`dirname $GCCBIN`/../lib
 9579:         ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB"
 9580:     break ;;
 9581: 
 9582:     *)
 9583:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9584:         NESTED_FUNCTIONS=
 9585: 
 9586:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9587:                 --disable-shared --enable-static --enable-threads \
 9588:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9589:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9590:                 LDFLAGS=\"$LDFLAGS\""
 9591:         C_STANDARD=-std=gnu99
 9592:         ELF=
 9593:     break ;;
 9594: esac
 9595: 
 9596: case $OS in
 9597:     OS2)
 9598:         WHOLE_LIB1=""
 9599:         WHOLE_LIB2=""
 9600:         LIB_PREFIX=""
 9601:     break ;;
 9602: 
 9603:     *)
 9604:         WHOLE_LIB1="-Wl,-whole-archive"
 9605:         WHOLE_LIB2="-Wl,-no-whole-archive"
 9606:         LIB_PREFIX="lib"
 9607:     break ;;
 9608: esac
 9609: 
 9610: case $HOST in
 9611:     x86_64-unknown-linux-gnu)
 9612:         ARCH=amd64
 9613:     break ;;
 9614: 
 9615:     i?86-unknown-linux-gnu)
 9616:         ARCH=i386
 9617:     break ;;
 9618: 
 9619:     *)
 9620:         ARCH=unknown
 9621:     break ;;
 9622: esac
 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: 
 9650: 
 9651: 
 9652: 
 9653: 
 9654: 
 9655: 
 9656: 
 9657: 
 9658: 
 9659: 
 9660: 
 9661: 
 9662: 
 9663: 
 9664: 
 9665: 
 9666: 
 9667: 
 9668: 
 9669: 
 9670: 
 9671: 
 9672: 
 9673: if test $RECURSIVE = yes; then
 9674:     subdirs="$subdirs tools/$NCURSES"
 9675: 
 9676:     subdirs="$subdirs tools/$READLINE"
 9677: 
 9678:     subdirs="$subdirs tools/$GSL"
 9679: 
 9680:     subdirs="$subdirs tools/$GPP"
 9681: 
 9682:     subdirs="$subdirs tools/$FILE"
 9683: 
 9684:     subdirs="$subdirs tools/$ICONV"
 9685: 
 9686:     subdirs="$subdirs tools/$SQLITE"
 9687: 
 9688:     subdirs="$subdirs tools/$UNITS"
 9689: 
 9690:     subdirs="$subdirs tools/$SIGSEGV"
 9691: 
 9692: fi
 9693: 
 9694: ac_config_files="$ac_config_files Makefile"
 9695: 
 9696: ac_config_files="$ac_config_files COPYING"
 9697: 
 9698: ac_config_files="$ac_config_files tools/Makefile"
 9699: 
 9700: ac_config_files="$ac_config_files src/Makefile"
 9701: 
 9702: ac_config_files="$ac_config_files man/Makefile"
 9703: 
 9704: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9705: 
 9706: ac_config_files="$ac_config_files doc/Makefile"
 9707: 
 9708: ac_config_files="$ac_config_files scripts/Makefile"
 9709: 
 9710: ac_config_files="$ac_config_files scripts/mkrplso"
 9711: 
 9712: ac_config_files="$ac_config_files scripts/rplcc"
 9713: 
 9714: ac_config_files="$ac_config_files scripts/rpllink"
 9715: 
 9716: ac_config_files="$ac_config_files rpltags/Makefile"
 9717: 
 9718: ac_config_files="$ac_config_files rpliconv/Makefile"
 9719: 
 9720: ac_config_files="$ac_config_files rplsums/Makefile"
 9721: 
 9722: ac_config_files="$ac_config_files rplcas/Makefile"
 9723: 
 9724: ac_config_files="$ac_config_files rplawk/Makefile"
 9725: 
 9726: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9727: 
 9728: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9729: 
 9730: 
 9731: ac_config_files="$ac_config_files man/rpl.1"
 9732: 
 9733: ac_config_files="$ac_config_files man/rplcc.1"
 9734: 
 9735: ac_config_files="$ac_config_files man/rpllink.1"
 9736: 
 9737: ac_config_files="$ac_config_files man/rpltags.1"
 9738: 
 9739: ac_config_files="$ac_config_files man/mkrplso.1"
 9740: 
 9741: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9742: 
 9743: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9744: 
 9745: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9746: 
 9747: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9748: 
 9749: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9750: 
 9751: 
 9752: ac_config_files="$ac_config_files DEBIAN/control"
 9753: 
 9754: 
 9755: cat >confcache <<\_ACEOF
 9756: # This file is a shell script that caches the results of configure
 9757: # tests run on this system so they can be shared between configure
 9758: # scripts and configure runs, see configure's option --config-cache.
 9759: # It is not useful on other systems.  If it contains results you don't
 9760: # want to keep, you may remove or edit it.
 9761: #
 9762: # config.status only pays attention to the cache file if you give it
 9763: # the --recheck option to rerun configure.
 9764: #
 9765: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9766: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9767: # following values.
 9768: 
 9769: _ACEOF
 9770: 
 9771: # The following way of writing the cache mishandles newlines in values,
 9772: # but we know of no workaround that is simple, portable, and efficient.
 9773: # So, we kill variables containing newlines.
 9774: # Ultrix sh set writes to stderr and can't be redirected directly,
 9775: # and sets the high bit in the cache file unless we assign to the vars.
 9776: (
 9777:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9778:     eval ac_val=\$$ac_var
 9779:     case $ac_val in #(
 9780:     *${as_nl}*)
 9781:       case $ac_var in #(
 9782:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9783: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9784:       esac
 9785:       case $ac_var in #(
 9786:       _ | IFS | as_nl) ;; #(
 9787:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9788:       *) { eval $ac_var=; unset $ac_var;} ;;
 9789:       esac ;;
 9790:     esac
 9791:   done
 9792: 
 9793:   (set) 2>&1 |
 9794:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9795:     *${as_nl}ac_space=\ *)
 9796:       # `set' does not quote correctly, so add quotes: double-quote
 9797:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9798:       sed -n \
 9799:     "s/'/'\\\\''/g;
 9800:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9801:       ;; #(
 9802:     *)
 9803:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9804:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9805:       ;;
 9806:     esac |
 9807:     sort
 9808: ) |
 9809:   sed '
 9810:      /^ac_cv_env_/b end
 9811:      t clear
 9812:      :clear
 9813:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9814:      t end
 9815:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9816:      :end' >>confcache
 9817: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9818:   if test -w "$cache_file"; then
 9819:     if test "x$cache_file" != "x/dev/null"; then
 9820:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9821: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9822:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 9823:     cat confcache >"$cache_file"
 9824:       else
 9825:         case $cache_file in #(
 9826:         */* | ?:*)
 9827:       mv -f confcache "$cache_file"$$ &&
 9828:       mv -f "$cache_file"$$ "$cache_file" ;; #(
 9829:         *)
 9830:       mv -f confcache "$cache_file" ;;
 9831:     esac
 9832:       fi
 9833:     fi
 9834:   else
 9835:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9836: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9837:   fi
 9838: fi
 9839: rm -f confcache
 9840: 
 9841: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9842: # Let make expand exec_prefix.
 9843: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9844: 
 9845: DEFS=-DHAVE_CONFIG_H
 9846: 
 9847: ac_libobjs=
 9848: ac_ltlibobjs=
 9849: U=
 9850: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9851:   # 1. Remove the extension, and $U if already installed.
 9852:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9853:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9854:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9855:   #    will be set to the directory where LIBOBJS objects are built.
 9856:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9857:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9858: done
 9859: LIBOBJS=$ac_libobjs
 9860: 
 9861: LTLIBOBJS=$ac_ltlibobjs
 9862: 
 9863: 
 9864:  if test -n "$EXEEXT"; then
 9865:   am__EXEEXT_TRUE=
 9866:   am__EXEEXT_FALSE='#'
 9867: else
 9868:   am__EXEEXT_TRUE='#'
 9869:   am__EXEEXT_FALSE=
 9870: fi
 9871: 
 9872: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9873:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 9874: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9875: fi
 9876: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9877:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 9878: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9879: fi
 9880: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9881:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 9882: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9883: fi
 9884: 
 9885: : "${CONFIG_STATUS=./config.status}"
 9886: ac_write_fail=0
 9887: ac_clean_files_save=$ac_clean_files
 9888: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9889: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9890: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9891: as_write_fail=0
 9892: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9893: #! $SHELL
 9894: # Generated by $as_me.
 9895: # Run this file to recreate the current configuration.
 9896: # Compiler output produced by configure, useful for debugging
 9897: # configure, is in config.log if it exists.
 9898: 
 9899: debug=false
 9900: ac_cs_recheck=false
 9901: ac_cs_silent=false
 9902: 
 9903: SHELL=\${CONFIG_SHELL-$SHELL}
 9904: export SHELL
 9905: _ASEOF
 9906: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9907: ## -------------------- ##
 9908: ## M4sh Initialization. ##
 9909: ## -------------------- ##
 9910: 
 9911: # Be more Bourne compatible
 9912: DUALCASE=1; export DUALCASE # for MKS sh
 9913: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9914:   emulate sh
 9915:   NULLCMD=:
 9916:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9917:   # is contrary to our usage.  Disable this feature.
 9918:   alias -g '${1+"$@"}'='"$@"'
 9919:   setopt NO_GLOB_SUBST
 9920: else
 9921:   case `(set -o) 2>/dev/null` in #(
 9922:   *posix*) :
 9923:     set -o posix ;; #(
 9924:   *) :
 9925:      ;;
 9926: esac
 9927: fi
 9928: 
 9929: 
 9930: as_nl='
 9931: '
 9932: export as_nl
 9933: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9934: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9935: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9936: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9937: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9938: # but without wasting forks for bash or zsh.
 9939: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9940:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9941:   as_echo='print -r --'
 9942:   as_echo_n='print -rn --'
 9943: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9944:   as_echo='printf %s\n'
 9945:   as_echo_n='printf %s'
 9946: else
 9947:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9948:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9949:     as_echo_n='/usr/ucb/echo -n'
 9950:   else
 9951:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9952:     as_echo_n_body='eval
 9953:       arg=$1;
 9954:       case $arg in #(
 9955:       *"$as_nl"*)
 9956:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9957:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9958:       esac;
 9959:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9960:     '
 9961:     export as_echo_n_body
 9962:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9963:   fi
 9964:   export as_echo_body
 9965:   as_echo='sh -c $as_echo_body as_echo'
 9966: fi
 9967: 
 9968: # The user is always right.
 9969: if test "${PATH_SEPARATOR+set}" != set; then
 9970:   PATH_SEPARATOR=:
 9971:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9972:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9973:       PATH_SEPARATOR=';'
 9974:   }
 9975: fi
 9976: 
 9977: 
 9978: # IFS
 9979: # We need space, tab and new line, in precisely that order.  Quoting is
 9980: # there to prevent editors from complaining about space-tab.
 9981: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9982: # splitting by setting IFS to empty value.)
 9983: IFS=" ""    $as_nl"
 9984: 
 9985: # Find who we are.  Look in the path if we contain no directory separator.
 9986: as_myself=
 9987: case $0 in #((
 9988:   *[\\/]* ) as_myself=$0 ;;
 9989:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9990: for as_dir in $PATH
 9991: do
 9992:   IFS=$as_save_IFS
 9993:   test -z "$as_dir" && as_dir=.
 9994:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9995:   done
 9996: IFS=$as_save_IFS
 9997: 
 9998:      ;;
 9999: esac
10000: # We did not find ourselves, most probably we were run as `sh COMMAND'
10001: # in which case we are not to be found in the path.
10002: if test "x$as_myself" = x; then
10003:   as_myself=$0
10004: fi
10005: if test ! -f "$as_myself"; then
10006:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10007:   exit 1
10008: fi
10009: 
10010: # Unset variables that we do not need and which cause bugs (e.g. in
10011: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
10012: # suppresses any "Segmentation fault" message there.  '((' could
10013: # trigger a bug in pdksh 5.2.14.
10014: for as_var in BASH_ENV ENV MAIL MAILPATH
10015: do eval test x\${$as_var+set} = xset \
10016:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10017: done
10018: PS1='$ '
10019: PS2='> '
10020: PS4='+ '
10021: 
10022: # NLS nuisances.
10023: LC_ALL=C
10024: export LC_ALL
10025: LANGUAGE=C
10026: export LANGUAGE
10027: 
10028: # CDPATH.
10029: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10030: 
10031: 
10032: # as_fn_error STATUS ERROR [LINENO LOG_FD]
10033: # ----------------------------------------
10034: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10035: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10036: # script with STATUS, using 1 if that was 0.
10037: as_fn_error ()
10038: {
10039:   as_status=$1; test $as_status -eq 0 && as_status=1
10040:   if test "$4"; then
10041:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10042:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10043:   fi
10044:   $as_echo "$as_me: error: $2" >&2
10045:   as_fn_exit $as_status
10046: } # as_fn_error
10047: 
10048: 
10049: # as_fn_set_status STATUS
10050: # -----------------------
10051: # Set $? to STATUS, without forking.
10052: as_fn_set_status ()
10053: {
10054:   return $1
10055: } # as_fn_set_status
10056: 
10057: # as_fn_exit STATUS
10058: # -----------------
10059: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10060: as_fn_exit ()
10061: {
10062:   set +e
10063:   as_fn_set_status $1
10064:   exit $1
10065: } # as_fn_exit
10066: 
10067: # as_fn_unset VAR
10068: # ---------------
10069: # Portably unset VAR.
10070: as_fn_unset ()
10071: {
10072:   { eval $1=; unset $1;}
10073: }
10074: as_unset=as_fn_unset
10075: # as_fn_append VAR VALUE
10076: # ----------------------
10077: # Append the text in VALUE to the end of the definition contained in VAR. Take
10078: # advantage of any shell optimizations that allow amortized linear growth over
10079: # repeated appends, instead of the typical quadratic growth present in naive
10080: # implementations.
10081: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
10082:   eval 'as_fn_append ()
10083:   {
10084:     eval $1+=\$2
10085:   }'
10086: else
10087:   as_fn_append ()
10088:   {
10089:     eval $1=\$$1\$2
10090:   }
10091: fi # as_fn_append
10092: 
10093: # as_fn_arith ARG...
10094: # ------------------
10095: # Perform arithmetic evaluation on the ARGs, and store the result in the
10096: # global $as_val. Take advantage of shells that can avoid forks. The arguments
10097: # must be portable across $(()) and expr.
10098: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10099:   eval 'as_fn_arith ()
10100:   {
10101:     as_val=$(( $* ))
10102:   }'
10103: else
10104:   as_fn_arith ()
10105:   {
10106:     as_val=`expr "$@" || test $? -eq 1`
10107:   }
10108: fi # as_fn_arith
10109: 
10110: 
10111: if expr a : '\(a\)' >/dev/null 2>&1 &&
10112:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
10113:   as_expr=expr
10114: else
10115:   as_expr=false
10116: fi
10117: 
10118: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10119:   as_basename=basename
10120: else
10121:   as_basename=false
10122: fi
10123: 
10124: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10125:   as_dirname=dirname
10126: else
10127:   as_dirname=false
10128: fi
10129: 
10130: as_me=`$as_basename -- "$0" ||
10131: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10132:      X"$0" : 'X\(//\)$' \| \
10133:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10134: $as_echo X/"$0" |
10135:     sed '/^.*\/\([^/][^/]*\)\/*$/{
10136:         s//\1/
10137:         q
10138:       }
10139:       /^X\/\(\/\/\)$/{
10140:         s//\1/
10141:         q
10142:       }
10143:       /^X\/\(\/\).*/{
10144:         s//\1/
10145:         q
10146:       }
10147:       s/.*/./; q'`
10148: 
10149: # Avoid depending upon Character Ranges.
10150: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10151: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10152: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10153: as_cr_digits='0123456789'
10154: as_cr_alnum=$as_cr_Letters$as_cr_digits
10155: 
10156: ECHO_C= ECHO_N= ECHO_T=
10157: case `echo -n x` in #(((((
10158: -n*)
10159:   case `echo 'xy\c'` in
10160:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10161:   xy)  ECHO_C='\c';;
10162:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
10163:        ECHO_T=' ';;
10164:   esac;;
10165: *)
10166:   ECHO_N='-n';;
10167: esac
10168: 
10169: rm -f conf$$ conf$$.exe conf$$.file
10170: if test -d conf$$.dir; then
10171:   rm -f conf$$.dir/conf$$.file
10172: else
10173:   rm -f conf$$.dir
10174:   mkdir conf$$.dir 2>/dev/null
10175: fi
10176: if (echo >conf$$.file) 2>/dev/null; then
10177:   if ln -s conf$$.file conf$$ 2>/dev/null; then
10178:     as_ln_s='ln -s'
10179:     # ... but there are two gotchas:
10180:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10181:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10182:     # In both cases, we have to default to `cp -p'.
10183:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10184:       as_ln_s='cp -p'
10185:   elif ln conf$$.file conf$$ 2>/dev/null; then
10186:     as_ln_s=ln
10187:   else
10188:     as_ln_s='cp -p'
10189:   fi
10190: else
10191:   as_ln_s='cp -p'
10192: fi
10193: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10194: rmdir conf$$.dir 2>/dev/null
10195: 
10196: 
10197: # as_fn_mkdir_p
10198: # -------------
10199: # Create "$as_dir" as a directory, including parents if necessary.
10200: as_fn_mkdir_p ()
10201: {
10202: 
10203:   case $as_dir in #(
10204:   -*) as_dir=./$as_dir;;
10205:   esac
10206:   test -d "$as_dir" || eval $as_mkdir_p || {
10207:     as_dirs=
10208:     while :; do
10209:       case $as_dir in #(
10210:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10211:       *) as_qdir=$as_dir;;
10212:       esac
10213:       as_dirs="'$as_qdir' $as_dirs"
10214:       as_dir=`$as_dirname -- "$as_dir" ||
10215: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10216:      X"$as_dir" : 'X\(//\)[^/]' \| \
10217:      X"$as_dir" : 'X\(//\)$' \| \
10218:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10219: $as_echo X"$as_dir" |
10220:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10221:         s//\1/
10222:         q
10223:       }
10224:       /^X\(\/\/\)[^/].*/{
10225:         s//\1/
10226:         q
10227:       }
10228:       /^X\(\/\/\)$/{
10229:         s//\1/
10230:         q
10231:       }
10232:       /^X\(\/\).*/{
10233:         s//\1/
10234:         q
10235:       }
10236:       s/.*/./; q'`
10237:       test -d "$as_dir" && break
10238:     done
10239:     test -z "$as_dirs" || eval "mkdir $as_dirs"
10240:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10241: 
10242: 
10243: } # as_fn_mkdir_p
10244: if mkdir -p . 2>/dev/null; then
10245:   as_mkdir_p='mkdir -p "$as_dir"'
10246: else
10247:   test -d ./-p && rmdir ./-p
10248:   as_mkdir_p=false
10249: fi
10250: 
10251: if test -x / >/dev/null 2>&1; then
10252:   as_test_x='test -x'
10253: else
10254:   if ls -dL / >/dev/null 2>&1; then
10255:     as_ls_L_option=L
10256:   else
10257:     as_ls_L_option=
10258:   fi
10259:   as_test_x='
10260:     eval sh -c '\''
10261:       if test -d "$1"; then
10262:     test -d "$1/.";
10263:       else
10264:     case $1 in #(
10265:     -*)set "./$1";;
10266:     esac;
10267:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10268:     ???[sx]*):;;*)false;;esac;fi
10269:     '\'' sh
10270:   '
10271: fi
10272: as_executable_p=$as_test_x
10273: 
10274: # Sed expression to map a string onto a valid CPP name.
10275: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10276: 
10277: # Sed expression to map a string onto a valid variable name.
10278: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10279: 
10280: 
10281: exec 6>&1
10282: ## ----------------------------------- ##
10283: ## Main body of $CONFIG_STATUS script. ##
10284: ## ----------------------------------- ##
10285: _ASEOF
10286: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10287: 
10288: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10289: # Save the log message, to keep $0 and so on meaningful, and to
10290: # report actual input values of CONFIG_FILES etc. instead of their
10291: # values after options handling.
10292: ac_log="
10293: This file was extended by rpl $as_me 4.1.5, which was
10294: generated by GNU Autoconf 2.68.  Invocation command line was
10295: 
10296:   CONFIG_FILES    = $CONFIG_FILES
10297:   CONFIG_HEADERS  = $CONFIG_HEADERS
10298:   CONFIG_LINKS    = $CONFIG_LINKS
10299:   CONFIG_COMMANDS = $CONFIG_COMMANDS
10300:   $ $0 $@
10301: 
10302: on `(hostname || uname -n) 2>/dev/null | sed 1q`
10303: "
10304: 
10305: _ACEOF
10306: 
10307: case $ac_config_files in *"
10308: "*) set x $ac_config_files; shift; ac_config_files=$*;;
10309: esac
10310: 
10311: case $ac_config_headers in *"
10312: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10313: esac
10314: 
10315: 
10316: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10317: # Files that config.status was made for.
10318: config_files="$ac_config_files"
10319: config_headers="$ac_config_headers"
10320: config_commands="$ac_config_commands"
10321: 
10322: _ACEOF
10323: 
10324: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10325: ac_cs_usage="\
10326: \`$as_me' instantiates files and other configuration actions
10327: from templates according to the current configuration.  Unless the files
10328: and actions are specified as TAGs, all are instantiated by default.
10329: 
10330: Usage: $0 [OPTION]... [TAG]...
10331: 
10332:   -h, --help       print this help, then exit
10333:   -V, --version    print version number and configuration settings, then exit
10334:       --config     print configuration, then exit
10335:   -q, --quiet, --silent
10336:                    do not print progress messages
10337:   -d, --debug      don't remove temporary files
10338:       --recheck    update $as_me by reconfiguring in the same conditions
10339:       --file=FILE[:TEMPLATE]
10340:                    instantiate the configuration file FILE
10341:       --header=FILE[:TEMPLATE]
10342:                    instantiate the configuration header FILE
10343: 
10344: Configuration files:
10345: $config_files
10346: 
10347: Configuration headers:
10348: $config_headers
10349: 
10350: Configuration commands:
10351: $config_commands
10352: 
10353: Report bugs to the package provider."
10354: 
10355: _ACEOF
10356: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10357: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10358: ac_cs_version="\\
10359: rpl config.status 4.1.5
10360: configured by $0, generated by GNU Autoconf 2.68,
10361:   with options \\"\$ac_cs_config\\"
10362: 
10363: Copyright (C) 2010 Free Software Foundation, Inc.
10364: This config.status script is free software; the Free Software Foundation
10365: gives unlimited permission to copy, distribute and modify it."
10366: 
10367: ac_pwd='$ac_pwd'
10368: srcdir='$srcdir'
10369: INSTALL='$INSTALL'
10370: MKDIR_P='$MKDIR_P'
10371: AWK='$AWK'
10372: test -n "\$AWK" || AWK=awk
10373: _ACEOF
10374: 
10375: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10376: # The default lists apply if the user does not specify any file.
10377: ac_need_defaults=:
10378: while test $# != 0
10379: do
10380:   case $1 in
10381:   --*=?*)
10382:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10383:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10384:     ac_shift=:
10385:     ;;
10386:   --*=)
10387:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10388:     ac_optarg=
10389:     ac_shift=:
10390:     ;;
10391:   *)
10392:     ac_option=$1
10393:     ac_optarg=$2
10394:     ac_shift=shift
10395:     ;;
10396:   esac
10397: 
10398:   case $ac_option in
10399:   # Handling of the options.
10400:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10401:     ac_cs_recheck=: ;;
10402:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10403:     $as_echo "$ac_cs_version"; exit ;;
10404:   --config | --confi | --conf | --con | --co | --c )
10405:     $as_echo "$ac_cs_config"; exit ;;
10406:   --debug | --debu | --deb | --de | --d | -d )
10407:     debug=: ;;
10408:   --file | --fil | --fi | --f )
10409:     $ac_shift
10410:     case $ac_optarg in
10411:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10412:     '') as_fn_error $? "missing file argument" ;;
10413:     esac
10414:     as_fn_append CONFIG_FILES " '$ac_optarg'"
10415:     ac_need_defaults=false;;
10416:   --header | --heade | --head | --hea )
10417:     $ac_shift
10418:     case $ac_optarg in
10419:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10420:     esac
10421:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10422:     ac_need_defaults=false;;
10423:   --he | --h)
10424:     # Conflict between --help and --header
10425:     as_fn_error $? "ambiguous option: \`$1'
10426: Try \`$0 --help' for more information.";;
10427:   --help | --hel | -h )
10428:     $as_echo "$ac_cs_usage"; exit ;;
10429:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10430:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
10431:     ac_cs_silent=: ;;
10432: 
10433:   # This is an error.
10434:   -*) as_fn_error $? "unrecognized option: \`$1'
10435: Try \`$0 --help' for more information." ;;
10436: 
10437:   *) as_fn_append ac_config_targets " $1"
10438:      ac_need_defaults=false ;;
10439: 
10440:   esac
10441:   shift
10442: done
10443: 
10444: ac_configure_extra_args=
10445: 
10446: if $ac_cs_silent; then
10447:   exec 6>/dev/null
10448:   ac_configure_extra_args="$ac_configure_extra_args --silent"
10449: fi
10450: 
10451: _ACEOF
10452: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10453: if \$ac_cs_recheck; then
10454:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10455:   shift
10456:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10457:   CONFIG_SHELL='$SHELL'
10458:   export CONFIG_SHELL
10459:   exec "\$@"
10460: fi
10461: 
10462: _ACEOF
10463: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10464: exec 5>>config.log
10465: {
10466:   echo
10467:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10468: ## Running $as_me. ##
10469: _ASBOX
10470:   $as_echo "$ac_log"
10471: } >&5
10472: 
10473: _ACEOF
10474: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10475: #
10476: # INIT-COMMANDS
10477: #
10478: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10479: 
10480: _ACEOF
10481: 
10482: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10483: 
10484: # Handling of arguments.
10485: for ac_config_target in $ac_config_targets
10486: do
10487:   case $ac_config_target in
10488:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10489:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10490:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10491:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10492:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10493:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10494:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10495:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10496:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10497:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10498:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10499:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10500:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10501:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10502:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10503:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10504:     "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10505:     "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10506:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10507:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10508:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10509:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10510:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10511:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10512:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10513:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10514:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10515:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10516:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10517:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10518:     "DEBIAN/control") CONFIG_FILES="$CONFIG_FILES DEBIAN/control" ;;
10519: 
10520:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10521:   esac
10522: done
10523: 
10524: 
10525: # If the user did not use the arguments to specify the items to instantiate,
10526: # then the envvar interface is used.  Set only those that are not.
10527: # We use the long form for the default assignment because of an extremely
10528: # bizarre bug on SunOS 4.1.3.
10529: if $ac_need_defaults; then
10530:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10531:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10532:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10533: fi
10534: 
10535: # Have a temporary directory for convenience.  Make it in the build tree
10536: # simply because there is no reason against having it here, and in addition,
10537: # creating and moving files from /tmp can sometimes cause problems.
10538: # Hook for its removal unless debugging.
10539: # Note that there is a small window in which the directory will not be cleaned:
10540: # after its creation but before its name has been assigned to `$tmp'.
10541: $debug ||
10542: {
10543:   tmp= ac_tmp=
10544:   trap 'exit_status=$?
10545:   : "${ac_tmp:=$tmp}"
10546:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10547: ' 0
10548:   trap 'as_fn_exit 1' 1 2 13 15
10549: }
10550: # Create a (secure) tmp directory for tmp files.
10551: 
10552: {
10553:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10554:   test -d "$tmp"
10555: }  ||
10556: {
10557:   tmp=./conf$$-$RANDOM
10558:   (umask 077 && mkdir "$tmp")
10559: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10560: ac_tmp=$tmp
10561: 
10562: # Set up the scripts for CONFIG_FILES section.
10563: # No need to generate them if there are no CONFIG_FILES.
10564: # This happens for instance with `./config.status config.h'.
10565: if test -n "$CONFIG_FILES"; then
10566: 
10567: 
10568: ac_cr=`echo X | tr X '\015'`
10569: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10570: # But we know of no other shell where ac_cr would be empty at this
10571: # point, so we can use a bashism as a fallback.
10572: if test "x$ac_cr" = x; then
10573:   eval ac_cr=\$\'\\r\'
10574: fi
10575: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10576: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10577:   ac_cs_awk_cr='\\r'
10578: else
10579:   ac_cs_awk_cr=$ac_cr
10580: fi
10581: 
10582: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10583: _ACEOF
10584: 
10585: 
10586: {
10587:   echo "cat >conf$$subs.awk <<_ACEOF" &&
10588:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10589:   echo "_ACEOF"
10590: } >conf$$subs.sh ||
10591:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10592: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10593: ac_delim='%!_!# '
10594: for ac_last_try in false false false false false :; do
10595:   . ./conf$$subs.sh ||
10596:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10597: 
10598:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10599:   if test $ac_delim_n = $ac_delim_num; then
10600:     break
10601:   elif $ac_last_try; then
10602:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10603:   else
10604:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10605:   fi
10606: done
10607: rm -f conf$$subs.sh
10608: 
10609: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10610: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10611: _ACEOF
10612: sed -n '
10613: h
10614: s/^/S["/; s/!.*/"]=/
10615: p
10616: g
10617: s/^[^!]*!//
10618: :repl
10619: t repl
10620: s/'"$ac_delim"'$//
10621: t delim
10622: :nl
10623: h
10624: s/\(.\{148\}\)..*/\1/
10625: t more1
10626: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10627: p
10628: n
10629: b repl
10630: :more1
10631: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10632: p
10633: g
10634: s/.\{148\}//
10635: t nl
10636: :delim
10637: h
10638: s/\(.\{148\}\)..*/\1/
10639: t more2
10640: s/["\\]/\\&/g; s/^/"/; s/$/"/
10641: p
10642: b
10643: :more2
10644: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10645: p
10646: g
10647: s/.\{148\}//
10648: t delim
10649: ' <conf$$subs.awk | sed '
10650: /^[^""]/{
10651:   N
10652:   s/\n//
10653: }
10654: ' >>$CONFIG_STATUS || ac_write_fail=1
10655: rm -f conf$$subs.awk
10656: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10657: _ACAWK
10658: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10659:   for (key in S) S_is_set[key] = 1
10660:   FS = ""
10661: 
10662: }
10663: {
10664:   line = $ 0
10665:   nfields = split(line, field, "@")
10666:   substed = 0
10667:   len = length(field[1])
10668:   for (i = 2; i < nfields; i++) {
10669:     key = field[i]
10670:     keylen = length(key)
10671:     if (S_is_set[key]) {
10672:       value = S[key]
10673:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10674:       len += length(value) + length(field[++i])
10675:       substed = 1
10676:     } else
10677:       len += 1 + keylen
10678:   }
10679: 
10680:   print line
10681: }
10682: 
10683: _ACAWK
10684: _ACEOF
10685: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10686: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10687:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10688: else
10689:   cat
10690: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10691:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10692: _ACEOF
10693: 
10694: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10695: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10696: # trailing colons and then remove the whole line if VPATH becomes empty
10697: # (actually we leave an empty line to preserve line numbers).
10698: if test "x$srcdir" = x.; then
10699:   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
10700: h
10701: s///
10702: s/^/:/
10703: s/[  ]*$/:/
10704: s/:\$(srcdir):/:/g
10705: s/:\${srcdir}:/:/g
10706: s/:@srcdir@:/:/g
10707: s/^:*//
10708: s/:*$//
10709: x
10710: s/\(=[   ]*\).*/\1/
10711: G
10712: s/\n//
10713: s/^[^=]*=[   ]*$//
10714: }'
10715: fi
10716: 
10717: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10718: fi # test -n "$CONFIG_FILES"
10719: 
10720: # Set up the scripts for CONFIG_HEADERS section.
10721: # No need to generate them if there are no CONFIG_HEADERS.
10722: # This happens for instance with `./config.status Makefile'.
10723: if test -n "$CONFIG_HEADERS"; then
10724: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10725: BEGIN {
10726: _ACEOF
10727: 
10728: # Transform confdefs.h into an awk script `defines.awk', embedded as
10729: # here-document in config.status, that substitutes the proper values into
10730: # config.h.in to produce config.h.
10731: 
10732: # Create a delimiter string that does not exist in confdefs.h, to ease
10733: # handling of long lines.
10734: ac_delim='%!_!# '
10735: for ac_last_try in false false :; do
10736:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10737:   if test -z "$ac_tt"; then
10738:     break
10739:   elif $ac_last_try; then
10740:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10741:   else
10742:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10743:   fi
10744: done
10745: 
10746: # For the awk script, D is an array of macro values keyed by name,
10747: # likewise P contains macro parameters if any.  Preserve backslash
10748: # newline sequences.
10749: 
10750: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10751: sed -n '
10752: s/.\{148\}/&'"$ac_delim"'/g
10753: t rset
10754: :rset
10755: s/^[     ]*#[    ]*define[   ][  ]*/ /
10756: t def
10757: d
10758: :def
10759: s/\\$//
10760: t bsnl
10761: s/["\\]/\\&/g
10762: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10763: D["\1"]=" \3"/p
10764: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10765: d
10766: :bsnl
10767: s/["\\]/\\&/g
10768: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10769: D["\1"]=" \3\\\\\\n"\\/p
10770: t cont
10771: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10772: t cont
10773: d
10774: :cont
10775: n
10776: s/.\{148\}/&'"$ac_delim"'/g
10777: t clear
10778: :clear
10779: s/\\$//
10780: t bsnlc
10781: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10782: d
10783: :bsnlc
10784: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10785: b cont
10786: ' <confdefs.h | sed '
10787: s/'"$ac_delim"'/"\\\
10788: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10789: 
10790: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10791:   for (key in D) D_is_set[key] = 1
10792:   FS = ""
10793: }
10794: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10795:   line = \$ 0
10796:   split(line, arg, " ")
10797:   if (arg[1] == "#") {
10798:     defundef = arg[2]
10799:     mac1 = arg[3]
10800:   } else {
10801:     defundef = substr(arg[1], 2)
10802:     mac1 = arg[2]
10803:   }
10804:   split(mac1, mac2, "(") #)
10805:   macro = mac2[1]
10806:   prefix = substr(line, 1, index(line, defundef) - 1)
10807:   if (D_is_set[macro]) {
10808:     # Preserve the white space surrounding the "#".
10809:     print prefix "define", macro P[macro] D[macro]
10810:     next
10811:   } else {
10812:     # Replace #undef with comments.  This is necessary, for example,
10813:     # in the case of _POSIX_SOURCE, which is predefined and required
10814:     # on some systems where configure will not decide to define it.
10815:     if (defundef == "undef") {
10816:       print "/*", prefix defundef, macro, "*/"
10817:       next
10818:     }
10819:   }
10820: }
10821: { print }
10822: _ACAWK
10823: _ACEOF
10824: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10825:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10826: fi # test -n "$CONFIG_HEADERS"
10827: 
10828: 
10829: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10830: shift
10831: for ac_tag
10832: do
10833:   case $ac_tag in
10834:   :[FHLC]) ac_mode=$ac_tag; continue;;
10835:   esac
10836:   case $ac_mode$ac_tag in
10837:   :[FHL]*:*);;
10838:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10839:   :[FH]-) ac_tag=-:-;;
10840:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10841:   esac
10842:   ac_save_IFS=$IFS
10843:   IFS=:
10844:   set x $ac_tag
10845:   IFS=$ac_save_IFS
10846:   shift
10847:   ac_file=$1
10848:   shift
10849: 
10850:   case $ac_mode in
10851:   :L) ac_source=$1;;
10852:   :[FH])
10853:     ac_file_inputs=
10854:     for ac_f
10855:     do
10856:       case $ac_f in
10857:       -) ac_f="$ac_tmp/stdin";;
10858:       *) # Look for the file first in the build tree, then in the source tree
10859:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10860:      # because $ac_f cannot contain `:'.
10861:      test -f "$ac_f" ||
10862:        case $ac_f in
10863:        [\\/$]*) false;;
10864:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10865:        esac ||
10866:        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10867:       esac
10868:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10869:       as_fn_append ac_file_inputs " '$ac_f'"
10870:     done
10871: 
10872:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10873:     # use $as_me), people would be surprised to read:
10874:     #    /* config.h.  Generated by config.status.  */
10875:     configure_input='Generated from '`
10876:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10877:     `' by configure.'
10878:     if test x"$ac_file" != x-; then
10879:       configure_input="$ac_file.  $configure_input"
10880:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10881: $as_echo "$as_me: creating $ac_file" >&6;}
10882:     fi
10883:     # Neutralize special characters interpreted by sed in replacement strings.
10884:     case $configure_input in #(
10885:     *\&* | *\|* | *\\* )
10886:        ac_sed_conf_input=`$as_echo "$configure_input" |
10887:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10888:     *) ac_sed_conf_input=$configure_input;;
10889:     esac
10890: 
10891:     case $ac_tag in
10892:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
10893:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10894:     esac
10895:     ;;
10896:   esac
10897: 
10898:   ac_dir=`$as_dirname -- "$ac_file" ||
10899: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10900:      X"$ac_file" : 'X\(//\)[^/]' \| \
10901:      X"$ac_file" : 'X\(//\)$' \| \
10902:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10903: $as_echo X"$ac_file" |
10904:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10905:         s//\1/
10906:         q
10907:       }
10908:       /^X\(\/\/\)[^/].*/{
10909:         s//\1/
10910:         q
10911:       }
10912:       /^X\(\/\/\)$/{
10913:         s//\1/
10914:         q
10915:       }
10916:       /^X\(\/\).*/{
10917:         s//\1/
10918:         q
10919:       }
10920:       s/.*/./; q'`
10921:   as_dir="$ac_dir"; as_fn_mkdir_p
10922:   ac_builddir=.
10923: 
10924: case "$ac_dir" in
10925: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10926: *)
10927:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10928:   # A ".." for each directory in $ac_dir_suffix.
10929:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10930:   case $ac_top_builddir_sub in
10931:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10932:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10933:   esac ;;
10934: esac
10935: ac_abs_top_builddir=$ac_pwd
10936: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10937: # for backward compatibility:
10938: ac_top_builddir=$ac_top_build_prefix
10939: 
10940: case $srcdir in
10941:   .)  # We are building in place.
10942:     ac_srcdir=.
10943:     ac_top_srcdir=$ac_top_builddir_sub
10944:     ac_abs_top_srcdir=$ac_pwd ;;
10945:   [\\/]* | ?:[\\/]* )  # Absolute name.
10946:     ac_srcdir=$srcdir$ac_dir_suffix;
10947:     ac_top_srcdir=$srcdir
10948:     ac_abs_top_srcdir=$srcdir ;;
10949:   *) # Relative name.
10950:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10951:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10952:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10953: esac
10954: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10955: 
10956: 
10957:   case $ac_mode in
10958:   :F)
10959:   #
10960:   # CONFIG_FILE
10961:   #
10962: 
10963:   case $INSTALL in
10964:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10965:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10966:   esac
10967:   ac_MKDIR_P=$MKDIR_P
10968:   case $MKDIR_P in
10969:   [\\/$]* | ?:[\\/]* ) ;;
10970:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10971:   esac
10972: _ACEOF
10973: 
10974: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10975: # If the template does not know about datarootdir, expand it.
10976: # FIXME: This hack should be removed a few years after 2.60.
10977: ac_datarootdir_hack=; ac_datarootdir_seen=
10978: ac_sed_dataroot='
10979: /datarootdir/ {
10980:   p
10981:   q
10982: }
10983: /@datadir@/p
10984: /@docdir@/p
10985: /@infodir@/p
10986: /@localedir@/p
10987: /@mandir@/p'
10988: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10989: *datarootdir*) ac_datarootdir_seen=yes;;
10990: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10991:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10992: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10993: _ACEOF
10994: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10995:   ac_datarootdir_hack='
10996:   s&@datadir@&$datadir&g
10997:   s&@docdir@&$docdir&g
10998:   s&@infodir@&$infodir&g
10999:   s&@localedir@&$localedir&g
11000:   s&@mandir@&$mandir&g
11001:   s&\\\${datarootdir}&$datarootdir&g' ;;
11002: esac
11003: _ACEOF
11004: 
11005: # Neutralize VPATH when `$srcdir' = `.'.
11006: # Shell code in configure.ac might set extrasub.
11007: # FIXME: do we really want to maintain this feature?
11008: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11009: ac_sed_extra="$ac_vpsub
11010: $extrasub
11011: _ACEOF
11012: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11013: :t
11014: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11015: s|@configure_input@|$ac_sed_conf_input|;t t
11016: s&@top_builddir@&$ac_top_builddir_sub&;t t
11017: s&@top_build_prefix@&$ac_top_build_prefix&;t t
11018: s&@srcdir@&$ac_srcdir&;t t
11019: s&@abs_srcdir@&$ac_abs_srcdir&;t t
11020: s&@top_srcdir@&$ac_top_srcdir&;t t
11021: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11022: s&@builddir@&$ac_builddir&;t t
11023: s&@abs_builddir@&$ac_abs_builddir&;t t
11024: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11025: s&@INSTALL@&$ac_INSTALL&;t t
11026: s&@MKDIR_P@&$ac_MKDIR_P&;t t
11027: $ac_datarootdir_hack
11028: "
11029: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
11030:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11031: 
11032: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11033:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
11034:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
11035:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
11036:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11037: which seems to be undefined.  Please make sure it is defined" >&5
11038: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11039: which seems to be undefined.  Please make sure it is defined" >&2;}
11040: 
11041:   rm -f "$ac_tmp/stdin"
11042:   case $ac_file in
11043:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
11044:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
11045:   esac \
11046:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11047:  ;;
11048:   :H)
11049:   #
11050:   # CONFIG_HEADER
11051:   #
11052:   if test x"$ac_file" != x-; then
11053:     {
11054:       $as_echo "/* $configure_input  */" \
11055:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
11056:     } >"$ac_tmp/config.h" \
11057:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11058:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
11059:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11060: $as_echo "$as_me: $ac_file is unchanged" >&6;}
11061:     else
11062:       rm -f "$ac_file"
11063:       mv "$ac_tmp/config.h" "$ac_file" \
11064:     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11065:     fi
11066:   else
11067:     $as_echo "/* $configure_input  */" \
11068:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
11069:       || as_fn_error $? "could not create -" "$LINENO" 5
11070:   fi
11071: # Compute "$ac_file"'s index in $config_headers.
11072: _am_arg="$ac_file"
11073: _am_stamp_count=1
11074: for _am_header in $config_headers :; do
11075:   case $_am_header in
11076:     $_am_arg | $_am_arg:* )
11077:       break ;;
11078:     * )
11079:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11080:   esac
11081: done
11082: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11083: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11084:      X"$_am_arg" : 'X\(//\)[^/]' \| \
11085:      X"$_am_arg" : 'X\(//\)$' \| \
11086:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11087: $as_echo X"$_am_arg" |
11088:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11089:         s//\1/
11090:         q
11091:       }
11092:       /^X\(\/\/\)[^/].*/{
11093:         s//\1/
11094:         q
11095:       }
11096:       /^X\(\/\/\)$/{
11097:         s//\1/
11098:         q
11099:       }
11100:       /^X\(\/\).*/{
11101:         s//\1/
11102:         q
11103:       }
11104:       s/.*/./; q'`/stamp-h$_am_stamp_count
11105:  ;;
11106: 
11107:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11108: $as_echo "$as_me: executing $ac_file commands" >&6;}
11109:  ;;
11110:   esac
11111: 
11112: 
11113:   case $ac_file$ac_mode in
11114:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
11115:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
11116:   # are listed without --file.  Let's play safe and only enable the eval
11117:   # if we detect the quoting.
11118:   case $CONFIG_FILES in
11119:   *\'*) eval set x "$CONFIG_FILES" ;;
11120:   *)   set x $CONFIG_FILES ;;
11121:   esac
11122:   shift
11123:   for mf
11124:   do
11125:     # Strip MF so we end up with the name of the file.
11126:     mf=`echo "$mf" | sed -e 's/:.*$//'`
11127:     # Check whether this is an Automake generated Makefile or not.
11128:     # We used to match only the files named `Makefile.in', but
11129:     # some people rename them; so instead we look at the file content.
11130:     # Grep'ing the first line is not enough: some people post-process
11131:     # each Makefile.in and add a new line on top of each file to say so.
11132:     # Grep'ing the whole file is not good either: AIX grep has a line
11133:     # limit of 2048, but all sed's we know have understand at least 4000.
11134:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11135:       dirpart=`$as_dirname -- "$mf" ||
11136: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11137:      X"$mf" : 'X\(//\)[^/]' \| \
11138:      X"$mf" : 'X\(//\)$' \| \
11139:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11140: $as_echo X"$mf" |
11141:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11142:         s//\1/
11143:         q
11144:       }
11145:       /^X\(\/\/\)[^/].*/{
11146:         s//\1/
11147:         q
11148:       }
11149:       /^X\(\/\/\)$/{
11150:         s//\1/
11151:         q
11152:       }
11153:       /^X\(\/\).*/{
11154:         s//\1/
11155:         q
11156:       }
11157:       s/.*/./; q'`
11158:     else
11159:       continue
11160:     fi
11161:     # Extract the definition of DEPDIR, am__include, and am__quote
11162:     # from the Makefile without running `make'.
11163:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11164:     test -z "$DEPDIR" && continue
11165:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
11166:     test -z "am__include" && continue
11167:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11168:     # When using ansi2knr, U may be empty or an underscore; expand it
11169:     U=`sed -n 's/^U = //p' < "$mf"`
11170:     # Find all dependency output files, they are included files with
11171:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
11172:     # simplest approach to changing $(DEPDIR) to its actual value in the
11173:     # expansion.
11174:     for file in `sed -n "
11175:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11176:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11177:       # Make sure the directory exists.
11178:       test -f "$dirpart/$file" && continue
11179:       fdir=`$as_dirname -- "$file" ||
11180: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11181:      X"$file" : 'X\(//\)[^/]' \| \
11182:      X"$file" : 'X\(//\)$' \| \
11183:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11184: $as_echo X"$file" |
11185:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11186:         s//\1/
11187:         q
11188:       }
11189:       /^X\(\/\/\)[^/].*/{
11190:         s//\1/
11191:         q
11192:       }
11193:       /^X\(\/\/\)$/{
11194:         s//\1/
11195:         q
11196:       }
11197:       /^X\(\/\).*/{
11198:         s//\1/
11199:         q
11200:       }
11201:       s/.*/./; q'`
11202:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
11203:       # echo "creating $dirpart/$file"
11204:       echo '# dummy' > "$dirpart/$file"
11205:     done
11206:   done
11207: }
11208:  ;;
11209: 
11210:   esac
11211: done # for ac_tag
11212: 
11213: 
11214: as_fn_exit 0
11215: _ACEOF
11216: ac_clean_files=$ac_clean_files_save
11217: 
11218: test $ac_write_fail = 0 ||
11219:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11220: 
11221: 
11222: # configure is writing to config.log, and then calls config.status.
11223: # config.status does its own redirection, appending to config.log.
11224: # Unfortunately, on DOS this fails, as config.log is still kept open
11225: # by configure, so config.status won't be able to write to it; its
11226: # output is simply discarded.  So we exec the FD to /dev/null,
11227: # effectively closing config.log, so it can be properly (re)opened and
11228: # appended to by config.status.  When coming back to configure, we
11229: # need to make the FD available again.
11230: if test "$no_create" != yes; then
11231:   ac_cs_success=:
11232:   ac_config_status_args=
11233:   test "$silent" = yes &&
11234:     ac_config_status_args="$ac_config_status_args --quiet"
11235:   exec 5>/dev/null
11236:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11237:   exec 5>>config.log
11238:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11239:   # would make configure fail if this is the last instruction.
11240:   $ac_cs_success || as_fn_exit 1
11241: fi
11242: 
11243: #
11244: # CONFIG_SUBDIRS section.
11245: #
11246: if test "$no_recursion" != yes; then
11247: 
11248:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
11249:   # so they do not pile up.
11250:   ac_sub_configure_args=
11251:   ac_prev=
11252:   eval "set x $ac_configure_args"
11253:   shift
11254:   for ac_arg
11255:   do
11256:     if test -n "$ac_prev"; then
11257:       ac_prev=
11258:       continue
11259:     fi
11260:     case $ac_arg in
11261:     -cache-file | --cache-file | --cache-fil | --cache-fi \
11262:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
11263:       ac_prev=cache_file ;;
11264:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
11265:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
11266:     | --c=*)
11267:       ;;
11268:     --config-cache | -C)
11269:       ;;
11270:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11271:       ac_prev=srcdir ;;
11272:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11273:       ;;
11274:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11275:       ac_prev=prefix ;;
11276:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11277:       ;;
11278:     --disable-option-checking)
11279:       ;;
11280:     *)
11281:       case $ac_arg in
11282:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11283:       esac
11284:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
11285:     esac
11286:   done
11287: 
11288:   # Always prepend --prefix to ensure using the same prefix
11289:   # in subdir configurations.
11290:   ac_arg="--prefix=$prefix"
11291:   case $ac_arg in
11292:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11293:   esac
11294:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
11295: 
11296:   # Pass --silent
11297:   if test "$silent" = yes; then
11298:     ac_sub_configure_args="--silent $ac_sub_configure_args"
11299:   fi
11300: 
11301:   # Always prepend --disable-option-checking to silence warnings, since
11302:   # different subdirs can have different --enable and --with options.
11303:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
11304: 
11305:   ac_popdir=`pwd`
11306:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
11307: 
11308:     # Do not complain, so a configure script can configure whichever
11309:     # parts of a large source tree are present.
11310:     test -d "$srcdir/$ac_dir" || continue
11311: 
11312:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11313:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
11314:     $as_echo "$ac_msg" >&6
11315:     as_dir="$ac_dir"; as_fn_mkdir_p
11316:     ac_builddir=.
11317: 
11318: case "$ac_dir" in
11319: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11320: *)
11321:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11322:   # A ".." for each directory in $ac_dir_suffix.
11323:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11324:   case $ac_top_builddir_sub in
11325:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11326:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11327:   esac ;;
11328: esac
11329: ac_abs_top_builddir=$ac_pwd
11330: ac_abs_builddir=$ac_pwd$ac_dir_suffix
11331: # for backward compatibility:
11332: ac_top_builddir=$ac_top_build_prefix
11333: 
11334: case $srcdir in
11335:   .)  # We are building in place.
11336:     ac_srcdir=.
11337:     ac_top_srcdir=$ac_top_builddir_sub
11338:     ac_abs_top_srcdir=$ac_pwd ;;
11339:   [\\/]* | ?:[\\/]* )  # Absolute name.
11340:     ac_srcdir=$srcdir$ac_dir_suffix;
11341:     ac_top_srcdir=$srcdir
11342:     ac_abs_top_srcdir=$srcdir ;;
11343:   *) # Relative name.
11344:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11345:     ac_top_srcdir=$ac_top_build_prefix$srcdir
11346:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11347: esac
11348: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11349: 
11350: 
11351:     cd "$ac_dir"
11352: 
11353:     # Check for guested configure; otherwise get Cygnus style configure.
11354:     if test -f "$ac_srcdir/configure.gnu"; then
11355:       ac_sub_configure=$ac_srcdir/configure.gnu
11356:     elif test -f "$ac_srcdir/configure"; then
11357:       ac_sub_configure=$ac_srcdir/configure
11358:     elif test -f "$ac_srcdir/configure.in"; then
11359:       # This should be Cygnus configure.
11360:       ac_sub_configure=$ac_aux_dir/configure
11361:     else
11362:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11363: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11364:       ac_sub_configure=
11365:     fi
11366: 
11367:     # The recursion is here.
11368:     if test -n "$ac_sub_configure"; then
11369:       # Make the cache file name correct relative to the subdirectory.
11370:       case $cache_file in
11371:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11372:       *) # Relative name.
11373:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11374:       esac
11375: 
11376:       { $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
11377: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11378:       # The eval makes quoting arguments work.
11379:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11380:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11381:     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11382:     fi
11383: 
11384:     cd "$ac_popdir"
11385:   done
11386: fi
11387: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11388:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11389: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11390: fi
11391: 

CVSweb interface <joel.bertrand@systella.fr>