File:  [local] / rpl / Attic / configure
Revision 1.71: download - view: text, annotated - select for diffs - revision graph
Sat Aug 6 10:32:12 2011 UTC (12 years, 9 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction des bugs de gpp.

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.68 for rpl 4.1.2.
    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.2'
  561: PACKAGE_STRING='rpl 4.1.2'
  562: PACKAGE_BUGREPORT=''
  563: PACKAGE_URL=''
  564: 
  565: ac_default_prefix=/usr/local
  566: # Factoring default headers for most tests.
  567: ac_includes_default="\
  568: #include <stdio.h>
  569: #ifdef HAVE_SYS_TYPES_H
  570: # include <sys/types.h>
  571: #endif
  572: #ifdef HAVE_SYS_STAT_H
  573: # include <sys/stat.h>
  574: #endif
  575: #ifdef STDC_HEADERS
  576: # include <stdlib.h>
  577: # include <stddef.h>
  578: #else
  579: # ifdef HAVE_STDLIB_H
  580: #  include <stdlib.h>
  581: # endif
  582: #endif
  583: #ifdef HAVE_STRING_H
  584: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  585: #  include <memory.h>
  586: # endif
  587: # include <string.h>
  588: #endif
  589: #ifdef HAVE_STRINGS_H
  590: # include <strings.h>
  591: #endif
  592: #ifdef HAVE_INTTYPES_H
  593: # include <inttypes.h>
  594: #endif
  595: #ifdef HAVE_STDINT_H
  596: # include <stdint.h>
  597: #endif
  598: #ifdef HAVE_UNISTD_H
  599: # include <unistd.h>
  600: #endif"
  601: 
  602: enable_option_checking=no
  603: ac_subst_vars='am__EXEEXT_FALSE
  604: am__EXEEXT_TRUE
  605: LTLIBOBJS
  606: LIBOBJS
  607: GIAC
  608: PARI
  609: COCOA
  610: NTL
  611: MPFR
  612: GMP
  613: MALLOC
  614: EXT_SQL
  615: DATE_FR
  616: FINAL_ENCODING
  617: OPENSSL
  618: SQLITE
  619: ICONV
  620: FILE
  621: GNUPLOT
  622: GPP
  623: GSL
  624: UNITS
  625: READLINE
  626: NCURSES
  627: BSH_PATH
  628: BROKEN_SIGINFO
  629: IPV6
  630: SEMUN
  631: IPCS_SYSV
  632: SEMAPHORES_NOMMES
  633: NESTED_FUNCTIONS
  634: EXPORT_DYNAMIC
  635: C_STANDARD
  636: OS
  637: HOST
  638: GNUPLOT_COMPILATION
  639: subdirs
  640: EGREP
  641: GREP
  642: libPgSQLlib
  643: libPgSQLinc
  644: POSTGRESQL_SUPPORT
  645: libMySQLlib
  646: libMySQLinc
  647: MYSQL_SUPPORT
  648: DATE
  649: includeX
  650: libX
  651: MOTIF_SUPPORT
  652: DEBUG
  653: EXPERIMENTAL_CODE
  654: VIM_SUPPORT
  655: POSTSCRIPT_SUPPORT
  656: FORCE_GNUPLOT_PATH
  657: GNUPLOT_SUPPORT
  658: VIM
  659: GNUPLOT_P
  660: GV
  661: GS
  662: DVIPS
  663: LATEX
  664: TEX
  665: SED
  666: RANLIB
  667: LN_S
  668: RUNPATH
  669: PROFILAGE
  670: LIBRPLCAS
  671: RPLCAS
  672: ABI
  673: X_EXTRA_LIBS
  674: X_LIBS
  675: X_PRE_LIBS
  676: X_CFLAGS
  677: CPP
  678: XMKMF
  679: ac_ct_FC
  680: FCFLAGS
  681: FC
  682: ac_ct_F77
  683: FFLAGS
  684: F77
  685: am__fastdepCXX_FALSE
  686: am__fastdepCXX_TRUE
  687: CXXDEPMODE
  688: ac_ct_CXX
  689: CXXFLAGS
  690: CXX
  691: am__fastdepCC_FALSE
  692: am__fastdepCC_TRUE
  693: CCDEPMODE
  694: AMDEPBACKSLASH
  695: AMDEP_FALSE
  696: AMDEP_TRUE
  697: am__quote
  698: am__include
  699: DEPDIR
  700: OBJEXT
  701: EXEEXT
  702: ac_ct_CC
  703: CPPFLAGS
  704: LDFLAGS
  705: CFLAGS
  706: CC
  707: am__untar
  708: am__tar
  709: AMTAR
  710: am__leading_dot
  711: SET_MAKE
  712: AWK
  713: mkdir_p
  714: MKDIR_P
  715: INSTALL_STRIP_PROGRAM
  716: STRIP
  717: install_sh
  718: MAKEINFO
  719: AUTOHEADER
  720: AUTOMAKE
  721: AUTOCONF
  722: ACLOCAL
  723: VERSION
  724: PACKAGE
  725: CYGPATH_W
  726: am__isrc
  727: INSTALL_DATA
  728: INSTALL_SCRIPT
  729: INSTALL_PROGRAM
  730: target_os
  731: target_vendor
  732: target_cpu
  733: target
  734: host_os
  735: host_vendor
  736: host_cpu
  737: host
  738: build_os
  739: build_vendor
  740: build_cpu
  741: build
  742: target_alias
  743: host_alias
  744: build_alias
  745: LIBS
  746: ECHO_T
  747: ECHO_N
  748: ECHO_C
  749: DEFS
  750: mandir
  751: localedir
  752: libdir
  753: psdir
  754: pdfdir
  755: dvidir
  756: htmldir
  757: infodir
  758: docdir
  759: oldincludedir
  760: includedir
  761: localstatedir
  762: sharedstatedir
  763: sysconfdir
  764: datadir
  765: datarootdir
  766: libexecdir
  767: sbindir
  768: bindir
  769: program_transform_name
  770: prefix
  771: exec_prefix
  772: PACKAGE_URL
  773: PACKAGE_BUGREPORT
  774: PACKAGE_STRING
  775: PACKAGE_VERSION
  776: PACKAGE_TARNAME
  777: PACKAGE_NAME
  778: PATH_SEPARATOR
  779: SHELL'
  780: ac_subst_files=''
  781: ac_user_opts='
  782: enable_option_checking
  783: enable_dependency_tracking
  784: with_x
  785: with_32bits_abi
  786: with_64bits_abi
  787: with_rplcas
  788: enable_optimization
  789: enable_sysv_semaphores
  790: enable_full_static
  791: enable_final_encoding
  792: enable_tex
  793: enable_vim
  794: enable_embedded_gnuplot
  795: enable_gnuplot
  796: enable_motif
  797: enable_experimental
  798: enable_debug
  799: enable_profile
  800: enable_final_run_path
  801: with_mysql
  802: with_postgresql
  803: with_bourne_shell
  804: with_openssl_arch
  805: '
  806:       ac_precious_vars='build_alias
  807: host_alias
  808: target_alias
  809: CC
  810: CFLAGS
  811: LDFLAGS
  812: LIBS
  813: CPPFLAGS
  814: CXX
  815: CXXFLAGS
  816: CCC
  817: F77
  818: FFLAGS
  819: FC
  820: FCFLAGS
  821: XMKMF
  822: CPP'
  823: ac_subdirs_all='tools/$GNUPLOT
  824: tools/$NCURSES
  825: tools/$READLINE
  826: tools/$GSL
  827: tools/$GPP
  828: tools/$FILE
  829: tools/$ICONV
  830: tools/$SQLITE
  831: tools/$UNITS'
  832: 
  833: # Initialize some variables set by options.
  834: ac_init_help=
  835: ac_init_version=false
  836: ac_unrecognized_opts=
  837: ac_unrecognized_sep=
  838: # The variables have the same names as the options, with
  839: # dashes changed to underlines.
  840: cache_file=/dev/null
  841: exec_prefix=NONE
  842: no_create=
  843: no_recursion=
  844: prefix=NONE
  845: program_prefix=NONE
  846: program_suffix=NONE
  847: program_transform_name=s,x,x,
  848: silent=
  849: site=
  850: srcdir=
  851: verbose=
  852: x_includes=NONE
  853: x_libraries=NONE
  854: 
  855: # Installation directory options.
  856: # These are left unexpanded so users can "make install exec_prefix=/foo"
  857: # and all the variables that are supposed to be based on exec_prefix
  858: # by default will actually change.
  859: # Use braces instead of parens because sh, perl, etc. also accept them.
  860: # (The list follows the same order as the GNU Coding Standards.)
  861: bindir='${exec_prefix}/bin'
  862: sbindir='${exec_prefix}/sbin'
  863: libexecdir='${exec_prefix}/libexec'
  864: datarootdir='${prefix}/share'
  865: datadir='${datarootdir}'
  866: sysconfdir='${prefix}/etc'
  867: sharedstatedir='${prefix}/com'
  868: localstatedir='${prefix}/var'
  869: includedir='${prefix}/include'
  870: oldincludedir='/usr/include'
  871: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  872: infodir='${datarootdir}/info'
  873: htmldir='${docdir}'
  874: dvidir='${docdir}'
  875: pdfdir='${docdir}'
  876: psdir='${docdir}'
  877: libdir='${exec_prefix}/lib'
  878: localedir='${datarootdir}/locale'
  879: mandir='${datarootdir}/man'
  880: 
  881: ac_prev=
  882: ac_dashdash=
  883: for ac_option
  884: do
  885:   # If the previous option needs an argument, assign it.
  886:   if test -n "$ac_prev"; then
  887:     eval $ac_prev=\$ac_option
  888:     ac_prev=
  889:     continue
  890:   fi
  891: 
  892:   case $ac_option in
  893:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  894:   *=)   ac_optarg= ;;
  895:   *)    ac_optarg=yes ;;
  896:   esac
  897: 
  898:   # Accept the important Cygnus configure options, so we can diagnose typos.
  899: 
  900:   case $ac_dashdash$ac_option in
  901:   --)
  902:     ac_dashdash=yes ;;
  903: 
  904:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  905:     ac_prev=bindir ;;
  906:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  907:     bindir=$ac_optarg ;;
  908: 
  909:   -build | --build | --buil | --bui | --bu)
  910:     ac_prev=build_alias ;;
  911:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  912:     build_alias=$ac_optarg ;;
  913: 
  914:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  915:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  916:     ac_prev=cache_file ;;
  917:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  918:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  919:     cache_file=$ac_optarg ;;
  920: 
  921:   --config-cache | -C)
  922:     cache_file=config.cache ;;
  923: 
  924:   -datadir | --datadir | --datadi | --datad)
  925:     ac_prev=datadir ;;
  926:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  927:     datadir=$ac_optarg ;;
  928: 
  929:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  930:   | --dataroo | --dataro | --datar)
  931:     ac_prev=datarootdir ;;
  932:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  933:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  934:     datarootdir=$ac_optarg ;;
  935: 
  936:   -disable-* | --disable-*)
  937:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  938:     # Reject names that are not valid shell variable names.
  939:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  940:       as_fn_error $? "invalid feature name: $ac_useropt"
  941:     ac_useropt_orig=$ac_useropt
  942:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  943:     case $ac_user_opts in
  944:       *"
  945: "enable_$ac_useropt"
  946: "*) ;;
  947:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  948:      ac_unrecognized_sep=', ';;
  949:     esac
  950:     eval enable_$ac_useropt=no ;;
  951: 
  952:   -docdir | --docdir | --docdi | --doc | --do)
  953:     ac_prev=docdir ;;
  954:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  955:     docdir=$ac_optarg ;;
  956: 
  957:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  958:     ac_prev=dvidir ;;
  959:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  960:     dvidir=$ac_optarg ;;
  961: 
  962:   -enable-* | --enable-*)
  963:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  964:     # Reject names that are not valid shell variable names.
  965:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  966:       as_fn_error $? "invalid feature name: $ac_useropt"
  967:     ac_useropt_orig=$ac_useropt
  968:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  969:     case $ac_user_opts in
  970:       *"
  971: "enable_$ac_useropt"
  972: "*) ;;
  973:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  974:      ac_unrecognized_sep=', ';;
  975:     esac
  976:     eval enable_$ac_useropt=\$ac_optarg ;;
  977: 
  978:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  979:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  980:   | --exec | --exe | --ex)
  981:     ac_prev=exec_prefix ;;
  982:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  983:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  984:   | --exec=* | --exe=* | --ex=*)
  985:     exec_prefix=$ac_optarg ;;
  986: 
  987:   -gas | --gas | --ga | --g)
  988:     # Obsolete; use --with-gas.
  989:     with_gas=yes ;;
  990: 
  991:   -help | --help | --hel | --he | -h)
  992:     ac_init_help=long ;;
  993:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  994:     ac_init_help=recursive ;;
  995:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  996:     ac_init_help=short ;;
  997: 
  998:   -host | --host | --hos | --ho)
  999:     ac_prev=host_alias ;;
 1000:   -host=* | --host=* | --hos=* | --ho=*)
 1001:     host_alias=$ac_optarg ;;
 1002: 
 1003:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1004:     ac_prev=htmldir ;;
 1005:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1006:   | --ht=*)
 1007:     htmldir=$ac_optarg ;;
 1008: 
 1009:   -includedir | --includedir | --includedi | --included | --include \
 1010:   | --includ | --inclu | --incl | --inc)
 1011:     ac_prev=includedir ;;
 1012:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1013:   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1014:     includedir=$ac_optarg ;;
 1015: 
 1016:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1017:     ac_prev=infodir ;;
 1018:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1019:     infodir=$ac_optarg ;;
 1020: 
 1021:   -libdir | --libdir | --libdi | --libd)
 1022:     ac_prev=libdir ;;
 1023:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1024:     libdir=$ac_optarg ;;
 1025: 
 1026:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1027:   | --libexe | --libex | --libe)
 1028:     ac_prev=libexecdir ;;
 1029:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1030:   | --libexe=* | --libex=* | --libe=*)
 1031:     libexecdir=$ac_optarg ;;
 1032: 
 1033:   -localedir | --localedir | --localedi | --localed | --locale)
 1034:     ac_prev=localedir ;;
 1035:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1036:     localedir=$ac_optarg ;;
 1037: 
 1038:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1039:   | --localstate | --localstat | --localsta | --localst | --locals)
 1040:     ac_prev=localstatedir ;;
 1041:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1042:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1043:     localstatedir=$ac_optarg ;;
 1044: 
 1045:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1046:     ac_prev=mandir ;;
 1047:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1048:     mandir=$ac_optarg ;;
 1049: 
 1050:   -nfp | --nfp | --nf)
 1051:     # Obsolete; use --without-fp.
 1052:     with_fp=no ;;
 1053: 
 1054:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1055:   | --no-cr | --no-c | -n)
 1056:     no_create=yes ;;
 1057: 
 1058:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1059:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1060:     no_recursion=yes ;;
 1061: 
 1062:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1063:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1064:   | --oldin | --oldi | --old | --ol | --o)
 1065:     ac_prev=oldincludedir ;;
 1066:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1067:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1068:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1069:     oldincludedir=$ac_optarg ;;
 1070: 
 1071:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1072:     ac_prev=prefix ;;
 1073:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1074:     prefix=$ac_optarg ;;
 1075: 
 1076:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1077:   | --program-pre | --program-pr | --program-p)
 1078:     ac_prev=program_prefix ;;
 1079:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1080:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1081:     program_prefix=$ac_optarg ;;
 1082: 
 1083:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1084:   | --program-suf | --program-su | --program-s)
 1085:     ac_prev=program_suffix ;;
 1086:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1087:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1088:     program_suffix=$ac_optarg ;;
 1089: 
 1090:   -program-transform-name | --program-transform-name \
 1091:   | --program-transform-nam | --program-transform-na \
 1092:   | --program-transform-n | --program-transform- \
 1093:   | --program-transform | --program-transfor \
 1094:   | --program-transfo | --program-transf \
 1095:   | --program-trans | --program-tran \
 1096:   | --progr-tra | --program-tr | --program-t)
 1097:     ac_prev=program_transform_name ;;
 1098:   -program-transform-name=* | --program-transform-name=* \
 1099:   | --program-transform-nam=* | --program-transform-na=* \
 1100:   | --program-transform-n=* | --program-transform-=* \
 1101:   | --program-transform=* | --program-transfor=* \
 1102:   | --program-transfo=* | --program-transf=* \
 1103:   | --program-trans=* | --program-tran=* \
 1104:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1105:     program_transform_name=$ac_optarg ;;
 1106: 
 1107:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1108:     ac_prev=pdfdir ;;
 1109:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1110:     pdfdir=$ac_optarg ;;
 1111: 
 1112:   -psdir | --psdir | --psdi | --psd | --ps)
 1113:     ac_prev=psdir ;;
 1114:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1115:     psdir=$ac_optarg ;;
 1116: 
 1117:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1118:   | -silent | --silent | --silen | --sile | --sil)
 1119:     silent=yes ;;
 1120: 
 1121:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1122:     ac_prev=sbindir ;;
 1123:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1124:   | --sbi=* | --sb=*)
 1125:     sbindir=$ac_optarg ;;
 1126: 
 1127:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1128:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1129:   | --sharedst | --shareds | --shared | --share | --shar \
 1130:   | --sha | --sh)
 1131:     ac_prev=sharedstatedir ;;
 1132:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1133:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1134:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1135:   | --sha=* | --sh=*)
 1136:     sharedstatedir=$ac_optarg ;;
 1137: 
 1138:   -site | --site | --sit)
 1139:     ac_prev=site ;;
 1140:   -site=* | --site=* | --sit=*)
 1141:     site=$ac_optarg ;;
 1142: 
 1143:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1144:     ac_prev=srcdir ;;
 1145:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1146:     srcdir=$ac_optarg ;;
 1147: 
 1148:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1149:   | --syscon | --sysco | --sysc | --sys | --sy)
 1150:     ac_prev=sysconfdir ;;
 1151:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1152:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1153:     sysconfdir=$ac_optarg ;;
 1154: 
 1155:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1156:     ac_prev=target_alias ;;
 1157:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1158:     target_alias=$ac_optarg ;;
 1159: 
 1160:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1161:     verbose=yes ;;
 1162: 
 1163:   -version | --version | --versio | --versi | --vers | -V)
 1164:     ac_init_version=: ;;
 1165: 
 1166:   -with-* | --with-*)
 1167:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1168:     # Reject names that are not valid shell variable names.
 1169:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1170:       as_fn_error $? "invalid package name: $ac_useropt"
 1171:     ac_useropt_orig=$ac_useropt
 1172:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1173:     case $ac_user_opts in
 1174:       *"
 1175: "with_$ac_useropt"
 1176: "*) ;;
 1177:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1178:      ac_unrecognized_sep=', ';;
 1179:     esac
 1180:     eval with_$ac_useropt=\$ac_optarg ;;
 1181: 
 1182:   -without-* | --without-*)
 1183:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1184:     # Reject names that are not valid shell variable names.
 1185:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1186:       as_fn_error $? "invalid package name: $ac_useropt"
 1187:     ac_useropt_orig=$ac_useropt
 1188:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1189:     case $ac_user_opts in
 1190:       *"
 1191: "with_$ac_useropt"
 1192: "*) ;;
 1193:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1194:      ac_unrecognized_sep=', ';;
 1195:     esac
 1196:     eval with_$ac_useropt=no ;;
 1197: 
 1198:   --x)
 1199:     # Obsolete; use --with-x.
 1200:     with_x=yes ;;
 1201: 
 1202:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1203:   | --x-incl | --x-inc | --x-in | --x-i)
 1204:     ac_prev=x_includes ;;
 1205:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1206:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1207:     x_includes=$ac_optarg ;;
 1208: 
 1209:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1210:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1211:     ac_prev=x_libraries ;;
 1212:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1213:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1214:     x_libraries=$ac_optarg ;;
 1215: 
 1216:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1217: Try \`$0 --help' for more information"
 1218:     ;;
 1219: 
 1220:   *=*)
 1221:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1222:     # Reject names that are not valid shell variable names.
 1223:     case $ac_envvar in #(
 1224:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1225:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1226:     esac
 1227:     eval $ac_envvar=\$ac_optarg
 1228:     export $ac_envvar ;;
 1229: 
 1230:   *)
 1231:     # FIXME: should be removed in autoconf 3.0.
 1232:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1233:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1234:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1235:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1236:     ;;
 1237: 
 1238:   esac
 1239: done
 1240: 
 1241: if test -n "$ac_prev"; then
 1242:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1243:   as_fn_error $? "missing argument to $ac_option"
 1244: fi
 1245: 
 1246: if test -n "$ac_unrecognized_opts"; then
 1247:   case $enable_option_checking in
 1248:     no) ;;
 1249:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1250:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1251:   esac
 1252: fi
 1253: 
 1254: # Check all directory arguments for consistency.
 1255: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1256:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1257:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1258:         libdir localedir mandir
 1259: do
 1260:   eval ac_val=\$$ac_var
 1261:   # Remove trailing slashes.
 1262:   case $ac_val in
 1263:     */ )
 1264:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1265:       eval $ac_var=\$ac_val;;
 1266:   esac
 1267:   # Be sure to have absolute directory names.
 1268:   case $ac_val in
 1269:     [\\/$]* | ?:[\\/]* )  continue;;
 1270:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1271:   esac
 1272:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1273: done
 1274: 
 1275: # There might be people who depend on the old broken behavior: `$host'
 1276: # used to hold the argument of --host etc.
 1277: # FIXME: To remove some day.
 1278: build=$build_alias
 1279: host=$host_alias
 1280: target=$target_alias
 1281: 
 1282: # FIXME: To remove some day.
 1283: if test "x$host_alias" != x; then
 1284:   if test "x$build_alias" = x; then
 1285:     cross_compiling=maybe
 1286:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1287:     If a cross compiler is detected then cross compile mode will be used" >&2
 1288:   elif test "x$build_alias" != "x$host_alias"; then
 1289:     cross_compiling=yes
 1290:   fi
 1291: fi
 1292: 
 1293: ac_tool_prefix=
 1294: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1295: 
 1296: test "$silent" = yes && exec 6>/dev/null
 1297: 
 1298: 
 1299: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1300: ac_ls_di=`ls -di .` &&
 1301: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1302:   as_fn_error $? "working directory cannot be determined"
 1303: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1304:   as_fn_error $? "pwd does not report name of working directory"
 1305: 
 1306: 
 1307: # Find the source files, if location was not specified.
 1308: if test -z "$srcdir"; then
 1309:   ac_srcdir_defaulted=yes
 1310:   # Try the directory containing this script, then the parent directory.
 1311:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1312: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1313:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1314:      X"$as_myself" : 'X\(//\)$' \| \
 1315:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1316: $as_echo X"$as_myself" |
 1317:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1318:         s//\1/
 1319:         q
 1320:       }
 1321:       /^X\(\/\/\)[^/].*/{
 1322:         s//\1/
 1323:         q
 1324:       }
 1325:       /^X\(\/\/\)$/{
 1326:         s//\1/
 1327:         q
 1328:       }
 1329:       /^X\(\/\).*/{
 1330:         s//\1/
 1331:         q
 1332:       }
 1333:       s/.*/./; q'`
 1334:   srcdir=$ac_confdir
 1335:   if test ! -r "$srcdir/$ac_unique_file"; then
 1336:     srcdir=..
 1337:   fi
 1338: else
 1339:   ac_srcdir_defaulted=no
 1340: fi
 1341: if test ! -r "$srcdir/$ac_unique_file"; then
 1342:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1343:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1344: fi
 1345: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1346: ac_abs_confdir=`(
 1347:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1348:     pwd)`
 1349: # When building in place, set srcdir=.
 1350: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1351:   srcdir=.
 1352: fi
 1353: # Remove unnecessary trailing slashes from srcdir.
 1354: # Double slashes in file names in object file debugging info
 1355: # mess up M-x gdb in Emacs.
 1356: case $srcdir in
 1357: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1358: esac
 1359: for ac_var in $ac_precious_vars; do
 1360:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1361:   eval ac_env_${ac_var}_value=\$${ac_var}
 1362:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1363:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1364: done
 1365: 
 1366: #
 1367: # Report the --help message.
 1368: #
 1369: if test "$ac_init_help" = "long"; then
 1370:   # Omit some internal or obsolete options to make the list less imposing.
 1371:   # This message is too long to be a string in the A/UX 3.1 sh.
 1372:   cat <<_ACEOF
 1373: \`configure' configures rpl 4.1.2 to adapt to many kinds of systems.
 1374: 
 1375: Usage: $0 [OPTION]... [VAR=VALUE]...
 1376: 
 1377: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1378: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1379: 
 1380: Defaults for the options are specified in brackets.
 1381: 
 1382: Configuration:
 1383:   -h, --help              display this help and exit
 1384:       --help=short        display options specific to this package
 1385:       --help=recursive    display the short help of all the included packages
 1386:   -V, --version           display version information and exit
 1387:   -q, --quiet, --silent   do not print \`checking ...' messages
 1388:       --cache-file=FILE   cache test results in FILE [disabled]
 1389:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1390:   -n, --no-create         do not create output files
 1391:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1392: 
 1393: Installation directories:
 1394:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1395:                           [$ac_default_prefix]
 1396:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1397:                           [PREFIX]
 1398: 
 1399: By default, \`make install' will install all the files in
 1400: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1401: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1402: for instance \`--prefix=\$HOME'.
 1403: 
 1404: For better control, use the options below.
 1405: 
 1406: Fine tuning of the installation directories:
 1407:   --bindir=DIR            user executables [EPREFIX/bin]
 1408:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1409:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1410:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1411:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1412:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1413:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1414:   --includedir=DIR        C header files [PREFIX/include]
 1415:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1416:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1417:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1418:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1419:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1420:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1421:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1422:   --htmldir=DIR           html documentation [DOCDIR]
 1423:   --dvidir=DIR            dvi documentation [DOCDIR]
 1424:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1425:   --psdir=DIR             ps documentation [DOCDIR]
 1426: _ACEOF
 1427: 
 1428:   cat <<\_ACEOF
 1429: 
 1430: Program names:
 1431:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1432:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1433:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1434: 
 1435: X features:
 1436:   --x-includes=DIR    X include files are in DIR
 1437:   --x-libraries=DIR   X library files are in DIR
 1438: 
 1439: System types:
 1440:   --build=BUILD     configure for building on BUILD [guessed]
 1441:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1442:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1443: _ACEOF
 1444: fi
 1445: 
 1446: if test -n "$ac_init_help"; then
 1447:   case $ac_init_help in
 1448:      short | recursive ) echo "Configuration of rpl 4.1.2:";;
 1449:    esac
 1450:   cat <<\_ACEOF
 1451: 
 1452: Optional Features:
 1453:   --disable-option-checking  ignore unrecognized --enable/--with options
 1454:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1455:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1456:   --disable-dependency-tracking  speeds up one-time build
 1457:   --enable-dependency-tracking   do not reject slow dependency extractors
 1458:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1459:   --enable-sysv-ipcs      use SystemV IPC functions [default=no]
 1460:   --enable-full-static    build static RPL/2 engine [default=shared]
 1461:   --enable-final-encoding force final encoding [default=guessed]
 1462:   --enable-tex            provide the TeX support [default=guessed]
 1463:   --enable-vim            provide the vim support [default=guessed]
 1464:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1465:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1466:   --enable-motif          provide the Motif support [default=guessed]
 1467:   --enable-experimental   enable experimental code [default=no]
 1468:   --enable-debug          enable debug code [default=no]
 1469:   --enable-profile        enable profile code [default=no]
 1470:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1471: 
 1472: Optional Packages:
 1473:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1474:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1475:   --with-x                use the X Window System
 1476:   --with-32bits-abi       force 32bits ABI (multilib)
 1477:   --with-64bits-abi       force 64bits ABI (multilib)
 1478:   --with-rplcas           compile rplcas (default=no)
 1479:   --with-mysql=PATH         specify directory for installed mysql
 1480:   --with-postgresql=PATH    specify directory for installed postgresql
 1481:   --with-bourne-shell=PATH  specify path for OS/2 bourne shell
 1482:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
 1483: 
 1484: Some influential environment variables:
 1485:   CC          C compiler command
 1486:   CFLAGS      C compiler flags
 1487:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1488:               nonstandard directory <lib dir>
 1489:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1490:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1491:               you have headers in a nonstandard directory <include dir>
 1492:   CXX         C++ compiler command
 1493:   CXXFLAGS    C++ compiler flags
 1494:   F77         Fortran 77 compiler command
 1495:   FFLAGS      Fortran 77 compiler flags
 1496:   FC          Fortran compiler command
 1497:   FCFLAGS     Fortran compiler flags
 1498:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1499:   CPP         C preprocessor
 1500: 
 1501: Use these variables to override the choices made by `configure' or to help
 1502: it to find libraries and programs with nonstandard names/locations.
 1503: 
 1504: Report bugs to the package provider.
 1505: _ACEOF
 1506: ac_status=$?
 1507: fi
 1508: 
 1509: if test "$ac_init_help" = "recursive"; then
 1510:   # If there are subdirs, report their specific --help.
 1511:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1512:     test -d "$ac_dir" ||
 1513:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1514:       continue
 1515:     ac_builddir=.
 1516: 
 1517: case "$ac_dir" in
 1518: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1519: *)
 1520:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1521:   # A ".." for each directory in $ac_dir_suffix.
 1522:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1523:   case $ac_top_builddir_sub in
 1524:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1525:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1526:   esac ;;
 1527: esac
 1528: ac_abs_top_builddir=$ac_pwd
 1529: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1530: # for backward compatibility:
 1531: ac_top_builddir=$ac_top_build_prefix
 1532: 
 1533: case $srcdir in
 1534:   .)  # We are building in place.
 1535:     ac_srcdir=.
 1536:     ac_top_srcdir=$ac_top_builddir_sub
 1537:     ac_abs_top_srcdir=$ac_pwd ;;
 1538:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1539:     ac_srcdir=$srcdir$ac_dir_suffix;
 1540:     ac_top_srcdir=$srcdir
 1541:     ac_abs_top_srcdir=$srcdir ;;
 1542:   *) # Relative name.
 1543:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1544:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1545:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1546: esac
 1547: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1548: 
 1549:     cd "$ac_dir" || { ac_status=$?; continue; }
 1550:     # Check for guested configure.
 1551:     if test -f "$ac_srcdir/configure.gnu"; then
 1552:       echo &&
 1553:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1554:     elif test -f "$ac_srcdir/configure"; then
 1555:       echo &&
 1556:       $SHELL "$ac_srcdir/configure" --help=recursive
 1557:     else
 1558:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1559:     fi || ac_status=$?
 1560:     cd "$ac_pwd" || { ac_status=$?; break; }
 1561:   done
 1562: fi
 1563: 
 1564: test -n "$ac_init_help" && exit $ac_status
 1565: if $ac_init_version; then
 1566:   cat <<\_ACEOF
 1567: rpl configure 4.1.2
 1568: generated by GNU Autoconf 2.68
 1569: 
 1570: Copyright (C) 2010 Free Software Foundation, Inc.
 1571: This configure script is free software; the Free Software Foundation
 1572: gives unlimited permission to copy, distribute and modify it.
 1573: _ACEOF
 1574:   exit
 1575: fi
 1576: 
 1577: ## ------------------------ ##
 1578: ## Autoconf initialization. ##
 1579: ## ------------------------ ##
 1580: 
 1581: # ac_fn_c_try_compile LINENO
 1582: # --------------------------
 1583: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1584: ac_fn_c_try_compile ()
 1585: {
 1586:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1587:   rm -f conftest.$ac_objext
 1588:   if { { ac_try="$ac_compile"
 1589: case "(($ac_try" in
 1590:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1591:   *) ac_try_echo=$ac_try;;
 1592: esac
 1593: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1594: $as_echo "$ac_try_echo"; } >&5
 1595:   (eval "$ac_compile") 2>conftest.err
 1596:   ac_status=$?
 1597:   if test -s conftest.err; then
 1598:     grep -v '^ *+' conftest.err >conftest.er1
 1599:     cat conftest.er1 >&5
 1600:     mv -f conftest.er1 conftest.err
 1601:   fi
 1602:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1603:   test $ac_status = 0; } && {
 1604:      test -z "$ac_c_werror_flag" ||
 1605:      test ! -s conftest.err
 1606:        } && test -s conftest.$ac_objext; then :
 1607:   ac_retval=0
 1608: else
 1609:   $as_echo "$as_me: failed program was:" >&5
 1610: sed 's/^/| /' conftest.$ac_ext >&5
 1611: 
 1612:     ac_retval=1
 1613: fi
 1614:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1615:   as_fn_set_status $ac_retval
 1616: 
 1617: } # ac_fn_c_try_compile
 1618: 
 1619: # ac_fn_cxx_try_compile LINENO
 1620: # ----------------------------
 1621: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1622: ac_fn_cxx_try_compile ()
 1623: {
 1624:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1625:   rm -f conftest.$ac_objext
 1626:   if { { ac_try="$ac_compile"
 1627: case "(($ac_try" in
 1628:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1629:   *) ac_try_echo=$ac_try;;
 1630: esac
 1631: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1632: $as_echo "$ac_try_echo"; } >&5
 1633:   (eval "$ac_compile") 2>conftest.err
 1634:   ac_status=$?
 1635:   if test -s conftest.err; then
 1636:     grep -v '^ *+' conftest.err >conftest.er1
 1637:     cat conftest.er1 >&5
 1638:     mv -f conftest.er1 conftest.err
 1639:   fi
 1640:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1641:   test $ac_status = 0; } && {
 1642:      test -z "$ac_cxx_werror_flag" ||
 1643:      test ! -s conftest.err
 1644:        } && test -s conftest.$ac_objext; then :
 1645:   ac_retval=0
 1646: else
 1647:   $as_echo "$as_me: failed program was:" >&5
 1648: sed 's/^/| /' conftest.$ac_ext >&5
 1649: 
 1650:     ac_retval=1
 1651: fi
 1652:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1653:   as_fn_set_status $ac_retval
 1654: 
 1655: } # ac_fn_cxx_try_compile
 1656: 
 1657: # ac_fn_f77_try_compile LINENO
 1658: # ----------------------------
 1659: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1660: ac_fn_f77_try_compile ()
 1661: {
 1662:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1663:   rm -f conftest.$ac_objext
 1664:   if { { ac_try="$ac_compile"
 1665: case "(($ac_try" in
 1666:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1667:   *) ac_try_echo=$ac_try;;
 1668: esac
 1669: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1670: $as_echo "$ac_try_echo"; } >&5
 1671:   (eval "$ac_compile") 2>conftest.err
 1672:   ac_status=$?
 1673:   if test -s conftest.err; then
 1674:     grep -v '^ *+' conftest.err >conftest.er1
 1675:     cat conftest.er1 >&5
 1676:     mv -f conftest.er1 conftest.err
 1677:   fi
 1678:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1679:   test $ac_status = 0; } && {
 1680:      test -z "$ac_f77_werror_flag" ||
 1681:      test ! -s conftest.err
 1682:        } && test -s conftest.$ac_objext; then :
 1683:   ac_retval=0
 1684: else
 1685:   $as_echo "$as_me: failed program was:" >&5
 1686: sed 's/^/| /' conftest.$ac_ext >&5
 1687: 
 1688:     ac_retval=1
 1689: fi
 1690:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1691:   as_fn_set_status $ac_retval
 1692: 
 1693: } # ac_fn_f77_try_compile
 1694: 
 1695: # ac_fn_fc_try_compile LINENO
 1696: # ---------------------------
 1697: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1698: ac_fn_fc_try_compile ()
 1699: {
 1700:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1701:   rm -f conftest.$ac_objext
 1702:   if { { ac_try="$ac_compile"
 1703: case "(($ac_try" in
 1704:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1705:   *) ac_try_echo=$ac_try;;
 1706: esac
 1707: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1708: $as_echo "$ac_try_echo"; } >&5
 1709:   (eval "$ac_compile") 2>conftest.err
 1710:   ac_status=$?
 1711:   if test -s conftest.err; then
 1712:     grep -v '^ *+' conftest.err >conftest.er1
 1713:     cat conftest.er1 >&5
 1714:     mv -f conftest.er1 conftest.err
 1715:   fi
 1716:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1717:   test $ac_status = 0; } && {
 1718:      test -z "$ac_fc_werror_flag" ||
 1719:      test ! -s conftest.err
 1720:        } && test -s conftest.$ac_objext; then :
 1721:   ac_retval=0
 1722: else
 1723:   $as_echo "$as_me: failed program was:" >&5
 1724: sed 's/^/| /' conftest.$ac_ext >&5
 1725: 
 1726:     ac_retval=1
 1727: fi
 1728:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1729:   as_fn_set_status $ac_retval
 1730: 
 1731: } # ac_fn_fc_try_compile
 1732: 
 1733: # ac_fn_c_try_cpp LINENO
 1734: # ----------------------
 1735: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1736: ac_fn_c_try_cpp ()
 1737: {
 1738:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1739:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1740: case "(($ac_try" in
 1741:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1742:   *) ac_try_echo=$ac_try;;
 1743: esac
 1744: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1745: $as_echo "$ac_try_echo"; } >&5
 1746:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1747:   ac_status=$?
 1748:   if test -s conftest.err; then
 1749:     grep -v '^ *+' conftest.err >conftest.er1
 1750:     cat conftest.er1 >&5
 1751:     mv -f conftest.er1 conftest.err
 1752:   fi
 1753:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1754:   test $ac_status = 0; } > conftest.i && {
 1755:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1756:      test ! -s conftest.err
 1757:        }; then :
 1758:   ac_retval=0
 1759: else
 1760:   $as_echo "$as_me: failed program was:" >&5
 1761: sed 's/^/| /' conftest.$ac_ext >&5
 1762: 
 1763:     ac_retval=1
 1764: fi
 1765:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1766:   as_fn_set_status $ac_retval
 1767: 
 1768: } # ac_fn_c_try_cpp
 1769: 
 1770: # ac_fn_c_try_link LINENO
 1771: # -----------------------
 1772: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1773: ac_fn_c_try_link ()
 1774: {
 1775:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1776:   rm -f conftest.$ac_objext conftest$ac_exeext
 1777:   if { { ac_try="$ac_link"
 1778: case "(($ac_try" in
 1779:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1780:   *) ac_try_echo=$ac_try;;
 1781: esac
 1782: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1783: $as_echo "$ac_try_echo"; } >&5
 1784:   (eval "$ac_link") 2>conftest.err
 1785:   ac_status=$?
 1786:   if test -s conftest.err; then
 1787:     grep -v '^ *+' conftest.err >conftest.er1
 1788:     cat conftest.er1 >&5
 1789:     mv -f conftest.er1 conftest.err
 1790:   fi
 1791:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1792:   test $ac_status = 0; } && {
 1793:      test -z "$ac_c_werror_flag" ||
 1794:      test ! -s conftest.err
 1795:        } && test -s conftest$ac_exeext && {
 1796:      test "$cross_compiling" = yes ||
 1797:      $as_test_x conftest$ac_exeext
 1798:        }; then :
 1799:   ac_retval=0
 1800: else
 1801:   $as_echo "$as_me: failed program was:" >&5
 1802: sed 's/^/| /' conftest.$ac_ext >&5
 1803: 
 1804:     ac_retval=1
 1805: fi
 1806:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1807:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1808:   # interfere with the next link command; also delete a directory that is
 1809:   # left behind by Apple's compiler.  We do this before executing the actions.
 1810:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1811:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1812:   as_fn_set_status $ac_retval
 1813: 
 1814: } # ac_fn_c_try_link
 1815: 
 1816: # ac_fn_c_check_func LINENO FUNC VAR
 1817: # ----------------------------------
 1818: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1819: ac_fn_c_check_func ()
 1820: {
 1821:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1822:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1823: $as_echo_n "checking for $2... " >&6; }
 1824: if eval \${$3+:} false; then :
 1825:   $as_echo_n "(cached) " >&6
 1826: else
 1827:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1828: /* end confdefs.h.  */
 1829: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1830:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1831: #define $2 innocuous_$2
 1832: 
 1833: /* System header to define __stub macros and hopefully few prototypes,
 1834:     which can conflict with char $2 (); below.
 1835:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1836:     <limits.h> exists even on freestanding compilers.  */
 1837: 
 1838: #ifdef __STDC__
 1839: # include <limits.h>
 1840: #else
 1841: # include <assert.h>
 1842: #endif
 1843: 
 1844: #undef $2
 1845: 
 1846: /* Override any GCC internal prototype to avoid an error.
 1847:    Use char because int might match the return type of a GCC
 1848:    builtin and then its argument prototype would still apply.  */
 1849: #ifdef __cplusplus
 1850: extern "C"
 1851: #endif
 1852: char $2 ();
 1853: /* The GNU C library defines this for functions which it implements
 1854:     to always fail with ENOSYS.  Some functions are actually named
 1855:     something starting with __ and the normal name is an alias.  */
 1856: #if defined __stub_$2 || defined __stub___$2
 1857: choke me
 1858: #endif
 1859: 
 1860: int
 1861: main ()
 1862: {
 1863: return $2 ();
 1864:   ;
 1865:   return 0;
 1866: }
 1867: _ACEOF
 1868: if ac_fn_c_try_link "$LINENO"; then :
 1869:   eval "$3=yes"
 1870: else
 1871:   eval "$3=no"
 1872: fi
 1873: rm -f core conftest.err conftest.$ac_objext \
 1874:     conftest$ac_exeext conftest.$ac_ext
 1875: fi
 1876: eval ac_res=\$$3
 1877:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1878: $as_echo "$ac_res" >&6; }
 1879:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1880: 
 1881: } # ac_fn_c_check_func
 1882: 
 1883: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1884: # -------------------------------------------
 1885: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1886: # variable VAR accordingly.
 1887: ac_fn_c_check_type ()
 1888: {
 1889:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1890:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1891: $as_echo_n "checking for $2... " >&6; }
 1892: if eval \${$3+:} false; then :
 1893:   $as_echo_n "(cached) " >&6
 1894: else
 1895:   eval "$3=no"
 1896:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1897: /* end confdefs.h.  */
 1898: $4
 1899: int
 1900: main ()
 1901: {
 1902: if (sizeof ($2))
 1903:      return 0;
 1904:   ;
 1905:   return 0;
 1906: }
 1907: _ACEOF
 1908: if ac_fn_c_try_compile "$LINENO"; then :
 1909:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1910: /* end confdefs.h.  */
 1911: $4
 1912: int
 1913: main ()
 1914: {
 1915: if (sizeof (($2)))
 1916:         return 0;
 1917:   ;
 1918:   return 0;
 1919: }
 1920: _ACEOF
 1921: if ac_fn_c_try_compile "$LINENO"; then :
 1922: 
 1923: else
 1924:   eval "$3=yes"
 1925: fi
 1926: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1927: fi
 1928: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1929: fi
 1930: eval ac_res=\$$3
 1931:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1932: $as_echo "$ac_res" >&6; }
 1933:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1934: 
 1935: } # ac_fn_c_check_type
 1936: 
 1937: # ac_fn_c_try_run LINENO
 1938: # ----------------------
 1939: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1940: # that executables *can* be run.
 1941: ac_fn_c_try_run ()
 1942: {
 1943:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1944:   if { { ac_try="$ac_link"
 1945: case "(($ac_try" in
 1946:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1947:   *) ac_try_echo=$ac_try;;
 1948: esac
 1949: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1950: $as_echo "$ac_try_echo"; } >&5
 1951:   (eval "$ac_link") 2>&5
 1952:   ac_status=$?
 1953:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1954:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1955:   { { case "(($ac_try" in
 1956:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1957:   *) ac_try_echo=$ac_try;;
 1958: esac
 1959: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1960: $as_echo "$ac_try_echo"; } >&5
 1961:   (eval "$ac_try") 2>&5
 1962:   ac_status=$?
 1963:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1964:   test $ac_status = 0; }; }; then :
 1965:   ac_retval=0
 1966: else
 1967:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1968:        $as_echo "$as_me: failed program was:" >&5
 1969: sed 's/^/| /' conftest.$ac_ext >&5
 1970: 
 1971:        ac_retval=$ac_status
 1972: fi
 1973:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1974:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1975:   as_fn_set_status $ac_retval
 1976: 
 1977: } # ac_fn_c_try_run
 1978: 
 1979: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1980: # --------------------------------------------
 1981: # Tries to find the compile-time value of EXPR in a program that includes
 1982: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1983: # computed
 1984: ac_fn_c_compute_int ()
 1985: {
 1986:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1987:   if test "$cross_compiling" = yes; then
 1988:     # Depending upon the size, compute the lo and hi bounds.
 1989: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1990: /* end confdefs.h.  */
 1991: $4
 1992: int
 1993: main ()
 1994: {
 1995: static int test_array [1 - 2 * !(($2) >= 0)];
 1996: test_array [0] = 0
 1997: 
 1998:   ;
 1999:   return 0;
 2000: }
 2001: _ACEOF
 2002: if ac_fn_c_try_compile "$LINENO"; then :
 2003:   ac_lo=0 ac_mid=0
 2004:   while :; do
 2005:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2006: /* end confdefs.h.  */
 2007: $4
 2008: int
 2009: main ()
 2010: {
 2011: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2012: test_array [0] = 0
 2013: 
 2014:   ;
 2015:   return 0;
 2016: }
 2017: _ACEOF
 2018: if ac_fn_c_try_compile "$LINENO"; then :
 2019:   ac_hi=$ac_mid; break
 2020: else
 2021:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2022:             if test $ac_lo -le $ac_mid; then
 2023:               ac_lo= ac_hi=
 2024:               break
 2025:             fi
 2026:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2027: fi
 2028: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2029:   done
 2030: else
 2031:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2032: /* end confdefs.h.  */
 2033: $4
 2034: int
 2035: main ()
 2036: {
 2037: static int test_array [1 - 2 * !(($2) < 0)];
 2038: test_array [0] = 0
 2039: 
 2040:   ;
 2041:   return 0;
 2042: }
 2043: _ACEOF
 2044: if ac_fn_c_try_compile "$LINENO"; then :
 2045:   ac_hi=-1 ac_mid=-1
 2046:   while :; do
 2047:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2048: /* end confdefs.h.  */
 2049: $4
 2050: int
 2051: main ()
 2052: {
 2053: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2054: test_array [0] = 0
 2055: 
 2056:   ;
 2057:   return 0;
 2058: }
 2059: _ACEOF
 2060: if ac_fn_c_try_compile "$LINENO"; then :
 2061:   ac_lo=$ac_mid; break
 2062: else
 2063:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2064:             if test $ac_mid -le $ac_hi; then
 2065:               ac_lo= ac_hi=
 2066:               break
 2067:             fi
 2068:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2069: fi
 2070: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2071:   done
 2072: else
 2073:   ac_lo= ac_hi=
 2074: fi
 2075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2076: fi
 2077: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2078: # Binary search between lo and hi bounds.
 2079: while test "x$ac_lo" != "x$ac_hi"; do
 2080:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2081:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2082: /* end confdefs.h.  */
 2083: $4
 2084: int
 2085: main ()
 2086: {
 2087: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2088: test_array [0] = 0
 2089: 
 2090:   ;
 2091:   return 0;
 2092: }
 2093: _ACEOF
 2094: if ac_fn_c_try_compile "$LINENO"; then :
 2095:   ac_hi=$ac_mid
 2096: else
 2097:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2098: fi
 2099: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2100: done
 2101: case $ac_lo in #((
 2102: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2103: '') ac_retval=1 ;;
 2104: esac
 2105:   else
 2106:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2107: /* end confdefs.h.  */
 2108: $4
 2109: static long int longval () { return $2; }
 2110: static unsigned long int ulongval () { return $2; }
 2111: #include <stdio.h>
 2112: #include <stdlib.h>
 2113: int
 2114: main ()
 2115: {
 2116: 
 2117:   FILE *f = fopen ("conftest.val", "w");
 2118:   if (! f)
 2119:     return 1;
 2120:   if (($2) < 0)
 2121:     {
 2122:       long int i = longval ();
 2123:       if (i != ($2))
 2124:     return 1;
 2125:       fprintf (f, "%ld", i);
 2126:     }
 2127:   else
 2128:     {
 2129:       unsigned long int i = ulongval ();
 2130:       if (i != ($2))
 2131:     return 1;
 2132:       fprintf (f, "%lu", i);
 2133:     }
 2134:   /* Do not output a trailing newline, as this causes \r\n confusion
 2135:      on some platforms.  */
 2136:   return ferror (f) || fclose (f) != 0;
 2137: 
 2138:   ;
 2139:   return 0;
 2140: }
 2141: _ACEOF
 2142: if ac_fn_c_try_run "$LINENO"; then :
 2143:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2144: else
 2145:   ac_retval=1
 2146: fi
 2147: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2148:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2149: rm -f conftest.val
 2150: 
 2151:   fi
 2152:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2153:   as_fn_set_status $ac_retval
 2154: 
 2155: } # ac_fn_c_compute_int
 2156: 
 2157: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2158: # -------------------------------------------------------
 2159: # Tests whether HEADER exists and can be compiled using the include files in
 2160: # INCLUDES, setting the cache variable VAR accordingly.
 2161: ac_fn_c_check_header_compile ()
 2162: {
 2163:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2164:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2165: $as_echo_n "checking for $2... " >&6; }
 2166: if eval \${$3+:} false; then :
 2167:   $as_echo_n "(cached) " >&6
 2168: else
 2169:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2170: /* end confdefs.h.  */
 2171: $4
 2172: #include <$2>
 2173: _ACEOF
 2174: if ac_fn_c_try_compile "$LINENO"; then :
 2175:   eval "$3=yes"
 2176: else
 2177:   eval "$3=no"
 2178: fi
 2179: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2180: fi
 2181: eval ac_res=\$$3
 2182:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2183: $as_echo "$ac_res" >&6; }
 2184:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2185: 
 2186: } # ac_fn_c_check_header_compile
 2187: 
 2188: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2189: # -------------------------------------------------------
 2190: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2191: # the include files in INCLUDES and setting the cache variable VAR
 2192: # accordingly.
 2193: ac_fn_c_check_header_mongrel ()
 2194: {
 2195:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2196:   if eval \${$3+:} false; then :
 2197:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2198: $as_echo_n "checking for $2... " >&6; }
 2199: if eval \${$3+:} false; then :
 2200:   $as_echo_n "(cached) " >&6
 2201: fi
 2202: eval ac_res=\$$3
 2203:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2204: $as_echo "$ac_res" >&6; }
 2205: else
 2206:   # Is the header compilable?
 2207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2208: $as_echo_n "checking $2 usability... " >&6; }
 2209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2210: /* end confdefs.h.  */
 2211: $4
 2212: #include <$2>
 2213: _ACEOF
 2214: if ac_fn_c_try_compile "$LINENO"; then :
 2215:   ac_header_compiler=yes
 2216: else
 2217:   ac_header_compiler=no
 2218: fi
 2219: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2221: $as_echo "$ac_header_compiler" >&6; }
 2222: 
 2223: # Is the header present?
 2224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2225: $as_echo_n "checking $2 presence... " >&6; }
 2226: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2227: /* end confdefs.h.  */
 2228: #include <$2>
 2229: _ACEOF
 2230: if ac_fn_c_try_cpp "$LINENO"; then :
 2231:   ac_header_preproc=yes
 2232: else
 2233:   ac_header_preproc=no
 2234: fi
 2235: rm -f conftest.err conftest.i conftest.$ac_ext
 2236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2237: $as_echo "$ac_header_preproc" >&6; }
 2238: 
 2239: # So?  What about this header?
 2240: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2241:   yes:no: )
 2242:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2243: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2244:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2245: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2246:     ;;
 2247:   no:yes:* )
 2248:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2249: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2250:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2251: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2252:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2253: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2254:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2255: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2256:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2257: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2258:     ;;
 2259: esac
 2260:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2261: $as_echo_n "checking for $2... " >&6; }
 2262: if eval \${$3+:} false; then :
 2263:   $as_echo_n "(cached) " >&6
 2264: else
 2265:   eval "$3=\$ac_header_compiler"
 2266: fi
 2267: eval ac_res=\$$3
 2268:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2269: $as_echo "$ac_res" >&6; }
 2270: fi
 2271:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2272: 
 2273: } # ac_fn_c_check_header_mongrel
 2274: cat >config.log <<_ACEOF
 2275: This file contains any messages produced by compilers while
 2276: running configure, to aid debugging if configure makes a mistake.
 2277: 
 2278: It was created by rpl $as_me 4.1.2, which was
 2279: generated by GNU Autoconf 2.68.  Invocation command line was
 2280: 
 2281:   $ $0 $@
 2282: 
 2283: _ACEOF
 2284: exec 5>>config.log
 2285: {
 2286: cat <<_ASUNAME
 2287: ## --------- ##
 2288: ## Platform. ##
 2289: ## --------- ##
 2290: 
 2291: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2292: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2293: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2294: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2295: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2296: 
 2297: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2298: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2299: 
 2300: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2301: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2302: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2303: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2304: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2305: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2306: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2307: 
 2308: _ASUNAME
 2309: 
 2310: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2311: for as_dir in $PATH
 2312: do
 2313:   IFS=$as_save_IFS
 2314:   test -z "$as_dir" && as_dir=.
 2315:     $as_echo "PATH: $as_dir"
 2316:   done
 2317: IFS=$as_save_IFS
 2318: 
 2319: } >&5
 2320: 
 2321: cat >&5 <<_ACEOF
 2322: 
 2323: 
 2324: ## ----------- ##
 2325: ## Core tests. ##
 2326: ## ----------- ##
 2327: 
 2328: _ACEOF
 2329: 
 2330: 
 2331: # Keep a trace of the command line.
 2332: # Strip out --no-create and --no-recursion so they do not pile up.
 2333: # Strip out --silent because we don't want to record it for future runs.
 2334: # Also quote any args containing shell meta-characters.
 2335: # Make two passes to allow for proper duplicate-argument suppression.
 2336: ac_configure_args=
 2337: ac_configure_args0=
 2338: ac_configure_args1=
 2339: ac_must_keep_next=false
 2340: for ac_pass in 1 2
 2341: do
 2342:   for ac_arg
 2343:   do
 2344:     case $ac_arg in
 2345:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2346:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2347:     | -silent | --silent | --silen | --sile | --sil)
 2348:       continue ;;
 2349:     *\'*)
 2350:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2351:     esac
 2352:     case $ac_pass in
 2353:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2354:     2)
 2355:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2356:       if test $ac_must_keep_next = true; then
 2357:     ac_must_keep_next=false # Got value, back to normal.
 2358:       else
 2359:     case $ac_arg in
 2360:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2361:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2362:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2363:       | -with-* | --with-* | -without-* | --without-* | --x)
 2364:         case "$ac_configure_args0 " in
 2365:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2366:         esac
 2367:         ;;
 2368:       -* ) ac_must_keep_next=true ;;
 2369:     esac
 2370:       fi
 2371:       as_fn_append ac_configure_args " '$ac_arg'"
 2372:       ;;
 2373:     esac
 2374:   done
 2375: done
 2376: { ac_configure_args0=; unset ac_configure_args0;}
 2377: { ac_configure_args1=; unset ac_configure_args1;}
 2378: 
 2379: # When interrupted or exit'd, cleanup temporary files, and complete
 2380: # config.log.  We remove comments because anyway the quotes in there
 2381: # would cause problems or look ugly.
 2382: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2383: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2384: trap 'exit_status=$?
 2385:   # Save into config.log some information that might help in debugging.
 2386:   {
 2387:     echo
 2388: 
 2389:     $as_echo "## ---------------- ##
 2390: ## Cache variables. ##
 2391: ## ---------------- ##"
 2392:     echo
 2393:     # The following way of writing the cache mishandles newlines in values,
 2394: (
 2395:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2396:     eval ac_val=\$$ac_var
 2397:     case $ac_val in #(
 2398:     *${as_nl}*)
 2399:       case $ac_var in #(
 2400:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2401: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2402:       esac
 2403:       case $ac_var in #(
 2404:       _ | IFS | as_nl) ;; #(
 2405:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2406:       *) { eval $ac_var=; unset $ac_var;} ;;
 2407:       esac ;;
 2408:     esac
 2409:   done
 2410:   (set) 2>&1 |
 2411:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2412:     *${as_nl}ac_space=\ *)
 2413:       sed -n \
 2414:     "s/'\''/'\''\\\\'\'''\''/g;
 2415:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2416:       ;; #(
 2417:     *)
 2418:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2419:       ;;
 2420:     esac |
 2421:     sort
 2422: )
 2423:     echo
 2424: 
 2425:     $as_echo "## ----------------- ##
 2426: ## Output variables. ##
 2427: ## ----------------- ##"
 2428:     echo
 2429:     for ac_var in $ac_subst_vars
 2430:     do
 2431:       eval ac_val=\$$ac_var
 2432:       case $ac_val in
 2433:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2434:       esac
 2435:       $as_echo "$ac_var='\''$ac_val'\''"
 2436:     done | sort
 2437:     echo
 2438: 
 2439:     if test -n "$ac_subst_files"; then
 2440:       $as_echo "## ------------------- ##
 2441: ## File substitutions. ##
 2442: ## ------------------- ##"
 2443:       echo
 2444:       for ac_var in $ac_subst_files
 2445:       do
 2446:     eval ac_val=\$$ac_var
 2447:     case $ac_val in
 2448:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2449:     esac
 2450:     $as_echo "$ac_var='\''$ac_val'\''"
 2451:       done | sort
 2452:       echo
 2453:     fi
 2454: 
 2455:     if test -s confdefs.h; then
 2456:       $as_echo "## ----------- ##
 2457: ## confdefs.h. ##
 2458: ## ----------- ##"
 2459:       echo
 2460:       cat confdefs.h
 2461:       echo
 2462:     fi
 2463:     test "$ac_signal" != 0 &&
 2464:       $as_echo "$as_me: caught signal $ac_signal"
 2465:     $as_echo "$as_me: exit $exit_status"
 2466:   } >&5
 2467:   rm -f core *.core core.conftest.* &&
 2468:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2469:     exit $exit_status
 2470: ' 0
 2471: for ac_signal in 1 2 13 15; do
 2472:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2473: done
 2474: ac_signal=0
 2475: 
 2476: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2477: rm -f -r conftest* confdefs.h
 2478: 
 2479: $as_echo "/* confdefs.h */" > confdefs.h
 2480: 
 2481: # Predefined preprocessor variables.
 2482: 
 2483: cat >>confdefs.h <<_ACEOF
 2484: #define PACKAGE_NAME "$PACKAGE_NAME"
 2485: _ACEOF
 2486: 
 2487: cat >>confdefs.h <<_ACEOF
 2488: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2489: _ACEOF
 2490: 
 2491: cat >>confdefs.h <<_ACEOF
 2492: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2493: _ACEOF
 2494: 
 2495: cat >>confdefs.h <<_ACEOF
 2496: #define PACKAGE_STRING "$PACKAGE_STRING"
 2497: _ACEOF
 2498: 
 2499: cat >>confdefs.h <<_ACEOF
 2500: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2501: _ACEOF
 2502: 
 2503: cat >>confdefs.h <<_ACEOF
 2504: #define PACKAGE_URL "$PACKAGE_URL"
 2505: _ACEOF
 2506: 
 2507: 
 2508: # Let the site file select an alternate cache file if it wants to.
 2509: # Prefer an explicitly selected file to automatically selected ones.
 2510: ac_site_file1=NONE
 2511: ac_site_file2=NONE
 2512: if test -n "$CONFIG_SITE"; then
 2513:   # We do not want a PATH search for config.site.
 2514:   case $CONFIG_SITE in #((
 2515:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2516:     */*) ac_site_file1=$CONFIG_SITE;;
 2517:     *)   ac_site_file1=./$CONFIG_SITE;;
 2518:   esac
 2519: elif test "x$prefix" != xNONE; then
 2520:   ac_site_file1=$prefix/share/config.site
 2521:   ac_site_file2=$prefix/etc/config.site
 2522: else
 2523:   ac_site_file1=$ac_default_prefix/share/config.site
 2524:   ac_site_file2=$ac_default_prefix/etc/config.site
 2525: fi
 2526: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2527: do
 2528:   test "x$ac_site_file" = xNONE && continue
 2529:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2530:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2531: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2532:     sed 's/^/| /' "$ac_site_file" >&5
 2533:     . "$ac_site_file" \
 2534:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2535: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2536: as_fn_error $? "failed to load site script $ac_site_file
 2537: See \`config.log' for more details" "$LINENO" 5; }
 2538:   fi
 2539: done
 2540: 
 2541: if test -r "$cache_file"; then
 2542:   # Some versions of bash will fail to source /dev/null (special files
 2543:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2544:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2545:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2546: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2547:     case $cache_file in
 2548:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2549:       *)                      . "./$cache_file";;
 2550:     esac
 2551:   fi
 2552: else
 2553:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2554: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2555:   >$cache_file
 2556: fi
 2557: 
 2558: # Check that the precious variables saved in the cache have kept the same
 2559: # value.
 2560: ac_cache_corrupted=false
 2561: for ac_var in $ac_precious_vars; do
 2562:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2563:   eval ac_new_set=\$ac_env_${ac_var}_set
 2564:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2565:   eval ac_new_val=\$ac_env_${ac_var}_value
 2566:   case $ac_old_set,$ac_new_set in
 2567:     set,)
 2568:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2569: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2570:       ac_cache_corrupted=: ;;
 2571:     ,set)
 2572:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2573: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2574:       ac_cache_corrupted=: ;;
 2575:     ,);;
 2576:     *)
 2577:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2578:     # differences in whitespace do not lead to failure.
 2579:     ac_old_val_w=`echo x $ac_old_val`
 2580:     ac_new_val_w=`echo x $ac_new_val`
 2581:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2582:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2583: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2584:       ac_cache_corrupted=:
 2585:     else
 2586:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2587: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2588:       eval $ac_var=\$ac_old_val
 2589:     fi
 2590:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2591: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2592:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2593: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2594:       fi;;
 2595:   esac
 2596:   # Pass precious variables to config.status.
 2597:   if test "$ac_new_set" = set; then
 2598:     case $ac_new_val in
 2599:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2600:     *) ac_arg=$ac_var=$ac_new_val ;;
 2601:     esac
 2602:     case " $ac_configure_args " in
 2603:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2604:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2605:     esac
 2606:   fi
 2607: done
 2608: if $ac_cache_corrupted; then
 2609:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2610: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2611:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2612: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2613:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2614: fi
 2615: ## -------------------- ##
 2616: ## Main body of script. ##
 2617: ## -------------------- ##
 2618: 
 2619: ac_ext=c
 2620: ac_cpp='$CPP $CPPFLAGS'
 2621: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2622: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2623: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2624: 
 2625: 
 2626: ac_aux_dir=
 2627: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2628:   if test -f "$ac_dir/install-sh"; then
 2629:     ac_aux_dir=$ac_dir
 2630:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2631:     break
 2632:   elif test -f "$ac_dir/install.sh"; then
 2633:     ac_aux_dir=$ac_dir
 2634:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2635:     break
 2636:   elif test -f "$ac_dir/shtool"; then
 2637:     ac_aux_dir=$ac_dir
 2638:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2639:     break
 2640:   fi
 2641: done
 2642: if test -z "$ac_aux_dir"; then
 2643:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2644: fi
 2645: 
 2646: # These three variables are undocumented and unsupported,
 2647: # and are intended to be withdrawn in a future Autoconf release.
 2648: # They can cause serious problems if a builder's source tree is in a directory
 2649: # whose full name contains unusual characters.
 2650: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2651: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2652: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2653: 
 2654: 
 2655: # Make sure we can run config.sub.
 2656: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2657:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2658: 
 2659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2660: $as_echo_n "checking build system type... " >&6; }
 2661: if ${ac_cv_build+:} false; then :
 2662:   $as_echo_n "(cached) " >&6
 2663: else
 2664:   ac_build_alias=$build_alias
 2665: test "x$ac_build_alias" = x &&
 2666:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2667: test "x$ac_build_alias" = x &&
 2668:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2669: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2670:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2671: 
 2672: fi
 2673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2674: $as_echo "$ac_cv_build" >&6; }
 2675: case $ac_cv_build in
 2676: *-*-*) ;;
 2677: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 2678: esac
 2679: build=$ac_cv_build
 2680: ac_save_IFS=$IFS; IFS='-'
 2681: set x $ac_cv_build
 2682: shift
 2683: build_cpu=$1
 2684: build_vendor=$2
 2685: shift; shift
 2686: # Remember, the first character of IFS is used to create $*,
 2687: # except with old shells:
 2688: build_os=$*
 2689: IFS=$ac_save_IFS
 2690: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2691: 
 2692: 
 2693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2694: $as_echo_n "checking host system type... " >&6; }
 2695: if ${ac_cv_host+:} false; then :
 2696:   $as_echo_n "(cached) " >&6
 2697: else
 2698:   if test "x$host_alias" = x; then
 2699:   ac_cv_host=$ac_cv_build
 2700: else
 2701:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2702:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2703: fi
 2704: 
 2705: fi
 2706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2707: $as_echo "$ac_cv_host" >&6; }
 2708: case $ac_cv_host in
 2709: *-*-*) ;;
 2710: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 2711: esac
 2712: host=$ac_cv_host
 2713: ac_save_IFS=$IFS; IFS='-'
 2714: set x $ac_cv_host
 2715: shift
 2716: host_cpu=$1
 2717: host_vendor=$2
 2718: shift; shift
 2719: # Remember, the first character of IFS is used to create $*,
 2720: # except with old shells:
 2721: host_os=$*
 2722: IFS=$ac_save_IFS
 2723: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2724: 
 2725: 
 2726: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2727: $as_echo_n "checking target system type... " >&6; }
 2728: if ${ac_cv_target+:} false; then :
 2729:   $as_echo_n "(cached) " >&6
 2730: else
 2731:   if test "x$target_alias" = x; then
 2732:   ac_cv_target=$ac_cv_host
 2733: else
 2734:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2735:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2736: fi
 2737: 
 2738: fi
 2739: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2740: $as_echo "$ac_cv_target" >&6; }
 2741: case $ac_cv_target in
 2742: *-*-*) ;;
 2743: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 2744: esac
 2745: target=$ac_cv_target
 2746: ac_save_IFS=$IFS; IFS='-'
 2747: set x $ac_cv_target
 2748: shift
 2749: target_cpu=$1
 2750: target_vendor=$2
 2751: shift; shift
 2752: # Remember, the first character of IFS is used to create $*,
 2753: # except with old shells:
 2754: target_os=$*
 2755: IFS=$ac_save_IFS
 2756: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2757: 
 2758: 
 2759: # The aliases save the names the user supplied, while $host etc.
 2760: # will get canonicalized.
 2761: test -n "$target_alias" &&
 2762:   test "$program_prefix$program_suffix$program_transform_name" = \
 2763:     NONENONEs,x,x, &&
 2764:   program_prefix=${target_alias}-
 2765: 
 2766: am__api_version='1.11'
 2767: 
 2768: # Find a good install program.  We prefer a C program (faster),
 2769: # so one script is as good as another.  But avoid the broken or
 2770: # incompatible versions:
 2771: # SysV /etc/install, /usr/sbin/install
 2772: # SunOS /usr/etc/install
 2773: # IRIX /sbin/install
 2774: # AIX /bin/install
 2775: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2776: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2777: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2778: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2779: # OS/2's system install, which has a completely different semantic
 2780: # ./install, which can be erroneously created by make from ./install.sh.
 2781: # Reject install programs that cannot install multiple files.
 2782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2783: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2784: if test -z "$INSTALL"; then
 2785: if ${ac_cv_path_install+:} false; then :
 2786:   $as_echo_n "(cached) " >&6
 2787: else
 2788:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2789: for as_dir in $PATH
 2790: do
 2791:   IFS=$as_save_IFS
 2792:   test -z "$as_dir" && as_dir=.
 2793:     # Account for people who put trailing slashes in PATH elements.
 2794: case $as_dir/ in #((
 2795:   ./ | .// | /[cC]/* | \
 2796:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2797:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2798:   /usr/ucb/* ) ;;
 2799:   *)
 2800:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2801:     # Don't use installbsd from OSF since it installs stuff as root
 2802:     # by default.
 2803:     for ac_prog in ginstall scoinst install; do
 2804:       for ac_exec_ext in '' $ac_executable_extensions; do
 2805:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2806:       if test $ac_prog = install &&
 2807:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2808:         # AIX install.  It has an incompatible calling convention.
 2809:         :
 2810:       elif test $ac_prog = install &&
 2811:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2812:         # program-specific install script used by HP pwplus--don't use.
 2813:         :
 2814:       else
 2815:         rm -rf conftest.one conftest.two conftest.dir
 2816:         echo one > conftest.one
 2817:         echo two > conftest.two
 2818:         mkdir conftest.dir
 2819:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2820:           test -s conftest.one && test -s conftest.two &&
 2821:           test -s conftest.dir/conftest.one &&
 2822:           test -s conftest.dir/conftest.two
 2823:         then
 2824:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2825:           break 3
 2826:         fi
 2827:       fi
 2828:     fi
 2829:       done
 2830:     done
 2831:     ;;
 2832: esac
 2833: 
 2834:   done
 2835: IFS=$as_save_IFS
 2836: 
 2837: rm -rf conftest.one conftest.two conftest.dir
 2838: 
 2839: fi
 2840:   if test "${ac_cv_path_install+set}" = set; then
 2841:     INSTALL=$ac_cv_path_install
 2842:   else
 2843:     # As a last resort, use the slow shell script.  Don't cache a
 2844:     # value for INSTALL within a source directory, because that will
 2845:     # break other packages using the cache if that directory is
 2846:     # removed, or if the value is a relative name.
 2847:     INSTALL=$ac_install_sh
 2848:   fi
 2849: fi
 2850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2851: $as_echo "$INSTALL" >&6; }
 2852: 
 2853: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2854: # It thinks the first close brace ends the variable substitution.
 2855: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2856: 
 2857: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2858: 
 2859: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2860: 
 2861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2862: $as_echo_n "checking whether build environment is sane... " >&6; }
 2863: # Just in case
 2864: sleep 1
 2865: echo timestamp > conftest.file
 2866: # Reject unsafe characters in $srcdir or the absolute working directory
 2867: # name.  Accept space and tab only in the latter.
 2868: am_lf='
 2869: '
 2870: case `pwd` in
 2871:   *[\\\"\#\$\&\'\`$am_lf]*)
 2872:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2873: esac
 2874: case $srcdir in
 2875:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2876:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2877: esac
 2878: 
 2879: # Do `set' in a subshell so we don't clobber the current shell's
 2880: # arguments.  Must try -L first in case configure is actually a
 2881: # symlink; some systems play weird games with the mod time of symlinks
 2882: # (eg FreeBSD returns the mod time of the symlink's containing
 2883: # directory).
 2884: if (
 2885:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2886:    if test "$*" = "X"; then
 2887:       # -L didn't work.
 2888:       set X `ls -t "$srcdir/configure" conftest.file`
 2889:    fi
 2890:    rm -f conftest.file
 2891:    if test "$*" != "X $srcdir/configure conftest.file" \
 2892:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2893: 
 2894:       # If neither matched, then we have a broken ls.  This can happen
 2895:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2896:       # broken ls alias from the environment.  This has actually
 2897:       # happened.  Such a system could not be considered "sane".
 2898:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2899: alias in your environment" "$LINENO" 5
 2900:    fi
 2901: 
 2902:    test "$2" = conftest.file
 2903:    )
 2904: then
 2905:    # Ok.
 2906:    :
 2907: else
 2908:    as_fn_error $? "newly created file is older than distributed files!
 2909: Check your system clock" "$LINENO" 5
 2910: fi
 2911: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2912: $as_echo "yes" >&6; }
 2913: test "$program_prefix" != NONE &&
 2914:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2915: # Use a double $ so make ignores it.
 2916: test "$program_suffix" != NONE &&
 2917:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2918: # Double any \ or $.
 2919: # By default was `s,x,x', remove it if useless.
 2920: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2921: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2922: 
 2923: # expand $ac_aux_dir to an absolute path
 2924: am_aux_dir=`cd $ac_aux_dir && pwd`
 2925: 
 2926: if test x"${MISSING+set}" != xset; then
 2927:   case $am_aux_dir in
 2928:   *\ * | *\ *)
 2929:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2930:   *)
 2931:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2932:   esac
 2933: fi
 2934: # Use eval to expand $SHELL
 2935: if eval "$MISSING --run true"; then
 2936:   am_missing_run="$MISSING --run "
 2937: else
 2938:   am_missing_run=
 2939:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2940: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2941: fi
 2942: 
 2943: if test x"${install_sh}" != xset; then
 2944:   case $am_aux_dir in
 2945:   *\ * | *\ *)
 2946:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2947:   *)
 2948:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2949:   esac
 2950: fi
 2951: 
 2952: # Installed binaries are usually stripped using `strip' when the user
 2953: # run `make install-strip'.  However `strip' might not be the right
 2954: # tool to use in cross-compilation environments, therefore Automake
 2955: # will honor the `STRIP' environment variable to overrule this program.
 2956: if test "$cross_compiling" != no; then
 2957:   if test -n "$ac_tool_prefix"; then
 2958:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2959: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2961: $as_echo_n "checking for $ac_word... " >&6; }
 2962: if ${ac_cv_prog_STRIP+:} false; then :
 2963:   $as_echo_n "(cached) " >&6
 2964: else
 2965:   if test -n "$STRIP"; then
 2966:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2967: else
 2968: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2969: for as_dir in $PATH
 2970: do
 2971:   IFS=$as_save_IFS
 2972:   test -z "$as_dir" && as_dir=.
 2973:     for ac_exec_ext in '' $ac_executable_extensions; do
 2974:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2975:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2976:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2977:     break 2
 2978:   fi
 2979: done
 2980:   done
 2981: IFS=$as_save_IFS
 2982: 
 2983: fi
 2984: fi
 2985: STRIP=$ac_cv_prog_STRIP
 2986: if test -n "$STRIP"; then
 2987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2988: $as_echo "$STRIP" >&6; }
 2989: else
 2990:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2991: $as_echo "no" >&6; }
 2992: fi
 2993: 
 2994: 
 2995: fi
 2996: if test -z "$ac_cv_prog_STRIP"; then
 2997:   ac_ct_STRIP=$STRIP
 2998:   # Extract the first word of "strip", so it can be a program name with args.
 2999: set dummy strip; ac_word=$2
 3000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3001: $as_echo_n "checking for $ac_word... " >&6; }
 3002: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 3003:   $as_echo_n "(cached) " >&6
 3004: else
 3005:   if test -n "$ac_ct_STRIP"; then
 3006:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 3007: else
 3008: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3009: for as_dir in $PATH
 3010: do
 3011:   IFS=$as_save_IFS
 3012:   test -z "$as_dir" && as_dir=.
 3013:     for ac_exec_ext in '' $ac_executable_extensions; do
 3014:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3015:     ac_cv_prog_ac_ct_STRIP="strip"
 3016:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3017:     break 2
 3018:   fi
 3019: done
 3020:   done
 3021: IFS=$as_save_IFS
 3022: 
 3023: fi
 3024: fi
 3025: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3026: if test -n "$ac_ct_STRIP"; then
 3027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3028: $as_echo "$ac_ct_STRIP" >&6; }
 3029: else
 3030:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3031: $as_echo "no" >&6; }
 3032: fi
 3033: 
 3034:   if test "x$ac_ct_STRIP" = x; then
 3035:     STRIP=":"
 3036:   else
 3037:     case $cross_compiling:$ac_tool_warned in
 3038: yes:)
 3039: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3040: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3041: ac_tool_warned=yes ;;
 3042: esac
 3043:     STRIP=$ac_ct_STRIP
 3044:   fi
 3045: else
 3046:   STRIP="$ac_cv_prog_STRIP"
 3047: fi
 3048: 
 3049: fi
 3050: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3051: 
 3052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3053: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3054: if test -z "$MKDIR_P"; then
 3055:   if ${ac_cv_path_mkdir+:} false; then :
 3056:   $as_echo_n "(cached) " >&6
 3057: else
 3058:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3059: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3060: do
 3061:   IFS=$as_save_IFS
 3062:   test -z "$as_dir" && as_dir=.
 3063:     for ac_prog in mkdir gmkdir; do
 3064:      for ac_exec_ext in '' $ac_executable_extensions; do
 3065:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3066:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3067:          'mkdir (GNU coreutils) '* | \
 3068:          'mkdir (coreutils) '* | \
 3069:          'mkdir (fileutils) '4.1*)
 3070:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3071:            break 3;;
 3072:        esac
 3073:      done
 3074:        done
 3075:   done
 3076: IFS=$as_save_IFS
 3077: 
 3078: fi
 3079: 
 3080:   test -d ./--version && rmdir ./--version
 3081:   if test "${ac_cv_path_mkdir+set}" = set; then
 3082:     MKDIR_P="$ac_cv_path_mkdir -p"
 3083:   else
 3084:     # As a last resort, use the slow shell script.  Don't cache a
 3085:     # value for MKDIR_P within a source directory, because that will
 3086:     # break other packages using the cache if that directory is
 3087:     # removed, or if the value is a relative name.
 3088:     MKDIR_P="$ac_install_sh -d"
 3089:   fi
 3090: fi
 3091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3092: $as_echo "$MKDIR_P" >&6; }
 3093: 
 3094: mkdir_p="$MKDIR_P"
 3095: case $mkdir_p in
 3096:   [\\/$]* | ?:[\\/]*) ;;
 3097:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3098: esac
 3099: 
 3100: for ac_prog in gawk mawk nawk awk
 3101: do
 3102:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3103: set dummy $ac_prog; ac_word=$2
 3104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3105: $as_echo_n "checking for $ac_word... " >&6; }
 3106: if ${ac_cv_prog_AWK+:} false; then :
 3107:   $as_echo_n "(cached) " >&6
 3108: else
 3109:   if test -n "$AWK"; then
 3110:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3111: else
 3112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3113: for as_dir in $PATH
 3114: do
 3115:   IFS=$as_save_IFS
 3116:   test -z "$as_dir" && as_dir=.
 3117:     for ac_exec_ext in '' $ac_executable_extensions; do
 3118:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3119:     ac_cv_prog_AWK="$ac_prog"
 3120:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3121:     break 2
 3122:   fi
 3123: done
 3124:   done
 3125: IFS=$as_save_IFS
 3126: 
 3127: fi
 3128: fi
 3129: AWK=$ac_cv_prog_AWK
 3130: if test -n "$AWK"; then
 3131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3132: $as_echo "$AWK" >&6; }
 3133: else
 3134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3135: $as_echo "no" >&6; }
 3136: fi
 3137: 
 3138: 
 3139:   test -n "$AWK" && break
 3140: done
 3141: 
 3142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3143: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3144: set x ${MAKE-make}
 3145: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3146: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3147:   $as_echo_n "(cached) " >&6
 3148: else
 3149:   cat >conftest.make <<\_ACEOF
 3150: SHELL = /bin/sh
 3151: all:
 3152:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3153: _ACEOF
 3154: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3155: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3156:   *@@@%%%=?*=@@@%%%*)
 3157:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3158:   *)
 3159:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3160: esac
 3161: rm -f conftest.make
 3162: fi
 3163: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3165: $as_echo "yes" >&6; }
 3166:   SET_MAKE=
 3167: else
 3168:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3169: $as_echo "no" >&6; }
 3170:   SET_MAKE="MAKE=${MAKE-make}"
 3171: fi
 3172: 
 3173: rm -rf .tst 2>/dev/null
 3174: mkdir .tst 2>/dev/null
 3175: if test -d .tst; then
 3176:   am__leading_dot=.
 3177: else
 3178:   am__leading_dot=_
 3179: fi
 3180: rmdir .tst 2>/dev/null
 3181: 
 3182: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3183:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3184:   # is not polluted with repeated "-I."
 3185:   am__isrc=' -I$(srcdir)'
 3186:   # test to see if srcdir already configured
 3187:   if test -f $srcdir/config.status; then
 3188:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3189:   fi
 3190: fi
 3191: 
 3192: # test whether we have cygpath
 3193: if test -z "$CYGPATH_W"; then
 3194:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3195:     CYGPATH_W='cygpath -w'
 3196:   else
 3197:     CYGPATH_W=echo
 3198:   fi
 3199: fi
 3200: 
 3201: 
 3202: # Define the identity of the package.
 3203:  PACKAGE='rpl'
 3204:  VERSION='4.1.2'
 3205: 
 3206: 
 3207: cat >>confdefs.h <<_ACEOF
 3208: #define PACKAGE "$PACKAGE"
 3209: _ACEOF
 3210: 
 3211: 
 3212: cat >>confdefs.h <<_ACEOF
 3213: #define VERSION "$VERSION"
 3214: _ACEOF
 3215: 
 3216: # Some tools Automake needs.
 3217: 
 3218: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3219: 
 3220: 
 3221: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3222: 
 3223: 
 3224: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3225: 
 3226: 
 3227: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3228: 
 3229: 
 3230: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3231: 
 3232: # We need awk for the "check" target.  The system "awk" is bad on
 3233: # some platforms.
 3234: # Always define AMTAR for backward compatibility.
 3235: 
 3236: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3237: 
 3238: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3239: 
 3240: 
 3241: 
 3242: 
 3243: 
 3244: 
 3245: ac_config_headers="$ac_config_headers rplconfig.h"
 3246: 
 3247: 
 3248: NCURSES=ncurses-5.9
 3249: READLINE=readline-6.2
 3250: UNITS=units-1.88
 3251: GSL=gsl-1.15
 3252: GPP=gpp-3
 3253: GNUPLOT=gnuplot-4.4.3
 3254: FILE=file-5.03
 3255: ICONV=libiconv-1.13.1
 3256: SQLITE=sqlite-3.7.7.1
 3257: OPENSSL=openssl-1.0.0d
 3258: 
 3259: GMP=gmp-5.0.1
 3260: MPFR=mpfr-3.0.1
 3261: NTL=ntl-5.5.2
 3262: COCOA=CoCoALib-0.9943
 3263: PARI=pari-2.3.5
 3264: GIAC=giac-0.9.3
 3265: 
 3266: ac_ext=c
 3267: ac_cpp='$CPP $CPPFLAGS'
 3268: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3269: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3270: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3271: if test -n "$ac_tool_prefix"; then
 3272:   for ac_prog in gcc
 3273:   do
 3274:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3275: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3277: $as_echo_n "checking for $ac_word... " >&6; }
 3278: if ${ac_cv_prog_CC+:} false; then :
 3279:   $as_echo_n "(cached) " >&6
 3280: else
 3281:   if test -n "$CC"; then
 3282:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3283: else
 3284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3285: for as_dir in $PATH
 3286: do
 3287:   IFS=$as_save_IFS
 3288:   test -z "$as_dir" && as_dir=.
 3289:     for ac_exec_ext in '' $ac_executable_extensions; do
 3290:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3291:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3292:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3293:     break 2
 3294:   fi
 3295: done
 3296:   done
 3297: IFS=$as_save_IFS
 3298: 
 3299: fi
 3300: fi
 3301: CC=$ac_cv_prog_CC
 3302: if test -n "$CC"; then
 3303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3304: $as_echo "$CC" >&6; }
 3305: else
 3306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3307: $as_echo "no" >&6; }
 3308: fi
 3309: 
 3310: 
 3311:     test -n "$CC" && break
 3312:   done
 3313: fi
 3314: if test -z "$CC"; then
 3315:   ac_ct_CC=$CC
 3316:   for ac_prog in gcc
 3317: do
 3318:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3319: set dummy $ac_prog; ac_word=$2
 3320: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3321: $as_echo_n "checking for $ac_word... " >&6; }
 3322: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3323:   $as_echo_n "(cached) " >&6
 3324: else
 3325:   if test -n "$ac_ct_CC"; then
 3326:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3327: else
 3328: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3329: for as_dir in $PATH
 3330: do
 3331:   IFS=$as_save_IFS
 3332:   test -z "$as_dir" && as_dir=.
 3333:     for ac_exec_ext in '' $ac_executable_extensions; do
 3334:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3335:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3336:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3337:     break 2
 3338:   fi
 3339: done
 3340:   done
 3341: IFS=$as_save_IFS
 3342: 
 3343: fi
 3344: fi
 3345: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3346: if test -n "$ac_ct_CC"; then
 3347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3348: $as_echo "$ac_ct_CC" >&6; }
 3349: else
 3350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3351: $as_echo "no" >&6; }
 3352: fi
 3353: 
 3354: 
 3355:   test -n "$ac_ct_CC" && break
 3356: done
 3357: 
 3358:   if test "x$ac_ct_CC" = x; then
 3359:     CC=""
 3360:   else
 3361:     case $cross_compiling:$ac_tool_warned in
 3362: yes:)
 3363: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3364: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3365: ac_tool_warned=yes ;;
 3366: esac
 3367:     CC=$ac_ct_CC
 3368:   fi
 3369: fi
 3370: 
 3371: 
 3372: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3373: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3374: as_fn_error $? "no acceptable C compiler found in \$PATH
 3375: See \`config.log' for more details" "$LINENO" 5; }
 3376: 
 3377: # Provide some information about the compiler.
 3378: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3379: set X $ac_compile
 3380: ac_compiler=$2
 3381: for ac_option in --version -v -V -qversion; do
 3382:   { { ac_try="$ac_compiler $ac_option >&5"
 3383: case "(($ac_try" in
 3384:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3385:   *) ac_try_echo=$ac_try;;
 3386: esac
 3387: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3388: $as_echo "$ac_try_echo"; } >&5
 3389:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3390:   ac_status=$?
 3391:   if test -s conftest.err; then
 3392:     sed '10a\
 3393: ... rest of stderr output deleted ...
 3394:          10q' conftest.err >conftest.er1
 3395:     cat conftest.er1 >&5
 3396:   fi
 3397:   rm -f conftest.er1 conftest.err
 3398:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3399:   test $ac_status = 0; }
 3400: done
 3401: 
 3402: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3403: /* end confdefs.h.  */
 3404: 
 3405: int
 3406: main ()
 3407: {
 3408: 
 3409:   ;
 3410:   return 0;
 3411: }
 3412: _ACEOF
 3413: ac_clean_files_save=$ac_clean_files
 3414: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3415: # Try to create an executable without -o first, disregard a.out.
 3416: # It will help us diagnose broken compilers, and finding out an intuition
 3417: # of exeext.
 3418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3419: $as_echo_n "checking whether the C compiler works... " >&6; }
 3420: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3421: 
 3422: # The possible output files:
 3423: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3424: 
 3425: ac_rmfiles=
 3426: for ac_file in $ac_files
 3427: do
 3428:   case $ac_file in
 3429:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3430:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3431:   esac
 3432: done
 3433: rm -f $ac_rmfiles
 3434: 
 3435: if { { ac_try="$ac_link_default"
 3436: case "(($ac_try" in
 3437:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3438:   *) ac_try_echo=$ac_try;;
 3439: esac
 3440: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3441: $as_echo "$ac_try_echo"; } >&5
 3442:   (eval "$ac_link_default") 2>&5
 3443:   ac_status=$?
 3444:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3445:   test $ac_status = 0; }; then :
 3446:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3447: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3448: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3449: # so that the user can short-circuit this test for compilers unknown to
 3450: # Autoconf.
 3451: for ac_file in $ac_files ''
 3452: do
 3453:   test -f "$ac_file" || continue
 3454:   case $ac_file in
 3455:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3456:     ;;
 3457:     [ab].out )
 3458:     # We found the default executable, but exeext='' is most
 3459:     # certainly right.
 3460:     break;;
 3461:     *.* )
 3462:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3463:     then :; else
 3464:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3465:     fi
 3466:     # We set ac_cv_exeext here because the later test for it is not
 3467:     # safe: cross compilers may not add the suffix if given an `-o'
 3468:     # argument, so we may need to know it at that point already.
 3469:     # Even if this section looks crufty: it has the advantage of
 3470:     # actually working.
 3471:     break;;
 3472:     * )
 3473:     break;;
 3474:   esac
 3475: done
 3476: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3477: 
 3478: else
 3479:   ac_file=''
 3480: fi
 3481: if test -z "$ac_file"; then :
 3482:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3483: $as_echo "no" >&6; }
 3484: $as_echo "$as_me: failed program was:" >&5
 3485: sed 's/^/| /' conftest.$ac_ext >&5
 3486: 
 3487: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3488: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3489: as_fn_error 77 "C compiler cannot create executables
 3490: See \`config.log' for more details" "$LINENO" 5; }
 3491: else
 3492:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3493: $as_echo "yes" >&6; }
 3494: fi
 3495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3496: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3498: $as_echo "$ac_file" >&6; }
 3499: ac_exeext=$ac_cv_exeext
 3500: 
 3501: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3502: ac_clean_files=$ac_clean_files_save
 3503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3504: $as_echo_n "checking for suffix of executables... " >&6; }
 3505: if { { ac_try="$ac_link"
 3506: case "(($ac_try" in
 3507:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3508:   *) ac_try_echo=$ac_try;;
 3509: esac
 3510: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3511: $as_echo "$ac_try_echo"; } >&5
 3512:   (eval "$ac_link") 2>&5
 3513:   ac_status=$?
 3514:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3515:   test $ac_status = 0; }; then :
 3516:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3517: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3518: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3519: # `rm'.
 3520: for ac_file in conftest.exe conftest conftest.*; do
 3521:   test -f "$ac_file" || continue
 3522:   case $ac_file in
 3523:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3524:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3525:       break;;
 3526:     * ) break;;
 3527:   esac
 3528: done
 3529: else
 3530:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3531: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3532: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3533: See \`config.log' for more details" "$LINENO" 5; }
 3534: fi
 3535: rm -f conftest conftest$ac_cv_exeext
 3536: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3537: $as_echo "$ac_cv_exeext" >&6; }
 3538: 
 3539: rm -f conftest.$ac_ext
 3540: EXEEXT=$ac_cv_exeext
 3541: ac_exeext=$EXEEXT
 3542: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3543: /* end confdefs.h.  */
 3544: #include <stdio.h>
 3545: int
 3546: main ()
 3547: {
 3548: FILE *f = fopen ("conftest.out", "w");
 3549:  return ferror (f) || fclose (f) != 0;
 3550: 
 3551:   ;
 3552:   return 0;
 3553: }
 3554: _ACEOF
 3555: ac_clean_files="$ac_clean_files conftest.out"
 3556: # Check that the compiler produces executables we can run.  If not, either
 3557: # the compiler is broken, or we cross compile.
 3558: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3559: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3560: if test "$cross_compiling" != yes; then
 3561:   { { ac_try="$ac_link"
 3562: case "(($ac_try" in
 3563:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3564:   *) ac_try_echo=$ac_try;;
 3565: esac
 3566: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3567: $as_echo "$ac_try_echo"; } >&5
 3568:   (eval "$ac_link") 2>&5
 3569:   ac_status=$?
 3570:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3571:   test $ac_status = 0; }
 3572:   if { ac_try='./conftest$ac_cv_exeext'
 3573:   { { case "(($ac_try" in
 3574:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3575:   *) ac_try_echo=$ac_try;;
 3576: esac
 3577: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3578: $as_echo "$ac_try_echo"; } >&5
 3579:   (eval "$ac_try") 2>&5
 3580:   ac_status=$?
 3581:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3582:   test $ac_status = 0; }; }; then
 3583:     cross_compiling=no
 3584:   else
 3585:     if test "$cross_compiling" = maybe; then
 3586:     cross_compiling=yes
 3587:     else
 3588:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3589: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3590: as_fn_error $? "cannot run C compiled programs.
 3591: If you meant to cross compile, use \`--host'.
 3592: See \`config.log' for more details" "$LINENO" 5; }
 3593:     fi
 3594:   fi
 3595: fi
 3596: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3597: $as_echo "$cross_compiling" >&6; }
 3598: 
 3599: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3600: ac_clean_files=$ac_clean_files_save
 3601: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3602: $as_echo_n "checking for suffix of object files... " >&6; }
 3603: if ${ac_cv_objext+:} false; then :
 3604:   $as_echo_n "(cached) " >&6
 3605: else
 3606:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3607: /* end confdefs.h.  */
 3608: 
 3609: int
 3610: main ()
 3611: {
 3612: 
 3613:   ;
 3614:   return 0;
 3615: }
 3616: _ACEOF
 3617: rm -f conftest.o conftest.obj
 3618: if { { ac_try="$ac_compile"
 3619: case "(($ac_try" in
 3620:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3621:   *) ac_try_echo=$ac_try;;
 3622: esac
 3623: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3624: $as_echo "$ac_try_echo"; } >&5
 3625:   (eval "$ac_compile") 2>&5
 3626:   ac_status=$?
 3627:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3628:   test $ac_status = 0; }; then :
 3629:   for ac_file in conftest.o conftest.obj conftest.*; do
 3630:   test -f "$ac_file" || continue;
 3631:   case $ac_file in
 3632:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3633:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3634:        break;;
 3635:   esac
 3636: done
 3637: else
 3638:   $as_echo "$as_me: failed program was:" >&5
 3639: sed 's/^/| /' conftest.$ac_ext >&5
 3640: 
 3641: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3642: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3643: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3644: See \`config.log' for more details" "$LINENO" 5; }
 3645: fi
 3646: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3647: fi
 3648: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3649: $as_echo "$ac_cv_objext" >&6; }
 3650: OBJEXT=$ac_cv_objext
 3651: ac_objext=$OBJEXT
 3652: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3653: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3654: if ${ac_cv_c_compiler_gnu+:} false; then :
 3655:   $as_echo_n "(cached) " >&6
 3656: else
 3657:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3658: /* end confdefs.h.  */
 3659: 
 3660: int
 3661: main ()
 3662: {
 3663: #ifndef __GNUC__
 3664:        choke me
 3665: #endif
 3666: 
 3667:   ;
 3668:   return 0;
 3669: }
 3670: _ACEOF
 3671: if ac_fn_c_try_compile "$LINENO"; then :
 3672:   ac_compiler_gnu=yes
 3673: else
 3674:   ac_compiler_gnu=no
 3675: fi
 3676: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3677: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3678: 
 3679: fi
 3680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3681: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3682: if test $ac_compiler_gnu = yes; then
 3683:   GCC=yes
 3684: else
 3685:   GCC=
 3686: fi
 3687: ac_test_CFLAGS=${CFLAGS+set}
 3688: ac_save_CFLAGS=$CFLAGS
 3689: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3690: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3691: if ${ac_cv_prog_cc_g+:} false; then :
 3692:   $as_echo_n "(cached) " >&6
 3693: else
 3694:   ac_save_c_werror_flag=$ac_c_werror_flag
 3695:    ac_c_werror_flag=yes
 3696:    ac_cv_prog_cc_g=no
 3697:    CFLAGS="-g"
 3698:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3699: /* end confdefs.h.  */
 3700: 
 3701: int
 3702: main ()
 3703: {
 3704: 
 3705:   ;
 3706:   return 0;
 3707: }
 3708: _ACEOF
 3709: if ac_fn_c_try_compile "$LINENO"; then :
 3710:   ac_cv_prog_cc_g=yes
 3711: else
 3712:   CFLAGS=""
 3713:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3714: /* end confdefs.h.  */
 3715: 
 3716: int
 3717: main ()
 3718: {
 3719: 
 3720:   ;
 3721:   return 0;
 3722: }
 3723: _ACEOF
 3724: if ac_fn_c_try_compile "$LINENO"; then :
 3725: 
 3726: else
 3727:   ac_c_werror_flag=$ac_save_c_werror_flag
 3728:      CFLAGS="-g"
 3729:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3730: /* end confdefs.h.  */
 3731: 
 3732: int
 3733: main ()
 3734: {
 3735: 
 3736:   ;
 3737:   return 0;
 3738: }
 3739: _ACEOF
 3740: if ac_fn_c_try_compile "$LINENO"; then :
 3741:   ac_cv_prog_cc_g=yes
 3742: fi
 3743: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3744: fi
 3745: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3746: fi
 3747: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3748:    ac_c_werror_flag=$ac_save_c_werror_flag
 3749: fi
 3750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3751: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3752: if test "$ac_test_CFLAGS" = set; then
 3753:   CFLAGS=$ac_save_CFLAGS
 3754: elif test $ac_cv_prog_cc_g = yes; then
 3755:   if test "$GCC" = yes; then
 3756:     CFLAGS="-g -O2"
 3757:   else
 3758:     CFLAGS="-g"
 3759:   fi
 3760: else
 3761:   if test "$GCC" = yes; then
 3762:     CFLAGS="-O2"
 3763:   else
 3764:     CFLAGS=
 3765:   fi
 3766: fi
 3767: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3768: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3769: if ${ac_cv_prog_cc_c89+:} false; then :
 3770:   $as_echo_n "(cached) " >&6
 3771: else
 3772:   ac_cv_prog_cc_c89=no
 3773: ac_save_CC=$CC
 3774: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3775: /* end confdefs.h.  */
 3776: #include <stdarg.h>
 3777: #include <stdio.h>
 3778: #include <sys/types.h>
 3779: #include <sys/stat.h>
 3780: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3781: struct buf { int x; };
 3782: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3783: static char *e (p, i)
 3784:      char **p;
 3785:      int i;
 3786: {
 3787:   return p[i];
 3788: }
 3789: static char *f (char * (*g) (char **, int), char **p, ...)
 3790: {
 3791:   char *s;
 3792:   va_list v;
 3793:   va_start (v,p);
 3794:   s = g (p, va_arg (v,int));
 3795:   va_end (v);
 3796:   return s;
 3797: }
 3798: 
 3799: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3800:    function prototypes and stuff, but not '\xHH' hex character constants.
 3801:    These don't provoke an error unfortunately, instead are silently treated
 3802:    as 'x'.  The following induces an error, until -std is added to get
 3803:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3804:    array size at least.  It's necessary to write '\x00'==0 to get something
 3805:    that's true only with -std.  */
 3806: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3807: 
 3808: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3809:    inside strings and character constants.  */
 3810: #define FOO(x) 'x'
 3811: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3812: 
 3813: int test (int i, double x);
 3814: struct s1 {int (*f) (int a);};
 3815: struct s2 {int (*f) (double a);};
 3816: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3817: int argc;
 3818: char **argv;
 3819: int
 3820: main ()
 3821: {
 3822: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3823:   ;
 3824:   return 0;
 3825: }
 3826: _ACEOF
 3827: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3828:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3829: do
 3830:   CC="$ac_save_CC $ac_arg"
 3831:   if ac_fn_c_try_compile "$LINENO"; then :
 3832:   ac_cv_prog_cc_c89=$ac_arg
 3833: fi
 3834: rm -f core conftest.err conftest.$ac_objext
 3835:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3836: done
 3837: rm -f conftest.$ac_ext
 3838: CC=$ac_save_CC
 3839: 
 3840: fi
 3841: # AC_CACHE_VAL
 3842: case "x$ac_cv_prog_cc_c89" in
 3843:   x)
 3844:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3845: $as_echo "none needed" >&6; } ;;
 3846:   xno)
 3847:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3848: $as_echo "unsupported" >&6; } ;;
 3849:   *)
 3850:     CC="$CC $ac_cv_prog_cc_c89"
 3851:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3852: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3853: esac
 3854: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3855: 
 3856: fi
 3857: 
 3858: ac_ext=c
 3859: ac_cpp='$CPP $CPPFLAGS'
 3860: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3861: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3862: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3863: DEPDIR="${am__leading_dot}deps"
 3864: 
 3865: ac_config_commands="$ac_config_commands depfiles"
 3866: 
 3867: 
 3868: am_make=${MAKE-make}
 3869: cat > confinc << 'END'
 3870: am__doit:
 3871:     @echo this is the am__doit target
 3872: .PHONY: am__doit
 3873: END
 3874: # If we don't find an include directive, just comment out the code.
 3875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3876: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3877: am__include="#"
 3878: am__quote=
 3879: _am_result=none
 3880: # First try GNU make style include.
 3881: echo "include confinc" > confmf
 3882: # Ignore all kinds of additional output from `make'.
 3883: case `$am_make -s -f confmf 2> /dev/null` in #(
 3884: *the\ am__doit\ target*)
 3885:   am__include=include
 3886:   am__quote=
 3887:   _am_result=GNU
 3888:   ;;
 3889: esac
 3890: # Now try BSD make style include.
 3891: if test "$am__include" = "#"; then
 3892:    echo '.include "confinc"' > confmf
 3893:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3894:    *the\ am__doit\ target*)
 3895:      am__include=.include
 3896:      am__quote="\""
 3897:      _am_result=BSD
 3898:      ;;
 3899:    esac
 3900: fi
 3901: 
 3902: 
 3903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3904: $as_echo "$_am_result" >&6; }
 3905: rm -f confinc confmf
 3906: 
 3907: # Check whether --enable-dependency-tracking was given.
 3908: if test "${enable_dependency_tracking+set}" = set; then :
 3909:   enableval=$enable_dependency_tracking;
 3910: fi
 3911: 
 3912: if test "x$enable_dependency_tracking" != xno; then
 3913:   am_depcomp="$ac_aux_dir/depcomp"
 3914:   AMDEPBACKSLASH='\'
 3915: fi
 3916:  if test "x$enable_dependency_tracking" != xno; then
 3917:   AMDEP_TRUE=
 3918:   AMDEP_FALSE='#'
 3919: else
 3920:   AMDEP_TRUE='#'
 3921:   AMDEP_FALSE=
 3922: fi
 3923: 
 3924: 
 3925: 
 3926: depcc="$CC"   am_compiler_list=
 3927: 
 3928: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3929: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3930: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 3931:   $as_echo_n "(cached) " >&6
 3932: else
 3933:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3934:   # We make a subdir and do the tests there.  Otherwise we can end up
 3935:   # making bogus files that we don't know about and never remove.  For
 3936:   # instance it was reported that on HP-UX the gcc test will end up
 3937:   # making a dummy file named `D' -- because `-MD' means `put the output
 3938:   # in D'.
 3939:   mkdir conftest.dir
 3940:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3941:   # using a relative directory.
 3942:   cp "$am_depcomp" conftest.dir
 3943:   cd conftest.dir
 3944:   # We will build objects and dependencies in a subdirectory because
 3945:   # it helps to detect inapplicable dependency modes.  For instance
 3946:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3947:   # side effect of compilation, but ICC will put the dependencies in
 3948:   # the current directory while Tru64 will put them in the object
 3949:   # directory.
 3950:   mkdir sub
 3951: 
 3952:   am_cv_CC_dependencies_compiler_type=none
 3953:   if test "$am_compiler_list" = ""; then
 3954:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3955:   fi
 3956:   am__universal=false
 3957:   case " $depcc " in #(
 3958:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3959:      esac
 3960: 
 3961:   for depmode in $am_compiler_list; do
 3962:     # Setup a source with many dependencies, because some compilers
 3963:     # like to wrap large dependency lists on column 80 (with \), and
 3964:     # we should not choose a depcomp mode which is confused by this.
 3965:     #
 3966:     # We need to recreate these files for each test, as the compiler may
 3967:     # overwrite some of them when testing with obscure command lines.
 3968:     # This happens at least with the AIX C compiler.
 3969:     : > sub/conftest.c
 3970:     for i in 1 2 3 4 5 6; do
 3971:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3972:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3973:       # Solaris 8's {/usr,}/bin/sh.
 3974:       touch sub/conftst$i.h
 3975:     done
 3976:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3977: 
 3978:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3979:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3980:     # handle `-M -o', and we need to detect this.  Also, some Intel
 3981:     # versions had trouble with output in subdirs
 3982:     am__obj=sub/conftest.${OBJEXT-o}
 3983:     am__minus_obj="-o $am__obj"
 3984:     case $depmode in
 3985:     gcc)
 3986:       # This depmode causes a compiler race in universal mode.
 3987:       test "$am__universal" = false || continue
 3988:       ;;
 3989:     nosideeffect)
 3990:       # after this tag, mechanisms are not by side-effect, so they'll
 3991:       # only be used when explicitly requested
 3992:       if test "x$enable_dependency_tracking" = xyes; then
 3993:     continue
 3994:       else
 3995:     break
 3996:       fi
 3997:       ;;
 3998:     msvisualcpp | msvcmsys)
 3999:       # This compiler won't grok `-c -o', but also, the minuso test has
 4000:       # not run yet.  These depmodes are late enough in the game, and
 4001:       # so weak that their functioning should not be impacted.
 4002:       am__obj=conftest.${OBJEXT-o}
 4003:       am__minus_obj=
 4004:       ;;
 4005:     none) break ;;
 4006:     esac
 4007:     if depmode=$depmode \
 4008:        source=sub/conftest.c object=$am__obj \
 4009:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4010:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4011:          >/dev/null 2>conftest.err &&
 4012:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4013:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4014:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4015:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4016:       # icc doesn't choke on unknown options, it will just issue warnings
 4017:       # or remarks (even with -Werror).  So we grep stderr for any message
 4018:       # that says an option was ignored or not supported.
 4019:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4020:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4021:       # The diagnosis changed in icc 8.0:
 4022:       #   icc: Command line remark: option '-MP' not supported
 4023:       if (grep 'ignoring option' conftest.err ||
 4024:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4025:         am_cv_CC_dependencies_compiler_type=$depmode
 4026:         break
 4027:       fi
 4028:     fi
 4029:   done
 4030: 
 4031:   cd ..
 4032:   rm -rf conftest.dir
 4033: else
 4034:   am_cv_CC_dependencies_compiler_type=none
 4035: fi
 4036: 
 4037: fi
 4038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4039: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4040: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4041: 
 4042:  if
 4043:   test "x$enable_dependency_tracking" != xno \
 4044:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4045:   am__fastdepCC_TRUE=
 4046:   am__fastdepCC_FALSE='#'
 4047: else
 4048:   am__fastdepCC_TRUE='#'
 4049:   am__fastdepCC_FALSE=
 4050: fi
 4051: 
 4052: 
 4053: 
 4054: EXT_SQL=
 4055: 
 4056: if test x"$CC" != x""; then
 4057:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4058:             awk -F. '{ printf("%s", $1);}'`
 4059:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4060:             awk -F. '{ printf("%s", $2);}'`
 4061:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4062:         OPTIMISATION_C=-O3
 4063:     else
 4064:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
 4065:                 then
 4066:             OPTIMISATION_C=-O3
 4067:         else
 4068:             if test $GCC_VERSION_MAJEURE -ge 2; then
 4069:                 OPTIMISATION_C=-O2
 4070:             else
 4071:                 as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
 4072:             fi
 4073:         fi
 4074:     fi
 4075: fi
 4076: 
 4077: if test "x$CC" != xcc; then
 4078:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4079: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4080: else
 4081:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4082: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4083: fi
 4084: set dummy $CC; ac_cc=`$as_echo "$2" |
 4085:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4086: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 4087:   $as_echo_n "(cached) " >&6
 4088: else
 4089:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4090: /* end confdefs.h.  */
 4091: 
 4092: int
 4093: main ()
 4094: {
 4095: 
 4096:   ;
 4097:   return 0;
 4098: }
 4099: _ACEOF
 4100: # Make sure it works both with $CC and with simple cc.
 4101: # We do the test twice because some compilers refuse to overwrite an
 4102: # existing .o file with -o, though they will create one.
 4103: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4104: rm -f conftest2.*
 4105: if { { case "(($ac_try" in
 4106:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4107:   *) ac_try_echo=$ac_try;;
 4108: esac
 4109: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4110: $as_echo "$ac_try_echo"; } >&5
 4111:   (eval "$ac_try") 2>&5
 4112:   ac_status=$?
 4113:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4114:   test $ac_status = 0; } &&
 4115:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4116:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4117:   *) ac_try_echo=$ac_try;;
 4118: esac
 4119: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4120: $as_echo "$ac_try_echo"; } >&5
 4121:   (eval "$ac_try") 2>&5
 4122:   ac_status=$?
 4123:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4124:   test $ac_status = 0; };
 4125: then
 4126:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4127:   if test "x$CC" != xcc; then
 4128:     # Test first that cc exists at all.
 4129:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4130:   { { case "(($ac_try" in
 4131:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4132:   *) ac_try_echo=$ac_try;;
 4133: esac
 4134: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4135: $as_echo "$ac_try_echo"; } >&5
 4136:   (eval "$ac_try") 2>&5
 4137:   ac_status=$?
 4138:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4139:   test $ac_status = 0; }; }; then
 4140:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4141:       rm -f conftest2.*
 4142:       if { { case "(($ac_try" in
 4143:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4144:   *) ac_try_echo=$ac_try;;
 4145: esac
 4146: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4147: $as_echo "$ac_try_echo"; } >&5
 4148:   (eval "$ac_try") 2>&5
 4149:   ac_status=$?
 4150:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4151:   test $ac_status = 0; } &&
 4152:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4153:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4154:   *) ac_try_echo=$ac_try;;
 4155: esac
 4156: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4157: $as_echo "$ac_try_echo"; } >&5
 4158:   (eval "$ac_try") 2>&5
 4159:   ac_status=$?
 4160:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4161:   test $ac_status = 0; };
 4162:       then
 4163:     # cc works too.
 4164:     :
 4165:       else
 4166:     # cc exists but doesn't like -o.
 4167:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4168:       fi
 4169:     fi
 4170:   fi
 4171: else
 4172:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4173: fi
 4174: rm -f core conftest*
 4175: 
 4176: fi
 4177: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4178:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4179: $as_echo "yes" >&6; }
 4180: else
 4181:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4182: $as_echo "no" >&6; }
 4183: 
 4184: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4185: 
 4186: fi
 4187: 
 4188: # FIXME: we rely on the cache variable name because
 4189: # there is no other way.
 4190: set dummy $CC
 4191: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4192: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4193: if test "$am_t" != yes; then
 4194:    # Losing compiler, so override with the script.
 4195:    # FIXME: It is wrong to rewrite CC.
 4196:    # But if we don't then we get into trouble of one sort or another.
 4197:    # A longer-term fix would be to have automake use am__CC in this case,
 4198:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4199:    CC="$am_aux_dir/compile $CC"
 4200: fi
 4201: 
 4202: 
 4203: 
 4204: if test "$GCC" != yes; then
 4205:     as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
 4206: fi
 4207: 
 4208: ac_ext=cpp
 4209: ac_cpp='$CXXCPP $CPPFLAGS'
 4210: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4211: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4212: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4213: if test -z "$CXX"; then
 4214:   if test -n "$CCC"; then
 4215:     CXX=$CCC
 4216:   else
 4217:     if test -n "$ac_tool_prefix"; then
 4218:   for ac_prog in g++
 4219:   do
 4220:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4221: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4222: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4223: $as_echo_n "checking for $ac_word... " >&6; }
 4224: if ${ac_cv_prog_CXX+:} false; then :
 4225:   $as_echo_n "(cached) " >&6
 4226: else
 4227:   if test -n "$CXX"; then
 4228:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4229: else
 4230: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4231: for as_dir in $PATH
 4232: do
 4233:   IFS=$as_save_IFS
 4234:   test -z "$as_dir" && as_dir=.
 4235:     for ac_exec_ext in '' $ac_executable_extensions; do
 4236:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4237:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4238:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4239:     break 2
 4240:   fi
 4241: done
 4242:   done
 4243: IFS=$as_save_IFS
 4244: 
 4245: fi
 4246: fi
 4247: CXX=$ac_cv_prog_CXX
 4248: if test -n "$CXX"; then
 4249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4250: $as_echo "$CXX" >&6; }
 4251: else
 4252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4253: $as_echo "no" >&6; }
 4254: fi
 4255: 
 4256: 
 4257:     test -n "$CXX" && break
 4258:   done
 4259: fi
 4260: if test -z "$CXX"; then
 4261:   ac_ct_CXX=$CXX
 4262:   for ac_prog in g++
 4263: do
 4264:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4265: set dummy $ac_prog; ac_word=$2
 4266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4267: $as_echo_n "checking for $ac_word... " >&6; }
 4268: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 4269:   $as_echo_n "(cached) " >&6
 4270: else
 4271:   if test -n "$ac_ct_CXX"; then
 4272:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4273: else
 4274: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4275: for as_dir in $PATH
 4276: do
 4277:   IFS=$as_save_IFS
 4278:   test -z "$as_dir" && as_dir=.
 4279:     for ac_exec_ext in '' $ac_executable_extensions; do
 4280:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4281:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4282:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4283:     break 2
 4284:   fi
 4285: done
 4286:   done
 4287: IFS=$as_save_IFS
 4288: 
 4289: fi
 4290: fi
 4291: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4292: if test -n "$ac_ct_CXX"; then
 4293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4294: $as_echo "$ac_ct_CXX" >&6; }
 4295: else
 4296:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4297: $as_echo "no" >&6; }
 4298: fi
 4299: 
 4300: 
 4301:   test -n "$ac_ct_CXX" && break
 4302: done
 4303: 
 4304:   if test "x$ac_ct_CXX" = x; then
 4305:     CXX="g++"
 4306:   else
 4307:     case $cross_compiling:$ac_tool_warned in
 4308: yes:)
 4309: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4310: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4311: ac_tool_warned=yes ;;
 4312: esac
 4313:     CXX=$ac_ct_CXX
 4314:   fi
 4315: fi
 4316: 
 4317:   fi
 4318: fi
 4319: # Provide some information about the compiler.
 4320: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4321: set X $ac_compile
 4322: ac_compiler=$2
 4323: for ac_option in --version -v -V -qversion; do
 4324:   { { ac_try="$ac_compiler $ac_option >&5"
 4325: case "(($ac_try" in
 4326:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4327:   *) ac_try_echo=$ac_try;;
 4328: esac
 4329: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4330: $as_echo "$ac_try_echo"; } >&5
 4331:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4332:   ac_status=$?
 4333:   if test -s conftest.err; then
 4334:     sed '10a\
 4335: ... rest of stderr output deleted ...
 4336:          10q' conftest.err >conftest.er1
 4337:     cat conftest.er1 >&5
 4338:   fi
 4339:   rm -f conftest.er1 conftest.err
 4340:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4341:   test $ac_status = 0; }
 4342: done
 4343: 
 4344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4345: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4346: if ${ac_cv_cxx_compiler_gnu+:} false; then :
 4347:   $as_echo_n "(cached) " >&6
 4348: else
 4349:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4350: /* end confdefs.h.  */
 4351: 
 4352: int
 4353: main ()
 4354: {
 4355: #ifndef __GNUC__
 4356:        choke me
 4357: #endif
 4358: 
 4359:   ;
 4360:   return 0;
 4361: }
 4362: _ACEOF
 4363: if ac_fn_cxx_try_compile "$LINENO"; then :
 4364:   ac_compiler_gnu=yes
 4365: else
 4366:   ac_compiler_gnu=no
 4367: fi
 4368: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4369: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4370: 
 4371: fi
 4372: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4373: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4374: if test $ac_compiler_gnu = yes; then
 4375:   GXX=yes
 4376: else
 4377:   GXX=
 4378: fi
 4379: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4380: ac_save_CXXFLAGS=$CXXFLAGS
 4381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4382: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4383: if ${ac_cv_prog_cxx_g+:} false; then :
 4384:   $as_echo_n "(cached) " >&6
 4385: else
 4386:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4387:    ac_cxx_werror_flag=yes
 4388:    ac_cv_prog_cxx_g=no
 4389:    CXXFLAGS="-g"
 4390:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4391: /* end confdefs.h.  */
 4392: 
 4393: int
 4394: main ()
 4395: {
 4396: 
 4397:   ;
 4398:   return 0;
 4399: }
 4400: _ACEOF
 4401: if ac_fn_cxx_try_compile "$LINENO"; then :
 4402:   ac_cv_prog_cxx_g=yes
 4403: else
 4404:   CXXFLAGS=""
 4405:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4406: /* end confdefs.h.  */
 4407: 
 4408: int
 4409: main ()
 4410: {
 4411: 
 4412:   ;
 4413:   return 0;
 4414: }
 4415: _ACEOF
 4416: if ac_fn_cxx_try_compile "$LINENO"; then :
 4417: 
 4418: else
 4419:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4420:      CXXFLAGS="-g"
 4421:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4422: /* end confdefs.h.  */
 4423: 
 4424: int
 4425: main ()
 4426: {
 4427: 
 4428:   ;
 4429:   return 0;
 4430: }
 4431: _ACEOF
 4432: if ac_fn_cxx_try_compile "$LINENO"; then :
 4433:   ac_cv_prog_cxx_g=yes
 4434: fi
 4435: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4436: fi
 4437: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4438: fi
 4439: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4440:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4441: fi
 4442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4443: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4444: if test "$ac_test_CXXFLAGS" = set; then
 4445:   CXXFLAGS=$ac_save_CXXFLAGS
 4446: elif test $ac_cv_prog_cxx_g = yes; then
 4447:   if test "$GXX" = yes; then
 4448:     CXXFLAGS="-g -O2"
 4449:   else
 4450:     CXXFLAGS="-g"
 4451:   fi
 4452: else
 4453:   if test "$GXX" = yes; then
 4454:     CXXFLAGS="-O2"
 4455:   else
 4456:     CXXFLAGS=
 4457:   fi
 4458: fi
 4459: ac_ext=c
 4460: ac_cpp='$CPP $CPPFLAGS'
 4461: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4462: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4463: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4464: 
 4465: depcc="$CXX"  am_compiler_list=
 4466: 
 4467: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4468: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4469: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 4470:   $as_echo_n "(cached) " >&6
 4471: else
 4472:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4473:   # We make a subdir and do the tests there.  Otherwise we can end up
 4474:   # making bogus files that we don't know about and never remove.  For
 4475:   # instance it was reported that on HP-UX the gcc test will end up
 4476:   # making a dummy file named `D' -- because `-MD' means `put the output
 4477:   # in D'.
 4478:   mkdir conftest.dir
 4479:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4480:   # using a relative directory.
 4481:   cp "$am_depcomp" conftest.dir
 4482:   cd conftest.dir
 4483:   # We will build objects and dependencies in a subdirectory because
 4484:   # it helps to detect inapplicable dependency modes.  For instance
 4485:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4486:   # side effect of compilation, but ICC will put the dependencies in
 4487:   # the current directory while Tru64 will put them in the object
 4488:   # directory.
 4489:   mkdir sub
 4490: 
 4491:   am_cv_CXX_dependencies_compiler_type=none
 4492:   if test "$am_compiler_list" = ""; then
 4493:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4494:   fi
 4495:   am__universal=false
 4496:   case " $depcc " in #(
 4497:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4498:      esac
 4499: 
 4500:   for depmode in $am_compiler_list; do
 4501:     # Setup a source with many dependencies, because some compilers
 4502:     # like to wrap large dependency lists on column 80 (with \), and
 4503:     # we should not choose a depcomp mode which is confused by this.
 4504:     #
 4505:     # We need to recreate these files for each test, as the compiler may
 4506:     # overwrite some of them when testing with obscure command lines.
 4507:     # This happens at least with the AIX C compiler.
 4508:     : > sub/conftest.c
 4509:     for i in 1 2 3 4 5 6; do
 4510:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4511:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4512:       # Solaris 8's {/usr,}/bin/sh.
 4513:       touch sub/conftst$i.h
 4514:     done
 4515:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4516: 
 4517:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4518:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4519:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4520:     # versions had trouble with output in subdirs
 4521:     am__obj=sub/conftest.${OBJEXT-o}
 4522:     am__minus_obj="-o $am__obj"
 4523:     case $depmode in
 4524:     gcc)
 4525:       # This depmode causes a compiler race in universal mode.
 4526:       test "$am__universal" = false || continue
 4527:       ;;
 4528:     nosideeffect)
 4529:       # after this tag, mechanisms are not by side-effect, so they'll
 4530:       # only be used when explicitly requested
 4531:       if test "x$enable_dependency_tracking" = xyes; then
 4532:     continue
 4533:       else
 4534:     break
 4535:       fi
 4536:       ;;
 4537:     msvisualcpp | msvcmsys)
 4538:       # This compiler won't grok `-c -o', but also, the minuso test has
 4539:       # not run yet.  These depmodes are late enough in the game, and
 4540:       # so weak that their functioning should not be impacted.
 4541:       am__obj=conftest.${OBJEXT-o}
 4542:       am__minus_obj=
 4543:       ;;
 4544:     none) break ;;
 4545:     esac
 4546:     if depmode=$depmode \
 4547:        source=sub/conftest.c object=$am__obj \
 4548:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4549:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4550:          >/dev/null 2>conftest.err &&
 4551:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4552:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4553:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4554:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4555:       # icc doesn't choke on unknown options, it will just issue warnings
 4556:       # or remarks (even with -Werror).  So we grep stderr for any message
 4557:       # that says an option was ignored or not supported.
 4558:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4559:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4560:       # The diagnosis changed in icc 8.0:
 4561:       #   icc: Command line remark: option '-MP' not supported
 4562:       if (grep 'ignoring option' conftest.err ||
 4563:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4564:         am_cv_CXX_dependencies_compiler_type=$depmode
 4565:         break
 4566:       fi
 4567:     fi
 4568:   done
 4569: 
 4570:   cd ..
 4571:   rm -rf conftest.dir
 4572: else
 4573:   am_cv_CXX_dependencies_compiler_type=none
 4574: fi
 4575: 
 4576: fi
 4577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4578: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4579: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4580: 
 4581:  if
 4582:   test "x$enable_dependency_tracking" != xno \
 4583:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4584:   am__fastdepCXX_TRUE=
 4585:   am__fastdepCXX_FALSE='#'
 4586: else
 4587:   am__fastdepCXX_TRUE='#'
 4588:   am__fastdepCXX_FALSE=
 4589: fi
 4590: 
 4591: 
 4592: 
 4593: if test "$CXX" != "g++"; then
 4594:     as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
 4595: fi
 4596: 
 4597: if test x"$CXX" != x""; then
 4598:     GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4599:             awk -F. '{ printf("%s", $1);}'`
 4600:     GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4601:             awk -F. '{ printf("%s", $2);}'`
 4602:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4603:         OPTIMISATION_GXX=-O3
 4604:     else
 4605:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 4606:             OPTIMISATION_GXX=-O3
 4607:         else
 4608:             if test $GCC_VERSION_MAJEURE -ge 3; then
 4609:                 OPTIMISATION_GXX=-O2
 4610:             else
 4611:                 as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5
 4612:             fi
 4613:         fi
 4614:     fi
 4615: fi
 4616: 
 4617: ac_ext=f
 4618: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4619: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4620: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4621: if test -n "$ac_tool_prefix"; then
 4622:   for ac_prog in gfortran
 4623:   do
 4624:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4625: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4627: $as_echo_n "checking for $ac_word... " >&6; }
 4628: if ${ac_cv_prog_F77+:} false; then :
 4629:   $as_echo_n "(cached) " >&6
 4630: else
 4631:   if test -n "$F77"; then
 4632:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4633: else
 4634: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4635: for as_dir in $PATH
 4636: do
 4637:   IFS=$as_save_IFS
 4638:   test -z "$as_dir" && as_dir=.
 4639:     for ac_exec_ext in '' $ac_executable_extensions; do
 4640:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4641:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4642:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4643:     break 2
 4644:   fi
 4645: done
 4646:   done
 4647: IFS=$as_save_IFS
 4648: 
 4649: fi
 4650: fi
 4651: F77=$ac_cv_prog_F77
 4652: if test -n "$F77"; then
 4653:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4654: $as_echo "$F77" >&6; }
 4655: else
 4656:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4657: $as_echo "no" >&6; }
 4658: fi
 4659: 
 4660: 
 4661:     test -n "$F77" && break
 4662:   done
 4663: fi
 4664: if test -z "$F77"; then
 4665:   ac_ct_F77=$F77
 4666:   for ac_prog in gfortran
 4667: do
 4668:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4669: set dummy $ac_prog; ac_word=$2
 4670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4671: $as_echo_n "checking for $ac_word... " >&6; }
 4672: if ${ac_cv_prog_ac_ct_F77+:} false; then :
 4673:   $as_echo_n "(cached) " >&6
 4674: else
 4675:   if test -n "$ac_ct_F77"; then
 4676:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4677: else
 4678: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4679: for as_dir in $PATH
 4680: do
 4681:   IFS=$as_save_IFS
 4682:   test -z "$as_dir" && as_dir=.
 4683:     for ac_exec_ext in '' $ac_executable_extensions; do
 4684:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4685:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4686:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4687:     break 2
 4688:   fi
 4689: done
 4690:   done
 4691: IFS=$as_save_IFS
 4692: 
 4693: fi
 4694: fi
 4695: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4696: if test -n "$ac_ct_F77"; then
 4697:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4698: $as_echo "$ac_ct_F77" >&6; }
 4699: else
 4700:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4701: $as_echo "no" >&6; }
 4702: fi
 4703: 
 4704: 
 4705:   test -n "$ac_ct_F77" && break
 4706: done
 4707: 
 4708:   if test "x$ac_ct_F77" = x; then
 4709:     F77=""
 4710:   else
 4711:     case $cross_compiling:$ac_tool_warned in
 4712: yes:)
 4713: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4714: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4715: ac_tool_warned=yes ;;
 4716: esac
 4717:     F77=$ac_ct_F77
 4718:   fi
 4719: fi
 4720: 
 4721: 
 4722: # Provide some information about the compiler.
 4723: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4724: set X $ac_compile
 4725: ac_compiler=$2
 4726: for ac_option in --version -v -V -qversion; do
 4727:   { { ac_try="$ac_compiler $ac_option >&5"
 4728: case "(($ac_try" in
 4729:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4730:   *) ac_try_echo=$ac_try;;
 4731: esac
 4732: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4733: $as_echo "$ac_try_echo"; } >&5
 4734:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4735:   ac_status=$?
 4736:   if test -s conftest.err; then
 4737:     sed '10a\
 4738: ... rest of stderr output deleted ...
 4739:          10q' conftest.err >conftest.er1
 4740:     cat conftest.er1 >&5
 4741:   fi
 4742:   rm -f conftest.er1 conftest.err
 4743:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4744:   test $ac_status = 0; }
 4745: done
 4746: rm -f a.out
 4747: 
 4748: # If we don't use `.F' as extension, the preprocessor is not run on the
 4749: # input file.  (Note that this only needs to work for GNU compilers.)
 4750: ac_save_ext=$ac_ext
 4751: ac_ext=F
 4752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4753: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4754: if ${ac_cv_f77_compiler_gnu+:} false; then :
 4755:   $as_echo_n "(cached) " >&6
 4756: else
 4757:   cat > conftest.$ac_ext <<_ACEOF
 4758:       program main
 4759: #ifndef __GNUC__
 4760:        choke me
 4761: #endif
 4762: 
 4763:       end
 4764: _ACEOF
 4765: if ac_fn_f77_try_compile "$LINENO"; then :
 4766:   ac_compiler_gnu=yes
 4767: else
 4768:   ac_compiler_gnu=no
 4769: fi
 4770: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4771: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4772: 
 4773: fi
 4774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4775: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4776: ac_ext=$ac_save_ext
 4777: ac_test_FFLAGS=${FFLAGS+set}
 4778: ac_save_FFLAGS=$FFLAGS
 4779: FFLAGS=
 4780: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4781: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4782: if ${ac_cv_prog_f77_g+:} false; then :
 4783:   $as_echo_n "(cached) " >&6
 4784: else
 4785:   FFLAGS=-g
 4786: cat > conftest.$ac_ext <<_ACEOF
 4787:       program main
 4788: 
 4789:       end
 4790: _ACEOF
 4791: if ac_fn_f77_try_compile "$LINENO"; then :
 4792:   ac_cv_prog_f77_g=yes
 4793: else
 4794:   ac_cv_prog_f77_g=no
 4795: fi
 4796: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4797: 
 4798: fi
 4799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4800: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4801: if test "$ac_test_FFLAGS" = set; then
 4802:   FFLAGS=$ac_save_FFLAGS
 4803: elif test $ac_cv_prog_f77_g = yes; then
 4804:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4805:     FFLAGS="-g -O2"
 4806:   else
 4807:     FFLAGS="-g"
 4808:   fi
 4809: else
 4810:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4811:     FFLAGS="-O2"
 4812:   else
 4813:     FFLAGS=
 4814:   fi
 4815: fi
 4816: 
 4817: if test $ac_compiler_gnu = yes; then
 4818:   G77=yes
 4819: else
 4820:   G77=
 4821: fi
 4822: ac_ext=c
 4823: ac_cpp='$CPP $CPPFLAGS'
 4824: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4825: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4826: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4827: 
 4828: 
 4829: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
 4830:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 4831: fi
 4832: 
 4833: ac_ext=${ac_fc_srcext-f}
 4834: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4835: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4836: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4837: if test -n "$ac_tool_prefix"; then
 4838:   for ac_prog in gfortran
 4839:   do
 4840:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4841: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4843: $as_echo_n "checking for $ac_word... " >&6; }
 4844: if ${ac_cv_prog_FC+:} false; then :
 4845:   $as_echo_n "(cached) " >&6
 4846: else
 4847:   if test -n "$FC"; then
 4848:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4849: else
 4850: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4851: for as_dir in $PATH
 4852: do
 4853:   IFS=$as_save_IFS
 4854:   test -z "$as_dir" && as_dir=.
 4855:     for ac_exec_ext in '' $ac_executable_extensions; do
 4856:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4857:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4858:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4859:     break 2
 4860:   fi
 4861: done
 4862:   done
 4863: IFS=$as_save_IFS
 4864: 
 4865: fi
 4866: fi
 4867: FC=$ac_cv_prog_FC
 4868: if test -n "$FC"; then
 4869:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4870: $as_echo "$FC" >&6; }
 4871: else
 4872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4873: $as_echo "no" >&6; }
 4874: fi
 4875: 
 4876: 
 4877:     test -n "$FC" && break
 4878:   done
 4879: fi
 4880: if test -z "$FC"; then
 4881:   ac_ct_FC=$FC
 4882:   for ac_prog in gfortran
 4883: do
 4884:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4885: set dummy $ac_prog; ac_word=$2
 4886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4887: $as_echo_n "checking for $ac_word... " >&6; }
 4888: if ${ac_cv_prog_ac_ct_FC+:} false; then :
 4889:   $as_echo_n "(cached) " >&6
 4890: else
 4891:   if test -n "$ac_ct_FC"; then
 4892:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4893: else
 4894: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4895: for as_dir in $PATH
 4896: do
 4897:   IFS=$as_save_IFS
 4898:   test -z "$as_dir" && as_dir=.
 4899:     for ac_exec_ext in '' $ac_executable_extensions; do
 4900:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4901:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4902:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4903:     break 2
 4904:   fi
 4905: done
 4906:   done
 4907: IFS=$as_save_IFS
 4908: 
 4909: fi
 4910: fi
 4911: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4912: if test -n "$ac_ct_FC"; then
 4913:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4914: $as_echo "$ac_ct_FC" >&6; }
 4915: else
 4916:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4917: $as_echo "no" >&6; }
 4918: fi
 4919: 
 4920: 
 4921:   test -n "$ac_ct_FC" && break
 4922: done
 4923: 
 4924:   if test "x$ac_ct_FC" = x; then
 4925:     FC=""
 4926:   else
 4927:     case $cross_compiling:$ac_tool_warned in
 4928: yes:)
 4929: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4930: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4931: ac_tool_warned=yes ;;
 4932: esac
 4933:     FC=$ac_ct_FC
 4934:   fi
 4935: fi
 4936: 
 4937: 
 4938: # Provide some information about the compiler.
 4939: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4940: set X $ac_compile
 4941: ac_compiler=$2
 4942: for ac_option in --version -v -V -qversion; do
 4943:   { { ac_try="$ac_compiler $ac_option >&5"
 4944: case "(($ac_try" in
 4945:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4946:   *) ac_try_echo=$ac_try;;
 4947: esac
 4948: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4949: $as_echo "$ac_try_echo"; } >&5
 4950:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4951:   ac_status=$?
 4952:   if test -s conftest.err; then
 4953:     sed '10a\
 4954: ... rest of stderr output deleted ...
 4955:          10q' conftest.err >conftest.er1
 4956:     cat conftest.er1 >&5
 4957:   fi
 4958:   rm -f conftest.er1 conftest.err
 4959:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4960:   test $ac_status = 0; }
 4961: done
 4962: rm -f a.out
 4963: 
 4964: # If we don't use `.F' as extension, the preprocessor is not run on the
 4965: # input file.  (Note that this only needs to work for GNU compilers.)
 4966: ac_save_ext=$ac_ext
 4967: ac_ext=F
 4968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 4969: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 4970: if ${ac_cv_fc_compiler_gnu+:} false; then :
 4971:   $as_echo_n "(cached) " >&6
 4972: else
 4973:   cat > conftest.$ac_ext <<_ACEOF
 4974:       program main
 4975: #ifndef __GNUC__
 4976:        choke me
 4977: #endif
 4978: 
 4979:       end
 4980: _ACEOF
 4981: if ac_fn_fc_try_compile "$LINENO"; then :
 4982:   ac_compiler_gnu=yes
 4983: else
 4984:   ac_compiler_gnu=no
 4985: fi
 4986: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4987: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 4988: 
 4989: fi
 4990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 4991: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 4992: ac_ext=$ac_save_ext
 4993: ac_test_FCFLAGS=${FCFLAGS+set}
 4994: ac_save_FCFLAGS=$FCFLAGS
 4995: FCFLAGS=
 4996: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 4997: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 4998: if ${ac_cv_prog_fc_g+:} false; then :
 4999:   $as_echo_n "(cached) " >&6
 5000: else
 5001:   FCFLAGS=-g
 5002: cat > conftest.$ac_ext <<_ACEOF
 5003:       program main
 5004: 
 5005:       end
 5006: _ACEOF
 5007: if ac_fn_fc_try_compile "$LINENO"; then :
 5008:   ac_cv_prog_fc_g=yes
 5009: else
 5010:   ac_cv_prog_fc_g=no
 5011: fi
 5012: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5013: 
 5014: fi
 5015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 5016: $as_echo "$ac_cv_prog_fc_g" >&6; }
 5017: if test "$ac_test_FCFLAGS" = set; then
 5018:   FCFLAGS=$ac_save_FCFLAGS
 5019: elif test $ac_cv_prog_fc_g = yes; then
 5020:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 5021:     FCFLAGS="-g -O2"
 5022:   else
 5023:     FCFLAGS="-g"
 5024:   fi
 5025: else
 5026:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 5027:     FCFLAGS="-O2"
 5028:   else
 5029:     FCFLAGS=
 5030:   fi
 5031: fi
 5032: 
 5033: ac_ext=c
 5034: ac_cpp='$CPP $CPPFLAGS'
 5035: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5036: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5037: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5038: 
 5039: 
 5040: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
 5041:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 5042: fi
 5043: 
 5044: if test x"$FC" != x""; then
 5045:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5046:             awk -F. '{ printf("%s", $1);}'`
 5047:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5048:             awk -F. '{ printf("%s", $2);}'`
 5049:     if test $GCC_VERSION_MAJEURE -ge 5; then
 5050:         OPTIMISATION_F=-O3
 5051:     else
 5052:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 5053:             OPTIMISATION_F=-O3
 5054:         else
 5055:             if test $GCC_VERSION_MAJEURE -ge 3; then
 5056:                 OPTIMISATION_F=-O2
 5057:             else
 5058:                 as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
 5059:             fi
 5060:         fi
 5061:     fi
 5062: fi
 5063: 
 5064: 
 5065: ac_ext=c
 5066: ac_cpp='$CPP $CPPFLAGS'
 5067: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5068: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5069: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5070: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5071: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5072: # On Suns, sometimes $CPP names a directory.
 5073: if test -n "$CPP" && test -d "$CPP"; then
 5074:   CPP=
 5075: fi
 5076: if test -z "$CPP"; then
 5077:   if ${ac_cv_prog_CPP+:} false; then :
 5078:   $as_echo_n "(cached) " >&6
 5079: else
 5080:       # Double quotes because CPP needs to be expanded
 5081:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5082:     do
 5083:       ac_preproc_ok=false
 5084: for ac_c_preproc_warn_flag in '' yes
 5085: do
 5086:   # Use a header file that comes with gcc, so configuring glibc
 5087:   # with a fresh cross-compiler works.
 5088:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5089:   # <limits.h> exists even on freestanding compilers.
 5090:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5091:   # not just through cpp. "Syntax error" is here to catch this case.
 5092:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5093: /* end confdefs.h.  */
 5094: #ifdef __STDC__
 5095: # include <limits.h>
 5096: #else
 5097: # include <assert.h>
 5098: #endif
 5099:              Syntax error
 5100: _ACEOF
 5101: if ac_fn_c_try_cpp "$LINENO"; then :
 5102: 
 5103: else
 5104:   # Broken: fails on valid input.
 5105: continue
 5106: fi
 5107: rm -f conftest.err conftest.i conftest.$ac_ext
 5108: 
 5109:   # OK, works on sane cases.  Now check whether nonexistent headers
 5110:   # can be detected and how.
 5111:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5112: /* end confdefs.h.  */
 5113: #include <ac_nonexistent.h>
 5114: _ACEOF
 5115: if ac_fn_c_try_cpp "$LINENO"; then :
 5116:   # Broken: success on invalid input.
 5117: continue
 5118: else
 5119:   # Passes both tests.
 5120: ac_preproc_ok=:
 5121: break
 5122: fi
 5123: rm -f conftest.err conftest.i conftest.$ac_ext
 5124: 
 5125: done
 5126: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5127: rm -f conftest.i conftest.err conftest.$ac_ext
 5128: if $ac_preproc_ok; then :
 5129:   break
 5130: fi
 5131: 
 5132:     done
 5133:     ac_cv_prog_CPP=$CPP
 5134: 
 5135: fi
 5136:   CPP=$ac_cv_prog_CPP
 5137: else
 5138:   ac_cv_prog_CPP=$CPP
 5139: fi
 5140: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5141: $as_echo "$CPP" >&6; }
 5142: ac_preproc_ok=false
 5143: for ac_c_preproc_warn_flag in '' yes
 5144: do
 5145:   # Use a header file that comes with gcc, so configuring glibc
 5146:   # with a fresh cross-compiler works.
 5147:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5148:   # <limits.h> exists even on freestanding compilers.
 5149:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5150:   # not just through cpp. "Syntax error" is here to catch this case.
 5151:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5152: /* end confdefs.h.  */
 5153: #ifdef __STDC__
 5154: # include <limits.h>
 5155: #else
 5156: # include <assert.h>
 5157: #endif
 5158:              Syntax error
 5159: _ACEOF
 5160: if ac_fn_c_try_cpp "$LINENO"; then :
 5161: 
 5162: else
 5163:   # Broken: fails on valid input.
 5164: continue
 5165: fi
 5166: rm -f conftest.err conftest.i conftest.$ac_ext
 5167: 
 5168:   # OK, works on sane cases.  Now check whether nonexistent headers
 5169:   # can be detected and how.
 5170:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5171: /* end confdefs.h.  */
 5172: #include <ac_nonexistent.h>
 5173: _ACEOF
 5174: if ac_fn_c_try_cpp "$LINENO"; then :
 5175:   # Broken: success on invalid input.
 5176: continue
 5177: else
 5178:   # Passes both tests.
 5179: ac_preproc_ok=:
 5180: break
 5181: fi
 5182: rm -f conftest.err conftest.i conftest.$ac_ext
 5183: 
 5184: done
 5185: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5186: rm -f conftest.i conftest.err conftest.$ac_ext
 5187: if $ac_preproc_ok; then :
 5188: 
 5189: else
 5190:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5191: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5192: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5193: See \`config.log' for more details" "$LINENO" 5; }
 5194: fi
 5195: 
 5196: ac_ext=c
 5197: ac_cpp='$CPP $CPPFLAGS'
 5198: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5199: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5200: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5201: 
 5202: 
 5203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5204: $as_echo_n "checking for X... " >&6; }
 5205: 
 5206: 
 5207: # Check whether --with-x was given.
 5208: if test "${with_x+set}" = set; then :
 5209:   withval=$with_x;
 5210: fi
 5211: 
 5212: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5213: if test "x$with_x" = xno; then
 5214:   # The user explicitly disabled X.
 5215:   have_x=disabled
 5216: else
 5217:   case $x_includes,$x_libraries in #(
 5218:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 5219:     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 5220:   $as_echo_n "(cached) " >&6
 5221: else
 5222:   # One or both of the vars are not set, and there is no cached value.
 5223: ac_x_includes=no ac_x_libraries=no
 5224: rm -f -r conftest.dir
 5225: if mkdir conftest.dir; then
 5226:   cd conftest.dir
 5227:   cat >Imakefile <<'_ACEOF'
 5228: incroot:
 5229:     @echo incroot='${INCROOT}'
 5230: usrlibdir:
 5231:     @echo usrlibdir='${USRLIBDIR}'
 5232: libdir:
 5233:     @echo libdir='${LIBDIR}'
 5234: _ACEOF
 5235:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5236:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 5237:     for ac_var in incroot usrlibdir libdir; do
 5238:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5239:     done
 5240:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5241:     for ac_extension in a so sl dylib la dll; do
 5242:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5243:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5244:     ac_im_usrlibdir=$ac_im_libdir; break
 5245:       fi
 5246:     done
 5247:     # Screen out bogus values from the imake configuration.  They are
 5248:     # bogus both because they are the default anyway, and because
 5249:     # using them would break gcc on systems where it needs fixed includes.
 5250:     case $ac_im_incroot in
 5251:     /usr/include) ac_x_includes= ;;
 5252:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5253:     esac
 5254:     case $ac_im_usrlibdir in
 5255:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5256:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5257:     esac
 5258:   fi
 5259:   cd ..
 5260:   rm -f -r conftest.dir
 5261: fi
 5262: 
 5263: # Standard set of common directories for X headers.
 5264: # Check X11 before X11Rn because it is often a symlink to the current release.
 5265: ac_x_header_dirs='
 5266: /usr/X11/include
 5267: /usr/X11R7/include
 5268: /usr/X11R6/include
 5269: /usr/X11R5/include
 5270: /usr/X11R4/include
 5271: 
 5272: /usr/include/X11
 5273: /usr/include/X11R7
 5274: /usr/include/X11R6
 5275: /usr/include/X11R5
 5276: /usr/include/X11R4
 5277: 
 5278: /usr/local/X11/include
 5279: /usr/local/X11R7/include
 5280: /usr/local/X11R6/include
 5281: /usr/local/X11R5/include
 5282: /usr/local/X11R4/include
 5283: 
 5284: /usr/local/include/X11
 5285: /usr/local/include/X11R7
 5286: /usr/local/include/X11R6
 5287: /usr/local/include/X11R5
 5288: /usr/local/include/X11R4
 5289: 
 5290: /usr/X386/include
 5291: /usr/x386/include
 5292: /usr/XFree86/include/X11
 5293: 
 5294: /usr/include
 5295: /usr/local/include
 5296: /usr/unsupported/include
 5297: /usr/athena/include
 5298: /usr/local/x11r5/include
 5299: /usr/lpp/Xamples/include
 5300: 
 5301: /usr/openwin/include
 5302: /usr/openwin/share/include'
 5303: 
 5304: if test "$ac_x_includes" = no; then
 5305:   # Guess where to find include files, by looking for Xlib.h.
 5306:   # First, try using that file with no special directory specified.
 5307:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5308: /* end confdefs.h.  */
 5309: #include <X11/Xlib.h>
 5310: _ACEOF
 5311: if ac_fn_c_try_cpp "$LINENO"; then :
 5312:   # We can compile using X headers with no special include directory.
 5313: ac_x_includes=
 5314: else
 5315:   for ac_dir in $ac_x_header_dirs; do
 5316:   if test -r "$ac_dir/X11/Xlib.h"; then
 5317:     ac_x_includes=$ac_dir
 5318:     break
 5319:   fi
 5320: done
 5321: fi
 5322: rm -f conftest.err conftest.i conftest.$ac_ext
 5323: fi # $ac_x_includes = no
 5324: 
 5325: if test "$ac_x_libraries" = no; then
 5326:   # Check for the libraries.
 5327:   # See if we find them without any special options.
 5328:   # Don't add to $LIBS permanently.
 5329:   ac_save_LIBS=$LIBS
 5330:   LIBS="-lX11 $LIBS"
 5331:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5332: /* end confdefs.h.  */
 5333: #include <X11/Xlib.h>
 5334: int
 5335: main ()
 5336: {
 5337: XrmInitialize ()
 5338:   ;
 5339:   return 0;
 5340: }
 5341: _ACEOF
 5342: if ac_fn_c_try_link "$LINENO"; then :
 5343:   LIBS=$ac_save_LIBS
 5344: # We can link X programs with no special library path.
 5345: ac_x_libraries=
 5346: else
 5347:   LIBS=$ac_save_LIBS
 5348: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5349: do
 5350:   # Don't even attempt the hair of trying to link an X program!
 5351:   for ac_extension in a so sl dylib la dll; do
 5352:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5353:       ac_x_libraries=$ac_dir
 5354:       break 2
 5355:     fi
 5356:   done
 5357: done
 5358: fi
 5359: rm -f core conftest.err conftest.$ac_objext \
 5360:     conftest$ac_exeext conftest.$ac_ext
 5361: fi # $ac_x_libraries = no
 5362: 
 5363: case $ac_x_includes,$ac_x_libraries in #(
 5364:   no,* | *,no | *\'*)
 5365:     # Didn't find X, or a directory has "'" in its name.
 5366:     ac_cv_have_x="have_x=no";; #(
 5367:   *)
 5368:     # Record where we found X for the cache.
 5369:     ac_cv_have_x="have_x=yes\
 5370:     ac_x_includes='$ac_x_includes'\
 5371:     ac_x_libraries='$ac_x_libraries'"
 5372: esac
 5373: fi
 5374: ;; #(
 5375:     *) have_x=yes;;
 5376:   esac
 5377:   eval "$ac_cv_have_x"
 5378: fi # $with_x != no
 5379: 
 5380: if test "$have_x" != yes; then
 5381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5382: $as_echo "$have_x" >&6; }
 5383:   no_x=yes
 5384: else
 5385:   # If each of the values was on the command line, it overrides each guess.
 5386:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5387:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5388:   # Update the cache value to reflect the command line values.
 5389:   ac_cv_have_x="have_x=yes\
 5390:     ac_x_includes='$x_includes'\
 5391:     ac_x_libraries='$x_libraries'"
 5392:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5393: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5394: fi
 5395: 
 5396: if test "$no_x" = yes; then
 5397:   # Not all programs may use this symbol, but it does not hurt to define it.
 5398: 
 5399: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5400: 
 5401:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5402: else
 5403:   if test -n "$x_includes"; then
 5404:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5405:   fi
 5406: 
 5407:   # It would also be nice to do this for all -L options, not just this one.
 5408:   if test -n "$x_libraries"; then
 5409:     X_LIBS="$X_LIBS -L$x_libraries"
 5410:     # For Solaris; some versions of Sun CC require a space after -R and
 5411:     # others require no space.  Words are not sufficient . . . .
 5412:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5413: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5414:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5415:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5416:     ac_c_werror_flag=yes
 5417:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5418: /* end confdefs.h.  */
 5419: 
 5420: int
 5421: main ()
 5422: {
 5423: 
 5424:   ;
 5425:   return 0;
 5426: }
 5427: _ACEOF
 5428: if ac_fn_c_try_link "$LINENO"; then :
 5429:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5430: $as_echo "no" >&6; }
 5431:        X_LIBS="$X_LIBS -R$x_libraries"
 5432: else
 5433:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5434:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5435: /* end confdefs.h.  */
 5436: 
 5437: int
 5438: main ()
 5439: {
 5440: 
 5441:   ;
 5442:   return 0;
 5443: }
 5444: _ACEOF
 5445: if ac_fn_c_try_link "$LINENO"; then :
 5446:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5447: $as_echo "yes" >&6; }
 5448:       X_LIBS="$X_LIBS -R $x_libraries"
 5449: else
 5450:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5451: $as_echo "neither works" >&6; }
 5452: fi
 5453: rm -f core conftest.err conftest.$ac_objext \
 5454:     conftest$ac_exeext conftest.$ac_ext
 5455: fi
 5456: rm -f core conftest.err conftest.$ac_objext \
 5457:     conftest$ac_exeext conftest.$ac_ext
 5458:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5459:     LIBS=$ac_xsave_LIBS
 5460:   fi
 5461: 
 5462:   # Check for system-dependent libraries X programs must link with.
 5463:   # Do this before checking for the system-independent R6 libraries
 5464:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5465: 
 5466:   if test "$ISC" = yes; then
 5467:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5468:   else
 5469:     # Martyn Johnson says this is needed for Ultrix, if the X
 5470:     # libraries were built with DECnet support.  And Karl Berry says
 5471:     # the Alpha needs dnet_stub (dnet does not exist).
 5472:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5473:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5474: /* end confdefs.h.  */
 5475: 
 5476: /* Override any GCC internal prototype to avoid an error.
 5477:    Use char because int might match the return type of a GCC
 5478:    builtin and then its argument prototype would still apply.  */
 5479: #ifdef __cplusplus
 5480: extern "C"
 5481: #endif
 5482: char XOpenDisplay ();
 5483: int
 5484: main ()
 5485: {
 5486: return XOpenDisplay ();
 5487:   ;
 5488:   return 0;
 5489: }
 5490: _ACEOF
 5491: if ac_fn_c_try_link "$LINENO"; then :
 5492: 
 5493: else
 5494:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5495: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5496: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
 5497:   $as_echo_n "(cached) " >&6
 5498: else
 5499:   ac_check_lib_save_LIBS=$LIBS
 5500: LIBS="-ldnet  $LIBS"
 5501: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5502: /* end confdefs.h.  */
 5503: 
 5504: /* Override any GCC internal prototype to avoid an error.
 5505:    Use char because int might match the return type of a GCC
 5506:    builtin and then its argument prototype would still apply.  */
 5507: #ifdef __cplusplus
 5508: extern "C"
 5509: #endif
 5510: char dnet_ntoa ();
 5511: int
 5512: main ()
 5513: {
 5514: return dnet_ntoa ();
 5515:   ;
 5516:   return 0;
 5517: }
 5518: _ACEOF
 5519: if ac_fn_c_try_link "$LINENO"; then :
 5520:   ac_cv_lib_dnet_dnet_ntoa=yes
 5521: else
 5522:   ac_cv_lib_dnet_dnet_ntoa=no
 5523: fi
 5524: rm -f core conftest.err conftest.$ac_objext \
 5525:     conftest$ac_exeext conftest.$ac_ext
 5526: LIBS=$ac_check_lib_save_LIBS
 5527: fi
 5528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5529: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5530: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
 5531:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5532: fi
 5533: 
 5534:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5535:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5536: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5537: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
 5538:   $as_echo_n "(cached) " >&6
 5539: else
 5540:   ac_check_lib_save_LIBS=$LIBS
 5541: LIBS="-ldnet_stub  $LIBS"
 5542: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5543: /* end confdefs.h.  */
 5544: 
 5545: /* Override any GCC internal prototype to avoid an error.
 5546:    Use char because int might match the return type of a GCC
 5547:    builtin and then its argument prototype would still apply.  */
 5548: #ifdef __cplusplus
 5549: extern "C"
 5550: #endif
 5551: char dnet_ntoa ();
 5552: int
 5553: main ()
 5554: {
 5555: return dnet_ntoa ();
 5556:   ;
 5557:   return 0;
 5558: }
 5559: _ACEOF
 5560: if ac_fn_c_try_link "$LINENO"; then :
 5561:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5562: else
 5563:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5564: fi
 5565: rm -f core conftest.err conftest.$ac_objext \
 5566:     conftest$ac_exeext conftest.$ac_ext
 5567: LIBS=$ac_check_lib_save_LIBS
 5568: fi
 5569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5570: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5571: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
 5572:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5573: fi
 5574: 
 5575:     fi
 5576: fi
 5577: rm -f core conftest.err conftest.$ac_objext \
 5578:     conftest$ac_exeext conftest.$ac_ext
 5579:     LIBS="$ac_xsave_LIBS"
 5580: 
 5581:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5582:     # to get the SysV transport functions.
 5583:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5584:     # needs -lnsl.
 5585:     # The nsl library prevents programs from opening the X display
 5586:     # on Irix 5.2, according to T.E. Dickey.
 5587:     # The functions gethostbyname, getservbyname, and inet_addr are
 5588:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5589:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5590: if test "x$ac_cv_func_gethostbyname" = xyes; then :
 5591: 
 5592: fi
 5593: 
 5594:     if test $ac_cv_func_gethostbyname = no; then
 5595:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5596: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5597: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 5598:   $as_echo_n "(cached) " >&6
 5599: else
 5600:   ac_check_lib_save_LIBS=$LIBS
 5601: LIBS="-lnsl  $LIBS"
 5602: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5603: /* end confdefs.h.  */
 5604: 
 5605: /* Override any GCC internal prototype to avoid an error.
 5606:    Use char because int might match the return type of a GCC
 5607:    builtin and then its argument prototype would still apply.  */
 5608: #ifdef __cplusplus
 5609: extern "C"
 5610: #endif
 5611: char gethostbyname ();
 5612: int
 5613: main ()
 5614: {
 5615: return gethostbyname ();
 5616:   ;
 5617:   return 0;
 5618: }
 5619: _ACEOF
 5620: if ac_fn_c_try_link "$LINENO"; then :
 5621:   ac_cv_lib_nsl_gethostbyname=yes
 5622: else
 5623:   ac_cv_lib_nsl_gethostbyname=no
 5624: fi
 5625: rm -f core conftest.err conftest.$ac_objext \
 5626:     conftest$ac_exeext conftest.$ac_ext
 5627: LIBS=$ac_check_lib_save_LIBS
 5628: fi
 5629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5630: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5631: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 5632:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5633: fi
 5634: 
 5635:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5636:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5637: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5638: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
 5639:   $as_echo_n "(cached) " >&6
 5640: else
 5641:   ac_check_lib_save_LIBS=$LIBS
 5642: LIBS="-lbsd  $LIBS"
 5643: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5644: /* end confdefs.h.  */
 5645: 
 5646: /* Override any GCC internal prototype to avoid an error.
 5647:    Use char because int might match the return type of a GCC
 5648:    builtin and then its argument prototype would still apply.  */
 5649: #ifdef __cplusplus
 5650: extern "C"
 5651: #endif
 5652: char gethostbyname ();
 5653: int
 5654: main ()
 5655: {
 5656: return gethostbyname ();
 5657:   ;
 5658:   return 0;
 5659: }
 5660: _ACEOF
 5661: if ac_fn_c_try_link "$LINENO"; then :
 5662:   ac_cv_lib_bsd_gethostbyname=yes
 5663: else
 5664:   ac_cv_lib_bsd_gethostbyname=no
 5665: fi
 5666: rm -f core conftest.err conftest.$ac_objext \
 5667:     conftest$ac_exeext conftest.$ac_ext
 5668: LIBS=$ac_check_lib_save_LIBS
 5669: fi
 5670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5671: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5672: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
 5673:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5674: fi
 5675: 
 5676:       fi
 5677:     fi
 5678: 
 5679:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5680:     # socket/setsockopt and other routines are undefined under SCO ODT
 5681:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5682:     # on later versions), says Simon Leinen: it contains gethostby*
 5683:     # variants that don't use the name server (or something).  -lsocket
 5684:     # must be given before -lnsl if both are needed.  We assume that
 5685:     # if connect needs -lnsl, so does gethostbyname.
 5686:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5687: if test "x$ac_cv_func_connect" = xyes; then :
 5688: 
 5689: fi
 5690: 
 5691:     if test $ac_cv_func_connect = no; then
 5692:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5693: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5694: if ${ac_cv_lib_socket_connect+:} false; then :
 5695:   $as_echo_n "(cached) " >&6
 5696: else
 5697:   ac_check_lib_save_LIBS=$LIBS
 5698: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5699: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5700: /* end confdefs.h.  */
 5701: 
 5702: /* Override any GCC internal prototype to avoid an error.
 5703:    Use char because int might match the return type of a GCC
 5704:    builtin and then its argument prototype would still apply.  */
 5705: #ifdef __cplusplus
 5706: extern "C"
 5707: #endif
 5708: char connect ();
 5709: int
 5710: main ()
 5711: {
 5712: return connect ();
 5713:   ;
 5714:   return 0;
 5715: }
 5716: _ACEOF
 5717: if ac_fn_c_try_link "$LINENO"; then :
 5718:   ac_cv_lib_socket_connect=yes
 5719: else
 5720:   ac_cv_lib_socket_connect=no
 5721: fi
 5722: rm -f core conftest.err conftest.$ac_objext \
 5723:     conftest$ac_exeext conftest.$ac_ext
 5724: LIBS=$ac_check_lib_save_LIBS
 5725: fi
 5726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5727: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5728: if test "x$ac_cv_lib_socket_connect" = xyes; then :
 5729:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5730: fi
 5731: 
 5732:     fi
 5733: 
 5734:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5735:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5736: if test "x$ac_cv_func_remove" = xyes; then :
 5737: 
 5738: fi
 5739: 
 5740:     if test $ac_cv_func_remove = no; then
 5741:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5742: $as_echo_n "checking for remove in -lposix... " >&6; }
 5743: if ${ac_cv_lib_posix_remove+:} false; then :
 5744:   $as_echo_n "(cached) " >&6
 5745: else
 5746:   ac_check_lib_save_LIBS=$LIBS
 5747: LIBS="-lposix  $LIBS"
 5748: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5749: /* end confdefs.h.  */
 5750: 
 5751: /* Override any GCC internal prototype to avoid an error.
 5752:    Use char because int might match the return type of a GCC
 5753:    builtin and then its argument prototype would still apply.  */
 5754: #ifdef __cplusplus
 5755: extern "C"
 5756: #endif
 5757: char remove ();
 5758: int
 5759: main ()
 5760: {
 5761: return remove ();
 5762:   ;
 5763:   return 0;
 5764: }
 5765: _ACEOF
 5766: if ac_fn_c_try_link "$LINENO"; then :
 5767:   ac_cv_lib_posix_remove=yes
 5768: else
 5769:   ac_cv_lib_posix_remove=no
 5770: fi
 5771: rm -f core conftest.err conftest.$ac_objext \
 5772:     conftest$ac_exeext conftest.$ac_ext
 5773: LIBS=$ac_check_lib_save_LIBS
 5774: fi
 5775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5776: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5777: if test "x$ac_cv_lib_posix_remove" = xyes; then :
 5778:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5779: fi
 5780: 
 5781:     fi
 5782: 
 5783:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5784:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5785: if test "x$ac_cv_func_shmat" = xyes; then :
 5786: 
 5787: fi
 5788: 
 5789:     if test $ac_cv_func_shmat = no; then
 5790:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5791: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5792: if ${ac_cv_lib_ipc_shmat+:} false; then :
 5793:   $as_echo_n "(cached) " >&6
 5794: else
 5795:   ac_check_lib_save_LIBS=$LIBS
 5796: LIBS="-lipc  $LIBS"
 5797: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5798: /* end confdefs.h.  */
 5799: 
 5800: /* Override any GCC internal prototype to avoid an error.
 5801:    Use char because int might match the return type of a GCC
 5802:    builtin and then its argument prototype would still apply.  */
 5803: #ifdef __cplusplus
 5804: extern "C"
 5805: #endif
 5806: char shmat ();
 5807: int
 5808: main ()
 5809: {
 5810: return shmat ();
 5811:   ;
 5812:   return 0;
 5813: }
 5814: _ACEOF
 5815: if ac_fn_c_try_link "$LINENO"; then :
 5816:   ac_cv_lib_ipc_shmat=yes
 5817: else
 5818:   ac_cv_lib_ipc_shmat=no
 5819: fi
 5820: rm -f core conftest.err conftest.$ac_objext \
 5821:     conftest$ac_exeext conftest.$ac_ext
 5822: LIBS=$ac_check_lib_save_LIBS
 5823: fi
 5824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5825: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5826: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
 5827:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5828: fi
 5829: 
 5830:     fi
 5831:   fi
 5832: 
 5833:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5834:   ac_save_LDFLAGS=$LDFLAGS
 5835:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5836:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5837:   # check for ICE first), but we must link in the order -lSM -lICE or
 5838:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5839:   # These have to be linked with before -lX11, unlike the other
 5840:   # libraries we check for below, so use a different variable.
 5841:   # John Interrante, Karl Berry
 5842:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5843: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5844: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
 5845:   $as_echo_n "(cached) " >&6
 5846: else
 5847:   ac_check_lib_save_LIBS=$LIBS
 5848: LIBS="-lICE $X_EXTRA_LIBS $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 IceConnectionNumber ();
 5859: int
 5860: main ()
 5861: {
 5862: return IceConnectionNumber ();
 5863:   ;
 5864:   return 0;
 5865: }
 5866: _ACEOF
 5867: if ac_fn_c_try_link "$LINENO"; then :
 5868:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5869: else
 5870:   ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber" >&5
 5877: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5878: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
 5879:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5880: fi
 5881: 
 5882:   LDFLAGS=$ac_save_LDFLAGS
 5883: 
 5884: fi
 5885: 
 5886: 
 5887: if test "$ac_x_includes" != "no"; then
 5888:     if test x"$ac_x_includes" != x; then
 5889:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5890:         includeX="-I$ac_x_includes"
 5891:     fi
 5892: fi
 5893: if test "$ac_x_libraries" != "no"; then
 5894:     if test x"$ac_x_libraries" != x; then
 5895:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5896:     fi
 5897: fi
 5898: 
 5899: 
 5900: # Check whether --with-32bits-abi was given.
 5901: if test "${with_32bits_abi+set}" = set; then :
 5902:   withval=$with_32bits_abi;
 5903: if test "$with-32bits-abi" = "no"; then
 5904:     ABI=
 5905: else
 5906:     ABI=-m32
 5907: fi
 5908: else
 5909: 
 5910:     ABI=
 5911: 
 5912: 
 5913: fi
 5914: 
 5915: 
 5916: if test x$ABI = x; then
 5917: 
 5918: # Check whether --with-64bits-abi was given.
 5919: if test "${with_64bits_abi+set}" = set; then :
 5920:   withval=$with_64bits_abi;
 5921: if test "$with-64bits-abi" = "no"; then
 5922:     ABI=
 5923: else
 5924:     ABI=-m64
 5925: fi
 5926: else
 5927: 
 5928:     ABI=
 5929: 
 5930: 
 5931: fi
 5932: 
 5933: fi
 5934: 
 5935: LDFLAGS="$LDFLAGS $ABI"
 5936: 
 5937: 
 5938: # Check whether --with-rplcas was given.
 5939: if test "${with_rplcas+set}" = set; then :
 5940:   withval=$with_rplcas;
 5941: if test "$with-rplcas" = "no"; then
 5942:     RPLCAS=-URPLCAS
 5943:     LIBRPLCAS=
 5944: else
 5945:     RPLCAS=-DRPLCAS
 5946:     LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
 5947: fi
 5948: else
 5949: 
 5950:     RPLCAS=-URPLCAS
 5951:     LIBRPLCAS=
 5952: 
 5953: 
 5954: fi
 5955: 
 5956: 
 5957: 
 5958: 
 5959: 
 5960: 
 5961: # Check whether --enable-optimization was given.
 5962: if test "${enable_optimization+set}" = set; then :
 5963:   enableval=$enable_optimization;
 5964: if test "$enableval" = "no"; then
 5965:     CFLAGS=$ABI
 5966:     FFLAGS=$ABI
 5967:     CXXFLAGS=$ABI
 5968:     FCFLAGS=$ABI
 5969: else
 5970:     CFLAGS="$CFLAGS $ABI $enable_optimization"
 5971:     FFLAGS="$FFLAGS $ABI $enable_optimization"
 5972:     CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
 5973:     FCFLAGS="$FCFLAGS $ABI $enable_optimization"
 5974: fi
 5975: else
 5976: 
 5977:     CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
 5978:     FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
 5979:     CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
 5980:     FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
 5981: 
 5982: 
 5983: fi
 5984: 
 5985: 
 5986: # Check whether --enable-sysv-semaphores was given.
 5987: if test "${enable_sysv_semaphores+set}" = set; then :
 5988:   enableval=$enable_sysv_semaphores;
 5989: if test "$enableval" = "no"; then
 5990:     IPCS_SYSV=no
 5991: else
 5992:     IPCS_SYSV=yes
 5993: fi
 5994: else
 5995:   IPCS_SYSV=no
 5996: fi
 5997: 
 5998: 
 5999: # Check whether --enable-full-static was given.
 6000: if test "${enable_full_static+set}" = set; then :
 6001:   enableval=$enable_full_static;
 6002: if test "$enableval" = "no"; then
 6003:     STATIC=no
 6004: else
 6005:     STATIC=yes
 6006: fi
 6007: else
 6008:   STATIC=no
 6009: fi
 6010: 
 6011: 
 6012: # Check whether --enable-final-encoding was given.
 6013: if test "${enable_final_encoding+set}" = set; then :
 6014:   enableval=$enable_final_encoding;
 6015: if test "$enableval" = "no"; then
 6016:     FINAL_ENCODING="\$(shell locale charmap | \
 6017:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6018:     FORCED_FINAL_ENCODING=0
 6019: else
 6020:     FINAL_ENCODING="$enable_final_encoding"
 6021:     FORCED_FINAL_ENCODING=1
 6022: fi
 6023: else
 6024: 
 6025: FORCED_FINAL_ENCODING=0
 6026: FINAL_ENCODING="\$(shell locale charmap | \
 6027:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6028: fi
 6029: 
 6030: 
 6031: # Check whether --enable-tex was given.
 6032: if test "${enable_tex+set}" = set; then :
 6033:   enableval=$enable_tex;
 6034: if test "$enableval" = "no"; then
 6035:     TEX_SUPPORT=no
 6036: else
 6037:     TEX_SUPPORT=yes
 6038: fi
 6039: else
 6040:   TEX_SUPPORT=guessed
 6041: fi
 6042: 
 6043: 
 6044: # Check whether --enable-vim was given.
 6045: if test "${enable_vim+set}" = set; then :
 6046:   enableval=$enable_vim;
 6047: if test "$enableval" = "no"; then
 6048:     VIM_SUPPORT=no
 6049: else
 6050:     VIM_SUPPORT=yes
 6051: fi
 6052: else
 6053:   VIM_SUPPORT=guessed
 6054: fi
 6055: 
 6056: 
 6057: # Check whether --enable-embedded-gnuplot was given.
 6058: if test "${enable_embedded_gnuplot+set}" = set; then :
 6059:   enableval=$enable_embedded_gnuplot;
 6060: if test "$enableval" = "no"; then
 6061:     MYGNUPLOT=no
 6062: else
 6063:     MYGNUPLOT=yes
 6064: fi
 6065: else
 6066: 
 6067: MYGNUPLOT=yes
 6068: fi
 6069: 
 6070: 
 6071: # Check whether --enable-gnuplot was given.
 6072: if test "${enable_gnuplot+set}" = set; then :
 6073:   enableval=$enable_gnuplot;
 6074: if test "$enableval" = "no"; then
 6075:     GNUPLOT_SUPPORT=no
 6076:     MYGNUPLOT=no
 6077:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6078: else
 6079:     GNUPLOT_SUPPORT=yes
 6080:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6081: fi
 6082: else
 6083: 
 6084: if test "$MYGNUPLOT" = "yes"; then
 6085:     GNUPLOT_SUPPORT=yes
 6086:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6087: else
 6088:     GNUPLOT_SUPPORT=guessed
 6089:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6090: fi
 6091: fi
 6092: 
 6093: 
 6094: # Check whether --enable-motif was given.
 6095: if test "${enable_motif+set}" = set; then :
 6096:   enableval=$enable_motif;
 6097: if test "$enableval" = "no"; then
 6098:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6099: else
 6100:     CFLAGS_ORIG=$CFLAGS
 6101:     LIBS_ORIG=$LIBS
 6102:     CFLAGS="$CFLAGS $X_CFLAGS"
 6103:     LIBS="$LIB $X_LIBS"
 6104:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6105: $as_echo_n "checking for main in -lXm... " >&6; }
 6106: if ${ac_cv_lib_Xm_main+:} false; then :
 6107:   $as_echo_n "(cached) " >&6
 6108: else
 6109:   ac_check_lib_save_LIBS=$LIBS
 6110: LIBS="-lXm  $LIBS"
 6111: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6112: /* end confdefs.h.  */
 6113: 
 6114: 
 6115: int
 6116: main ()
 6117: {
 6118: return main ();
 6119:   ;
 6120:   return 0;
 6121: }
 6122: _ACEOF
 6123: if ac_fn_c_try_link "$LINENO"; then :
 6124:   ac_cv_lib_Xm_main=yes
 6125: else
 6126:   ac_cv_lib_Xm_main=no
 6127: fi
 6128: rm -f core conftest.err conftest.$ac_objext \
 6129:     conftest$ac_exeext conftest.$ac_ext
 6130: LIBS=$ac_check_lib_save_LIBS
 6131: fi
 6132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6133: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6134: if test "x$ac_cv_lib_Xm_main" = xyes; then :
 6135:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6136: else
 6137:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6138: fi
 6139: 
 6140:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6141:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
 6142: Motif flag is disabled.
 6143: " >&5
 6144: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
 6145: Motif flag is disabled.
 6146: " >&2;}
 6147:     fi
 6148:     LIBS=$LIBS_ORIG
 6149:     CFLAGS=$CFLAGS_ORIG
 6150: fi
 6151: else
 6152:   MOTIF_SUPPORT=guessed
 6153: fi
 6154: 
 6155: 
 6156: # Check whether --enable-experimental was given.
 6157: if test "${enable_experimental+set}" = set; then :
 6158:   enableval=$enable_experimental;
 6159: if test "$enableval" = "no"; then
 6160:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6161: else
 6162:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6163: fi
 6164: else
 6165:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6166: fi
 6167: 
 6168: 
 6169: # Check whether --enable-debug was given.
 6170: if test "${enable_debug+set}" = set; then :
 6171:   enableval=$enable_debug;
 6172: if test "$enableval" = "no"; then
 6173:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6174: else
 6175:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6176: fi
 6177: else
 6178:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6179: fi
 6180: 
 6181: 
 6182: # Check whether --enable-profile was given.
 6183: if test "${enable_profile+set}" = set; then :
 6184:   enableval=$enable_profile;
 6185: if test "$enableval" = "no"; then
 6186:     PROFILAGE=""
 6187: else
 6188:     PROFILAGE="-pg"
 6189: fi
 6190: else
 6191:   PROFILAGE=""
 6192: fi
 6193: 
 6194: 
 6195: 
 6196: 
 6197: if test ! -d tools; then
 6198:     mkdir tools
 6199: fi
 6200: if test ! -d "$srcdir"/tools/$NCURSES; then
 6201:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6202:             (cd "$srcdir/tools" && tar -xf -)
 6203:     (cd "$srcdir/tools/"$NCURSES && \
 6204:             for i in ../$NCURSES*.patch.gz;
 6205:             do gunzip -c $i | patch -p1;
 6206:             done);
 6207: fi
 6208: if test ! -d "$srcdir"/tools/$READLINE; then
 6209:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6210:             (cd "$srcdir/tools" && tar -xf -)
 6211: fi
 6212: if test ! -d "$srcdir"/tools/$UNITS; then
 6213:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6214:             (cd "$srcdir/tools" && tar -xf -)
 6215: fi
 6216: if test ! -d "$srcdir"/tools/$GSL; then
 6217:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6218:             (cd "$srcdir/tools" && tar -xf -)
 6219:     if test $(uname) = "OS/2"; then
 6220:         (cd "$srcdir"/tools/$GSL; \
 6221:                 TMP=$(mktemp tmp.XXXXXXXXXX); \
 6222:                 sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
 6223:                 \mv -f $TMP ltmain.sh)
 6224:     fi
 6225: fi
 6226: if test ! -d "$srcdir"/tools/$GPP; then
 6227:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6228:             (cd "$srcdir/tools" && tar -xf -)
 6229: fi
 6230: if test ! -d "$srcdir"/tools/$FILE; then
 6231:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6232:             (cd "$srcdir/tools" && tar -xf - )
 6233:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6234: fi
 6235: if test ! -d "$srcdir"/tools/$ICONV; then
 6236:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6237:             (cd "$srcdir/tools" && tar -xf -)
 6238: fi
 6239: if test ! -d "$srcdir"/tools/$SQLITE; then
 6240:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6241:             (cd "$srcdir/tools" && tar -xf -)
 6242: fi
 6243: if test ! -d tools/$OPENSSL; then
 6244:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6245:             (cd tools && tar -xf -)
 6246: fi
 6247: if test ! -d rplcas; then
 6248:     mkdir rplcas
 6249: fi
 6250: if test ! -d "$srcdir"/rplcas/$GMP; then
 6251:     gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
 6252:             (cd "$srcdir/rplcas" && tar -xf -)
 6253: fi
 6254: if test ! -d "$srcdir"/rplcas/$MPFR; then
 6255:     gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
 6256:             (cd "$srcdir/rplcas" && tar -xf -)
 6257: fi
 6258: if test ! -d rplcas/$NTL; then
 6259:     gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
 6260:             (cd rplcas && tar -xf -)
 6261: fi
 6262: if test ! -d rplcas/$COCOA; then
 6263:     gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
 6264:             (cd rplcas && tar -xf -)
 6265: fi
 6266: if test ! -d rplcas/$PARI; then
 6267:     gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
 6268:             (cd rplcas && tar -xf -)
 6269: fi
 6270: if test ! -d "$srcdir"/rplcas/$GIAC; then
 6271:     gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
 6272:             (cd "$srcdir/rplcas" && tar -xf -)
 6273: fi
 6274: 
 6275: 
 6276: 
 6277: # Check whether --enable-final-run-path was given.
 6278: if test "${enable_final_run_path+set}" = set; then :
 6279:   enableval=$enable_final_run_path;
 6280:     if test "x$enable_final_run_path" = "x"; then
 6281:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6282: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6283:         as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
 6284:     else
 6285:         RUNPATH="$enable_final_run_path"
 6286:     fi
 6287: 
 6288: else
 6289:   RUNPATH="\${prefix}"
 6290: 
 6291: fi
 6292: 
 6293: 
 6294: 
 6295: 
 6296: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6297: $as_echo_n "checking whether ln -s works... " >&6; }
 6298: LN_S=$as_ln_s
 6299: if test "$LN_S" = "ln -s"; then
 6300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6301: $as_echo "yes" >&6; }
 6302: else
 6303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6304: $as_echo "no, using $LN_S" >&6; }
 6305: fi
 6306: 
 6307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6308: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6309: set x ${MAKE-make}
 6310: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6311: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 6312:   $as_echo_n "(cached) " >&6
 6313: else
 6314:   cat >conftest.make <<\_ACEOF
 6315: SHELL = /bin/sh
 6316: all:
 6317:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6318: _ACEOF
 6319: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 6320: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6321:   *@@@%%%=?*=@@@%%%*)
 6322:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6323:   *)
 6324:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6325: esac
 6326: rm -f conftest.make
 6327: fi
 6328: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6329:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6330: $as_echo "yes" >&6; }
 6331:   SET_MAKE=
 6332: else
 6333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6334: $as_echo "no" >&6; }
 6335:   SET_MAKE="MAKE=${MAKE-make}"
 6336: fi
 6337: 
 6338: if test -n "$ac_tool_prefix"; then
 6339:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6340: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6342: $as_echo_n "checking for $ac_word... " >&6; }
 6343: if ${ac_cv_prog_RANLIB+:} false; then :
 6344:   $as_echo_n "(cached) " >&6
 6345: else
 6346:   if test -n "$RANLIB"; then
 6347:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6348: else
 6349: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6350: for as_dir in $PATH
 6351: do
 6352:   IFS=$as_save_IFS
 6353:   test -z "$as_dir" && as_dir=.
 6354:     for ac_exec_ext in '' $ac_executable_extensions; do
 6355:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6356:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6357:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6358:     break 2
 6359:   fi
 6360: done
 6361:   done
 6362: IFS=$as_save_IFS
 6363: 
 6364: fi
 6365: fi
 6366: RANLIB=$ac_cv_prog_RANLIB
 6367: if test -n "$RANLIB"; then
 6368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6369: $as_echo "$RANLIB" >&6; }
 6370: else
 6371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6372: $as_echo "no" >&6; }
 6373: fi
 6374: 
 6375: 
 6376: fi
 6377: if test -z "$ac_cv_prog_RANLIB"; then
 6378:   ac_ct_RANLIB=$RANLIB
 6379:   # Extract the first word of "ranlib", so it can be a program name with args.
 6380: set dummy ranlib; ac_word=$2
 6381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6382: $as_echo_n "checking for $ac_word... " >&6; }
 6383: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 6384:   $as_echo_n "(cached) " >&6
 6385: else
 6386:   if test -n "$ac_ct_RANLIB"; then
 6387:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6388: else
 6389: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6390: for as_dir in $PATH
 6391: do
 6392:   IFS=$as_save_IFS
 6393:   test -z "$as_dir" && as_dir=.
 6394:     for ac_exec_ext in '' $ac_executable_extensions; do
 6395:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6396:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6397:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6398:     break 2
 6399:   fi
 6400: done
 6401:   done
 6402: IFS=$as_save_IFS
 6403: 
 6404: fi
 6405: fi
 6406: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6407: if test -n "$ac_ct_RANLIB"; then
 6408:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6409: $as_echo "$ac_ct_RANLIB" >&6; }
 6410: else
 6411:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6412: $as_echo "no" >&6; }
 6413: fi
 6414: 
 6415:   if test "x$ac_ct_RANLIB" = x; then
 6416:     RANLIB=":"
 6417:   else
 6418:     case $cross_compiling:$ac_tool_warned in
 6419: yes:)
 6420: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6421: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6422: ac_tool_warned=yes ;;
 6423: esac
 6424:     RANLIB=$ac_ct_RANLIB
 6425:   fi
 6426: else
 6427:   RANLIB="$ac_cv_prog_RANLIB"
 6428: fi
 6429: 
 6430: 
 6431: # Extract the first word of "nawk", so it can be a program name with args.
 6432: set dummy nawk; ac_word=$2
 6433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6434: $as_echo_n "checking for $ac_word... " >&6; }
 6435: if ${ac_cv_prog_AWK+:} false; then :
 6436:   $as_echo_n "(cached) " >&6
 6437: else
 6438:   if test -n "$AWK"; then
 6439:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6440: else
 6441: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6442: for as_dir in $PATH
 6443: do
 6444:   IFS=$as_save_IFS
 6445:   test -z "$as_dir" && as_dir=.
 6446:     for ac_exec_ext in '' $ac_executable_extensions; do
 6447:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6448:     ac_cv_prog_AWK="yes"
 6449:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6450:     break 2
 6451:   fi
 6452: done
 6453:   done
 6454: IFS=$as_save_IFS
 6455: 
 6456:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6457: fi
 6458: fi
 6459: AWK=$ac_cv_prog_AWK
 6460: if test -n "$AWK"; then
 6461:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6462: $as_echo "$AWK" >&6; }
 6463: else
 6464:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6465: $as_echo "no" >&6; }
 6466: fi
 6467: 
 6468: 
 6469: if test "$AWK" = no; then
 6470:     # Extract the first word of "gawk", so it can be a program name with args.
 6471: set dummy gawk; ac_word=$2
 6472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6473: $as_echo_n "checking for $ac_word... " >&6; }
 6474: if ${ac_cv_prog_AWK+:} false; then :
 6475:   $as_echo_n "(cached) " >&6
 6476: else
 6477:   if test -n "$AWK"; then
 6478:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6479: else
 6480: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6481: for as_dir in $PATH
 6482: do
 6483:   IFS=$as_save_IFS
 6484:   test -z "$as_dir" && as_dir=.
 6485:     for ac_exec_ext in '' $ac_executable_extensions; do
 6486:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6487:     ac_cv_prog_AWK="yes"
 6488:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6489:     break 2
 6490:   fi
 6491: done
 6492:   done
 6493: IFS=$as_save_IFS
 6494: 
 6495:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6496: fi
 6497: fi
 6498: AWK=$ac_cv_prog_AWK
 6499: if test -n "$AWK"; then
 6500:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6501: $as_echo "$AWK" >&6; }
 6502: else
 6503:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6504: $as_echo "no" >&6; }
 6505: fi
 6506: 
 6507: 
 6508:     if test "$AWK" = no; then
 6509:         as_fn_error $? "Can not find nawk !" "$LINENO" 5
 6510:     fi
 6511: fi
 6512: 
 6513: # Extract the first word of "sed", so it can be a program name with args.
 6514: set dummy sed; ac_word=$2
 6515: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6516: $as_echo_n "checking for $ac_word... " >&6; }
 6517: if ${ac_cv_prog_SED+:} false; then :
 6518:   $as_echo_n "(cached) " >&6
 6519: else
 6520:   if test -n "$SED"; then
 6521:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6522: else
 6523: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6524: for as_dir in $PATH
 6525: do
 6526:   IFS=$as_save_IFS
 6527:   test -z "$as_dir" && as_dir=.
 6528:     for ac_exec_ext in '' $ac_executable_extensions; do
 6529:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6530:     ac_cv_prog_SED="yes"
 6531:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6532:     break 2
 6533:   fi
 6534: done
 6535:   done
 6536: IFS=$as_save_IFS
 6537: 
 6538:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6539: fi
 6540: fi
 6541: SED=$ac_cv_prog_SED
 6542: if test -n "$SED"; then
 6543:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6544: $as_echo "$SED" >&6; }
 6545: else
 6546:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6547: $as_echo "no" >&6; }
 6548: fi
 6549: 
 6550: 
 6551: if test "$SED" = no; then
 6552:     as_fn_error $? "Can not find sed !" "$LINENO" 5
 6553: fi
 6554: 
 6555: if test "$TEX_SUPPORT" = guessed; then
 6556:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6557: 
 6558:     # Extract the first word of "tex", so it can be a program name with args.
 6559: set dummy tex; ac_word=$2
 6560: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6561: $as_echo_n "checking for $ac_word... " >&6; }
 6562: if ${ac_cv_prog_TEX+:} false; then :
 6563:   $as_echo_n "(cached) " >&6
 6564: else
 6565:   if test -n "$TEX"; then
 6566:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6567: else
 6568: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6569: for as_dir in $PATH
 6570: do
 6571:   IFS=$as_save_IFS
 6572:   test -z "$as_dir" && as_dir=.
 6573:     for ac_exec_ext in '' $ac_executable_extensions; do
 6574:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6575:     ac_cv_prog_TEX="yes"
 6576:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6577:     break 2
 6578:   fi
 6579: done
 6580:   done
 6581: IFS=$as_save_IFS
 6582: 
 6583:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6584: fi
 6585: fi
 6586: TEX=$ac_cv_prog_TEX
 6587: if test -n "$TEX"; then
 6588:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6589: $as_echo "$TEX" >&6; }
 6590: else
 6591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6592: $as_echo "no" >&6; }
 6593: fi
 6594: 
 6595: 
 6596:     if test "$TEX" = no; then
 6597:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6598: Download at http://tex.loria.fr/
 6599: " >&5
 6600: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6601: Download at http://tex.loria.fr/
 6602: " >&2;}
 6603:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6604:     fi
 6605: 
 6606:     # Extract the first word of "latex", so it can be a program name with args.
 6607: set dummy latex; ac_word=$2
 6608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6609: $as_echo_n "checking for $ac_word... " >&6; }
 6610: if ${ac_cv_prog_LATEX+:} false; then :
 6611:   $as_echo_n "(cached) " >&6
 6612: else
 6613:   if test -n "$LATEX"; then
 6614:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6615: else
 6616: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6617: for as_dir in $PATH
 6618: do
 6619:   IFS=$as_save_IFS
 6620:   test -z "$as_dir" && as_dir=.
 6621:     for ac_exec_ext in '' $ac_executable_extensions; do
 6622:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6623:     ac_cv_prog_LATEX="yes"
 6624:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6625:     break 2
 6626:   fi
 6627: done
 6628:   done
 6629: IFS=$as_save_IFS
 6630: 
 6631:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6632: fi
 6633: fi
 6634: LATEX=$ac_cv_prog_LATEX
 6635: if test -n "$LATEX"; then
 6636:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6637: $as_echo "$LATEX" >&6; }
 6638: else
 6639:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6640: $as_echo "no" >&6; }
 6641: fi
 6642: 
 6643: 
 6644:     if test "$LATEX" = no; then
 6645:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6646: Download at http://tex.loria.fr/
 6647: " >&5
 6648: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6649: Download at http://tex.loria.fr/
 6650: " >&2;}
 6651:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6652:     fi
 6653: 
 6654:     # Extract the first word of "dvips", so it can be a program name with args.
 6655: set dummy dvips; ac_word=$2
 6656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6657: $as_echo_n "checking for $ac_word... " >&6; }
 6658: if ${ac_cv_prog_DVIPS+:} false; then :
 6659:   $as_echo_n "(cached) " >&6
 6660: else
 6661:   if test -n "$DVIPS"; then
 6662:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6663: else
 6664: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6665: for as_dir in $PATH
 6666: do
 6667:   IFS=$as_save_IFS
 6668:   test -z "$as_dir" && as_dir=.
 6669:     for ac_exec_ext in '' $ac_executable_extensions; do
 6670:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6671:     ac_cv_prog_DVIPS="yes"
 6672:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6673:     break 2
 6674:   fi
 6675: done
 6676:   done
 6677: IFS=$as_save_IFS
 6678: 
 6679:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6680: fi
 6681: fi
 6682: DVIPS=$ac_cv_prog_DVIPS
 6683: if test -n "$DVIPS"; then
 6684:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6685: $as_echo "$DVIPS" >&6; }
 6686: else
 6687:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6688: $as_echo "no" >&6; }
 6689: fi
 6690: 
 6691: 
 6692:     if test "$DVIPS" = no; then
 6693:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6694: Download at http://tex.loria.fr/
 6695: " >&5
 6696: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6697: Download at http://tex.loria.fr/
 6698: " >&2;}
 6699:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6700:     fi
 6701: 
 6702:     # Extract the first word of "gs", so it can be a program name with args.
 6703: set dummy gs; ac_word=$2
 6704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6705: $as_echo_n "checking for $ac_word... " >&6; }
 6706: if ${ac_cv_prog_GS+:} false; then :
 6707:   $as_echo_n "(cached) " >&6
 6708: else
 6709:   if test -n "$GS"; then
 6710:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6711: else
 6712: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6713: for as_dir in $PATH
 6714: do
 6715:   IFS=$as_save_IFS
 6716:   test -z "$as_dir" && as_dir=.
 6717:     for ac_exec_ext in '' $ac_executable_extensions; do
 6718:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6719:     ac_cv_prog_GS="yes"
 6720:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6721:     break 2
 6722:   fi
 6723: done
 6724:   done
 6725: IFS=$as_save_IFS
 6726: 
 6727:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6728: fi
 6729: fi
 6730: GS=$ac_cv_prog_GS
 6731: if test -n "$GS"; then
 6732:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6733: $as_echo "$GS" >&6; }
 6734: else
 6735:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6736: $as_echo "no" >&6; }
 6737: fi
 6738: 
 6739: 
 6740:     if test "$GS" = no; then
 6741:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6742: Download at http://ftp.lip6.fr/
 6743: " >&5
 6744: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6745: Download at http://ftp.lip6.fr/
 6746: " >&2;}
 6747:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6748:     fi
 6749: 
 6750:     # Extract the first word of "gv", so it can be a program name with args.
 6751: set dummy gv; ac_word=$2
 6752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6753: $as_echo_n "checking for $ac_word... " >&6; }
 6754: if ${ac_cv_prog_GV+:} false; then :
 6755:   $as_echo_n "(cached) " >&6
 6756: else
 6757:   if test -n "$GV"; then
 6758:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6759: else
 6760: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6761: for as_dir in $PATH
 6762: do
 6763:   IFS=$as_save_IFS
 6764:   test -z "$as_dir" && as_dir=.
 6765:     for ac_exec_ext in '' $ac_executable_extensions; do
 6766:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6767:     ac_cv_prog_GV="yes"
 6768:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6769:     break 2
 6770:   fi
 6771: done
 6772:   done
 6773: IFS=$as_save_IFS
 6774: 
 6775:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 6776: fi
 6777: fi
 6778: GV=$ac_cv_prog_GV
 6779: if test -n "$GV"; then
 6780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 6781: $as_echo "$GV" >&6; }
 6782: else
 6783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6784: $as_echo "no" >&6; }
 6785: fi
 6786: 
 6787: 
 6788:     if test "$GV" = no; then
 6789:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 6790: Download at http://ftp.lip6.fr/
 6791: " >&5
 6792: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 6793: Download at http://ftp.lip6.fr/
 6794: " >&2;}
 6795:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6796:     fi
 6797: else
 6798:     if test "$TEX_SUPPORT" = no; then
 6799:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6800:     else
 6801:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6802:     fi
 6803: fi
 6804: 
 6805: if test "$GNUPLOT_SUPPORT" = guessed; then
 6806:     # Extract the first word of "gnuplot", so it can be a program name with args.
 6807: set dummy gnuplot; ac_word=$2
 6808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6809: $as_echo_n "checking for $ac_word... " >&6; }
 6810: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
 6811:   $as_echo_n "(cached) " >&6
 6812: else
 6813:   if test -n "$GNUPLOT_P"; then
 6814:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 6815: else
 6816: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6817: for as_dir in $PATH
 6818: do
 6819:   IFS=$as_save_IFS
 6820:   test -z "$as_dir" && as_dir=.
 6821:     for ac_exec_ext in '' $ac_executable_extensions; do
 6822:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6823:     ac_cv_prog_GNUPLOT_P="yes"
 6824:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6825:     break 2
 6826:   fi
 6827: done
 6828:   done
 6829: IFS=$as_save_IFS
 6830: 
 6831:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 6832: fi
 6833: fi
 6834: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 6835: if test -n "$GNUPLOT_P"; then
 6836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 6837: $as_echo "$GNUPLOT_P" >&6; }
 6838: else
 6839:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6840: $as_echo "no" >&6; }
 6841: fi
 6842: 
 6843: 
 6844:     if test "$GNUPLOT_P" = no; then
 6845:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 6846: Download at http://www.gnuplot.vt.edu/
 6847: " >&5
 6848: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 6849: Download at http://www.gnuplot.vt.edu/
 6850: " >&2;}
 6851:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6852:     else
 6853:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6854:     fi
 6855: else
 6856:     if test "$GNUPLOT_SUPPORT" = no; then
 6857:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6858:     else
 6859:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6860:     fi
 6861: fi
 6862: 
 6863: if test "$VIM_SUPPORT" = guessed; then
 6864:     # Extract the first word of "vim", so it can be a program name with args.
 6865: set dummy vim; ac_word=$2
 6866: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6867: $as_echo_n "checking for $ac_word... " >&6; }
 6868: if ${ac_cv_prog_VIM+:} false; then :
 6869:   $as_echo_n "(cached) " >&6
 6870: else
 6871:   if test -n "$VIM"; then
 6872:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 6873: else
 6874: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6875: for as_dir in $PATH
 6876: do
 6877:   IFS=$as_save_IFS
 6878:   test -z "$as_dir" && as_dir=.
 6879:     for ac_exec_ext in '' $ac_executable_extensions; do
 6880:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6881:     ac_cv_prog_VIM="yes"
 6882:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6883:     break 2
 6884:   fi
 6885: done
 6886:   done
 6887: IFS=$as_save_IFS
 6888: 
 6889:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 6890: fi
 6891: fi
 6892: VIM=$ac_cv_prog_VIM
 6893: if test -n "$VIM"; then
 6894:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 6895: $as_echo "$VIM" >&6; }
 6896: else
 6897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6898: $as_echo "no" >&6; }
 6899: fi
 6900: 
 6901: 
 6902:     if test "$VIM" = no; then
 6903:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 6904: Download at http://www.vim.org/
 6905: " >&5
 6906: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 6907: Download at http://www.vim.org/
 6908: " >&2;}
 6909:         VIM_SUPPORT="-UVIM_SUPPORT"
 6910:     else
 6911:         VIM_SUPPORT="-DVIM_SUPPORT"
 6912:     fi
 6913: else
 6914:     if test "$VIM_SUPPORT" = no; then
 6915:         VIM_SUPPORT="-UVIM_SUPPORT"
 6916:     else
 6917:         VIM_SUPPORT="-DVIM_SUPPORT"
 6918:     fi
 6919: fi
 6920: 
 6921: if test "$MOTIF_SUPPORT" = guessed; then
 6922:     CFLAGS_ORIG=$CFLAGS
 6923:     LIBS_ORIG=$LIBS
 6924:     CFLAGS="$CFLAGS $X_CFLAGS"
 6925:     LIBS="$LIB $X_LIBS"
 6926:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6927: $as_echo_n "checking for main in -lXm... " >&6; }
 6928: if ${ac_cv_lib_Xm_main+:} false; then :
 6929:   $as_echo_n "(cached) " >&6
 6930: else
 6931:   ac_check_lib_save_LIBS=$LIBS
 6932: LIBS="-lXm  $LIBS"
 6933: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6934: /* end confdefs.h.  */
 6935: 
 6936: 
 6937: int
 6938: main ()
 6939: {
 6940: return main ();
 6941:   ;
 6942:   return 0;
 6943: }
 6944: _ACEOF
 6945: if ac_fn_c_try_link "$LINENO"; then :
 6946:   ac_cv_lib_Xm_main=yes
 6947: else
 6948:   ac_cv_lib_Xm_main=no
 6949: fi
 6950: rm -f core conftest.err conftest.$ac_objext \
 6951:     conftest$ac_exeext conftest.$ac_ext
 6952: LIBS=$ac_check_lib_save_LIBS
 6953: fi
 6954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6955: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6956: if test "x$ac_cv_lib_Xm_main" = xyes; then :
 6957:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6958: else
 6959:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6960: fi
 6961: 
 6962:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6963:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
 6964: Motif flag is disabled.
 6965: " >&5
 6966: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
 6967: Motif flag is disabled.
 6968: " >&2;}
 6969:     fi
 6970:     LIBS=$LIBS_ORIG
 6971:     CFLAGS=$CFLAGS_ORIG
 6972: fi
 6973: 
 6974: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6975:     CFLAGS_ORIG=$CFLAGS
 6976:     LIBS_ORIG=$LIBS
 6977:     CFLAGS="$CFLAGS $X_CFLAGS"
 6978:     LIBS="$LIB $X_LIBS"
 6979:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
 6980: $as_echo_n "checking for main in -lXpm... " >&6; }
 6981: if ${ac_cv_lib_Xpm_main+:} false; then :
 6982:   $as_echo_n "(cached) " >&6
 6983: else
 6984:   ac_check_lib_save_LIBS=$LIBS
 6985: LIBS="-lXpm  $LIBS"
 6986: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6987: /* end confdefs.h.  */
 6988: 
 6989: 
 6990: int
 6991: main ()
 6992: {
 6993: return main ();
 6994:   ;
 6995:   return 0;
 6996: }
 6997: _ACEOF
 6998: if ac_fn_c_try_link "$LINENO"; then :
 6999:   ac_cv_lib_Xpm_main=yes
 7000: else
 7001:   ac_cv_lib_Xpm_main=no
 7002: fi
 7003: rm -f core conftest.err conftest.$ac_objext \
 7004:     conftest$ac_exeext conftest.$ac_ext
 7005: LIBS=$ac_check_lib_save_LIBS
 7006: fi
 7007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
 7008: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
 7009: if test "x$ac_cv_lib_Xpm_main" = xyes; then :
 7010:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 7011: else
 7012:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 7013: fi
 7014: 
 7015:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 7016:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 7017:     else
 7018:         libX=""
 7019:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
 7020: Motif flag is disabled.
 7021: " >&5
 7022: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 7023: Motif flag is disabled.
 7024: " >&2;}
 7025:     fi
 7026:     LIBS=$LIBS_ORIG
 7027:     CFLAGS=$CFLAGS_ORIG
 7028: else
 7029:     libX=""
 7030: fi
 7031: 
 7032: 
 7033: 
 7034: 
 7035: 
 7036: 
 7037: 
 7038: 
 7039: 
 7040: 
 7041: 
 7042: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 7043: 
 7044: 
 7045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 7046: $as_echo_n "checking for main in -lm... " >&6; }
 7047: if ${ac_cv_lib_m_main+:} false; then :
 7048:   $as_echo_n "(cached) " >&6
 7049: else
 7050:   ac_check_lib_save_LIBS=$LIBS
 7051: LIBS="-lm  $LIBS"
 7052: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7053: /* end confdefs.h.  */
 7054: 
 7055: 
 7056: int
 7057: main ()
 7058: {
 7059: return main ();
 7060:   ;
 7061:   return 0;
 7062: }
 7063: _ACEOF
 7064: if ac_fn_c_try_link "$LINENO"; then :
 7065:   ac_cv_lib_m_main=yes
 7066: else
 7067:   ac_cv_lib_m_main=no
 7068: fi
 7069: rm -f core conftest.err conftest.$ac_objext \
 7070:     conftest$ac_exeext conftest.$ac_ext
 7071: LIBS=$ac_check_lib_save_LIBS
 7072: fi
 7073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 7074: $as_echo "$ac_cv_lib_m_main" >&6; }
 7075: if test "x$ac_cv_lib_m_main" = xyes; then :
 7076:   cat >>confdefs.h <<_ACEOF
 7077: #define HAVE_LIBM 1
 7078: _ACEOF
 7079: 
 7080:   LIBS="-lm $LIBS"
 7081: 
 7082: else
 7083:   as_fn_error $? "Can not find libm !" "$LINENO" 5
 7084: fi
 7085: 
 7086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 7087: $as_echo_n "checking for main in -lpthread... " >&6; }
 7088: if ${ac_cv_lib_pthread_main+:} false; then :
 7089:   $as_echo_n "(cached) " >&6
 7090: else
 7091:   ac_check_lib_save_LIBS=$LIBS
 7092: LIBS="-lpthread  $LIBS"
 7093: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7094: /* end confdefs.h.  */
 7095: 
 7096: 
 7097: int
 7098: main ()
 7099: {
 7100: return main ();
 7101:   ;
 7102:   return 0;
 7103: }
 7104: _ACEOF
 7105: if ac_fn_c_try_link "$LINENO"; then :
 7106:   ac_cv_lib_pthread_main=yes
 7107: else
 7108:   ac_cv_lib_pthread_main=no
 7109: fi
 7110: rm -f core conftest.err conftest.$ac_objext \
 7111:     conftest$ac_exeext conftest.$ac_ext
 7112: LIBS=$ac_check_lib_save_LIBS
 7113: fi
 7114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 7115: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 7116: if test "x$ac_cv_lib_pthread_main" = xyes; then :
 7117:   cat >>confdefs.h <<_ACEOF
 7118: #define HAVE_LIBPTHREAD 1
 7119: _ACEOF
 7120: 
 7121:   LIBS="-lpthread $LIBS"
 7122: 
 7123: else
 7124:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
 7125: fi
 7126: 
 7127: 
 7128: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 7129: #include <sys/sem.h>
 7130: 
 7131: "
 7132: if test "x$ac_cv_type_union_semun" = xyes; then :
 7133:   SEMUN=-DUNION_SEMUN
 7134: else
 7135:   SEMUN=-UUNION_SEMUN
 7136: fi
 7137: 
 7138: 
 7139: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
 7140: #include <sys/types.h>
 7141: #include <netinet/in.h>
 7142: 
 7143: "
 7144: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
 7145:   IPV6=-DIPV6
 7146: else
 7147:   IPV6=-UIPV6
 7148: fi
 7149: 
 7150: 
 7151: if test "$CYGWIN" != yes; then
 7152:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 7153: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 7154: if ${ac_cv_lib_dl_dlopen+:} false; then :
 7155:   $as_echo_n "(cached) " >&6
 7156: else
 7157:   ac_check_lib_save_LIBS=$LIBS
 7158: LIBS="-ldl  $LIBS"
 7159: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7160: /* end confdefs.h.  */
 7161: 
 7162: /* Override any GCC internal prototype to avoid an error.
 7163:    Use char because int might match the return type of a GCC
 7164:    builtin and then its argument prototype would still apply.  */
 7165: #ifdef __cplusplus
 7166: extern "C"
 7167: #endif
 7168: char dlopen ();
 7169: int
 7170: main ()
 7171: {
 7172: return dlopen ();
 7173:   ;
 7174:   return 0;
 7175: }
 7176: _ACEOF
 7177: if ac_fn_c_try_link "$LINENO"; then :
 7178:   ac_cv_lib_dl_dlopen=yes
 7179: else
 7180:   ac_cv_lib_dl_dlopen=no
 7181: fi
 7182: rm -f core conftest.err conftest.$ac_objext \
 7183:     conftest$ac_exeext conftest.$ac_ext
 7184: LIBS=$ac_check_lib_save_LIBS
 7185: fi
 7186: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 7187: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 7188: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 7189:   LIBS="$LIBS -ldl"
 7190: else
 7191:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 7192: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7193: fi
 7194: 
 7195: fi
 7196: 
 7197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 7198: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 7199: if ${ac_cv_lib_rt_nanosleep+:} false; then :
 7200:   $as_echo_n "(cached) " >&6
 7201: else
 7202:   ac_check_lib_save_LIBS=$LIBS
 7203: LIBS="-lrt  $LIBS"
 7204: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7205: /* end confdefs.h.  */
 7206: 
 7207: /* Override any GCC internal prototype to avoid an error.
 7208:    Use char because int might match the return type of a GCC
 7209:    builtin and then its argument prototype would still apply.  */
 7210: #ifdef __cplusplus
 7211: extern "C"
 7212: #endif
 7213: char nanosleep ();
 7214: int
 7215: main ()
 7216: {
 7217: return nanosleep ();
 7218:   ;
 7219:   return 0;
 7220: }
 7221: _ACEOF
 7222: if ac_fn_c_try_link "$LINENO"; then :
 7223:   ac_cv_lib_rt_nanosleep=yes
 7224: else
 7225:   ac_cv_lib_rt_nanosleep=no
 7226: fi
 7227: rm -f core conftest.err conftest.$ac_objext \
 7228:     conftest$ac_exeext conftest.$ac_ext
 7229: LIBS=$ac_check_lib_save_LIBS
 7230: fi
 7231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7232: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7233: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
 7234:   LIBS="$LIBS -lrt"
 7235: else
 7236:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7237: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7238: fi
 7239: 
 7240: 
 7241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7242: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7243: if ${ac_cv_lib_socket_bind+:} false; then :
 7244:   $as_echo_n "(cached) " >&6
 7245: else
 7246:   ac_check_lib_save_LIBS=$LIBS
 7247: LIBS="-lsocket  $LIBS"
 7248: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7249: /* end confdefs.h.  */
 7250: 
 7251: /* Override any GCC internal prototype to avoid an error.
 7252:    Use char because int might match the return type of a GCC
 7253:    builtin and then its argument prototype would still apply.  */
 7254: #ifdef __cplusplus
 7255: extern "C"
 7256: #endif
 7257: char bind ();
 7258: int
 7259: main ()
 7260: {
 7261: return bind ();
 7262:   ;
 7263:   return 0;
 7264: }
 7265: _ACEOF
 7266: if ac_fn_c_try_link "$LINENO"; then :
 7267:   ac_cv_lib_socket_bind=yes
 7268: else
 7269:   ac_cv_lib_socket_bind=no
 7270: fi
 7271: rm -f core conftest.err conftest.$ac_objext \
 7272:     conftest$ac_exeext conftest.$ac_ext
 7273: LIBS=$ac_check_lib_save_LIBS
 7274: fi
 7275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7276: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7277: if test "x$ac_cv_lib_socket_bind" = xyes; then :
 7278:   LIBS="$LIBS -lsocket"
 7279: else
 7280:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7281: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7282: fi
 7283: 
 7284: 
 7285: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7286: 
 7287: # Check whether --with-mysql was given.
 7288: if test "${with_mysql+set}" = set; then :
 7289:   withval=$with_mysql;
 7290: else
 7291:   with_mysql=check
 7292: fi
 7293: 
 7294: 
 7295: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7296:     libMySQLinc="-I/usr/include"
 7297:     libMySQLlib="/usr/lib"
 7298: 
 7299:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7300: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7301:     saved_CFLAGS="$CFLAGS"
 7302:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7303:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7304: /* end confdefs.h.  */
 7305: #include "mysql.h"
 7306: int
 7307: main ()
 7308: {
 7309: 
 7310:   ;
 7311:   return 0;
 7312: }
 7313: _ACEOF
 7314: if ac_fn_c_try_compile "$LINENO"; then :
 7315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7316: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7317:                     libMySQLinc=$libMySQLinc/mysql
 7318: else
 7319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7320: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7321: fi
 7322: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7323:     CFLAGS=$saved_CFLAGS
 7324: 
 7325:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7326:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7327: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7328:         saved_CFLAGS="$CFLAGS"
 7329:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7330:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7331: /* end confdefs.h.  */
 7332: #include "mysql.h"
 7333: int
 7334: main ()
 7335: {
 7336: 
 7337:   ;
 7338:   return 0;
 7339: }
 7340: _ACEOF
 7341: if ac_fn_c_try_compile "$LINENO"; then :
 7342:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7343: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7344:                         libMySQLinc=$libMySQLinc
 7345: else
 7346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7347: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7348: fi
 7349: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7350:         CFLAGS=$saved_CFLAGS
 7351:         libMySQLinc=$libMySQLinc/mysql
 7352:     fi
 7353: 
 7354:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7355:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7356: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7357:         saved_CFLAGS="$CFLAGS"
 7358:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7359:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7360: /* end confdefs.h.  */
 7361: #include "mysql.h"
 7362: int
 7363: main ()
 7364: {
 7365: 
 7366:   ;
 7367:   return 0;
 7368: }
 7369: _ACEOF
 7370: if ac_fn_c_try_compile "$LINENO"; then :
 7371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7372: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7373:                         libMySQLinc=$libMySQLinc/mysql
 7374: else
 7375:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7376: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7377: fi
 7378: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7379:         CFLAGS=$saved_CFLAGS
 7380:         libMySQLinc=$libMySQLinc/../local/include
 7381:         libMySQLlib=$libMySQLlib/../local/lib
 7382:     fi
 7383: 
 7384:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7385:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7386: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7387:         saved_CFLAGS="$CFLAGS"
 7388:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7389:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7390: /* end confdefs.h.  */
 7391: #include "mysql.h"
 7392: int
 7393: main ()
 7394: {
 7395: 
 7396:   ;
 7397:   return 0;
 7398: }
 7399: _ACEOF
 7400: if ac_fn_c_try_compile "$LINENO"; then :
 7401:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7402: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7403:                         libMySQLinc=$libMySQLinc/mysql
 7404: else
 7405:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7406: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7407: fi
 7408: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7409:         CFLAGS=$saved_CFLAGS
 7410:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7411:         libMySQLlib=$libMySQLlib/../local/lib
 7412:     fi
 7413: else
 7414:     if test "x$with_mysql" != xno; then
 7415:         libMySQLinc="-I$with_mysql/include"
 7416:         libMySQLlib="$with_mysql/lib"
 7417: 
 7418:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7419: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7420:         saved_CFLAGS="$CFLAGS"
 7421:         CFLAGS="$CFLAGS $libMySQLinc"
 7422:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7423: /* end confdefs.h.  */
 7424: #include "mysql.h"
 7425: int
 7426: main ()
 7427: {
 7428: 
 7429:   ;
 7430:   return 0;
 7431: }
 7432: _ACEOF
 7433: if ac_fn_c_try_compile "$LINENO"; then :
 7434:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7435: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7436:                         libMySQLinc=$libMySQLinc/mysql
 7437: else
 7438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7439: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7440: fi
 7441: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7442:         CFLAGS=$saved_CFLAGS
 7443: 
 7444:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7445:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7446: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7447:             saved_CFLAGS="$CFLAGS"
 7448:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7449:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7450: /* end confdefs.h.  */
 7451: #include "mysql.h"
 7452: int
 7453: main ()
 7454: {
 7455: 
 7456:   ;
 7457:   return 0;
 7458: }
 7459: _ACEOF
 7460: if ac_fn_c_try_compile "$LINENO"; then :
 7461:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7462: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7463:                             libMySQLinc=$libMySQLinc
 7464: else
 7465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7466: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7467: fi
 7468: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7469:             CFLAGS=$saved_CFLAGS
 7470:             libMySQLinc=$libMySQLinc/mysql
 7471:         fi
 7472:     else
 7473:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7474:     fi
 7475: fi
 7476: 
 7477: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7478:     MYSQL_LIB=no
 7479: 
 7480:     if test $MYSQL_LIB = no; then
 7481:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7482: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7483:         saved_LIBS="$LIBS"
 7484:         if test $STATIC = no; then
 7485:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7486:         else
 7487:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7488:         fi
 7489:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7490: /* end confdefs.h.  */
 7491: #include "mysql.h"
 7492: int
 7493: main ()
 7494: {
 7495: MYSQL mysql; mysql_init(&mysql);
 7496:   ;
 7497:   return 0;
 7498: }
 7499: _ACEOF
 7500: if ac_fn_c_try_link "$LINENO"; then :
 7501:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7502: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7503: else
 7504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7505: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7506: fi
 7507: rm -f core conftest.err conftest.$ac_objext \
 7508:     conftest$ac_exeext conftest.$ac_ext
 7509:         LIBS=$saved_LIBS;
 7510:         if test $STATIC = no; then
 7511:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7512:         else
 7513:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7514:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7515:         fi
 7516:     fi
 7517: 
 7518:     if test $MYSQL_LIB = no; then
 7519:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7520:     fi
 7521: fi
 7522: 
 7523: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7524:     libMySQLinc=
 7525:     libMySQLlib=
 7526: fi
 7527: 
 7528: 
 7529: 
 7530: 
 7531: 
 7532: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7533: 
 7534: # Check whether --with-postgresql was given.
 7535: if test "${with_postgresql+set}" = set; then :
 7536:   withval=$with_postgresql;
 7537: else
 7538:   with_postgresql=check
 7539: fi
 7540: 
 7541: 
 7542: # with_postgresql : check [pas défini], yes [uniquement --with],
 7543: # no [--without], valeur [--with=valeur].
 7544: 
 7545: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7546:     libPgSQLinc="-I/usr/include"
 7547:     libPgSQLlib="/usr/lib"
 7548: 
 7549:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7550: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7551:     saved_CFLAGS="$CFLAGS"
 7552:     CFLAGS="$CFLAGS $libPgSQLinc"
 7553:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7554: /* end confdefs.h.  */
 7555: #include "libpq-fe.h"
 7556: int
 7557: main ()
 7558: {
 7559: 
 7560:   ;
 7561:   return 0;
 7562: }
 7563: _ACEOF
 7564: if ac_fn_c_try_compile "$LINENO"; then :
 7565:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7566: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7567: else
 7568:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7569: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7570: fi
 7571: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7572:     CFLAGS=$saved_CFLAGS
 7573: 
 7574:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7575:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7576: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7577:         saved_CFLAGS="$CFLAGS"
 7578:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7579:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7580: /* end confdefs.h.  */
 7581: #include "libpq-fe.h"
 7582: int
 7583: main ()
 7584: {
 7585: 
 7586:   ;
 7587:   return 0;
 7588: }
 7589: _ACEOF
 7590: if ac_fn_c_try_compile "$LINENO"; then :
 7591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7592: $as_echo "yes" >&6; };
 7593:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7594: else
 7595:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7596: $as_echo "no" >&6; };
 7597:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7598: fi
 7599: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7600:         CFLAGS=$saved_CFLAGS
 7601:         libPgSQLinc=$libPgSQLinc/postgresql
 7602:     fi
 7603: 
 7604:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7605:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7606: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7607:         saved_CFLAGS="$CFLAGS"
 7608:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7609:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7610: /* end confdefs.h.  */
 7611: #include "libpq-fe.h"
 7612: int
 7613: main ()
 7614: {
 7615: 
 7616:   ;
 7617:   return 0;
 7618: }
 7619: _ACEOF
 7620: if ac_fn_c_try_compile "$LINENO"; then :
 7621:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7622: $as_echo "yes" >&6; };
 7623:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7624: else
 7625:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7626: $as_echo "no" >&6; };
 7627:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7628: fi
 7629: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7630:         CFLAGS=$saved_CFLAGS
 7631:         libPgSQLinc=$libPgSQLinc/pgsql
 7632:     fi
 7633: 
 7634:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7635:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7636: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7637:         saved_CFLAGS="$CFLAGS"
 7638:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7639:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7640: /* end confdefs.h.  */
 7641: #include "libpq-fe.h"
 7642: int
 7643: main ()
 7644: {
 7645: 
 7646:   ;
 7647:   return 0;
 7648: }
 7649: _ACEOF
 7650: if ac_fn_c_try_compile "$LINENO"; then :
 7651:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7652: $as_echo "yes" >&6; };
 7653:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7654: else
 7655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7656: $as_echo "no" >&6; };
 7657:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7658: fi
 7659: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7660:         CFLAGS=$saved_CFLAGS
 7661:         libPgSQLinc=$libPgSQLinc/../local/include
 7662:         libPgSQLlib=$libPgSQLlib/../local/lib
 7663:     fi
 7664: 
 7665:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7666:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7667: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7668:         saved_CFLAGS="$CFLAGS"
 7669:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7670:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7671: /* end confdefs.h.  */
 7672: #include "libpq-fe.h"
 7673: int
 7674: main ()
 7675: {
 7676: 
 7677:   ;
 7678:   return 0;
 7679: }
 7680: _ACEOF
 7681: if ac_fn_c_try_compile "$LINENO"; then :
 7682:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7683: $as_echo "yes" >&6; };
 7684:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7685: else
 7686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7687: $as_echo "no" >&6; };
 7688:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7689: fi
 7690: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7691:         CFLAGS=$saved_CFLAGS
 7692:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7693:         libPgSQLlib=$libPgSQLlib/../local/lib
 7694:     fi
 7695: 
 7696:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7697:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7698: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7699:         saved_CFLAGS="$CFLAGS"
 7700:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7701:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7702: /* end confdefs.h.  */
 7703: #include "libpq-fe.h"
 7704: int
 7705: main ()
 7706: {
 7707: 
 7708:   ;
 7709:   return 0;
 7710: }
 7711: _ACEOF
 7712: if ac_fn_c_try_compile "$LINENO"; then :
 7713:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7714: $as_echo "yes" >&6; };
 7715:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7716: else
 7717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7718: $as_echo "no" >&6; };
 7719:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7720: fi
 7721: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7722:         CFLAGS=$saved_CFLAGS
 7723:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7724:         libPgSQLlib=$libPgSQLlib/../local/lib
 7725:     fi
 7726: else
 7727:     if test "x$with_postgresql" != xno; then
 7728:         libPgSQLinc="-I$with_postgresql/include"
 7729:         libPgSQLlib="$with_postgresql/lib"
 7730: 
 7731:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7732: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7733:         saved_CFLAGS="$CFLAGS"
 7734:         CFLAGS="$CFLAGS $libPgSQLinc"
 7735:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7736: /* end confdefs.h.  */
 7737: #include "libpq-fe.h"
 7738: int
 7739: main ()
 7740: {
 7741: 
 7742:   ;
 7743:   return 0;
 7744: }
 7745: _ACEOF
 7746: if ac_fn_c_try_compile "$LINENO"; then :
 7747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7748: $as_echo "yes" >&6; };
 7749:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7750: else
 7751:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7752: $as_echo "no" >&6; };
 7753:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7754: fi
 7755: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7756:         CFLAGS=$saved_CFLAGS
 7757: 
 7758:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7759:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7760: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7761:             saved_CFLAGS="$CFLAGS"
 7762:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7763:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7764: /* end confdefs.h.  */
 7765: #include "libpq-fe.h"
 7766: int
 7767: main ()
 7768: {
 7769: 
 7770:   ;
 7771:   return 0;
 7772: }
 7773: _ACEOF
 7774: if ac_fn_c_try_compile "$LINENO"; then :
 7775:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7776: $as_echo "yes" >&6; };
 7777:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7778: else
 7779:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7780: $as_echo "no" >&6; };
 7781:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7782: fi
 7783: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7784:             CFLAGS=$saved_CFLAGS
 7785:             libPgSQLinc=$libPgSQLinc/postgresql
 7786:         fi
 7787: 
 7788:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7789:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7790: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7791:             saved_CFLAGS="$CFLAGS"
 7792:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7793:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7794: /* end confdefs.h.  */
 7795: #include "libpq-fe.h"
 7796: int
 7797: main ()
 7798: {
 7799: 
 7800:   ;
 7801:   return 0;
 7802: }
 7803: _ACEOF
 7804: if ac_fn_c_try_compile "$LINENO"; then :
 7805:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7806: $as_echo "yes" >&6; };
 7807:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7808: else
 7809:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7810: $as_echo "no" >&6; };
 7811:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7812: fi
 7813: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7814:             CFLAGS=$saved_CFLAGS
 7815:             libPgSQLinc=$libPgSQLinc/pgsql
 7816:         fi
 7817:     else
 7818:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7819:     fi
 7820: fi
 7821: 
 7822: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7823:     POSTGRESQL_LIB=no
 7824: 
 7825:     if test $POSTGRESQL_LIB = no; then
 7826:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7827: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7828:         saved_LIBS="$LIBS"
 7829:         if test $STATIC = no; then
 7830:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7831:         else
 7832:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 7833:         fi
 7834:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7835: /* end confdefs.h.  */
 7836: #include "libpq-fe.h"
 7837: int
 7838: main ()
 7839: {
 7840: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 7841:              PQconnectdb(conninfo);
 7842:   ;
 7843:   return 0;
 7844: }
 7845: _ACEOF
 7846: if ac_fn_c_try_link "$LINENO"; then :
 7847:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7848: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 7849: else
 7850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7851: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 7852: fi
 7853: rm -f core conftest.err conftest.$ac_objext \
 7854:     conftest$ac_exeext conftest.$ac_ext
 7855:         LIBS=$saved_LIBS;
 7856:         if test $STATIC = no; then
 7857:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 7858:         else
 7859:             libPgSQLlib="$libPgSQLlib/libpq.a"
 7860:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 7861:         fi
 7862:     fi
 7863: fi
 7864: 
 7865: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 7866:     libPgSQLinc=
 7867:     libPgSQLlib=
 7868: fi
 7869: 
 7870: 
 7871: 
 7872: 
 7873: 
 7874: # with_postgresql : check [pas défini], yes [uniquement --with],
 7875: # no [--without], valeur [--with=valeur].
 7876: 
 7877: # Check whether --with-bourne_shell was given.
 7878: if test "${with_bourne_shell+set}" = set; then :
 7879:   withval=$with_bourne_shell;
 7880: else
 7881:   with_bourne_shell=no
 7882: fi
 7883: 
 7884: 
 7885: if test "x$with_bourne_shell" = xyes; then
 7886:     as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
 7887: fi
 7888: 
 7889: if test "x$with_bourne_shell" = xno; then
 7890:     if test $(uname) = "OS/2"; then
 7891:         as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
 7892:     fi
 7893: 
 7894:     BSH_PATH=
 7895: else
 7896:     if test ! -x $with_bourne_shell; then
 7897:         as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
 7898:     fi
 7899: 
 7900:     if test $(uname) = "OS/2"; then
 7901:         with_os2_bourne_shell=$(echo $with_bourne_shell | \
 7902:                 sed -e '1,$s/\//\\\\\\\\/g')
 7903:         BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
 7904:     else
 7905:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
 7906: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
 7907:         BSH_PATH=
 7908:     fi
 7909: fi
 7910: 
 7911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 7912: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 7913: if ${ac_cv_path_GREP+:} false; then :
 7914:   $as_echo_n "(cached) " >&6
 7915: else
 7916:   if test -z "$GREP"; then
 7917:   ac_path_GREP_found=false
 7918:   # Loop through the user's path and test for each of PROGNAME-LIST
 7919:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7920: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7921: do
 7922:   IFS=$as_save_IFS
 7923:   test -z "$as_dir" && as_dir=.
 7924:     for ac_prog in grep ggrep; do
 7925:     for ac_exec_ext in '' $ac_executable_extensions; do
 7926:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 7927:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 7928: # Check for GNU ac_path_GREP and select it if it is found.
 7929:   # Check for GNU $ac_path_GREP
 7930: case `"$ac_path_GREP" --version 2>&1` in
 7931: *GNU*)
 7932:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 7933: *)
 7934:   ac_count=0
 7935:   $as_echo_n 0123456789 >"conftest.in"
 7936:   while :
 7937:   do
 7938:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7939:     mv "conftest.tmp" "conftest.in"
 7940:     cp "conftest.in" "conftest.nl"
 7941:     $as_echo 'GREP' >> "conftest.nl"
 7942:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7943:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7944:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7945:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 7946:       # Best one so far, save it but keep looking for a better one
 7947:       ac_cv_path_GREP="$ac_path_GREP"
 7948:       ac_path_GREP_max=$ac_count
 7949:     fi
 7950:     # 10*(2^10) chars as input seems more than enough
 7951:     test $ac_count -gt 10 && break
 7952:   done
 7953:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7954: esac
 7955: 
 7956:       $ac_path_GREP_found && break 3
 7957:     done
 7958:   done
 7959:   done
 7960: IFS=$as_save_IFS
 7961:   if test -z "$ac_cv_path_GREP"; then
 7962:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7963:   fi
 7964: else
 7965:   ac_cv_path_GREP=$GREP
 7966: fi
 7967: 
 7968: fi
 7969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 7970: $as_echo "$ac_cv_path_GREP" >&6; }
 7971:  GREP="$ac_cv_path_GREP"
 7972: 
 7973: 
 7974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 7975: $as_echo_n "checking for egrep... " >&6; }
 7976: if ${ac_cv_path_EGREP+:} false; then :
 7977:   $as_echo_n "(cached) " >&6
 7978: else
 7979:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 7980:    then ac_cv_path_EGREP="$GREP -E"
 7981:    else
 7982:      if test -z "$EGREP"; then
 7983:   ac_path_EGREP_found=false
 7984:   # Loop through the user's path and test for each of PROGNAME-LIST
 7985:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7986: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7987: do
 7988:   IFS=$as_save_IFS
 7989:   test -z "$as_dir" && as_dir=.
 7990:     for ac_prog in egrep; do
 7991:     for ac_exec_ext in '' $ac_executable_extensions; do
 7992:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 7993:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 7994: # Check for GNU ac_path_EGREP and select it if it is found.
 7995:   # Check for GNU $ac_path_EGREP
 7996: case `"$ac_path_EGREP" --version 2>&1` in
 7997: *GNU*)
 7998:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 7999: *)
 8000:   ac_count=0
 8001:   $as_echo_n 0123456789 >"conftest.in"
 8002:   while :
 8003:   do
 8004:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 8005:     mv "conftest.tmp" "conftest.in"
 8006:     cp "conftest.in" "conftest.nl"
 8007:     $as_echo 'EGREP' >> "conftest.nl"
 8008:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 8009:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 8010:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 8011:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 8012:       # Best one so far, save it but keep looking for a better one
 8013:       ac_cv_path_EGREP="$ac_path_EGREP"
 8014:       ac_path_EGREP_max=$ac_count
 8015:     fi
 8016:     # 10*(2^10) chars as input seems more than enough
 8017:     test $ac_count -gt 10 && break
 8018:   done
 8019:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 8020: esac
 8021: 
 8022:       $ac_path_EGREP_found && break 3
 8023:     done
 8024:   done
 8025:   done
 8026: IFS=$as_save_IFS
 8027:   if test -z "$ac_cv_path_EGREP"; then
 8028:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 8029:   fi
 8030: else
 8031:   ac_cv_path_EGREP=$EGREP
 8032: fi
 8033: 
 8034:    fi
 8035: fi
 8036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 8037: $as_echo "$ac_cv_path_EGREP" >&6; }
 8038:  EGREP="$ac_cv_path_EGREP"
 8039: 
 8040: 
 8041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8042: $as_echo_n "checking for ANSI C header files... " >&6; }
 8043: if ${ac_cv_header_stdc+:} false; then :
 8044:   $as_echo_n "(cached) " >&6
 8045: else
 8046:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8047: /* end confdefs.h.  */
 8048: #include <stdlib.h>
 8049: #include <stdarg.h>
 8050: #include <string.h>
 8051: #include <float.h>
 8052: 
 8053: int
 8054: main ()
 8055: {
 8056: 
 8057:   ;
 8058:   return 0;
 8059: }
 8060: _ACEOF
 8061: if ac_fn_c_try_compile "$LINENO"; then :
 8062:   ac_cv_header_stdc=yes
 8063: else
 8064:   ac_cv_header_stdc=no
 8065: fi
 8066: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8067: 
 8068: if test $ac_cv_header_stdc = yes; then
 8069:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8070:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8071: /* end confdefs.h.  */
 8072: #include <string.h>
 8073: 
 8074: _ACEOF
 8075: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8076:   $EGREP "memchr" >/dev/null 2>&1; then :
 8077: 
 8078: else
 8079:   ac_cv_header_stdc=no
 8080: fi
 8081: rm -f conftest*
 8082: 
 8083: fi
 8084: 
 8085: if test $ac_cv_header_stdc = yes; then
 8086:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8087:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8088: /* end confdefs.h.  */
 8089: #include <stdlib.h>
 8090: 
 8091: _ACEOF
 8092: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8093:   $EGREP "free" >/dev/null 2>&1; then :
 8094: 
 8095: else
 8096:   ac_cv_header_stdc=no
 8097: fi
 8098: rm -f conftest*
 8099: 
 8100: fi
 8101: 
 8102: if test $ac_cv_header_stdc = yes; then
 8103:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8104:   if test "$cross_compiling" = yes; then :
 8105:   :
 8106: else
 8107:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8108: /* end confdefs.h.  */
 8109: #include <ctype.h>
 8110: #include <stdlib.h>
 8111: #if ((' ' & 0x0FF) == 0x020)
 8112: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8113: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8114: #else
 8115: # define ISLOWER(c) \
 8116:            (('a' <= (c) && (c) <= 'i') \
 8117:              || ('j' <= (c) && (c) <= 'r') \
 8118:              || ('s' <= (c) && (c) <= 'z'))
 8119: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8120: #endif
 8121: 
 8122: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8123: int
 8124: main ()
 8125: {
 8126:   int i;
 8127:   for (i = 0; i < 256; i++)
 8128:     if (XOR (islower (i), ISLOWER (i))
 8129:     || toupper (i) != TOUPPER (i))
 8130:       return 2;
 8131:   return 0;
 8132: }
 8133: _ACEOF
 8134: if ac_fn_c_try_run "$LINENO"; then :
 8135: 
 8136: else
 8137:   ac_cv_header_stdc=no
 8138: fi
 8139: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8140:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8141: fi
 8142: 
 8143: fi
 8144: fi
 8145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8146: $as_echo "$ac_cv_header_stdc" >&6; }
 8147: if test $ac_cv_header_stdc = yes; then
 8148: 
 8149: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8150: 
 8151: fi
 8152: 
 8153: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 8154: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 8155:           inttypes.h stdint.h unistd.h
 8156: do :
 8157:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8158: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 8159: "
 8160: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8161:   cat >>confdefs.h <<_ACEOF
 8162: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8163: _ACEOF
 8164: 
 8165: fi
 8166: 
 8167: done
 8168: 
 8169: 
 8170: # The cast to long int works around a bug in the HP C Compiler
 8171: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8172: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8173: # This bug is HP SR number 8606223364.
 8174: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 8175: $as_echo_n "checking size of void *... " >&6; }
 8176: if ${ac_cv_sizeof_void_p+:} false; then :
 8177:   $as_echo_n "(cached) " >&6
 8178: else
 8179:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 8180: 
 8181: else
 8182:   if test "$ac_cv_type_void_p" = yes; then
 8183:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8184: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8185: as_fn_error 77 "cannot compute sizeof (void *)
 8186: See \`config.log' for more details" "$LINENO" 5; }
 8187:    else
 8188:      ac_cv_sizeof_void_p=0
 8189:    fi
 8190: fi
 8191: 
 8192: fi
 8193: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 8194: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 8195: 
 8196: 
 8197: 
 8198: cat >>confdefs.h <<_ACEOF
 8199: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 8200: _ACEOF
 8201: 
 8202: 
 8203: # The cast to long int works around a bug in the HP C Compiler
 8204: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8205: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8206: # This bug is HP SR number 8606223364.
 8207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 8208: $as_echo_n "checking size of char... " >&6; }
 8209: if ${ac_cv_sizeof_char+:} false; then :
 8210:   $as_echo_n "(cached) " >&6
 8211: else
 8212:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 8213: 
 8214: else
 8215:   if test "$ac_cv_type_char" = yes; then
 8216:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8217: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8218: as_fn_error 77 "cannot compute sizeof (char)
 8219: See \`config.log' for more details" "$LINENO" 5; }
 8220:    else
 8221:      ac_cv_sizeof_char=0
 8222:    fi
 8223: fi
 8224: 
 8225: fi
 8226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 8227: $as_echo "$ac_cv_sizeof_char" >&6; }
 8228: 
 8229: 
 8230: 
 8231: cat >>confdefs.h <<_ACEOF
 8232: #define SIZEOF_CHAR $ac_cv_sizeof_char
 8233: _ACEOF
 8234: 
 8235: 
 8236: # The cast to long int works around a bug in the HP C Compiler
 8237: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8238: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8239: # This bug is HP SR number 8606223364.
 8240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 8241: $as_echo_n "checking size of short int... " >&6; }
 8242: if ${ac_cv_sizeof_short_int+:} false; then :
 8243:   $as_echo_n "(cached) " >&6
 8244: else
 8245:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 8246: 
 8247: else
 8248:   if test "$ac_cv_type_short_int" = yes; then
 8249:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8250: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8251: as_fn_error 77 "cannot compute sizeof (short int)
 8252: See \`config.log' for more details" "$LINENO" 5; }
 8253:    else
 8254:      ac_cv_sizeof_short_int=0
 8255:    fi
 8256: fi
 8257: 
 8258: fi
 8259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8260: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8261: 
 8262: 
 8263: 
 8264: cat >>confdefs.h <<_ACEOF
 8265: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8266: _ACEOF
 8267: 
 8268: 
 8269: # The cast to long int works around a bug in the HP C Compiler
 8270: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8271: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8272: # This bug is HP SR number 8606223364.
 8273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8274: $as_echo_n "checking size of int... " >&6; }
 8275: if ${ac_cv_sizeof_int+:} false; then :
 8276:   $as_echo_n "(cached) " >&6
 8277: else
 8278:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8279: 
 8280: else
 8281:   if test "$ac_cv_type_int" = yes; then
 8282:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8283: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8284: as_fn_error 77 "cannot compute sizeof (int)
 8285: See \`config.log' for more details" "$LINENO" 5; }
 8286:    else
 8287:      ac_cv_sizeof_int=0
 8288:    fi
 8289: fi
 8290: 
 8291: fi
 8292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8293: $as_echo "$ac_cv_sizeof_int" >&6; }
 8294: 
 8295: 
 8296: 
 8297: cat >>confdefs.h <<_ACEOF
 8298: #define SIZEOF_INT $ac_cv_sizeof_int
 8299: _ACEOF
 8300: 
 8301: 
 8302: # The cast to long int works around a bug in the HP C Compiler
 8303: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8304: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8305: # This bug is HP SR number 8606223364.
 8306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8307: $as_echo_n "checking size of long int... " >&6; }
 8308: if ${ac_cv_sizeof_long_int+:} false; then :
 8309:   $as_echo_n "(cached) " >&6
 8310: else
 8311:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8312: 
 8313: else
 8314:   if test "$ac_cv_type_long_int" = yes; then
 8315:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8316: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8317: as_fn_error 77 "cannot compute sizeof (long int)
 8318: See \`config.log' for more details" "$LINENO" 5; }
 8319:    else
 8320:      ac_cv_sizeof_long_int=0
 8321:    fi
 8322: fi
 8323: 
 8324: fi
 8325: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8326: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8327: 
 8328: 
 8329: 
 8330: cat >>confdefs.h <<_ACEOF
 8331: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8332: _ACEOF
 8333: 
 8334: 
 8335: # The cast to long int works around a bug in the HP C Compiler
 8336: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8337: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8338: # This bug is HP SR number 8606223364.
 8339: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8340: $as_echo_n "checking size of long long int... " >&6; }
 8341: if ${ac_cv_sizeof_long_long_int+:} false; then :
 8342:   $as_echo_n "(cached) " >&6
 8343: else
 8344:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8345: 
 8346: else
 8347:   if test "$ac_cv_type_long_long_int" = yes; then
 8348:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8349: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8350: as_fn_error 77 "cannot compute sizeof (long long int)
 8351: See \`config.log' for more details" "$LINENO" 5; }
 8352:    else
 8353:      ac_cv_sizeof_long_long_int=0
 8354:    fi
 8355: fi
 8356: 
 8357: fi
 8358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8359: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8360: 
 8361: 
 8362: 
 8363: cat >>confdefs.h <<_ACEOF
 8364: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8365: _ACEOF
 8366: 
 8367: 
 8368: # The cast to long int works around a bug in the HP C Compiler
 8369: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8370: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8371: # This bug is HP SR number 8606223364.
 8372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8373: $as_echo_n "checking size of float... " >&6; }
 8374: if ${ac_cv_sizeof_float+:} false; then :
 8375:   $as_echo_n "(cached) " >&6
 8376: else
 8377:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8378: 
 8379: else
 8380:   if test "$ac_cv_type_float" = yes; then
 8381:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8382: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8383: as_fn_error 77 "cannot compute sizeof (float)
 8384: See \`config.log' for more details" "$LINENO" 5; }
 8385:    else
 8386:      ac_cv_sizeof_float=0
 8387:    fi
 8388: fi
 8389: 
 8390: fi
 8391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8392: $as_echo "$ac_cv_sizeof_float" >&6; }
 8393: 
 8394: 
 8395: 
 8396: cat >>confdefs.h <<_ACEOF
 8397: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8398: _ACEOF
 8399: 
 8400: 
 8401: # The cast to long int works around a bug in the HP C Compiler
 8402: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8403: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8404: # This bug is HP SR number 8606223364.
 8405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8406: $as_echo_n "checking size of double... " >&6; }
 8407: if ${ac_cv_sizeof_double+:} false; then :
 8408:   $as_echo_n "(cached) " >&6
 8409: else
 8410:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8411: 
 8412: else
 8413:   if test "$ac_cv_type_double" = yes; then
 8414:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8415: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8416: as_fn_error 77 "cannot compute sizeof (double)
 8417: See \`config.log' for more details" "$LINENO" 5; }
 8418:    else
 8419:      ac_cv_sizeof_double=0
 8420:    fi
 8421: fi
 8422: 
 8423: fi
 8424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8425: $as_echo "$ac_cv_sizeof_double" >&6; }
 8426: 
 8427: 
 8428: 
 8429: cat >>confdefs.h <<_ACEOF
 8430: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8431: _ACEOF
 8432: 
 8433: 
 8434: # The cast to long int works around a bug in the HP C Compiler
 8435: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8436: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8437: # This bug is HP SR number 8606223364.
 8438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8439: $as_echo_n "checking size of long double... " >&6; }
 8440: if ${ac_cv_sizeof_long_double+:} false; then :
 8441:   $as_echo_n "(cached) " >&6
 8442: else
 8443:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8444: 
 8445: else
 8446:   if test "$ac_cv_type_long_double" = yes; then
 8447:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8448: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8449: as_fn_error 77 "cannot compute sizeof (long double)
 8450: See \`config.log' for more details" "$LINENO" 5; }
 8451:    else
 8452:      ac_cv_sizeof_long_double=0
 8453:    fi
 8454: fi
 8455: 
 8456: fi
 8457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8458: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8459: 
 8460: 
 8461: 
 8462: cat >>confdefs.h <<_ACEOF
 8463: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8464: _ACEOF
 8465: 
 8466: 
 8467: 
 8468: ac_header_dirent=no
 8469: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8470:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8471: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8472: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8473: if eval \${$as_ac_Header+:} false; then :
 8474:   $as_echo_n "(cached) " >&6
 8475: else
 8476:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8477: /* end confdefs.h.  */
 8478: #include <sys/types.h>
 8479: #include <$ac_hdr>
 8480: 
 8481: int
 8482: main ()
 8483: {
 8484: if ((DIR *) 0)
 8485: return 0;
 8486:   ;
 8487:   return 0;
 8488: }
 8489: _ACEOF
 8490: if ac_fn_c_try_compile "$LINENO"; then :
 8491:   eval "$as_ac_Header=yes"
 8492: else
 8493:   eval "$as_ac_Header=no"
 8494: fi
 8495: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8496: fi
 8497: eval ac_res=\$$as_ac_Header
 8498:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8499: $as_echo "$ac_res" >&6; }
 8500: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8501:   cat >>confdefs.h <<_ACEOF
 8502: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8503: _ACEOF
 8504: 
 8505: ac_header_dirent=$ac_hdr; break
 8506: fi
 8507: 
 8508: done
 8509: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8510: if test $ac_header_dirent = dirent.h; then
 8511:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8512: $as_echo_n "checking for library containing opendir... " >&6; }
 8513: if ${ac_cv_search_opendir+:} false; then :
 8514:   $as_echo_n "(cached) " >&6
 8515: else
 8516:   ac_func_search_save_LIBS=$LIBS
 8517: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8518: /* end confdefs.h.  */
 8519: 
 8520: /* Override any GCC internal prototype to avoid an error.
 8521:    Use char because int might match the return type of a GCC
 8522:    builtin and then its argument prototype would still apply.  */
 8523: #ifdef __cplusplus
 8524: extern "C"
 8525: #endif
 8526: char opendir ();
 8527: int
 8528: main ()
 8529: {
 8530: return opendir ();
 8531:   ;
 8532:   return 0;
 8533: }
 8534: _ACEOF
 8535: for ac_lib in '' dir; do
 8536:   if test -z "$ac_lib"; then
 8537:     ac_res="none required"
 8538:   else
 8539:     ac_res=-l$ac_lib
 8540:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8541:   fi
 8542:   if ac_fn_c_try_link "$LINENO"; then :
 8543:   ac_cv_search_opendir=$ac_res
 8544: fi
 8545: rm -f core conftest.err conftest.$ac_objext \
 8546:     conftest$ac_exeext
 8547:   if ${ac_cv_search_opendir+:} false; then :
 8548:   break
 8549: fi
 8550: done
 8551: if ${ac_cv_search_opendir+:} false; then :
 8552: 
 8553: else
 8554:   ac_cv_search_opendir=no
 8555: fi
 8556: rm conftest.$ac_ext
 8557: LIBS=$ac_func_search_save_LIBS
 8558: fi
 8559: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8560: $as_echo "$ac_cv_search_opendir" >&6; }
 8561: ac_res=$ac_cv_search_opendir
 8562: if test "$ac_res" != no; then :
 8563:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8564: 
 8565: fi
 8566: 
 8567: else
 8568:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8569: $as_echo_n "checking for library containing opendir... " >&6; }
 8570: if ${ac_cv_search_opendir+:} false; then :
 8571:   $as_echo_n "(cached) " >&6
 8572: else
 8573:   ac_func_search_save_LIBS=$LIBS
 8574: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8575: /* end confdefs.h.  */
 8576: 
 8577: /* Override any GCC internal prototype to avoid an error.
 8578:    Use char because int might match the return type of a GCC
 8579:    builtin and then its argument prototype would still apply.  */
 8580: #ifdef __cplusplus
 8581: extern "C"
 8582: #endif
 8583: char opendir ();
 8584: int
 8585: main ()
 8586: {
 8587: return opendir ();
 8588:   ;
 8589:   return 0;
 8590: }
 8591: _ACEOF
 8592: for ac_lib in '' x; do
 8593:   if test -z "$ac_lib"; then
 8594:     ac_res="none required"
 8595:   else
 8596:     ac_res=-l$ac_lib
 8597:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8598:   fi
 8599:   if ac_fn_c_try_link "$LINENO"; then :
 8600:   ac_cv_search_opendir=$ac_res
 8601: fi
 8602: rm -f core conftest.err conftest.$ac_objext \
 8603:     conftest$ac_exeext
 8604:   if ${ac_cv_search_opendir+:} false; then :
 8605:   break
 8606: fi
 8607: done
 8608: if ${ac_cv_search_opendir+:} false; then :
 8609: 
 8610: else
 8611:   ac_cv_search_opendir=no
 8612: fi
 8613: rm conftest.$ac_ext
 8614: LIBS=$ac_func_search_save_LIBS
 8615: fi
 8616: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8617: $as_echo "$ac_cv_search_opendir" >&6; }
 8618: ac_res=$ac_cv_search_opendir
 8619: if test "$ac_res" != no; then :
 8620:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8621: 
 8622: fi
 8623: 
 8624: fi
 8625: 
 8626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8627: $as_echo_n "checking for ANSI C header files... " >&6; }
 8628: if ${ac_cv_header_stdc+:} false; then :
 8629:   $as_echo_n "(cached) " >&6
 8630: else
 8631:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8632: /* end confdefs.h.  */
 8633: #include <stdlib.h>
 8634: #include <stdarg.h>
 8635: #include <string.h>
 8636: #include <float.h>
 8637: 
 8638: int
 8639: main ()
 8640: {
 8641: 
 8642:   ;
 8643:   return 0;
 8644: }
 8645: _ACEOF
 8646: if ac_fn_c_try_compile "$LINENO"; then :
 8647:   ac_cv_header_stdc=yes
 8648: else
 8649:   ac_cv_header_stdc=no
 8650: fi
 8651: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8652: 
 8653: if test $ac_cv_header_stdc = yes; then
 8654:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8655:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8656: /* end confdefs.h.  */
 8657: #include <string.h>
 8658: 
 8659: _ACEOF
 8660: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8661:   $EGREP "memchr" >/dev/null 2>&1; then :
 8662: 
 8663: else
 8664:   ac_cv_header_stdc=no
 8665: fi
 8666: rm -f conftest*
 8667: 
 8668: fi
 8669: 
 8670: if test $ac_cv_header_stdc = yes; then
 8671:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8672:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8673: /* end confdefs.h.  */
 8674: #include <stdlib.h>
 8675: 
 8676: _ACEOF
 8677: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8678:   $EGREP "free" >/dev/null 2>&1; then :
 8679: 
 8680: else
 8681:   ac_cv_header_stdc=no
 8682: fi
 8683: rm -f conftest*
 8684: 
 8685: fi
 8686: 
 8687: if test $ac_cv_header_stdc = yes; then
 8688:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8689:   if test "$cross_compiling" = yes; then :
 8690:   :
 8691: else
 8692:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8693: /* end confdefs.h.  */
 8694: #include <ctype.h>
 8695: #include <stdlib.h>
 8696: #if ((' ' & 0x0FF) == 0x020)
 8697: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8698: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8699: #else
 8700: # define ISLOWER(c) \
 8701:            (('a' <= (c) && (c) <= 'i') \
 8702:              || ('j' <= (c) && (c) <= 'r') \
 8703:              || ('s' <= (c) && (c) <= 'z'))
 8704: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8705: #endif
 8706: 
 8707: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8708: int
 8709: main ()
 8710: {
 8711:   int i;
 8712:   for (i = 0; i < 256; i++)
 8713:     if (XOR (islower (i), ISLOWER (i))
 8714:     || toupper (i) != TOUPPER (i))
 8715:       return 2;
 8716:   return 0;
 8717: }
 8718: _ACEOF
 8719: if ac_fn_c_try_run "$LINENO"; then :
 8720: 
 8721: else
 8722:   ac_cv_header_stdc=no
 8723: fi
 8724: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8725:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8726: fi
 8727: 
 8728: fi
 8729: fi
 8730: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8731: $as_echo "$ac_cv_header_stdc" >&6; }
 8732: if test $ac_cv_header_stdc = yes; then
 8733: 
 8734: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8735: 
 8736: fi
 8737: 
 8738: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8739: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8740: if ${ac_cv_header_sys_wait_h+:} false; then :
 8741:   $as_echo_n "(cached) " >&6
 8742: else
 8743:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8744: /* end confdefs.h.  */
 8745: #include <sys/types.h>
 8746: #include <sys/wait.h>
 8747: #ifndef WEXITSTATUS
 8748: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8749: #endif
 8750: #ifndef WIFEXITED
 8751: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8752: #endif
 8753: 
 8754: int
 8755: main ()
 8756: {
 8757:   int s;
 8758:   wait (&s);
 8759:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8760:   ;
 8761:   return 0;
 8762: }
 8763: _ACEOF
 8764: if ac_fn_c_try_compile "$LINENO"; then :
 8765:   ac_cv_header_sys_wait_h=yes
 8766: else
 8767:   ac_cv_header_sys_wait_h=no
 8768: fi
 8769: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8770: fi
 8771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8772: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8773: if test $ac_cv_header_sys_wait_h = yes; then
 8774: 
 8775: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8776: 
 8777: fi
 8778: 
 8779: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8780:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8781:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8782: do :
 8783:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8784: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8785: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8786:   cat >>confdefs.h <<_ACEOF
 8787: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8788: _ACEOF
 8789: 
 8790: fi
 8791: 
 8792: done
 8793: 
 8794: 
 8795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8796: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8797: if ${ac_cv_c_const+:} false; then :
 8798:   $as_echo_n "(cached) " >&6
 8799: else
 8800:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8801: /* end confdefs.h.  */
 8802: 
 8803: int
 8804: main ()
 8805: {
 8806: /* FIXME: Include the comments suggested by Paul. */
 8807: #ifndef __cplusplus
 8808:   /* Ultrix mips cc rejects this.  */
 8809:   typedef int charset[2];
 8810:   const charset cs;
 8811:   /* SunOS 4.1.1 cc rejects this.  */
 8812:   char const *const *pcpcc;
 8813:   char **ppc;
 8814:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8815:   struct point {int x, y;};
 8816:   static struct point const zero = {0,0};
 8817:   /* AIX XL C 1.02.0.0 rejects this.
 8818:      It does not let you subtract one const X* pointer from another in
 8819:      an arm of an if-expression whose if-part is not a constant
 8820:      expression */
 8821:   const char *g = "string";
 8822:   pcpcc = &g + (g ? g-g : 0);
 8823:   /* HPUX 7.0 cc rejects these. */
 8824:   ++pcpcc;
 8825:   ppc = (char**) pcpcc;
 8826:   pcpcc = (char const *const *) ppc;
 8827:   { /* SCO 3.2v4 cc rejects this.  */
 8828:     char *t;
 8829:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8830: 
 8831:     *t++ = 0;
 8832:     if (s) return 0;
 8833:   }
 8834:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8835:     int x[] = {25, 17};
 8836:     const int *foo = &x[0];
 8837:     ++foo;
 8838:   }
 8839:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 8840:     typedef const int *iptr;
 8841:     iptr p = 0;
 8842:     ++p;
 8843:   }
 8844:   { /* AIX XL C 1.02.0.0 rejects this saying
 8845:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 8846:     struct s { int j; const int *ap[3]; };
 8847:     struct s *b; b->j = 5;
 8848:   }
 8849:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 8850:     const int foo = 10;
 8851:     if (!foo) return 0;
 8852:   }
 8853:   return !cs[0] && !zero.x;
 8854: #endif
 8855: 
 8856:   ;
 8857:   return 0;
 8858: }
 8859: _ACEOF
 8860: if ac_fn_c_try_compile "$LINENO"; then :
 8861:   ac_cv_c_const=yes
 8862: else
 8863:   ac_cv_c_const=no
 8864: fi
 8865: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8866: fi
 8867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 8868: $as_echo "$ac_cv_c_const" >&6; }
 8869: if test $ac_cv_c_const = no; then
 8870: 
 8871: $as_echo "#define const /**/" >>confdefs.h
 8872: 
 8873: fi
 8874: 
 8875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 8876: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 8877: if ${ac_cv_type_uid_t+:} false; then :
 8878:   $as_echo_n "(cached) " >&6
 8879: else
 8880:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8881: /* end confdefs.h.  */
 8882: #include <sys/types.h>
 8883: 
 8884: _ACEOF
 8885: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8886:   $EGREP "uid_t" >/dev/null 2>&1; then :
 8887:   ac_cv_type_uid_t=yes
 8888: else
 8889:   ac_cv_type_uid_t=no
 8890: fi
 8891: rm -f conftest*
 8892: 
 8893: fi
 8894: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 8895: $as_echo "$ac_cv_type_uid_t" >&6; }
 8896: if test $ac_cv_type_uid_t = no; then
 8897: 
 8898: $as_echo "#define uid_t int" >>confdefs.h
 8899: 
 8900: 
 8901: $as_echo "#define gid_t int" >>confdefs.h
 8902: 
 8903: fi
 8904: 
 8905: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 8906: if test "x$ac_cv_type_pid_t" = xyes; then :
 8907: 
 8908: else
 8909: 
 8910: cat >>confdefs.h <<_ACEOF
 8911: #define pid_t int
 8912: _ACEOF
 8913: 
 8914: fi
 8915: 
 8916: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 8917: if test "x$ac_cv_type_size_t" = xyes; then :
 8918: 
 8919: else
 8920: 
 8921: cat >>confdefs.h <<_ACEOF
 8922: #define size_t unsigned int
 8923: _ACEOF
 8924: 
 8925: fi
 8926: 
 8927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 8928: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 8929: if ${ac_cv_header_time+:} false; then :
 8930:   $as_echo_n "(cached) " >&6
 8931: else
 8932:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8933: /* end confdefs.h.  */
 8934: #include <sys/types.h>
 8935: #include <sys/time.h>
 8936: #include <time.h>
 8937: 
 8938: int
 8939: main ()
 8940: {
 8941: if ((struct tm *) 0)
 8942: return 0;
 8943:   ;
 8944:   return 0;
 8945: }
 8946: _ACEOF
 8947: if ac_fn_c_try_compile "$LINENO"; then :
 8948:   ac_cv_header_time=yes
 8949: else
 8950:   ac_cv_header_time=no
 8951: fi
 8952: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8953: fi
 8954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 8955: $as_echo "$ac_cv_header_time" >&6; }
 8956: if test $ac_cv_header_time = yes; then
 8957: 
 8958: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 8959: 
 8960: fi
 8961: 
 8962: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 8963: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 8964: if ${ac_cv_struct_tm+:} false; then :
 8965:   $as_echo_n "(cached) " >&6
 8966: else
 8967:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8968: /* end confdefs.h.  */
 8969: #include <sys/types.h>
 8970: #include <time.h>
 8971: 
 8972: int
 8973: main ()
 8974: {
 8975: struct tm tm;
 8976:                      int *p = &tm.tm_sec;
 8977:                      return !p;
 8978:   ;
 8979:   return 0;
 8980: }
 8981: _ACEOF
 8982: if ac_fn_c_try_compile "$LINENO"; then :
 8983:   ac_cv_struct_tm=time.h
 8984: else
 8985:   ac_cv_struct_tm=sys/time.h
 8986: fi
 8987: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8988: fi
 8989: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 8990: $as_echo "$ac_cv_struct_tm" >&6; }
 8991: if test $ac_cv_struct_tm = sys/time.h; then
 8992: 
 8993: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 8994: 
 8995: fi
 8996: 
 8997: 
 8998: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 8999: $as_echo_n "checking return type of signal handlers... " >&6; }
 9000: if ${ac_cv_type_signal+:} false; then :
 9001:   $as_echo_n "(cached) " >&6
 9002: else
 9003:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9004: /* end confdefs.h.  */
 9005: #include <sys/types.h>
 9006: #include <signal.h>
 9007: 
 9008: int
 9009: main ()
 9010: {
 9011: return *(signal (0, 0)) (0) == 1;
 9012:   ;
 9013:   return 0;
 9014: }
 9015: _ACEOF
 9016: if ac_fn_c_try_compile "$LINENO"; then :
 9017:   ac_cv_type_signal=int
 9018: else
 9019:   ac_cv_type_signal=void
 9020: fi
 9021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 9022: fi
 9023: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 9024: $as_echo "$ac_cv_type_signal" >&6; }
 9025: 
 9026: cat >>confdefs.h <<_ACEOF
 9027: #define RETSIGTYPE $ac_cv_type_signal
 9028: _ACEOF
 9029: 
 9030: 
 9031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
 9032: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
 9033: if test "$cross_compiling" = yes; then :
 9034:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 9035: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 9036: as_fn_error $? "cannot run test program while cross compiling
 9037: See \`config.log' for more details" "$LINENO" 5; }
 9038: else
 9039:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9040: /* end confdefs.h.  */
 9041: #include <unistd.h>
 9042: #include <signal.h>
 9043: int flag;
 9044: void handler(int signal, siginfo_t *siginfo, void *context)
 9045: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
 9046: int
 9047: main ()
 9048: {
 9049: struct sigaction    action;
 9050: action.sa_sigaction = handler;
 9051: action.sa_flags = SA_SIGINFO;
 9052: sigaction(SIGUSR1, &action, NULL);
 9053: raise(SIGUSR1);
 9054: return(flag);
 9055:   ;
 9056:   return 0;
 9057: }
 9058: _ACEOF
 9059: if ac_fn_c_try_run "$LINENO"; then :
 9060:   BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9061: $as_echo "no" >&6; }
 9062: else
 9063:   BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9064: $as_echo "yes" >&6; }
 9065: fi
 9066: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 9067:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 9068: fi
 9069: 
 9070: 
 9071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 9072: $as_echo_n "checking for working strcoll... " >&6; }
 9073: if ${ac_cv_func_strcoll_works+:} false; then :
 9074:   $as_echo_n "(cached) " >&6
 9075: else
 9076:   if test "$cross_compiling" = yes; then :
 9077:   ac_cv_func_strcoll_works=no
 9078: else
 9079:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9080: /* end confdefs.h.  */
 9081: $ac_includes_default
 9082: int
 9083: main ()
 9084: {
 9085: return (strcoll ("abc", "def") >= 0 ||
 9086:      strcoll ("ABC", "DEF") >= 0 ||
 9087:      strcoll ("123", "456") >= 0)
 9088:   ;
 9089:   return 0;
 9090: }
 9091: _ACEOF
 9092: if ac_fn_c_try_run "$LINENO"; then :
 9093:   ac_cv_func_strcoll_works=yes
 9094: else
 9095:   ac_cv_func_strcoll_works=no
 9096: fi
 9097: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 9098:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 9099: fi
 9100: 
 9101: fi
 9102: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 9103: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 9104: if test $ac_cv_func_strcoll_works = yes; then
 9105: 
 9106: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 9107: 
 9108: fi
 9109: 
 9110: for ac_func in strftime
 9111: do :
 9112:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 9113: if test "x$ac_cv_func_strftime" = xyes; then :
 9114:   cat >>confdefs.h <<_ACEOF
 9115: #define HAVE_STRFTIME 1
 9116: _ACEOF
 9117: 
 9118: else
 9119:   # strftime is in -lintl on SCO UNIX.
 9120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 9121: $as_echo_n "checking for strftime in -lintl... " >&6; }
 9122: if ${ac_cv_lib_intl_strftime+:} false; then :
 9123:   $as_echo_n "(cached) " >&6
 9124: else
 9125:   ac_check_lib_save_LIBS=$LIBS
 9126: LIBS="-lintl  $LIBS"
 9127: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9128: /* end confdefs.h.  */
 9129: 
 9130: /* Override any GCC internal prototype to avoid an error.
 9131:    Use char because int might match the return type of a GCC
 9132:    builtin and then its argument prototype would still apply.  */
 9133: #ifdef __cplusplus
 9134: extern "C"
 9135: #endif
 9136: char strftime ();
 9137: int
 9138: main ()
 9139: {
 9140: return strftime ();
 9141:   ;
 9142:   return 0;
 9143: }
 9144: _ACEOF
 9145: if ac_fn_c_try_link "$LINENO"; then :
 9146:   ac_cv_lib_intl_strftime=yes
 9147: else
 9148:   ac_cv_lib_intl_strftime=no
 9149: fi
 9150: rm -f core conftest.err conftest.$ac_objext \
 9151:     conftest$ac_exeext conftest.$ac_ext
 9152: LIBS=$ac_check_lib_save_LIBS
 9153: fi
 9154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 9155: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 9156: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
 9157:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 9158: 
 9159: LIBS="-lintl $LIBS"
 9160: fi
 9161: 
 9162: fi
 9163: done
 9164: 
 9165: for ac_func in vprintf
 9166: do :
 9167:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 9168: if test "x$ac_cv_func_vprintf" = xyes; then :
 9169:   cat >>confdefs.h <<_ACEOF
 9170: #define HAVE_VPRINTF 1
 9171: _ACEOF
 9172: 
 9173: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 9174: if test "x$ac_cv_func__doprnt" = xyes; then :
 9175: 
 9176: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 9177: 
 9178: fi
 9179: 
 9180: fi
 9181: done
 9182: 
 9183: 
 9184: for ac_func in ftime getcwd putenv select strcspn strdup \
 9185:         strerror strspn strstr strtod
 9186: do :
 9187:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 9188: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 9189: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 9190:   cat >>confdefs.h <<_ACEOF
 9191: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 9192: _ACEOF
 9193: 
 9194: fi
 9195: done
 9196: 
 9197: 
 9198: 
 9199: # Check whether --with-openssl_arch was given.
 9200: if test "${with_openssl_arch+set}" = set; then :
 9201:   withval=$with_openssl_arch;
 9202: else
 9203:   with_openssl_arch=none
 9204: fi
 9205: 
 9206: 
 9207: if test $(uname) = "OS/2"; then
 9208:     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 9209: else
 9210:     if test "x$with_openssl_arch" = xnone; then
 9211:         (cd tools/$OPENSSL && ./config no-asm)
 9212:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 9213:         (cd tools/$OPENSSL && ./Configure)
 9214:         as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
 9215:     elif test "x$with_openssl_arch" = xlist; then
 9216:         (cd tools/$OPENSSL && ./Configure)
 9217:         as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
 9218:     else
 9219:         (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
 9220:     fi
 9221: fi
 9222: 
 9223: if test "$MYGNUPLOT" = "yes"; then
 9224:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 9225:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 9226:                 (cd "$srcdir/tools" && tar -xf -)
 9227:     fi
 9228: 
 9229: 
 9230: subdirs="$subdirs tools/$GNUPLOT"
 9231: 
 9232:     GNUPLOT_COMPILATION=$GNUPLOT
 9233: else
 9234:     GNUPLOT_COMPILATION=
 9235: fi
 9236: 
 9237: 
 9238: 
 9239: HOST=$host
 9240: 
 9241: 
 9242: case $host_cpu in
 9243: 
 9244:     i?86)
 9245:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9246:             -Wno-pointer-sign"
 9247:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9248:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9249:     break ;;
 9250: 
 9251:     x86_64*)
 9252:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9253:             -Wno-pointer-sign"
 9254:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9255:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9256:     break ;;
 9257: 
 9258:     alpha*)
 9259:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
 9260:             -Wno-pointer-sign"
 9261:     FFLAGS="$FFLAGS -mieee -Wall"
 9262:     FCFLAGS="$FCFLAGS -mieee -Wall"
 9263:     break ;;
 9264: 
 9265:     sparc*)
 9266:     CFLAGS="$CFLAGS -Wall -funsigned-char \
 9267:             -Wno-pointer-sign"
 9268:     FFLAGS="$FFLAGS -Wall"
 9269:     FCFLAGS="$FCFLAGS -Wall"
 9270:     break ;;
 9271: 
 9272: esac
 9273: 
 9274: case $host_os in
 9275: 
 9276:     cygwin*)
 9277:         OS=Cygwin
 9278:     break ;;
 9279: 
 9280:     interix*)
 9281:         OS=Interix
 9282:     break ;;
 9283: 
 9284:     *)
 9285:         OS=$(uname)
 9286:     break ;;
 9287: 
 9288: esac
 9289: 
 9290: 
 9291: 
 9292: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9293: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9294: MALLOC=
 9295: 
 9296: case $OS in
 9297: 
 9298:     Darwin)
 9299:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9300:         NESTED_FUNCTIONS=-fnested-functions
 9301:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9302:         IPCS_SYSV=-UIPCS_SYSV
 9303:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9304:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9305:                 --disable-shared --enable-static --enable-threads \
 9306:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9307:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9308:                 LDFLAGS=\"$LDFLAGS\""
 9309:         C_STANDARD=-std=gnu99
 9310:     break ;;
 9311: 
 9312:     Cygwin)
 9313:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9314:         NESTED_FUNCTIONS=
 9315:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9316:         IPCS_SYSV=-UIPCS_SYSV
 9317:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9318:                 --disable-shared --enable-static --enable-threads \
 9319:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9320:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9321:                 LDFLAGS=\"$LDFLAGS\""
 9322:         C_STANDARD=-std=gnu99
 9323:     break ;;
 9324: 
 9325:     Interix)
 9326:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9327:         NESTED_FUNCTIONS=
 9328:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9329:         IPCS_SYSV=-UIPCS_SYSV
 9330:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9331:                 --disable-shared --enable-static --enable-threads \
 9332:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9333:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9334:                 LDFLAGS=\"$LDFLAGS\""
 9335:         C_STANDARD=-std=gnu99
 9336:     break;;
 9337: 
 9338:     AIX)
 9339:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9340:         NESTED_FUNCTIONS=
 9341:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9342:         IPCS_SYSV=-UIPCS_SYSV
 9343:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9344:                 --disable-shared --enable-static --enable-threads \
 9345:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9346:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9347:                 LDFLAGS=\"$LDFLAGS\""
 9348:         C_STANDARD=-std=gnu99
 9349:     break ;;
 9350: 
 9351:     OS/2)
 9352:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9353:             FINAL_ENCODING=CP850; \
 9354:         fi;
 9355:         OS=OS2
 9356:         NESTED_FUNCTIONS=
 9357:         EXPORT_DYNAMIC=-Zmap
 9358:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9359:         IPCS_SYSV=-DIPCS_SYSV
 9360:         ac_configure_args="$ac_configure_args --without-readline \
 9361:                 --without-cairo --disable-shared --enable-static \
 9362:                 --enable-threads \
 9363:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9364:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9365:                 LDFLAGS=\"$LDFLAGS\""
 9366:         C_STANDARD=
 9367:     break;;
 9368: 
 9369:     OpenBSD)
 9370:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9371:             FINAL_ENCODING=UTF-8; \
 9372:         fi;
 9373:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9374:         NESTED_FUNCTIONS=
 9375:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9376:         IPCS_SYSV=-DIPCS_SYSV
 9377:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9378:                 --disable-shared --enable-static --enable-threads \
 9379:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9380:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9381:                 LDFLAGS=\"$LDFLAGS\""
 9382:         C_STANDARD=-std=gnu99
 9383:     break;;
 9384: 
 9385:     SunOS)
 9386:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9387:         NESTED_FUNCTIONS=
 9388:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9389: 
 9390:         if test $IPCS_SYSV = no; then
 9391:             IPCS_SYSV=-UIPCS_SYSV
 9392:         else
 9393:             IPCS_SYSV=-DIPCS_SYSV
 9394:         fi
 9395: 
 9396:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9397:                 --disable-shared --enable-static --enable-threads \
 9398:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9399:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9400:                 LDFLAGS=\"$LDFLAGS\""
 9401:         C_STANDARD=-std=gnu99
 9402:         MALLOC=-lumem
 9403:     break ;;
 9404: 
 9405:     *)
 9406:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9407:         NESTED_FUNCTIONS=
 9408:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9409: 
 9410:         if test $IPCS_SYSV = no; then
 9411:             IPCS_SYSV=-UIPCS_SYSV
 9412:         else
 9413:             IPCS_SYSV=-DIPCS_SYSV
 9414:         fi
 9415: 
 9416:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9417:                 --disable-shared --enable-static --enable-threads \
 9418:                 CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
 9419:                 FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
 9420:                 LDFLAGS=\"$LDFLAGS\""
 9421:         C_STANDARD=-std=gnu99
 9422:     break ;;
 9423: 
 9424: esac
 9425: 
 9426: 
 9427: 
 9428: 
 9429: 
 9430: 
 9431: 
 9432: 
 9433: 
 9434: 
 9435: 
 9436: 
 9437: 
 9438: 
 9439: 
 9440: 
 9441: 
 9442: 
 9443: 
 9444: 
 9445: 
 9446: 
 9447: 
 9448: 
 9449: 
 9450: 
 9451: 
 9452: 
 9453: 
 9454: 
 9455: 
 9456: 
 9457: 
 9458: 
 9459: 
 9460: 
 9461: 
 9462: 
 9463: 
 9464: subdirs="$subdirs tools/$NCURSES"
 9465: 
 9466: subdirs="$subdirs tools/$READLINE"
 9467: 
 9468: subdirs="$subdirs tools/$GSL"
 9469: 
 9470: subdirs="$subdirs tools/$GPP"
 9471: 
 9472: subdirs="$subdirs tools/$FILE"
 9473: 
 9474: subdirs="$subdirs tools/$ICONV"
 9475: 
 9476: subdirs="$subdirs tools/$SQLITE"
 9477: 
 9478: subdirs="$subdirs tools/$UNITS"
 9479: 
 9480: 
 9481: ac_config_files="$ac_config_files Makefile"
 9482: 
 9483: ac_config_files="$ac_config_files COPYING"
 9484: 
 9485: ac_config_files="$ac_config_files tools/Makefile"
 9486: 
 9487: ac_config_files="$ac_config_files src/Makefile"
 9488: 
 9489: ac_config_files="$ac_config_files man/Makefile"
 9490: 
 9491: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9492: 
 9493: ac_config_files="$ac_config_files doc/Makefile"
 9494: 
 9495: ac_config_files="$ac_config_files scripts/Makefile"
 9496: 
 9497: ac_config_files="$ac_config_files scripts/mkrplso"
 9498: 
 9499: ac_config_files="$ac_config_files scripts/rplcc"
 9500: 
 9501: ac_config_files="$ac_config_files scripts/rpllink"
 9502: 
 9503: ac_config_files="$ac_config_files rpltags/Makefile"
 9504: 
 9505: ac_config_files="$ac_config_files rpliconv/Makefile"
 9506: 
 9507: ac_config_files="$ac_config_files rplsums/Makefile"
 9508: 
 9509: ac_config_files="$ac_config_files rplcas/Makefile"
 9510: 
 9511: ac_config_files="$ac_config_files rplawk/Makefile"
 9512: 
 9513: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9514: 
 9515: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9516: 
 9517: 
 9518: ac_config_files="$ac_config_files man/rpl.1"
 9519: 
 9520: ac_config_files="$ac_config_files man/rplcc.1"
 9521: 
 9522: ac_config_files="$ac_config_files man/rpllink.1"
 9523: 
 9524: ac_config_files="$ac_config_files man/rpltags.1"
 9525: 
 9526: ac_config_files="$ac_config_files man/mkrplso.1"
 9527: 
 9528: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9529: 
 9530: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9531: 
 9532: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9533: 
 9534: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9535: 
 9536: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9537: 
 9538: 
 9539: cat >confcache <<\_ACEOF
 9540: # This file is a shell script that caches the results of configure
 9541: # tests run on this system so they can be shared between configure
 9542: # scripts and configure runs, see configure's option --config-cache.
 9543: # It is not useful on other systems.  If it contains results you don't
 9544: # want to keep, you may remove or edit it.
 9545: #
 9546: # config.status only pays attention to the cache file if you give it
 9547: # the --recheck option to rerun configure.
 9548: #
 9549: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9550: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9551: # following values.
 9552: 
 9553: _ACEOF
 9554: 
 9555: # The following way of writing the cache mishandles newlines in values,
 9556: # but we know of no workaround that is simple, portable, and efficient.
 9557: # So, we kill variables containing newlines.
 9558: # Ultrix sh set writes to stderr and can't be redirected directly,
 9559: # and sets the high bit in the cache file unless we assign to the vars.
 9560: (
 9561:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9562:     eval ac_val=\$$ac_var
 9563:     case $ac_val in #(
 9564:     *${as_nl}*)
 9565:       case $ac_var in #(
 9566:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9567: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9568:       esac
 9569:       case $ac_var in #(
 9570:       _ | IFS | as_nl) ;; #(
 9571:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9572:       *) { eval $ac_var=; unset $ac_var;} ;;
 9573:       esac ;;
 9574:     esac
 9575:   done
 9576: 
 9577:   (set) 2>&1 |
 9578:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9579:     *${as_nl}ac_space=\ *)
 9580:       # `set' does not quote correctly, so add quotes: double-quote
 9581:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9582:       sed -n \
 9583:     "s/'/'\\\\''/g;
 9584:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9585:       ;; #(
 9586:     *)
 9587:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9588:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9589:       ;;
 9590:     esac |
 9591:     sort
 9592: ) |
 9593:   sed '
 9594:      /^ac_cv_env_/b end
 9595:      t clear
 9596:      :clear
 9597:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9598:      t end
 9599:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9600:      :end' >>confcache
 9601: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9602:   if test -w "$cache_file"; then
 9603:     if test "x$cache_file" != "x/dev/null"; then
 9604:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9605: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9606:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 9607:     cat confcache >"$cache_file"
 9608:       else
 9609:         case $cache_file in #(
 9610:         */* | ?:*)
 9611:       mv -f confcache "$cache_file"$$ &&
 9612:       mv -f "$cache_file"$$ "$cache_file" ;; #(
 9613:         *)
 9614:       mv -f confcache "$cache_file" ;;
 9615:     esac
 9616:       fi
 9617:     fi
 9618:   else
 9619:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9620: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9621:   fi
 9622: fi
 9623: rm -f confcache
 9624: 
 9625: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9626: # Let make expand exec_prefix.
 9627: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9628: 
 9629: DEFS=-DHAVE_CONFIG_H
 9630: 
 9631: ac_libobjs=
 9632: ac_ltlibobjs=
 9633: U=
 9634: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9635:   # 1. Remove the extension, and $U if already installed.
 9636:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9637:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9638:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9639:   #    will be set to the directory where LIBOBJS objects are built.
 9640:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9641:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9642: done
 9643: LIBOBJS=$ac_libobjs
 9644: 
 9645: LTLIBOBJS=$ac_ltlibobjs
 9646: 
 9647: 
 9648:  if test -n "$EXEEXT"; then
 9649:   am__EXEEXT_TRUE=
 9650:   am__EXEEXT_FALSE='#'
 9651: else
 9652:   am__EXEEXT_TRUE='#'
 9653:   am__EXEEXT_FALSE=
 9654: fi
 9655: 
 9656: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9657:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 9658: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9659: fi
 9660: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9661:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 9662: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9663: fi
 9664: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9665:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 9666: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9667: fi
 9668: 
 9669: : "${CONFIG_STATUS=./config.status}"
 9670: ac_write_fail=0
 9671: ac_clean_files_save=$ac_clean_files
 9672: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9673: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9674: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9675: as_write_fail=0
 9676: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9677: #! $SHELL
 9678: # Generated by $as_me.
 9679: # Run this file to recreate the current configuration.
 9680: # Compiler output produced by configure, useful for debugging
 9681: # configure, is in config.log if it exists.
 9682: 
 9683: debug=false
 9684: ac_cs_recheck=false
 9685: ac_cs_silent=false
 9686: 
 9687: SHELL=\${CONFIG_SHELL-$SHELL}
 9688: export SHELL
 9689: _ASEOF
 9690: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9691: ## -------------------- ##
 9692: ## M4sh Initialization. ##
 9693: ## -------------------- ##
 9694: 
 9695: # Be more Bourne compatible
 9696: DUALCASE=1; export DUALCASE # for MKS sh
 9697: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9698:   emulate sh
 9699:   NULLCMD=:
 9700:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9701:   # is contrary to our usage.  Disable this feature.
 9702:   alias -g '${1+"$@"}'='"$@"'
 9703:   setopt NO_GLOB_SUBST
 9704: else
 9705:   case `(set -o) 2>/dev/null` in #(
 9706:   *posix*) :
 9707:     set -o posix ;; #(
 9708:   *) :
 9709:      ;;
 9710: esac
 9711: fi
 9712: 
 9713: 
 9714: as_nl='
 9715: '
 9716: export as_nl
 9717: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9718: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9719: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9720: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9721: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9722: # but without wasting forks for bash or zsh.
 9723: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9724:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9725:   as_echo='print -r --'
 9726:   as_echo_n='print -rn --'
 9727: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9728:   as_echo='printf %s\n'
 9729:   as_echo_n='printf %s'
 9730: else
 9731:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9732:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9733:     as_echo_n='/usr/ucb/echo -n'
 9734:   else
 9735:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9736:     as_echo_n_body='eval
 9737:       arg=$1;
 9738:       case $arg in #(
 9739:       *"$as_nl"*)
 9740:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9741:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9742:       esac;
 9743:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9744:     '
 9745:     export as_echo_n_body
 9746:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9747:   fi
 9748:   export as_echo_body
 9749:   as_echo='sh -c $as_echo_body as_echo'
 9750: fi
 9751: 
 9752: # The user is always right.
 9753: if test "${PATH_SEPARATOR+set}" != set; then
 9754:   PATH_SEPARATOR=:
 9755:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9756:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9757:       PATH_SEPARATOR=';'
 9758:   }
 9759: fi
 9760: 
 9761: 
 9762: # IFS
 9763: # We need space, tab and new line, in precisely that order.  Quoting is
 9764: # there to prevent editors from complaining about space-tab.
 9765: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9766: # splitting by setting IFS to empty value.)
 9767: IFS=" ""    $as_nl"
 9768: 
 9769: # Find who we are.  Look in the path if we contain no directory separator.
 9770: as_myself=
 9771: case $0 in #((
 9772:   *[\\/]* ) as_myself=$0 ;;
 9773:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9774: for as_dir in $PATH
 9775: do
 9776:   IFS=$as_save_IFS
 9777:   test -z "$as_dir" && as_dir=.
 9778:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9779:   done
 9780: IFS=$as_save_IFS
 9781: 
 9782:      ;;
 9783: esac
 9784: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9785: # in which case we are not to be found in the path.
 9786: if test "x$as_myself" = x; then
 9787:   as_myself=$0
 9788: fi
 9789: if test ! -f "$as_myself"; then
 9790:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9791:   exit 1
 9792: fi
 9793: 
 9794: # Unset variables that we do not need and which cause bugs (e.g. in
 9795: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9796: # suppresses any "Segmentation fault" message there.  '((' could
 9797: # trigger a bug in pdksh 5.2.14.
 9798: for as_var in BASH_ENV ENV MAIL MAILPATH
 9799: do eval test x\${$as_var+set} = xset \
 9800:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9801: done
 9802: PS1='$ '
 9803: PS2='> '
 9804: PS4='+ '
 9805: 
 9806: # NLS nuisances.
 9807: LC_ALL=C
 9808: export LC_ALL
 9809: LANGUAGE=C
 9810: export LANGUAGE
 9811: 
 9812: # CDPATH.
 9813: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9814: 
 9815: 
 9816: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 9817: # ----------------------------------------
 9818: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9819: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9820: # script with STATUS, using 1 if that was 0.
 9821: as_fn_error ()
 9822: {
 9823:   as_status=$1; test $as_status -eq 0 && as_status=1
 9824:   if test "$4"; then
 9825:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 9826:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 9827:   fi
 9828:   $as_echo "$as_me: error: $2" >&2
 9829:   as_fn_exit $as_status
 9830: } # as_fn_error
 9831: 
 9832: 
 9833: # as_fn_set_status STATUS
 9834: # -----------------------
 9835: # Set $? to STATUS, without forking.
 9836: as_fn_set_status ()
 9837: {
 9838:   return $1
 9839: } # as_fn_set_status
 9840: 
 9841: # as_fn_exit STATUS
 9842: # -----------------
 9843: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 9844: as_fn_exit ()
 9845: {
 9846:   set +e
 9847:   as_fn_set_status $1
 9848:   exit $1
 9849: } # as_fn_exit
 9850: 
 9851: # as_fn_unset VAR
 9852: # ---------------
 9853: # Portably unset VAR.
 9854: as_fn_unset ()
 9855: {
 9856:   { eval $1=; unset $1;}
 9857: }
 9858: as_unset=as_fn_unset
 9859: # as_fn_append VAR VALUE
 9860: # ----------------------
 9861: # Append the text in VALUE to the end of the definition contained in VAR. Take
 9862: # advantage of any shell optimizations that allow amortized linear growth over
 9863: # repeated appends, instead of the typical quadratic growth present in naive
 9864: # implementations.
 9865: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 9866:   eval 'as_fn_append ()
 9867:   {
 9868:     eval $1+=\$2
 9869:   }'
 9870: else
 9871:   as_fn_append ()
 9872:   {
 9873:     eval $1=\$$1\$2
 9874:   }
 9875: fi # as_fn_append
 9876: 
 9877: # as_fn_arith ARG...
 9878: # ------------------
 9879: # Perform arithmetic evaluation on the ARGs, and store the result in the
 9880: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 9881: # must be portable across $(()) and expr.
 9882: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 9883:   eval 'as_fn_arith ()
 9884:   {
 9885:     as_val=$(( $* ))
 9886:   }'
 9887: else
 9888:   as_fn_arith ()
 9889:   {
 9890:     as_val=`expr "$@" || test $? -eq 1`
 9891:   }
 9892: fi # as_fn_arith
 9893: 
 9894: 
 9895: if expr a : '\(a\)' >/dev/null 2>&1 &&
 9896:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 9897:   as_expr=expr
 9898: else
 9899:   as_expr=false
 9900: fi
 9901: 
 9902: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 9903:   as_basename=basename
 9904: else
 9905:   as_basename=false
 9906: fi
 9907: 
 9908: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 9909:   as_dirname=dirname
 9910: else
 9911:   as_dirname=false
 9912: fi
 9913: 
 9914: as_me=`$as_basename -- "$0" ||
 9915: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 9916:      X"$0" : 'X\(//\)$' \| \
 9917:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 9918: $as_echo X/"$0" |
 9919:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 9920:         s//\1/
 9921:         q
 9922:       }
 9923:       /^X\/\(\/\/\)$/{
 9924:         s//\1/
 9925:         q
 9926:       }
 9927:       /^X\/\(\/\).*/{
 9928:         s//\1/
 9929:         q
 9930:       }
 9931:       s/.*/./; q'`
 9932: 
 9933: # Avoid depending upon Character Ranges.
 9934: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 9935: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 9936: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 9937: as_cr_digits='0123456789'
 9938: as_cr_alnum=$as_cr_Letters$as_cr_digits
 9939: 
 9940: ECHO_C= ECHO_N= ECHO_T=
 9941: case `echo -n x` in #(((((
 9942: -n*)
 9943:   case `echo 'xy\c'` in
 9944:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 9945:   xy)  ECHO_C='\c';;
 9946:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 9947:        ECHO_T=' ';;
 9948:   esac;;
 9949: *)
 9950:   ECHO_N='-n';;
 9951: esac
 9952: 
 9953: rm -f conf$$ conf$$.exe conf$$.file
 9954: if test -d conf$$.dir; then
 9955:   rm -f conf$$.dir/conf$$.file
 9956: else
 9957:   rm -f conf$$.dir
 9958:   mkdir conf$$.dir 2>/dev/null
 9959: fi
 9960: if (echo >conf$$.file) 2>/dev/null; then
 9961:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 9962:     as_ln_s='ln -s'
 9963:     # ... but there are two gotchas:
 9964:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 9965:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 9966:     # In both cases, we have to default to `cp -p'.
 9967:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 9968:       as_ln_s='cp -p'
 9969:   elif ln conf$$.file conf$$ 2>/dev/null; then
 9970:     as_ln_s=ln
 9971:   else
 9972:     as_ln_s='cp -p'
 9973:   fi
 9974: else
 9975:   as_ln_s='cp -p'
 9976: fi
 9977: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 9978: rmdir conf$$.dir 2>/dev/null
 9979: 
 9980: 
 9981: # as_fn_mkdir_p
 9982: # -------------
 9983: # Create "$as_dir" as a directory, including parents if necessary.
 9984: as_fn_mkdir_p ()
 9985: {
 9986: 
 9987:   case $as_dir in #(
 9988:   -*) as_dir=./$as_dir;;
 9989:   esac
 9990:   test -d "$as_dir" || eval $as_mkdir_p || {
 9991:     as_dirs=
 9992:     while :; do
 9993:       case $as_dir in #(
 9994:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 9995:       *) as_qdir=$as_dir;;
 9996:       esac
 9997:       as_dirs="'$as_qdir' $as_dirs"
 9998:       as_dir=`$as_dirname -- "$as_dir" ||
 9999: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10000:      X"$as_dir" : 'X\(//\)[^/]' \| \
10001:      X"$as_dir" : 'X\(//\)$' \| \
10002:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10003: $as_echo X"$as_dir" |
10004:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10005:         s//\1/
10006:         q
10007:       }
10008:       /^X\(\/\/\)[^/].*/{
10009:         s//\1/
10010:         q
10011:       }
10012:       /^X\(\/\/\)$/{
10013:         s//\1/
10014:         q
10015:       }
10016:       /^X\(\/\).*/{
10017:         s//\1/
10018:         q
10019:       }
10020:       s/.*/./; q'`
10021:       test -d "$as_dir" && break
10022:     done
10023:     test -z "$as_dirs" || eval "mkdir $as_dirs"
10024:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10025: 
10026: 
10027: } # as_fn_mkdir_p
10028: if mkdir -p . 2>/dev/null; then
10029:   as_mkdir_p='mkdir -p "$as_dir"'
10030: else
10031:   test -d ./-p && rmdir ./-p
10032:   as_mkdir_p=false
10033: fi
10034: 
10035: if test -x / >/dev/null 2>&1; then
10036:   as_test_x='test -x'
10037: else
10038:   if ls -dL / >/dev/null 2>&1; then
10039:     as_ls_L_option=L
10040:   else
10041:     as_ls_L_option=
10042:   fi
10043:   as_test_x='
10044:     eval sh -c '\''
10045:       if test -d "$1"; then
10046:     test -d "$1/.";
10047:       else
10048:     case $1 in #(
10049:     -*)set "./$1";;
10050:     esac;
10051:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10052:     ???[sx]*):;;*)false;;esac;fi
10053:     '\'' sh
10054:   '
10055: fi
10056: as_executable_p=$as_test_x
10057: 
10058: # Sed expression to map a string onto a valid CPP name.
10059: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10060: 
10061: # Sed expression to map a string onto a valid variable name.
10062: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10063: 
10064: 
10065: exec 6>&1
10066: ## ----------------------------------- ##
10067: ## Main body of $CONFIG_STATUS script. ##
10068: ## ----------------------------------- ##
10069: _ASEOF
10070: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10071: 
10072: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10073: # Save the log message, to keep $0 and so on meaningful, and to
10074: # report actual input values of CONFIG_FILES etc. instead of their
10075: # values after options handling.
10076: ac_log="
10077: This file was extended by rpl $as_me 4.1.2, which was
10078: generated by GNU Autoconf 2.68.  Invocation command line was
10079: 
10080:   CONFIG_FILES    = $CONFIG_FILES
10081:   CONFIG_HEADERS  = $CONFIG_HEADERS
10082:   CONFIG_LINKS    = $CONFIG_LINKS
10083:   CONFIG_COMMANDS = $CONFIG_COMMANDS
10084:   $ $0 $@
10085: 
10086: on `(hostname || uname -n) 2>/dev/null | sed 1q`
10087: "
10088: 
10089: _ACEOF
10090: 
10091: case $ac_config_files in *"
10092: "*) set x $ac_config_files; shift; ac_config_files=$*;;
10093: esac
10094: 
10095: case $ac_config_headers in *"
10096: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10097: esac
10098: 
10099: 
10100: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10101: # Files that config.status was made for.
10102: config_files="$ac_config_files"
10103: config_headers="$ac_config_headers"
10104: config_commands="$ac_config_commands"
10105: 
10106: _ACEOF
10107: 
10108: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10109: ac_cs_usage="\
10110: \`$as_me' instantiates files and other configuration actions
10111: from templates according to the current configuration.  Unless the files
10112: and actions are specified as TAGs, all are instantiated by default.
10113: 
10114: Usage: $0 [OPTION]... [TAG]...
10115: 
10116:   -h, --help       print this help, then exit
10117:   -V, --version    print version number and configuration settings, then exit
10118:       --config     print configuration, then exit
10119:   -q, --quiet, --silent
10120:                    do not print progress messages
10121:   -d, --debug      don't remove temporary files
10122:       --recheck    update $as_me by reconfiguring in the same conditions
10123:       --file=FILE[:TEMPLATE]
10124:                    instantiate the configuration file FILE
10125:       --header=FILE[:TEMPLATE]
10126:                    instantiate the configuration header FILE
10127: 
10128: Configuration files:
10129: $config_files
10130: 
10131: Configuration headers:
10132: $config_headers
10133: 
10134: Configuration commands:
10135: $config_commands
10136: 
10137: Report bugs to the package provider."
10138: 
10139: _ACEOF
10140: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10141: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10142: ac_cs_version="\\
10143: rpl config.status 4.1.2
10144: configured by $0, generated by GNU Autoconf 2.68,
10145:   with options \\"\$ac_cs_config\\"
10146: 
10147: Copyright (C) 2010 Free Software Foundation, Inc.
10148: This config.status script is free software; the Free Software Foundation
10149: gives unlimited permission to copy, distribute and modify it."
10150: 
10151: ac_pwd='$ac_pwd'
10152: srcdir='$srcdir'
10153: INSTALL='$INSTALL'
10154: MKDIR_P='$MKDIR_P'
10155: AWK='$AWK'
10156: test -n "\$AWK" || AWK=awk
10157: _ACEOF
10158: 
10159: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10160: # The default lists apply if the user does not specify any file.
10161: ac_need_defaults=:
10162: while test $# != 0
10163: do
10164:   case $1 in
10165:   --*=?*)
10166:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10167:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10168:     ac_shift=:
10169:     ;;
10170:   --*=)
10171:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10172:     ac_optarg=
10173:     ac_shift=:
10174:     ;;
10175:   *)
10176:     ac_option=$1
10177:     ac_optarg=$2
10178:     ac_shift=shift
10179:     ;;
10180:   esac
10181: 
10182:   case $ac_option in
10183:   # Handling of the options.
10184:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10185:     ac_cs_recheck=: ;;
10186:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10187:     $as_echo "$ac_cs_version"; exit ;;
10188:   --config | --confi | --conf | --con | --co | --c )
10189:     $as_echo "$ac_cs_config"; exit ;;
10190:   --debug | --debu | --deb | --de | --d | -d )
10191:     debug=: ;;
10192:   --file | --fil | --fi | --f )
10193:     $ac_shift
10194:     case $ac_optarg in
10195:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10196:     '') as_fn_error $? "missing file argument" ;;
10197:     esac
10198:     as_fn_append CONFIG_FILES " '$ac_optarg'"
10199:     ac_need_defaults=false;;
10200:   --header | --heade | --head | --hea )
10201:     $ac_shift
10202:     case $ac_optarg in
10203:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10204:     esac
10205:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10206:     ac_need_defaults=false;;
10207:   --he | --h)
10208:     # Conflict between --help and --header
10209:     as_fn_error $? "ambiguous option: \`$1'
10210: Try \`$0 --help' for more information.";;
10211:   --help | --hel | -h )
10212:     $as_echo "$ac_cs_usage"; exit ;;
10213:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10214:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
10215:     ac_cs_silent=: ;;
10216: 
10217:   # This is an error.
10218:   -*) as_fn_error $? "unrecognized option: \`$1'
10219: Try \`$0 --help' for more information." ;;
10220: 
10221:   *) as_fn_append ac_config_targets " $1"
10222:      ac_need_defaults=false ;;
10223: 
10224:   esac
10225:   shift
10226: done
10227: 
10228: ac_configure_extra_args=
10229: 
10230: if $ac_cs_silent; then
10231:   exec 6>/dev/null
10232:   ac_configure_extra_args="$ac_configure_extra_args --silent"
10233: fi
10234: 
10235: _ACEOF
10236: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10237: if \$ac_cs_recheck; then
10238:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10239:   shift
10240:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10241:   CONFIG_SHELL='$SHELL'
10242:   export CONFIG_SHELL
10243:   exec "\$@"
10244: fi
10245: 
10246: _ACEOF
10247: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10248: exec 5>>config.log
10249: {
10250:   echo
10251:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10252: ## Running $as_me. ##
10253: _ASBOX
10254:   $as_echo "$ac_log"
10255: } >&5
10256: 
10257: _ACEOF
10258: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10259: #
10260: # INIT-COMMANDS
10261: #
10262: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10263: 
10264: _ACEOF
10265: 
10266: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10267: 
10268: # Handling of arguments.
10269: for ac_config_target in $ac_config_targets
10270: do
10271:   case $ac_config_target in
10272:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10273:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10274:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10275:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10276:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10277:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10278:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10279:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10280:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10281:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10282:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10283:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10284:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10285:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10286:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10287:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10288:     "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10289:     "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10290:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10291:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10292:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10293:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10294:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10295:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10296:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10297:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10298:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10299:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10300:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10301:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10302: 
10303:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10304:   esac
10305: done
10306: 
10307: 
10308: # If the user did not use the arguments to specify the items to instantiate,
10309: # then the envvar interface is used.  Set only those that are not.
10310: # We use the long form for the default assignment because of an extremely
10311: # bizarre bug on SunOS 4.1.3.
10312: if $ac_need_defaults; then
10313:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10314:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10315:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10316: fi
10317: 
10318: # Have a temporary directory for convenience.  Make it in the build tree
10319: # simply because there is no reason against having it here, and in addition,
10320: # creating and moving files from /tmp can sometimes cause problems.
10321: # Hook for its removal unless debugging.
10322: # Note that there is a small window in which the directory will not be cleaned:
10323: # after its creation but before its name has been assigned to `$tmp'.
10324: $debug ||
10325: {
10326:   tmp= ac_tmp=
10327:   trap 'exit_status=$?
10328:   : "${ac_tmp:=$tmp}"
10329:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10330: ' 0
10331:   trap 'as_fn_exit 1' 1 2 13 15
10332: }
10333: # Create a (secure) tmp directory for tmp files.
10334: 
10335: {
10336:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10337:   test -d "$tmp"
10338: }  ||
10339: {
10340:   tmp=./conf$$-$RANDOM
10341:   (umask 077 && mkdir "$tmp")
10342: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10343: ac_tmp=$tmp
10344: 
10345: # Set up the scripts for CONFIG_FILES section.
10346: # No need to generate them if there are no CONFIG_FILES.
10347: # This happens for instance with `./config.status config.h'.
10348: if test -n "$CONFIG_FILES"; then
10349: 
10350: 
10351: ac_cr=`echo X | tr X '\015'`
10352: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10353: # But we know of no other shell where ac_cr would be empty at this
10354: # point, so we can use a bashism as a fallback.
10355: if test "x$ac_cr" = x; then
10356:   eval ac_cr=\$\'\\r\'
10357: fi
10358: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10359: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10360:   ac_cs_awk_cr='\\r'
10361: else
10362:   ac_cs_awk_cr=$ac_cr
10363: fi
10364: 
10365: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10366: _ACEOF
10367: 
10368: 
10369: {
10370:   echo "cat >conf$$subs.awk <<_ACEOF" &&
10371:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10372:   echo "_ACEOF"
10373: } >conf$$subs.sh ||
10374:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10375: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10376: ac_delim='%!_!# '
10377: for ac_last_try in false false false false false :; do
10378:   . ./conf$$subs.sh ||
10379:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10380: 
10381:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10382:   if test $ac_delim_n = $ac_delim_num; then
10383:     break
10384:   elif $ac_last_try; then
10385:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10386:   else
10387:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10388:   fi
10389: done
10390: rm -f conf$$subs.sh
10391: 
10392: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10393: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10394: _ACEOF
10395: sed -n '
10396: h
10397: s/^/S["/; s/!.*/"]=/
10398: p
10399: g
10400: s/^[^!]*!//
10401: :repl
10402: t repl
10403: s/'"$ac_delim"'$//
10404: t delim
10405: :nl
10406: h
10407: s/\(.\{148\}\)..*/\1/
10408: t more1
10409: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10410: p
10411: n
10412: b repl
10413: :more1
10414: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10415: p
10416: g
10417: s/.\{148\}//
10418: t nl
10419: :delim
10420: h
10421: s/\(.\{148\}\)..*/\1/
10422: t more2
10423: s/["\\]/\\&/g; s/^/"/; s/$/"/
10424: p
10425: b
10426: :more2
10427: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10428: p
10429: g
10430: s/.\{148\}//
10431: t delim
10432: ' <conf$$subs.awk | sed '
10433: /^[^""]/{
10434:   N
10435:   s/\n//
10436: }
10437: ' >>$CONFIG_STATUS || ac_write_fail=1
10438: rm -f conf$$subs.awk
10439: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10440: _ACAWK
10441: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10442:   for (key in S) S_is_set[key] = 1
10443:   FS = ""
10444: 
10445: }
10446: {
10447:   line = $ 0
10448:   nfields = split(line, field, "@")
10449:   substed = 0
10450:   len = length(field[1])
10451:   for (i = 2; i < nfields; i++) {
10452:     key = field[i]
10453:     keylen = length(key)
10454:     if (S_is_set[key]) {
10455:       value = S[key]
10456:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10457:       len += length(value) + length(field[++i])
10458:       substed = 1
10459:     } else
10460:       len += 1 + keylen
10461:   }
10462: 
10463:   print line
10464: }
10465: 
10466: _ACAWK
10467: _ACEOF
10468: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10469: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10470:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10471: else
10472:   cat
10473: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10474:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10475: _ACEOF
10476: 
10477: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10478: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10479: # trailing colons and then remove the whole line if VPATH becomes empty
10480: # (actually we leave an empty line to preserve line numbers).
10481: if test "x$srcdir" = x.; then
10482:   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
10483: h
10484: s///
10485: s/^/:/
10486: s/[  ]*$/:/
10487: s/:\$(srcdir):/:/g
10488: s/:\${srcdir}:/:/g
10489: s/:@srcdir@:/:/g
10490: s/^:*//
10491: s/:*$//
10492: x
10493: s/\(=[   ]*\).*/\1/
10494: G
10495: s/\n//
10496: s/^[^=]*=[   ]*$//
10497: }'
10498: fi
10499: 
10500: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10501: fi # test -n "$CONFIG_FILES"
10502: 
10503: # Set up the scripts for CONFIG_HEADERS section.
10504: # No need to generate them if there are no CONFIG_HEADERS.
10505: # This happens for instance with `./config.status Makefile'.
10506: if test -n "$CONFIG_HEADERS"; then
10507: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10508: BEGIN {
10509: _ACEOF
10510: 
10511: # Transform confdefs.h into an awk script `defines.awk', embedded as
10512: # here-document in config.status, that substitutes the proper values into
10513: # config.h.in to produce config.h.
10514: 
10515: # Create a delimiter string that does not exist in confdefs.h, to ease
10516: # handling of long lines.
10517: ac_delim='%!_!# '
10518: for ac_last_try in false false :; do
10519:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10520:   if test -z "$ac_tt"; then
10521:     break
10522:   elif $ac_last_try; then
10523:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10524:   else
10525:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10526:   fi
10527: done
10528: 
10529: # For the awk script, D is an array of macro values keyed by name,
10530: # likewise P contains macro parameters if any.  Preserve backslash
10531: # newline sequences.
10532: 
10533: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10534: sed -n '
10535: s/.\{148\}/&'"$ac_delim"'/g
10536: t rset
10537: :rset
10538: s/^[     ]*#[    ]*define[   ][  ]*/ /
10539: t def
10540: d
10541: :def
10542: s/\\$//
10543: t bsnl
10544: s/["\\]/\\&/g
10545: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10546: D["\1"]=" \3"/p
10547: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10548: d
10549: :bsnl
10550: s/["\\]/\\&/g
10551: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10552: D["\1"]=" \3\\\\\\n"\\/p
10553: t cont
10554: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10555: t cont
10556: d
10557: :cont
10558: n
10559: s/.\{148\}/&'"$ac_delim"'/g
10560: t clear
10561: :clear
10562: s/\\$//
10563: t bsnlc
10564: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10565: d
10566: :bsnlc
10567: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10568: b cont
10569: ' <confdefs.h | sed '
10570: s/'"$ac_delim"'/"\\\
10571: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10572: 
10573: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10574:   for (key in D) D_is_set[key] = 1
10575:   FS = ""
10576: }
10577: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10578:   line = \$ 0
10579:   split(line, arg, " ")
10580:   if (arg[1] == "#") {
10581:     defundef = arg[2]
10582:     mac1 = arg[3]
10583:   } else {
10584:     defundef = substr(arg[1], 2)
10585:     mac1 = arg[2]
10586:   }
10587:   split(mac1, mac2, "(") #)
10588:   macro = mac2[1]
10589:   prefix = substr(line, 1, index(line, defundef) - 1)
10590:   if (D_is_set[macro]) {
10591:     # Preserve the white space surrounding the "#".
10592:     print prefix "define", macro P[macro] D[macro]
10593:     next
10594:   } else {
10595:     # Replace #undef with comments.  This is necessary, for example,
10596:     # in the case of _POSIX_SOURCE, which is predefined and required
10597:     # on some systems where configure will not decide to define it.
10598:     if (defundef == "undef") {
10599:       print "/*", prefix defundef, macro, "*/"
10600:       next
10601:     }
10602:   }
10603: }
10604: { print }
10605: _ACAWK
10606: _ACEOF
10607: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10608:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10609: fi # test -n "$CONFIG_HEADERS"
10610: 
10611: 
10612: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10613: shift
10614: for ac_tag
10615: do
10616:   case $ac_tag in
10617:   :[FHLC]) ac_mode=$ac_tag; continue;;
10618:   esac
10619:   case $ac_mode$ac_tag in
10620:   :[FHL]*:*);;
10621:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10622:   :[FH]-) ac_tag=-:-;;
10623:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10624:   esac
10625:   ac_save_IFS=$IFS
10626:   IFS=:
10627:   set x $ac_tag
10628:   IFS=$ac_save_IFS
10629:   shift
10630:   ac_file=$1
10631:   shift
10632: 
10633:   case $ac_mode in
10634:   :L) ac_source=$1;;
10635:   :[FH])
10636:     ac_file_inputs=
10637:     for ac_f
10638:     do
10639:       case $ac_f in
10640:       -) ac_f="$ac_tmp/stdin";;
10641:       *) # Look for the file first in the build tree, then in the source tree
10642:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10643:      # because $ac_f cannot contain `:'.
10644:      test -f "$ac_f" ||
10645:        case $ac_f in
10646:        [\\/$]*) false;;
10647:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10648:        esac ||
10649:        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10650:       esac
10651:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10652:       as_fn_append ac_file_inputs " '$ac_f'"
10653:     done
10654: 
10655:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10656:     # use $as_me), people would be surprised to read:
10657:     #    /* config.h.  Generated by config.status.  */
10658:     configure_input='Generated from '`
10659:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10660:     `' by configure.'
10661:     if test x"$ac_file" != x-; then
10662:       configure_input="$ac_file.  $configure_input"
10663:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10664: $as_echo "$as_me: creating $ac_file" >&6;}
10665:     fi
10666:     # Neutralize special characters interpreted by sed in replacement strings.
10667:     case $configure_input in #(
10668:     *\&* | *\|* | *\\* )
10669:        ac_sed_conf_input=`$as_echo "$configure_input" |
10670:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10671:     *) ac_sed_conf_input=$configure_input;;
10672:     esac
10673: 
10674:     case $ac_tag in
10675:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
10676:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10677:     esac
10678:     ;;
10679:   esac
10680: 
10681:   ac_dir=`$as_dirname -- "$ac_file" ||
10682: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10683:      X"$ac_file" : 'X\(//\)[^/]' \| \
10684:      X"$ac_file" : 'X\(//\)$' \| \
10685:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10686: $as_echo X"$ac_file" |
10687:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10688:         s//\1/
10689:         q
10690:       }
10691:       /^X\(\/\/\)[^/].*/{
10692:         s//\1/
10693:         q
10694:       }
10695:       /^X\(\/\/\)$/{
10696:         s//\1/
10697:         q
10698:       }
10699:       /^X\(\/\).*/{
10700:         s//\1/
10701:         q
10702:       }
10703:       s/.*/./; q'`
10704:   as_dir="$ac_dir"; as_fn_mkdir_p
10705:   ac_builddir=.
10706: 
10707: case "$ac_dir" in
10708: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10709: *)
10710:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10711:   # A ".." for each directory in $ac_dir_suffix.
10712:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10713:   case $ac_top_builddir_sub in
10714:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10715:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10716:   esac ;;
10717: esac
10718: ac_abs_top_builddir=$ac_pwd
10719: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10720: # for backward compatibility:
10721: ac_top_builddir=$ac_top_build_prefix
10722: 
10723: case $srcdir in
10724:   .)  # We are building in place.
10725:     ac_srcdir=.
10726:     ac_top_srcdir=$ac_top_builddir_sub
10727:     ac_abs_top_srcdir=$ac_pwd ;;
10728:   [\\/]* | ?:[\\/]* )  # Absolute name.
10729:     ac_srcdir=$srcdir$ac_dir_suffix;
10730:     ac_top_srcdir=$srcdir
10731:     ac_abs_top_srcdir=$srcdir ;;
10732:   *) # Relative name.
10733:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10734:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10735:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10736: esac
10737: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10738: 
10739: 
10740:   case $ac_mode in
10741:   :F)
10742:   #
10743:   # CONFIG_FILE
10744:   #
10745: 
10746:   case $INSTALL in
10747:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10748:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10749:   esac
10750:   ac_MKDIR_P=$MKDIR_P
10751:   case $MKDIR_P in
10752:   [\\/$]* | ?:[\\/]* ) ;;
10753:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10754:   esac
10755: _ACEOF
10756: 
10757: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10758: # If the template does not know about datarootdir, expand it.
10759: # FIXME: This hack should be removed a few years after 2.60.
10760: ac_datarootdir_hack=; ac_datarootdir_seen=
10761: ac_sed_dataroot='
10762: /datarootdir/ {
10763:   p
10764:   q
10765: }
10766: /@datadir@/p
10767: /@docdir@/p
10768: /@infodir@/p
10769: /@localedir@/p
10770: /@mandir@/p'
10771: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10772: *datarootdir*) ac_datarootdir_seen=yes;;
10773: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10774:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10775: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10776: _ACEOF
10777: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10778:   ac_datarootdir_hack='
10779:   s&@datadir@&$datadir&g
10780:   s&@docdir@&$docdir&g
10781:   s&@infodir@&$infodir&g
10782:   s&@localedir@&$localedir&g
10783:   s&@mandir@&$mandir&g
10784:   s&\\\${datarootdir}&$datarootdir&g' ;;
10785: esac
10786: _ACEOF
10787: 
10788: # Neutralize VPATH when `$srcdir' = `.'.
10789: # Shell code in configure.ac might set extrasub.
10790: # FIXME: do we really want to maintain this feature?
10791: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10792: ac_sed_extra="$ac_vpsub
10793: $extrasub
10794: _ACEOF
10795: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10796: :t
10797: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10798: s|@configure_input@|$ac_sed_conf_input|;t t
10799: s&@top_builddir@&$ac_top_builddir_sub&;t t
10800: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10801: s&@srcdir@&$ac_srcdir&;t t
10802: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10803: s&@top_srcdir@&$ac_top_srcdir&;t t
10804: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10805: s&@builddir@&$ac_builddir&;t t
10806: s&@abs_builddir@&$ac_abs_builddir&;t t
10807: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10808: s&@INSTALL@&$ac_INSTALL&;t t
10809: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10810: $ac_datarootdir_hack
10811: "
10812: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10813:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10814: 
10815: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10816:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10817:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
10818:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
10819:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10820: which seems to be undefined.  Please make sure it is defined" >&5
10821: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10822: which seems to be undefined.  Please make sure it is defined" >&2;}
10823: 
10824:   rm -f "$ac_tmp/stdin"
10825:   case $ac_file in
10826:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10827:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10828:   esac \
10829:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10830:  ;;
10831:   :H)
10832:   #
10833:   # CONFIG_HEADER
10834:   #
10835:   if test x"$ac_file" != x-; then
10836:     {
10837:       $as_echo "/* $configure_input  */" \
10838:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10839:     } >"$ac_tmp/config.h" \
10840:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10841:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10842:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10843: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10844:     else
10845:       rm -f "$ac_file"
10846:       mv "$ac_tmp/config.h" "$ac_file" \
10847:     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10848:     fi
10849:   else
10850:     $as_echo "/* $configure_input  */" \
10851:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10852:       || as_fn_error $? "could not create -" "$LINENO" 5
10853:   fi
10854: # Compute "$ac_file"'s index in $config_headers.
10855: _am_arg="$ac_file"
10856: _am_stamp_count=1
10857: for _am_header in $config_headers :; do
10858:   case $_am_header in
10859:     $_am_arg | $_am_arg:* )
10860:       break ;;
10861:     * )
10862:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10863:   esac
10864: done
10865: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10866: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10867:      X"$_am_arg" : 'X\(//\)[^/]' \| \
10868:      X"$_am_arg" : 'X\(//\)$' \| \
10869:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10870: $as_echo X"$_am_arg" |
10871:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10872:         s//\1/
10873:         q
10874:       }
10875:       /^X\(\/\/\)[^/].*/{
10876:         s//\1/
10877:         q
10878:       }
10879:       /^X\(\/\/\)$/{
10880:         s//\1/
10881:         q
10882:       }
10883:       /^X\(\/\).*/{
10884:         s//\1/
10885:         q
10886:       }
10887:       s/.*/./; q'`/stamp-h$_am_stamp_count
10888:  ;;
10889: 
10890:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10891: $as_echo "$as_me: executing $ac_file commands" >&6;}
10892:  ;;
10893:   esac
10894: 
10895: 
10896:   case $ac_file$ac_mode in
10897:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10898:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10899:   # are listed without --file.  Let's play safe and only enable the eval
10900:   # if we detect the quoting.
10901:   case $CONFIG_FILES in
10902:   *\'*) eval set x "$CONFIG_FILES" ;;
10903:   *)   set x $CONFIG_FILES ;;
10904:   esac
10905:   shift
10906:   for mf
10907:   do
10908:     # Strip MF so we end up with the name of the file.
10909:     mf=`echo "$mf" | sed -e 's/:.*$//'`
10910:     # Check whether this is an Automake generated Makefile or not.
10911:     # We used to match only the files named `Makefile.in', but
10912:     # some people rename them; so instead we look at the file content.
10913:     # Grep'ing the first line is not enough: some people post-process
10914:     # each Makefile.in and add a new line on top of each file to say so.
10915:     # Grep'ing the whole file is not good either: AIX grep has a line
10916:     # limit of 2048, but all sed's we know have understand at least 4000.
10917:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10918:       dirpart=`$as_dirname -- "$mf" ||
10919: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10920:      X"$mf" : 'X\(//\)[^/]' \| \
10921:      X"$mf" : 'X\(//\)$' \| \
10922:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10923: $as_echo X"$mf" |
10924:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10925:         s//\1/
10926:         q
10927:       }
10928:       /^X\(\/\/\)[^/].*/{
10929:         s//\1/
10930:         q
10931:       }
10932:       /^X\(\/\/\)$/{
10933:         s//\1/
10934:         q
10935:       }
10936:       /^X\(\/\).*/{
10937:         s//\1/
10938:         q
10939:       }
10940:       s/.*/./; q'`
10941:     else
10942:       continue
10943:     fi
10944:     # Extract the definition of DEPDIR, am__include, and am__quote
10945:     # from the Makefile without running `make'.
10946:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10947:     test -z "$DEPDIR" && continue
10948:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10949:     test -z "am__include" && continue
10950:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10951:     # When using ansi2knr, U may be empty or an underscore; expand it
10952:     U=`sed -n 's/^U = //p' < "$mf"`
10953:     # Find all dependency output files, they are included files with
10954:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10955:     # simplest approach to changing $(DEPDIR) to its actual value in the
10956:     # expansion.
10957:     for file in `sed -n "
10958:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10959:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10960:       # Make sure the directory exists.
10961:       test -f "$dirpart/$file" && continue
10962:       fdir=`$as_dirname -- "$file" ||
10963: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10964:      X"$file" : 'X\(//\)[^/]' \| \
10965:      X"$file" : 'X\(//\)$' \| \
10966:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10967: $as_echo X"$file" |
10968:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10969:         s//\1/
10970:         q
10971:       }
10972:       /^X\(\/\/\)[^/].*/{
10973:         s//\1/
10974:         q
10975:       }
10976:       /^X\(\/\/\)$/{
10977:         s//\1/
10978:         q
10979:       }
10980:       /^X\(\/\).*/{
10981:         s//\1/
10982:         q
10983:       }
10984:       s/.*/./; q'`
10985:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10986:       # echo "creating $dirpart/$file"
10987:       echo '# dummy' > "$dirpart/$file"
10988:     done
10989:   done
10990: }
10991:  ;;
10992: 
10993:   esac
10994: done # for ac_tag
10995: 
10996: 
10997: as_fn_exit 0
10998: _ACEOF
10999: ac_clean_files=$ac_clean_files_save
11000: 
11001: test $ac_write_fail = 0 ||
11002:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11003: 
11004: 
11005: # configure is writing to config.log, and then calls config.status.
11006: # config.status does its own redirection, appending to config.log.
11007: # Unfortunately, on DOS this fails, as config.log is still kept open
11008: # by configure, so config.status won't be able to write to it; its
11009: # output is simply discarded.  So we exec the FD to /dev/null,
11010: # effectively closing config.log, so it can be properly (re)opened and
11011: # appended to by config.status.  When coming back to configure, we
11012: # need to make the FD available again.
11013: if test "$no_create" != yes; then
11014:   ac_cs_success=:
11015:   ac_config_status_args=
11016:   test "$silent" = yes &&
11017:     ac_config_status_args="$ac_config_status_args --quiet"
11018:   exec 5>/dev/null
11019:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11020:   exec 5>>config.log
11021:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11022:   # would make configure fail if this is the last instruction.
11023:   $ac_cs_success || as_fn_exit 1
11024: fi
11025: 
11026: #
11027: # CONFIG_SUBDIRS section.
11028: #
11029: if test "$no_recursion" != yes; then
11030: 
11031:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
11032:   # so they do not pile up.
11033:   ac_sub_configure_args=
11034:   ac_prev=
11035:   eval "set x $ac_configure_args"
11036:   shift
11037:   for ac_arg
11038:   do
11039:     if test -n "$ac_prev"; then
11040:       ac_prev=
11041:       continue
11042:     fi
11043:     case $ac_arg in
11044:     -cache-file | --cache-file | --cache-fil | --cache-fi \
11045:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
11046:       ac_prev=cache_file ;;
11047:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
11048:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
11049:     | --c=*)
11050:       ;;
11051:     --config-cache | -C)
11052:       ;;
11053:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11054:       ac_prev=srcdir ;;
11055:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11056:       ;;
11057:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11058:       ac_prev=prefix ;;
11059:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11060:       ;;
11061:     --disable-option-checking)
11062:       ;;
11063:     *)
11064:       case $ac_arg in
11065:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11066:       esac
11067:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
11068:     esac
11069:   done
11070: 
11071:   # Always prepend --prefix to ensure using the same prefix
11072:   # in subdir configurations.
11073:   ac_arg="--prefix=$prefix"
11074:   case $ac_arg in
11075:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11076:   esac
11077:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
11078: 
11079:   # Pass --silent
11080:   if test "$silent" = yes; then
11081:     ac_sub_configure_args="--silent $ac_sub_configure_args"
11082:   fi
11083: 
11084:   # Always prepend --disable-option-checking to silence warnings, since
11085:   # different subdirs can have different --enable and --with options.
11086:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
11087: 
11088:   ac_popdir=`pwd`
11089:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
11090: 
11091:     # Do not complain, so a configure script can configure whichever
11092:     # parts of a large source tree are present.
11093:     test -d "$srcdir/$ac_dir" || continue
11094: 
11095:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11096:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
11097:     $as_echo "$ac_msg" >&6
11098:     as_dir="$ac_dir"; as_fn_mkdir_p
11099:     ac_builddir=.
11100: 
11101: case "$ac_dir" in
11102: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11103: *)
11104:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11105:   # A ".." for each directory in $ac_dir_suffix.
11106:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11107:   case $ac_top_builddir_sub in
11108:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11109:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11110:   esac ;;
11111: esac
11112: ac_abs_top_builddir=$ac_pwd
11113: ac_abs_builddir=$ac_pwd$ac_dir_suffix
11114: # for backward compatibility:
11115: ac_top_builddir=$ac_top_build_prefix
11116: 
11117: case $srcdir in
11118:   .)  # We are building in place.
11119:     ac_srcdir=.
11120:     ac_top_srcdir=$ac_top_builddir_sub
11121:     ac_abs_top_srcdir=$ac_pwd ;;
11122:   [\\/]* | ?:[\\/]* )  # Absolute name.
11123:     ac_srcdir=$srcdir$ac_dir_suffix;
11124:     ac_top_srcdir=$srcdir
11125:     ac_abs_top_srcdir=$srcdir ;;
11126:   *) # Relative name.
11127:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11128:     ac_top_srcdir=$ac_top_build_prefix$srcdir
11129:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11130: esac
11131: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11132: 
11133: 
11134:     cd "$ac_dir"
11135: 
11136:     # Check for guested configure; otherwise get Cygnus style configure.
11137:     if test -f "$ac_srcdir/configure.gnu"; then
11138:       ac_sub_configure=$ac_srcdir/configure.gnu
11139:     elif test -f "$ac_srcdir/configure"; then
11140:       ac_sub_configure=$ac_srcdir/configure
11141:     elif test -f "$ac_srcdir/configure.in"; then
11142:       # This should be Cygnus configure.
11143:       ac_sub_configure=$ac_aux_dir/configure
11144:     else
11145:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11146: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11147:       ac_sub_configure=
11148:     fi
11149: 
11150:     # The recursion is here.
11151:     if test -n "$ac_sub_configure"; then
11152:       # Make the cache file name correct relative to the subdirectory.
11153:       case $cache_file in
11154:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11155:       *) # Relative name.
11156:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11157:       esac
11158: 
11159:       { $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
11160: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11161:       # The eval makes quoting arguments work.
11162:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11163:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11164:     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11165:     fi
11166: 
11167:     cd "$ac_popdir"
11168:   done
11169: fi
11170: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11171:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11172: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11173: fi
11174: 

CVSweb interface <joel.bertrand@systella.fr>