File:  [local] / rpl / Attic / configure
Revision 1.68: download - view: text, annotated - select for diffs - revision graph
Fri Jul 22 21:04:37 2011 UTC (12 years, 9 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction de la variable ABI dans configure.in.

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.68 for rpl 4.1.1.
    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.1'
  561: PACKAGE_STRING='rpl 4.1.1'
  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: GNUPLOT_COMPILATION
  638: subdirs
  639: EGREP
  640: GREP
  641: libPgSQLlib
  642: libPgSQLinc
  643: POSTGRESQL_SUPPORT
  644: libMySQLlib
  645: libMySQLinc
  646: MYSQL_SUPPORT
  647: DATE
  648: includeX
  649: libX
  650: MOTIF_SUPPORT
  651: DEBUG
  652: EXPERIMENTAL_CODE
  653: VIM_SUPPORT
  654: POSTSCRIPT_SUPPORT
  655: FORCE_GNUPLOT_PATH
  656: GNUPLOT_SUPPORT
  657: VIM
  658: GNUPLOT_P
  659: GV
  660: GS
  661: DVIPS
  662: LATEX
  663: TEX
  664: SED
  665: RANLIB
  666: LN_S
  667: RUNPATH
  668: PROFILAGE
  669: LIBRPLCAS
  670: RPLCAS
  671: ABI
  672: X_EXTRA_LIBS
  673: X_LIBS
  674: X_PRE_LIBS
  675: X_CFLAGS
  676: CPP
  677: XMKMF
  678: ac_ct_FC
  679: FCFLAGS
  680: FC
  681: ac_ct_F77
  682: FFLAGS
  683: F77
  684: am__fastdepCXX_FALSE
  685: am__fastdepCXX_TRUE
  686: CXXDEPMODE
  687: ac_ct_CXX
  688: CXXFLAGS
  689: CXX
  690: am__fastdepCC_FALSE
  691: am__fastdepCC_TRUE
  692: CCDEPMODE
  693: AMDEPBACKSLASH
  694: AMDEP_FALSE
  695: AMDEP_TRUE
  696: am__quote
  697: am__include
  698: DEPDIR
  699: OBJEXT
  700: EXEEXT
  701: ac_ct_CC
  702: CPPFLAGS
  703: LDFLAGS
  704: CFLAGS
  705: CC
  706: am__untar
  707: am__tar
  708: AMTAR
  709: am__leading_dot
  710: SET_MAKE
  711: AWK
  712: mkdir_p
  713: MKDIR_P
  714: INSTALL_STRIP_PROGRAM
  715: STRIP
  716: install_sh
  717: MAKEINFO
  718: AUTOHEADER
  719: AUTOMAKE
  720: AUTOCONF
  721: ACLOCAL
  722: VERSION
  723: PACKAGE
  724: CYGPATH_W
  725: am__isrc
  726: INSTALL_DATA
  727: INSTALL_SCRIPT
  728: INSTALL_PROGRAM
  729: target_os
  730: target_vendor
  731: target_cpu
  732: target
  733: host_os
  734: host_vendor
  735: host_cpu
  736: host
  737: build_os
  738: build_vendor
  739: build_cpu
  740: build
  741: target_alias
  742: host_alias
  743: build_alias
  744: LIBS
  745: ECHO_T
  746: ECHO_N
  747: ECHO_C
  748: DEFS
  749: mandir
  750: localedir
  751: libdir
  752: psdir
  753: pdfdir
  754: dvidir
  755: htmldir
  756: infodir
  757: docdir
  758: oldincludedir
  759: includedir
  760: localstatedir
  761: sharedstatedir
  762: sysconfdir
  763: datadir
  764: datarootdir
  765: libexecdir
  766: sbindir
  767: bindir
  768: program_transform_name
  769: prefix
  770: exec_prefix
  771: PACKAGE_URL
  772: PACKAGE_BUGREPORT
  773: PACKAGE_STRING
  774: PACKAGE_VERSION
  775: PACKAGE_TARNAME
  776: PACKAGE_NAME
  777: PATH_SEPARATOR
  778: SHELL'
  779: ac_subst_files=''
  780: ac_user_opts='
  781: enable_option_checking
  782: enable_dependency_tracking
  783: with_x
  784: with_32bits
  785: with_64bits
  786: with_rplcas
  787: enable_optimization
  788: enable_sysv_semaphores
  789: enable_full_static
  790: enable_final_encoding
  791: enable_tex
  792: enable_vim
  793: enable_embedded_gnuplot
  794: enable_gnuplot
  795: enable_motif
  796: enable_experimental
  797: enable_debug
  798: enable_profile
  799: enable_final_run_path
  800: with_mysql
  801: with_postgresql
  802: with_bourne_shell
  803: with_openssl_arch
  804: '
  805:       ac_precious_vars='build_alias
  806: host_alias
  807: target_alias
  808: CC
  809: CFLAGS
  810: LDFLAGS
  811: LIBS
  812: CPPFLAGS
  813: CXX
  814: CXXFLAGS
  815: CCC
  816: F77
  817: FFLAGS
  818: FC
  819: FCFLAGS
  820: XMKMF
  821: CPP'
  822: ac_subdirs_all='tools/$NCURSES
  823: tools/$READLINE
  824: tools/$GSL
  825: tools/$GPP
  826: tools/$FILE
  827: tools/$ICONV
  828: tools/$SQLITE
  829: tools/$UNITS
  830: tools/$GNUPLOT'
  831: 
  832: # Initialize some variables set by options.
  833: ac_init_help=
  834: ac_init_version=false
  835: ac_unrecognized_opts=
  836: ac_unrecognized_sep=
  837: # The variables have the same names as the options, with
  838: # dashes changed to underlines.
  839: cache_file=/dev/null
  840: exec_prefix=NONE
  841: no_create=
  842: no_recursion=
  843: prefix=NONE
  844: program_prefix=NONE
  845: program_suffix=NONE
  846: program_transform_name=s,x,x,
  847: silent=
  848: site=
  849: srcdir=
  850: verbose=
  851: x_includes=NONE
  852: x_libraries=NONE
  853: 
  854: # Installation directory options.
  855: # These are left unexpanded so users can "make install exec_prefix=/foo"
  856: # and all the variables that are supposed to be based on exec_prefix
  857: # by default will actually change.
  858: # Use braces instead of parens because sh, perl, etc. also accept them.
  859: # (The list follows the same order as the GNU Coding Standards.)
  860: bindir='${exec_prefix}/bin'
  861: sbindir='${exec_prefix}/sbin'
  862: libexecdir='${exec_prefix}/libexec'
  863: datarootdir='${prefix}/share'
  864: datadir='${datarootdir}'
  865: sysconfdir='${prefix}/etc'
  866: sharedstatedir='${prefix}/com'
  867: localstatedir='${prefix}/var'
  868: includedir='${prefix}/include'
  869: oldincludedir='/usr/include'
  870: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  871: infodir='${datarootdir}/info'
  872: htmldir='${docdir}'
  873: dvidir='${docdir}'
  874: pdfdir='${docdir}'
  875: psdir='${docdir}'
  876: libdir='${exec_prefix}/lib'
  877: localedir='${datarootdir}/locale'
  878: mandir='${datarootdir}/man'
  879: 
  880: ac_prev=
  881: ac_dashdash=
  882: for ac_option
  883: do
  884:   # If the previous option needs an argument, assign it.
  885:   if test -n "$ac_prev"; then
  886:     eval $ac_prev=\$ac_option
  887:     ac_prev=
  888:     continue
  889:   fi
  890: 
  891:   case $ac_option in
  892:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  893:   *=)   ac_optarg= ;;
  894:   *)    ac_optarg=yes ;;
  895:   esac
  896: 
  897:   # Accept the important Cygnus configure options, so we can diagnose typos.
  898: 
  899:   case $ac_dashdash$ac_option in
  900:   --)
  901:     ac_dashdash=yes ;;
  902: 
  903:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  904:     ac_prev=bindir ;;
  905:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  906:     bindir=$ac_optarg ;;
  907: 
  908:   -build | --build | --buil | --bui | --bu)
  909:     ac_prev=build_alias ;;
  910:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  911:     build_alias=$ac_optarg ;;
  912: 
  913:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  914:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  915:     ac_prev=cache_file ;;
  916:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  917:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  918:     cache_file=$ac_optarg ;;
  919: 
  920:   --config-cache | -C)
  921:     cache_file=config.cache ;;
  922: 
  923:   -datadir | --datadir | --datadi | --datad)
  924:     ac_prev=datadir ;;
  925:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  926:     datadir=$ac_optarg ;;
  927: 
  928:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  929:   | --dataroo | --dataro | --datar)
  930:     ac_prev=datarootdir ;;
  931:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  932:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  933:     datarootdir=$ac_optarg ;;
  934: 
  935:   -disable-* | --disable-*)
  936:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  937:     # Reject names that are not valid shell variable names.
  938:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  939:       as_fn_error $? "invalid feature name: $ac_useropt"
  940:     ac_useropt_orig=$ac_useropt
  941:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  942:     case $ac_user_opts in
  943:       *"
  944: "enable_$ac_useropt"
  945: "*) ;;
  946:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  947:      ac_unrecognized_sep=', ';;
  948:     esac
  949:     eval enable_$ac_useropt=no ;;
  950: 
  951:   -docdir | --docdir | --docdi | --doc | --do)
  952:     ac_prev=docdir ;;
  953:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  954:     docdir=$ac_optarg ;;
  955: 
  956:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  957:     ac_prev=dvidir ;;
  958:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  959:     dvidir=$ac_optarg ;;
  960: 
  961:   -enable-* | --enable-*)
  962:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  963:     # Reject names that are not valid shell variable names.
  964:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  965:       as_fn_error $? "invalid feature name: $ac_useropt"
  966:     ac_useropt_orig=$ac_useropt
  967:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  968:     case $ac_user_opts in
  969:       *"
  970: "enable_$ac_useropt"
  971: "*) ;;
  972:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  973:      ac_unrecognized_sep=', ';;
  974:     esac
  975:     eval enable_$ac_useropt=\$ac_optarg ;;
  976: 
  977:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  978:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  979:   | --exec | --exe | --ex)
  980:     ac_prev=exec_prefix ;;
  981:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  982:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  983:   | --exec=* | --exe=* | --ex=*)
  984:     exec_prefix=$ac_optarg ;;
  985: 
  986:   -gas | --gas | --ga | --g)
  987:     # Obsolete; use --with-gas.
  988:     with_gas=yes ;;
  989: 
  990:   -help | --help | --hel | --he | -h)
  991:     ac_init_help=long ;;
  992:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  993:     ac_init_help=recursive ;;
  994:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  995:     ac_init_help=short ;;
  996: 
  997:   -host | --host | --hos | --ho)
  998:     ac_prev=host_alias ;;
  999:   -host=* | --host=* | --hos=* | --ho=*)
 1000:     host_alias=$ac_optarg ;;
 1001: 
 1002:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1003:     ac_prev=htmldir ;;
 1004:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1005:   | --ht=*)
 1006:     htmldir=$ac_optarg ;;
 1007: 
 1008:   -includedir | --includedir | --includedi | --included | --include \
 1009:   | --includ | --inclu | --incl | --inc)
 1010:     ac_prev=includedir ;;
 1011:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1012:   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1013:     includedir=$ac_optarg ;;
 1014: 
 1015:   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1016:     ac_prev=infodir ;;
 1017:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1018:     infodir=$ac_optarg ;;
 1019: 
 1020:   -libdir | --libdir | --libdi | --libd)
 1021:     ac_prev=libdir ;;
 1022:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1023:     libdir=$ac_optarg ;;
 1024: 
 1025:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1026:   | --libexe | --libex | --libe)
 1027:     ac_prev=libexecdir ;;
 1028:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1029:   | --libexe=* | --libex=* | --libe=*)
 1030:     libexecdir=$ac_optarg ;;
 1031: 
 1032:   -localedir | --localedir | --localedi | --localed | --locale)
 1033:     ac_prev=localedir ;;
 1034:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1035:     localedir=$ac_optarg ;;
 1036: 
 1037:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1038:   | --localstate | --localstat | --localsta | --localst | --locals)
 1039:     ac_prev=localstatedir ;;
 1040:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1041:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1042:     localstatedir=$ac_optarg ;;
 1043: 
 1044:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1045:     ac_prev=mandir ;;
 1046:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1047:     mandir=$ac_optarg ;;
 1048: 
 1049:   -nfp | --nfp | --nf)
 1050:     # Obsolete; use --without-fp.
 1051:     with_fp=no ;;
 1052: 
 1053:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1054:   | --no-cr | --no-c | -n)
 1055:     no_create=yes ;;
 1056: 
 1057:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1058:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1059:     no_recursion=yes ;;
 1060: 
 1061:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1062:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1063:   | --oldin | --oldi | --old | --ol | --o)
 1064:     ac_prev=oldincludedir ;;
 1065:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1066:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1067:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1068:     oldincludedir=$ac_optarg ;;
 1069: 
 1070:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1071:     ac_prev=prefix ;;
 1072:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1073:     prefix=$ac_optarg ;;
 1074: 
 1075:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1076:   | --program-pre | --program-pr | --program-p)
 1077:     ac_prev=program_prefix ;;
 1078:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1079:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1080:     program_prefix=$ac_optarg ;;
 1081: 
 1082:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1083:   | --program-suf | --program-su | --program-s)
 1084:     ac_prev=program_suffix ;;
 1085:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1086:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1087:     program_suffix=$ac_optarg ;;
 1088: 
 1089:   -program-transform-name | --program-transform-name \
 1090:   | --program-transform-nam | --program-transform-na \
 1091:   | --program-transform-n | --program-transform- \
 1092:   | --program-transform | --program-transfor \
 1093:   | --program-transfo | --program-transf \
 1094:   | --program-trans | --program-tran \
 1095:   | --progr-tra | --program-tr | --program-t)
 1096:     ac_prev=program_transform_name ;;
 1097:   -program-transform-name=* | --program-transform-name=* \
 1098:   | --program-transform-nam=* | --program-transform-na=* \
 1099:   | --program-transform-n=* | --program-transform-=* \
 1100:   | --program-transform=* | --program-transfor=* \
 1101:   | --program-transfo=* | --program-transf=* \
 1102:   | --program-trans=* | --program-tran=* \
 1103:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1104:     program_transform_name=$ac_optarg ;;
 1105: 
 1106:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1107:     ac_prev=pdfdir ;;
 1108:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1109:     pdfdir=$ac_optarg ;;
 1110: 
 1111:   -psdir | --psdir | --psdi | --psd | --ps)
 1112:     ac_prev=psdir ;;
 1113:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1114:     psdir=$ac_optarg ;;
 1115: 
 1116:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1117:   | -silent | --silent | --silen | --sile | --sil)
 1118:     silent=yes ;;
 1119: 
 1120:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1121:     ac_prev=sbindir ;;
 1122:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1123:   | --sbi=* | --sb=*)
 1124:     sbindir=$ac_optarg ;;
 1125: 
 1126:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1127:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1128:   | --sharedst | --shareds | --shared | --share | --shar \
 1129:   | --sha | --sh)
 1130:     ac_prev=sharedstatedir ;;
 1131:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1132:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1133:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1134:   | --sha=* | --sh=*)
 1135:     sharedstatedir=$ac_optarg ;;
 1136: 
 1137:   -site | --site | --sit)
 1138:     ac_prev=site ;;
 1139:   -site=* | --site=* | --sit=*)
 1140:     site=$ac_optarg ;;
 1141: 
 1142:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1143:     ac_prev=srcdir ;;
 1144:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1145:     srcdir=$ac_optarg ;;
 1146: 
 1147:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1148:   | --syscon | --sysco | --sysc | --sys | --sy)
 1149:     ac_prev=sysconfdir ;;
 1150:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1151:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1152:     sysconfdir=$ac_optarg ;;
 1153: 
 1154:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1155:     ac_prev=target_alias ;;
 1156:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1157:     target_alias=$ac_optarg ;;
 1158: 
 1159:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1160:     verbose=yes ;;
 1161: 
 1162:   -version | --version | --versio | --versi | --vers | -V)
 1163:     ac_init_version=: ;;
 1164: 
 1165:   -with-* | --with-*)
 1166:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1167:     # Reject names that are not valid shell variable names.
 1168:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1169:       as_fn_error $? "invalid package name: $ac_useropt"
 1170:     ac_useropt_orig=$ac_useropt
 1171:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1172:     case $ac_user_opts in
 1173:       *"
 1174: "with_$ac_useropt"
 1175: "*) ;;
 1176:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1177:      ac_unrecognized_sep=', ';;
 1178:     esac
 1179:     eval with_$ac_useropt=\$ac_optarg ;;
 1180: 
 1181:   -without-* | --without-*)
 1182:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1183:     # Reject names that are not valid shell variable names.
 1184:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1185:       as_fn_error $? "invalid package name: $ac_useropt"
 1186:     ac_useropt_orig=$ac_useropt
 1187:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1188:     case $ac_user_opts in
 1189:       *"
 1190: "with_$ac_useropt"
 1191: "*) ;;
 1192:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1193:      ac_unrecognized_sep=', ';;
 1194:     esac
 1195:     eval with_$ac_useropt=no ;;
 1196: 
 1197:   --x)
 1198:     # Obsolete; use --with-x.
 1199:     with_x=yes ;;
 1200: 
 1201:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1202:   | --x-incl | --x-inc | --x-in | --x-i)
 1203:     ac_prev=x_includes ;;
 1204:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1205:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1206:     x_includes=$ac_optarg ;;
 1207: 
 1208:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1209:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1210:     ac_prev=x_libraries ;;
 1211:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1212:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1213:     x_libraries=$ac_optarg ;;
 1214: 
 1215:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1216: Try \`$0 --help' for more information"
 1217:     ;;
 1218: 
 1219:   *=*)
 1220:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1221:     # Reject names that are not valid shell variable names.
 1222:     case $ac_envvar in #(
 1223:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1224:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1225:     esac
 1226:     eval $ac_envvar=\$ac_optarg
 1227:     export $ac_envvar ;;
 1228: 
 1229:   *)
 1230:     # FIXME: should be removed in autoconf 3.0.
 1231:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1232:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1233:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1234:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1235:     ;;
 1236: 
 1237:   esac
 1238: done
 1239: 
 1240: if test -n "$ac_prev"; then
 1241:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1242:   as_fn_error $? "missing argument to $ac_option"
 1243: fi
 1244: 
 1245: if test -n "$ac_unrecognized_opts"; then
 1246:   case $enable_option_checking in
 1247:     no) ;;
 1248:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1249:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1250:   esac
 1251: fi
 1252: 
 1253: # Check all directory arguments for consistency.
 1254: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1255:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1256:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1257:         libdir localedir mandir
 1258: do
 1259:   eval ac_val=\$$ac_var
 1260:   # Remove trailing slashes.
 1261:   case $ac_val in
 1262:     */ )
 1263:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1264:       eval $ac_var=\$ac_val;;
 1265:   esac
 1266:   # Be sure to have absolute directory names.
 1267:   case $ac_val in
 1268:     [\\/$]* | ?:[\\/]* )  continue;;
 1269:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1270:   esac
 1271:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1272: done
 1273: 
 1274: # There might be people who depend on the old broken behavior: `$host'
 1275: # used to hold the argument of --host etc.
 1276: # FIXME: To remove some day.
 1277: build=$build_alias
 1278: host=$host_alias
 1279: target=$target_alias
 1280: 
 1281: # FIXME: To remove some day.
 1282: if test "x$host_alias" != x; then
 1283:   if test "x$build_alias" = x; then
 1284:     cross_compiling=maybe
 1285:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 1286:     If a cross compiler is detected then cross compile mode will be used" >&2
 1287:   elif test "x$build_alias" != "x$host_alias"; then
 1288:     cross_compiling=yes
 1289:   fi
 1290: fi
 1291: 
 1292: ac_tool_prefix=
 1293: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1294: 
 1295: test "$silent" = yes && exec 6>/dev/null
 1296: 
 1297: 
 1298: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1299: ac_ls_di=`ls -di .` &&
 1300: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1301:   as_fn_error $? "working directory cannot be determined"
 1302: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1303:   as_fn_error $? "pwd does not report name of working directory"
 1304: 
 1305: 
 1306: # Find the source files, if location was not specified.
 1307: if test -z "$srcdir"; then
 1308:   ac_srcdir_defaulted=yes
 1309:   # Try the directory containing this script, then the parent directory.
 1310:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1311: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1312:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1313:      X"$as_myself" : 'X\(//\)$' \| \
 1314:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1315: $as_echo X"$as_myself" |
 1316:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1317:         s//\1/
 1318:         q
 1319:       }
 1320:       /^X\(\/\/\)[^/].*/{
 1321:         s//\1/
 1322:         q
 1323:       }
 1324:       /^X\(\/\/\)$/{
 1325:         s//\1/
 1326:         q
 1327:       }
 1328:       /^X\(\/\).*/{
 1329:         s//\1/
 1330:         q
 1331:       }
 1332:       s/.*/./; q'`
 1333:   srcdir=$ac_confdir
 1334:   if test ! -r "$srcdir/$ac_unique_file"; then
 1335:     srcdir=..
 1336:   fi
 1337: else
 1338:   ac_srcdir_defaulted=no
 1339: fi
 1340: if test ! -r "$srcdir/$ac_unique_file"; then
 1341:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1342:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1343: fi
 1344: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1345: ac_abs_confdir=`(
 1346:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1347:     pwd)`
 1348: # When building in place, set srcdir=.
 1349: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1350:   srcdir=.
 1351: fi
 1352: # Remove unnecessary trailing slashes from srcdir.
 1353: # Double slashes in file names in object file debugging info
 1354: # mess up M-x gdb in Emacs.
 1355: case $srcdir in
 1356: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1357: esac
 1358: for ac_var in $ac_precious_vars; do
 1359:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1360:   eval ac_env_${ac_var}_value=\$${ac_var}
 1361:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1362:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1363: done
 1364: 
 1365: #
 1366: # Report the --help message.
 1367: #
 1368: if test "$ac_init_help" = "long"; then
 1369:   # Omit some internal or obsolete options to make the list less imposing.
 1370:   # This message is too long to be a string in the A/UX 3.1 sh.
 1371:   cat <<_ACEOF
 1372: \`configure' configures rpl 4.1.1 to adapt to many kinds of systems.
 1373: 
 1374: Usage: $0 [OPTION]... [VAR=VALUE]...
 1375: 
 1376: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1377: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1378: 
 1379: Defaults for the options are specified in brackets.
 1380: 
 1381: Configuration:
 1382:   -h, --help              display this help and exit
 1383:       --help=short        display options specific to this package
 1384:       --help=recursive    display the short help of all the included packages
 1385:   -V, --version           display version information and exit
 1386:   -q, --quiet, --silent   do not print \`checking ...' messages
 1387:       --cache-file=FILE   cache test results in FILE [disabled]
 1388:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1389:   -n, --no-create         do not create output files
 1390:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1391: 
 1392: Installation directories:
 1393:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1394:                           [$ac_default_prefix]
 1395:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1396:                           [PREFIX]
 1397: 
 1398: By default, \`make install' will install all the files in
 1399: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1400: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1401: for instance \`--prefix=\$HOME'.
 1402: 
 1403: For better control, use the options below.
 1404: 
 1405: Fine tuning of the installation directories:
 1406:   --bindir=DIR            user executables [EPREFIX/bin]
 1407:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1408:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1409:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1410:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1411:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1412:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1413:   --includedir=DIR        C header files [PREFIX/include]
 1414:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1415:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1416:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1417:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1418:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1419:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1420:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1421:   --htmldir=DIR           html documentation [DOCDIR]
 1422:   --dvidir=DIR            dvi documentation [DOCDIR]
 1423:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1424:   --psdir=DIR             ps documentation [DOCDIR]
 1425: _ACEOF
 1426: 
 1427:   cat <<\_ACEOF
 1428: 
 1429: Program names:
 1430:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1431:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1432:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1433: 
 1434: X features:
 1435:   --x-includes=DIR    X include files are in DIR
 1436:   --x-libraries=DIR   X library files are in DIR
 1437: 
 1438: System types:
 1439:   --build=BUILD     configure for building on BUILD [guessed]
 1440:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1441:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1442: _ACEOF
 1443: fi
 1444: 
 1445: if test -n "$ac_init_help"; then
 1446:   case $ac_init_help in
 1447:      short | recursive ) echo "Configuration of rpl 4.1.1:";;
 1448:    esac
 1449:   cat <<\_ACEOF
 1450: 
 1451: Optional Features:
 1452:   --disable-option-checking  ignore unrecognized --enable/--with options
 1453:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1454:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1455:   --disable-dependency-tracking  speeds up one-time build
 1456:   --enable-dependency-tracking   do not reject slow dependency extractors
 1457:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1458:   --enable-sysv-ipcs      use SystemV IPC functions [default=no]
 1459:   --enable-full-static    build static RPL/2 engine [default=shared]
 1460:   --enable-final-encoding force final encoding [default=guessed]
 1461:   --enable-tex            provide the TeX support [default=guessed]
 1462:   --enable-vim            provide the vim support [default=guessed]
 1463:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1464:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1465:   --enable-motif          provide the Motif support [default=guessed]
 1466:   --enable-experimental   enable experimental code [default=no]
 1467:   --enable-debug          enable debug code [default=no]
 1468:   --enable-profile        enable profile code [default=no]
 1469:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1470: 
 1471: Optional Packages:
 1472:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1473:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1474:   --with-x                use the X Window System
 1475:   --with-32bits-abi       force 32bits ABI (multilib)
 1476:   --with-64bits-abi       force 64bits ABI (multilib)
 1477:   --with-rplcas           compile rplcas (default=no)
 1478:   --with-mysql=PATH         specify directory for installed mysql
 1479:   --with-postgresql=PATH    specify directory for installed postgresql
 1480:   --with-bourne-shell=PATH  specify path for OS/2 bourne shell
 1481:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
 1482: 
 1483: Some influential environment variables:
 1484:   CC          C compiler command
 1485:   CFLAGS      C compiler flags
 1486:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1487:               nonstandard directory <lib dir>
 1488:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1489:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1490:               you have headers in a nonstandard directory <include dir>
 1491:   CXX         C++ compiler command
 1492:   CXXFLAGS    C++ compiler flags
 1493:   F77         Fortran 77 compiler command
 1494:   FFLAGS      Fortran 77 compiler flags
 1495:   FC          Fortran compiler command
 1496:   FCFLAGS     Fortran compiler flags
 1497:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1498:   CPP         C preprocessor
 1499: 
 1500: Use these variables to override the choices made by `configure' or to help
 1501: it to find libraries and programs with nonstandard names/locations.
 1502: 
 1503: Report bugs to the package provider.
 1504: _ACEOF
 1505: ac_status=$?
 1506: fi
 1507: 
 1508: if test "$ac_init_help" = "recursive"; then
 1509:   # If there are subdirs, report their specific --help.
 1510:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1511:     test -d "$ac_dir" ||
 1512:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1513:       continue
 1514:     ac_builddir=.
 1515: 
 1516: case "$ac_dir" in
 1517: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1518: *)
 1519:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1520:   # A ".." for each directory in $ac_dir_suffix.
 1521:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1522:   case $ac_top_builddir_sub in
 1523:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1524:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1525:   esac ;;
 1526: esac
 1527: ac_abs_top_builddir=$ac_pwd
 1528: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1529: # for backward compatibility:
 1530: ac_top_builddir=$ac_top_build_prefix
 1531: 
 1532: case $srcdir in
 1533:   .)  # We are building in place.
 1534:     ac_srcdir=.
 1535:     ac_top_srcdir=$ac_top_builddir_sub
 1536:     ac_abs_top_srcdir=$ac_pwd ;;
 1537:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1538:     ac_srcdir=$srcdir$ac_dir_suffix;
 1539:     ac_top_srcdir=$srcdir
 1540:     ac_abs_top_srcdir=$srcdir ;;
 1541:   *) # Relative name.
 1542:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1543:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1544:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1545: esac
 1546: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1547: 
 1548:     cd "$ac_dir" || { ac_status=$?; continue; }
 1549:     # Check for guested configure.
 1550:     if test -f "$ac_srcdir/configure.gnu"; then
 1551:       echo &&
 1552:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1553:     elif test -f "$ac_srcdir/configure"; then
 1554:       echo &&
 1555:       $SHELL "$ac_srcdir/configure" --help=recursive
 1556:     else
 1557:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1558:     fi || ac_status=$?
 1559:     cd "$ac_pwd" || { ac_status=$?; break; }
 1560:   done
 1561: fi
 1562: 
 1563: test -n "$ac_init_help" && exit $ac_status
 1564: if $ac_init_version; then
 1565:   cat <<\_ACEOF
 1566: rpl configure 4.1.1
 1567: generated by GNU Autoconf 2.68
 1568: 
 1569: Copyright (C) 2010 Free Software Foundation, Inc.
 1570: This configure script is free software; the Free Software Foundation
 1571: gives unlimited permission to copy, distribute and modify it.
 1572: _ACEOF
 1573:   exit
 1574: fi
 1575: 
 1576: ## ------------------------ ##
 1577: ## Autoconf initialization. ##
 1578: ## ------------------------ ##
 1579: 
 1580: # ac_fn_c_try_compile LINENO
 1581: # --------------------------
 1582: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1583: ac_fn_c_try_compile ()
 1584: {
 1585:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1586:   rm -f conftest.$ac_objext
 1587:   if { { ac_try="$ac_compile"
 1588: case "(($ac_try" in
 1589:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1590:   *) ac_try_echo=$ac_try;;
 1591: esac
 1592: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1593: $as_echo "$ac_try_echo"; } >&5
 1594:   (eval "$ac_compile") 2>conftest.err
 1595:   ac_status=$?
 1596:   if test -s conftest.err; then
 1597:     grep -v '^ *+' conftest.err >conftest.er1
 1598:     cat conftest.er1 >&5
 1599:     mv -f conftest.er1 conftest.err
 1600:   fi
 1601:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1602:   test $ac_status = 0; } && {
 1603:      test -z "$ac_c_werror_flag" ||
 1604:      test ! -s conftest.err
 1605:        } && test -s conftest.$ac_objext; then :
 1606:   ac_retval=0
 1607: else
 1608:   $as_echo "$as_me: failed program was:" >&5
 1609: sed 's/^/| /' conftest.$ac_ext >&5
 1610: 
 1611:     ac_retval=1
 1612: fi
 1613:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1614:   as_fn_set_status $ac_retval
 1615: 
 1616: } # ac_fn_c_try_compile
 1617: 
 1618: # ac_fn_cxx_try_compile LINENO
 1619: # ----------------------------
 1620: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1621: ac_fn_cxx_try_compile ()
 1622: {
 1623:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1624:   rm -f conftest.$ac_objext
 1625:   if { { ac_try="$ac_compile"
 1626: case "(($ac_try" in
 1627:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1628:   *) ac_try_echo=$ac_try;;
 1629: esac
 1630: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1631: $as_echo "$ac_try_echo"; } >&5
 1632:   (eval "$ac_compile") 2>conftest.err
 1633:   ac_status=$?
 1634:   if test -s conftest.err; then
 1635:     grep -v '^ *+' conftest.err >conftest.er1
 1636:     cat conftest.er1 >&5
 1637:     mv -f conftest.er1 conftest.err
 1638:   fi
 1639:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1640:   test $ac_status = 0; } && {
 1641:      test -z "$ac_cxx_werror_flag" ||
 1642:      test ! -s conftest.err
 1643:        } && test -s conftest.$ac_objext; then :
 1644:   ac_retval=0
 1645: else
 1646:   $as_echo "$as_me: failed program was:" >&5
 1647: sed 's/^/| /' conftest.$ac_ext >&5
 1648: 
 1649:     ac_retval=1
 1650: fi
 1651:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1652:   as_fn_set_status $ac_retval
 1653: 
 1654: } # ac_fn_cxx_try_compile
 1655: 
 1656: # ac_fn_f77_try_compile LINENO
 1657: # ----------------------------
 1658: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1659: ac_fn_f77_try_compile ()
 1660: {
 1661:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1662:   rm -f conftest.$ac_objext
 1663:   if { { ac_try="$ac_compile"
 1664: case "(($ac_try" in
 1665:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1666:   *) ac_try_echo=$ac_try;;
 1667: esac
 1668: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1669: $as_echo "$ac_try_echo"; } >&5
 1670:   (eval "$ac_compile") 2>conftest.err
 1671:   ac_status=$?
 1672:   if test -s conftest.err; then
 1673:     grep -v '^ *+' conftest.err >conftest.er1
 1674:     cat conftest.er1 >&5
 1675:     mv -f conftest.er1 conftest.err
 1676:   fi
 1677:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1678:   test $ac_status = 0; } && {
 1679:      test -z "$ac_f77_werror_flag" ||
 1680:      test ! -s conftest.err
 1681:        } && test -s conftest.$ac_objext; then :
 1682:   ac_retval=0
 1683: else
 1684:   $as_echo "$as_me: failed program was:" >&5
 1685: sed 's/^/| /' conftest.$ac_ext >&5
 1686: 
 1687:     ac_retval=1
 1688: fi
 1689:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1690:   as_fn_set_status $ac_retval
 1691: 
 1692: } # ac_fn_f77_try_compile
 1693: 
 1694: # ac_fn_fc_try_compile LINENO
 1695: # ---------------------------
 1696: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1697: ac_fn_fc_try_compile ()
 1698: {
 1699:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1700:   rm -f conftest.$ac_objext
 1701:   if { { ac_try="$ac_compile"
 1702: case "(($ac_try" in
 1703:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1704:   *) ac_try_echo=$ac_try;;
 1705: esac
 1706: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1707: $as_echo "$ac_try_echo"; } >&5
 1708:   (eval "$ac_compile") 2>conftest.err
 1709:   ac_status=$?
 1710:   if test -s conftest.err; then
 1711:     grep -v '^ *+' conftest.err >conftest.er1
 1712:     cat conftest.er1 >&5
 1713:     mv -f conftest.er1 conftest.err
 1714:   fi
 1715:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1716:   test $ac_status = 0; } && {
 1717:      test -z "$ac_fc_werror_flag" ||
 1718:      test ! -s conftest.err
 1719:        } && test -s conftest.$ac_objext; then :
 1720:   ac_retval=0
 1721: else
 1722:   $as_echo "$as_me: failed program was:" >&5
 1723: sed 's/^/| /' conftest.$ac_ext >&5
 1724: 
 1725:     ac_retval=1
 1726: fi
 1727:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1728:   as_fn_set_status $ac_retval
 1729: 
 1730: } # ac_fn_fc_try_compile
 1731: 
 1732: # ac_fn_c_try_cpp LINENO
 1733: # ----------------------
 1734: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1735: ac_fn_c_try_cpp ()
 1736: {
 1737:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1738:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1739: case "(($ac_try" in
 1740:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1741:   *) ac_try_echo=$ac_try;;
 1742: esac
 1743: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1744: $as_echo "$ac_try_echo"; } >&5
 1745:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1746:   ac_status=$?
 1747:   if test -s conftest.err; then
 1748:     grep -v '^ *+' conftest.err >conftest.er1
 1749:     cat conftest.er1 >&5
 1750:     mv -f conftest.er1 conftest.err
 1751:   fi
 1752:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1753:   test $ac_status = 0; } > conftest.i && {
 1754:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1755:      test ! -s conftest.err
 1756:        }; then :
 1757:   ac_retval=0
 1758: else
 1759:   $as_echo "$as_me: failed program was:" >&5
 1760: sed 's/^/| /' conftest.$ac_ext >&5
 1761: 
 1762:     ac_retval=1
 1763: fi
 1764:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1765:   as_fn_set_status $ac_retval
 1766: 
 1767: } # ac_fn_c_try_cpp
 1768: 
 1769: # ac_fn_c_try_link LINENO
 1770: # -----------------------
 1771: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1772: ac_fn_c_try_link ()
 1773: {
 1774:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1775:   rm -f conftest.$ac_objext conftest$ac_exeext
 1776:   if { { ac_try="$ac_link"
 1777: case "(($ac_try" in
 1778:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1779:   *) ac_try_echo=$ac_try;;
 1780: esac
 1781: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1782: $as_echo "$ac_try_echo"; } >&5
 1783:   (eval "$ac_link") 2>conftest.err
 1784:   ac_status=$?
 1785:   if test -s conftest.err; then
 1786:     grep -v '^ *+' conftest.err >conftest.er1
 1787:     cat conftest.er1 >&5
 1788:     mv -f conftest.er1 conftest.err
 1789:   fi
 1790:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1791:   test $ac_status = 0; } && {
 1792:      test -z "$ac_c_werror_flag" ||
 1793:      test ! -s conftest.err
 1794:        } && test -s conftest$ac_exeext && {
 1795:      test "$cross_compiling" = yes ||
 1796:      $as_test_x conftest$ac_exeext
 1797:        }; then :
 1798:   ac_retval=0
 1799: else
 1800:   $as_echo "$as_me: failed program was:" >&5
 1801: sed 's/^/| /' conftest.$ac_ext >&5
 1802: 
 1803:     ac_retval=1
 1804: fi
 1805:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1806:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1807:   # interfere with the next link command; also delete a directory that is
 1808:   # left behind by Apple's compiler.  We do this before executing the actions.
 1809:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1810:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1811:   as_fn_set_status $ac_retval
 1812: 
 1813: } # ac_fn_c_try_link
 1814: 
 1815: # ac_fn_c_check_func LINENO FUNC VAR
 1816: # ----------------------------------
 1817: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1818: ac_fn_c_check_func ()
 1819: {
 1820:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1821:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1822: $as_echo_n "checking for $2... " >&6; }
 1823: if eval \${$3+:} false; then :
 1824:   $as_echo_n "(cached) " >&6
 1825: else
 1826:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1827: /* end confdefs.h.  */
 1828: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1829:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1830: #define $2 innocuous_$2
 1831: 
 1832: /* System header to define __stub macros and hopefully few prototypes,
 1833:     which can conflict with char $2 (); below.
 1834:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1835:     <limits.h> exists even on freestanding compilers.  */
 1836: 
 1837: #ifdef __STDC__
 1838: # include <limits.h>
 1839: #else
 1840: # include <assert.h>
 1841: #endif
 1842: 
 1843: #undef $2
 1844: 
 1845: /* Override any GCC internal prototype to avoid an error.
 1846:    Use char because int might match the return type of a GCC
 1847:    builtin and then its argument prototype would still apply.  */
 1848: #ifdef __cplusplus
 1849: extern "C"
 1850: #endif
 1851: char $2 ();
 1852: /* The GNU C library defines this for functions which it implements
 1853:     to always fail with ENOSYS.  Some functions are actually named
 1854:     something starting with __ and the normal name is an alias.  */
 1855: #if defined __stub_$2 || defined __stub___$2
 1856: choke me
 1857: #endif
 1858: 
 1859: int
 1860: main ()
 1861: {
 1862: return $2 ();
 1863:   ;
 1864:   return 0;
 1865: }
 1866: _ACEOF
 1867: if ac_fn_c_try_link "$LINENO"; then :
 1868:   eval "$3=yes"
 1869: else
 1870:   eval "$3=no"
 1871: fi
 1872: rm -f core conftest.err conftest.$ac_objext \
 1873:     conftest$ac_exeext conftest.$ac_ext
 1874: fi
 1875: eval ac_res=\$$3
 1876:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1877: $as_echo "$ac_res" >&6; }
 1878:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1879: 
 1880: } # ac_fn_c_check_func
 1881: 
 1882: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1883: # -------------------------------------------
 1884: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1885: # variable VAR accordingly.
 1886: ac_fn_c_check_type ()
 1887: {
 1888:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1889:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1890: $as_echo_n "checking for $2... " >&6; }
 1891: if eval \${$3+:} false; then :
 1892:   $as_echo_n "(cached) " >&6
 1893: else
 1894:   eval "$3=no"
 1895:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1896: /* end confdefs.h.  */
 1897: $4
 1898: int
 1899: main ()
 1900: {
 1901: if (sizeof ($2))
 1902:      return 0;
 1903:   ;
 1904:   return 0;
 1905: }
 1906: _ACEOF
 1907: if ac_fn_c_try_compile "$LINENO"; then :
 1908:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1909: /* end confdefs.h.  */
 1910: $4
 1911: int
 1912: main ()
 1913: {
 1914: if (sizeof (($2)))
 1915:         return 0;
 1916:   ;
 1917:   return 0;
 1918: }
 1919: _ACEOF
 1920: if ac_fn_c_try_compile "$LINENO"; then :
 1921: 
 1922: else
 1923:   eval "$3=yes"
 1924: fi
 1925: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1926: fi
 1927: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1928: fi
 1929: eval ac_res=\$$3
 1930:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1931: $as_echo "$ac_res" >&6; }
 1932:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1933: 
 1934: } # ac_fn_c_check_type
 1935: 
 1936: # ac_fn_c_try_run LINENO
 1937: # ----------------------
 1938: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1939: # that executables *can* be run.
 1940: ac_fn_c_try_run ()
 1941: {
 1942:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1943:   if { { ac_try="$ac_link"
 1944: case "(($ac_try" in
 1945:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1946:   *) ac_try_echo=$ac_try;;
 1947: esac
 1948: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1949: $as_echo "$ac_try_echo"; } >&5
 1950:   (eval "$ac_link") 2>&5
 1951:   ac_status=$?
 1952:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1953:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1954:   { { case "(($ac_try" in
 1955:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1956:   *) ac_try_echo=$ac_try;;
 1957: esac
 1958: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1959: $as_echo "$ac_try_echo"; } >&5
 1960:   (eval "$ac_try") 2>&5
 1961:   ac_status=$?
 1962:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1963:   test $ac_status = 0; }; }; then :
 1964:   ac_retval=0
 1965: else
 1966:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1967:        $as_echo "$as_me: failed program was:" >&5
 1968: sed 's/^/| /' conftest.$ac_ext >&5
 1969: 
 1970:        ac_retval=$ac_status
 1971: fi
 1972:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1973:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1974:   as_fn_set_status $ac_retval
 1975: 
 1976: } # ac_fn_c_try_run
 1977: 
 1978: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1979: # --------------------------------------------
 1980: # Tries to find the compile-time value of EXPR in a program that includes
 1981: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1982: # computed
 1983: ac_fn_c_compute_int ()
 1984: {
 1985:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1986:   if test "$cross_compiling" = yes; then
 1987:     # Depending upon the size, compute the lo and hi bounds.
 1988: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1989: /* end confdefs.h.  */
 1990: $4
 1991: int
 1992: main ()
 1993: {
 1994: static int test_array [1 - 2 * !(($2) >= 0)];
 1995: test_array [0] = 0
 1996: 
 1997:   ;
 1998:   return 0;
 1999: }
 2000: _ACEOF
 2001: if ac_fn_c_try_compile "$LINENO"; then :
 2002:   ac_lo=0 ac_mid=0
 2003:   while :; do
 2004:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2005: /* end confdefs.h.  */
 2006: $4
 2007: int
 2008: main ()
 2009: {
 2010: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2011: test_array [0] = 0
 2012: 
 2013:   ;
 2014:   return 0;
 2015: }
 2016: _ACEOF
 2017: if ac_fn_c_try_compile "$LINENO"; then :
 2018:   ac_hi=$ac_mid; break
 2019: else
 2020:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 2021:             if test $ac_lo -le $ac_mid; then
 2022:               ac_lo= ac_hi=
 2023:               break
 2024:             fi
 2025:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 2026: fi
 2027: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2028:   done
 2029: else
 2030:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2031: /* end confdefs.h.  */
 2032: $4
 2033: int
 2034: main ()
 2035: {
 2036: static int test_array [1 - 2 * !(($2) < 0)];
 2037: test_array [0] = 0
 2038: 
 2039:   ;
 2040:   return 0;
 2041: }
 2042: _ACEOF
 2043: if ac_fn_c_try_compile "$LINENO"; then :
 2044:   ac_hi=-1 ac_mid=-1
 2045:   while :; do
 2046:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2047: /* end confdefs.h.  */
 2048: $4
 2049: int
 2050: main ()
 2051: {
 2052: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 2053: test_array [0] = 0
 2054: 
 2055:   ;
 2056:   return 0;
 2057: }
 2058: _ACEOF
 2059: if ac_fn_c_try_compile "$LINENO"; then :
 2060:   ac_lo=$ac_mid; break
 2061: else
 2062:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 2063:             if test $ac_mid -le $ac_hi; then
 2064:               ac_lo= ac_hi=
 2065:               break
 2066:             fi
 2067:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 2068: fi
 2069: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2070:   done
 2071: else
 2072:   ac_lo= ac_hi=
 2073: fi
 2074: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2075: fi
 2076: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2077: # Binary search between lo and hi bounds.
 2078: while test "x$ac_lo" != "x$ac_hi"; do
 2079:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 2080:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2081: /* end confdefs.h.  */
 2082: $4
 2083: int
 2084: main ()
 2085: {
 2086: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 2087: test_array [0] = 0
 2088: 
 2089:   ;
 2090:   return 0;
 2091: }
 2092: _ACEOF
 2093: if ac_fn_c_try_compile "$LINENO"; then :
 2094:   ac_hi=$ac_mid
 2095: else
 2096:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2097: fi
 2098: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2099: done
 2100: case $ac_lo in #((
 2101: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2102: '') ac_retval=1 ;;
 2103: esac
 2104:   else
 2105:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2106: /* end confdefs.h.  */
 2107: $4
 2108: static long int longval () { return $2; }
 2109: static unsigned long int ulongval () { return $2; }
 2110: #include <stdio.h>
 2111: #include <stdlib.h>
 2112: int
 2113: main ()
 2114: {
 2115: 
 2116:   FILE *f = fopen ("conftest.val", "w");
 2117:   if (! f)
 2118:     return 1;
 2119:   if (($2) < 0)
 2120:     {
 2121:       long int i = longval ();
 2122:       if (i != ($2))
 2123:     return 1;
 2124:       fprintf (f, "%ld", i);
 2125:     }
 2126:   else
 2127:     {
 2128:       unsigned long int i = ulongval ();
 2129:       if (i != ($2))
 2130:     return 1;
 2131:       fprintf (f, "%lu", i);
 2132:     }
 2133:   /* Do not output a trailing newline, as this causes \r\n confusion
 2134:      on some platforms.  */
 2135:   return ferror (f) || fclose (f) != 0;
 2136: 
 2137:   ;
 2138:   return 0;
 2139: }
 2140: _ACEOF
 2141: if ac_fn_c_try_run "$LINENO"; then :
 2142:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2143: else
 2144:   ac_retval=1
 2145: fi
 2146: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2147:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2148: rm -f conftest.val
 2149: 
 2150:   fi
 2151:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2152:   as_fn_set_status $ac_retval
 2153: 
 2154: } # ac_fn_c_compute_int
 2155: 
 2156: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2157: # -------------------------------------------------------
 2158: # Tests whether HEADER exists and can be compiled using the include files in
 2159: # INCLUDES, setting the cache variable VAR accordingly.
 2160: ac_fn_c_check_header_compile ()
 2161: {
 2162:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2163:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2164: $as_echo_n "checking for $2... " >&6; }
 2165: if eval \${$3+:} false; then :
 2166:   $as_echo_n "(cached) " >&6
 2167: else
 2168:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2169: /* end confdefs.h.  */
 2170: $4
 2171: #include <$2>
 2172: _ACEOF
 2173: if ac_fn_c_try_compile "$LINENO"; then :
 2174:   eval "$3=yes"
 2175: else
 2176:   eval "$3=no"
 2177: fi
 2178: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2179: fi
 2180: eval ac_res=\$$3
 2181:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2182: $as_echo "$ac_res" >&6; }
 2183:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2184: 
 2185: } # ac_fn_c_check_header_compile
 2186: 
 2187: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2188: # -------------------------------------------------------
 2189: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2190: # the include files in INCLUDES and setting the cache variable VAR
 2191: # accordingly.
 2192: ac_fn_c_check_header_mongrel ()
 2193: {
 2194:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2195:   if eval \${$3+:} false; then :
 2196:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2197: $as_echo_n "checking for $2... " >&6; }
 2198: if eval \${$3+:} false; then :
 2199:   $as_echo_n "(cached) " >&6
 2200: fi
 2201: eval ac_res=\$$3
 2202:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2203: $as_echo "$ac_res" >&6; }
 2204: else
 2205:   # Is the header compilable?
 2206: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2207: $as_echo_n "checking $2 usability... " >&6; }
 2208: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2209: /* end confdefs.h.  */
 2210: $4
 2211: #include <$2>
 2212: _ACEOF
 2213: if ac_fn_c_try_compile "$LINENO"; then :
 2214:   ac_header_compiler=yes
 2215: else
 2216:   ac_header_compiler=no
 2217: fi
 2218: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2219: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2220: $as_echo "$ac_header_compiler" >&6; }
 2221: 
 2222: # Is the header present?
 2223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2224: $as_echo_n "checking $2 presence... " >&6; }
 2225: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2226: /* end confdefs.h.  */
 2227: #include <$2>
 2228: _ACEOF
 2229: if ac_fn_c_try_cpp "$LINENO"; then :
 2230:   ac_header_preproc=yes
 2231: else
 2232:   ac_header_preproc=no
 2233: fi
 2234: rm -f conftest.err conftest.i conftest.$ac_ext
 2235: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2236: $as_echo "$ac_header_preproc" >&6; }
 2237: 
 2238: # So?  What about this header?
 2239: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2240:   yes:no: )
 2241:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2242: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2243:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2244: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2245:     ;;
 2246:   no:yes:* )
 2247:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2248: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2249:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2250: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2251:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2252: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2253:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2254: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2255:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2256: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2257:     ;;
 2258: esac
 2259:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2260: $as_echo_n "checking for $2... " >&6; }
 2261: if eval \${$3+:} false; then :
 2262:   $as_echo_n "(cached) " >&6
 2263: else
 2264:   eval "$3=\$ac_header_compiler"
 2265: fi
 2266: eval ac_res=\$$3
 2267:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2268: $as_echo "$ac_res" >&6; }
 2269: fi
 2270:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2271: 
 2272: } # ac_fn_c_check_header_mongrel
 2273: cat >config.log <<_ACEOF
 2274: This file contains any messages produced by compilers while
 2275: running configure, to aid debugging if configure makes a mistake.
 2276: 
 2277: It was created by rpl $as_me 4.1.1, which was
 2278: generated by GNU Autoconf 2.68.  Invocation command line was
 2279: 
 2280:   $ $0 $@
 2281: 
 2282: _ACEOF
 2283: exec 5>>config.log
 2284: {
 2285: cat <<_ASUNAME
 2286: ## --------- ##
 2287: ## Platform. ##
 2288: ## --------- ##
 2289: 
 2290: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2291: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2292: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2293: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2294: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2295: 
 2296: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2297: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2298: 
 2299: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2300: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2301: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2302: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2303: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2304: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2305: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2306: 
 2307: _ASUNAME
 2308: 
 2309: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2310: for as_dir in $PATH
 2311: do
 2312:   IFS=$as_save_IFS
 2313:   test -z "$as_dir" && as_dir=.
 2314:     $as_echo "PATH: $as_dir"
 2315:   done
 2316: IFS=$as_save_IFS
 2317: 
 2318: } >&5
 2319: 
 2320: cat >&5 <<_ACEOF
 2321: 
 2322: 
 2323: ## ----------- ##
 2324: ## Core tests. ##
 2325: ## ----------- ##
 2326: 
 2327: _ACEOF
 2328: 
 2329: 
 2330: # Keep a trace of the command line.
 2331: # Strip out --no-create and --no-recursion so they do not pile up.
 2332: # Strip out --silent because we don't want to record it for future runs.
 2333: # Also quote any args containing shell meta-characters.
 2334: # Make two passes to allow for proper duplicate-argument suppression.
 2335: ac_configure_args=
 2336: ac_configure_args0=
 2337: ac_configure_args1=
 2338: ac_must_keep_next=false
 2339: for ac_pass in 1 2
 2340: do
 2341:   for ac_arg
 2342:   do
 2343:     case $ac_arg in
 2344:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2345:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2346:     | -silent | --silent | --silen | --sile | --sil)
 2347:       continue ;;
 2348:     *\'*)
 2349:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2350:     esac
 2351:     case $ac_pass in
 2352:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2353:     2)
 2354:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2355:       if test $ac_must_keep_next = true; then
 2356:     ac_must_keep_next=false # Got value, back to normal.
 2357:       else
 2358:     case $ac_arg in
 2359:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2360:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2361:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2362:       | -with-* | --with-* | -without-* | --without-* | --x)
 2363:         case "$ac_configure_args0 " in
 2364:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2365:         esac
 2366:         ;;
 2367:       -* ) ac_must_keep_next=true ;;
 2368:     esac
 2369:       fi
 2370:       as_fn_append ac_configure_args " '$ac_arg'"
 2371:       ;;
 2372:     esac
 2373:   done
 2374: done
 2375: { ac_configure_args0=; unset ac_configure_args0;}
 2376: { ac_configure_args1=; unset ac_configure_args1;}
 2377: 
 2378: # When interrupted or exit'd, cleanup temporary files, and complete
 2379: # config.log.  We remove comments because anyway the quotes in there
 2380: # would cause problems or look ugly.
 2381: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2382: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2383: trap 'exit_status=$?
 2384:   # Save into config.log some information that might help in debugging.
 2385:   {
 2386:     echo
 2387: 
 2388:     $as_echo "## ---------------- ##
 2389: ## Cache variables. ##
 2390: ## ---------------- ##"
 2391:     echo
 2392:     # The following way of writing the cache mishandles newlines in values,
 2393: (
 2394:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2395:     eval ac_val=\$$ac_var
 2396:     case $ac_val in #(
 2397:     *${as_nl}*)
 2398:       case $ac_var in #(
 2399:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2400: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2401:       esac
 2402:       case $ac_var in #(
 2403:       _ | IFS | as_nl) ;; #(
 2404:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2405:       *) { eval $ac_var=; unset $ac_var;} ;;
 2406:       esac ;;
 2407:     esac
 2408:   done
 2409:   (set) 2>&1 |
 2410:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2411:     *${as_nl}ac_space=\ *)
 2412:       sed -n \
 2413:     "s/'\''/'\''\\\\'\'''\''/g;
 2414:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2415:       ;; #(
 2416:     *)
 2417:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2418:       ;;
 2419:     esac |
 2420:     sort
 2421: )
 2422:     echo
 2423: 
 2424:     $as_echo "## ----------------- ##
 2425: ## Output variables. ##
 2426: ## ----------------- ##"
 2427:     echo
 2428:     for ac_var in $ac_subst_vars
 2429:     do
 2430:       eval ac_val=\$$ac_var
 2431:       case $ac_val in
 2432:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2433:       esac
 2434:       $as_echo "$ac_var='\''$ac_val'\''"
 2435:     done | sort
 2436:     echo
 2437: 
 2438:     if test -n "$ac_subst_files"; then
 2439:       $as_echo "## ------------------- ##
 2440: ## File substitutions. ##
 2441: ## ------------------- ##"
 2442:       echo
 2443:       for ac_var in $ac_subst_files
 2444:       do
 2445:     eval ac_val=\$$ac_var
 2446:     case $ac_val in
 2447:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2448:     esac
 2449:     $as_echo "$ac_var='\''$ac_val'\''"
 2450:       done | sort
 2451:       echo
 2452:     fi
 2453: 
 2454:     if test -s confdefs.h; then
 2455:       $as_echo "## ----------- ##
 2456: ## confdefs.h. ##
 2457: ## ----------- ##"
 2458:       echo
 2459:       cat confdefs.h
 2460:       echo
 2461:     fi
 2462:     test "$ac_signal" != 0 &&
 2463:       $as_echo "$as_me: caught signal $ac_signal"
 2464:     $as_echo "$as_me: exit $exit_status"
 2465:   } >&5
 2466:   rm -f core *.core core.conftest.* &&
 2467:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2468:     exit $exit_status
 2469: ' 0
 2470: for ac_signal in 1 2 13 15; do
 2471:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2472: done
 2473: ac_signal=0
 2474: 
 2475: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2476: rm -f -r conftest* confdefs.h
 2477: 
 2478: $as_echo "/* confdefs.h */" > confdefs.h
 2479: 
 2480: # Predefined preprocessor variables.
 2481: 
 2482: cat >>confdefs.h <<_ACEOF
 2483: #define PACKAGE_NAME "$PACKAGE_NAME"
 2484: _ACEOF
 2485: 
 2486: cat >>confdefs.h <<_ACEOF
 2487: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2488: _ACEOF
 2489: 
 2490: cat >>confdefs.h <<_ACEOF
 2491: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2492: _ACEOF
 2493: 
 2494: cat >>confdefs.h <<_ACEOF
 2495: #define PACKAGE_STRING "$PACKAGE_STRING"
 2496: _ACEOF
 2497: 
 2498: cat >>confdefs.h <<_ACEOF
 2499: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2500: _ACEOF
 2501: 
 2502: cat >>confdefs.h <<_ACEOF
 2503: #define PACKAGE_URL "$PACKAGE_URL"
 2504: _ACEOF
 2505: 
 2506: 
 2507: # Let the site file select an alternate cache file if it wants to.
 2508: # Prefer an explicitly selected file to automatically selected ones.
 2509: ac_site_file1=NONE
 2510: ac_site_file2=NONE
 2511: if test -n "$CONFIG_SITE"; then
 2512:   # We do not want a PATH search for config.site.
 2513:   case $CONFIG_SITE in #((
 2514:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2515:     */*) ac_site_file1=$CONFIG_SITE;;
 2516:     *)   ac_site_file1=./$CONFIG_SITE;;
 2517:   esac
 2518: elif test "x$prefix" != xNONE; then
 2519:   ac_site_file1=$prefix/share/config.site
 2520:   ac_site_file2=$prefix/etc/config.site
 2521: else
 2522:   ac_site_file1=$ac_default_prefix/share/config.site
 2523:   ac_site_file2=$ac_default_prefix/etc/config.site
 2524: fi
 2525: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2526: do
 2527:   test "x$ac_site_file" = xNONE && continue
 2528:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2529:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2530: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2531:     sed 's/^/| /' "$ac_site_file" >&5
 2532:     . "$ac_site_file" \
 2533:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2534: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2535: as_fn_error $? "failed to load site script $ac_site_file
 2536: See \`config.log' for more details" "$LINENO" 5; }
 2537:   fi
 2538: done
 2539: 
 2540: if test -r "$cache_file"; then
 2541:   # Some versions of bash will fail to source /dev/null (special files
 2542:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2543:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2544:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2545: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2546:     case $cache_file in
 2547:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2548:       *)                      . "./$cache_file";;
 2549:     esac
 2550:   fi
 2551: else
 2552:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2553: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2554:   >$cache_file
 2555: fi
 2556: 
 2557: # Check that the precious variables saved in the cache have kept the same
 2558: # value.
 2559: ac_cache_corrupted=false
 2560: for ac_var in $ac_precious_vars; do
 2561:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2562:   eval ac_new_set=\$ac_env_${ac_var}_set
 2563:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2564:   eval ac_new_val=\$ac_env_${ac_var}_value
 2565:   case $ac_old_set,$ac_new_set in
 2566:     set,)
 2567:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2568: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2569:       ac_cache_corrupted=: ;;
 2570:     ,set)
 2571:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2572: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2573:       ac_cache_corrupted=: ;;
 2574:     ,);;
 2575:     *)
 2576:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2577:     # differences in whitespace do not lead to failure.
 2578:     ac_old_val_w=`echo x $ac_old_val`
 2579:     ac_new_val_w=`echo x $ac_new_val`
 2580:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2581:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2582: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2583:       ac_cache_corrupted=:
 2584:     else
 2585:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2586: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2587:       eval $ac_var=\$ac_old_val
 2588:     fi
 2589:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2590: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2591:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2592: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2593:       fi;;
 2594:   esac
 2595:   # Pass precious variables to config.status.
 2596:   if test "$ac_new_set" = set; then
 2597:     case $ac_new_val in
 2598:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2599:     *) ac_arg=$ac_var=$ac_new_val ;;
 2600:     esac
 2601:     case " $ac_configure_args " in
 2602:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2603:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2604:     esac
 2605:   fi
 2606: done
 2607: if $ac_cache_corrupted; then
 2608:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2609: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2610:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2611: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2612:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2613: fi
 2614: ## -------------------- ##
 2615: ## Main body of script. ##
 2616: ## -------------------- ##
 2617: 
 2618: ac_ext=c
 2619: ac_cpp='$CPP $CPPFLAGS'
 2620: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2621: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2622: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2623: 
 2624: 
 2625: ac_aux_dir=
 2626: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2627:   if test -f "$ac_dir/install-sh"; then
 2628:     ac_aux_dir=$ac_dir
 2629:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2630:     break
 2631:   elif test -f "$ac_dir/install.sh"; then
 2632:     ac_aux_dir=$ac_dir
 2633:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2634:     break
 2635:   elif test -f "$ac_dir/shtool"; then
 2636:     ac_aux_dir=$ac_dir
 2637:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2638:     break
 2639:   fi
 2640: done
 2641: if test -z "$ac_aux_dir"; then
 2642:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2643: fi
 2644: 
 2645: # These three variables are undocumented and unsupported,
 2646: # and are intended to be withdrawn in a future Autoconf release.
 2647: # They can cause serious problems if a builder's source tree is in a directory
 2648: # whose full name contains unusual characters.
 2649: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2650: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2651: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2652: 
 2653: 
 2654: # Make sure we can run config.sub.
 2655: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2656:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2657: 
 2658: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2659: $as_echo_n "checking build system type... " >&6; }
 2660: if ${ac_cv_build+:} false; then :
 2661:   $as_echo_n "(cached) " >&6
 2662: else
 2663:   ac_build_alias=$build_alias
 2664: test "x$ac_build_alias" = x &&
 2665:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2666: test "x$ac_build_alias" = x &&
 2667:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2668: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2669:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2670: 
 2671: fi
 2672: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2673: $as_echo "$ac_cv_build" >&6; }
 2674: case $ac_cv_build in
 2675: *-*-*) ;;
 2676: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 2677: esac
 2678: build=$ac_cv_build
 2679: ac_save_IFS=$IFS; IFS='-'
 2680: set x $ac_cv_build
 2681: shift
 2682: build_cpu=$1
 2683: build_vendor=$2
 2684: shift; shift
 2685: # Remember, the first character of IFS is used to create $*,
 2686: # except with old shells:
 2687: build_os=$*
 2688: IFS=$ac_save_IFS
 2689: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2690: 
 2691: 
 2692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2693: $as_echo_n "checking host system type... " >&6; }
 2694: if ${ac_cv_host+:} false; then :
 2695:   $as_echo_n "(cached) " >&6
 2696: else
 2697:   if test "x$host_alias" = x; then
 2698:   ac_cv_host=$ac_cv_build
 2699: else
 2700:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2701:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2702: fi
 2703: 
 2704: fi
 2705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2706: $as_echo "$ac_cv_host" >&6; }
 2707: case $ac_cv_host in
 2708: *-*-*) ;;
 2709: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 2710: esac
 2711: host=$ac_cv_host
 2712: ac_save_IFS=$IFS; IFS='-'
 2713: set x $ac_cv_host
 2714: shift
 2715: host_cpu=$1
 2716: host_vendor=$2
 2717: shift; shift
 2718: # Remember, the first character of IFS is used to create $*,
 2719: # except with old shells:
 2720: host_os=$*
 2721: IFS=$ac_save_IFS
 2722: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2723: 
 2724: 
 2725: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2726: $as_echo_n "checking target system type... " >&6; }
 2727: if ${ac_cv_target+:} false; then :
 2728:   $as_echo_n "(cached) " >&6
 2729: else
 2730:   if test "x$target_alias" = x; then
 2731:   ac_cv_target=$ac_cv_host
 2732: else
 2733:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2734:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2735: fi
 2736: 
 2737: fi
 2738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2739: $as_echo "$ac_cv_target" >&6; }
 2740: case $ac_cv_target in
 2741: *-*-*) ;;
 2742: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 2743: esac
 2744: target=$ac_cv_target
 2745: ac_save_IFS=$IFS; IFS='-'
 2746: set x $ac_cv_target
 2747: shift
 2748: target_cpu=$1
 2749: target_vendor=$2
 2750: shift; shift
 2751: # Remember, the first character of IFS is used to create $*,
 2752: # except with old shells:
 2753: target_os=$*
 2754: IFS=$ac_save_IFS
 2755: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2756: 
 2757: 
 2758: # The aliases save the names the user supplied, while $host etc.
 2759: # will get canonicalized.
 2760: test -n "$target_alias" &&
 2761:   test "$program_prefix$program_suffix$program_transform_name" = \
 2762:     NONENONEs,x,x, &&
 2763:   program_prefix=${target_alias}-
 2764: 
 2765: am__api_version='1.11'
 2766: 
 2767: # Find a good install program.  We prefer a C program (faster),
 2768: # so one script is as good as another.  But avoid the broken or
 2769: # incompatible versions:
 2770: # SysV /etc/install, /usr/sbin/install
 2771: # SunOS /usr/etc/install
 2772: # IRIX /sbin/install
 2773: # AIX /bin/install
 2774: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2775: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2776: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2777: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2778: # OS/2's system install, which has a completely different semantic
 2779: # ./install, which can be erroneously created by make from ./install.sh.
 2780: # Reject install programs that cannot install multiple files.
 2781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2782: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2783: if test -z "$INSTALL"; then
 2784: if ${ac_cv_path_install+:} false; then :
 2785:   $as_echo_n "(cached) " >&6
 2786: else
 2787:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2788: for as_dir in $PATH
 2789: do
 2790:   IFS=$as_save_IFS
 2791:   test -z "$as_dir" && as_dir=.
 2792:     # Account for people who put trailing slashes in PATH elements.
 2793: case $as_dir/ in #((
 2794:   ./ | .// | /[cC]/* | \
 2795:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2796:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2797:   /usr/ucb/* ) ;;
 2798:   *)
 2799:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2800:     # Don't use installbsd from OSF since it installs stuff as root
 2801:     # by default.
 2802:     for ac_prog in ginstall scoinst install; do
 2803:       for ac_exec_ext in '' $ac_executable_extensions; do
 2804:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2805:       if test $ac_prog = install &&
 2806:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2807:         # AIX install.  It has an incompatible calling convention.
 2808:         :
 2809:       elif test $ac_prog = install &&
 2810:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2811:         # program-specific install script used by HP pwplus--don't use.
 2812:         :
 2813:       else
 2814:         rm -rf conftest.one conftest.two conftest.dir
 2815:         echo one > conftest.one
 2816:         echo two > conftest.two
 2817:         mkdir conftest.dir
 2818:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2819:           test -s conftest.one && test -s conftest.two &&
 2820:           test -s conftest.dir/conftest.one &&
 2821:           test -s conftest.dir/conftest.two
 2822:         then
 2823:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2824:           break 3
 2825:         fi
 2826:       fi
 2827:     fi
 2828:       done
 2829:     done
 2830:     ;;
 2831: esac
 2832: 
 2833:   done
 2834: IFS=$as_save_IFS
 2835: 
 2836: rm -rf conftest.one conftest.two conftest.dir
 2837: 
 2838: fi
 2839:   if test "${ac_cv_path_install+set}" = set; then
 2840:     INSTALL=$ac_cv_path_install
 2841:   else
 2842:     # As a last resort, use the slow shell script.  Don't cache a
 2843:     # value for INSTALL within a source directory, because that will
 2844:     # break other packages using the cache if that directory is
 2845:     # removed, or if the value is a relative name.
 2846:     INSTALL=$ac_install_sh
 2847:   fi
 2848: fi
 2849: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2850: $as_echo "$INSTALL" >&6; }
 2851: 
 2852: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2853: # It thinks the first close brace ends the variable substitution.
 2854: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2855: 
 2856: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2857: 
 2858: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2859: 
 2860: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2861: $as_echo_n "checking whether build environment is sane... " >&6; }
 2862: # Just in case
 2863: sleep 1
 2864: echo timestamp > conftest.file
 2865: # Reject unsafe characters in $srcdir or the absolute working directory
 2866: # name.  Accept space and tab only in the latter.
 2867: am_lf='
 2868: '
 2869: case `pwd` in
 2870:   *[\\\"\#\$\&\'\`$am_lf]*)
 2871:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2872: esac
 2873: case $srcdir in
 2874:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2875:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2876: esac
 2877: 
 2878: # Do `set' in a subshell so we don't clobber the current shell's
 2879: # arguments.  Must try -L first in case configure is actually a
 2880: # symlink; some systems play weird games with the mod time of symlinks
 2881: # (eg FreeBSD returns the mod time of the symlink's containing
 2882: # directory).
 2883: if (
 2884:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2885:    if test "$*" = "X"; then
 2886:       # -L didn't work.
 2887:       set X `ls -t "$srcdir/configure" conftest.file`
 2888:    fi
 2889:    rm -f conftest.file
 2890:    if test "$*" != "X $srcdir/configure conftest.file" \
 2891:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2892: 
 2893:       # If neither matched, then we have a broken ls.  This can happen
 2894:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2895:       # broken ls alias from the environment.  This has actually
 2896:       # happened.  Such a system could not be considered "sane".
 2897:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2898: alias in your environment" "$LINENO" 5
 2899:    fi
 2900: 
 2901:    test "$2" = conftest.file
 2902:    )
 2903: then
 2904:    # Ok.
 2905:    :
 2906: else
 2907:    as_fn_error $? "newly created file is older than distributed files!
 2908: Check your system clock" "$LINENO" 5
 2909: fi
 2910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2911: $as_echo "yes" >&6; }
 2912: test "$program_prefix" != NONE &&
 2913:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2914: # Use a double $ so make ignores it.
 2915: test "$program_suffix" != NONE &&
 2916:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2917: # Double any \ or $.
 2918: # By default was `s,x,x', remove it if useless.
 2919: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2920: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2921: 
 2922: # expand $ac_aux_dir to an absolute path
 2923: am_aux_dir=`cd $ac_aux_dir && pwd`
 2924: 
 2925: if test x"${MISSING+set}" != xset; then
 2926:   case $am_aux_dir in
 2927:   *\ * | *\ *)
 2928:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2929:   *)
 2930:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2931:   esac
 2932: fi
 2933: # Use eval to expand $SHELL
 2934: if eval "$MISSING --run true"; then
 2935:   am_missing_run="$MISSING --run "
 2936: else
 2937:   am_missing_run=
 2938:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2939: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2940: fi
 2941: 
 2942: if test x"${install_sh}" != xset; then
 2943:   case $am_aux_dir in
 2944:   *\ * | *\ *)
 2945:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2946:   *)
 2947:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2948:   esac
 2949: fi
 2950: 
 2951: # Installed binaries are usually stripped using `strip' when the user
 2952: # run `make install-strip'.  However `strip' might not be the right
 2953: # tool to use in cross-compilation environments, therefore Automake
 2954: # will honor the `STRIP' environment variable to overrule this program.
 2955: if test "$cross_compiling" != no; then
 2956:   if test -n "$ac_tool_prefix"; then
 2957:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2958: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2960: $as_echo_n "checking for $ac_word... " >&6; }
 2961: if ${ac_cv_prog_STRIP+:} false; then :
 2962:   $as_echo_n "(cached) " >&6
 2963: else
 2964:   if test -n "$STRIP"; then
 2965:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2966: else
 2967: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2968: for as_dir in $PATH
 2969: do
 2970:   IFS=$as_save_IFS
 2971:   test -z "$as_dir" && as_dir=.
 2972:     for ac_exec_ext in '' $ac_executable_extensions; do
 2973:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2974:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2975:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2976:     break 2
 2977:   fi
 2978: done
 2979:   done
 2980: IFS=$as_save_IFS
 2981: 
 2982: fi
 2983: fi
 2984: STRIP=$ac_cv_prog_STRIP
 2985: if test -n "$STRIP"; then
 2986:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2987: $as_echo "$STRIP" >&6; }
 2988: else
 2989:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2990: $as_echo "no" >&6; }
 2991: fi
 2992: 
 2993: 
 2994: fi
 2995: if test -z "$ac_cv_prog_STRIP"; then
 2996:   ac_ct_STRIP=$STRIP
 2997:   # Extract the first word of "strip", so it can be a program name with args.
 2998: set dummy strip; ac_word=$2
 2999: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3000: $as_echo_n "checking for $ac_word... " >&6; }
 3001: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 3002:   $as_echo_n "(cached) " >&6
 3003: else
 3004:   if test -n "$ac_ct_STRIP"; then
 3005:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 3006: else
 3007: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3008: for as_dir in $PATH
 3009: do
 3010:   IFS=$as_save_IFS
 3011:   test -z "$as_dir" && as_dir=.
 3012:     for ac_exec_ext in '' $ac_executable_extensions; do
 3013:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3014:     ac_cv_prog_ac_ct_STRIP="strip"
 3015:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3016:     break 2
 3017:   fi
 3018: done
 3019:   done
 3020: IFS=$as_save_IFS
 3021: 
 3022: fi
 3023: fi
 3024: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 3025: if test -n "$ac_ct_STRIP"; then
 3026:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 3027: $as_echo "$ac_ct_STRIP" >&6; }
 3028: else
 3029:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3030: $as_echo "no" >&6; }
 3031: fi
 3032: 
 3033:   if test "x$ac_ct_STRIP" = x; then
 3034:     STRIP=":"
 3035:   else
 3036:     case $cross_compiling:$ac_tool_warned in
 3037: yes:)
 3038: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3039: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3040: ac_tool_warned=yes ;;
 3041: esac
 3042:     STRIP=$ac_ct_STRIP
 3043:   fi
 3044: else
 3045:   STRIP="$ac_cv_prog_STRIP"
 3046: fi
 3047: 
 3048: fi
 3049: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3050: 
 3051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3052: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3053: if test -z "$MKDIR_P"; then
 3054:   if ${ac_cv_path_mkdir+:} false; then :
 3055:   $as_echo_n "(cached) " >&6
 3056: else
 3057:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3058: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3059: do
 3060:   IFS=$as_save_IFS
 3061:   test -z "$as_dir" && as_dir=.
 3062:     for ac_prog in mkdir gmkdir; do
 3063:      for ac_exec_ext in '' $ac_executable_extensions; do
 3064:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3065:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3066:          'mkdir (GNU coreutils) '* | \
 3067:          'mkdir (coreutils) '* | \
 3068:          'mkdir (fileutils) '4.1*)
 3069:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3070:            break 3;;
 3071:        esac
 3072:      done
 3073:        done
 3074:   done
 3075: IFS=$as_save_IFS
 3076: 
 3077: fi
 3078: 
 3079:   test -d ./--version && rmdir ./--version
 3080:   if test "${ac_cv_path_mkdir+set}" = set; then
 3081:     MKDIR_P="$ac_cv_path_mkdir -p"
 3082:   else
 3083:     # As a last resort, use the slow shell script.  Don't cache a
 3084:     # value for MKDIR_P within a source directory, because that will
 3085:     # break other packages using the cache if that directory is
 3086:     # removed, or if the value is a relative name.
 3087:     MKDIR_P="$ac_install_sh -d"
 3088:   fi
 3089: fi
 3090: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3091: $as_echo "$MKDIR_P" >&6; }
 3092: 
 3093: mkdir_p="$MKDIR_P"
 3094: case $mkdir_p in
 3095:   [\\/$]* | ?:[\\/]*) ;;
 3096:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3097: esac
 3098: 
 3099: for ac_prog in gawk mawk nawk awk
 3100: do
 3101:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3102: set dummy $ac_prog; ac_word=$2
 3103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3104: $as_echo_n "checking for $ac_word... " >&6; }
 3105: if ${ac_cv_prog_AWK+:} false; then :
 3106:   $as_echo_n "(cached) " >&6
 3107: else
 3108:   if test -n "$AWK"; then
 3109:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3110: else
 3111: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3112: for as_dir in $PATH
 3113: do
 3114:   IFS=$as_save_IFS
 3115:   test -z "$as_dir" && as_dir=.
 3116:     for ac_exec_ext in '' $ac_executable_extensions; do
 3117:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3118:     ac_cv_prog_AWK="$ac_prog"
 3119:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3120:     break 2
 3121:   fi
 3122: done
 3123:   done
 3124: IFS=$as_save_IFS
 3125: 
 3126: fi
 3127: fi
 3128: AWK=$ac_cv_prog_AWK
 3129: if test -n "$AWK"; then
 3130:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3131: $as_echo "$AWK" >&6; }
 3132: else
 3133:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3134: $as_echo "no" >&6; }
 3135: fi
 3136: 
 3137: 
 3138:   test -n "$AWK" && break
 3139: done
 3140: 
 3141: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3142: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3143: set x ${MAKE-make}
 3144: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3145: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 3146:   $as_echo_n "(cached) " >&6
 3147: else
 3148:   cat >conftest.make <<\_ACEOF
 3149: SHELL = /bin/sh
 3150: all:
 3151:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3152: _ACEOF
 3153: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 3154: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3155:   *@@@%%%=?*=@@@%%%*)
 3156:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3157:   *)
 3158:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3159: esac
 3160: rm -f conftest.make
 3161: fi
 3162: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3163:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3164: $as_echo "yes" >&6; }
 3165:   SET_MAKE=
 3166: else
 3167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3168: $as_echo "no" >&6; }
 3169:   SET_MAKE="MAKE=${MAKE-make}"
 3170: fi
 3171: 
 3172: rm -rf .tst 2>/dev/null
 3173: mkdir .tst 2>/dev/null
 3174: if test -d .tst; then
 3175:   am__leading_dot=.
 3176: else
 3177:   am__leading_dot=_
 3178: fi
 3179: rmdir .tst 2>/dev/null
 3180: 
 3181: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3182:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3183:   # is not polluted with repeated "-I."
 3184:   am__isrc=' -I$(srcdir)'
 3185:   # test to see if srcdir already configured
 3186:   if test -f $srcdir/config.status; then
 3187:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3188:   fi
 3189: fi
 3190: 
 3191: # test whether we have cygpath
 3192: if test -z "$CYGPATH_W"; then
 3193:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3194:     CYGPATH_W='cygpath -w'
 3195:   else
 3196:     CYGPATH_W=echo
 3197:   fi
 3198: fi
 3199: 
 3200: 
 3201: # Define the identity of the package.
 3202:  PACKAGE='rpl'
 3203:  VERSION='4.1.1'
 3204: 
 3205: 
 3206: cat >>confdefs.h <<_ACEOF
 3207: #define PACKAGE "$PACKAGE"
 3208: _ACEOF
 3209: 
 3210: 
 3211: cat >>confdefs.h <<_ACEOF
 3212: #define VERSION "$VERSION"
 3213: _ACEOF
 3214: 
 3215: # Some tools Automake needs.
 3216: 
 3217: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3218: 
 3219: 
 3220: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3221: 
 3222: 
 3223: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3224: 
 3225: 
 3226: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3227: 
 3228: 
 3229: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3230: 
 3231: # We need awk for the "check" target.  The system "awk" is bad on
 3232: # some platforms.
 3233: # Always define AMTAR for backward compatibility.
 3234: 
 3235: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3236: 
 3237: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3238: 
 3239: 
 3240: 
 3241: 
 3242: 
 3243: 
 3244: ac_config_headers="$ac_config_headers rplconfig.h"
 3245: 
 3246: 
 3247: NCURSES=ncurses-5.9
 3248: READLINE=readline-6.2
 3249: UNITS=units-1.88
 3250: GSL=gsl-1.15
 3251: GPP=gpp-2.24
 3252: GNUPLOT=gnuplot-4.4.3
 3253: FILE=file-5.03
 3254: ICONV=libiconv-1.13.1
 3255: SQLITE=sqlite-3.7.6.3
 3256: OPENSSL=openssl-1.0.0d
 3257: 
 3258: GMP=gmp-5.0.1
 3259: MPFR=mpfr-3.0.1
 3260: NTL=ntl-5.5.2
 3261: COCOA=CoCoALib-0.9943
 3262: PARI=pari-2.3.5
 3263: GIAC=giac-0.9.3
 3264: 
 3265: ac_ext=c
 3266: ac_cpp='$CPP $CPPFLAGS'
 3267: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3268: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3269: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3270: if test -n "$ac_tool_prefix"; then
 3271:   for ac_prog in gcc
 3272:   do
 3273:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3274: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3275: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3276: $as_echo_n "checking for $ac_word... " >&6; }
 3277: if ${ac_cv_prog_CC+:} false; then :
 3278:   $as_echo_n "(cached) " >&6
 3279: else
 3280:   if test -n "$CC"; then
 3281:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3282: else
 3283: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3284: for as_dir in $PATH
 3285: do
 3286:   IFS=$as_save_IFS
 3287:   test -z "$as_dir" && as_dir=.
 3288:     for ac_exec_ext in '' $ac_executable_extensions; do
 3289:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3290:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3291:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3292:     break 2
 3293:   fi
 3294: done
 3295:   done
 3296: IFS=$as_save_IFS
 3297: 
 3298: fi
 3299: fi
 3300: CC=$ac_cv_prog_CC
 3301: if test -n "$CC"; then
 3302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3303: $as_echo "$CC" >&6; }
 3304: else
 3305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3306: $as_echo "no" >&6; }
 3307: fi
 3308: 
 3309: 
 3310:     test -n "$CC" && break
 3311:   done
 3312: fi
 3313: if test -z "$CC"; then
 3314:   ac_ct_CC=$CC
 3315:   for ac_prog in gcc
 3316: do
 3317:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3318: set dummy $ac_prog; ac_word=$2
 3319: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3320: $as_echo_n "checking for $ac_word... " >&6; }
 3321: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3322:   $as_echo_n "(cached) " >&6
 3323: else
 3324:   if test -n "$ac_ct_CC"; then
 3325:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3326: else
 3327: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3328: for as_dir in $PATH
 3329: do
 3330:   IFS=$as_save_IFS
 3331:   test -z "$as_dir" && as_dir=.
 3332:     for ac_exec_ext in '' $ac_executable_extensions; do
 3333:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3334:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3335:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3336:     break 2
 3337:   fi
 3338: done
 3339:   done
 3340: IFS=$as_save_IFS
 3341: 
 3342: fi
 3343: fi
 3344: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3345: if test -n "$ac_ct_CC"; then
 3346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3347: $as_echo "$ac_ct_CC" >&6; }
 3348: else
 3349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3350: $as_echo "no" >&6; }
 3351: fi
 3352: 
 3353: 
 3354:   test -n "$ac_ct_CC" && break
 3355: done
 3356: 
 3357:   if test "x$ac_ct_CC" = x; then
 3358:     CC=""
 3359:   else
 3360:     case $cross_compiling:$ac_tool_warned in
 3361: yes:)
 3362: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3363: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3364: ac_tool_warned=yes ;;
 3365: esac
 3366:     CC=$ac_ct_CC
 3367:   fi
 3368: fi
 3369: 
 3370: 
 3371: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3372: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3373: as_fn_error $? "no acceptable C compiler found in \$PATH
 3374: See \`config.log' for more details" "$LINENO" 5; }
 3375: 
 3376: # Provide some information about the compiler.
 3377: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3378: set X $ac_compile
 3379: ac_compiler=$2
 3380: for ac_option in --version -v -V -qversion; do
 3381:   { { ac_try="$ac_compiler $ac_option >&5"
 3382: case "(($ac_try" in
 3383:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3384:   *) ac_try_echo=$ac_try;;
 3385: esac
 3386: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3387: $as_echo "$ac_try_echo"; } >&5
 3388:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3389:   ac_status=$?
 3390:   if test -s conftest.err; then
 3391:     sed '10a\
 3392: ... rest of stderr output deleted ...
 3393:          10q' conftest.err >conftest.er1
 3394:     cat conftest.er1 >&5
 3395:   fi
 3396:   rm -f conftest.er1 conftest.err
 3397:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3398:   test $ac_status = 0; }
 3399: done
 3400: 
 3401: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3402: /* end confdefs.h.  */
 3403: 
 3404: int
 3405: main ()
 3406: {
 3407: 
 3408:   ;
 3409:   return 0;
 3410: }
 3411: _ACEOF
 3412: ac_clean_files_save=$ac_clean_files
 3413: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3414: # Try to create an executable without -o first, disregard a.out.
 3415: # It will help us diagnose broken compilers, and finding out an intuition
 3416: # of exeext.
 3417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3418: $as_echo_n "checking whether the C compiler works... " >&6; }
 3419: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3420: 
 3421: # The possible output files:
 3422: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3423: 
 3424: ac_rmfiles=
 3425: for ac_file in $ac_files
 3426: do
 3427:   case $ac_file in
 3428:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3429:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3430:   esac
 3431: done
 3432: rm -f $ac_rmfiles
 3433: 
 3434: if { { ac_try="$ac_link_default"
 3435: case "(($ac_try" in
 3436:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3437:   *) ac_try_echo=$ac_try;;
 3438: esac
 3439: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3440: $as_echo "$ac_try_echo"; } >&5
 3441:   (eval "$ac_link_default") 2>&5
 3442:   ac_status=$?
 3443:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3444:   test $ac_status = 0; }; then :
 3445:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3446: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3447: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3448: # so that the user can short-circuit this test for compilers unknown to
 3449: # Autoconf.
 3450: for ac_file in $ac_files ''
 3451: do
 3452:   test -f "$ac_file" || continue
 3453:   case $ac_file in
 3454:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3455:     ;;
 3456:     [ab].out )
 3457:     # We found the default executable, but exeext='' is most
 3458:     # certainly right.
 3459:     break;;
 3460:     *.* )
 3461:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3462:     then :; else
 3463:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3464:     fi
 3465:     # We set ac_cv_exeext here because the later test for it is not
 3466:     # safe: cross compilers may not add the suffix if given an `-o'
 3467:     # argument, so we may need to know it at that point already.
 3468:     # Even if this section looks crufty: it has the advantage of
 3469:     # actually working.
 3470:     break;;
 3471:     * )
 3472:     break;;
 3473:   esac
 3474: done
 3475: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3476: 
 3477: else
 3478:   ac_file=''
 3479: fi
 3480: if test -z "$ac_file"; then :
 3481:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3482: $as_echo "no" >&6; }
 3483: $as_echo "$as_me: failed program was:" >&5
 3484: sed 's/^/| /' conftest.$ac_ext >&5
 3485: 
 3486: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3487: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3488: as_fn_error 77 "C compiler cannot create executables
 3489: See \`config.log' for more details" "$LINENO" 5; }
 3490: else
 3491:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3492: $as_echo "yes" >&6; }
 3493: fi
 3494: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3495: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3497: $as_echo "$ac_file" >&6; }
 3498: ac_exeext=$ac_cv_exeext
 3499: 
 3500: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3501: ac_clean_files=$ac_clean_files_save
 3502: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3503: $as_echo_n "checking for suffix of executables... " >&6; }
 3504: if { { ac_try="$ac_link"
 3505: case "(($ac_try" in
 3506:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3507:   *) ac_try_echo=$ac_try;;
 3508: esac
 3509: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3510: $as_echo "$ac_try_echo"; } >&5
 3511:   (eval "$ac_link") 2>&5
 3512:   ac_status=$?
 3513:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3514:   test $ac_status = 0; }; then :
 3515:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3516: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3517: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3518: # `rm'.
 3519: for ac_file in conftest.exe conftest conftest.*; do
 3520:   test -f "$ac_file" || continue
 3521:   case $ac_file in
 3522:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3523:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3524:       break;;
 3525:     * ) break;;
 3526:   esac
 3527: done
 3528: else
 3529:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3530: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3531: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3532: See \`config.log' for more details" "$LINENO" 5; }
 3533: fi
 3534: rm -f conftest conftest$ac_cv_exeext
 3535: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3536: $as_echo "$ac_cv_exeext" >&6; }
 3537: 
 3538: rm -f conftest.$ac_ext
 3539: EXEEXT=$ac_cv_exeext
 3540: ac_exeext=$EXEEXT
 3541: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3542: /* end confdefs.h.  */
 3543: #include <stdio.h>
 3544: int
 3545: main ()
 3546: {
 3547: FILE *f = fopen ("conftest.out", "w");
 3548:  return ferror (f) || fclose (f) != 0;
 3549: 
 3550:   ;
 3551:   return 0;
 3552: }
 3553: _ACEOF
 3554: ac_clean_files="$ac_clean_files conftest.out"
 3555: # Check that the compiler produces executables we can run.  If not, either
 3556: # the compiler is broken, or we cross compile.
 3557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3558: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3559: if test "$cross_compiling" != yes; then
 3560:   { { ac_try="$ac_link"
 3561: case "(($ac_try" in
 3562:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3563:   *) ac_try_echo=$ac_try;;
 3564: esac
 3565: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3566: $as_echo "$ac_try_echo"; } >&5
 3567:   (eval "$ac_link") 2>&5
 3568:   ac_status=$?
 3569:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3570:   test $ac_status = 0; }
 3571:   if { ac_try='./conftest$ac_cv_exeext'
 3572:   { { case "(($ac_try" in
 3573:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3574:   *) ac_try_echo=$ac_try;;
 3575: esac
 3576: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3577: $as_echo "$ac_try_echo"; } >&5
 3578:   (eval "$ac_try") 2>&5
 3579:   ac_status=$?
 3580:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3581:   test $ac_status = 0; }; }; then
 3582:     cross_compiling=no
 3583:   else
 3584:     if test "$cross_compiling" = maybe; then
 3585:     cross_compiling=yes
 3586:     else
 3587:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3588: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3589: as_fn_error $? "cannot run C compiled programs.
 3590: If you meant to cross compile, use \`--host'.
 3591: See \`config.log' for more details" "$LINENO" 5; }
 3592:     fi
 3593:   fi
 3594: fi
 3595: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3596: $as_echo "$cross_compiling" >&6; }
 3597: 
 3598: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3599: ac_clean_files=$ac_clean_files_save
 3600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3601: $as_echo_n "checking for suffix of object files... " >&6; }
 3602: if ${ac_cv_objext+:} false; then :
 3603:   $as_echo_n "(cached) " >&6
 3604: else
 3605:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3606: /* end confdefs.h.  */
 3607: 
 3608: int
 3609: main ()
 3610: {
 3611: 
 3612:   ;
 3613:   return 0;
 3614: }
 3615: _ACEOF
 3616: rm -f conftest.o conftest.obj
 3617: if { { ac_try="$ac_compile"
 3618: case "(($ac_try" in
 3619:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3620:   *) ac_try_echo=$ac_try;;
 3621: esac
 3622: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3623: $as_echo "$ac_try_echo"; } >&5
 3624:   (eval "$ac_compile") 2>&5
 3625:   ac_status=$?
 3626:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3627:   test $ac_status = 0; }; then :
 3628:   for ac_file in conftest.o conftest.obj conftest.*; do
 3629:   test -f "$ac_file" || continue;
 3630:   case $ac_file in
 3631:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3632:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3633:        break;;
 3634:   esac
 3635: done
 3636: else
 3637:   $as_echo "$as_me: failed program was:" >&5
 3638: sed 's/^/| /' conftest.$ac_ext >&5
 3639: 
 3640: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3641: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3642: as_fn_error $? "cannot compute suffix of object files: cannot compile
 3643: See \`config.log' for more details" "$LINENO" 5; }
 3644: fi
 3645: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3646: fi
 3647: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3648: $as_echo "$ac_cv_objext" >&6; }
 3649: OBJEXT=$ac_cv_objext
 3650: ac_objext=$OBJEXT
 3651: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3652: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3653: if ${ac_cv_c_compiler_gnu+:} false; then :
 3654:   $as_echo_n "(cached) " >&6
 3655: else
 3656:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3657: /* end confdefs.h.  */
 3658: 
 3659: int
 3660: main ()
 3661: {
 3662: #ifndef __GNUC__
 3663:        choke me
 3664: #endif
 3665: 
 3666:   ;
 3667:   return 0;
 3668: }
 3669: _ACEOF
 3670: if ac_fn_c_try_compile "$LINENO"; then :
 3671:   ac_compiler_gnu=yes
 3672: else
 3673:   ac_compiler_gnu=no
 3674: fi
 3675: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3676: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3677: 
 3678: fi
 3679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3680: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3681: if test $ac_compiler_gnu = yes; then
 3682:   GCC=yes
 3683: else
 3684:   GCC=
 3685: fi
 3686: ac_test_CFLAGS=${CFLAGS+set}
 3687: ac_save_CFLAGS=$CFLAGS
 3688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3689: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3690: if ${ac_cv_prog_cc_g+:} false; then :
 3691:   $as_echo_n "(cached) " >&6
 3692: else
 3693:   ac_save_c_werror_flag=$ac_c_werror_flag
 3694:    ac_c_werror_flag=yes
 3695:    ac_cv_prog_cc_g=no
 3696:    CFLAGS="-g"
 3697:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3698: /* end confdefs.h.  */
 3699: 
 3700: int
 3701: main ()
 3702: {
 3703: 
 3704:   ;
 3705:   return 0;
 3706: }
 3707: _ACEOF
 3708: if ac_fn_c_try_compile "$LINENO"; then :
 3709:   ac_cv_prog_cc_g=yes
 3710: else
 3711:   CFLAGS=""
 3712:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3713: /* end confdefs.h.  */
 3714: 
 3715: int
 3716: main ()
 3717: {
 3718: 
 3719:   ;
 3720:   return 0;
 3721: }
 3722: _ACEOF
 3723: if ac_fn_c_try_compile "$LINENO"; then :
 3724: 
 3725: else
 3726:   ac_c_werror_flag=$ac_save_c_werror_flag
 3727:      CFLAGS="-g"
 3728:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3729: /* end confdefs.h.  */
 3730: 
 3731: int
 3732: main ()
 3733: {
 3734: 
 3735:   ;
 3736:   return 0;
 3737: }
 3738: _ACEOF
 3739: if ac_fn_c_try_compile "$LINENO"; then :
 3740:   ac_cv_prog_cc_g=yes
 3741: fi
 3742: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3743: fi
 3744: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3745: fi
 3746: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3747:    ac_c_werror_flag=$ac_save_c_werror_flag
 3748: fi
 3749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3750: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3751: if test "$ac_test_CFLAGS" = set; then
 3752:   CFLAGS=$ac_save_CFLAGS
 3753: elif test $ac_cv_prog_cc_g = yes; then
 3754:   if test "$GCC" = yes; then
 3755:     CFLAGS="-g -O2"
 3756:   else
 3757:     CFLAGS="-g"
 3758:   fi
 3759: else
 3760:   if test "$GCC" = yes; then
 3761:     CFLAGS="-O2"
 3762:   else
 3763:     CFLAGS=
 3764:   fi
 3765: fi
 3766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3767: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3768: if ${ac_cv_prog_cc_c89+:} false; then :
 3769:   $as_echo_n "(cached) " >&6
 3770: else
 3771:   ac_cv_prog_cc_c89=no
 3772: ac_save_CC=$CC
 3773: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3774: /* end confdefs.h.  */
 3775: #include <stdarg.h>
 3776: #include <stdio.h>
 3777: #include <sys/types.h>
 3778: #include <sys/stat.h>
 3779: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3780: struct buf { int x; };
 3781: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3782: static char *e (p, i)
 3783:      char **p;
 3784:      int i;
 3785: {
 3786:   return p[i];
 3787: }
 3788: static char *f (char * (*g) (char **, int), char **p, ...)
 3789: {
 3790:   char *s;
 3791:   va_list v;
 3792:   va_start (v,p);
 3793:   s = g (p, va_arg (v,int));
 3794:   va_end (v);
 3795:   return s;
 3796: }
 3797: 
 3798: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3799:    function prototypes and stuff, but not '\xHH' hex character constants.
 3800:    These don't provoke an error unfortunately, instead are silently treated
 3801:    as 'x'.  The following induces an error, until -std is added to get
 3802:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3803:    array size at least.  It's necessary to write '\x00'==0 to get something
 3804:    that's true only with -std.  */
 3805: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3806: 
 3807: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3808:    inside strings and character constants.  */
 3809: #define FOO(x) 'x'
 3810: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3811: 
 3812: int test (int i, double x);
 3813: struct s1 {int (*f) (int a);};
 3814: struct s2 {int (*f) (double a);};
 3815: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3816: int argc;
 3817: char **argv;
 3818: int
 3819: main ()
 3820: {
 3821: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3822:   ;
 3823:   return 0;
 3824: }
 3825: _ACEOF
 3826: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3827:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3828: do
 3829:   CC="$ac_save_CC $ac_arg"
 3830:   if ac_fn_c_try_compile "$LINENO"; then :
 3831:   ac_cv_prog_cc_c89=$ac_arg
 3832: fi
 3833: rm -f core conftest.err conftest.$ac_objext
 3834:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3835: done
 3836: rm -f conftest.$ac_ext
 3837: CC=$ac_save_CC
 3838: 
 3839: fi
 3840: # AC_CACHE_VAL
 3841: case "x$ac_cv_prog_cc_c89" in
 3842:   x)
 3843:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3844: $as_echo "none needed" >&6; } ;;
 3845:   xno)
 3846:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3847: $as_echo "unsupported" >&6; } ;;
 3848:   *)
 3849:     CC="$CC $ac_cv_prog_cc_c89"
 3850:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3851: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3852: esac
 3853: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3854: 
 3855: fi
 3856: 
 3857: ac_ext=c
 3858: ac_cpp='$CPP $CPPFLAGS'
 3859: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3860: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3861: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3862: DEPDIR="${am__leading_dot}deps"
 3863: 
 3864: ac_config_commands="$ac_config_commands depfiles"
 3865: 
 3866: 
 3867: am_make=${MAKE-make}
 3868: cat > confinc << 'END'
 3869: am__doit:
 3870:     @echo this is the am__doit target
 3871: .PHONY: am__doit
 3872: END
 3873: # If we don't find an include directive, just comment out the code.
 3874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3875: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3876: am__include="#"
 3877: am__quote=
 3878: _am_result=none
 3879: # First try GNU make style include.
 3880: echo "include confinc" > confmf
 3881: # Ignore all kinds of additional output from `make'.
 3882: case `$am_make -s -f confmf 2> /dev/null` in #(
 3883: *the\ am__doit\ target*)
 3884:   am__include=include
 3885:   am__quote=
 3886:   _am_result=GNU
 3887:   ;;
 3888: esac
 3889: # Now try BSD make style include.
 3890: if test "$am__include" = "#"; then
 3891:    echo '.include "confinc"' > confmf
 3892:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3893:    *the\ am__doit\ target*)
 3894:      am__include=.include
 3895:      am__quote="\""
 3896:      _am_result=BSD
 3897:      ;;
 3898:    esac
 3899: fi
 3900: 
 3901: 
 3902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3903: $as_echo "$_am_result" >&6; }
 3904: rm -f confinc confmf
 3905: 
 3906: # Check whether --enable-dependency-tracking was given.
 3907: if test "${enable_dependency_tracking+set}" = set; then :
 3908:   enableval=$enable_dependency_tracking;
 3909: fi
 3910: 
 3911: if test "x$enable_dependency_tracking" != xno; then
 3912:   am_depcomp="$ac_aux_dir/depcomp"
 3913:   AMDEPBACKSLASH='\'
 3914: fi
 3915:  if test "x$enable_dependency_tracking" != xno; then
 3916:   AMDEP_TRUE=
 3917:   AMDEP_FALSE='#'
 3918: else
 3919:   AMDEP_TRUE='#'
 3920:   AMDEP_FALSE=
 3921: fi
 3922: 
 3923: 
 3924: 
 3925: depcc="$CC"   am_compiler_list=
 3926: 
 3927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3928: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3929: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 3930:   $as_echo_n "(cached) " >&6
 3931: else
 3932:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3933:   # We make a subdir and do the tests there.  Otherwise we can end up
 3934:   # making bogus files that we don't know about and never remove.  For
 3935:   # instance it was reported that on HP-UX the gcc test will end up
 3936:   # making a dummy file named `D' -- because `-MD' means `put the output
 3937:   # in D'.
 3938:   mkdir conftest.dir
 3939:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3940:   # using a relative directory.
 3941:   cp "$am_depcomp" conftest.dir
 3942:   cd conftest.dir
 3943:   # We will build objects and dependencies in a subdirectory because
 3944:   # it helps to detect inapplicable dependency modes.  For instance
 3945:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3946:   # side effect of compilation, but ICC will put the dependencies in
 3947:   # the current directory while Tru64 will put them in the object
 3948:   # directory.
 3949:   mkdir sub
 3950: 
 3951:   am_cv_CC_dependencies_compiler_type=none
 3952:   if test "$am_compiler_list" = ""; then
 3953:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3954:   fi
 3955:   am__universal=false
 3956:   case " $depcc " in #(
 3957:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3958:      esac
 3959: 
 3960:   for depmode in $am_compiler_list; do
 3961:     # Setup a source with many dependencies, because some compilers
 3962:     # like to wrap large dependency lists on column 80 (with \), and
 3963:     # we should not choose a depcomp mode which is confused by this.
 3964:     #
 3965:     # We need to recreate these files for each test, as the compiler may
 3966:     # overwrite some of them when testing with obscure command lines.
 3967:     # This happens at least with the AIX C compiler.
 3968:     : > sub/conftest.c
 3969:     for i in 1 2 3 4 5 6; do
 3970:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3971:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3972:       # Solaris 8's {/usr,}/bin/sh.
 3973:       touch sub/conftst$i.h
 3974:     done
 3975:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3976: 
 3977:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3978:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3979:     # handle `-M -o', and we need to detect this.  Also, some Intel
 3980:     # versions had trouble with output in subdirs
 3981:     am__obj=sub/conftest.${OBJEXT-o}
 3982:     am__minus_obj="-o $am__obj"
 3983:     case $depmode in
 3984:     gcc)
 3985:       # This depmode causes a compiler race in universal mode.
 3986:       test "$am__universal" = false || continue
 3987:       ;;
 3988:     nosideeffect)
 3989:       # after this tag, mechanisms are not by side-effect, so they'll
 3990:       # only be used when explicitly requested
 3991:       if test "x$enable_dependency_tracking" = xyes; then
 3992:     continue
 3993:       else
 3994:     break
 3995:       fi
 3996:       ;;
 3997:     msvisualcpp | msvcmsys)
 3998:       # This compiler won't grok `-c -o', but also, the minuso test has
 3999:       # not run yet.  These depmodes are late enough in the game, and
 4000:       # so weak that their functioning should not be impacted.
 4001:       am__obj=conftest.${OBJEXT-o}
 4002:       am__minus_obj=
 4003:       ;;
 4004:     none) break ;;
 4005:     esac
 4006:     if depmode=$depmode \
 4007:        source=sub/conftest.c object=$am__obj \
 4008:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4009:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4010:          >/dev/null 2>conftest.err &&
 4011:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4012:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4013:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4014:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4015:       # icc doesn't choke on unknown options, it will just issue warnings
 4016:       # or remarks (even with -Werror).  So we grep stderr for any message
 4017:       # that says an option was ignored or not supported.
 4018:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4019:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4020:       # The diagnosis changed in icc 8.0:
 4021:       #   icc: Command line remark: option '-MP' not supported
 4022:       if (grep 'ignoring option' conftest.err ||
 4023:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4024:         am_cv_CC_dependencies_compiler_type=$depmode
 4025:         break
 4026:       fi
 4027:     fi
 4028:   done
 4029: 
 4030:   cd ..
 4031:   rm -rf conftest.dir
 4032: else
 4033:   am_cv_CC_dependencies_compiler_type=none
 4034: fi
 4035: 
 4036: fi
 4037: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 4038: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 4039: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4040: 
 4041:  if
 4042:   test "x$enable_dependency_tracking" != xno \
 4043:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4044:   am__fastdepCC_TRUE=
 4045:   am__fastdepCC_FALSE='#'
 4046: else
 4047:   am__fastdepCC_TRUE='#'
 4048:   am__fastdepCC_FALSE=
 4049: fi
 4050: 
 4051: 
 4052: 
 4053: EXT_SQL=
 4054: 
 4055: if test x"$CC" != x""; then
 4056:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4057:             awk -F. '{ printf("%s", $1);}'`
 4058:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4059:             awk -F. '{ printf("%s", $2);}'`
 4060:     if test $GCC_VERSION_MAJEURE -ge 5; then
 4061:         OPTIMISATION_C=-O3
 4062:     else
 4063:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
 4064:                 then
 4065:             OPTIMISATION_C=-O3
 4066:         else
 4067:             if test $GCC_VERSION_MAJEURE -ge 2; then
 4068:                 OPTIMISATION_C=-O2
 4069:             else
 4070:                 as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
 4071:             fi
 4072:         fi
 4073:     fi
 4074: fi
 4075: 
 4076: if test "x$CC" != xcc; then
 4077:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4078: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4079: else
 4080:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4081: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4082: fi
 4083: set dummy $CC; ac_cc=`$as_echo "$2" |
 4084:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4085: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 4086:   $as_echo_n "(cached) " >&6
 4087: else
 4088:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4089: /* end confdefs.h.  */
 4090: 
 4091: int
 4092: main ()
 4093: {
 4094: 
 4095:   ;
 4096:   return 0;
 4097: }
 4098: _ACEOF
 4099: # Make sure it works both with $CC and with simple cc.
 4100: # We do the test twice because some compilers refuse to overwrite an
 4101: # existing .o file with -o, though they will create one.
 4102: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4103: rm -f conftest2.*
 4104: if { { case "(($ac_try" in
 4105:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4106:   *) ac_try_echo=$ac_try;;
 4107: esac
 4108: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4109: $as_echo "$ac_try_echo"; } >&5
 4110:   (eval "$ac_try") 2>&5
 4111:   ac_status=$?
 4112:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4113:   test $ac_status = 0; } &&
 4114:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4115:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4116:   *) ac_try_echo=$ac_try;;
 4117: esac
 4118: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4119: $as_echo "$ac_try_echo"; } >&5
 4120:   (eval "$ac_try") 2>&5
 4121:   ac_status=$?
 4122:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4123:   test $ac_status = 0; };
 4124: then
 4125:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4126:   if test "x$CC" != xcc; then
 4127:     # Test first that cc exists at all.
 4128:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4129:   { { case "(($ac_try" in
 4130:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4131:   *) ac_try_echo=$ac_try;;
 4132: esac
 4133: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4134: $as_echo "$ac_try_echo"; } >&5
 4135:   (eval "$ac_try") 2>&5
 4136:   ac_status=$?
 4137:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4138:   test $ac_status = 0; }; }; then
 4139:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4140:       rm -f conftest2.*
 4141:       if { { case "(($ac_try" in
 4142:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4143:   *) ac_try_echo=$ac_try;;
 4144: esac
 4145: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4146: $as_echo "$ac_try_echo"; } >&5
 4147:   (eval "$ac_try") 2>&5
 4148:   ac_status=$?
 4149:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4150:   test $ac_status = 0; } &&
 4151:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4152:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4153:   *) ac_try_echo=$ac_try;;
 4154: esac
 4155: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4156: $as_echo "$ac_try_echo"; } >&5
 4157:   (eval "$ac_try") 2>&5
 4158:   ac_status=$?
 4159:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4160:   test $ac_status = 0; };
 4161:       then
 4162:     # cc works too.
 4163:     :
 4164:       else
 4165:     # cc exists but doesn't like -o.
 4166:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4167:       fi
 4168:     fi
 4169:   fi
 4170: else
 4171:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4172: fi
 4173: rm -f core conftest*
 4174: 
 4175: fi
 4176: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4177:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4178: $as_echo "yes" >&6; }
 4179: else
 4180:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4181: $as_echo "no" >&6; }
 4182: 
 4183: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4184: 
 4185: fi
 4186: 
 4187: # FIXME: we rely on the cache variable name because
 4188: # there is no other way.
 4189: set dummy $CC
 4190: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4191: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4192: if test "$am_t" != yes; then
 4193:    # Losing compiler, so override with the script.
 4194:    # FIXME: It is wrong to rewrite CC.
 4195:    # But if we don't then we get into trouble of one sort or another.
 4196:    # A longer-term fix would be to have automake use am__CC in this case,
 4197:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4198:    CC="$am_aux_dir/compile $CC"
 4199: fi
 4200: 
 4201: 
 4202: 
 4203: if test "$GCC" != yes; then
 4204:     as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
 4205: fi
 4206: 
 4207: ac_ext=cpp
 4208: ac_cpp='$CXXCPP $CPPFLAGS'
 4209: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4210: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4211: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4212: if test -z "$CXX"; then
 4213:   if test -n "$CCC"; then
 4214:     CXX=$CCC
 4215:   else
 4216:     if test -n "$ac_tool_prefix"; then
 4217:   for ac_prog in g++
 4218:   do
 4219:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4220: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4221: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4222: $as_echo_n "checking for $ac_word... " >&6; }
 4223: if ${ac_cv_prog_CXX+:} false; then :
 4224:   $as_echo_n "(cached) " >&6
 4225: else
 4226:   if test -n "$CXX"; then
 4227:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4228: else
 4229: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4230: for as_dir in $PATH
 4231: do
 4232:   IFS=$as_save_IFS
 4233:   test -z "$as_dir" && as_dir=.
 4234:     for ac_exec_ext in '' $ac_executable_extensions; do
 4235:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4236:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4237:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4238:     break 2
 4239:   fi
 4240: done
 4241:   done
 4242: IFS=$as_save_IFS
 4243: 
 4244: fi
 4245: fi
 4246: CXX=$ac_cv_prog_CXX
 4247: if test -n "$CXX"; then
 4248:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4249: $as_echo "$CXX" >&6; }
 4250: else
 4251:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4252: $as_echo "no" >&6; }
 4253: fi
 4254: 
 4255: 
 4256:     test -n "$CXX" && break
 4257:   done
 4258: fi
 4259: if test -z "$CXX"; then
 4260:   ac_ct_CXX=$CXX
 4261:   for ac_prog in g++
 4262: do
 4263:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4264: set dummy $ac_prog; ac_word=$2
 4265: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4266: $as_echo_n "checking for $ac_word... " >&6; }
 4267: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 4268:   $as_echo_n "(cached) " >&6
 4269: else
 4270:   if test -n "$ac_ct_CXX"; then
 4271:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4272: else
 4273: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4274: for as_dir in $PATH
 4275: do
 4276:   IFS=$as_save_IFS
 4277:   test -z "$as_dir" && as_dir=.
 4278:     for ac_exec_ext in '' $ac_executable_extensions; do
 4279:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4280:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4281:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4282:     break 2
 4283:   fi
 4284: done
 4285:   done
 4286: IFS=$as_save_IFS
 4287: 
 4288: fi
 4289: fi
 4290: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4291: if test -n "$ac_ct_CXX"; then
 4292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4293: $as_echo "$ac_ct_CXX" >&6; }
 4294: else
 4295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4296: $as_echo "no" >&6; }
 4297: fi
 4298: 
 4299: 
 4300:   test -n "$ac_ct_CXX" && break
 4301: done
 4302: 
 4303:   if test "x$ac_ct_CXX" = x; then
 4304:     CXX="g++"
 4305:   else
 4306:     case $cross_compiling:$ac_tool_warned in
 4307: yes:)
 4308: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4309: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4310: ac_tool_warned=yes ;;
 4311: esac
 4312:     CXX=$ac_ct_CXX
 4313:   fi
 4314: fi
 4315: 
 4316:   fi
 4317: fi
 4318: # Provide some information about the compiler.
 4319: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4320: set X $ac_compile
 4321: ac_compiler=$2
 4322: for ac_option in --version -v -V -qversion; do
 4323:   { { ac_try="$ac_compiler $ac_option >&5"
 4324: case "(($ac_try" in
 4325:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4326:   *) ac_try_echo=$ac_try;;
 4327: esac
 4328: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4329: $as_echo "$ac_try_echo"; } >&5
 4330:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4331:   ac_status=$?
 4332:   if test -s conftest.err; then
 4333:     sed '10a\
 4334: ... rest of stderr output deleted ...
 4335:          10q' conftest.err >conftest.er1
 4336:     cat conftest.er1 >&5
 4337:   fi
 4338:   rm -f conftest.er1 conftest.err
 4339:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4340:   test $ac_status = 0; }
 4341: done
 4342: 
 4343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4344: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4345: if ${ac_cv_cxx_compiler_gnu+:} false; then :
 4346:   $as_echo_n "(cached) " >&6
 4347: else
 4348:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4349: /* end confdefs.h.  */
 4350: 
 4351: int
 4352: main ()
 4353: {
 4354: #ifndef __GNUC__
 4355:        choke me
 4356: #endif
 4357: 
 4358:   ;
 4359:   return 0;
 4360: }
 4361: _ACEOF
 4362: if ac_fn_cxx_try_compile "$LINENO"; then :
 4363:   ac_compiler_gnu=yes
 4364: else
 4365:   ac_compiler_gnu=no
 4366: fi
 4367: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4368: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4369: 
 4370: fi
 4371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4372: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4373: if test $ac_compiler_gnu = yes; then
 4374:   GXX=yes
 4375: else
 4376:   GXX=
 4377: fi
 4378: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4379: ac_save_CXXFLAGS=$CXXFLAGS
 4380: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4381: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4382: if ${ac_cv_prog_cxx_g+:} false; then :
 4383:   $as_echo_n "(cached) " >&6
 4384: else
 4385:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4386:    ac_cxx_werror_flag=yes
 4387:    ac_cv_prog_cxx_g=no
 4388:    CXXFLAGS="-g"
 4389:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4390: /* end confdefs.h.  */
 4391: 
 4392: int
 4393: main ()
 4394: {
 4395: 
 4396:   ;
 4397:   return 0;
 4398: }
 4399: _ACEOF
 4400: if ac_fn_cxx_try_compile "$LINENO"; then :
 4401:   ac_cv_prog_cxx_g=yes
 4402: else
 4403:   CXXFLAGS=""
 4404:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4405: /* end confdefs.h.  */
 4406: 
 4407: int
 4408: main ()
 4409: {
 4410: 
 4411:   ;
 4412:   return 0;
 4413: }
 4414: _ACEOF
 4415: if ac_fn_cxx_try_compile "$LINENO"; then :
 4416: 
 4417: else
 4418:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4419:      CXXFLAGS="-g"
 4420:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4421: /* end confdefs.h.  */
 4422: 
 4423: int
 4424: main ()
 4425: {
 4426: 
 4427:   ;
 4428:   return 0;
 4429: }
 4430: _ACEOF
 4431: if ac_fn_cxx_try_compile "$LINENO"; then :
 4432:   ac_cv_prog_cxx_g=yes
 4433: fi
 4434: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4435: fi
 4436: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4437: fi
 4438: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4439:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4440: fi
 4441: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4442: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4443: if test "$ac_test_CXXFLAGS" = set; then
 4444:   CXXFLAGS=$ac_save_CXXFLAGS
 4445: elif test $ac_cv_prog_cxx_g = yes; then
 4446:   if test "$GXX" = yes; then
 4447:     CXXFLAGS="-g -O2"
 4448:   else
 4449:     CXXFLAGS="-g"
 4450:   fi
 4451: else
 4452:   if test "$GXX" = yes; then
 4453:     CXXFLAGS="-O2"
 4454:   else
 4455:     CXXFLAGS=
 4456:   fi
 4457: fi
 4458: ac_ext=c
 4459: ac_cpp='$CPP $CPPFLAGS'
 4460: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4461: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4462: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4463: 
 4464: depcc="$CXX"  am_compiler_list=
 4465: 
 4466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4467: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4468: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 4469:   $as_echo_n "(cached) " >&6
 4470: else
 4471:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4472:   # We make a subdir and do the tests there.  Otherwise we can end up
 4473:   # making bogus files that we don't know about and never remove.  For
 4474:   # instance it was reported that on HP-UX the gcc test will end up
 4475:   # making a dummy file named `D' -- because `-MD' means `put the output
 4476:   # in D'.
 4477:   mkdir conftest.dir
 4478:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4479:   # using a relative directory.
 4480:   cp "$am_depcomp" conftest.dir
 4481:   cd conftest.dir
 4482:   # We will build objects and dependencies in a subdirectory because
 4483:   # it helps to detect inapplicable dependency modes.  For instance
 4484:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4485:   # side effect of compilation, but ICC will put the dependencies in
 4486:   # the current directory while Tru64 will put them in the object
 4487:   # directory.
 4488:   mkdir sub
 4489: 
 4490:   am_cv_CXX_dependencies_compiler_type=none
 4491:   if test "$am_compiler_list" = ""; then
 4492:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4493:   fi
 4494:   am__universal=false
 4495:   case " $depcc " in #(
 4496:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4497:      esac
 4498: 
 4499:   for depmode in $am_compiler_list; do
 4500:     # Setup a source with many dependencies, because some compilers
 4501:     # like to wrap large dependency lists on column 80 (with \), and
 4502:     # we should not choose a depcomp mode which is confused by this.
 4503:     #
 4504:     # We need to recreate these files for each test, as the compiler may
 4505:     # overwrite some of them when testing with obscure command lines.
 4506:     # This happens at least with the AIX C compiler.
 4507:     : > sub/conftest.c
 4508:     for i in 1 2 3 4 5 6; do
 4509:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4510:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4511:       # Solaris 8's {/usr,}/bin/sh.
 4512:       touch sub/conftst$i.h
 4513:     done
 4514:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4515: 
 4516:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4517:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4518:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4519:     # versions had trouble with output in subdirs
 4520:     am__obj=sub/conftest.${OBJEXT-o}
 4521:     am__minus_obj="-o $am__obj"
 4522:     case $depmode in
 4523:     gcc)
 4524:       # This depmode causes a compiler race in universal mode.
 4525:       test "$am__universal" = false || continue
 4526:       ;;
 4527:     nosideeffect)
 4528:       # after this tag, mechanisms are not by side-effect, so they'll
 4529:       # only be used when explicitly requested
 4530:       if test "x$enable_dependency_tracking" = xyes; then
 4531:     continue
 4532:       else
 4533:     break
 4534:       fi
 4535:       ;;
 4536:     msvisualcpp | msvcmsys)
 4537:       # This compiler won't grok `-c -o', but also, the minuso test has
 4538:       # not run yet.  These depmodes are late enough in the game, and
 4539:       # so weak that their functioning should not be impacted.
 4540:       am__obj=conftest.${OBJEXT-o}
 4541:       am__minus_obj=
 4542:       ;;
 4543:     none) break ;;
 4544:     esac
 4545:     if depmode=$depmode \
 4546:        source=sub/conftest.c object=$am__obj \
 4547:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4548:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4549:          >/dev/null 2>conftest.err &&
 4550:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4551:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4552:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4553:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4554:       # icc doesn't choke on unknown options, it will just issue warnings
 4555:       # or remarks (even with -Werror).  So we grep stderr for any message
 4556:       # that says an option was ignored or not supported.
 4557:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4558:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4559:       # The diagnosis changed in icc 8.0:
 4560:       #   icc: Command line remark: option '-MP' not supported
 4561:       if (grep 'ignoring option' conftest.err ||
 4562:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4563:         am_cv_CXX_dependencies_compiler_type=$depmode
 4564:         break
 4565:       fi
 4566:     fi
 4567:   done
 4568: 
 4569:   cd ..
 4570:   rm -rf conftest.dir
 4571: else
 4572:   am_cv_CXX_dependencies_compiler_type=none
 4573: fi
 4574: 
 4575: fi
 4576: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4577: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4578: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4579: 
 4580:  if
 4581:   test "x$enable_dependency_tracking" != xno \
 4582:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4583:   am__fastdepCXX_TRUE=
 4584:   am__fastdepCXX_FALSE='#'
 4585: else
 4586:   am__fastdepCXX_TRUE='#'
 4587:   am__fastdepCXX_FALSE=
 4588: fi
 4589: 
 4590: 
 4591: 
 4592: if test "$GXX" != yes; then
 4593:     as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
 4594: fi
 4595: 
 4596: ac_ext=f
 4597: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4598: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4599: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4600: if test -n "$ac_tool_prefix"; then
 4601:   for ac_prog in gfortran
 4602:   do
 4603:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4604: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4606: $as_echo_n "checking for $ac_word... " >&6; }
 4607: if ${ac_cv_prog_F77+:} false; then :
 4608:   $as_echo_n "(cached) " >&6
 4609: else
 4610:   if test -n "$F77"; then
 4611:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4612: else
 4613: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4614: for as_dir in $PATH
 4615: do
 4616:   IFS=$as_save_IFS
 4617:   test -z "$as_dir" && as_dir=.
 4618:     for ac_exec_ext in '' $ac_executable_extensions; do
 4619:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4620:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4621:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4622:     break 2
 4623:   fi
 4624: done
 4625:   done
 4626: IFS=$as_save_IFS
 4627: 
 4628: fi
 4629: fi
 4630: F77=$ac_cv_prog_F77
 4631: if test -n "$F77"; then
 4632:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4633: $as_echo "$F77" >&6; }
 4634: else
 4635:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4636: $as_echo "no" >&6; }
 4637: fi
 4638: 
 4639: 
 4640:     test -n "$F77" && break
 4641:   done
 4642: fi
 4643: if test -z "$F77"; then
 4644:   ac_ct_F77=$F77
 4645:   for ac_prog in gfortran
 4646: do
 4647:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4648: set dummy $ac_prog; ac_word=$2
 4649: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4650: $as_echo_n "checking for $ac_word... " >&6; }
 4651: if ${ac_cv_prog_ac_ct_F77+:} false; then :
 4652:   $as_echo_n "(cached) " >&6
 4653: else
 4654:   if test -n "$ac_ct_F77"; then
 4655:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4656: else
 4657: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4658: for as_dir in $PATH
 4659: do
 4660:   IFS=$as_save_IFS
 4661:   test -z "$as_dir" && as_dir=.
 4662:     for ac_exec_ext in '' $ac_executable_extensions; do
 4663:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4664:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4665:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4666:     break 2
 4667:   fi
 4668: done
 4669:   done
 4670: IFS=$as_save_IFS
 4671: 
 4672: fi
 4673: fi
 4674: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4675: if test -n "$ac_ct_F77"; then
 4676:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4677: $as_echo "$ac_ct_F77" >&6; }
 4678: else
 4679:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4680: $as_echo "no" >&6; }
 4681: fi
 4682: 
 4683: 
 4684:   test -n "$ac_ct_F77" && break
 4685: done
 4686: 
 4687:   if test "x$ac_ct_F77" = x; then
 4688:     F77=""
 4689:   else
 4690:     case $cross_compiling:$ac_tool_warned in
 4691: yes:)
 4692: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4693: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4694: ac_tool_warned=yes ;;
 4695: esac
 4696:     F77=$ac_ct_F77
 4697:   fi
 4698: fi
 4699: 
 4700: 
 4701: # Provide some information about the compiler.
 4702: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4703: set X $ac_compile
 4704: ac_compiler=$2
 4705: for ac_option in --version -v -V -qversion; do
 4706:   { { ac_try="$ac_compiler $ac_option >&5"
 4707: case "(($ac_try" in
 4708:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4709:   *) ac_try_echo=$ac_try;;
 4710: esac
 4711: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4712: $as_echo "$ac_try_echo"; } >&5
 4713:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4714:   ac_status=$?
 4715:   if test -s conftest.err; then
 4716:     sed '10a\
 4717: ... rest of stderr output deleted ...
 4718:          10q' conftest.err >conftest.er1
 4719:     cat conftest.er1 >&5
 4720:   fi
 4721:   rm -f conftest.er1 conftest.err
 4722:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4723:   test $ac_status = 0; }
 4724: done
 4725: rm -f a.out
 4726: 
 4727: # If we don't use `.F' as extension, the preprocessor is not run on the
 4728: # input file.  (Note that this only needs to work for GNU compilers.)
 4729: ac_save_ext=$ac_ext
 4730: ac_ext=F
 4731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4732: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4733: if ${ac_cv_f77_compiler_gnu+:} false; then :
 4734:   $as_echo_n "(cached) " >&6
 4735: else
 4736:   cat > conftest.$ac_ext <<_ACEOF
 4737:       program main
 4738: #ifndef __GNUC__
 4739:        choke me
 4740: #endif
 4741: 
 4742:       end
 4743: _ACEOF
 4744: if ac_fn_f77_try_compile "$LINENO"; then :
 4745:   ac_compiler_gnu=yes
 4746: else
 4747:   ac_compiler_gnu=no
 4748: fi
 4749: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4750: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4751: 
 4752: fi
 4753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4754: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4755: ac_ext=$ac_save_ext
 4756: ac_test_FFLAGS=${FFLAGS+set}
 4757: ac_save_FFLAGS=$FFLAGS
 4758: FFLAGS=
 4759: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4760: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4761: if ${ac_cv_prog_f77_g+:} false; then :
 4762:   $as_echo_n "(cached) " >&6
 4763: else
 4764:   FFLAGS=-g
 4765: cat > conftest.$ac_ext <<_ACEOF
 4766:       program main
 4767: 
 4768:       end
 4769: _ACEOF
 4770: if ac_fn_f77_try_compile "$LINENO"; then :
 4771:   ac_cv_prog_f77_g=yes
 4772: else
 4773:   ac_cv_prog_f77_g=no
 4774: fi
 4775: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4776: 
 4777: fi
 4778: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4779: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4780: if test "$ac_test_FFLAGS" = set; then
 4781:   FFLAGS=$ac_save_FFLAGS
 4782: elif test $ac_cv_prog_f77_g = yes; then
 4783:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4784:     FFLAGS="-g -O2"
 4785:   else
 4786:     FFLAGS="-g"
 4787:   fi
 4788: else
 4789:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4790:     FFLAGS="-O2"
 4791:   else
 4792:     FFLAGS=
 4793:   fi
 4794: fi
 4795: 
 4796: if test $ac_compiler_gnu = yes; then
 4797:   G77=yes
 4798: else
 4799:   G77=
 4800: fi
 4801: ac_ext=c
 4802: ac_cpp='$CPP $CPPFLAGS'
 4803: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4804: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4805: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4806: 
 4807: 
 4808: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
 4809:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 4810: fi
 4811: 
 4812: ac_ext=${ac_fc_srcext-f}
 4813: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4814: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4815: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4816: if test -n "$ac_tool_prefix"; then
 4817:   for ac_prog in gfortran
 4818:   do
 4819:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4820: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4821: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4822: $as_echo_n "checking for $ac_word... " >&6; }
 4823: if ${ac_cv_prog_FC+:} false; then :
 4824:   $as_echo_n "(cached) " >&6
 4825: else
 4826:   if test -n "$FC"; then
 4827:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4828: else
 4829: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4830: for as_dir in $PATH
 4831: do
 4832:   IFS=$as_save_IFS
 4833:   test -z "$as_dir" && as_dir=.
 4834:     for ac_exec_ext in '' $ac_executable_extensions; do
 4835:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4836:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4837:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4838:     break 2
 4839:   fi
 4840: done
 4841:   done
 4842: IFS=$as_save_IFS
 4843: 
 4844: fi
 4845: fi
 4846: FC=$ac_cv_prog_FC
 4847: if test -n "$FC"; then
 4848:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4849: $as_echo "$FC" >&6; }
 4850: else
 4851:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4852: $as_echo "no" >&6; }
 4853: fi
 4854: 
 4855: 
 4856:     test -n "$FC" && break
 4857:   done
 4858: fi
 4859: if test -z "$FC"; then
 4860:   ac_ct_FC=$FC
 4861:   for ac_prog in gfortran
 4862: do
 4863:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4864: set dummy $ac_prog; ac_word=$2
 4865: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4866: $as_echo_n "checking for $ac_word... " >&6; }
 4867: if ${ac_cv_prog_ac_ct_FC+:} false; then :
 4868:   $as_echo_n "(cached) " >&6
 4869: else
 4870:   if test -n "$ac_ct_FC"; then
 4871:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4872: else
 4873: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4874: for as_dir in $PATH
 4875: do
 4876:   IFS=$as_save_IFS
 4877:   test -z "$as_dir" && as_dir=.
 4878:     for ac_exec_ext in '' $ac_executable_extensions; do
 4879:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4880:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4881:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4882:     break 2
 4883:   fi
 4884: done
 4885:   done
 4886: IFS=$as_save_IFS
 4887: 
 4888: fi
 4889: fi
 4890: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4891: if test -n "$ac_ct_FC"; then
 4892:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4893: $as_echo "$ac_ct_FC" >&6; }
 4894: else
 4895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4896: $as_echo "no" >&6; }
 4897: fi
 4898: 
 4899: 
 4900:   test -n "$ac_ct_FC" && break
 4901: done
 4902: 
 4903:   if test "x$ac_ct_FC" = x; then
 4904:     FC=""
 4905:   else
 4906:     case $cross_compiling:$ac_tool_warned in
 4907: yes:)
 4908: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4909: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4910: ac_tool_warned=yes ;;
 4911: esac
 4912:     FC=$ac_ct_FC
 4913:   fi
 4914: fi
 4915: 
 4916: 
 4917: # Provide some information about the compiler.
 4918: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4919: set X $ac_compile
 4920: ac_compiler=$2
 4921: for ac_option in --version -v -V -qversion; do
 4922:   { { ac_try="$ac_compiler $ac_option >&5"
 4923: case "(($ac_try" in
 4924:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4925:   *) ac_try_echo=$ac_try;;
 4926: esac
 4927: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4928: $as_echo "$ac_try_echo"; } >&5
 4929:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4930:   ac_status=$?
 4931:   if test -s conftest.err; then
 4932:     sed '10a\
 4933: ... rest of stderr output deleted ...
 4934:          10q' conftest.err >conftest.er1
 4935:     cat conftest.er1 >&5
 4936:   fi
 4937:   rm -f conftest.er1 conftest.err
 4938:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4939:   test $ac_status = 0; }
 4940: done
 4941: rm -f a.out
 4942: 
 4943: # If we don't use `.F' as extension, the preprocessor is not run on the
 4944: # input file.  (Note that this only needs to work for GNU compilers.)
 4945: ac_save_ext=$ac_ext
 4946: ac_ext=F
 4947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 4948: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 4949: if ${ac_cv_fc_compiler_gnu+:} false; then :
 4950:   $as_echo_n "(cached) " >&6
 4951: else
 4952:   cat > conftest.$ac_ext <<_ACEOF
 4953:       program main
 4954: #ifndef __GNUC__
 4955:        choke me
 4956: #endif
 4957: 
 4958:       end
 4959: _ACEOF
 4960: if ac_fn_fc_try_compile "$LINENO"; then :
 4961:   ac_compiler_gnu=yes
 4962: else
 4963:   ac_compiler_gnu=no
 4964: fi
 4965: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4966: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 4967: 
 4968: fi
 4969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 4970: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 4971: ac_ext=$ac_save_ext
 4972: ac_test_FCFLAGS=${FCFLAGS+set}
 4973: ac_save_FCFLAGS=$FCFLAGS
 4974: FCFLAGS=
 4975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 4976: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 4977: if ${ac_cv_prog_fc_g+:} false; then :
 4978:   $as_echo_n "(cached) " >&6
 4979: else
 4980:   FCFLAGS=-g
 4981: cat > conftest.$ac_ext <<_ACEOF
 4982:       program main
 4983: 
 4984:       end
 4985: _ACEOF
 4986: if ac_fn_fc_try_compile "$LINENO"; then :
 4987:   ac_cv_prog_fc_g=yes
 4988: else
 4989:   ac_cv_prog_fc_g=no
 4990: fi
 4991: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4992: 
 4993: fi
 4994: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 4995: $as_echo "$ac_cv_prog_fc_g" >&6; }
 4996: if test "$ac_test_FCFLAGS" = set; then
 4997:   FCFLAGS=$ac_save_FCFLAGS
 4998: elif test $ac_cv_prog_fc_g = yes; then
 4999:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 5000:     FCFLAGS="-g -O2"
 5001:   else
 5002:     FCFLAGS="-g"
 5003:   fi
 5004: else
 5005:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 5006:     FCFLAGS="-O2"
 5007:   else
 5008:     FCFLAGS=
 5009:   fi
 5010: fi
 5011: 
 5012: ac_ext=c
 5013: ac_cpp='$CPP $CPPFLAGS'
 5014: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5015: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5016: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5017: 
 5018: 
 5019: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
 5020:     as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 5021: fi
 5022: 
 5023: if test x"$FC" != x""; then
 5024:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5025:             awk -F. '{ printf("%s", $1);}'`
 5026:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 5027:             awk -F. '{ printf("%s", $2);}'`
 5028:     if test $GCC_VERSION_MAJEURE -ge 5; then
 5029:         OPTIMISATION_F=-O3
 5030:     else
 5031:         if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 5032:             OPTIMISATION_F=-O3
 5033:         else
 5034:             if test $GCC_VERSION_MAJEURE -ge 3; then
 5035:                 OPTIMISATION_F=-O2
 5036:             else
 5037:                 as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
 5038:             fi
 5039:         fi
 5040:     fi
 5041: fi
 5042: 
 5043: 
 5044: ac_ext=c
 5045: ac_cpp='$CPP $CPPFLAGS'
 5046: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5047: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5048: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5049: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 5050: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 5051: # On Suns, sometimes $CPP names a directory.
 5052: if test -n "$CPP" && test -d "$CPP"; then
 5053:   CPP=
 5054: fi
 5055: if test -z "$CPP"; then
 5056:   if ${ac_cv_prog_CPP+:} false; then :
 5057:   $as_echo_n "(cached) " >&6
 5058: else
 5059:       # Double quotes because CPP needs to be expanded
 5060:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5061:     do
 5062:       ac_preproc_ok=false
 5063: for ac_c_preproc_warn_flag in '' yes
 5064: do
 5065:   # Use a header file that comes with gcc, so configuring glibc
 5066:   # with a fresh cross-compiler works.
 5067:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5068:   # <limits.h> exists even on freestanding compilers.
 5069:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5070:   # not just through cpp. "Syntax error" is here to catch this case.
 5071:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5072: /* end confdefs.h.  */
 5073: #ifdef __STDC__
 5074: # include <limits.h>
 5075: #else
 5076: # include <assert.h>
 5077: #endif
 5078:              Syntax error
 5079: _ACEOF
 5080: if ac_fn_c_try_cpp "$LINENO"; then :
 5081: 
 5082: else
 5083:   # Broken: fails on valid input.
 5084: continue
 5085: fi
 5086: rm -f conftest.err conftest.i conftest.$ac_ext
 5087: 
 5088:   # OK, works on sane cases.  Now check whether nonexistent headers
 5089:   # can be detected and how.
 5090:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5091: /* end confdefs.h.  */
 5092: #include <ac_nonexistent.h>
 5093: _ACEOF
 5094: if ac_fn_c_try_cpp "$LINENO"; then :
 5095:   # Broken: success on invalid input.
 5096: continue
 5097: else
 5098:   # Passes both tests.
 5099: ac_preproc_ok=:
 5100: break
 5101: fi
 5102: rm -f conftest.err conftest.i conftest.$ac_ext
 5103: 
 5104: done
 5105: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5106: rm -f conftest.i conftest.err conftest.$ac_ext
 5107: if $ac_preproc_ok; then :
 5108:   break
 5109: fi
 5110: 
 5111:     done
 5112:     ac_cv_prog_CPP=$CPP
 5113: 
 5114: fi
 5115:   CPP=$ac_cv_prog_CPP
 5116: else
 5117:   ac_cv_prog_CPP=$CPP
 5118: fi
 5119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5120: $as_echo "$CPP" >&6; }
 5121: ac_preproc_ok=false
 5122: for ac_c_preproc_warn_flag in '' yes
 5123: do
 5124:   # Use a header file that comes with gcc, so configuring glibc
 5125:   # with a fresh cross-compiler works.
 5126:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5127:   # <limits.h> exists even on freestanding compilers.
 5128:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5129:   # not just through cpp. "Syntax error" is here to catch this case.
 5130:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5131: /* end confdefs.h.  */
 5132: #ifdef __STDC__
 5133: # include <limits.h>
 5134: #else
 5135: # include <assert.h>
 5136: #endif
 5137:              Syntax error
 5138: _ACEOF
 5139: if ac_fn_c_try_cpp "$LINENO"; then :
 5140: 
 5141: else
 5142:   # Broken: fails on valid input.
 5143: continue
 5144: fi
 5145: rm -f conftest.err conftest.i conftest.$ac_ext
 5146: 
 5147:   # OK, works on sane cases.  Now check whether nonexistent headers
 5148:   # can be detected and how.
 5149:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5150: /* end confdefs.h.  */
 5151: #include <ac_nonexistent.h>
 5152: _ACEOF
 5153: if ac_fn_c_try_cpp "$LINENO"; then :
 5154:   # Broken: success on invalid input.
 5155: continue
 5156: else
 5157:   # Passes both tests.
 5158: ac_preproc_ok=:
 5159: break
 5160: fi
 5161: rm -f conftest.err conftest.i conftest.$ac_ext
 5162: 
 5163: done
 5164: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5165: rm -f conftest.i conftest.err conftest.$ac_ext
 5166: if $ac_preproc_ok; then :
 5167: 
 5168: else
 5169:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5170: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5171: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5172: See \`config.log' for more details" "$LINENO" 5; }
 5173: fi
 5174: 
 5175: ac_ext=c
 5176: ac_cpp='$CPP $CPPFLAGS'
 5177: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5178: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5179: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5180: 
 5181: 
 5182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5183: $as_echo_n "checking for X... " >&6; }
 5184: 
 5185: 
 5186: # Check whether --with-x was given.
 5187: if test "${with_x+set}" = set; then :
 5188:   withval=$with_x;
 5189: fi
 5190: 
 5191: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5192: if test "x$with_x" = xno; then
 5193:   # The user explicitly disabled X.
 5194:   have_x=disabled
 5195: else
 5196:   case $x_includes,$x_libraries in #(
 5197:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 5198:     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 5199:   $as_echo_n "(cached) " >&6
 5200: else
 5201:   # One or both of the vars are not set, and there is no cached value.
 5202: ac_x_includes=no ac_x_libraries=no
 5203: rm -f -r conftest.dir
 5204: if mkdir conftest.dir; then
 5205:   cd conftest.dir
 5206:   cat >Imakefile <<'_ACEOF'
 5207: incroot:
 5208:     @echo incroot='${INCROOT}'
 5209: usrlibdir:
 5210:     @echo usrlibdir='${USRLIBDIR}'
 5211: libdir:
 5212:     @echo libdir='${LIBDIR}'
 5213: _ACEOF
 5214:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5215:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 5216:     for ac_var in incroot usrlibdir libdir; do
 5217:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5218:     done
 5219:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5220:     for ac_extension in a so sl dylib la dll; do
 5221:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5222:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5223:     ac_im_usrlibdir=$ac_im_libdir; break
 5224:       fi
 5225:     done
 5226:     # Screen out bogus values from the imake configuration.  They are
 5227:     # bogus both because they are the default anyway, and because
 5228:     # using them would break gcc on systems where it needs fixed includes.
 5229:     case $ac_im_incroot in
 5230:     /usr/include) ac_x_includes= ;;
 5231:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5232:     esac
 5233:     case $ac_im_usrlibdir in
 5234:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5235:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5236:     esac
 5237:   fi
 5238:   cd ..
 5239:   rm -f -r conftest.dir
 5240: fi
 5241: 
 5242: # Standard set of common directories for X headers.
 5243: # Check X11 before X11Rn because it is often a symlink to the current release.
 5244: ac_x_header_dirs='
 5245: /usr/X11/include
 5246: /usr/X11R7/include
 5247: /usr/X11R6/include
 5248: /usr/X11R5/include
 5249: /usr/X11R4/include
 5250: 
 5251: /usr/include/X11
 5252: /usr/include/X11R7
 5253: /usr/include/X11R6
 5254: /usr/include/X11R5
 5255: /usr/include/X11R4
 5256: 
 5257: /usr/local/X11/include
 5258: /usr/local/X11R7/include
 5259: /usr/local/X11R6/include
 5260: /usr/local/X11R5/include
 5261: /usr/local/X11R4/include
 5262: 
 5263: /usr/local/include/X11
 5264: /usr/local/include/X11R7
 5265: /usr/local/include/X11R6
 5266: /usr/local/include/X11R5
 5267: /usr/local/include/X11R4
 5268: 
 5269: /usr/X386/include
 5270: /usr/x386/include
 5271: /usr/XFree86/include/X11
 5272: 
 5273: /usr/include
 5274: /usr/local/include
 5275: /usr/unsupported/include
 5276: /usr/athena/include
 5277: /usr/local/x11r5/include
 5278: /usr/lpp/Xamples/include
 5279: 
 5280: /usr/openwin/include
 5281: /usr/openwin/share/include'
 5282: 
 5283: if test "$ac_x_includes" = no; then
 5284:   # Guess where to find include files, by looking for Xlib.h.
 5285:   # First, try using that file with no special directory specified.
 5286:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5287: /* end confdefs.h.  */
 5288: #include <X11/Xlib.h>
 5289: _ACEOF
 5290: if ac_fn_c_try_cpp "$LINENO"; then :
 5291:   # We can compile using X headers with no special include directory.
 5292: ac_x_includes=
 5293: else
 5294:   for ac_dir in $ac_x_header_dirs; do
 5295:   if test -r "$ac_dir/X11/Xlib.h"; then
 5296:     ac_x_includes=$ac_dir
 5297:     break
 5298:   fi
 5299: done
 5300: fi
 5301: rm -f conftest.err conftest.i conftest.$ac_ext
 5302: fi # $ac_x_includes = no
 5303: 
 5304: if test "$ac_x_libraries" = no; then
 5305:   # Check for the libraries.
 5306:   # See if we find them without any special options.
 5307:   # Don't add to $LIBS permanently.
 5308:   ac_save_LIBS=$LIBS
 5309:   LIBS="-lX11 $LIBS"
 5310:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5311: /* end confdefs.h.  */
 5312: #include <X11/Xlib.h>
 5313: int
 5314: main ()
 5315: {
 5316: XrmInitialize ()
 5317:   ;
 5318:   return 0;
 5319: }
 5320: _ACEOF
 5321: if ac_fn_c_try_link "$LINENO"; then :
 5322:   LIBS=$ac_save_LIBS
 5323: # We can link X programs with no special library path.
 5324: ac_x_libraries=
 5325: else
 5326:   LIBS=$ac_save_LIBS
 5327: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5328: do
 5329:   # Don't even attempt the hair of trying to link an X program!
 5330:   for ac_extension in a so sl dylib la dll; do
 5331:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5332:       ac_x_libraries=$ac_dir
 5333:       break 2
 5334:     fi
 5335:   done
 5336: done
 5337: fi
 5338: rm -f core conftest.err conftest.$ac_objext \
 5339:     conftest$ac_exeext conftest.$ac_ext
 5340: fi # $ac_x_libraries = no
 5341: 
 5342: case $ac_x_includes,$ac_x_libraries in #(
 5343:   no,* | *,no | *\'*)
 5344:     # Didn't find X, or a directory has "'" in its name.
 5345:     ac_cv_have_x="have_x=no";; #(
 5346:   *)
 5347:     # Record where we found X for the cache.
 5348:     ac_cv_have_x="have_x=yes\
 5349:     ac_x_includes='$ac_x_includes'\
 5350:     ac_x_libraries='$ac_x_libraries'"
 5351: esac
 5352: fi
 5353: ;; #(
 5354:     *) have_x=yes;;
 5355:   esac
 5356:   eval "$ac_cv_have_x"
 5357: fi # $with_x != no
 5358: 
 5359: if test "$have_x" != yes; then
 5360:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5361: $as_echo "$have_x" >&6; }
 5362:   no_x=yes
 5363: else
 5364:   # If each of the values was on the command line, it overrides each guess.
 5365:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5366:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5367:   # Update the cache value to reflect the command line values.
 5368:   ac_cv_have_x="have_x=yes\
 5369:     ac_x_includes='$x_includes'\
 5370:     ac_x_libraries='$x_libraries'"
 5371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5372: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5373: fi
 5374: 
 5375: if test "$no_x" = yes; then
 5376:   # Not all programs may use this symbol, but it does not hurt to define it.
 5377: 
 5378: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5379: 
 5380:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5381: else
 5382:   if test -n "$x_includes"; then
 5383:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5384:   fi
 5385: 
 5386:   # It would also be nice to do this for all -L options, not just this one.
 5387:   if test -n "$x_libraries"; then
 5388:     X_LIBS="$X_LIBS -L$x_libraries"
 5389:     # For Solaris; some versions of Sun CC require a space after -R and
 5390:     # others require no space.  Words are not sufficient . . . .
 5391:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5392: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5393:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5394:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5395:     ac_c_werror_flag=yes
 5396:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5397: /* end confdefs.h.  */
 5398: 
 5399: int
 5400: main ()
 5401: {
 5402: 
 5403:   ;
 5404:   return 0;
 5405: }
 5406: _ACEOF
 5407: if ac_fn_c_try_link "$LINENO"; then :
 5408:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5409: $as_echo "no" >&6; }
 5410:        X_LIBS="$X_LIBS -R$x_libraries"
 5411: else
 5412:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5413:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5414: /* end confdefs.h.  */
 5415: 
 5416: int
 5417: main ()
 5418: {
 5419: 
 5420:   ;
 5421:   return 0;
 5422: }
 5423: _ACEOF
 5424: if ac_fn_c_try_link "$LINENO"; then :
 5425:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5426: $as_echo "yes" >&6; }
 5427:       X_LIBS="$X_LIBS -R $x_libraries"
 5428: else
 5429:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5430: $as_echo "neither works" >&6; }
 5431: fi
 5432: rm -f core conftest.err conftest.$ac_objext \
 5433:     conftest$ac_exeext conftest.$ac_ext
 5434: fi
 5435: rm -f core conftest.err conftest.$ac_objext \
 5436:     conftest$ac_exeext conftest.$ac_ext
 5437:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5438:     LIBS=$ac_xsave_LIBS
 5439:   fi
 5440: 
 5441:   # Check for system-dependent libraries X programs must link with.
 5442:   # Do this before checking for the system-independent R6 libraries
 5443:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5444: 
 5445:   if test "$ISC" = yes; then
 5446:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5447:   else
 5448:     # Martyn Johnson says this is needed for Ultrix, if the X
 5449:     # libraries were built with DECnet support.  And Karl Berry says
 5450:     # the Alpha needs dnet_stub (dnet does not exist).
 5451:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5452:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5453: /* end confdefs.h.  */
 5454: 
 5455: /* Override any GCC internal prototype to avoid an error.
 5456:    Use char because int might match the return type of a GCC
 5457:    builtin and then its argument prototype would still apply.  */
 5458: #ifdef __cplusplus
 5459: extern "C"
 5460: #endif
 5461: char XOpenDisplay ();
 5462: int
 5463: main ()
 5464: {
 5465: return XOpenDisplay ();
 5466:   ;
 5467:   return 0;
 5468: }
 5469: _ACEOF
 5470: if ac_fn_c_try_link "$LINENO"; then :
 5471: 
 5472: else
 5473:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5474: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5475: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
 5476:   $as_echo_n "(cached) " >&6
 5477: else
 5478:   ac_check_lib_save_LIBS=$LIBS
 5479: LIBS="-ldnet  $LIBS"
 5480: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5481: /* end confdefs.h.  */
 5482: 
 5483: /* Override any GCC internal prototype to avoid an error.
 5484:    Use char because int might match the return type of a GCC
 5485:    builtin and then its argument prototype would still apply.  */
 5486: #ifdef __cplusplus
 5487: extern "C"
 5488: #endif
 5489: char dnet_ntoa ();
 5490: int
 5491: main ()
 5492: {
 5493: return dnet_ntoa ();
 5494:   ;
 5495:   return 0;
 5496: }
 5497: _ACEOF
 5498: if ac_fn_c_try_link "$LINENO"; then :
 5499:   ac_cv_lib_dnet_dnet_ntoa=yes
 5500: else
 5501:   ac_cv_lib_dnet_dnet_ntoa=no
 5502: fi
 5503: rm -f core conftest.err conftest.$ac_objext \
 5504:     conftest$ac_exeext conftest.$ac_ext
 5505: LIBS=$ac_check_lib_save_LIBS
 5506: fi
 5507: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5508: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5509: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
 5510:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5511: fi
 5512: 
 5513:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5514:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5515: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5516: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
 5517:   $as_echo_n "(cached) " >&6
 5518: else
 5519:   ac_check_lib_save_LIBS=$LIBS
 5520: LIBS="-ldnet_stub  $LIBS"
 5521: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5522: /* end confdefs.h.  */
 5523: 
 5524: /* Override any GCC internal prototype to avoid an error.
 5525:    Use char because int might match the return type of a GCC
 5526:    builtin and then its argument prototype would still apply.  */
 5527: #ifdef __cplusplus
 5528: extern "C"
 5529: #endif
 5530: char dnet_ntoa ();
 5531: int
 5532: main ()
 5533: {
 5534: return dnet_ntoa ();
 5535:   ;
 5536:   return 0;
 5537: }
 5538: _ACEOF
 5539: if ac_fn_c_try_link "$LINENO"; then :
 5540:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5541: else
 5542:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5543: fi
 5544: rm -f core conftest.err conftest.$ac_objext \
 5545:     conftest$ac_exeext conftest.$ac_ext
 5546: LIBS=$ac_check_lib_save_LIBS
 5547: fi
 5548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5549: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5550: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
 5551:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5552: fi
 5553: 
 5554:     fi
 5555: fi
 5556: rm -f core conftest.err conftest.$ac_objext \
 5557:     conftest$ac_exeext conftest.$ac_ext
 5558:     LIBS="$ac_xsave_LIBS"
 5559: 
 5560:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5561:     # to get the SysV transport functions.
 5562:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5563:     # needs -lnsl.
 5564:     # The nsl library prevents programs from opening the X display
 5565:     # on Irix 5.2, according to T.E. Dickey.
 5566:     # The functions gethostbyname, getservbyname, and inet_addr are
 5567:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5568:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5569: if test "x$ac_cv_func_gethostbyname" = xyes; then :
 5570: 
 5571: fi
 5572: 
 5573:     if test $ac_cv_func_gethostbyname = no; then
 5574:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5575: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5576: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 5577:   $as_echo_n "(cached) " >&6
 5578: else
 5579:   ac_check_lib_save_LIBS=$LIBS
 5580: LIBS="-lnsl  $LIBS"
 5581: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5582: /* end confdefs.h.  */
 5583: 
 5584: /* Override any GCC internal prototype to avoid an error.
 5585:    Use char because int might match the return type of a GCC
 5586:    builtin and then its argument prototype would still apply.  */
 5587: #ifdef __cplusplus
 5588: extern "C"
 5589: #endif
 5590: char gethostbyname ();
 5591: int
 5592: main ()
 5593: {
 5594: return gethostbyname ();
 5595:   ;
 5596:   return 0;
 5597: }
 5598: _ACEOF
 5599: if ac_fn_c_try_link "$LINENO"; then :
 5600:   ac_cv_lib_nsl_gethostbyname=yes
 5601: else
 5602:   ac_cv_lib_nsl_gethostbyname=no
 5603: fi
 5604: rm -f core conftest.err conftest.$ac_objext \
 5605:     conftest$ac_exeext conftest.$ac_ext
 5606: LIBS=$ac_check_lib_save_LIBS
 5607: fi
 5608: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5609: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5610: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 5611:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5612: fi
 5613: 
 5614:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5615:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5616: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5617: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
 5618:   $as_echo_n "(cached) " >&6
 5619: else
 5620:   ac_check_lib_save_LIBS=$LIBS
 5621: LIBS="-lbsd  $LIBS"
 5622: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5623: /* end confdefs.h.  */
 5624: 
 5625: /* Override any GCC internal prototype to avoid an error.
 5626:    Use char because int might match the return type of a GCC
 5627:    builtin and then its argument prototype would still apply.  */
 5628: #ifdef __cplusplus
 5629: extern "C"
 5630: #endif
 5631: char gethostbyname ();
 5632: int
 5633: main ()
 5634: {
 5635: return gethostbyname ();
 5636:   ;
 5637:   return 0;
 5638: }
 5639: _ACEOF
 5640: if ac_fn_c_try_link "$LINENO"; then :
 5641:   ac_cv_lib_bsd_gethostbyname=yes
 5642: else
 5643:   ac_cv_lib_bsd_gethostbyname=no
 5644: fi
 5645: rm -f core conftest.err conftest.$ac_objext \
 5646:     conftest$ac_exeext conftest.$ac_ext
 5647: LIBS=$ac_check_lib_save_LIBS
 5648: fi
 5649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5650: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5651: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
 5652:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5653: fi
 5654: 
 5655:       fi
 5656:     fi
 5657: 
 5658:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5659:     # socket/setsockopt and other routines are undefined under SCO ODT
 5660:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5661:     # on later versions), says Simon Leinen: it contains gethostby*
 5662:     # variants that don't use the name server (or something).  -lsocket
 5663:     # must be given before -lnsl if both are needed.  We assume that
 5664:     # if connect needs -lnsl, so does gethostbyname.
 5665:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5666: if test "x$ac_cv_func_connect" = xyes; then :
 5667: 
 5668: fi
 5669: 
 5670:     if test $ac_cv_func_connect = no; then
 5671:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5672: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5673: if ${ac_cv_lib_socket_connect+:} false; then :
 5674:   $as_echo_n "(cached) " >&6
 5675: else
 5676:   ac_check_lib_save_LIBS=$LIBS
 5677: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5678: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5679: /* end confdefs.h.  */
 5680: 
 5681: /* Override any GCC internal prototype to avoid an error.
 5682:    Use char because int might match the return type of a GCC
 5683:    builtin and then its argument prototype would still apply.  */
 5684: #ifdef __cplusplus
 5685: extern "C"
 5686: #endif
 5687: char connect ();
 5688: int
 5689: main ()
 5690: {
 5691: return connect ();
 5692:   ;
 5693:   return 0;
 5694: }
 5695: _ACEOF
 5696: if ac_fn_c_try_link "$LINENO"; then :
 5697:   ac_cv_lib_socket_connect=yes
 5698: else
 5699:   ac_cv_lib_socket_connect=no
 5700: fi
 5701: rm -f core conftest.err conftest.$ac_objext \
 5702:     conftest$ac_exeext conftest.$ac_ext
 5703: LIBS=$ac_check_lib_save_LIBS
 5704: fi
 5705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5706: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5707: if test "x$ac_cv_lib_socket_connect" = xyes; then :
 5708:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5709: fi
 5710: 
 5711:     fi
 5712: 
 5713:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5714:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5715: if test "x$ac_cv_func_remove" = xyes; then :
 5716: 
 5717: fi
 5718: 
 5719:     if test $ac_cv_func_remove = no; then
 5720:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5721: $as_echo_n "checking for remove in -lposix... " >&6; }
 5722: if ${ac_cv_lib_posix_remove+:} false; then :
 5723:   $as_echo_n "(cached) " >&6
 5724: else
 5725:   ac_check_lib_save_LIBS=$LIBS
 5726: LIBS="-lposix  $LIBS"
 5727: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5728: /* end confdefs.h.  */
 5729: 
 5730: /* Override any GCC internal prototype to avoid an error.
 5731:    Use char because int might match the return type of a GCC
 5732:    builtin and then its argument prototype would still apply.  */
 5733: #ifdef __cplusplus
 5734: extern "C"
 5735: #endif
 5736: char remove ();
 5737: int
 5738: main ()
 5739: {
 5740: return remove ();
 5741:   ;
 5742:   return 0;
 5743: }
 5744: _ACEOF
 5745: if ac_fn_c_try_link "$LINENO"; then :
 5746:   ac_cv_lib_posix_remove=yes
 5747: else
 5748:   ac_cv_lib_posix_remove=no
 5749: fi
 5750: rm -f core conftest.err conftest.$ac_objext \
 5751:     conftest$ac_exeext conftest.$ac_ext
 5752: LIBS=$ac_check_lib_save_LIBS
 5753: fi
 5754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5755: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5756: if test "x$ac_cv_lib_posix_remove" = xyes; then :
 5757:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5758: fi
 5759: 
 5760:     fi
 5761: 
 5762:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5763:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5764: if test "x$ac_cv_func_shmat" = xyes; then :
 5765: 
 5766: fi
 5767: 
 5768:     if test $ac_cv_func_shmat = no; then
 5769:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5770: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5771: if ${ac_cv_lib_ipc_shmat+:} false; then :
 5772:   $as_echo_n "(cached) " >&6
 5773: else
 5774:   ac_check_lib_save_LIBS=$LIBS
 5775: LIBS="-lipc  $LIBS"
 5776: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5777: /* end confdefs.h.  */
 5778: 
 5779: /* Override any GCC internal prototype to avoid an error.
 5780:    Use char because int might match the return type of a GCC
 5781:    builtin and then its argument prototype would still apply.  */
 5782: #ifdef __cplusplus
 5783: extern "C"
 5784: #endif
 5785: char shmat ();
 5786: int
 5787: main ()
 5788: {
 5789: return shmat ();
 5790:   ;
 5791:   return 0;
 5792: }
 5793: _ACEOF
 5794: if ac_fn_c_try_link "$LINENO"; then :
 5795:   ac_cv_lib_ipc_shmat=yes
 5796: else
 5797:   ac_cv_lib_ipc_shmat=no
 5798: fi
 5799: rm -f core conftest.err conftest.$ac_objext \
 5800:     conftest$ac_exeext conftest.$ac_ext
 5801: LIBS=$ac_check_lib_save_LIBS
 5802: fi
 5803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5804: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5805: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
 5806:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5807: fi
 5808: 
 5809:     fi
 5810:   fi
 5811: 
 5812:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5813:   ac_save_LDFLAGS=$LDFLAGS
 5814:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5815:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5816:   # check for ICE first), but we must link in the order -lSM -lICE or
 5817:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5818:   # These have to be linked with before -lX11, unlike the other
 5819:   # libraries we check for below, so use a different variable.
 5820:   # John Interrante, Karl Berry
 5821:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5822: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5823: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
 5824:   $as_echo_n "(cached) " >&6
 5825: else
 5826:   ac_check_lib_save_LIBS=$LIBS
 5827: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 5828: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5829: /* end confdefs.h.  */
 5830: 
 5831: /* Override any GCC internal prototype to avoid an error.
 5832:    Use char because int might match the return type of a GCC
 5833:    builtin and then its argument prototype would still apply.  */
 5834: #ifdef __cplusplus
 5835: extern "C"
 5836: #endif
 5837: char IceConnectionNumber ();
 5838: int
 5839: main ()
 5840: {
 5841: return IceConnectionNumber ();
 5842:   ;
 5843:   return 0;
 5844: }
 5845: _ACEOF
 5846: if ac_fn_c_try_link "$LINENO"; then :
 5847:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5848: else
 5849:   ac_cv_lib_ICE_IceConnectionNumber=no
 5850: fi
 5851: rm -f core conftest.err conftest.$ac_objext \
 5852:     conftest$ac_exeext conftest.$ac_ext
 5853: LIBS=$ac_check_lib_save_LIBS
 5854: fi
 5855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 5856: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5857: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
 5858:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5859: fi
 5860: 
 5861:   LDFLAGS=$ac_save_LDFLAGS
 5862: 
 5863: fi
 5864: 
 5865: 
 5866: if test "$ac_x_includes" != "no"; then
 5867:     if test x"$ac_x_includes" != x; then
 5868:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5869:         includeX="-I$ac_x_includes"
 5870:     fi
 5871: fi
 5872: if test "$ac_x_libraries" != "no"; then
 5873:     if test x"$ac_x_libraries" != x; then
 5874:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5875:     fi
 5876: fi
 5877: 
 5878: 
 5879: # Check whether --with-32bits was given.
 5880: if test "${with_32bits+set}" = set; then :
 5881:   withval=$with_32bits;
 5882: if test "$with-32bits-abi" = "no"; then
 5883:     ABI=
 5884: else
 5885:     ABI=-m32
 5886: fi
 5887: else
 5888: 
 5889:     ABI=
 5890: 
 5891: 
 5892: fi
 5893: 
 5894: 
 5895: if test x$ABI = x; then
 5896: 
 5897: # Check whether --with-64bits was given.
 5898: if test "${with_64bits+set}" = set; then :
 5899:   withval=$with_64bits;
 5900: if test "$with-64bits-abi" = "no"; then
 5901:     ABI=
 5902: else
 5903:     ABI=-m64
 5904: fi
 5905: else
 5906: 
 5907:     ABI=
 5908: 
 5909: 
 5910: fi
 5911: 
 5912: fi
 5913: 
 5914: 
 5915: # Check whether --with-rplcas was given.
 5916: if test "${with_rplcas+set}" = set; then :
 5917:   withval=$with_rplcas;
 5918: if test "$with-rplcas" = "no"; then
 5919:     RPLCAS=-URPLCAS
 5920:     LIBRPLCAS=
 5921: else
 5922:     RPLCAS=-DRPLCAS
 5923:     LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
 5924: fi
 5925: else
 5926: 
 5927:     RPLCAS=-URPLCAS
 5928:     LIBRPLCAS=
 5929: 
 5930: 
 5931: fi
 5932: 
 5933: 
 5934: 
 5935: 
 5936: 
 5937: 
 5938: # Check whether --enable-optimization was given.
 5939: if test "${enable_optimization+set}" = set; then :
 5940:   enableval=$enable_optimization;
 5941: if test "$enableval" = "no"; then
 5942:     CFLAGS=
 5943:     FFLAGS=
 5944:     CXXFLAGS=
 5945:     FCFLAGS=
 5946: else
 5947:     CFLAGS="$CFLAGS $enable_optimization"
 5948:     FFLAGS="$FFLAGS $enable_optimization"
 5949:     FCFLAGS="$FCFLAGS $enable_optimization"
 5950: fi
 5951: else
 5952: 
 5953:     CFLAGS="$CFLAGS $OPTIMISATION_C"
 5954:     FFLAGS="$FFLAGS $OPTIMISATION_F"
 5955:     FCFLAGS="$FCFLAGS $OPTIMISATION_F"
 5956: 
 5957: 
 5958: fi
 5959: 
 5960: 
 5961: # Check whether --enable-sysv-semaphores was given.
 5962: if test "${enable_sysv_semaphores+set}" = set; then :
 5963:   enableval=$enable_sysv_semaphores;
 5964: if test "$enableval" = "no"; then
 5965:     IPCS_SYSV=no
 5966: else
 5967:     IPCS_SYSV=yes
 5968: fi
 5969: else
 5970:   IPCS_SYSV=no
 5971: fi
 5972: 
 5973: 
 5974: # Check whether --enable-full-static was given.
 5975: if test "${enable_full_static+set}" = set; then :
 5976:   enableval=$enable_full_static;
 5977: if test "$enableval" = "no"; then
 5978:     STATIC=no
 5979: else
 5980:     STATIC=yes
 5981: fi
 5982: else
 5983:   STATIC=no
 5984: fi
 5985: 
 5986: 
 5987: # Check whether --enable-final-encoding was given.
 5988: if test "${enable_final_encoding+set}" = set; then :
 5989:   enableval=$enable_final_encoding;
 5990: if test "$enableval" = "no"; then
 5991:     FINAL_ENCODING="\$(shell locale charmap | \
 5992:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5993:     FORCED_FINAL_ENCODING=0
 5994: else
 5995:     FINAL_ENCODING="$enable_final_encoding"
 5996:     FORCED_FINAL_ENCODING=1
 5997: fi
 5998: else
 5999: 
 6000: FORCED_FINAL_ENCODING=0
 6001: FINAL_ENCODING="\$(shell locale charmap | \
 6002:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6003: fi
 6004: 
 6005: 
 6006: # Check whether --enable-tex was given.
 6007: if test "${enable_tex+set}" = set; then :
 6008:   enableval=$enable_tex;
 6009: if test "$enableval" = "no"; then
 6010:     TEX_SUPPORT=no
 6011: else
 6012:     TEX_SUPPORT=yes
 6013: fi
 6014: else
 6015:   TEX_SUPPORT=guessed
 6016: fi
 6017: 
 6018: 
 6019: # Check whether --enable-vim was given.
 6020: if test "${enable_vim+set}" = set; then :
 6021:   enableval=$enable_vim;
 6022: if test "$enableval" = "no"; then
 6023:     VIM_SUPPORT=no
 6024: else
 6025:     VIM_SUPPORT=yes
 6026: fi
 6027: else
 6028:   VIM_SUPPORT=guessed
 6029: fi
 6030: 
 6031: 
 6032: # Check whether --enable-embedded-gnuplot was given.
 6033: if test "${enable_embedded_gnuplot+set}" = set; then :
 6034:   enableval=$enable_embedded_gnuplot;
 6035: if test "$enableval" = "no"; then
 6036:     MYGNUPLOT=no
 6037: else
 6038:     MYGNUPLOT=yes
 6039: fi
 6040: else
 6041: 
 6042: MYGNUPLOT=yes
 6043: fi
 6044: 
 6045: 
 6046: # Check whether --enable-gnuplot was given.
 6047: if test "${enable_gnuplot+set}" = set; then :
 6048:   enableval=$enable_gnuplot;
 6049: if test "$enableval" = "no"; then
 6050:     GNUPLOT_SUPPORT=no
 6051:     MYGNUPLOT=no
 6052:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6053: else
 6054:     GNUPLOT_SUPPORT=yes
 6055:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6056: fi
 6057: else
 6058: 
 6059: if test "$MYGNUPLOT" = "yes"; then
 6060:     GNUPLOT_SUPPORT=yes
 6061:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6062: else
 6063:     GNUPLOT_SUPPORT=guessed
 6064:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6065: fi
 6066: fi
 6067: 
 6068: 
 6069: # Check whether --enable-motif was given.
 6070: if test "${enable_motif+set}" = set; then :
 6071:   enableval=$enable_motif;
 6072: if test "$enableval" = "no"; then
 6073:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6074: else
 6075:     CFLAGS_ORIG=$CFLAGS
 6076:     LIBS_ORIG=$LIBS
 6077:     CFLAGS="$CFLAGS $X_CFLAGS"
 6078:     LIBS="$LIB $X_LIBS"
 6079:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6080: $as_echo_n "checking for main in -lXm... " >&6; }
 6081: if ${ac_cv_lib_Xm_main+:} false; then :
 6082:   $as_echo_n "(cached) " >&6
 6083: else
 6084:   ac_check_lib_save_LIBS=$LIBS
 6085: LIBS="-lXm  $LIBS"
 6086: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6087: /* end confdefs.h.  */
 6088: 
 6089: 
 6090: int
 6091: main ()
 6092: {
 6093: return main ();
 6094:   ;
 6095:   return 0;
 6096: }
 6097: _ACEOF
 6098: if ac_fn_c_try_link "$LINENO"; then :
 6099:   ac_cv_lib_Xm_main=yes
 6100: else
 6101:   ac_cv_lib_Xm_main=no
 6102: fi
 6103: rm -f core conftest.err conftest.$ac_objext \
 6104:     conftest$ac_exeext conftest.$ac_ext
 6105: LIBS=$ac_check_lib_save_LIBS
 6106: fi
 6107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6108: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6109: if test "x$ac_cv_lib_Xm_main" = xyes; then :
 6110:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6111: else
 6112:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6113: fi
 6114: 
 6115:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6116:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
 6117: Motif flag is disabled.
 6118: " >&5
 6119: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
 6120: Motif flag is disabled.
 6121: " >&2;}
 6122:     fi
 6123:     LIBS=$LIBS_ORIG
 6124:     CFLAGS=$CFLAGS_ORIG
 6125: fi
 6126: else
 6127:   MOTIF_SUPPORT=guessed
 6128: fi
 6129: 
 6130: 
 6131: # Check whether --enable-experimental was given.
 6132: if test "${enable_experimental+set}" = set; then :
 6133:   enableval=$enable_experimental;
 6134: if test "$enableval" = "no"; then
 6135:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6136: else
 6137:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6138: fi
 6139: else
 6140:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6141: fi
 6142: 
 6143: 
 6144: # Check whether --enable-debug was given.
 6145: if test "${enable_debug+set}" = set; then :
 6146:   enableval=$enable_debug;
 6147: if test "$enableval" = "no"; then
 6148:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6149: else
 6150:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6151: fi
 6152: else
 6153:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6154: fi
 6155: 
 6156: 
 6157: # Check whether --enable-profile was given.
 6158: if test "${enable_profile+set}" = set; then :
 6159:   enableval=$enable_profile;
 6160: if test "$enableval" = "no"; then
 6161:     PROFILAGE=""
 6162: else
 6163:     PROFILAGE="-pg"
 6164: fi
 6165: else
 6166:   PROFILAGE=""
 6167: fi
 6168: 
 6169: 
 6170: 
 6171: 
 6172: if test ! -d tools; then
 6173:     mkdir tools
 6174: fi
 6175: if test ! -d "$srcdir"/tools/$NCURSES; then
 6176:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6177:             (cd "$srcdir/tools" && tar -xf -)
 6178:     (cd "$srcdir/tools/"$NCURSES && \
 6179:             for i in ../$NCURSES*.patch.gz;
 6180:             do gunzip -c $i | patch -p1;
 6181:             done);
 6182: fi
 6183: if test ! -d "$srcdir"/tools/$READLINE; then
 6184:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6185:             (cd "$srcdir/tools" && tar -xf -)
 6186: fi
 6187: if test ! -d "$srcdir"/tools/$UNITS; then
 6188:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6189:             (cd "$srcdir/tools" && tar -xf -)
 6190: fi
 6191: if test ! -d "$srcdir"/tools/$GSL; then
 6192:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6193:             (cd "$srcdir/tools" && tar -xf -)
 6194:     if test $(uname) = "OS/2"; then
 6195:         (cd "$srcdir"/tools/$GSL; \
 6196:                 TMP=$(mktemp tmp.XXXXXXXXXX); \
 6197:                 sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
 6198:                 \mv -f $TMP ltmain.sh)
 6199:     fi
 6200: fi
 6201: if test ! -d "$srcdir"/tools/$GPP; then
 6202:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6203:             (cd "$srcdir/tools" && tar -xf -)
 6204: fi
 6205: if test ! -d "$srcdir"/tools/$FILE; then
 6206:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6207:             (cd "$srcdir/tools" && tar -xf - )
 6208:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6209: fi
 6210: if test ! -d "$srcdir"/tools/$ICONV; then
 6211:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6212:             (cd "$srcdir/tools" && tar -xf -)
 6213: fi
 6214: if test ! -d "$srcdir"/tools/$SQLITE; then
 6215:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6216:             (cd "$srcdir/tools" && tar -xf -)
 6217: fi
 6218: if test ! -d tools/$OPENSSL; then
 6219:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6220:             (cd tools && tar -xf -)
 6221: fi
 6222: if test ! -d rplcas; then
 6223:     mkdir rplcas
 6224: fi
 6225: if test ! -d "$srcdir"/rplcas/$GMP; then
 6226:     gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
 6227:             (cd "$srcdir/rplcas" && tar -xf -)
 6228: fi
 6229: if test ! -d "$srcdir"/rplcas/$MPFR; then
 6230:     gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
 6231:             (cd "$srcdir/rplcas" && tar -xf -)
 6232: fi
 6233: if test ! -d rplcas/$NTL; then
 6234:     gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
 6235:             (cd rplcas && tar -xf -)
 6236: fi
 6237: if test ! -d rplcas/$COCOA; then
 6238:     gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
 6239:             (cd rplcas && tar -xf -)
 6240: fi
 6241: if test ! -d rplcas/$PARI; then
 6242:     gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
 6243:             (cd rplcas && tar -xf -)
 6244: fi
 6245: if test ! -d "$srcdir"/rplcas/$GIAC; then
 6246:     gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
 6247:             (cd "$srcdir/rplcas" && tar -xf -)
 6248: fi
 6249: 
 6250: 
 6251: 
 6252: # Check whether --enable-final-run-path was given.
 6253: if test "${enable_final_run_path+set}" = set; then :
 6254:   enableval=$enable_final_run_path;
 6255:     if test "x$enable_final_run_path" = "x"; then
 6256:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6257: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6258:         as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
 6259:     else
 6260:         RUNPATH="$enable_final_run_path"
 6261:     fi
 6262: 
 6263: else
 6264:   RUNPATH="\${prefix}"
 6265: 
 6266: fi
 6267: 
 6268: 
 6269: 
 6270: 
 6271: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6272: $as_echo_n "checking whether ln -s works... " >&6; }
 6273: LN_S=$as_ln_s
 6274: if test "$LN_S" = "ln -s"; then
 6275:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6276: $as_echo "yes" >&6; }
 6277: else
 6278:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6279: $as_echo "no, using $LN_S" >&6; }
 6280: fi
 6281: 
 6282: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6283: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6284: set x ${MAKE-make}
 6285: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6286: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 6287:   $as_echo_n "(cached) " >&6
 6288: else
 6289:   cat >conftest.make <<\_ACEOF
 6290: SHELL = /bin/sh
 6291: all:
 6292:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6293: _ACEOF
 6294: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 6295: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6296:   *@@@%%%=?*=@@@%%%*)
 6297:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6298:   *)
 6299:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6300: esac
 6301: rm -f conftest.make
 6302: fi
 6303: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6305: $as_echo "yes" >&6; }
 6306:   SET_MAKE=
 6307: else
 6308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6309: $as_echo "no" >&6; }
 6310:   SET_MAKE="MAKE=${MAKE-make}"
 6311: fi
 6312: 
 6313: if test -n "$ac_tool_prefix"; then
 6314:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6315: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6316: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6317: $as_echo_n "checking for $ac_word... " >&6; }
 6318: if ${ac_cv_prog_RANLIB+:} false; then :
 6319:   $as_echo_n "(cached) " >&6
 6320: else
 6321:   if test -n "$RANLIB"; then
 6322:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6323: else
 6324: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6325: for as_dir in $PATH
 6326: do
 6327:   IFS=$as_save_IFS
 6328:   test -z "$as_dir" && as_dir=.
 6329:     for ac_exec_ext in '' $ac_executable_extensions; do
 6330:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6331:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6332:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6333:     break 2
 6334:   fi
 6335: done
 6336:   done
 6337: IFS=$as_save_IFS
 6338: 
 6339: fi
 6340: fi
 6341: RANLIB=$ac_cv_prog_RANLIB
 6342: if test -n "$RANLIB"; then
 6343:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6344: $as_echo "$RANLIB" >&6; }
 6345: else
 6346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6347: $as_echo "no" >&6; }
 6348: fi
 6349: 
 6350: 
 6351: fi
 6352: if test -z "$ac_cv_prog_RANLIB"; then
 6353:   ac_ct_RANLIB=$RANLIB
 6354:   # Extract the first word of "ranlib", so it can be a program name with args.
 6355: set dummy ranlib; ac_word=$2
 6356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6357: $as_echo_n "checking for $ac_word... " >&6; }
 6358: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 6359:   $as_echo_n "(cached) " >&6
 6360: else
 6361:   if test -n "$ac_ct_RANLIB"; then
 6362:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6363: else
 6364: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6365: for as_dir in $PATH
 6366: do
 6367:   IFS=$as_save_IFS
 6368:   test -z "$as_dir" && as_dir=.
 6369:     for ac_exec_ext in '' $ac_executable_extensions; do
 6370:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6371:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6372:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6373:     break 2
 6374:   fi
 6375: done
 6376:   done
 6377: IFS=$as_save_IFS
 6378: 
 6379: fi
 6380: fi
 6381: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6382: if test -n "$ac_ct_RANLIB"; then
 6383:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6384: $as_echo "$ac_ct_RANLIB" >&6; }
 6385: else
 6386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6387: $as_echo "no" >&6; }
 6388: fi
 6389: 
 6390:   if test "x$ac_ct_RANLIB" = x; then
 6391:     RANLIB=":"
 6392:   else
 6393:     case $cross_compiling:$ac_tool_warned in
 6394: yes:)
 6395: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6396: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6397: ac_tool_warned=yes ;;
 6398: esac
 6399:     RANLIB=$ac_ct_RANLIB
 6400:   fi
 6401: else
 6402:   RANLIB="$ac_cv_prog_RANLIB"
 6403: fi
 6404: 
 6405: 
 6406: # Extract the first word of "nawk", so it can be a program name with args.
 6407: set dummy nawk; ac_word=$2
 6408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6409: $as_echo_n "checking for $ac_word... " >&6; }
 6410: if ${ac_cv_prog_AWK+:} false; then :
 6411:   $as_echo_n "(cached) " >&6
 6412: else
 6413:   if test -n "$AWK"; then
 6414:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6415: else
 6416: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6417: for as_dir in $PATH
 6418: do
 6419:   IFS=$as_save_IFS
 6420:   test -z "$as_dir" && as_dir=.
 6421:     for ac_exec_ext in '' $ac_executable_extensions; do
 6422:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6423:     ac_cv_prog_AWK="yes"
 6424:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6425:     break 2
 6426:   fi
 6427: done
 6428:   done
 6429: IFS=$as_save_IFS
 6430: 
 6431:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6432: fi
 6433: fi
 6434: AWK=$ac_cv_prog_AWK
 6435: if test -n "$AWK"; then
 6436:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6437: $as_echo "$AWK" >&6; }
 6438: else
 6439:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6440: $as_echo "no" >&6; }
 6441: fi
 6442: 
 6443: 
 6444: if test "$AWK" = no; then
 6445:     # Extract the first word of "gawk", so it can be a program name with args.
 6446: set dummy gawk; ac_word=$2
 6447: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6448: $as_echo_n "checking for $ac_word... " >&6; }
 6449: if ${ac_cv_prog_AWK+:} false; then :
 6450:   $as_echo_n "(cached) " >&6
 6451: else
 6452:   if test -n "$AWK"; then
 6453:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6454: else
 6455: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6456: for as_dir in $PATH
 6457: do
 6458:   IFS=$as_save_IFS
 6459:   test -z "$as_dir" && as_dir=.
 6460:     for ac_exec_ext in '' $ac_executable_extensions; do
 6461:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6462:     ac_cv_prog_AWK="yes"
 6463:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6464:     break 2
 6465:   fi
 6466: done
 6467:   done
 6468: IFS=$as_save_IFS
 6469: 
 6470:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6471: fi
 6472: fi
 6473: AWK=$ac_cv_prog_AWK
 6474: if test -n "$AWK"; then
 6475:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6476: $as_echo "$AWK" >&6; }
 6477: else
 6478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6479: $as_echo "no" >&6; }
 6480: fi
 6481: 
 6482: 
 6483:     if test "$AWK" = no; then
 6484:         as_fn_error $? "Can not find nawk !" "$LINENO" 5
 6485:     fi
 6486: fi
 6487: 
 6488: # Extract the first word of "sed", so it can be a program name with args.
 6489: set dummy sed; ac_word=$2
 6490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6491: $as_echo_n "checking for $ac_word... " >&6; }
 6492: if ${ac_cv_prog_SED+:} false; then :
 6493:   $as_echo_n "(cached) " >&6
 6494: else
 6495:   if test -n "$SED"; then
 6496:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6497: else
 6498: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6499: for as_dir in $PATH
 6500: do
 6501:   IFS=$as_save_IFS
 6502:   test -z "$as_dir" && as_dir=.
 6503:     for ac_exec_ext in '' $ac_executable_extensions; do
 6504:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6505:     ac_cv_prog_SED="yes"
 6506:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6507:     break 2
 6508:   fi
 6509: done
 6510:   done
 6511: IFS=$as_save_IFS
 6512: 
 6513:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6514: fi
 6515: fi
 6516: SED=$ac_cv_prog_SED
 6517: if test -n "$SED"; then
 6518:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6519: $as_echo "$SED" >&6; }
 6520: else
 6521:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6522: $as_echo "no" >&6; }
 6523: fi
 6524: 
 6525: 
 6526: if test "$SED" = no; then
 6527:     as_fn_error $? "Can not find sed !" "$LINENO" 5
 6528: fi
 6529: 
 6530: if test "$TEX_SUPPORT" = guessed; then
 6531:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6532: 
 6533:     # Extract the first word of "tex", so it can be a program name with args.
 6534: set dummy tex; ac_word=$2
 6535: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6536: $as_echo_n "checking for $ac_word... " >&6; }
 6537: if ${ac_cv_prog_TEX+:} false; then :
 6538:   $as_echo_n "(cached) " >&6
 6539: else
 6540:   if test -n "$TEX"; then
 6541:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6542: else
 6543: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6544: for as_dir in $PATH
 6545: do
 6546:   IFS=$as_save_IFS
 6547:   test -z "$as_dir" && as_dir=.
 6548:     for ac_exec_ext in '' $ac_executable_extensions; do
 6549:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6550:     ac_cv_prog_TEX="yes"
 6551:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6552:     break 2
 6553:   fi
 6554: done
 6555:   done
 6556: IFS=$as_save_IFS
 6557: 
 6558:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6559: fi
 6560: fi
 6561: TEX=$ac_cv_prog_TEX
 6562: if test -n "$TEX"; then
 6563:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6564: $as_echo "$TEX" >&6; }
 6565: else
 6566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6567: $as_echo "no" >&6; }
 6568: fi
 6569: 
 6570: 
 6571:     if test "$TEX" = no; then
 6572:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6573: Download at http://tex.loria.fr/
 6574: " >&5
 6575: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6576: Download at http://tex.loria.fr/
 6577: " >&2;}
 6578:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6579:     fi
 6580: 
 6581:     # Extract the first word of "latex", so it can be a program name with args.
 6582: set dummy latex; ac_word=$2
 6583: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6584: $as_echo_n "checking for $ac_word... " >&6; }
 6585: if ${ac_cv_prog_LATEX+:} false; then :
 6586:   $as_echo_n "(cached) " >&6
 6587: else
 6588:   if test -n "$LATEX"; then
 6589:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6590: else
 6591: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6592: for as_dir in $PATH
 6593: do
 6594:   IFS=$as_save_IFS
 6595:   test -z "$as_dir" && as_dir=.
 6596:     for ac_exec_ext in '' $ac_executable_extensions; do
 6597:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6598:     ac_cv_prog_LATEX="yes"
 6599:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6600:     break 2
 6601:   fi
 6602: done
 6603:   done
 6604: IFS=$as_save_IFS
 6605: 
 6606:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6607: fi
 6608: fi
 6609: LATEX=$ac_cv_prog_LATEX
 6610: if test -n "$LATEX"; then
 6611:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6612: $as_echo "$LATEX" >&6; }
 6613: else
 6614:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6615: $as_echo "no" >&6; }
 6616: fi
 6617: 
 6618: 
 6619:     if test "$LATEX" = no; then
 6620:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6621: Download at http://tex.loria.fr/
 6622: " >&5
 6623: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6624: Download at http://tex.loria.fr/
 6625: " >&2;}
 6626:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6627:     fi
 6628: 
 6629:     # Extract the first word of "dvips", so it can be a program name with args.
 6630: set dummy dvips; ac_word=$2
 6631: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6632: $as_echo_n "checking for $ac_word... " >&6; }
 6633: if ${ac_cv_prog_DVIPS+:} false; then :
 6634:   $as_echo_n "(cached) " >&6
 6635: else
 6636:   if test -n "$DVIPS"; then
 6637:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6638: else
 6639: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6640: for as_dir in $PATH
 6641: do
 6642:   IFS=$as_save_IFS
 6643:   test -z "$as_dir" && as_dir=.
 6644:     for ac_exec_ext in '' $ac_executable_extensions; do
 6645:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6646:     ac_cv_prog_DVIPS="yes"
 6647:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6648:     break 2
 6649:   fi
 6650: done
 6651:   done
 6652: IFS=$as_save_IFS
 6653: 
 6654:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6655: fi
 6656: fi
 6657: DVIPS=$ac_cv_prog_DVIPS
 6658: if test -n "$DVIPS"; then
 6659:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6660: $as_echo "$DVIPS" >&6; }
 6661: else
 6662:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6663: $as_echo "no" >&6; }
 6664: fi
 6665: 
 6666: 
 6667:     if test "$DVIPS" = no; then
 6668:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6669: Download at http://tex.loria.fr/
 6670: " >&5
 6671: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6672: Download at http://tex.loria.fr/
 6673: " >&2;}
 6674:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6675:     fi
 6676: 
 6677:     # Extract the first word of "gs", so it can be a program name with args.
 6678: set dummy gs; ac_word=$2
 6679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6680: $as_echo_n "checking for $ac_word... " >&6; }
 6681: if ${ac_cv_prog_GS+:} false; then :
 6682:   $as_echo_n "(cached) " >&6
 6683: else
 6684:   if test -n "$GS"; then
 6685:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6686: else
 6687: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6688: for as_dir in $PATH
 6689: do
 6690:   IFS=$as_save_IFS
 6691:   test -z "$as_dir" && as_dir=.
 6692:     for ac_exec_ext in '' $ac_executable_extensions; do
 6693:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6694:     ac_cv_prog_GS="yes"
 6695:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6696:     break 2
 6697:   fi
 6698: done
 6699:   done
 6700: IFS=$as_save_IFS
 6701: 
 6702:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6703: fi
 6704: fi
 6705: GS=$ac_cv_prog_GS
 6706: if test -n "$GS"; then
 6707:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6708: $as_echo "$GS" >&6; }
 6709: else
 6710:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6711: $as_echo "no" >&6; }
 6712: fi
 6713: 
 6714: 
 6715:     if test "$GS" = no; then
 6716:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6717: Download at http://ftp.lip6.fr/
 6718: " >&5
 6719: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6720: Download at http://ftp.lip6.fr/
 6721: " >&2;}
 6722:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6723:     fi
 6724: 
 6725:     # Extract the first word of "gv", so it can be a program name with args.
 6726: set dummy gv; ac_word=$2
 6727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6728: $as_echo_n "checking for $ac_word... " >&6; }
 6729: if ${ac_cv_prog_GV+:} false; then :
 6730:   $as_echo_n "(cached) " >&6
 6731: else
 6732:   if test -n "$GV"; then
 6733:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6734: else
 6735: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6736: for as_dir in $PATH
 6737: do
 6738:   IFS=$as_save_IFS
 6739:   test -z "$as_dir" && as_dir=.
 6740:     for ac_exec_ext in '' $ac_executable_extensions; do
 6741:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6742:     ac_cv_prog_GV="yes"
 6743:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6744:     break 2
 6745:   fi
 6746: done
 6747:   done
 6748: IFS=$as_save_IFS
 6749: 
 6750:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 6751: fi
 6752: fi
 6753: GV=$ac_cv_prog_GV
 6754: if test -n "$GV"; then
 6755:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 6756: $as_echo "$GV" >&6; }
 6757: else
 6758:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6759: $as_echo "no" >&6; }
 6760: fi
 6761: 
 6762: 
 6763:     if test "$GV" = no; then
 6764:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 6765: Download at http://ftp.lip6.fr/
 6766: " >&5
 6767: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 6768: Download at http://ftp.lip6.fr/
 6769: " >&2;}
 6770:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6771:     fi
 6772: else
 6773:     if test "$TEX_SUPPORT" = no; then
 6774:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6775:     else
 6776:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6777:     fi
 6778: fi
 6779: 
 6780: if test "$GNUPLOT_SUPPORT" = guessed; then
 6781:     # Extract the first word of "gnuplot", so it can be a program name with args.
 6782: set dummy gnuplot; ac_word=$2
 6783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6784: $as_echo_n "checking for $ac_word... " >&6; }
 6785: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
 6786:   $as_echo_n "(cached) " >&6
 6787: else
 6788:   if test -n "$GNUPLOT_P"; then
 6789:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 6790: else
 6791: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6792: for as_dir in $PATH
 6793: do
 6794:   IFS=$as_save_IFS
 6795:   test -z "$as_dir" && as_dir=.
 6796:     for ac_exec_ext in '' $ac_executable_extensions; do
 6797:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6798:     ac_cv_prog_GNUPLOT_P="yes"
 6799:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6800:     break 2
 6801:   fi
 6802: done
 6803:   done
 6804: IFS=$as_save_IFS
 6805: 
 6806:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 6807: fi
 6808: fi
 6809: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 6810: if test -n "$GNUPLOT_P"; then
 6811:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 6812: $as_echo "$GNUPLOT_P" >&6; }
 6813: else
 6814:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6815: $as_echo "no" >&6; }
 6816: fi
 6817: 
 6818: 
 6819:     if test "$GNUPLOT_P" = no; then
 6820:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 6821: Download at http://www.gnuplot.vt.edu/
 6822: " >&5
 6823: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 6824: Download at http://www.gnuplot.vt.edu/
 6825: " >&2;}
 6826:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6827:     else
 6828:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6829:     fi
 6830: else
 6831:     if test "$GNUPLOT_SUPPORT" = no; then
 6832:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6833:     else
 6834:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6835:     fi
 6836: fi
 6837: 
 6838: if test "$VIM_SUPPORT" = guessed; then
 6839:     # Extract the first word of "vim", so it can be a program name with args.
 6840: set dummy vim; ac_word=$2
 6841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6842: $as_echo_n "checking for $ac_word... " >&6; }
 6843: if ${ac_cv_prog_VIM+:} false; then :
 6844:   $as_echo_n "(cached) " >&6
 6845: else
 6846:   if test -n "$VIM"; then
 6847:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 6848: else
 6849: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6850: for as_dir in $PATH
 6851: do
 6852:   IFS=$as_save_IFS
 6853:   test -z "$as_dir" && as_dir=.
 6854:     for ac_exec_ext in '' $ac_executable_extensions; do
 6855:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6856:     ac_cv_prog_VIM="yes"
 6857:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6858:     break 2
 6859:   fi
 6860: done
 6861:   done
 6862: IFS=$as_save_IFS
 6863: 
 6864:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 6865: fi
 6866: fi
 6867: VIM=$ac_cv_prog_VIM
 6868: if test -n "$VIM"; then
 6869:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 6870: $as_echo "$VIM" >&6; }
 6871: else
 6872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6873: $as_echo "no" >&6; }
 6874: fi
 6875: 
 6876: 
 6877:     if test "$VIM" = no; then
 6878:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 6879: Download at http://www.vim.org/
 6880: " >&5
 6881: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 6882: Download at http://www.vim.org/
 6883: " >&2;}
 6884:         VIM_SUPPORT="-UVIM_SUPPORT"
 6885:     else
 6886:         VIM_SUPPORT="-DVIM_SUPPORT"
 6887:     fi
 6888: else
 6889:     if test "$VIM_SUPPORT" = no; then
 6890:         VIM_SUPPORT="-UVIM_SUPPORT"
 6891:     else
 6892:         VIM_SUPPORT="-DVIM_SUPPORT"
 6893:     fi
 6894: fi
 6895: 
 6896: if test "$MOTIF_SUPPORT" = guessed; then
 6897:     CFLAGS_ORIG=$CFLAGS
 6898:     LIBS_ORIG=$LIBS
 6899:     CFLAGS="$CFLAGS $X_CFLAGS"
 6900:     LIBS="$LIB $X_LIBS"
 6901:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6902: $as_echo_n "checking for main in -lXm... " >&6; }
 6903: if ${ac_cv_lib_Xm_main+:} false; then :
 6904:   $as_echo_n "(cached) " >&6
 6905: else
 6906:   ac_check_lib_save_LIBS=$LIBS
 6907: LIBS="-lXm  $LIBS"
 6908: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6909: /* end confdefs.h.  */
 6910: 
 6911: 
 6912: int
 6913: main ()
 6914: {
 6915: return main ();
 6916:   ;
 6917:   return 0;
 6918: }
 6919: _ACEOF
 6920: if ac_fn_c_try_link "$LINENO"; then :
 6921:   ac_cv_lib_Xm_main=yes
 6922: else
 6923:   ac_cv_lib_Xm_main=no
 6924: fi
 6925: rm -f core conftest.err conftest.$ac_objext \
 6926:     conftest$ac_exeext conftest.$ac_ext
 6927: LIBS=$ac_check_lib_save_LIBS
 6928: fi
 6929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6930: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6931: if test "x$ac_cv_lib_Xm_main" = xyes; then :
 6932:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6933: else
 6934:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6935: fi
 6936: 
 6937:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6938:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
 6939: Motif flag is disabled.
 6940: " >&5
 6941: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
 6942: Motif flag is disabled.
 6943: " >&2;}
 6944:     fi
 6945:     LIBS=$LIBS_ORIG
 6946:     CFLAGS=$CFLAGS_ORIG
 6947: fi
 6948: 
 6949: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6950:     CFLAGS_ORIG=$CFLAGS
 6951:     LIBS_ORIG=$LIBS
 6952:     CFLAGS="$CFLAGS $X_CFLAGS"
 6953:     LIBS="$LIB $X_LIBS"
 6954:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
 6955: $as_echo_n "checking for main in -lXpm... " >&6; }
 6956: if ${ac_cv_lib_Xpm_main+:} false; then :
 6957:   $as_echo_n "(cached) " >&6
 6958: else
 6959:   ac_check_lib_save_LIBS=$LIBS
 6960: LIBS="-lXpm  $LIBS"
 6961: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6962: /* end confdefs.h.  */
 6963: 
 6964: 
 6965: int
 6966: main ()
 6967: {
 6968: return main ();
 6969:   ;
 6970:   return 0;
 6971: }
 6972: _ACEOF
 6973: if ac_fn_c_try_link "$LINENO"; then :
 6974:   ac_cv_lib_Xpm_main=yes
 6975: else
 6976:   ac_cv_lib_Xpm_main=no
 6977: fi
 6978: rm -f core conftest.err conftest.$ac_objext \
 6979:     conftest$ac_exeext conftest.$ac_ext
 6980: LIBS=$ac_check_lib_save_LIBS
 6981: fi
 6982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
 6983: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
 6984: if test "x$ac_cv_lib_Xpm_main" = xyes; then :
 6985:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6986: else
 6987:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6988: fi
 6989: 
 6990:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6991:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 6992:     else
 6993:         libX=""
 6994:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
 6995: Motif flag is disabled.
 6996: " >&5
 6997: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 6998: Motif flag is disabled.
 6999: " >&2;}
 7000:     fi
 7001:     LIBS=$LIBS_ORIG
 7002:     CFLAGS=$CFLAGS_ORIG
 7003: else
 7004:     libX=""
 7005: fi
 7006: 
 7007: 
 7008: 
 7009: 
 7010: 
 7011: 
 7012: 
 7013: 
 7014: 
 7015: 
 7016: 
 7017: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 7018: 
 7019: 
 7020: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 7021: $as_echo_n "checking for main in -lm... " >&6; }
 7022: if ${ac_cv_lib_m_main+:} false; then :
 7023:   $as_echo_n "(cached) " >&6
 7024: else
 7025:   ac_check_lib_save_LIBS=$LIBS
 7026: LIBS="-lm  $LIBS"
 7027: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7028: /* end confdefs.h.  */
 7029: 
 7030: 
 7031: int
 7032: main ()
 7033: {
 7034: return main ();
 7035:   ;
 7036:   return 0;
 7037: }
 7038: _ACEOF
 7039: if ac_fn_c_try_link "$LINENO"; then :
 7040:   ac_cv_lib_m_main=yes
 7041: else
 7042:   ac_cv_lib_m_main=no
 7043: fi
 7044: rm -f core conftest.err conftest.$ac_objext \
 7045:     conftest$ac_exeext conftest.$ac_ext
 7046: LIBS=$ac_check_lib_save_LIBS
 7047: fi
 7048: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 7049: $as_echo "$ac_cv_lib_m_main" >&6; }
 7050: if test "x$ac_cv_lib_m_main" = xyes; then :
 7051:   cat >>confdefs.h <<_ACEOF
 7052: #define HAVE_LIBM 1
 7053: _ACEOF
 7054: 
 7055:   LIBS="-lm $LIBS"
 7056: 
 7057: else
 7058:   as_fn_error $? "Can not find libm !" "$LINENO" 5
 7059: fi
 7060: 
 7061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 7062: $as_echo_n "checking for main in -lpthread... " >&6; }
 7063: if ${ac_cv_lib_pthread_main+:} false; then :
 7064:   $as_echo_n "(cached) " >&6
 7065: else
 7066:   ac_check_lib_save_LIBS=$LIBS
 7067: LIBS="-lpthread  $LIBS"
 7068: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7069: /* end confdefs.h.  */
 7070: 
 7071: 
 7072: int
 7073: main ()
 7074: {
 7075: return main ();
 7076:   ;
 7077:   return 0;
 7078: }
 7079: _ACEOF
 7080: if ac_fn_c_try_link "$LINENO"; then :
 7081:   ac_cv_lib_pthread_main=yes
 7082: else
 7083:   ac_cv_lib_pthread_main=no
 7084: fi
 7085: rm -f core conftest.err conftest.$ac_objext \
 7086:     conftest$ac_exeext conftest.$ac_ext
 7087: LIBS=$ac_check_lib_save_LIBS
 7088: fi
 7089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 7090: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 7091: if test "x$ac_cv_lib_pthread_main" = xyes; then :
 7092:   cat >>confdefs.h <<_ACEOF
 7093: #define HAVE_LIBPTHREAD 1
 7094: _ACEOF
 7095: 
 7096:   LIBS="-lpthread $LIBS"
 7097: 
 7098: else
 7099:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
 7100: fi
 7101: 
 7102: 
 7103: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 7104: #include <sys/sem.h>
 7105: 
 7106: "
 7107: if test "x$ac_cv_type_union_semun" = xyes; then :
 7108:   SEMUN=-DUNION_SEMUN
 7109: else
 7110:   SEMUN=-UUNION_SEMUN
 7111: fi
 7112: 
 7113: 
 7114: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
 7115: #include <sys/types.h>
 7116: #include <netinet/in.h>
 7117: 
 7118: "
 7119: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
 7120:   IPV6=-DIPV6
 7121: else
 7122:   IPV6=-UIPV6
 7123: fi
 7124: 
 7125: 
 7126: if test "$CYGWIN" != yes; then
 7127:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 7128: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 7129: if ${ac_cv_lib_dl_dlopen+:} false; then :
 7130:   $as_echo_n "(cached) " >&6
 7131: else
 7132:   ac_check_lib_save_LIBS=$LIBS
 7133: LIBS="-ldl  $LIBS"
 7134: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7135: /* end confdefs.h.  */
 7136: 
 7137: /* Override any GCC internal prototype to avoid an error.
 7138:    Use char because int might match the return type of a GCC
 7139:    builtin and then its argument prototype would still apply.  */
 7140: #ifdef __cplusplus
 7141: extern "C"
 7142: #endif
 7143: char dlopen ();
 7144: int
 7145: main ()
 7146: {
 7147: return dlopen ();
 7148:   ;
 7149:   return 0;
 7150: }
 7151: _ACEOF
 7152: if ac_fn_c_try_link "$LINENO"; then :
 7153:   ac_cv_lib_dl_dlopen=yes
 7154: else
 7155:   ac_cv_lib_dl_dlopen=no
 7156: fi
 7157: rm -f core conftest.err conftest.$ac_objext \
 7158:     conftest$ac_exeext conftest.$ac_ext
 7159: LIBS=$ac_check_lib_save_LIBS
 7160: fi
 7161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 7162: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 7163: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 7164:   LIBS="$LIBS -ldl"
 7165: else
 7166:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 7167: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7168: fi
 7169: 
 7170: fi
 7171: 
 7172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 7173: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 7174: if ${ac_cv_lib_rt_nanosleep+:} false; then :
 7175:   $as_echo_n "(cached) " >&6
 7176: else
 7177:   ac_check_lib_save_LIBS=$LIBS
 7178: LIBS="-lrt  $LIBS"
 7179: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7180: /* end confdefs.h.  */
 7181: 
 7182: /* Override any GCC internal prototype to avoid an error.
 7183:    Use char because int might match the return type of a GCC
 7184:    builtin and then its argument prototype would still apply.  */
 7185: #ifdef __cplusplus
 7186: extern "C"
 7187: #endif
 7188: char nanosleep ();
 7189: int
 7190: main ()
 7191: {
 7192: return nanosleep ();
 7193:   ;
 7194:   return 0;
 7195: }
 7196: _ACEOF
 7197: if ac_fn_c_try_link "$LINENO"; then :
 7198:   ac_cv_lib_rt_nanosleep=yes
 7199: else
 7200:   ac_cv_lib_rt_nanosleep=no
 7201: fi
 7202: rm -f core conftest.err conftest.$ac_objext \
 7203:     conftest$ac_exeext conftest.$ac_ext
 7204: LIBS=$ac_check_lib_save_LIBS
 7205: fi
 7206: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7207: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7208: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
 7209:   LIBS="$LIBS -lrt"
 7210: else
 7211:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7212: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7213: fi
 7214: 
 7215: 
 7216: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7217: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7218: if ${ac_cv_lib_socket_bind+:} false; then :
 7219:   $as_echo_n "(cached) " >&6
 7220: else
 7221:   ac_check_lib_save_LIBS=$LIBS
 7222: LIBS="-lsocket  $LIBS"
 7223: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7224: /* end confdefs.h.  */
 7225: 
 7226: /* Override any GCC internal prototype to avoid an error.
 7227:    Use char because int might match the return type of a GCC
 7228:    builtin and then its argument prototype would still apply.  */
 7229: #ifdef __cplusplus
 7230: extern "C"
 7231: #endif
 7232: char bind ();
 7233: int
 7234: main ()
 7235: {
 7236: return bind ();
 7237:   ;
 7238:   return 0;
 7239: }
 7240: _ACEOF
 7241: if ac_fn_c_try_link "$LINENO"; then :
 7242:   ac_cv_lib_socket_bind=yes
 7243: else
 7244:   ac_cv_lib_socket_bind=no
 7245: fi
 7246: rm -f core conftest.err conftest.$ac_objext \
 7247:     conftest$ac_exeext conftest.$ac_ext
 7248: LIBS=$ac_check_lib_save_LIBS
 7249: fi
 7250: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7251: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7252: if test "x$ac_cv_lib_socket_bind" = xyes; then :
 7253:   LIBS="$LIBS -lsocket"
 7254: else
 7255:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7256: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7257: fi
 7258: 
 7259: 
 7260: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7261: 
 7262: # Check whether --with-mysql was given.
 7263: if test "${with_mysql+set}" = set; then :
 7264:   withval=$with_mysql;
 7265: else
 7266:   with_mysql=check
 7267: fi
 7268: 
 7269: 
 7270: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7271:     libMySQLinc="-I/usr/include"
 7272:     libMySQLlib="/usr/lib"
 7273: 
 7274:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7275: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7276:     saved_CFLAGS="$CFLAGS"
 7277:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7278:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7279: /* end confdefs.h.  */
 7280: #include "mysql.h"
 7281: int
 7282: main ()
 7283: {
 7284: 
 7285:   ;
 7286:   return 0;
 7287: }
 7288: _ACEOF
 7289: if ac_fn_c_try_compile "$LINENO"; then :
 7290:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7291: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7292:                     libMySQLinc=$libMySQLinc/mysql
 7293: else
 7294:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7295: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7296: fi
 7297: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7298:     CFLAGS=$saved_CFLAGS
 7299: 
 7300:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7301:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7302: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7303:         saved_CFLAGS="$CFLAGS"
 7304:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7305:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7306: /* end confdefs.h.  */
 7307: #include "mysql.h"
 7308: int
 7309: main ()
 7310: {
 7311: 
 7312:   ;
 7313:   return 0;
 7314: }
 7315: _ACEOF
 7316: if ac_fn_c_try_compile "$LINENO"; then :
 7317:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7318: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7319:                         libMySQLinc=$libMySQLinc
 7320: else
 7321:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7322: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7323: fi
 7324: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7325:         CFLAGS=$saved_CFLAGS
 7326:         libMySQLinc=$libMySQLinc/mysql
 7327:     fi
 7328: 
 7329:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7330:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7331: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7332:         saved_CFLAGS="$CFLAGS"
 7333:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7334:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7335: /* end confdefs.h.  */
 7336: #include "mysql.h"
 7337: int
 7338: main ()
 7339: {
 7340: 
 7341:   ;
 7342:   return 0;
 7343: }
 7344: _ACEOF
 7345: if ac_fn_c_try_compile "$LINENO"; then :
 7346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7347: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7348:                         libMySQLinc=$libMySQLinc/mysql
 7349: else
 7350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7351: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7352: fi
 7353: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7354:         CFLAGS=$saved_CFLAGS
 7355:         libMySQLinc=$libMySQLinc/../local/include
 7356:         libMySQLlib=$libMySQLlib/../local/lib
 7357:     fi
 7358: 
 7359:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7360:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7361: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7362:         saved_CFLAGS="$CFLAGS"
 7363:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7364:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7365: /* end confdefs.h.  */
 7366: #include "mysql.h"
 7367: int
 7368: main ()
 7369: {
 7370: 
 7371:   ;
 7372:   return 0;
 7373: }
 7374: _ACEOF
 7375: if ac_fn_c_try_compile "$LINENO"; then :
 7376:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7377: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7378:                         libMySQLinc=$libMySQLinc/mysql
 7379: else
 7380:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7381: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7382: fi
 7383: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7384:         CFLAGS=$saved_CFLAGS
 7385:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7386:         libMySQLlib=$libMySQLlib/../local/lib
 7387:     fi
 7388: else
 7389:     if test "x$with_mysql" != xno; then
 7390:         libMySQLinc="-I$with_mysql/include"
 7391:         libMySQLlib="$with_mysql/lib"
 7392: 
 7393:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7394: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7395:         saved_CFLAGS="$CFLAGS"
 7396:         CFLAGS="$CFLAGS $libMySQLinc"
 7397:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7398: /* end confdefs.h.  */
 7399: #include "mysql.h"
 7400: int
 7401: main ()
 7402: {
 7403: 
 7404:   ;
 7405:   return 0;
 7406: }
 7407: _ACEOF
 7408: if ac_fn_c_try_compile "$LINENO"; then :
 7409:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7410: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7411:                         libMySQLinc=$libMySQLinc/mysql
 7412: else
 7413:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7414: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7415: fi
 7416: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7417:         CFLAGS=$saved_CFLAGS
 7418: 
 7419:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7420:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7421: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7422:             saved_CFLAGS="$CFLAGS"
 7423:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7424:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7425: /* end confdefs.h.  */
 7426: #include "mysql.h"
 7427: int
 7428: main ()
 7429: {
 7430: 
 7431:   ;
 7432:   return 0;
 7433: }
 7434: _ACEOF
 7435: if ac_fn_c_try_compile "$LINENO"; then :
 7436:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7437: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7438:                             libMySQLinc=$libMySQLinc
 7439: else
 7440:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7441: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7442: fi
 7443: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7444:             CFLAGS=$saved_CFLAGS
 7445:             libMySQLinc=$libMySQLinc/mysql
 7446:         fi
 7447:     else
 7448:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7449:     fi
 7450: fi
 7451: 
 7452: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7453:     MYSQL_LIB=no
 7454: 
 7455:     if test $MYSQL_LIB = no; then
 7456:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7457: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7458:         saved_LIBS="$LIBS"
 7459:         if test $STATIC = no; then
 7460:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7461:         else
 7462:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7463:         fi
 7464:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7465: /* end confdefs.h.  */
 7466: #include "mysql.h"
 7467: int
 7468: main ()
 7469: {
 7470: MYSQL mysql; mysql_init(&mysql);
 7471:   ;
 7472:   return 0;
 7473: }
 7474: _ACEOF
 7475: if ac_fn_c_try_link "$LINENO"; then :
 7476:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7477: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7478: else
 7479:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7480: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7481: fi
 7482: rm -f core conftest.err conftest.$ac_objext \
 7483:     conftest$ac_exeext conftest.$ac_ext
 7484:         LIBS=$saved_LIBS;
 7485:         if test $STATIC = no; then
 7486:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7487:         else
 7488:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7489:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7490:         fi
 7491:     fi
 7492: 
 7493:     if test $MYSQL_LIB = no; then
 7494:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7495:     fi
 7496: fi
 7497: 
 7498: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7499:     libMySQLinc=
 7500:     libMySQLlib=
 7501: fi
 7502: 
 7503: 
 7504: 
 7505: 
 7506: 
 7507: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7508: 
 7509: # Check whether --with-postgresql was given.
 7510: if test "${with_postgresql+set}" = set; then :
 7511:   withval=$with_postgresql;
 7512: else
 7513:   with_postgresql=check
 7514: fi
 7515: 
 7516: 
 7517: # with_postgresql : check [pas défini], yes [uniquement --with],
 7518: # no [--without], valeur [--with=valeur].
 7519: 
 7520: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7521:     libPgSQLinc="-I/usr/include"
 7522:     libPgSQLlib="/usr/lib"
 7523: 
 7524:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7525: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7526:     saved_CFLAGS="$CFLAGS"
 7527:     CFLAGS="$CFLAGS $libPgSQLinc"
 7528:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7529: /* end confdefs.h.  */
 7530: #include "libpq-fe.h"
 7531: int
 7532: main ()
 7533: {
 7534: 
 7535:   ;
 7536:   return 0;
 7537: }
 7538: _ACEOF
 7539: if ac_fn_c_try_compile "$LINENO"; then :
 7540:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7541: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7542: else
 7543:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7544: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7545: fi
 7546: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7547:     CFLAGS=$saved_CFLAGS
 7548: 
 7549:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7550:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7551: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7552:         saved_CFLAGS="$CFLAGS"
 7553:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7554:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7555: /* end confdefs.h.  */
 7556: #include "libpq-fe.h"
 7557: int
 7558: main ()
 7559: {
 7560: 
 7561:   ;
 7562:   return 0;
 7563: }
 7564: _ACEOF
 7565: if ac_fn_c_try_compile "$LINENO"; then :
 7566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7567: $as_echo "yes" >&6; };
 7568:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7569: else
 7570:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7571: $as_echo "no" >&6; };
 7572:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7573: fi
 7574: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7575:         CFLAGS=$saved_CFLAGS
 7576:         libPgSQLinc=$libPgSQLinc/postgresql
 7577:     fi
 7578: 
 7579:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7580:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7581: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7582:         saved_CFLAGS="$CFLAGS"
 7583:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7584:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7585: /* end confdefs.h.  */
 7586: #include "libpq-fe.h"
 7587: int
 7588: main ()
 7589: {
 7590: 
 7591:   ;
 7592:   return 0;
 7593: }
 7594: _ACEOF
 7595: if ac_fn_c_try_compile "$LINENO"; then :
 7596:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7597: $as_echo "yes" >&6; };
 7598:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7599: else
 7600:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7601: $as_echo "no" >&6; };
 7602:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7603: fi
 7604: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7605:         CFLAGS=$saved_CFLAGS
 7606:         libPgSQLinc=$libPgSQLinc/pgsql
 7607:     fi
 7608: 
 7609:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7610:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7611: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7612:         saved_CFLAGS="$CFLAGS"
 7613:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7614:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7615: /* end confdefs.h.  */
 7616: #include "libpq-fe.h"
 7617: int
 7618: main ()
 7619: {
 7620: 
 7621:   ;
 7622:   return 0;
 7623: }
 7624: _ACEOF
 7625: if ac_fn_c_try_compile "$LINENO"; then :
 7626:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7627: $as_echo "yes" >&6; };
 7628:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7629: else
 7630:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7631: $as_echo "no" >&6; };
 7632:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7633: fi
 7634: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7635:         CFLAGS=$saved_CFLAGS
 7636:         libPgSQLinc=$libPgSQLinc/../local/include
 7637:         libPgSQLlib=$libPgSQLlib/../local/lib
 7638:     fi
 7639: 
 7640:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7641:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7642: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7643:         saved_CFLAGS="$CFLAGS"
 7644:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7645:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7646: /* end confdefs.h.  */
 7647: #include "libpq-fe.h"
 7648: int
 7649: main ()
 7650: {
 7651: 
 7652:   ;
 7653:   return 0;
 7654: }
 7655: _ACEOF
 7656: if ac_fn_c_try_compile "$LINENO"; then :
 7657:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7658: $as_echo "yes" >&6; };
 7659:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7660: else
 7661:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7662: $as_echo "no" >&6; };
 7663:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7664: fi
 7665: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7666:         CFLAGS=$saved_CFLAGS
 7667:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7668:         libPgSQLlib=$libPgSQLlib/../local/lib
 7669:     fi
 7670: 
 7671:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7672:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7673: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7674:         saved_CFLAGS="$CFLAGS"
 7675:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7676:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7677: /* end confdefs.h.  */
 7678: #include "libpq-fe.h"
 7679: int
 7680: main ()
 7681: {
 7682: 
 7683:   ;
 7684:   return 0;
 7685: }
 7686: _ACEOF
 7687: if ac_fn_c_try_compile "$LINENO"; then :
 7688:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7689: $as_echo "yes" >&6; };
 7690:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7691: else
 7692:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7693: $as_echo "no" >&6; };
 7694:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7695: fi
 7696: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7697:         CFLAGS=$saved_CFLAGS
 7698:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7699:         libPgSQLlib=$libPgSQLlib/../local/lib
 7700:     fi
 7701: else
 7702:     if test "x$with_postgresql" != xno; then
 7703:         libPgSQLinc="-I$with_postgresql/include"
 7704:         libPgSQLlib="$with_postgresql/lib"
 7705: 
 7706:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7707: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7708:         saved_CFLAGS="$CFLAGS"
 7709:         CFLAGS="$CFLAGS $libPgSQLinc"
 7710:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7711: /* end confdefs.h.  */
 7712: #include "libpq-fe.h"
 7713: int
 7714: main ()
 7715: {
 7716: 
 7717:   ;
 7718:   return 0;
 7719: }
 7720: _ACEOF
 7721: if ac_fn_c_try_compile "$LINENO"; then :
 7722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7723: $as_echo "yes" >&6; };
 7724:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7725: else
 7726:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7727: $as_echo "no" >&6; };
 7728:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7729: fi
 7730: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7731:         CFLAGS=$saved_CFLAGS
 7732: 
 7733:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7734:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7735: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7736:             saved_CFLAGS="$CFLAGS"
 7737:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7738:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7739: /* end confdefs.h.  */
 7740: #include "libpq-fe.h"
 7741: int
 7742: main ()
 7743: {
 7744: 
 7745:   ;
 7746:   return 0;
 7747: }
 7748: _ACEOF
 7749: if ac_fn_c_try_compile "$LINENO"; then :
 7750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7751: $as_echo "yes" >&6; };
 7752:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7753: else
 7754:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7755: $as_echo "no" >&6; };
 7756:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7757: fi
 7758: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7759:             CFLAGS=$saved_CFLAGS
 7760:             libPgSQLinc=$libPgSQLinc/postgresql
 7761:         fi
 7762: 
 7763:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7764:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7765: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7766:             saved_CFLAGS="$CFLAGS"
 7767:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7768:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7769: /* end confdefs.h.  */
 7770: #include "libpq-fe.h"
 7771: int
 7772: main ()
 7773: {
 7774: 
 7775:   ;
 7776:   return 0;
 7777: }
 7778: _ACEOF
 7779: if ac_fn_c_try_compile "$LINENO"; then :
 7780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7781: $as_echo "yes" >&6; };
 7782:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7783: else
 7784:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7785: $as_echo "no" >&6; };
 7786:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7787: fi
 7788: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7789:             CFLAGS=$saved_CFLAGS
 7790:             libPgSQLinc=$libPgSQLinc/pgsql
 7791:         fi
 7792:     else
 7793:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7794:     fi
 7795: fi
 7796: 
 7797: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7798:     POSTGRESQL_LIB=no
 7799: 
 7800:     if test $POSTGRESQL_LIB = no; then
 7801:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7802: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7803:         saved_LIBS="$LIBS"
 7804:         if test $STATIC = no; then
 7805:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7806:         else
 7807:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 7808:         fi
 7809:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7810: /* end confdefs.h.  */
 7811: #include "libpq-fe.h"
 7812: int
 7813: main ()
 7814: {
 7815: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 7816:              PQconnectdb(conninfo);
 7817:   ;
 7818:   return 0;
 7819: }
 7820: _ACEOF
 7821: if ac_fn_c_try_link "$LINENO"; then :
 7822:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7823: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 7824: else
 7825:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7826: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 7827: fi
 7828: rm -f core conftest.err conftest.$ac_objext \
 7829:     conftest$ac_exeext conftest.$ac_ext
 7830:         LIBS=$saved_LIBS;
 7831:         if test $STATIC = no; then
 7832:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 7833:         else
 7834:             libPgSQLlib="$libPgSQLlib/libpq.a"
 7835:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 7836:         fi
 7837:     fi
 7838: fi
 7839: 
 7840: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 7841:     libPgSQLinc=
 7842:     libPgSQLlib=
 7843: fi
 7844: 
 7845: 
 7846: 
 7847: 
 7848: 
 7849: # with_postgresql : check [pas défini], yes [uniquement --with],
 7850: # no [--without], valeur [--with=valeur].
 7851: 
 7852: # Check whether --with-bourne_shell was given.
 7853: if test "${with_bourne_shell+set}" = set; then :
 7854:   withval=$with_bourne_shell;
 7855: else
 7856:   with_bourne_shell=no
 7857: fi
 7858: 
 7859: 
 7860: if test "x$with_bourne_shell" = xyes; then
 7861:     as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
 7862: fi
 7863: 
 7864: if test "x$with_bourne_shell" = xno; then
 7865:     if test $(uname) = "OS/2"; then
 7866:         as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
 7867:     fi
 7868: 
 7869:     BSH_PATH=
 7870: else
 7871:     if test ! -x $with_bourne_shell; then
 7872:         as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
 7873:     fi
 7874: 
 7875:     if test $(uname) = "OS/2"; then
 7876:         with_os2_bourne_shell=$(echo $with_bourne_shell | \
 7877:                 sed -e '1,$s/\//\\\\\\\\/g')
 7878:         BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
 7879:     else
 7880:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
 7881: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
 7882:         BSH_PATH=
 7883:     fi
 7884: fi
 7885: 
 7886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 7887: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 7888: if ${ac_cv_path_GREP+:} false; then :
 7889:   $as_echo_n "(cached) " >&6
 7890: else
 7891:   if test -z "$GREP"; then
 7892:   ac_path_GREP_found=false
 7893:   # Loop through the user's path and test for each of PROGNAME-LIST
 7894:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7895: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7896: do
 7897:   IFS=$as_save_IFS
 7898:   test -z "$as_dir" && as_dir=.
 7899:     for ac_prog in grep ggrep; do
 7900:     for ac_exec_ext in '' $ac_executable_extensions; do
 7901:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 7902:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 7903: # Check for GNU ac_path_GREP and select it if it is found.
 7904:   # Check for GNU $ac_path_GREP
 7905: case `"$ac_path_GREP" --version 2>&1` in
 7906: *GNU*)
 7907:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 7908: *)
 7909:   ac_count=0
 7910:   $as_echo_n 0123456789 >"conftest.in"
 7911:   while :
 7912:   do
 7913:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7914:     mv "conftest.tmp" "conftest.in"
 7915:     cp "conftest.in" "conftest.nl"
 7916:     $as_echo 'GREP' >> "conftest.nl"
 7917:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7918:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7919:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7920:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 7921:       # Best one so far, save it but keep looking for a better one
 7922:       ac_cv_path_GREP="$ac_path_GREP"
 7923:       ac_path_GREP_max=$ac_count
 7924:     fi
 7925:     # 10*(2^10) chars as input seems more than enough
 7926:     test $ac_count -gt 10 && break
 7927:   done
 7928:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7929: esac
 7930: 
 7931:       $ac_path_GREP_found && break 3
 7932:     done
 7933:   done
 7934:   done
 7935: IFS=$as_save_IFS
 7936:   if test -z "$ac_cv_path_GREP"; then
 7937:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7938:   fi
 7939: else
 7940:   ac_cv_path_GREP=$GREP
 7941: fi
 7942: 
 7943: fi
 7944: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 7945: $as_echo "$ac_cv_path_GREP" >&6; }
 7946:  GREP="$ac_cv_path_GREP"
 7947: 
 7948: 
 7949: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 7950: $as_echo_n "checking for egrep... " >&6; }
 7951: if ${ac_cv_path_EGREP+:} false; then :
 7952:   $as_echo_n "(cached) " >&6
 7953: else
 7954:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 7955:    then ac_cv_path_EGREP="$GREP -E"
 7956:    else
 7957:      if test -z "$EGREP"; then
 7958:   ac_path_EGREP_found=false
 7959:   # Loop through the user's path and test for each of PROGNAME-LIST
 7960:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7961: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7962: do
 7963:   IFS=$as_save_IFS
 7964:   test -z "$as_dir" && as_dir=.
 7965:     for ac_prog in egrep; do
 7966:     for ac_exec_ext in '' $ac_executable_extensions; do
 7967:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 7968:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 7969: # Check for GNU ac_path_EGREP and select it if it is found.
 7970:   # Check for GNU $ac_path_EGREP
 7971: case `"$ac_path_EGREP" --version 2>&1` in
 7972: *GNU*)
 7973:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 7974: *)
 7975:   ac_count=0
 7976:   $as_echo_n 0123456789 >"conftest.in"
 7977:   while :
 7978:   do
 7979:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7980:     mv "conftest.tmp" "conftest.in"
 7981:     cp "conftest.in" "conftest.nl"
 7982:     $as_echo 'EGREP' >> "conftest.nl"
 7983:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7984:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7985:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7986:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 7987:       # Best one so far, save it but keep looking for a better one
 7988:       ac_cv_path_EGREP="$ac_path_EGREP"
 7989:       ac_path_EGREP_max=$ac_count
 7990:     fi
 7991:     # 10*(2^10) chars as input seems more than enough
 7992:     test $ac_count -gt 10 && break
 7993:   done
 7994:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7995: esac
 7996: 
 7997:       $ac_path_EGREP_found && break 3
 7998:     done
 7999:   done
 8000:   done
 8001: IFS=$as_save_IFS
 8002:   if test -z "$ac_cv_path_EGREP"; then
 8003:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 8004:   fi
 8005: else
 8006:   ac_cv_path_EGREP=$EGREP
 8007: fi
 8008: 
 8009:    fi
 8010: fi
 8011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 8012: $as_echo "$ac_cv_path_EGREP" >&6; }
 8013:  EGREP="$ac_cv_path_EGREP"
 8014: 
 8015: 
 8016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8017: $as_echo_n "checking for ANSI C header files... " >&6; }
 8018: if ${ac_cv_header_stdc+:} false; then :
 8019:   $as_echo_n "(cached) " >&6
 8020: else
 8021:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8022: /* end confdefs.h.  */
 8023: #include <stdlib.h>
 8024: #include <stdarg.h>
 8025: #include <string.h>
 8026: #include <float.h>
 8027: 
 8028: int
 8029: main ()
 8030: {
 8031: 
 8032:   ;
 8033:   return 0;
 8034: }
 8035: _ACEOF
 8036: if ac_fn_c_try_compile "$LINENO"; then :
 8037:   ac_cv_header_stdc=yes
 8038: else
 8039:   ac_cv_header_stdc=no
 8040: fi
 8041: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8042: 
 8043: if test $ac_cv_header_stdc = yes; then
 8044:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8045:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8046: /* end confdefs.h.  */
 8047: #include <string.h>
 8048: 
 8049: _ACEOF
 8050: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8051:   $EGREP "memchr" >/dev/null 2>&1; then :
 8052: 
 8053: else
 8054:   ac_cv_header_stdc=no
 8055: fi
 8056: rm -f conftest*
 8057: 
 8058: fi
 8059: 
 8060: if test $ac_cv_header_stdc = yes; then
 8061:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8062:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8063: /* end confdefs.h.  */
 8064: #include <stdlib.h>
 8065: 
 8066: _ACEOF
 8067: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8068:   $EGREP "free" >/dev/null 2>&1; then :
 8069: 
 8070: else
 8071:   ac_cv_header_stdc=no
 8072: fi
 8073: rm -f conftest*
 8074: 
 8075: fi
 8076: 
 8077: if test $ac_cv_header_stdc = yes; then
 8078:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8079:   if test "$cross_compiling" = yes; then :
 8080:   :
 8081: else
 8082:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8083: /* end confdefs.h.  */
 8084: #include <ctype.h>
 8085: #include <stdlib.h>
 8086: #if ((' ' & 0x0FF) == 0x020)
 8087: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8088: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8089: #else
 8090: # define ISLOWER(c) \
 8091:            (('a' <= (c) && (c) <= 'i') \
 8092:              || ('j' <= (c) && (c) <= 'r') \
 8093:              || ('s' <= (c) && (c) <= 'z'))
 8094: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8095: #endif
 8096: 
 8097: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8098: int
 8099: main ()
 8100: {
 8101:   int i;
 8102:   for (i = 0; i < 256; i++)
 8103:     if (XOR (islower (i), ISLOWER (i))
 8104:     || toupper (i) != TOUPPER (i))
 8105:       return 2;
 8106:   return 0;
 8107: }
 8108: _ACEOF
 8109: if ac_fn_c_try_run "$LINENO"; then :
 8110: 
 8111: else
 8112:   ac_cv_header_stdc=no
 8113: fi
 8114: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8115:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8116: fi
 8117: 
 8118: fi
 8119: fi
 8120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8121: $as_echo "$ac_cv_header_stdc" >&6; }
 8122: if test $ac_cv_header_stdc = yes; then
 8123: 
 8124: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8125: 
 8126: fi
 8127: 
 8128: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 8129: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 8130:           inttypes.h stdint.h unistd.h
 8131: do :
 8132:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8133: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 8134: "
 8135: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8136:   cat >>confdefs.h <<_ACEOF
 8137: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8138: _ACEOF
 8139: 
 8140: fi
 8141: 
 8142: done
 8143: 
 8144: 
 8145: # The cast to long int works around a bug in the HP C Compiler
 8146: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8147: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8148: # This bug is HP SR number 8606223364.
 8149: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 8150: $as_echo_n "checking size of void *... " >&6; }
 8151: if ${ac_cv_sizeof_void_p+:} false; then :
 8152:   $as_echo_n "(cached) " >&6
 8153: else
 8154:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 8155: 
 8156: else
 8157:   if test "$ac_cv_type_void_p" = yes; then
 8158:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8159: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8160: as_fn_error 77 "cannot compute sizeof (void *)
 8161: See \`config.log' for more details" "$LINENO" 5; }
 8162:    else
 8163:      ac_cv_sizeof_void_p=0
 8164:    fi
 8165: fi
 8166: 
 8167: fi
 8168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 8169: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 8170: 
 8171: 
 8172: 
 8173: cat >>confdefs.h <<_ACEOF
 8174: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 8175: _ACEOF
 8176: 
 8177: 
 8178: # The cast to long int works around a bug in the HP C Compiler
 8179: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8180: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8181: # This bug is HP SR number 8606223364.
 8182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 8183: $as_echo_n "checking size of char... " >&6; }
 8184: if ${ac_cv_sizeof_char+:} false; then :
 8185:   $as_echo_n "(cached) " >&6
 8186: else
 8187:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 8188: 
 8189: else
 8190:   if test "$ac_cv_type_char" = yes; then
 8191:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8192: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8193: as_fn_error 77 "cannot compute sizeof (char)
 8194: See \`config.log' for more details" "$LINENO" 5; }
 8195:    else
 8196:      ac_cv_sizeof_char=0
 8197:    fi
 8198: fi
 8199: 
 8200: fi
 8201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 8202: $as_echo "$ac_cv_sizeof_char" >&6; }
 8203: 
 8204: 
 8205: 
 8206: cat >>confdefs.h <<_ACEOF
 8207: #define SIZEOF_CHAR $ac_cv_sizeof_char
 8208: _ACEOF
 8209: 
 8210: 
 8211: # The cast to long int works around a bug in the HP C Compiler
 8212: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8213: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8214: # This bug is HP SR number 8606223364.
 8215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 8216: $as_echo_n "checking size of short int... " >&6; }
 8217: if ${ac_cv_sizeof_short_int+:} false; then :
 8218:   $as_echo_n "(cached) " >&6
 8219: else
 8220:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 8221: 
 8222: else
 8223:   if test "$ac_cv_type_short_int" = yes; then
 8224:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8225: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8226: as_fn_error 77 "cannot compute sizeof (short int)
 8227: See \`config.log' for more details" "$LINENO" 5; }
 8228:    else
 8229:      ac_cv_sizeof_short_int=0
 8230:    fi
 8231: fi
 8232: 
 8233: fi
 8234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8235: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8236: 
 8237: 
 8238: 
 8239: cat >>confdefs.h <<_ACEOF
 8240: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8241: _ACEOF
 8242: 
 8243: 
 8244: # The cast to long int works around a bug in the HP C Compiler
 8245: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8246: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8247: # This bug is HP SR number 8606223364.
 8248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8249: $as_echo_n "checking size of int... " >&6; }
 8250: if ${ac_cv_sizeof_int+:} false; then :
 8251:   $as_echo_n "(cached) " >&6
 8252: else
 8253:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8254: 
 8255: else
 8256:   if test "$ac_cv_type_int" = yes; then
 8257:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8258: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8259: as_fn_error 77 "cannot compute sizeof (int)
 8260: See \`config.log' for more details" "$LINENO" 5; }
 8261:    else
 8262:      ac_cv_sizeof_int=0
 8263:    fi
 8264: fi
 8265: 
 8266: fi
 8267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8268: $as_echo "$ac_cv_sizeof_int" >&6; }
 8269: 
 8270: 
 8271: 
 8272: cat >>confdefs.h <<_ACEOF
 8273: #define SIZEOF_INT $ac_cv_sizeof_int
 8274: _ACEOF
 8275: 
 8276: 
 8277: # The cast to long int works around a bug in the HP C Compiler
 8278: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8279: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8280: # This bug is HP SR number 8606223364.
 8281: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8282: $as_echo_n "checking size of long int... " >&6; }
 8283: if ${ac_cv_sizeof_long_int+:} false; then :
 8284:   $as_echo_n "(cached) " >&6
 8285: else
 8286:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8287: 
 8288: else
 8289:   if test "$ac_cv_type_long_int" = yes; then
 8290:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8291: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8292: as_fn_error 77 "cannot compute sizeof (long int)
 8293: See \`config.log' for more details" "$LINENO" 5; }
 8294:    else
 8295:      ac_cv_sizeof_long_int=0
 8296:    fi
 8297: fi
 8298: 
 8299: fi
 8300: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8301: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8302: 
 8303: 
 8304: 
 8305: cat >>confdefs.h <<_ACEOF
 8306: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8307: _ACEOF
 8308: 
 8309: 
 8310: # The cast to long int works around a bug in the HP C Compiler
 8311: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8312: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8313: # This bug is HP SR number 8606223364.
 8314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8315: $as_echo_n "checking size of long long int... " >&6; }
 8316: if ${ac_cv_sizeof_long_long_int+:} false; then :
 8317:   $as_echo_n "(cached) " >&6
 8318: else
 8319:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8320: 
 8321: else
 8322:   if test "$ac_cv_type_long_long_int" = yes; then
 8323:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8324: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8325: as_fn_error 77 "cannot compute sizeof (long long int)
 8326: See \`config.log' for more details" "$LINENO" 5; }
 8327:    else
 8328:      ac_cv_sizeof_long_long_int=0
 8329:    fi
 8330: fi
 8331: 
 8332: fi
 8333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8334: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8335: 
 8336: 
 8337: 
 8338: cat >>confdefs.h <<_ACEOF
 8339: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8340: _ACEOF
 8341: 
 8342: 
 8343: # The cast to long int works around a bug in the HP C Compiler
 8344: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8345: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8346: # This bug is HP SR number 8606223364.
 8347: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8348: $as_echo_n "checking size of float... " >&6; }
 8349: if ${ac_cv_sizeof_float+:} false; then :
 8350:   $as_echo_n "(cached) " >&6
 8351: else
 8352:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8353: 
 8354: else
 8355:   if test "$ac_cv_type_float" = yes; then
 8356:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8357: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8358: as_fn_error 77 "cannot compute sizeof (float)
 8359: See \`config.log' for more details" "$LINENO" 5; }
 8360:    else
 8361:      ac_cv_sizeof_float=0
 8362:    fi
 8363: fi
 8364: 
 8365: fi
 8366: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8367: $as_echo "$ac_cv_sizeof_float" >&6; }
 8368: 
 8369: 
 8370: 
 8371: cat >>confdefs.h <<_ACEOF
 8372: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8373: _ACEOF
 8374: 
 8375: 
 8376: # The cast to long int works around a bug in the HP C Compiler
 8377: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8378: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8379: # This bug is HP SR number 8606223364.
 8380: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8381: $as_echo_n "checking size of double... " >&6; }
 8382: if ${ac_cv_sizeof_double+:} false; then :
 8383:   $as_echo_n "(cached) " >&6
 8384: else
 8385:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8386: 
 8387: else
 8388:   if test "$ac_cv_type_double" = yes; then
 8389:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8390: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8391: as_fn_error 77 "cannot compute sizeof (double)
 8392: See \`config.log' for more details" "$LINENO" 5; }
 8393:    else
 8394:      ac_cv_sizeof_double=0
 8395:    fi
 8396: fi
 8397: 
 8398: fi
 8399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8400: $as_echo "$ac_cv_sizeof_double" >&6; }
 8401: 
 8402: 
 8403: 
 8404: cat >>confdefs.h <<_ACEOF
 8405: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8406: _ACEOF
 8407: 
 8408: 
 8409: # The cast to long int works around a bug in the HP C Compiler
 8410: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8411: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8412: # This bug is HP SR number 8606223364.
 8413: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8414: $as_echo_n "checking size of long double... " >&6; }
 8415: if ${ac_cv_sizeof_long_double+:} false; then :
 8416:   $as_echo_n "(cached) " >&6
 8417: else
 8418:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8419: 
 8420: else
 8421:   if test "$ac_cv_type_long_double" = yes; then
 8422:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8423: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8424: as_fn_error 77 "cannot compute sizeof (long double)
 8425: See \`config.log' for more details" "$LINENO" 5; }
 8426:    else
 8427:      ac_cv_sizeof_long_double=0
 8428:    fi
 8429: fi
 8430: 
 8431: fi
 8432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8433: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8434: 
 8435: 
 8436: 
 8437: cat >>confdefs.h <<_ACEOF
 8438: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8439: _ACEOF
 8440: 
 8441: 
 8442: 
 8443: ac_header_dirent=no
 8444: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8445:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8446: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8447: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8448: if eval \${$as_ac_Header+:} false; then :
 8449:   $as_echo_n "(cached) " >&6
 8450: else
 8451:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8452: /* end confdefs.h.  */
 8453: #include <sys/types.h>
 8454: #include <$ac_hdr>
 8455: 
 8456: int
 8457: main ()
 8458: {
 8459: if ((DIR *) 0)
 8460: return 0;
 8461:   ;
 8462:   return 0;
 8463: }
 8464: _ACEOF
 8465: if ac_fn_c_try_compile "$LINENO"; then :
 8466:   eval "$as_ac_Header=yes"
 8467: else
 8468:   eval "$as_ac_Header=no"
 8469: fi
 8470: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8471: fi
 8472: eval ac_res=\$$as_ac_Header
 8473:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8474: $as_echo "$ac_res" >&6; }
 8475: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8476:   cat >>confdefs.h <<_ACEOF
 8477: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8478: _ACEOF
 8479: 
 8480: ac_header_dirent=$ac_hdr; break
 8481: fi
 8482: 
 8483: done
 8484: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8485: if test $ac_header_dirent = dirent.h; then
 8486:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8487: $as_echo_n "checking for library containing opendir... " >&6; }
 8488: if ${ac_cv_search_opendir+:} false; then :
 8489:   $as_echo_n "(cached) " >&6
 8490: else
 8491:   ac_func_search_save_LIBS=$LIBS
 8492: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8493: /* end confdefs.h.  */
 8494: 
 8495: /* Override any GCC internal prototype to avoid an error.
 8496:    Use char because int might match the return type of a GCC
 8497:    builtin and then its argument prototype would still apply.  */
 8498: #ifdef __cplusplus
 8499: extern "C"
 8500: #endif
 8501: char opendir ();
 8502: int
 8503: main ()
 8504: {
 8505: return opendir ();
 8506:   ;
 8507:   return 0;
 8508: }
 8509: _ACEOF
 8510: for ac_lib in '' dir; do
 8511:   if test -z "$ac_lib"; then
 8512:     ac_res="none required"
 8513:   else
 8514:     ac_res=-l$ac_lib
 8515:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8516:   fi
 8517:   if ac_fn_c_try_link "$LINENO"; then :
 8518:   ac_cv_search_opendir=$ac_res
 8519: fi
 8520: rm -f core conftest.err conftest.$ac_objext \
 8521:     conftest$ac_exeext
 8522:   if ${ac_cv_search_opendir+:} false; then :
 8523:   break
 8524: fi
 8525: done
 8526: if ${ac_cv_search_opendir+:} false; then :
 8527: 
 8528: else
 8529:   ac_cv_search_opendir=no
 8530: fi
 8531: rm conftest.$ac_ext
 8532: LIBS=$ac_func_search_save_LIBS
 8533: fi
 8534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8535: $as_echo "$ac_cv_search_opendir" >&6; }
 8536: ac_res=$ac_cv_search_opendir
 8537: if test "$ac_res" != no; then :
 8538:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8539: 
 8540: fi
 8541: 
 8542: else
 8543:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8544: $as_echo_n "checking for library containing opendir... " >&6; }
 8545: if ${ac_cv_search_opendir+:} false; then :
 8546:   $as_echo_n "(cached) " >&6
 8547: else
 8548:   ac_func_search_save_LIBS=$LIBS
 8549: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8550: /* end confdefs.h.  */
 8551: 
 8552: /* Override any GCC internal prototype to avoid an error.
 8553:    Use char because int might match the return type of a GCC
 8554:    builtin and then its argument prototype would still apply.  */
 8555: #ifdef __cplusplus
 8556: extern "C"
 8557: #endif
 8558: char opendir ();
 8559: int
 8560: main ()
 8561: {
 8562: return opendir ();
 8563:   ;
 8564:   return 0;
 8565: }
 8566: _ACEOF
 8567: for ac_lib in '' x; do
 8568:   if test -z "$ac_lib"; then
 8569:     ac_res="none required"
 8570:   else
 8571:     ac_res=-l$ac_lib
 8572:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8573:   fi
 8574:   if ac_fn_c_try_link "$LINENO"; then :
 8575:   ac_cv_search_opendir=$ac_res
 8576: fi
 8577: rm -f core conftest.err conftest.$ac_objext \
 8578:     conftest$ac_exeext
 8579:   if ${ac_cv_search_opendir+:} false; then :
 8580:   break
 8581: fi
 8582: done
 8583: if ${ac_cv_search_opendir+:} false; then :
 8584: 
 8585: else
 8586:   ac_cv_search_opendir=no
 8587: fi
 8588: rm conftest.$ac_ext
 8589: LIBS=$ac_func_search_save_LIBS
 8590: fi
 8591: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8592: $as_echo "$ac_cv_search_opendir" >&6; }
 8593: ac_res=$ac_cv_search_opendir
 8594: if test "$ac_res" != no; then :
 8595:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8596: 
 8597: fi
 8598: 
 8599: fi
 8600: 
 8601: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8602: $as_echo_n "checking for ANSI C header files... " >&6; }
 8603: if ${ac_cv_header_stdc+:} false; then :
 8604:   $as_echo_n "(cached) " >&6
 8605: else
 8606:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8607: /* end confdefs.h.  */
 8608: #include <stdlib.h>
 8609: #include <stdarg.h>
 8610: #include <string.h>
 8611: #include <float.h>
 8612: 
 8613: int
 8614: main ()
 8615: {
 8616: 
 8617:   ;
 8618:   return 0;
 8619: }
 8620: _ACEOF
 8621: if ac_fn_c_try_compile "$LINENO"; then :
 8622:   ac_cv_header_stdc=yes
 8623: else
 8624:   ac_cv_header_stdc=no
 8625: fi
 8626: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8627: 
 8628: if test $ac_cv_header_stdc = yes; then
 8629:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8630:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8631: /* end confdefs.h.  */
 8632: #include <string.h>
 8633: 
 8634: _ACEOF
 8635: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8636:   $EGREP "memchr" >/dev/null 2>&1; then :
 8637: 
 8638: else
 8639:   ac_cv_header_stdc=no
 8640: fi
 8641: rm -f conftest*
 8642: 
 8643: fi
 8644: 
 8645: if test $ac_cv_header_stdc = yes; then
 8646:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8647:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8648: /* end confdefs.h.  */
 8649: #include <stdlib.h>
 8650: 
 8651: _ACEOF
 8652: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8653:   $EGREP "free" >/dev/null 2>&1; then :
 8654: 
 8655: else
 8656:   ac_cv_header_stdc=no
 8657: fi
 8658: rm -f conftest*
 8659: 
 8660: fi
 8661: 
 8662: if test $ac_cv_header_stdc = yes; then
 8663:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8664:   if test "$cross_compiling" = yes; then :
 8665:   :
 8666: else
 8667:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8668: /* end confdefs.h.  */
 8669: #include <ctype.h>
 8670: #include <stdlib.h>
 8671: #if ((' ' & 0x0FF) == 0x020)
 8672: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8673: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8674: #else
 8675: # define ISLOWER(c) \
 8676:            (('a' <= (c) && (c) <= 'i') \
 8677:              || ('j' <= (c) && (c) <= 'r') \
 8678:              || ('s' <= (c) && (c) <= 'z'))
 8679: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8680: #endif
 8681: 
 8682: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8683: int
 8684: main ()
 8685: {
 8686:   int i;
 8687:   for (i = 0; i < 256; i++)
 8688:     if (XOR (islower (i), ISLOWER (i))
 8689:     || toupper (i) != TOUPPER (i))
 8690:       return 2;
 8691:   return 0;
 8692: }
 8693: _ACEOF
 8694: if ac_fn_c_try_run "$LINENO"; then :
 8695: 
 8696: else
 8697:   ac_cv_header_stdc=no
 8698: fi
 8699: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8700:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8701: fi
 8702: 
 8703: fi
 8704: fi
 8705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8706: $as_echo "$ac_cv_header_stdc" >&6; }
 8707: if test $ac_cv_header_stdc = yes; then
 8708: 
 8709: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8710: 
 8711: fi
 8712: 
 8713: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8714: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8715: if ${ac_cv_header_sys_wait_h+:} false; then :
 8716:   $as_echo_n "(cached) " >&6
 8717: else
 8718:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8719: /* end confdefs.h.  */
 8720: #include <sys/types.h>
 8721: #include <sys/wait.h>
 8722: #ifndef WEXITSTATUS
 8723: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8724: #endif
 8725: #ifndef WIFEXITED
 8726: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8727: #endif
 8728: 
 8729: int
 8730: main ()
 8731: {
 8732:   int s;
 8733:   wait (&s);
 8734:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8735:   ;
 8736:   return 0;
 8737: }
 8738: _ACEOF
 8739: if ac_fn_c_try_compile "$LINENO"; then :
 8740:   ac_cv_header_sys_wait_h=yes
 8741: else
 8742:   ac_cv_header_sys_wait_h=no
 8743: fi
 8744: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8745: fi
 8746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8747: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8748: if test $ac_cv_header_sys_wait_h = yes; then
 8749: 
 8750: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8751: 
 8752: fi
 8753: 
 8754: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8755:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8756:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8757: do :
 8758:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8759: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8760: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8761:   cat >>confdefs.h <<_ACEOF
 8762: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8763: _ACEOF
 8764: 
 8765: fi
 8766: 
 8767: done
 8768: 
 8769: 
 8770: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8771: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8772: if ${ac_cv_c_const+:} false; then :
 8773:   $as_echo_n "(cached) " >&6
 8774: else
 8775:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8776: /* end confdefs.h.  */
 8777: 
 8778: int
 8779: main ()
 8780: {
 8781: /* FIXME: Include the comments suggested by Paul. */
 8782: #ifndef __cplusplus
 8783:   /* Ultrix mips cc rejects this.  */
 8784:   typedef int charset[2];
 8785:   const charset cs;
 8786:   /* SunOS 4.1.1 cc rejects this.  */
 8787:   char const *const *pcpcc;
 8788:   char **ppc;
 8789:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8790:   struct point {int x, y;};
 8791:   static struct point const zero = {0,0};
 8792:   /* AIX XL C 1.02.0.0 rejects this.
 8793:      It does not let you subtract one const X* pointer from another in
 8794:      an arm of an if-expression whose if-part is not a constant
 8795:      expression */
 8796:   const char *g = "string";
 8797:   pcpcc = &g + (g ? g-g : 0);
 8798:   /* HPUX 7.0 cc rejects these. */
 8799:   ++pcpcc;
 8800:   ppc = (char**) pcpcc;
 8801:   pcpcc = (char const *const *) ppc;
 8802:   { /* SCO 3.2v4 cc rejects this.  */
 8803:     char *t;
 8804:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8805: 
 8806:     *t++ = 0;
 8807:     if (s) return 0;
 8808:   }
 8809:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8810:     int x[] = {25, 17};
 8811:     const int *foo = &x[0];
 8812:     ++foo;
 8813:   }
 8814:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 8815:     typedef const int *iptr;
 8816:     iptr p = 0;
 8817:     ++p;
 8818:   }
 8819:   { /* AIX XL C 1.02.0.0 rejects this saying
 8820:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 8821:     struct s { int j; const int *ap[3]; };
 8822:     struct s *b; b->j = 5;
 8823:   }
 8824:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 8825:     const int foo = 10;
 8826:     if (!foo) return 0;
 8827:   }
 8828:   return !cs[0] && !zero.x;
 8829: #endif
 8830: 
 8831:   ;
 8832:   return 0;
 8833: }
 8834: _ACEOF
 8835: if ac_fn_c_try_compile "$LINENO"; then :
 8836:   ac_cv_c_const=yes
 8837: else
 8838:   ac_cv_c_const=no
 8839: fi
 8840: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8841: fi
 8842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 8843: $as_echo "$ac_cv_c_const" >&6; }
 8844: if test $ac_cv_c_const = no; then
 8845: 
 8846: $as_echo "#define const /**/" >>confdefs.h
 8847: 
 8848: fi
 8849: 
 8850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 8851: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 8852: if ${ac_cv_type_uid_t+:} false; then :
 8853:   $as_echo_n "(cached) " >&6
 8854: else
 8855:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8856: /* end confdefs.h.  */
 8857: #include <sys/types.h>
 8858: 
 8859: _ACEOF
 8860: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8861:   $EGREP "uid_t" >/dev/null 2>&1; then :
 8862:   ac_cv_type_uid_t=yes
 8863: else
 8864:   ac_cv_type_uid_t=no
 8865: fi
 8866: rm -f conftest*
 8867: 
 8868: fi
 8869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 8870: $as_echo "$ac_cv_type_uid_t" >&6; }
 8871: if test $ac_cv_type_uid_t = no; then
 8872: 
 8873: $as_echo "#define uid_t int" >>confdefs.h
 8874: 
 8875: 
 8876: $as_echo "#define gid_t int" >>confdefs.h
 8877: 
 8878: fi
 8879: 
 8880: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 8881: if test "x$ac_cv_type_pid_t" = xyes; then :
 8882: 
 8883: else
 8884: 
 8885: cat >>confdefs.h <<_ACEOF
 8886: #define pid_t int
 8887: _ACEOF
 8888: 
 8889: fi
 8890: 
 8891: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 8892: if test "x$ac_cv_type_size_t" = xyes; then :
 8893: 
 8894: else
 8895: 
 8896: cat >>confdefs.h <<_ACEOF
 8897: #define size_t unsigned int
 8898: _ACEOF
 8899: 
 8900: fi
 8901: 
 8902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 8903: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 8904: if ${ac_cv_header_time+:} false; then :
 8905:   $as_echo_n "(cached) " >&6
 8906: else
 8907:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8908: /* end confdefs.h.  */
 8909: #include <sys/types.h>
 8910: #include <sys/time.h>
 8911: #include <time.h>
 8912: 
 8913: int
 8914: main ()
 8915: {
 8916: if ((struct tm *) 0)
 8917: return 0;
 8918:   ;
 8919:   return 0;
 8920: }
 8921: _ACEOF
 8922: if ac_fn_c_try_compile "$LINENO"; then :
 8923:   ac_cv_header_time=yes
 8924: else
 8925:   ac_cv_header_time=no
 8926: fi
 8927: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8928: fi
 8929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 8930: $as_echo "$ac_cv_header_time" >&6; }
 8931: if test $ac_cv_header_time = yes; then
 8932: 
 8933: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 8934: 
 8935: fi
 8936: 
 8937: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 8938: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 8939: if ${ac_cv_struct_tm+:} false; then :
 8940:   $as_echo_n "(cached) " >&6
 8941: else
 8942:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8943: /* end confdefs.h.  */
 8944: #include <sys/types.h>
 8945: #include <time.h>
 8946: 
 8947: int
 8948: main ()
 8949: {
 8950: struct tm tm;
 8951:                      int *p = &tm.tm_sec;
 8952:                      return !p;
 8953:   ;
 8954:   return 0;
 8955: }
 8956: _ACEOF
 8957: if ac_fn_c_try_compile "$LINENO"; then :
 8958:   ac_cv_struct_tm=time.h
 8959: else
 8960:   ac_cv_struct_tm=sys/time.h
 8961: fi
 8962: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8963: fi
 8964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 8965: $as_echo "$ac_cv_struct_tm" >&6; }
 8966: if test $ac_cv_struct_tm = sys/time.h; then
 8967: 
 8968: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 8969: 
 8970: fi
 8971: 
 8972: 
 8973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 8974: $as_echo_n "checking return type of signal handlers... " >&6; }
 8975: if ${ac_cv_type_signal+:} false; then :
 8976:   $as_echo_n "(cached) " >&6
 8977: else
 8978:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8979: /* end confdefs.h.  */
 8980: #include <sys/types.h>
 8981: #include <signal.h>
 8982: 
 8983: int
 8984: main ()
 8985: {
 8986: return *(signal (0, 0)) (0) == 1;
 8987:   ;
 8988:   return 0;
 8989: }
 8990: _ACEOF
 8991: if ac_fn_c_try_compile "$LINENO"; then :
 8992:   ac_cv_type_signal=int
 8993: else
 8994:   ac_cv_type_signal=void
 8995: fi
 8996: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8997: fi
 8998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 8999: $as_echo "$ac_cv_type_signal" >&6; }
 9000: 
 9001: cat >>confdefs.h <<_ACEOF
 9002: #define RETSIGTYPE $ac_cv_type_signal
 9003: _ACEOF
 9004: 
 9005: 
 9006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
 9007: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
 9008: if test "$cross_compiling" = yes; then :
 9009:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 9010: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 9011: as_fn_error $? "cannot run test program while cross compiling
 9012: See \`config.log' for more details" "$LINENO" 5; }
 9013: else
 9014:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9015: /* end confdefs.h.  */
 9016: #include <unistd.h>
 9017: #include <signal.h>
 9018: int flag;
 9019: void handler(int signal, siginfo_t *siginfo, void *context)
 9020: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
 9021: int
 9022: main ()
 9023: {
 9024: struct sigaction    action;
 9025: action.sa_sigaction = handler;
 9026: action.sa_flags = SA_SIGINFO;
 9027: sigaction(SIGUSR1, &action, NULL);
 9028: raise(SIGUSR1);
 9029: return(flag);
 9030:   ;
 9031:   return 0;
 9032: }
 9033: _ACEOF
 9034: if ac_fn_c_try_run "$LINENO"; then :
 9035:   BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9036: $as_echo "no" >&6; }
 9037: else
 9038:   BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9039: $as_echo "yes" >&6; }
 9040: fi
 9041: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 9042:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 9043: fi
 9044: 
 9045: 
 9046: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 9047: $as_echo_n "checking for working strcoll... " >&6; }
 9048: if ${ac_cv_func_strcoll_works+:} false; then :
 9049:   $as_echo_n "(cached) " >&6
 9050: else
 9051:   if test "$cross_compiling" = yes; then :
 9052:   ac_cv_func_strcoll_works=no
 9053: else
 9054:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9055: /* end confdefs.h.  */
 9056: $ac_includes_default
 9057: int
 9058: main ()
 9059: {
 9060: return (strcoll ("abc", "def") >= 0 ||
 9061:      strcoll ("ABC", "DEF") >= 0 ||
 9062:      strcoll ("123", "456") >= 0)
 9063:   ;
 9064:   return 0;
 9065: }
 9066: _ACEOF
 9067: if ac_fn_c_try_run "$LINENO"; then :
 9068:   ac_cv_func_strcoll_works=yes
 9069: else
 9070:   ac_cv_func_strcoll_works=no
 9071: fi
 9072: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 9073:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 9074: fi
 9075: 
 9076: fi
 9077: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 9078: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 9079: if test $ac_cv_func_strcoll_works = yes; then
 9080: 
 9081: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 9082: 
 9083: fi
 9084: 
 9085: for ac_func in strftime
 9086: do :
 9087:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 9088: if test "x$ac_cv_func_strftime" = xyes; then :
 9089:   cat >>confdefs.h <<_ACEOF
 9090: #define HAVE_STRFTIME 1
 9091: _ACEOF
 9092: 
 9093: else
 9094:   # strftime is in -lintl on SCO UNIX.
 9095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 9096: $as_echo_n "checking for strftime in -lintl... " >&6; }
 9097: if ${ac_cv_lib_intl_strftime+:} false; then :
 9098:   $as_echo_n "(cached) " >&6
 9099: else
 9100:   ac_check_lib_save_LIBS=$LIBS
 9101: LIBS="-lintl  $LIBS"
 9102: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9103: /* end confdefs.h.  */
 9104: 
 9105: /* Override any GCC internal prototype to avoid an error.
 9106:    Use char because int might match the return type of a GCC
 9107:    builtin and then its argument prototype would still apply.  */
 9108: #ifdef __cplusplus
 9109: extern "C"
 9110: #endif
 9111: char strftime ();
 9112: int
 9113: main ()
 9114: {
 9115: return strftime ();
 9116:   ;
 9117:   return 0;
 9118: }
 9119: _ACEOF
 9120: if ac_fn_c_try_link "$LINENO"; then :
 9121:   ac_cv_lib_intl_strftime=yes
 9122: else
 9123:   ac_cv_lib_intl_strftime=no
 9124: fi
 9125: rm -f core conftest.err conftest.$ac_objext \
 9126:     conftest$ac_exeext conftest.$ac_ext
 9127: LIBS=$ac_check_lib_save_LIBS
 9128: fi
 9129: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 9130: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 9131: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
 9132:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 9133: 
 9134: LIBS="-lintl $LIBS"
 9135: fi
 9136: 
 9137: fi
 9138: done
 9139: 
 9140: for ac_func in vprintf
 9141: do :
 9142:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 9143: if test "x$ac_cv_func_vprintf" = xyes; then :
 9144:   cat >>confdefs.h <<_ACEOF
 9145: #define HAVE_VPRINTF 1
 9146: _ACEOF
 9147: 
 9148: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 9149: if test "x$ac_cv_func__doprnt" = xyes; then :
 9150: 
 9151: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 9152: 
 9153: fi
 9154: 
 9155: fi
 9156: done
 9157: 
 9158: 
 9159: for ac_func in ftime getcwd putenv select strcspn strdup \
 9160:         strerror strspn strstr strtod
 9161: do :
 9162:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 9163: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 9164: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 9165:   cat >>confdefs.h <<_ACEOF
 9166: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 9167: _ACEOF
 9168: 
 9169: fi
 9170: done
 9171: 
 9172: 
 9173: 
 9174: # Check whether --with-openssl_arch was given.
 9175: if test "${with_openssl_arch+set}" = set; then :
 9176:   withval=$with_openssl_arch;
 9177: else
 9178:   with_openssl_arch=none
 9179: fi
 9180: 
 9181: 
 9182: if test $(uname) = "OS/2"; then
 9183:     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 9184: else
 9185:     if test "x$with_openssl_arch" = xnone; then
 9186:         (cd tools/$OPENSSL && ./config no-asm)
 9187:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 9188:         (cd tools/$OPENSSL && ./Configure)
 9189:         as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
 9190:     elif test "x$with_openssl_arch" = xlist; then
 9191:         (cd tools/$OPENSSL && ./Configure)
 9192:         as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
 9193:     else
 9194:         (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
 9195:     fi
 9196: fi
 9197: 
 9198: 
 9199: 
 9200: subdirs="$subdirs tools/$NCURSES"
 9201: 
 9202: subdirs="$subdirs tools/$READLINE"
 9203: 
 9204: subdirs="$subdirs tools/$GSL"
 9205: 
 9206: subdirs="$subdirs tools/$GPP"
 9207: 
 9208: subdirs="$subdirs tools/$FILE"
 9209: 
 9210: subdirs="$subdirs tools/$ICONV"
 9211: 
 9212: subdirs="$subdirs tools/$SQLITE"
 9213: 
 9214: subdirs="$subdirs tools/$UNITS"
 9215: 
 9216: 
 9217: if test "$MYGNUPLOT" = "yes"; then
 9218:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 9219:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 9220:                 (cd "$srcdir/tools" && tar -xf -)
 9221:     fi
 9222:     subdirs="$subdirs tools/$GNUPLOT"
 9223: 
 9224:     GNUPLOT_COMPILATION=$GNUPLOT
 9225: else
 9226:     GNUPLOT_COMPILATION=
 9227: fi
 9228: 
 9229: 
 9230: 
 9231: case $host_cpu in
 9232: 
 9233:     i?86)
 9234:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9235:             -Wno-pointer-sign"
 9236:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9237:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9238:     break ;;
 9239: 
 9240:     x86_64*)
 9241:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9242:             -Wno-pointer-sign"
 9243:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9244:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9245:     break ;;
 9246: 
 9247:     alpha*)
 9248:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
 9249:             -Wno-pointer-sign"
 9250:     FFLAGS="$FFLAGS -mieee -Wall"
 9251:     FCFLAGS="$FCFLAGS -mieee -Wall"
 9252:     break ;;
 9253: 
 9254:     sparc*)
 9255:     CFLAGS="$CFLAGS -Wall -funsigned-char \
 9256:             -Wno-pointer-sign"
 9257:     FFLAGS="$FFLAGS -Wall"
 9258:     FCFLAGS="$FCFLAGS -Wall"
 9259:     break ;;
 9260: 
 9261: esac
 9262: 
 9263: case $host_os in
 9264: 
 9265:     cygwin*)
 9266:         OS=Cygwin
 9267:     break ;;
 9268: 
 9269:     interix*)
 9270:         OS=Interix
 9271:     break ;;
 9272: 
 9273:     *)
 9274:         OS=$(uname)
 9275:     break ;;
 9276: 
 9277: esac
 9278: 
 9279: 
 9280: 
 9281: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9282: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9283: MALLOC=
 9284: 
 9285: case $OS in
 9286: 
 9287:     Darwin)
 9288:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9289:         NESTED_FUNCTIONS=-fnested-functions
 9290:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9291:         IPCS_SYSV=-UIPCS_SYSV
 9292:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9293:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9294:                 --disable-shared --enable-static --enable-threads"
 9295:         C_STANDARD=-std=gnu99
 9296:     break ;;
 9297: 
 9298:     Cygwin)
 9299:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9300:         NESTED_FUNCTIONS=
 9301:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9302:         IPCS_SYSV=-UIPCS_SYSV
 9303:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9304:                 --disable-shared --enable-static --enable-threads"
 9305:         C_STANDARD=-std=gnu99
 9306:     break ;;
 9307: 
 9308:     Interix)
 9309:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9310:         NESTED_FUNCTIONS=
 9311:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9312:         IPCS_SYSV=-UIPCS_SYSV
 9313:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9314:                 --disable-shared --enable-static --enable-threads"
 9315:         C_STANDARD=-std=gnu99
 9316:     break;;
 9317: 
 9318:     AIX)
 9319:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9320:         NESTED_FUNCTIONS=
 9321:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9322:         IPCS_SYSV=-UIPCS_SYSV
 9323:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9324:                 --disable-shared --enable-static --enable-threads"
 9325:         C_STANDARD=-std=gnu99
 9326:     break ;;
 9327: 
 9328:     OS/2)
 9329:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9330:             FINAL_ENCODING=CP850; \
 9331:         fi;
 9332:         OS=OS2
 9333:         NESTED_FUNCTIONS=
 9334:         EXPORT_DYNAMIC=-Zmap
 9335:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9336:         IPCS_SYSV=-DIPCS_SYSV
 9337:         ac_configure_args="$ac_configure_args --without-readline \
 9338:                 --without-cairo --disable-shared --enable-static \
 9339:                 --enable-threads"
 9340:         C_STANDARD=
 9341:     break;;
 9342: 
 9343:     OpenBSD)
 9344:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9345:             FINAL_ENCODING=UTF-8; \
 9346:         fi;
 9347:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9348:         NESTED_FUNCTIONS=
 9349:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9350:         IPCS_SYSV=-DIPCS_SYSV
 9351:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9352:                 --disable-shared --enable-static --enable-threads"
 9353:         C_STANDARD=-std=gnu99
 9354:     break;;
 9355: 
 9356:     SunOS)
 9357:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9358:         NESTED_FUNCTIONS=
 9359:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9360: 
 9361:         if test $IPCS_SYSV = no; then
 9362:             IPCS_SYSV=-UIPCS_SYSV
 9363:         else
 9364:             IPCS_SYSV=-DIPCS_SYSV
 9365:         fi
 9366: 
 9367:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9368:                 --disable-shared --enable-static --enable-threads"
 9369:         C_STANDARD=-std=gnu99
 9370:         MALLOC=-lumem
 9371:     break ;;
 9372: 
 9373:     *)
 9374:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9375:         NESTED_FUNCTIONS=
 9376:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9377: 
 9378:         if test $IPCS_SYSV = no; then
 9379:             IPCS_SYSV=-UIPCS_SYSV
 9380:         else
 9381:             IPCS_SYSV=-DIPCS_SYSV
 9382:         fi
 9383: 
 9384:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9385:                 --disable-shared --enable-static --enable-threads"
 9386:         C_STANDARD=-std=gnu99
 9387:     break ;;
 9388: 
 9389: esac
 9390: 
 9391: 
 9392: 
 9393: 
 9394: 
 9395: 
 9396: 
 9397: 
 9398: 
 9399: 
 9400: 
 9401: 
 9402: 
 9403: 
 9404: 
 9405: 
 9406: 
 9407: 
 9408: 
 9409: 
 9410: 
 9411: 
 9412: 
 9413: 
 9414: 
 9415: 
 9416: 
 9417: 
 9418: 
 9419: 
 9420: 
 9421: 
 9422: 
 9423: 
 9424: 
 9425: 
 9426: 
 9427: 
 9428: ac_config_files="$ac_config_files Makefile"
 9429: 
 9430: ac_config_files="$ac_config_files COPYING"
 9431: 
 9432: ac_config_files="$ac_config_files tools/Makefile"
 9433: 
 9434: ac_config_files="$ac_config_files src/Makefile"
 9435: 
 9436: ac_config_files="$ac_config_files man/Makefile"
 9437: 
 9438: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9439: 
 9440: ac_config_files="$ac_config_files doc/Makefile"
 9441: 
 9442: ac_config_files="$ac_config_files scripts/Makefile"
 9443: 
 9444: ac_config_files="$ac_config_files scripts/mkrplso"
 9445: 
 9446: ac_config_files="$ac_config_files scripts/rplcc"
 9447: 
 9448: ac_config_files="$ac_config_files scripts/rpllink"
 9449: 
 9450: ac_config_files="$ac_config_files rpltags/Makefile"
 9451: 
 9452: ac_config_files="$ac_config_files rpliconv/Makefile"
 9453: 
 9454: ac_config_files="$ac_config_files rplsums/Makefile"
 9455: 
 9456: ac_config_files="$ac_config_files rplcas/Makefile"
 9457: 
 9458: ac_config_files="$ac_config_files rplawk/Makefile"
 9459: 
 9460: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9461: 
 9462: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9463: 
 9464: 
 9465: ac_config_files="$ac_config_files man/rpl.1"
 9466: 
 9467: ac_config_files="$ac_config_files man/rplcc.1"
 9468: 
 9469: ac_config_files="$ac_config_files man/rpllink.1"
 9470: 
 9471: ac_config_files="$ac_config_files man/rpltags.1"
 9472: 
 9473: ac_config_files="$ac_config_files man/mkrplso.1"
 9474: 
 9475: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9476: 
 9477: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9478: 
 9479: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9480: 
 9481: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9482: 
 9483: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9484: 
 9485: 
 9486: cat >confcache <<\_ACEOF
 9487: # This file is a shell script that caches the results of configure
 9488: # tests run on this system so they can be shared between configure
 9489: # scripts and configure runs, see configure's option --config-cache.
 9490: # It is not useful on other systems.  If it contains results you don't
 9491: # want to keep, you may remove or edit it.
 9492: #
 9493: # config.status only pays attention to the cache file if you give it
 9494: # the --recheck option to rerun configure.
 9495: #
 9496: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9497: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9498: # following values.
 9499: 
 9500: _ACEOF
 9501: 
 9502: # The following way of writing the cache mishandles newlines in values,
 9503: # but we know of no workaround that is simple, portable, and efficient.
 9504: # So, we kill variables containing newlines.
 9505: # Ultrix sh set writes to stderr and can't be redirected directly,
 9506: # and sets the high bit in the cache file unless we assign to the vars.
 9507: (
 9508:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9509:     eval ac_val=\$$ac_var
 9510:     case $ac_val in #(
 9511:     *${as_nl}*)
 9512:       case $ac_var in #(
 9513:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9514: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9515:       esac
 9516:       case $ac_var in #(
 9517:       _ | IFS | as_nl) ;; #(
 9518:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9519:       *) { eval $ac_var=; unset $ac_var;} ;;
 9520:       esac ;;
 9521:     esac
 9522:   done
 9523: 
 9524:   (set) 2>&1 |
 9525:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9526:     *${as_nl}ac_space=\ *)
 9527:       # `set' does not quote correctly, so add quotes: double-quote
 9528:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9529:       sed -n \
 9530:     "s/'/'\\\\''/g;
 9531:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9532:       ;; #(
 9533:     *)
 9534:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9535:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9536:       ;;
 9537:     esac |
 9538:     sort
 9539: ) |
 9540:   sed '
 9541:      /^ac_cv_env_/b end
 9542:      t clear
 9543:      :clear
 9544:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9545:      t end
 9546:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9547:      :end' >>confcache
 9548: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9549:   if test -w "$cache_file"; then
 9550:     if test "x$cache_file" != "x/dev/null"; then
 9551:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9552: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9553:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 9554:     cat confcache >"$cache_file"
 9555:       else
 9556:         case $cache_file in #(
 9557:         */* | ?:*)
 9558:       mv -f confcache "$cache_file"$$ &&
 9559:       mv -f "$cache_file"$$ "$cache_file" ;; #(
 9560:         *)
 9561:       mv -f confcache "$cache_file" ;;
 9562:     esac
 9563:       fi
 9564:     fi
 9565:   else
 9566:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9567: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9568:   fi
 9569: fi
 9570: rm -f confcache
 9571: 
 9572: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9573: # Let make expand exec_prefix.
 9574: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9575: 
 9576: DEFS=-DHAVE_CONFIG_H
 9577: 
 9578: ac_libobjs=
 9579: ac_ltlibobjs=
 9580: U=
 9581: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9582:   # 1. Remove the extension, and $U if already installed.
 9583:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9584:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9585:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9586:   #    will be set to the directory where LIBOBJS objects are built.
 9587:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9588:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9589: done
 9590: LIBOBJS=$ac_libobjs
 9591: 
 9592: LTLIBOBJS=$ac_ltlibobjs
 9593: 
 9594: 
 9595:  if test -n "$EXEEXT"; then
 9596:   am__EXEEXT_TRUE=
 9597:   am__EXEEXT_FALSE='#'
 9598: else
 9599:   am__EXEEXT_TRUE='#'
 9600:   am__EXEEXT_FALSE=
 9601: fi
 9602: 
 9603: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9604:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 9605: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9606: fi
 9607: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9608:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 9609: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9610: fi
 9611: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9612:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 9613: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9614: fi
 9615: 
 9616: : "${CONFIG_STATUS=./config.status}"
 9617: ac_write_fail=0
 9618: ac_clean_files_save=$ac_clean_files
 9619: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9620: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9621: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9622: as_write_fail=0
 9623: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9624: #! $SHELL
 9625: # Generated by $as_me.
 9626: # Run this file to recreate the current configuration.
 9627: # Compiler output produced by configure, useful for debugging
 9628: # configure, is in config.log if it exists.
 9629: 
 9630: debug=false
 9631: ac_cs_recheck=false
 9632: ac_cs_silent=false
 9633: 
 9634: SHELL=\${CONFIG_SHELL-$SHELL}
 9635: export SHELL
 9636: _ASEOF
 9637: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9638: ## -------------------- ##
 9639: ## M4sh Initialization. ##
 9640: ## -------------------- ##
 9641: 
 9642: # Be more Bourne compatible
 9643: DUALCASE=1; export DUALCASE # for MKS sh
 9644: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9645:   emulate sh
 9646:   NULLCMD=:
 9647:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9648:   # is contrary to our usage.  Disable this feature.
 9649:   alias -g '${1+"$@"}'='"$@"'
 9650:   setopt NO_GLOB_SUBST
 9651: else
 9652:   case `(set -o) 2>/dev/null` in #(
 9653:   *posix*) :
 9654:     set -o posix ;; #(
 9655:   *) :
 9656:      ;;
 9657: esac
 9658: fi
 9659: 
 9660: 
 9661: as_nl='
 9662: '
 9663: export as_nl
 9664: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9665: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9666: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9667: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9668: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9669: # but without wasting forks for bash or zsh.
 9670: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9671:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9672:   as_echo='print -r --'
 9673:   as_echo_n='print -rn --'
 9674: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9675:   as_echo='printf %s\n'
 9676:   as_echo_n='printf %s'
 9677: else
 9678:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9679:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9680:     as_echo_n='/usr/ucb/echo -n'
 9681:   else
 9682:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9683:     as_echo_n_body='eval
 9684:       arg=$1;
 9685:       case $arg in #(
 9686:       *"$as_nl"*)
 9687:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9688:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9689:       esac;
 9690:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9691:     '
 9692:     export as_echo_n_body
 9693:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9694:   fi
 9695:   export as_echo_body
 9696:   as_echo='sh -c $as_echo_body as_echo'
 9697: fi
 9698: 
 9699: # The user is always right.
 9700: if test "${PATH_SEPARATOR+set}" != set; then
 9701:   PATH_SEPARATOR=:
 9702:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9703:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9704:       PATH_SEPARATOR=';'
 9705:   }
 9706: fi
 9707: 
 9708: 
 9709: # IFS
 9710: # We need space, tab and new line, in precisely that order.  Quoting is
 9711: # there to prevent editors from complaining about space-tab.
 9712: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9713: # splitting by setting IFS to empty value.)
 9714: IFS=" ""    $as_nl"
 9715: 
 9716: # Find who we are.  Look in the path if we contain no directory separator.
 9717: as_myself=
 9718: case $0 in #((
 9719:   *[\\/]* ) as_myself=$0 ;;
 9720:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9721: for as_dir in $PATH
 9722: do
 9723:   IFS=$as_save_IFS
 9724:   test -z "$as_dir" && as_dir=.
 9725:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9726:   done
 9727: IFS=$as_save_IFS
 9728: 
 9729:      ;;
 9730: esac
 9731: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9732: # in which case we are not to be found in the path.
 9733: if test "x$as_myself" = x; then
 9734:   as_myself=$0
 9735: fi
 9736: if test ! -f "$as_myself"; then
 9737:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9738:   exit 1
 9739: fi
 9740: 
 9741: # Unset variables that we do not need and which cause bugs (e.g. in
 9742: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9743: # suppresses any "Segmentation fault" message there.  '((' could
 9744: # trigger a bug in pdksh 5.2.14.
 9745: for as_var in BASH_ENV ENV MAIL MAILPATH
 9746: do eval test x\${$as_var+set} = xset \
 9747:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9748: done
 9749: PS1='$ '
 9750: PS2='> '
 9751: PS4='+ '
 9752: 
 9753: # NLS nuisances.
 9754: LC_ALL=C
 9755: export LC_ALL
 9756: LANGUAGE=C
 9757: export LANGUAGE
 9758: 
 9759: # CDPATH.
 9760: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9761: 
 9762: 
 9763: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 9764: # ----------------------------------------
 9765: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9766: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9767: # script with STATUS, using 1 if that was 0.
 9768: as_fn_error ()
 9769: {
 9770:   as_status=$1; test $as_status -eq 0 && as_status=1
 9771:   if test "$4"; then
 9772:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 9773:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 9774:   fi
 9775:   $as_echo "$as_me: error: $2" >&2
 9776:   as_fn_exit $as_status
 9777: } # as_fn_error
 9778: 
 9779: 
 9780: # as_fn_set_status STATUS
 9781: # -----------------------
 9782: # Set $? to STATUS, without forking.
 9783: as_fn_set_status ()
 9784: {
 9785:   return $1
 9786: } # as_fn_set_status
 9787: 
 9788: # as_fn_exit STATUS
 9789: # -----------------
 9790: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 9791: as_fn_exit ()
 9792: {
 9793:   set +e
 9794:   as_fn_set_status $1
 9795:   exit $1
 9796: } # as_fn_exit
 9797: 
 9798: # as_fn_unset VAR
 9799: # ---------------
 9800: # Portably unset VAR.
 9801: as_fn_unset ()
 9802: {
 9803:   { eval $1=; unset $1;}
 9804: }
 9805: as_unset=as_fn_unset
 9806: # as_fn_append VAR VALUE
 9807: # ----------------------
 9808: # Append the text in VALUE to the end of the definition contained in VAR. Take
 9809: # advantage of any shell optimizations that allow amortized linear growth over
 9810: # repeated appends, instead of the typical quadratic growth present in naive
 9811: # implementations.
 9812: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 9813:   eval 'as_fn_append ()
 9814:   {
 9815:     eval $1+=\$2
 9816:   }'
 9817: else
 9818:   as_fn_append ()
 9819:   {
 9820:     eval $1=\$$1\$2
 9821:   }
 9822: fi # as_fn_append
 9823: 
 9824: # as_fn_arith ARG...
 9825: # ------------------
 9826: # Perform arithmetic evaluation on the ARGs, and store the result in the
 9827: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 9828: # must be portable across $(()) and expr.
 9829: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 9830:   eval 'as_fn_arith ()
 9831:   {
 9832:     as_val=$(( $* ))
 9833:   }'
 9834: else
 9835:   as_fn_arith ()
 9836:   {
 9837:     as_val=`expr "$@" || test $? -eq 1`
 9838:   }
 9839: fi # as_fn_arith
 9840: 
 9841: 
 9842: if expr a : '\(a\)' >/dev/null 2>&1 &&
 9843:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 9844:   as_expr=expr
 9845: else
 9846:   as_expr=false
 9847: fi
 9848: 
 9849: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 9850:   as_basename=basename
 9851: else
 9852:   as_basename=false
 9853: fi
 9854: 
 9855: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 9856:   as_dirname=dirname
 9857: else
 9858:   as_dirname=false
 9859: fi
 9860: 
 9861: as_me=`$as_basename -- "$0" ||
 9862: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 9863:      X"$0" : 'X\(//\)$' \| \
 9864:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 9865: $as_echo X/"$0" |
 9866:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 9867:         s//\1/
 9868:         q
 9869:       }
 9870:       /^X\/\(\/\/\)$/{
 9871:         s//\1/
 9872:         q
 9873:       }
 9874:       /^X\/\(\/\).*/{
 9875:         s//\1/
 9876:         q
 9877:       }
 9878:       s/.*/./; q'`
 9879: 
 9880: # Avoid depending upon Character Ranges.
 9881: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 9882: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 9883: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 9884: as_cr_digits='0123456789'
 9885: as_cr_alnum=$as_cr_Letters$as_cr_digits
 9886: 
 9887: ECHO_C= ECHO_N= ECHO_T=
 9888: case `echo -n x` in #(((((
 9889: -n*)
 9890:   case `echo 'xy\c'` in
 9891:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 9892:   xy)  ECHO_C='\c';;
 9893:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 9894:        ECHO_T=' ';;
 9895:   esac;;
 9896: *)
 9897:   ECHO_N='-n';;
 9898: esac
 9899: 
 9900: rm -f conf$$ conf$$.exe conf$$.file
 9901: if test -d conf$$.dir; then
 9902:   rm -f conf$$.dir/conf$$.file
 9903: else
 9904:   rm -f conf$$.dir
 9905:   mkdir conf$$.dir 2>/dev/null
 9906: fi
 9907: if (echo >conf$$.file) 2>/dev/null; then
 9908:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 9909:     as_ln_s='ln -s'
 9910:     # ... but there are two gotchas:
 9911:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 9912:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 9913:     # In both cases, we have to default to `cp -p'.
 9914:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 9915:       as_ln_s='cp -p'
 9916:   elif ln conf$$.file conf$$ 2>/dev/null; then
 9917:     as_ln_s=ln
 9918:   else
 9919:     as_ln_s='cp -p'
 9920:   fi
 9921: else
 9922:   as_ln_s='cp -p'
 9923: fi
 9924: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 9925: rmdir conf$$.dir 2>/dev/null
 9926: 
 9927: 
 9928: # as_fn_mkdir_p
 9929: # -------------
 9930: # Create "$as_dir" as a directory, including parents if necessary.
 9931: as_fn_mkdir_p ()
 9932: {
 9933: 
 9934:   case $as_dir in #(
 9935:   -*) as_dir=./$as_dir;;
 9936:   esac
 9937:   test -d "$as_dir" || eval $as_mkdir_p || {
 9938:     as_dirs=
 9939:     while :; do
 9940:       case $as_dir in #(
 9941:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 9942:       *) as_qdir=$as_dir;;
 9943:       esac
 9944:       as_dirs="'$as_qdir' $as_dirs"
 9945:       as_dir=`$as_dirname -- "$as_dir" ||
 9946: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 9947:      X"$as_dir" : 'X\(//\)[^/]' \| \
 9948:      X"$as_dir" : 'X\(//\)$' \| \
 9949:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 9950: $as_echo X"$as_dir" |
 9951:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 9952:         s//\1/
 9953:         q
 9954:       }
 9955:       /^X\(\/\/\)[^/].*/{
 9956:         s//\1/
 9957:         q
 9958:       }
 9959:       /^X\(\/\/\)$/{
 9960:         s//\1/
 9961:         q
 9962:       }
 9963:       /^X\(\/\).*/{
 9964:         s//\1/
 9965:         q
 9966:       }
 9967:       s/.*/./; q'`
 9968:       test -d "$as_dir" && break
 9969:     done
 9970:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 9971:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 9972: 
 9973: 
 9974: } # as_fn_mkdir_p
 9975: if mkdir -p . 2>/dev/null; then
 9976:   as_mkdir_p='mkdir -p "$as_dir"'
 9977: else
 9978:   test -d ./-p && rmdir ./-p
 9979:   as_mkdir_p=false
 9980: fi
 9981: 
 9982: if test -x / >/dev/null 2>&1; then
 9983:   as_test_x='test -x'
 9984: else
 9985:   if ls -dL / >/dev/null 2>&1; then
 9986:     as_ls_L_option=L
 9987:   else
 9988:     as_ls_L_option=
 9989:   fi
 9990:   as_test_x='
 9991:     eval sh -c '\''
 9992:       if test -d "$1"; then
 9993:     test -d "$1/.";
 9994:       else
 9995:     case $1 in #(
 9996:     -*)set "./$1";;
 9997:     esac;
 9998:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 9999:     ???[sx]*):;;*)false;;esac;fi
10000:     '\'' sh
10001:   '
10002: fi
10003: as_executable_p=$as_test_x
10004: 
10005: # Sed expression to map a string onto a valid CPP name.
10006: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10007: 
10008: # Sed expression to map a string onto a valid variable name.
10009: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10010: 
10011: 
10012: exec 6>&1
10013: ## ----------------------------------- ##
10014: ## Main body of $CONFIG_STATUS script. ##
10015: ## ----------------------------------- ##
10016: _ASEOF
10017: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10018: 
10019: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10020: # Save the log message, to keep $0 and so on meaningful, and to
10021: # report actual input values of CONFIG_FILES etc. instead of their
10022: # values after options handling.
10023: ac_log="
10024: This file was extended by rpl $as_me 4.1.1, which was
10025: generated by GNU Autoconf 2.68.  Invocation command line was
10026: 
10027:   CONFIG_FILES    = $CONFIG_FILES
10028:   CONFIG_HEADERS  = $CONFIG_HEADERS
10029:   CONFIG_LINKS    = $CONFIG_LINKS
10030:   CONFIG_COMMANDS = $CONFIG_COMMANDS
10031:   $ $0 $@
10032: 
10033: on `(hostname || uname -n) 2>/dev/null | sed 1q`
10034: "
10035: 
10036: _ACEOF
10037: 
10038: case $ac_config_files in *"
10039: "*) set x $ac_config_files; shift; ac_config_files=$*;;
10040: esac
10041: 
10042: case $ac_config_headers in *"
10043: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10044: esac
10045: 
10046: 
10047: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10048: # Files that config.status was made for.
10049: config_files="$ac_config_files"
10050: config_headers="$ac_config_headers"
10051: config_commands="$ac_config_commands"
10052: 
10053: _ACEOF
10054: 
10055: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10056: ac_cs_usage="\
10057: \`$as_me' instantiates files and other configuration actions
10058: from templates according to the current configuration.  Unless the files
10059: and actions are specified as TAGs, all are instantiated by default.
10060: 
10061: Usage: $0 [OPTION]... [TAG]...
10062: 
10063:   -h, --help       print this help, then exit
10064:   -V, --version    print version number and configuration settings, then exit
10065:       --config     print configuration, then exit
10066:   -q, --quiet, --silent
10067:                    do not print progress messages
10068:   -d, --debug      don't remove temporary files
10069:       --recheck    update $as_me by reconfiguring in the same conditions
10070:       --file=FILE[:TEMPLATE]
10071:                    instantiate the configuration file FILE
10072:       --header=FILE[:TEMPLATE]
10073:                    instantiate the configuration header FILE
10074: 
10075: Configuration files:
10076: $config_files
10077: 
10078: Configuration headers:
10079: $config_headers
10080: 
10081: Configuration commands:
10082: $config_commands
10083: 
10084: Report bugs to the package provider."
10085: 
10086: _ACEOF
10087: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10088: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10089: ac_cs_version="\\
10090: rpl config.status 4.1.1
10091: configured by $0, generated by GNU Autoconf 2.68,
10092:   with options \\"\$ac_cs_config\\"
10093: 
10094: Copyright (C) 2010 Free Software Foundation, Inc.
10095: This config.status script is free software; the Free Software Foundation
10096: gives unlimited permission to copy, distribute and modify it."
10097: 
10098: ac_pwd='$ac_pwd'
10099: srcdir='$srcdir'
10100: INSTALL='$INSTALL'
10101: MKDIR_P='$MKDIR_P'
10102: AWK='$AWK'
10103: test -n "\$AWK" || AWK=awk
10104: _ACEOF
10105: 
10106: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10107: # The default lists apply if the user does not specify any file.
10108: ac_need_defaults=:
10109: while test $# != 0
10110: do
10111:   case $1 in
10112:   --*=?*)
10113:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10114:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10115:     ac_shift=:
10116:     ;;
10117:   --*=)
10118:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10119:     ac_optarg=
10120:     ac_shift=:
10121:     ;;
10122:   *)
10123:     ac_option=$1
10124:     ac_optarg=$2
10125:     ac_shift=shift
10126:     ;;
10127:   esac
10128: 
10129:   case $ac_option in
10130:   # Handling of the options.
10131:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10132:     ac_cs_recheck=: ;;
10133:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10134:     $as_echo "$ac_cs_version"; exit ;;
10135:   --config | --confi | --conf | --con | --co | --c )
10136:     $as_echo "$ac_cs_config"; exit ;;
10137:   --debug | --debu | --deb | --de | --d | -d )
10138:     debug=: ;;
10139:   --file | --fil | --fi | --f )
10140:     $ac_shift
10141:     case $ac_optarg in
10142:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10143:     '') as_fn_error $? "missing file argument" ;;
10144:     esac
10145:     as_fn_append CONFIG_FILES " '$ac_optarg'"
10146:     ac_need_defaults=false;;
10147:   --header | --heade | --head | --hea )
10148:     $ac_shift
10149:     case $ac_optarg in
10150:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10151:     esac
10152:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10153:     ac_need_defaults=false;;
10154:   --he | --h)
10155:     # Conflict between --help and --header
10156:     as_fn_error $? "ambiguous option: \`$1'
10157: Try \`$0 --help' for more information.";;
10158:   --help | --hel | -h )
10159:     $as_echo "$ac_cs_usage"; exit ;;
10160:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10161:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
10162:     ac_cs_silent=: ;;
10163: 
10164:   # This is an error.
10165:   -*) as_fn_error $? "unrecognized option: \`$1'
10166: Try \`$0 --help' for more information." ;;
10167: 
10168:   *) as_fn_append ac_config_targets " $1"
10169:      ac_need_defaults=false ;;
10170: 
10171:   esac
10172:   shift
10173: done
10174: 
10175: ac_configure_extra_args=
10176: 
10177: if $ac_cs_silent; then
10178:   exec 6>/dev/null
10179:   ac_configure_extra_args="$ac_configure_extra_args --silent"
10180: fi
10181: 
10182: _ACEOF
10183: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10184: if \$ac_cs_recheck; then
10185:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10186:   shift
10187:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10188:   CONFIG_SHELL='$SHELL'
10189:   export CONFIG_SHELL
10190:   exec "\$@"
10191: fi
10192: 
10193: _ACEOF
10194: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10195: exec 5>>config.log
10196: {
10197:   echo
10198:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10199: ## Running $as_me. ##
10200: _ASBOX
10201:   $as_echo "$ac_log"
10202: } >&5
10203: 
10204: _ACEOF
10205: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10206: #
10207: # INIT-COMMANDS
10208: #
10209: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10210: 
10211: _ACEOF
10212: 
10213: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10214: 
10215: # Handling of arguments.
10216: for ac_config_target in $ac_config_targets
10217: do
10218:   case $ac_config_target in
10219:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10220:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10221:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10222:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10223:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10224:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10225:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10226:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10227:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10228:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10229:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10230:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10231:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10232:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10233:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10234:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10235:     "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10236:     "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10237:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10238:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10239:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10240:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10241:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10242:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10243:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10244:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10245:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10246:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10247:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10248:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10249: 
10250:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10251:   esac
10252: done
10253: 
10254: 
10255: # If the user did not use the arguments to specify the items to instantiate,
10256: # then the envvar interface is used.  Set only those that are not.
10257: # We use the long form for the default assignment because of an extremely
10258: # bizarre bug on SunOS 4.1.3.
10259: if $ac_need_defaults; then
10260:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10261:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10262:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10263: fi
10264: 
10265: # Have a temporary directory for convenience.  Make it in the build tree
10266: # simply because there is no reason against having it here, and in addition,
10267: # creating and moving files from /tmp can sometimes cause problems.
10268: # Hook for its removal unless debugging.
10269: # Note that there is a small window in which the directory will not be cleaned:
10270: # after its creation but before its name has been assigned to `$tmp'.
10271: $debug ||
10272: {
10273:   tmp= ac_tmp=
10274:   trap 'exit_status=$?
10275:   : "${ac_tmp:=$tmp}"
10276:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10277: ' 0
10278:   trap 'as_fn_exit 1' 1 2 13 15
10279: }
10280: # Create a (secure) tmp directory for tmp files.
10281: 
10282: {
10283:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10284:   test -d "$tmp"
10285: }  ||
10286: {
10287:   tmp=./conf$$-$RANDOM
10288:   (umask 077 && mkdir "$tmp")
10289: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10290: ac_tmp=$tmp
10291: 
10292: # Set up the scripts for CONFIG_FILES section.
10293: # No need to generate them if there are no CONFIG_FILES.
10294: # This happens for instance with `./config.status config.h'.
10295: if test -n "$CONFIG_FILES"; then
10296: 
10297: 
10298: ac_cr=`echo X | tr X '\015'`
10299: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10300: # But we know of no other shell where ac_cr would be empty at this
10301: # point, so we can use a bashism as a fallback.
10302: if test "x$ac_cr" = x; then
10303:   eval ac_cr=\$\'\\r\'
10304: fi
10305: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10306: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10307:   ac_cs_awk_cr='\\r'
10308: else
10309:   ac_cs_awk_cr=$ac_cr
10310: fi
10311: 
10312: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10313: _ACEOF
10314: 
10315: 
10316: {
10317:   echo "cat >conf$$subs.awk <<_ACEOF" &&
10318:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10319:   echo "_ACEOF"
10320: } >conf$$subs.sh ||
10321:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10322: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10323: ac_delim='%!_!# '
10324: for ac_last_try in false false false false false :; do
10325:   . ./conf$$subs.sh ||
10326:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10327: 
10328:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10329:   if test $ac_delim_n = $ac_delim_num; then
10330:     break
10331:   elif $ac_last_try; then
10332:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10333:   else
10334:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10335:   fi
10336: done
10337: rm -f conf$$subs.sh
10338: 
10339: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10340: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10341: _ACEOF
10342: sed -n '
10343: h
10344: s/^/S["/; s/!.*/"]=/
10345: p
10346: g
10347: s/^[^!]*!//
10348: :repl
10349: t repl
10350: s/'"$ac_delim"'$//
10351: t delim
10352: :nl
10353: h
10354: s/\(.\{148\}\)..*/\1/
10355: t more1
10356: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10357: p
10358: n
10359: b repl
10360: :more1
10361: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10362: p
10363: g
10364: s/.\{148\}//
10365: t nl
10366: :delim
10367: h
10368: s/\(.\{148\}\)..*/\1/
10369: t more2
10370: s/["\\]/\\&/g; s/^/"/; s/$/"/
10371: p
10372: b
10373: :more2
10374: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10375: p
10376: g
10377: s/.\{148\}//
10378: t delim
10379: ' <conf$$subs.awk | sed '
10380: /^[^""]/{
10381:   N
10382:   s/\n//
10383: }
10384: ' >>$CONFIG_STATUS || ac_write_fail=1
10385: rm -f conf$$subs.awk
10386: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10387: _ACAWK
10388: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10389:   for (key in S) S_is_set[key] = 1
10390:   FS = ""
10391: 
10392: }
10393: {
10394:   line = $ 0
10395:   nfields = split(line, field, "@")
10396:   substed = 0
10397:   len = length(field[1])
10398:   for (i = 2; i < nfields; i++) {
10399:     key = field[i]
10400:     keylen = length(key)
10401:     if (S_is_set[key]) {
10402:       value = S[key]
10403:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10404:       len += length(value) + length(field[++i])
10405:       substed = 1
10406:     } else
10407:       len += 1 + keylen
10408:   }
10409: 
10410:   print line
10411: }
10412: 
10413: _ACAWK
10414: _ACEOF
10415: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10416: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10417:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10418: else
10419:   cat
10420: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10421:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10422: _ACEOF
10423: 
10424: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10425: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10426: # trailing colons and then remove the whole line if VPATH becomes empty
10427: # (actually we leave an empty line to preserve line numbers).
10428: if test "x$srcdir" = x.; then
10429:   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
10430: h
10431: s///
10432: s/^/:/
10433: s/[  ]*$/:/
10434: s/:\$(srcdir):/:/g
10435: s/:\${srcdir}:/:/g
10436: s/:@srcdir@:/:/g
10437: s/^:*//
10438: s/:*$//
10439: x
10440: s/\(=[   ]*\).*/\1/
10441: G
10442: s/\n//
10443: s/^[^=]*=[   ]*$//
10444: }'
10445: fi
10446: 
10447: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10448: fi # test -n "$CONFIG_FILES"
10449: 
10450: # Set up the scripts for CONFIG_HEADERS section.
10451: # No need to generate them if there are no CONFIG_HEADERS.
10452: # This happens for instance with `./config.status Makefile'.
10453: if test -n "$CONFIG_HEADERS"; then
10454: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10455: BEGIN {
10456: _ACEOF
10457: 
10458: # Transform confdefs.h into an awk script `defines.awk', embedded as
10459: # here-document in config.status, that substitutes the proper values into
10460: # config.h.in to produce config.h.
10461: 
10462: # Create a delimiter string that does not exist in confdefs.h, to ease
10463: # handling of long lines.
10464: ac_delim='%!_!# '
10465: for ac_last_try in false false :; do
10466:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10467:   if test -z "$ac_tt"; then
10468:     break
10469:   elif $ac_last_try; then
10470:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10471:   else
10472:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10473:   fi
10474: done
10475: 
10476: # For the awk script, D is an array of macro values keyed by name,
10477: # likewise P contains macro parameters if any.  Preserve backslash
10478: # newline sequences.
10479: 
10480: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10481: sed -n '
10482: s/.\{148\}/&'"$ac_delim"'/g
10483: t rset
10484: :rset
10485: s/^[     ]*#[    ]*define[   ][  ]*/ /
10486: t def
10487: d
10488: :def
10489: s/\\$//
10490: t bsnl
10491: s/["\\]/\\&/g
10492: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10493: D["\1"]=" \3"/p
10494: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10495: d
10496: :bsnl
10497: s/["\\]/\\&/g
10498: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10499: D["\1"]=" \3\\\\\\n"\\/p
10500: t cont
10501: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10502: t cont
10503: d
10504: :cont
10505: n
10506: s/.\{148\}/&'"$ac_delim"'/g
10507: t clear
10508: :clear
10509: s/\\$//
10510: t bsnlc
10511: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10512: d
10513: :bsnlc
10514: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10515: b cont
10516: ' <confdefs.h | sed '
10517: s/'"$ac_delim"'/"\\\
10518: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10519: 
10520: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10521:   for (key in D) D_is_set[key] = 1
10522:   FS = ""
10523: }
10524: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10525:   line = \$ 0
10526:   split(line, arg, " ")
10527:   if (arg[1] == "#") {
10528:     defundef = arg[2]
10529:     mac1 = arg[3]
10530:   } else {
10531:     defundef = substr(arg[1], 2)
10532:     mac1 = arg[2]
10533:   }
10534:   split(mac1, mac2, "(") #)
10535:   macro = mac2[1]
10536:   prefix = substr(line, 1, index(line, defundef) - 1)
10537:   if (D_is_set[macro]) {
10538:     # Preserve the white space surrounding the "#".
10539:     print prefix "define", macro P[macro] D[macro]
10540:     next
10541:   } else {
10542:     # Replace #undef with comments.  This is necessary, for example,
10543:     # in the case of _POSIX_SOURCE, which is predefined and required
10544:     # on some systems where configure will not decide to define it.
10545:     if (defundef == "undef") {
10546:       print "/*", prefix defundef, macro, "*/"
10547:       next
10548:     }
10549:   }
10550: }
10551: { print }
10552: _ACAWK
10553: _ACEOF
10554: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10555:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10556: fi # test -n "$CONFIG_HEADERS"
10557: 
10558: 
10559: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10560: shift
10561: for ac_tag
10562: do
10563:   case $ac_tag in
10564:   :[FHLC]) ac_mode=$ac_tag; continue;;
10565:   esac
10566:   case $ac_mode$ac_tag in
10567:   :[FHL]*:*);;
10568:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10569:   :[FH]-) ac_tag=-:-;;
10570:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10571:   esac
10572:   ac_save_IFS=$IFS
10573:   IFS=:
10574:   set x $ac_tag
10575:   IFS=$ac_save_IFS
10576:   shift
10577:   ac_file=$1
10578:   shift
10579: 
10580:   case $ac_mode in
10581:   :L) ac_source=$1;;
10582:   :[FH])
10583:     ac_file_inputs=
10584:     for ac_f
10585:     do
10586:       case $ac_f in
10587:       -) ac_f="$ac_tmp/stdin";;
10588:       *) # Look for the file first in the build tree, then in the source tree
10589:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10590:      # because $ac_f cannot contain `:'.
10591:      test -f "$ac_f" ||
10592:        case $ac_f in
10593:        [\\/$]*) false;;
10594:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10595:        esac ||
10596:        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10597:       esac
10598:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10599:       as_fn_append ac_file_inputs " '$ac_f'"
10600:     done
10601: 
10602:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10603:     # use $as_me), people would be surprised to read:
10604:     #    /* config.h.  Generated by config.status.  */
10605:     configure_input='Generated from '`
10606:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10607:     `' by configure.'
10608:     if test x"$ac_file" != x-; then
10609:       configure_input="$ac_file.  $configure_input"
10610:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10611: $as_echo "$as_me: creating $ac_file" >&6;}
10612:     fi
10613:     # Neutralize special characters interpreted by sed in replacement strings.
10614:     case $configure_input in #(
10615:     *\&* | *\|* | *\\* )
10616:        ac_sed_conf_input=`$as_echo "$configure_input" |
10617:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10618:     *) ac_sed_conf_input=$configure_input;;
10619:     esac
10620: 
10621:     case $ac_tag in
10622:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
10623:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10624:     esac
10625:     ;;
10626:   esac
10627: 
10628:   ac_dir=`$as_dirname -- "$ac_file" ||
10629: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10630:      X"$ac_file" : 'X\(//\)[^/]' \| \
10631:      X"$ac_file" : 'X\(//\)$' \| \
10632:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10633: $as_echo X"$ac_file" |
10634:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10635:         s//\1/
10636:         q
10637:       }
10638:       /^X\(\/\/\)[^/].*/{
10639:         s//\1/
10640:         q
10641:       }
10642:       /^X\(\/\/\)$/{
10643:         s//\1/
10644:         q
10645:       }
10646:       /^X\(\/\).*/{
10647:         s//\1/
10648:         q
10649:       }
10650:       s/.*/./; q'`
10651:   as_dir="$ac_dir"; as_fn_mkdir_p
10652:   ac_builddir=.
10653: 
10654: case "$ac_dir" in
10655: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10656: *)
10657:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10658:   # A ".." for each directory in $ac_dir_suffix.
10659:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10660:   case $ac_top_builddir_sub in
10661:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10662:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10663:   esac ;;
10664: esac
10665: ac_abs_top_builddir=$ac_pwd
10666: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10667: # for backward compatibility:
10668: ac_top_builddir=$ac_top_build_prefix
10669: 
10670: case $srcdir in
10671:   .)  # We are building in place.
10672:     ac_srcdir=.
10673:     ac_top_srcdir=$ac_top_builddir_sub
10674:     ac_abs_top_srcdir=$ac_pwd ;;
10675:   [\\/]* | ?:[\\/]* )  # Absolute name.
10676:     ac_srcdir=$srcdir$ac_dir_suffix;
10677:     ac_top_srcdir=$srcdir
10678:     ac_abs_top_srcdir=$srcdir ;;
10679:   *) # Relative name.
10680:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10681:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10682:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10683: esac
10684: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10685: 
10686: 
10687:   case $ac_mode in
10688:   :F)
10689:   #
10690:   # CONFIG_FILE
10691:   #
10692: 
10693:   case $INSTALL in
10694:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10695:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10696:   esac
10697:   ac_MKDIR_P=$MKDIR_P
10698:   case $MKDIR_P in
10699:   [\\/$]* | ?:[\\/]* ) ;;
10700:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10701:   esac
10702: _ACEOF
10703: 
10704: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10705: # If the template does not know about datarootdir, expand it.
10706: # FIXME: This hack should be removed a few years after 2.60.
10707: ac_datarootdir_hack=; ac_datarootdir_seen=
10708: ac_sed_dataroot='
10709: /datarootdir/ {
10710:   p
10711:   q
10712: }
10713: /@datadir@/p
10714: /@docdir@/p
10715: /@infodir@/p
10716: /@localedir@/p
10717: /@mandir@/p'
10718: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10719: *datarootdir*) ac_datarootdir_seen=yes;;
10720: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10721:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10722: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10723: _ACEOF
10724: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10725:   ac_datarootdir_hack='
10726:   s&@datadir@&$datadir&g
10727:   s&@docdir@&$docdir&g
10728:   s&@infodir@&$infodir&g
10729:   s&@localedir@&$localedir&g
10730:   s&@mandir@&$mandir&g
10731:   s&\\\${datarootdir}&$datarootdir&g' ;;
10732: esac
10733: _ACEOF
10734: 
10735: # Neutralize VPATH when `$srcdir' = `.'.
10736: # Shell code in configure.ac might set extrasub.
10737: # FIXME: do we really want to maintain this feature?
10738: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10739: ac_sed_extra="$ac_vpsub
10740: $extrasub
10741: _ACEOF
10742: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10743: :t
10744: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10745: s|@configure_input@|$ac_sed_conf_input|;t t
10746: s&@top_builddir@&$ac_top_builddir_sub&;t t
10747: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10748: s&@srcdir@&$ac_srcdir&;t t
10749: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10750: s&@top_srcdir@&$ac_top_srcdir&;t t
10751: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10752: s&@builddir@&$ac_builddir&;t t
10753: s&@abs_builddir@&$ac_abs_builddir&;t t
10754: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10755: s&@INSTALL@&$ac_INSTALL&;t t
10756: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10757: $ac_datarootdir_hack
10758: "
10759: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10760:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10761: 
10762: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10763:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10764:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
10765:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
10766:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10767: which seems to be undefined.  Please make sure it is defined" >&5
10768: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10769: which seems to be undefined.  Please make sure it is defined" >&2;}
10770: 
10771:   rm -f "$ac_tmp/stdin"
10772:   case $ac_file in
10773:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10774:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10775:   esac \
10776:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10777:  ;;
10778:   :H)
10779:   #
10780:   # CONFIG_HEADER
10781:   #
10782:   if test x"$ac_file" != x-; then
10783:     {
10784:       $as_echo "/* $configure_input  */" \
10785:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10786:     } >"$ac_tmp/config.h" \
10787:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10788:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10789:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10790: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10791:     else
10792:       rm -f "$ac_file"
10793:       mv "$ac_tmp/config.h" "$ac_file" \
10794:     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10795:     fi
10796:   else
10797:     $as_echo "/* $configure_input  */" \
10798:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10799:       || as_fn_error $? "could not create -" "$LINENO" 5
10800:   fi
10801: # Compute "$ac_file"'s index in $config_headers.
10802: _am_arg="$ac_file"
10803: _am_stamp_count=1
10804: for _am_header in $config_headers :; do
10805:   case $_am_header in
10806:     $_am_arg | $_am_arg:* )
10807:       break ;;
10808:     * )
10809:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10810:   esac
10811: done
10812: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10813: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10814:      X"$_am_arg" : 'X\(//\)[^/]' \| \
10815:      X"$_am_arg" : 'X\(//\)$' \| \
10816:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10817: $as_echo X"$_am_arg" |
10818:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10819:         s//\1/
10820:         q
10821:       }
10822:       /^X\(\/\/\)[^/].*/{
10823:         s//\1/
10824:         q
10825:       }
10826:       /^X\(\/\/\)$/{
10827:         s//\1/
10828:         q
10829:       }
10830:       /^X\(\/\).*/{
10831:         s//\1/
10832:         q
10833:       }
10834:       s/.*/./; q'`/stamp-h$_am_stamp_count
10835:  ;;
10836: 
10837:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10838: $as_echo "$as_me: executing $ac_file commands" >&6;}
10839:  ;;
10840:   esac
10841: 
10842: 
10843:   case $ac_file$ac_mode in
10844:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10845:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10846:   # are listed without --file.  Let's play safe and only enable the eval
10847:   # if we detect the quoting.
10848:   case $CONFIG_FILES in
10849:   *\'*) eval set x "$CONFIG_FILES" ;;
10850:   *)   set x $CONFIG_FILES ;;
10851:   esac
10852:   shift
10853:   for mf
10854:   do
10855:     # Strip MF so we end up with the name of the file.
10856:     mf=`echo "$mf" | sed -e 's/:.*$//'`
10857:     # Check whether this is an Automake generated Makefile or not.
10858:     # We used to match only the files named `Makefile.in', but
10859:     # some people rename them; so instead we look at the file content.
10860:     # Grep'ing the first line is not enough: some people post-process
10861:     # each Makefile.in and add a new line on top of each file to say so.
10862:     # Grep'ing the whole file is not good either: AIX grep has a line
10863:     # limit of 2048, but all sed's we know have understand at least 4000.
10864:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10865:       dirpart=`$as_dirname -- "$mf" ||
10866: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10867:      X"$mf" : 'X\(//\)[^/]' \| \
10868:      X"$mf" : 'X\(//\)$' \| \
10869:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10870: $as_echo X"$mf" |
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'`
10888:     else
10889:       continue
10890:     fi
10891:     # Extract the definition of DEPDIR, am__include, and am__quote
10892:     # from the Makefile without running `make'.
10893:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10894:     test -z "$DEPDIR" && continue
10895:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10896:     test -z "am__include" && continue
10897:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10898:     # When using ansi2knr, U may be empty or an underscore; expand it
10899:     U=`sed -n 's/^U = //p' < "$mf"`
10900:     # Find all dependency output files, they are included files with
10901:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10902:     # simplest approach to changing $(DEPDIR) to its actual value in the
10903:     # expansion.
10904:     for file in `sed -n "
10905:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10906:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10907:       # Make sure the directory exists.
10908:       test -f "$dirpart/$file" && continue
10909:       fdir=`$as_dirname -- "$file" ||
10910: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10911:      X"$file" : 'X\(//\)[^/]' \| \
10912:      X"$file" : 'X\(//\)$' \| \
10913:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10914: $as_echo X"$file" |
10915:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10916:         s//\1/
10917:         q
10918:       }
10919:       /^X\(\/\/\)[^/].*/{
10920:         s//\1/
10921:         q
10922:       }
10923:       /^X\(\/\/\)$/{
10924:         s//\1/
10925:         q
10926:       }
10927:       /^X\(\/\).*/{
10928:         s//\1/
10929:         q
10930:       }
10931:       s/.*/./; q'`
10932:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10933:       # echo "creating $dirpart/$file"
10934:       echo '# dummy' > "$dirpart/$file"
10935:     done
10936:   done
10937: }
10938:  ;;
10939: 
10940:   esac
10941: done # for ac_tag
10942: 
10943: 
10944: as_fn_exit 0
10945: _ACEOF
10946: ac_clean_files=$ac_clean_files_save
10947: 
10948: test $ac_write_fail = 0 ||
10949:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10950: 
10951: 
10952: # configure is writing to config.log, and then calls config.status.
10953: # config.status does its own redirection, appending to config.log.
10954: # Unfortunately, on DOS this fails, as config.log is still kept open
10955: # by configure, so config.status won't be able to write to it; its
10956: # output is simply discarded.  So we exec the FD to /dev/null,
10957: # effectively closing config.log, so it can be properly (re)opened and
10958: # appended to by config.status.  When coming back to configure, we
10959: # need to make the FD available again.
10960: if test "$no_create" != yes; then
10961:   ac_cs_success=:
10962:   ac_config_status_args=
10963:   test "$silent" = yes &&
10964:     ac_config_status_args="$ac_config_status_args --quiet"
10965:   exec 5>/dev/null
10966:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10967:   exec 5>>config.log
10968:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10969:   # would make configure fail if this is the last instruction.
10970:   $ac_cs_success || as_fn_exit 1
10971: fi
10972: 
10973: #
10974: # CONFIG_SUBDIRS section.
10975: #
10976: if test "$no_recursion" != yes; then
10977: 
10978:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10979:   # so they do not pile up.
10980:   ac_sub_configure_args=
10981:   ac_prev=
10982:   eval "set x $ac_configure_args"
10983:   shift
10984:   for ac_arg
10985:   do
10986:     if test -n "$ac_prev"; then
10987:       ac_prev=
10988:       continue
10989:     fi
10990:     case $ac_arg in
10991:     -cache-file | --cache-file | --cache-fil | --cache-fi \
10992:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10993:       ac_prev=cache_file ;;
10994:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10995:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10996:     | --c=*)
10997:       ;;
10998:     --config-cache | -C)
10999:       ;;
11000:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11001:       ac_prev=srcdir ;;
11002:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11003:       ;;
11004:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11005:       ac_prev=prefix ;;
11006:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11007:       ;;
11008:     --disable-option-checking)
11009:       ;;
11010:     *)
11011:       case $ac_arg in
11012:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11013:       esac
11014:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
11015:     esac
11016:   done
11017: 
11018:   # Always prepend --prefix to ensure using the same prefix
11019:   # in subdir configurations.
11020:   ac_arg="--prefix=$prefix"
11021:   case $ac_arg in
11022:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11023:   esac
11024:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
11025: 
11026:   # Pass --silent
11027:   if test "$silent" = yes; then
11028:     ac_sub_configure_args="--silent $ac_sub_configure_args"
11029:   fi
11030: 
11031:   # Always prepend --disable-option-checking to silence warnings, since
11032:   # different subdirs can have different --enable and --with options.
11033:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
11034: 
11035:   ac_popdir=`pwd`
11036:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
11037: 
11038:     # Do not complain, so a configure script can configure whichever
11039:     # parts of a large source tree are present.
11040:     test -d "$srcdir/$ac_dir" || continue
11041: 
11042:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11043:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
11044:     $as_echo "$ac_msg" >&6
11045:     as_dir="$ac_dir"; as_fn_mkdir_p
11046:     ac_builddir=.
11047: 
11048: case "$ac_dir" in
11049: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11050: *)
11051:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11052:   # A ".." for each directory in $ac_dir_suffix.
11053:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11054:   case $ac_top_builddir_sub in
11055:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11056:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11057:   esac ;;
11058: esac
11059: ac_abs_top_builddir=$ac_pwd
11060: ac_abs_builddir=$ac_pwd$ac_dir_suffix
11061: # for backward compatibility:
11062: ac_top_builddir=$ac_top_build_prefix
11063: 
11064: case $srcdir in
11065:   .)  # We are building in place.
11066:     ac_srcdir=.
11067:     ac_top_srcdir=$ac_top_builddir_sub
11068:     ac_abs_top_srcdir=$ac_pwd ;;
11069:   [\\/]* | ?:[\\/]* )  # Absolute name.
11070:     ac_srcdir=$srcdir$ac_dir_suffix;
11071:     ac_top_srcdir=$srcdir
11072:     ac_abs_top_srcdir=$srcdir ;;
11073:   *) # Relative name.
11074:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11075:     ac_top_srcdir=$ac_top_build_prefix$srcdir
11076:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11077: esac
11078: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11079: 
11080: 
11081:     cd "$ac_dir"
11082: 
11083:     # Check for guested configure; otherwise get Cygnus style configure.
11084:     if test -f "$ac_srcdir/configure.gnu"; then
11085:       ac_sub_configure=$ac_srcdir/configure.gnu
11086:     elif test -f "$ac_srcdir/configure"; then
11087:       ac_sub_configure=$ac_srcdir/configure
11088:     elif test -f "$ac_srcdir/configure.in"; then
11089:       # This should be Cygnus configure.
11090:       ac_sub_configure=$ac_aux_dir/configure
11091:     else
11092:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11093: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11094:       ac_sub_configure=
11095:     fi
11096: 
11097:     # The recursion is here.
11098:     if test -n "$ac_sub_configure"; then
11099:       # Make the cache file name correct relative to the subdirectory.
11100:       case $cache_file in
11101:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11102:       *) # Relative name.
11103:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11104:       esac
11105: 
11106:       { $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
11107: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11108:       # The eval makes quoting arguments work.
11109:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11110:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11111:     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11112:     fi
11113: 
11114:     cd "$ac_popdir"
11115:   done
11116: fi
11117: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11118:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11119: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11120: fi
11121: 

CVSweb interface <joel.bertrand@systella.fr>