File:  [local] / rpl / Attic / configure
Revision 1.67: download - view: text, annotated - select for diffs - revision graph
Fri Jul 22 07:38:00 2011 UTC (12 years, 9 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
En route vers la 4.4.1.

    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=-m32
 5890: 
 5891: 
 5892: fi
 5893: 
 5894: 
 5895: 
 5896: # Check whether --with-64bits was given.
 5897: if test "${with_64bits+set}" = set; then :
 5898:   withval=$with_64bits;
 5899: if test "$with-64bits-abi" = "no"; then
 5900:     ABI=
 5901: else
 5902:     ABI=-m64
 5903: fi
 5904: else
 5905: 
 5906:     ABI=-m64
 5907: 
 5908: 
 5909: fi
 5910: 
 5911: 
 5912: 
 5913: # Check whether --with-rplcas was given.
 5914: if test "${with_rplcas+set}" = set; then :
 5915:   withval=$with_rplcas;
 5916: if test "$with-rplcas" = "no"; then
 5917:     RPLCAS=-URPLCAS
 5918:     LIBRPLCAS=
 5919: else
 5920:     RPLCAS=-DRPLCAS
 5921:     LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
 5922: fi
 5923: else
 5924: 
 5925:     RPLCAS=-URPLCAS
 5926:     LIBRPLCAS=
 5927: 
 5928: 
 5929: fi
 5930: 
 5931: 
 5932: 
 5933: 
 5934: 
 5935: 
 5936: # Check whether --enable-optimization was given.
 5937: if test "${enable_optimization+set}" = set; then :
 5938:   enableval=$enable_optimization;
 5939: if test "$enableval" = "no"; then
 5940:     CFLAGS=
 5941:     FFLAGS=
 5942:     CXXFLAGS=
 5943:     FCFLAGS=
 5944: else
 5945:     CFLAGS="$CFLAGS $enable_optimization"
 5946:     FFLAGS="$FFLAGS $enable_optimization"
 5947:     FCFLAGS="$FCFLAGS $enable_optimization"
 5948: fi
 5949: else
 5950: 
 5951:     CFLAGS="$CFLAGS $OPTIMISATION_C"
 5952:     FFLAGS="$FFLAGS $OPTIMISATION_F"
 5953:     FCFLAGS="$FCFLAGS $OPTIMISATION_F"
 5954: 
 5955: 
 5956: fi
 5957: 
 5958: 
 5959: # Check whether --enable-sysv-semaphores was given.
 5960: if test "${enable_sysv_semaphores+set}" = set; then :
 5961:   enableval=$enable_sysv_semaphores;
 5962: if test "$enableval" = "no"; then
 5963:     IPCS_SYSV=no
 5964: else
 5965:     IPCS_SYSV=yes
 5966: fi
 5967: else
 5968:   IPCS_SYSV=no
 5969: fi
 5970: 
 5971: 
 5972: # Check whether --enable-full-static was given.
 5973: if test "${enable_full_static+set}" = set; then :
 5974:   enableval=$enable_full_static;
 5975: if test "$enableval" = "no"; then
 5976:     STATIC=no
 5977: else
 5978:     STATIC=yes
 5979: fi
 5980: else
 5981:   STATIC=no
 5982: fi
 5983: 
 5984: 
 5985: # Check whether --enable-final-encoding was given.
 5986: if test "${enable_final_encoding+set}" = set; then :
 5987:   enableval=$enable_final_encoding;
 5988: if test "$enableval" = "no"; then
 5989:     FINAL_ENCODING="\$(shell locale charmap | \
 5990:         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 5991:     FORCED_FINAL_ENCODING=0
 5992: else
 5993:     FINAL_ENCODING="$enable_final_encoding"
 5994:     FORCED_FINAL_ENCODING=1
 5995: fi
 5996: else
 5997: 
 5998: FORCED_FINAL_ENCODING=0
 5999: FINAL_ENCODING="\$(shell locale charmap | \
 6000:     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 6001: fi
 6002: 
 6003: 
 6004: # Check whether --enable-tex was given.
 6005: if test "${enable_tex+set}" = set; then :
 6006:   enableval=$enable_tex;
 6007: if test "$enableval" = "no"; then
 6008:     TEX_SUPPORT=no
 6009: else
 6010:     TEX_SUPPORT=yes
 6011: fi
 6012: else
 6013:   TEX_SUPPORT=guessed
 6014: fi
 6015: 
 6016: 
 6017: # Check whether --enable-vim was given.
 6018: if test "${enable_vim+set}" = set; then :
 6019:   enableval=$enable_vim;
 6020: if test "$enableval" = "no"; then
 6021:     VIM_SUPPORT=no
 6022: else
 6023:     VIM_SUPPORT=yes
 6024: fi
 6025: else
 6026:   VIM_SUPPORT=guessed
 6027: fi
 6028: 
 6029: 
 6030: # Check whether --enable-embedded-gnuplot was given.
 6031: if test "${enable_embedded_gnuplot+set}" = set; then :
 6032:   enableval=$enable_embedded_gnuplot;
 6033: if test "$enableval" = "no"; then
 6034:     MYGNUPLOT=no
 6035: else
 6036:     MYGNUPLOT=yes
 6037: fi
 6038: else
 6039: 
 6040: MYGNUPLOT=yes
 6041: fi
 6042: 
 6043: 
 6044: # Check whether --enable-gnuplot was given.
 6045: if test "${enable_gnuplot+set}" = set; then :
 6046:   enableval=$enable_gnuplot;
 6047: if test "$enableval" = "no"; then
 6048:     GNUPLOT_SUPPORT=no
 6049:     MYGNUPLOT=no
 6050:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6051: else
 6052:     GNUPLOT_SUPPORT=yes
 6053:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6054: fi
 6055: else
 6056: 
 6057: if test "$MYGNUPLOT" = "yes"; then
 6058:     GNUPLOT_SUPPORT=yes
 6059:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 6060: else
 6061:     GNUPLOT_SUPPORT=guessed
 6062:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 6063: fi
 6064: fi
 6065: 
 6066: 
 6067: # Check whether --enable-motif was given.
 6068: if test "${enable_motif+set}" = set; then :
 6069:   enableval=$enable_motif;
 6070: if test "$enableval" = "no"; then
 6071:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6072: else
 6073:     CFLAGS_ORIG=$CFLAGS
 6074:     LIBS_ORIG=$LIBS
 6075:     CFLAGS="$CFLAGS $X_CFLAGS"
 6076:     LIBS="$LIB $X_LIBS"
 6077:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6078: $as_echo_n "checking for main in -lXm... " >&6; }
 6079: if ${ac_cv_lib_Xm_main+:} false; then :
 6080:   $as_echo_n "(cached) " >&6
 6081: else
 6082:   ac_check_lib_save_LIBS=$LIBS
 6083: LIBS="-lXm  $LIBS"
 6084: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6085: /* end confdefs.h.  */
 6086: 
 6087: 
 6088: int
 6089: main ()
 6090: {
 6091: return main ();
 6092:   ;
 6093:   return 0;
 6094: }
 6095: _ACEOF
 6096: if ac_fn_c_try_link "$LINENO"; then :
 6097:   ac_cv_lib_Xm_main=yes
 6098: else
 6099:   ac_cv_lib_Xm_main=no
 6100: fi
 6101: rm -f core conftest.err conftest.$ac_objext \
 6102:     conftest$ac_exeext conftest.$ac_ext
 6103: LIBS=$ac_check_lib_save_LIBS
 6104: fi
 6105: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6106: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6107: if test "x$ac_cv_lib_Xm_main" = xyes; then :
 6108:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6109: else
 6110:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6111: fi
 6112: 
 6113:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6114:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
 6115: Motif flag is disabled.
 6116: " >&5
 6117: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
 6118: Motif flag is disabled.
 6119: " >&2;}
 6120:     fi
 6121:     LIBS=$LIBS_ORIG
 6122:     CFLAGS=$CFLAGS_ORIG
 6123: fi
 6124: else
 6125:   MOTIF_SUPPORT=guessed
 6126: fi
 6127: 
 6128: 
 6129: # Check whether --enable-experimental was given.
 6130: if test "${enable_experimental+set}" = set; then :
 6131:   enableval=$enable_experimental;
 6132: if test "$enableval" = "no"; then
 6133:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6134: else
 6135:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 6136: fi
 6137: else
 6138:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 6139: fi
 6140: 
 6141: 
 6142: # Check whether --enable-debug was given.
 6143: if test "${enable_debug+set}" = set; then :
 6144:   enableval=$enable_debug;
 6145: if test "$enableval" = "no"; then
 6146:     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6147: else
 6148:     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6149: fi
 6150: else
 6151:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
 6152: fi
 6153: 
 6154: 
 6155: # Check whether --enable-profile was given.
 6156: if test "${enable_profile+set}" = set; then :
 6157:   enableval=$enable_profile;
 6158: if test "$enableval" = "no"; then
 6159:     PROFILAGE=""
 6160: else
 6161:     PROFILAGE="-pg"
 6162: fi
 6163: else
 6164:   PROFILAGE=""
 6165: fi
 6166: 
 6167: 
 6168: 
 6169: 
 6170: if test ! -d tools; then
 6171:     mkdir tools
 6172: fi
 6173: if test ! -d "$srcdir"/tools/$NCURSES; then
 6174:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6175:             (cd "$srcdir/tools" && tar -xf -)
 6176:     (cd "$srcdir/tools/"$NCURSES && \
 6177:             for i in ../$NCURSES*.patch.gz;
 6178:             do gunzip -c $i | patch -p1;
 6179:             done);
 6180: fi
 6181: if test ! -d "$srcdir"/tools/$READLINE; then
 6182:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6183:             (cd "$srcdir/tools" && tar -xf -)
 6184: fi
 6185: if test ! -d "$srcdir"/tools/$UNITS; then
 6186:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6187:             (cd "$srcdir/tools" && tar -xf -)
 6188: fi
 6189: if test ! -d "$srcdir"/tools/$GSL; then
 6190:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6191:             (cd "$srcdir/tools" && tar -xf -)
 6192:     if test $(uname) = "OS/2"; then
 6193:         (cd "$srcdir"/tools/$GSL; \
 6194:                 TMP=$(mktemp tmp.XXXXXXXXXX); \
 6195:                 sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
 6196:                 \mv -f $TMP ltmain.sh)
 6197:     fi
 6198: fi
 6199: if test ! -d "$srcdir"/tools/$GPP; then
 6200:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6201:             (cd "$srcdir/tools" && tar -xf -)
 6202: fi
 6203: if test ! -d "$srcdir"/tools/$FILE; then
 6204:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6205:             (cd "$srcdir/tools" && tar -xf - )
 6206:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6207: fi
 6208: if test ! -d "$srcdir"/tools/$ICONV; then
 6209:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6210:             (cd "$srcdir/tools" && tar -xf -)
 6211: fi
 6212: if test ! -d "$srcdir"/tools/$SQLITE; then
 6213:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6214:             (cd "$srcdir/tools" && tar -xf -)
 6215: fi
 6216: if test ! -d tools/$OPENSSL; then
 6217:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6218:             (cd tools && tar -xf -)
 6219: fi
 6220: if test ! -d rplcas; then
 6221:     mkdir rplcas
 6222: fi
 6223: if test ! -d "$srcdir"/rplcas/$GMP; then
 6224:     gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
 6225:             (cd "$srcdir/rplcas" && tar -xf -)
 6226: fi
 6227: if test ! -d "$srcdir"/rplcas/$MPFR; then
 6228:     gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
 6229:             (cd "$srcdir/rplcas" && tar -xf -)
 6230: fi
 6231: if test ! -d rplcas/$NTL; then
 6232:     gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
 6233:             (cd rplcas && tar -xf -)
 6234: fi
 6235: if test ! -d rplcas/$COCOA; then
 6236:     gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
 6237:             (cd rplcas && tar -xf -)
 6238: fi
 6239: if test ! -d rplcas/$PARI; then
 6240:     gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
 6241:             (cd rplcas && tar -xf -)
 6242: fi
 6243: if test ! -d "$srcdir"/rplcas/$GIAC; then
 6244:     gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
 6245:             (cd "$srcdir/rplcas" && tar -xf -)
 6246: fi
 6247: 
 6248: 
 6249: 
 6250: # Check whether --enable-final-run-path was given.
 6251: if test "${enable_final_run_path+set}" = set; then :
 6252:   enableval=$enable_final_run_path;
 6253:     if test "x$enable_final_run_path" = "x"; then
 6254:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6255: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6256:         as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
 6257:     else
 6258:         RUNPATH="$enable_final_run_path"
 6259:     fi
 6260: 
 6261: else
 6262:   RUNPATH="\${prefix}"
 6263: 
 6264: fi
 6265: 
 6266: 
 6267: 
 6268: 
 6269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6270: $as_echo_n "checking whether ln -s works... " >&6; }
 6271: LN_S=$as_ln_s
 6272: if test "$LN_S" = "ln -s"; then
 6273:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6274: $as_echo "yes" >&6; }
 6275: else
 6276:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6277: $as_echo "no, using $LN_S" >&6; }
 6278: fi
 6279: 
 6280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6281: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6282: set x ${MAKE-make}
 6283: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6284: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 6285:   $as_echo_n "(cached) " >&6
 6286: else
 6287:   cat >conftest.make <<\_ACEOF
 6288: SHELL = /bin/sh
 6289: all:
 6290:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6291: _ACEOF
 6292: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 6293: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6294:   *@@@%%%=?*=@@@%%%*)
 6295:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6296:   *)
 6297:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6298: esac
 6299: rm -f conftest.make
 6300: fi
 6301: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6303: $as_echo "yes" >&6; }
 6304:   SET_MAKE=
 6305: else
 6306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6307: $as_echo "no" >&6; }
 6308:   SET_MAKE="MAKE=${MAKE-make}"
 6309: fi
 6310: 
 6311: if test -n "$ac_tool_prefix"; then
 6312:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6313: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6315: $as_echo_n "checking for $ac_word... " >&6; }
 6316: if ${ac_cv_prog_RANLIB+:} false; then :
 6317:   $as_echo_n "(cached) " >&6
 6318: else
 6319:   if test -n "$RANLIB"; then
 6320:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6321: else
 6322: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6323: for as_dir in $PATH
 6324: do
 6325:   IFS=$as_save_IFS
 6326:   test -z "$as_dir" && as_dir=.
 6327:     for ac_exec_ext in '' $ac_executable_extensions; do
 6328:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6329:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6330:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6331:     break 2
 6332:   fi
 6333: done
 6334:   done
 6335: IFS=$as_save_IFS
 6336: 
 6337: fi
 6338: fi
 6339: RANLIB=$ac_cv_prog_RANLIB
 6340: if test -n "$RANLIB"; then
 6341:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6342: $as_echo "$RANLIB" >&6; }
 6343: else
 6344:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6345: $as_echo "no" >&6; }
 6346: fi
 6347: 
 6348: 
 6349: fi
 6350: if test -z "$ac_cv_prog_RANLIB"; then
 6351:   ac_ct_RANLIB=$RANLIB
 6352:   # Extract the first word of "ranlib", so it can be a program name with args.
 6353: set dummy ranlib; ac_word=$2
 6354: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6355: $as_echo_n "checking for $ac_word... " >&6; }
 6356: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 6357:   $as_echo_n "(cached) " >&6
 6358: else
 6359:   if test -n "$ac_ct_RANLIB"; then
 6360:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6361: else
 6362: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6363: for as_dir in $PATH
 6364: do
 6365:   IFS=$as_save_IFS
 6366:   test -z "$as_dir" && as_dir=.
 6367:     for ac_exec_ext in '' $ac_executable_extensions; do
 6368:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6369:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6370:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6371:     break 2
 6372:   fi
 6373: done
 6374:   done
 6375: IFS=$as_save_IFS
 6376: 
 6377: fi
 6378: fi
 6379: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6380: if test -n "$ac_ct_RANLIB"; then
 6381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6382: $as_echo "$ac_ct_RANLIB" >&6; }
 6383: else
 6384:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6385: $as_echo "no" >&6; }
 6386: fi
 6387: 
 6388:   if test "x$ac_ct_RANLIB" = x; then
 6389:     RANLIB=":"
 6390:   else
 6391:     case $cross_compiling:$ac_tool_warned in
 6392: yes:)
 6393: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6394: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6395: ac_tool_warned=yes ;;
 6396: esac
 6397:     RANLIB=$ac_ct_RANLIB
 6398:   fi
 6399: else
 6400:   RANLIB="$ac_cv_prog_RANLIB"
 6401: fi
 6402: 
 6403: 
 6404: # Extract the first word of "nawk", so it can be a program name with args.
 6405: set dummy nawk; ac_word=$2
 6406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6407: $as_echo_n "checking for $ac_word... " >&6; }
 6408: if ${ac_cv_prog_AWK+:} false; then :
 6409:   $as_echo_n "(cached) " >&6
 6410: else
 6411:   if test -n "$AWK"; then
 6412:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6413: else
 6414: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6415: for as_dir in $PATH
 6416: do
 6417:   IFS=$as_save_IFS
 6418:   test -z "$as_dir" && as_dir=.
 6419:     for ac_exec_ext in '' $ac_executable_extensions; do
 6420:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6421:     ac_cv_prog_AWK="yes"
 6422:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6423:     break 2
 6424:   fi
 6425: done
 6426:   done
 6427: IFS=$as_save_IFS
 6428: 
 6429:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6430: fi
 6431: fi
 6432: AWK=$ac_cv_prog_AWK
 6433: if test -n "$AWK"; then
 6434:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6435: $as_echo "$AWK" >&6; }
 6436: else
 6437:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6438: $as_echo "no" >&6; }
 6439: fi
 6440: 
 6441: 
 6442: if test "$AWK" = no; then
 6443:     # Extract the first word of "gawk", so it can be a program name with args.
 6444: set dummy gawk; ac_word=$2
 6445: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6446: $as_echo_n "checking for $ac_word... " >&6; }
 6447: if ${ac_cv_prog_AWK+:} false; then :
 6448:   $as_echo_n "(cached) " >&6
 6449: else
 6450:   if test -n "$AWK"; then
 6451:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6452: else
 6453: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6454: for as_dir in $PATH
 6455: do
 6456:   IFS=$as_save_IFS
 6457:   test -z "$as_dir" && as_dir=.
 6458:     for ac_exec_ext in '' $ac_executable_extensions; do
 6459:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6460:     ac_cv_prog_AWK="yes"
 6461:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6462:     break 2
 6463:   fi
 6464: done
 6465:   done
 6466: IFS=$as_save_IFS
 6467: 
 6468:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6469: fi
 6470: fi
 6471: AWK=$ac_cv_prog_AWK
 6472: if test -n "$AWK"; then
 6473:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6474: $as_echo "$AWK" >&6; }
 6475: else
 6476:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6477: $as_echo "no" >&6; }
 6478: fi
 6479: 
 6480: 
 6481:     if test "$AWK" = no; then
 6482:         as_fn_error $? "Can not find nawk !" "$LINENO" 5
 6483:     fi
 6484: fi
 6485: 
 6486: # Extract the first word of "sed", so it can be a program name with args.
 6487: set dummy sed; ac_word=$2
 6488: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6489: $as_echo_n "checking for $ac_word... " >&6; }
 6490: if ${ac_cv_prog_SED+:} false; then :
 6491:   $as_echo_n "(cached) " >&6
 6492: else
 6493:   if test -n "$SED"; then
 6494:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6495: else
 6496: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6497: for as_dir in $PATH
 6498: do
 6499:   IFS=$as_save_IFS
 6500:   test -z "$as_dir" && as_dir=.
 6501:     for ac_exec_ext in '' $ac_executable_extensions; do
 6502:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6503:     ac_cv_prog_SED="yes"
 6504:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6505:     break 2
 6506:   fi
 6507: done
 6508:   done
 6509: IFS=$as_save_IFS
 6510: 
 6511:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6512: fi
 6513: fi
 6514: SED=$ac_cv_prog_SED
 6515: if test -n "$SED"; then
 6516:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6517: $as_echo "$SED" >&6; }
 6518: else
 6519:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6520: $as_echo "no" >&6; }
 6521: fi
 6522: 
 6523: 
 6524: if test "$SED" = no; then
 6525:     as_fn_error $? "Can not find sed !" "$LINENO" 5
 6526: fi
 6527: 
 6528: if test "$TEX_SUPPORT" = guessed; then
 6529:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6530: 
 6531:     # Extract the first word of "tex", so it can be a program name with args.
 6532: set dummy tex; ac_word=$2
 6533: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6534: $as_echo_n "checking for $ac_word... " >&6; }
 6535: if ${ac_cv_prog_TEX+:} false; then :
 6536:   $as_echo_n "(cached) " >&6
 6537: else
 6538:   if test -n "$TEX"; then
 6539:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6540: else
 6541: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6542: for as_dir in $PATH
 6543: do
 6544:   IFS=$as_save_IFS
 6545:   test -z "$as_dir" && as_dir=.
 6546:     for ac_exec_ext in '' $ac_executable_extensions; do
 6547:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6548:     ac_cv_prog_TEX="yes"
 6549:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6550:     break 2
 6551:   fi
 6552: done
 6553:   done
 6554: IFS=$as_save_IFS
 6555: 
 6556:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6557: fi
 6558: fi
 6559: TEX=$ac_cv_prog_TEX
 6560: if test -n "$TEX"; then
 6561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6562: $as_echo "$TEX" >&6; }
 6563: else
 6564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6565: $as_echo "no" >&6; }
 6566: fi
 6567: 
 6568: 
 6569:     if test "$TEX" = no; then
 6570:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6571: Download at http://tex.loria.fr/
 6572: " >&5
 6573: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6574: Download at http://tex.loria.fr/
 6575: " >&2;}
 6576:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6577:     fi
 6578: 
 6579:     # Extract the first word of "latex", so it can be a program name with args.
 6580: set dummy latex; ac_word=$2
 6581: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6582: $as_echo_n "checking for $ac_word... " >&6; }
 6583: if ${ac_cv_prog_LATEX+:} false; then :
 6584:   $as_echo_n "(cached) " >&6
 6585: else
 6586:   if test -n "$LATEX"; then
 6587:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6588: else
 6589: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6590: for as_dir in $PATH
 6591: do
 6592:   IFS=$as_save_IFS
 6593:   test -z "$as_dir" && as_dir=.
 6594:     for ac_exec_ext in '' $ac_executable_extensions; do
 6595:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6596:     ac_cv_prog_LATEX="yes"
 6597:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6598:     break 2
 6599:   fi
 6600: done
 6601:   done
 6602: IFS=$as_save_IFS
 6603: 
 6604:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6605: fi
 6606: fi
 6607: LATEX=$ac_cv_prog_LATEX
 6608: if test -n "$LATEX"; then
 6609:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6610: $as_echo "$LATEX" >&6; }
 6611: else
 6612:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6613: $as_echo "no" >&6; }
 6614: fi
 6615: 
 6616: 
 6617:     if test "$LATEX" = no; then
 6618:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6619: Download at http://tex.loria.fr/
 6620: " >&5
 6621: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6622: Download at http://tex.loria.fr/
 6623: " >&2;}
 6624:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6625:     fi
 6626: 
 6627:     # Extract the first word of "dvips", so it can be a program name with args.
 6628: set dummy dvips; ac_word=$2
 6629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6630: $as_echo_n "checking for $ac_word... " >&6; }
 6631: if ${ac_cv_prog_DVIPS+:} false; then :
 6632:   $as_echo_n "(cached) " >&6
 6633: else
 6634:   if test -n "$DVIPS"; then
 6635:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6636: else
 6637: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6638: for as_dir in $PATH
 6639: do
 6640:   IFS=$as_save_IFS
 6641:   test -z "$as_dir" && as_dir=.
 6642:     for ac_exec_ext in '' $ac_executable_extensions; do
 6643:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6644:     ac_cv_prog_DVIPS="yes"
 6645:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6646:     break 2
 6647:   fi
 6648: done
 6649:   done
 6650: IFS=$as_save_IFS
 6651: 
 6652:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6653: fi
 6654: fi
 6655: DVIPS=$ac_cv_prog_DVIPS
 6656: if test -n "$DVIPS"; then
 6657:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6658: $as_echo "$DVIPS" >&6; }
 6659: else
 6660:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6661: $as_echo "no" >&6; }
 6662: fi
 6663: 
 6664: 
 6665:     if test "$DVIPS" = no; then
 6666:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6667: Download at http://tex.loria.fr/
 6668: " >&5
 6669: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6670: Download at http://tex.loria.fr/
 6671: " >&2;}
 6672:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6673:     fi
 6674: 
 6675:     # Extract the first word of "gs", so it can be a program name with args.
 6676: set dummy gs; ac_word=$2
 6677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6678: $as_echo_n "checking for $ac_word... " >&6; }
 6679: if ${ac_cv_prog_GS+:} false; then :
 6680:   $as_echo_n "(cached) " >&6
 6681: else
 6682:   if test -n "$GS"; then
 6683:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6684: else
 6685: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6686: for as_dir in $PATH
 6687: do
 6688:   IFS=$as_save_IFS
 6689:   test -z "$as_dir" && as_dir=.
 6690:     for ac_exec_ext in '' $ac_executable_extensions; do
 6691:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6692:     ac_cv_prog_GS="yes"
 6693:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6694:     break 2
 6695:   fi
 6696: done
 6697:   done
 6698: IFS=$as_save_IFS
 6699: 
 6700:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6701: fi
 6702: fi
 6703: GS=$ac_cv_prog_GS
 6704: if test -n "$GS"; then
 6705:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6706: $as_echo "$GS" >&6; }
 6707: else
 6708:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6709: $as_echo "no" >&6; }
 6710: fi
 6711: 
 6712: 
 6713:     if test "$GS" = no; then
 6714:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6715: Download at http://ftp.lip6.fr/
 6716: " >&5
 6717: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6718: Download at http://ftp.lip6.fr/
 6719: " >&2;}
 6720:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6721:     fi
 6722: 
 6723:     # Extract the first word of "gv", so it can be a program name with args.
 6724: set dummy gv; ac_word=$2
 6725: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6726: $as_echo_n "checking for $ac_word... " >&6; }
 6727: if ${ac_cv_prog_GV+:} false; then :
 6728:   $as_echo_n "(cached) " >&6
 6729: else
 6730:   if test -n "$GV"; then
 6731:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6732: else
 6733: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6734: for as_dir in $PATH
 6735: do
 6736:   IFS=$as_save_IFS
 6737:   test -z "$as_dir" && as_dir=.
 6738:     for ac_exec_ext in '' $ac_executable_extensions; do
 6739:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6740:     ac_cv_prog_GV="yes"
 6741:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6742:     break 2
 6743:   fi
 6744: done
 6745:   done
 6746: IFS=$as_save_IFS
 6747: 
 6748:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 6749: fi
 6750: fi
 6751: GV=$ac_cv_prog_GV
 6752: if test -n "$GV"; then
 6753:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 6754: $as_echo "$GV" >&6; }
 6755: else
 6756:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6757: $as_echo "no" >&6; }
 6758: fi
 6759: 
 6760: 
 6761:     if test "$GV" = no; then
 6762:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 6763: Download at http://ftp.lip6.fr/
 6764: " >&5
 6765: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 6766: Download at http://ftp.lip6.fr/
 6767: " >&2;}
 6768:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6769:     fi
 6770: else
 6771:     if test "$TEX_SUPPORT" = no; then
 6772:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6773:     else
 6774:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6775:     fi
 6776: fi
 6777: 
 6778: if test "$GNUPLOT_SUPPORT" = guessed; then
 6779:     # Extract the first word of "gnuplot", so it can be a program name with args.
 6780: set dummy gnuplot; ac_word=$2
 6781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6782: $as_echo_n "checking for $ac_word... " >&6; }
 6783: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
 6784:   $as_echo_n "(cached) " >&6
 6785: else
 6786:   if test -n "$GNUPLOT_P"; then
 6787:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 6788: else
 6789: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6790: for as_dir in $PATH
 6791: do
 6792:   IFS=$as_save_IFS
 6793:   test -z "$as_dir" && as_dir=.
 6794:     for ac_exec_ext in '' $ac_executable_extensions; do
 6795:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6796:     ac_cv_prog_GNUPLOT_P="yes"
 6797:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6798:     break 2
 6799:   fi
 6800: done
 6801:   done
 6802: IFS=$as_save_IFS
 6803: 
 6804:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 6805: fi
 6806: fi
 6807: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 6808: if test -n "$GNUPLOT_P"; then
 6809:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 6810: $as_echo "$GNUPLOT_P" >&6; }
 6811: else
 6812:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6813: $as_echo "no" >&6; }
 6814: fi
 6815: 
 6816: 
 6817:     if test "$GNUPLOT_P" = no; then
 6818:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 6819: Download at http://www.gnuplot.vt.edu/
 6820: " >&5
 6821: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 6822: Download at http://www.gnuplot.vt.edu/
 6823: " >&2;}
 6824:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6825:     else
 6826:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6827:     fi
 6828: else
 6829:     if test "$GNUPLOT_SUPPORT" = no; then
 6830:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6831:     else
 6832:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6833:     fi
 6834: fi
 6835: 
 6836: if test "$VIM_SUPPORT" = guessed; then
 6837:     # Extract the first word of "vim", so it can be a program name with args.
 6838: set dummy vim; ac_word=$2
 6839: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6840: $as_echo_n "checking for $ac_word... " >&6; }
 6841: if ${ac_cv_prog_VIM+:} false; then :
 6842:   $as_echo_n "(cached) " >&6
 6843: else
 6844:   if test -n "$VIM"; then
 6845:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 6846: else
 6847: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6848: for as_dir in $PATH
 6849: do
 6850:   IFS=$as_save_IFS
 6851:   test -z "$as_dir" && as_dir=.
 6852:     for ac_exec_ext in '' $ac_executable_extensions; do
 6853:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6854:     ac_cv_prog_VIM="yes"
 6855:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6856:     break 2
 6857:   fi
 6858: done
 6859:   done
 6860: IFS=$as_save_IFS
 6861: 
 6862:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 6863: fi
 6864: fi
 6865: VIM=$ac_cv_prog_VIM
 6866: if test -n "$VIM"; then
 6867:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 6868: $as_echo "$VIM" >&6; }
 6869: else
 6870:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6871: $as_echo "no" >&6; }
 6872: fi
 6873: 
 6874: 
 6875:     if test "$VIM" = no; then
 6876:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 6877: Download at http://www.vim.org/
 6878: " >&5
 6879: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 6880: Download at http://www.vim.org/
 6881: " >&2;}
 6882:         VIM_SUPPORT="-UVIM_SUPPORT"
 6883:     else
 6884:         VIM_SUPPORT="-DVIM_SUPPORT"
 6885:     fi
 6886: else
 6887:     if test "$VIM_SUPPORT" = no; then
 6888:         VIM_SUPPORT="-UVIM_SUPPORT"
 6889:     else
 6890:         VIM_SUPPORT="-DVIM_SUPPORT"
 6891:     fi
 6892: fi
 6893: 
 6894: if test "$MOTIF_SUPPORT" = guessed; then
 6895:     CFLAGS_ORIG=$CFLAGS
 6896:     LIBS_ORIG=$LIBS
 6897:     CFLAGS="$CFLAGS $X_CFLAGS"
 6898:     LIBS="$LIB $X_LIBS"
 6899:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6900: $as_echo_n "checking for main in -lXm... " >&6; }
 6901: if ${ac_cv_lib_Xm_main+:} false; then :
 6902:   $as_echo_n "(cached) " >&6
 6903: else
 6904:   ac_check_lib_save_LIBS=$LIBS
 6905: LIBS="-lXm  $LIBS"
 6906: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6907: /* end confdefs.h.  */
 6908: 
 6909: 
 6910: int
 6911: main ()
 6912: {
 6913: return main ();
 6914:   ;
 6915:   return 0;
 6916: }
 6917: _ACEOF
 6918: if ac_fn_c_try_link "$LINENO"; then :
 6919:   ac_cv_lib_Xm_main=yes
 6920: else
 6921:   ac_cv_lib_Xm_main=no
 6922: fi
 6923: rm -f core conftest.err conftest.$ac_objext \
 6924:     conftest$ac_exeext conftest.$ac_ext
 6925: LIBS=$ac_check_lib_save_LIBS
 6926: fi
 6927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6928: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6929: if test "x$ac_cv_lib_Xm_main" = xyes; then :
 6930:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6931: else
 6932:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6933: fi
 6934: 
 6935:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6936:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
 6937: Motif flag is disabled.
 6938: " >&5
 6939: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
 6940: Motif flag is disabled.
 6941: " >&2;}
 6942:     fi
 6943:     LIBS=$LIBS_ORIG
 6944:     CFLAGS=$CFLAGS_ORIG
 6945: fi
 6946: 
 6947: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6948:     CFLAGS_ORIG=$CFLAGS
 6949:     LIBS_ORIG=$LIBS
 6950:     CFLAGS="$CFLAGS $X_CFLAGS"
 6951:     LIBS="$LIB $X_LIBS"
 6952:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
 6953: $as_echo_n "checking for main in -lXpm... " >&6; }
 6954: if ${ac_cv_lib_Xpm_main+:} false; then :
 6955:   $as_echo_n "(cached) " >&6
 6956: else
 6957:   ac_check_lib_save_LIBS=$LIBS
 6958: LIBS="-lXpm  $LIBS"
 6959: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6960: /* end confdefs.h.  */
 6961: 
 6962: 
 6963: int
 6964: main ()
 6965: {
 6966: return main ();
 6967:   ;
 6968:   return 0;
 6969: }
 6970: _ACEOF
 6971: if ac_fn_c_try_link "$LINENO"; then :
 6972:   ac_cv_lib_Xpm_main=yes
 6973: else
 6974:   ac_cv_lib_Xpm_main=no
 6975: fi
 6976: rm -f core conftest.err conftest.$ac_objext \
 6977:     conftest$ac_exeext conftest.$ac_ext
 6978: LIBS=$ac_check_lib_save_LIBS
 6979: fi
 6980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
 6981: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
 6982: if test "x$ac_cv_lib_Xpm_main" = xyes; then :
 6983:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6984: else
 6985:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6986: fi
 6987: 
 6988:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6989:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 6990:     else
 6991:         libX=""
 6992:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
 6993: Motif flag is disabled.
 6994: " >&5
 6995: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 6996: Motif flag is disabled.
 6997: " >&2;}
 6998:     fi
 6999:     LIBS=$LIBS_ORIG
 7000:     CFLAGS=$CFLAGS_ORIG
 7001: else
 7002:     libX=""
 7003: fi
 7004: 
 7005: 
 7006: 
 7007: 
 7008: 
 7009: 
 7010: 
 7011: 
 7012: 
 7013: 
 7014: 
 7015: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 7016: 
 7017: 
 7018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 7019: $as_echo_n "checking for main in -lm... " >&6; }
 7020: if ${ac_cv_lib_m_main+:} false; then :
 7021:   $as_echo_n "(cached) " >&6
 7022: else
 7023:   ac_check_lib_save_LIBS=$LIBS
 7024: LIBS="-lm  $LIBS"
 7025: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7026: /* end confdefs.h.  */
 7027: 
 7028: 
 7029: int
 7030: main ()
 7031: {
 7032: return main ();
 7033:   ;
 7034:   return 0;
 7035: }
 7036: _ACEOF
 7037: if ac_fn_c_try_link "$LINENO"; then :
 7038:   ac_cv_lib_m_main=yes
 7039: else
 7040:   ac_cv_lib_m_main=no
 7041: fi
 7042: rm -f core conftest.err conftest.$ac_objext \
 7043:     conftest$ac_exeext conftest.$ac_ext
 7044: LIBS=$ac_check_lib_save_LIBS
 7045: fi
 7046: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 7047: $as_echo "$ac_cv_lib_m_main" >&6; }
 7048: if test "x$ac_cv_lib_m_main" = xyes; then :
 7049:   cat >>confdefs.h <<_ACEOF
 7050: #define HAVE_LIBM 1
 7051: _ACEOF
 7052: 
 7053:   LIBS="-lm $LIBS"
 7054: 
 7055: else
 7056:   as_fn_error $? "Can not find libm !" "$LINENO" 5
 7057: fi
 7058: 
 7059: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 7060: $as_echo_n "checking for main in -lpthread... " >&6; }
 7061: if ${ac_cv_lib_pthread_main+:} false; then :
 7062:   $as_echo_n "(cached) " >&6
 7063: else
 7064:   ac_check_lib_save_LIBS=$LIBS
 7065: LIBS="-lpthread  $LIBS"
 7066: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7067: /* end confdefs.h.  */
 7068: 
 7069: 
 7070: int
 7071: main ()
 7072: {
 7073: return main ();
 7074:   ;
 7075:   return 0;
 7076: }
 7077: _ACEOF
 7078: if ac_fn_c_try_link "$LINENO"; then :
 7079:   ac_cv_lib_pthread_main=yes
 7080: else
 7081:   ac_cv_lib_pthread_main=no
 7082: fi
 7083: rm -f core conftest.err conftest.$ac_objext \
 7084:     conftest$ac_exeext conftest.$ac_ext
 7085: LIBS=$ac_check_lib_save_LIBS
 7086: fi
 7087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 7088: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 7089: if test "x$ac_cv_lib_pthread_main" = xyes; then :
 7090:   cat >>confdefs.h <<_ACEOF
 7091: #define HAVE_LIBPTHREAD 1
 7092: _ACEOF
 7093: 
 7094:   LIBS="-lpthread $LIBS"
 7095: 
 7096: else
 7097:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
 7098: fi
 7099: 
 7100: 
 7101: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 7102: #include <sys/sem.h>
 7103: 
 7104: "
 7105: if test "x$ac_cv_type_union_semun" = xyes; then :
 7106:   SEMUN=-DUNION_SEMUN
 7107: else
 7108:   SEMUN=-UUNION_SEMUN
 7109: fi
 7110: 
 7111: 
 7112: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
 7113: #include <sys/types.h>
 7114: #include <netinet/in.h>
 7115: 
 7116: "
 7117: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
 7118:   IPV6=-DIPV6
 7119: else
 7120:   IPV6=-UIPV6
 7121: fi
 7122: 
 7123: 
 7124: if test "$CYGWIN" != yes; then
 7125:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 7126: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 7127: if ${ac_cv_lib_dl_dlopen+:} false; then :
 7128:   $as_echo_n "(cached) " >&6
 7129: else
 7130:   ac_check_lib_save_LIBS=$LIBS
 7131: LIBS="-ldl  $LIBS"
 7132: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7133: /* end confdefs.h.  */
 7134: 
 7135: /* Override any GCC internal prototype to avoid an error.
 7136:    Use char because int might match the return type of a GCC
 7137:    builtin and then its argument prototype would still apply.  */
 7138: #ifdef __cplusplus
 7139: extern "C"
 7140: #endif
 7141: char dlopen ();
 7142: int
 7143: main ()
 7144: {
 7145: return dlopen ();
 7146:   ;
 7147:   return 0;
 7148: }
 7149: _ACEOF
 7150: if ac_fn_c_try_link "$LINENO"; then :
 7151:   ac_cv_lib_dl_dlopen=yes
 7152: else
 7153:   ac_cv_lib_dl_dlopen=no
 7154: fi
 7155: rm -f core conftest.err conftest.$ac_objext \
 7156:     conftest$ac_exeext conftest.$ac_ext
 7157: LIBS=$ac_check_lib_save_LIBS
 7158: fi
 7159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 7160: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 7161: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 7162:   LIBS="$LIBS -ldl"
 7163: else
 7164:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 7165: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7166: fi
 7167: 
 7168: fi
 7169: 
 7170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 7171: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 7172: if ${ac_cv_lib_rt_nanosleep+:} false; then :
 7173:   $as_echo_n "(cached) " >&6
 7174: else
 7175:   ac_check_lib_save_LIBS=$LIBS
 7176: LIBS="-lrt  $LIBS"
 7177: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7178: /* end confdefs.h.  */
 7179: 
 7180: /* Override any GCC internal prototype to avoid an error.
 7181:    Use char because int might match the return type of a GCC
 7182:    builtin and then its argument prototype would still apply.  */
 7183: #ifdef __cplusplus
 7184: extern "C"
 7185: #endif
 7186: char nanosleep ();
 7187: int
 7188: main ()
 7189: {
 7190: return nanosleep ();
 7191:   ;
 7192:   return 0;
 7193: }
 7194: _ACEOF
 7195: if ac_fn_c_try_link "$LINENO"; then :
 7196:   ac_cv_lib_rt_nanosleep=yes
 7197: else
 7198:   ac_cv_lib_rt_nanosleep=no
 7199: fi
 7200: rm -f core conftest.err conftest.$ac_objext \
 7201:     conftest$ac_exeext conftest.$ac_ext
 7202: LIBS=$ac_check_lib_save_LIBS
 7203: fi
 7204: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7205: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7206: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
 7207:   LIBS="$LIBS -lrt"
 7208: else
 7209:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7210: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7211: fi
 7212: 
 7213: 
 7214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7215: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7216: if ${ac_cv_lib_socket_bind+:} false; then :
 7217:   $as_echo_n "(cached) " >&6
 7218: else
 7219:   ac_check_lib_save_LIBS=$LIBS
 7220: LIBS="-lsocket  $LIBS"
 7221: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7222: /* end confdefs.h.  */
 7223: 
 7224: /* Override any GCC internal prototype to avoid an error.
 7225:    Use char because int might match the return type of a GCC
 7226:    builtin and then its argument prototype would still apply.  */
 7227: #ifdef __cplusplus
 7228: extern "C"
 7229: #endif
 7230: char bind ();
 7231: int
 7232: main ()
 7233: {
 7234: return bind ();
 7235:   ;
 7236:   return 0;
 7237: }
 7238: _ACEOF
 7239: if ac_fn_c_try_link "$LINENO"; then :
 7240:   ac_cv_lib_socket_bind=yes
 7241: else
 7242:   ac_cv_lib_socket_bind=no
 7243: fi
 7244: rm -f core conftest.err conftest.$ac_objext \
 7245:     conftest$ac_exeext conftest.$ac_ext
 7246: LIBS=$ac_check_lib_save_LIBS
 7247: fi
 7248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7249: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7250: if test "x$ac_cv_lib_socket_bind" = xyes; then :
 7251:   LIBS="$LIBS -lsocket"
 7252: else
 7253:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7254: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7255: fi
 7256: 
 7257: 
 7258: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7259: 
 7260: # Check whether --with-mysql was given.
 7261: if test "${with_mysql+set}" = set; then :
 7262:   withval=$with_mysql;
 7263: else
 7264:   with_mysql=check
 7265: fi
 7266: 
 7267: 
 7268: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7269:     libMySQLinc="-I/usr/include"
 7270:     libMySQLlib="/usr/lib"
 7271: 
 7272:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7273: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7274:     saved_CFLAGS="$CFLAGS"
 7275:     CFLAGS="$CFLAGS -L/$libMySQLinc"
 7276:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7277: /* end confdefs.h.  */
 7278: #include "mysql.h"
 7279: int
 7280: main ()
 7281: {
 7282: 
 7283:   ;
 7284:   return 0;
 7285: }
 7286: _ACEOF
 7287: if ac_fn_c_try_compile "$LINENO"; then :
 7288:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7289: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7290:                     libMySQLinc=$libMySQLinc/mysql
 7291: else
 7292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7293: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7294: fi
 7295: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7296:     CFLAGS=$saved_CFLAGS
 7297: 
 7298:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7299:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7300: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7301:         saved_CFLAGS="$CFLAGS"
 7302:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7303:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7304: /* end confdefs.h.  */
 7305: #include "mysql.h"
 7306: int
 7307: main ()
 7308: {
 7309: 
 7310:   ;
 7311:   return 0;
 7312: }
 7313: _ACEOF
 7314: if ac_fn_c_try_compile "$LINENO"; then :
 7315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7316: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7317:                         libMySQLinc=$libMySQLinc
 7318: else
 7319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7320: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7321: fi
 7322: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7323:         CFLAGS=$saved_CFLAGS
 7324:         libMySQLinc=$libMySQLinc/mysql
 7325:     fi
 7326: 
 7327:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7328:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7329: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7330:         saved_CFLAGS="$CFLAGS"
 7331:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7332:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7333: /* end confdefs.h.  */
 7334: #include "mysql.h"
 7335: int
 7336: main ()
 7337: {
 7338: 
 7339:   ;
 7340:   return 0;
 7341: }
 7342: _ACEOF
 7343: if ac_fn_c_try_compile "$LINENO"; then :
 7344:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7345: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7346:                         libMySQLinc=$libMySQLinc/mysql
 7347: else
 7348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7349: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7350: fi
 7351: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7352:         CFLAGS=$saved_CFLAGS
 7353:         libMySQLinc=$libMySQLinc/../local/include
 7354:         libMySQLlib=$libMySQLlib/../local/lib
 7355:     fi
 7356: 
 7357:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7358:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7359: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7360:         saved_CFLAGS="$CFLAGS"
 7361:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7362:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7363: /* end confdefs.h.  */
 7364: #include "mysql.h"
 7365: int
 7366: main ()
 7367: {
 7368: 
 7369:   ;
 7370:   return 0;
 7371: }
 7372: _ACEOF
 7373: if ac_fn_c_try_compile "$LINENO"; then :
 7374:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7375: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7376:                         libMySQLinc=$libMySQLinc/mysql
 7377: else
 7378:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7379: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7380: fi
 7381: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7382:         CFLAGS=$saved_CFLAGS
 7383:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7384:         libMySQLlib=$libMySQLlib/../local/lib
 7385:     fi
 7386: else
 7387:     if test "x$with_mysql" != xno; then
 7388:         libMySQLinc="-I$with_mysql/include"
 7389:         libMySQLlib="$with_mysql/lib"
 7390: 
 7391:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7392: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7393:         saved_CFLAGS="$CFLAGS"
 7394:         CFLAGS="$CFLAGS $libMySQLinc"
 7395:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7396: /* end confdefs.h.  */
 7397: #include "mysql.h"
 7398: int
 7399: main ()
 7400: {
 7401: 
 7402:   ;
 7403:   return 0;
 7404: }
 7405: _ACEOF
 7406: if ac_fn_c_try_compile "$LINENO"; then :
 7407:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7408: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7409:                         libMySQLinc=$libMySQLinc/mysql
 7410: else
 7411:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7412: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7413: fi
 7414: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7415:         CFLAGS=$saved_CFLAGS
 7416: 
 7417:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7418:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7419: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7420:             saved_CFLAGS="$CFLAGS"
 7421:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7422:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7423: /* end confdefs.h.  */
 7424: #include "mysql.h"
 7425: int
 7426: main ()
 7427: {
 7428: 
 7429:   ;
 7430:   return 0;
 7431: }
 7432: _ACEOF
 7433: if ac_fn_c_try_compile "$LINENO"; then :
 7434:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7435: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7436:                             libMySQLinc=$libMySQLinc
 7437: else
 7438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7439: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7440: fi
 7441: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7442:             CFLAGS=$saved_CFLAGS
 7443:             libMySQLinc=$libMySQLinc/mysql
 7444:         fi
 7445:     else
 7446:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7447:     fi
 7448: fi
 7449: 
 7450: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7451:     MYSQL_LIB=no
 7452: 
 7453:     if test $MYSQL_LIB = no; then
 7454:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7455: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7456:         saved_LIBS="$LIBS"
 7457:         if test $STATIC = no; then
 7458:             LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
 7459:         else
 7460:             LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
 7461:         fi
 7462:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7463: /* end confdefs.h.  */
 7464: #include "mysql.h"
 7465: int
 7466: main ()
 7467: {
 7468: MYSQL mysql; mysql_init(&mysql);
 7469:   ;
 7470:   return 0;
 7471: }
 7472: _ACEOF
 7473: if ac_fn_c_try_link "$LINENO"; then :
 7474:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7475: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7476: else
 7477:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7478: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7479: fi
 7480: rm -f core conftest.err conftest.$ac_objext \
 7481:     conftest$ac_exeext conftest.$ac_ext
 7482:         LIBS=$saved_LIBS;
 7483:         if test $STATIC = no; then
 7484:             libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
 7485:         else
 7486:             libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
 7487:             EXT_SQL="$EXT_SQL $libMySQLlib"
 7488:         fi
 7489:     fi
 7490: 
 7491:     if test $MYSQL_LIB = no; then
 7492:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7493:     fi
 7494: fi
 7495: 
 7496: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7497:     libMySQLinc=
 7498:     libMySQLlib=
 7499: fi
 7500: 
 7501: 
 7502: 
 7503: 
 7504: 
 7505: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7506: 
 7507: # Check whether --with-postgresql was given.
 7508: if test "${with_postgresql+set}" = set; then :
 7509:   withval=$with_postgresql;
 7510: else
 7511:   with_postgresql=check
 7512: fi
 7513: 
 7514: 
 7515: # with_postgresql : check [pas défini], yes [uniquement --with],
 7516: # no [--without], valeur [--with=valeur].
 7517: 
 7518: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7519:     libPgSQLinc="-I/usr/include"
 7520:     libPgSQLlib="/usr/lib"
 7521: 
 7522:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7523: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7524:     saved_CFLAGS="$CFLAGS"
 7525:     CFLAGS="$CFLAGS $libPgSQLinc"
 7526:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7527: /* end confdefs.h.  */
 7528: #include "libpq-fe.h"
 7529: int
 7530: main ()
 7531: {
 7532: 
 7533:   ;
 7534:   return 0;
 7535: }
 7536: _ACEOF
 7537: if ac_fn_c_try_compile "$LINENO"; then :
 7538:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7539: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7540: else
 7541:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7542: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7543: fi
 7544: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7545:     CFLAGS=$saved_CFLAGS
 7546: 
 7547:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7548:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7549: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7550:         saved_CFLAGS="$CFLAGS"
 7551:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7552:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7553: /* end confdefs.h.  */
 7554: #include "libpq-fe.h"
 7555: int
 7556: main ()
 7557: {
 7558: 
 7559:   ;
 7560:   return 0;
 7561: }
 7562: _ACEOF
 7563: if ac_fn_c_try_compile "$LINENO"; then :
 7564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7565: $as_echo "yes" >&6; };
 7566:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7567: else
 7568:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7569: $as_echo "no" >&6; };
 7570:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7571: fi
 7572: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7573:         CFLAGS=$saved_CFLAGS
 7574:         libPgSQLinc=$libPgSQLinc/postgresql
 7575:     fi
 7576: 
 7577:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7578:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7579: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7580:         saved_CFLAGS="$CFLAGS"
 7581:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7582:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7583: /* end confdefs.h.  */
 7584: #include "libpq-fe.h"
 7585: int
 7586: main ()
 7587: {
 7588: 
 7589:   ;
 7590:   return 0;
 7591: }
 7592: _ACEOF
 7593: if ac_fn_c_try_compile "$LINENO"; then :
 7594:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7595: $as_echo "yes" >&6; };
 7596:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7597: else
 7598:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7599: $as_echo "no" >&6; };
 7600:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7601: fi
 7602: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7603:         CFLAGS=$saved_CFLAGS
 7604:         libPgSQLinc=$libPgSQLinc/pgsql
 7605:     fi
 7606: 
 7607:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7608:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7609: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7610:         saved_CFLAGS="$CFLAGS"
 7611:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7612:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7613: /* end confdefs.h.  */
 7614: #include "libpq-fe.h"
 7615: int
 7616: main ()
 7617: {
 7618: 
 7619:   ;
 7620:   return 0;
 7621: }
 7622: _ACEOF
 7623: if ac_fn_c_try_compile "$LINENO"; then :
 7624:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7625: $as_echo "yes" >&6; };
 7626:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7627: else
 7628:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7629: $as_echo "no" >&6; };
 7630:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7631: fi
 7632: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7633:         CFLAGS=$saved_CFLAGS
 7634:         libPgSQLinc=$libPgSQLinc/../local/include
 7635:         libPgSQLlib=$libPgSQLlib/../local/lib
 7636:     fi
 7637: 
 7638:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7639:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7640: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7641:         saved_CFLAGS="$CFLAGS"
 7642:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7643:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7644: /* end confdefs.h.  */
 7645: #include "libpq-fe.h"
 7646: int
 7647: main ()
 7648: {
 7649: 
 7650:   ;
 7651:   return 0;
 7652: }
 7653: _ACEOF
 7654: if ac_fn_c_try_compile "$LINENO"; then :
 7655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7656: $as_echo "yes" >&6; };
 7657:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7658: else
 7659:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7660: $as_echo "no" >&6; };
 7661:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7662: fi
 7663: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7664:         CFLAGS=$saved_CFLAGS
 7665:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7666:         libPgSQLlib=$libPgSQLlib/../local/lib
 7667:     fi
 7668: 
 7669:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7670:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7671: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7672:         saved_CFLAGS="$CFLAGS"
 7673:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7674:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7675: /* end confdefs.h.  */
 7676: #include "libpq-fe.h"
 7677: int
 7678: main ()
 7679: {
 7680: 
 7681:   ;
 7682:   return 0;
 7683: }
 7684: _ACEOF
 7685: if ac_fn_c_try_compile "$LINENO"; then :
 7686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7687: $as_echo "yes" >&6; };
 7688:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7689: else
 7690:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7691: $as_echo "no" >&6; };
 7692:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7693: fi
 7694: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7695:         CFLAGS=$saved_CFLAGS
 7696:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7697:         libPgSQLlib=$libPgSQLlib/../local/lib
 7698:     fi
 7699: else
 7700:     if test "x$with_postgresql" != xno; then
 7701:         libPgSQLinc="-I$with_postgresql/include"
 7702:         libPgSQLlib="$with_postgresql/lib"
 7703: 
 7704:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7705: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7706:         saved_CFLAGS="$CFLAGS"
 7707:         CFLAGS="$CFLAGS $libPgSQLinc"
 7708:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7709: /* end confdefs.h.  */
 7710: #include "libpq-fe.h"
 7711: int
 7712: main ()
 7713: {
 7714: 
 7715:   ;
 7716:   return 0;
 7717: }
 7718: _ACEOF
 7719: if ac_fn_c_try_compile "$LINENO"; then :
 7720:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7721: $as_echo "yes" >&6; };
 7722:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7723: else
 7724:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7725: $as_echo "no" >&6; };
 7726:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7727: fi
 7728: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7729:         CFLAGS=$saved_CFLAGS
 7730: 
 7731:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7732:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7733: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7734:             saved_CFLAGS="$CFLAGS"
 7735:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7736:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7737: /* end confdefs.h.  */
 7738: #include "libpq-fe.h"
 7739: int
 7740: main ()
 7741: {
 7742: 
 7743:   ;
 7744:   return 0;
 7745: }
 7746: _ACEOF
 7747: if ac_fn_c_try_compile "$LINENO"; then :
 7748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7749: $as_echo "yes" >&6; };
 7750:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7751: else
 7752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7753: $as_echo "no" >&6; };
 7754:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7755: fi
 7756: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7757:             CFLAGS=$saved_CFLAGS
 7758:             libPgSQLinc=$libPgSQLinc/postgresql
 7759:         fi
 7760: 
 7761:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7762:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7763: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7764:             saved_CFLAGS="$CFLAGS"
 7765:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7766:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7767: /* end confdefs.h.  */
 7768: #include "libpq-fe.h"
 7769: int
 7770: main ()
 7771: {
 7772: 
 7773:   ;
 7774:   return 0;
 7775: }
 7776: _ACEOF
 7777: if ac_fn_c_try_compile "$LINENO"; then :
 7778:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7779: $as_echo "yes" >&6; };
 7780:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7781: else
 7782:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7783: $as_echo "no" >&6; };
 7784:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7785: fi
 7786: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7787:             CFLAGS=$saved_CFLAGS
 7788:             libPgSQLinc=$libPgSQLinc/pgsql
 7789:         fi
 7790:     else
 7791:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7792:     fi
 7793: fi
 7794: 
 7795: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7796:     POSTGRESQL_LIB=no
 7797: 
 7798:     if test $POSTGRESQL_LIB = no; then
 7799:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7800: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7801:         saved_LIBS="$LIBS"
 7802:         if test $STATIC = no; then
 7803:             LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
 7804:         else
 7805:             LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
 7806:         fi
 7807:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7808: /* end confdefs.h.  */
 7809: #include "libpq-fe.h"
 7810: int
 7811: main ()
 7812: {
 7813: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 7814:              PQconnectdb(conninfo);
 7815:   ;
 7816:   return 0;
 7817: }
 7818: _ACEOF
 7819: if ac_fn_c_try_link "$LINENO"; then :
 7820:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7821: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 7822: else
 7823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7824: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 7825: fi
 7826: rm -f core conftest.err conftest.$ac_objext \
 7827:     conftest$ac_exeext conftest.$ac_ext
 7828:         LIBS=$saved_LIBS;
 7829:         if test $STATIC = no; then
 7830:             libPgSQLlib="-L/$libPgSQLlib -lpq"
 7831:         else
 7832:             libPgSQLlib="$libPgSQLlib/libpq.a"
 7833:             EXT_SQL="$EXT_SQL $libPgSQLlib"
 7834:         fi
 7835:     fi
 7836: fi
 7837: 
 7838: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 7839:     libPgSQLinc=
 7840:     libPgSQLlib=
 7841: fi
 7842: 
 7843: 
 7844: 
 7845: 
 7846: 
 7847: # with_postgresql : check [pas défini], yes [uniquement --with],
 7848: # no [--without], valeur [--with=valeur].
 7849: 
 7850: # Check whether --with-bourne_shell was given.
 7851: if test "${with_bourne_shell+set}" = set; then :
 7852:   withval=$with_bourne_shell;
 7853: else
 7854:   with_bourne_shell=no
 7855: fi
 7856: 
 7857: 
 7858: if test "x$with_bourne_shell" = xyes; then
 7859:     as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
 7860: fi
 7861: 
 7862: if test "x$with_bourne_shell" = xno; then
 7863:     if test $(uname) = "OS/2"; then
 7864:         as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
 7865:     fi
 7866: 
 7867:     BSH_PATH=
 7868: else
 7869:     if test ! -x $with_bourne_shell; then
 7870:         as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
 7871:     fi
 7872: 
 7873:     if test $(uname) = "OS/2"; then
 7874:         with_os2_bourne_shell=$(echo $with_bourne_shell | \
 7875:                 sed -e '1,$s/\//\\\\\\\\/g')
 7876:         BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
 7877:     else
 7878:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
 7879: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
 7880:         BSH_PATH=
 7881:     fi
 7882: fi
 7883: 
 7884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 7885: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 7886: if ${ac_cv_path_GREP+:} false; then :
 7887:   $as_echo_n "(cached) " >&6
 7888: else
 7889:   if test -z "$GREP"; then
 7890:   ac_path_GREP_found=false
 7891:   # Loop through the user's path and test for each of PROGNAME-LIST
 7892:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7893: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7894: do
 7895:   IFS=$as_save_IFS
 7896:   test -z "$as_dir" && as_dir=.
 7897:     for ac_prog in grep ggrep; do
 7898:     for ac_exec_ext in '' $ac_executable_extensions; do
 7899:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 7900:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 7901: # Check for GNU ac_path_GREP and select it if it is found.
 7902:   # Check for GNU $ac_path_GREP
 7903: case `"$ac_path_GREP" --version 2>&1` in
 7904: *GNU*)
 7905:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 7906: *)
 7907:   ac_count=0
 7908:   $as_echo_n 0123456789 >"conftest.in"
 7909:   while :
 7910:   do
 7911:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7912:     mv "conftest.tmp" "conftest.in"
 7913:     cp "conftest.in" "conftest.nl"
 7914:     $as_echo 'GREP' >> "conftest.nl"
 7915:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7916:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7917:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7918:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 7919:       # Best one so far, save it but keep looking for a better one
 7920:       ac_cv_path_GREP="$ac_path_GREP"
 7921:       ac_path_GREP_max=$ac_count
 7922:     fi
 7923:     # 10*(2^10) chars as input seems more than enough
 7924:     test $ac_count -gt 10 && break
 7925:   done
 7926:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7927: esac
 7928: 
 7929:       $ac_path_GREP_found && break 3
 7930:     done
 7931:   done
 7932:   done
 7933: IFS=$as_save_IFS
 7934:   if test -z "$ac_cv_path_GREP"; then
 7935:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7936:   fi
 7937: else
 7938:   ac_cv_path_GREP=$GREP
 7939: fi
 7940: 
 7941: fi
 7942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 7943: $as_echo "$ac_cv_path_GREP" >&6; }
 7944:  GREP="$ac_cv_path_GREP"
 7945: 
 7946: 
 7947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 7948: $as_echo_n "checking for egrep... " >&6; }
 7949: if ${ac_cv_path_EGREP+:} false; then :
 7950:   $as_echo_n "(cached) " >&6
 7951: else
 7952:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 7953:    then ac_cv_path_EGREP="$GREP -E"
 7954:    else
 7955:      if test -z "$EGREP"; then
 7956:   ac_path_EGREP_found=false
 7957:   # Loop through the user's path and test for each of PROGNAME-LIST
 7958:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7959: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7960: do
 7961:   IFS=$as_save_IFS
 7962:   test -z "$as_dir" && as_dir=.
 7963:     for ac_prog in egrep; do
 7964:     for ac_exec_ext in '' $ac_executable_extensions; do
 7965:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 7966:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 7967: # Check for GNU ac_path_EGREP and select it if it is found.
 7968:   # Check for GNU $ac_path_EGREP
 7969: case `"$ac_path_EGREP" --version 2>&1` in
 7970: *GNU*)
 7971:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 7972: *)
 7973:   ac_count=0
 7974:   $as_echo_n 0123456789 >"conftest.in"
 7975:   while :
 7976:   do
 7977:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7978:     mv "conftest.tmp" "conftest.in"
 7979:     cp "conftest.in" "conftest.nl"
 7980:     $as_echo 'EGREP' >> "conftest.nl"
 7981:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7982:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7983:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7984:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 7985:       # Best one so far, save it but keep looking for a better one
 7986:       ac_cv_path_EGREP="$ac_path_EGREP"
 7987:       ac_path_EGREP_max=$ac_count
 7988:     fi
 7989:     # 10*(2^10) chars as input seems more than enough
 7990:     test $ac_count -gt 10 && break
 7991:   done
 7992:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7993: esac
 7994: 
 7995:       $ac_path_EGREP_found && break 3
 7996:     done
 7997:   done
 7998:   done
 7999: IFS=$as_save_IFS
 8000:   if test -z "$ac_cv_path_EGREP"; then
 8001:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 8002:   fi
 8003: else
 8004:   ac_cv_path_EGREP=$EGREP
 8005: fi
 8006: 
 8007:    fi
 8008: fi
 8009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 8010: $as_echo "$ac_cv_path_EGREP" >&6; }
 8011:  EGREP="$ac_cv_path_EGREP"
 8012: 
 8013: 
 8014: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8015: $as_echo_n "checking for ANSI C header files... " >&6; }
 8016: if ${ac_cv_header_stdc+:} false; then :
 8017:   $as_echo_n "(cached) " >&6
 8018: else
 8019:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8020: /* end confdefs.h.  */
 8021: #include <stdlib.h>
 8022: #include <stdarg.h>
 8023: #include <string.h>
 8024: #include <float.h>
 8025: 
 8026: int
 8027: main ()
 8028: {
 8029: 
 8030:   ;
 8031:   return 0;
 8032: }
 8033: _ACEOF
 8034: if ac_fn_c_try_compile "$LINENO"; then :
 8035:   ac_cv_header_stdc=yes
 8036: else
 8037:   ac_cv_header_stdc=no
 8038: fi
 8039: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8040: 
 8041: if test $ac_cv_header_stdc = yes; then
 8042:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8043:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8044: /* end confdefs.h.  */
 8045: #include <string.h>
 8046: 
 8047: _ACEOF
 8048: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8049:   $EGREP "memchr" >/dev/null 2>&1; then :
 8050: 
 8051: else
 8052:   ac_cv_header_stdc=no
 8053: fi
 8054: rm -f conftest*
 8055: 
 8056: fi
 8057: 
 8058: if test $ac_cv_header_stdc = yes; then
 8059:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8060:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8061: /* end confdefs.h.  */
 8062: #include <stdlib.h>
 8063: 
 8064: _ACEOF
 8065: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8066:   $EGREP "free" >/dev/null 2>&1; then :
 8067: 
 8068: else
 8069:   ac_cv_header_stdc=no
 8070: fi
 8071: rm -f conftest*
 8072: 
 8073: fi
 8074: 
 8075: if test $ac_cv_header_stdc = yes; then
 8076:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8077:   if test "$cross_compiling" = yes; then :
 8078:   :
 8079: else
 8080:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8081: /* end confdefs.h.  */
 8082: #include <ctype.h>
 8083: #include <stdlib.h>
 8084: #if ((' ' & 0x0FF) == 0x020)
 8085: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8086: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8087: #else
 8088: # define ISLOWER(c) \
 8089:            (('a' <= (c) && (c) <= 'i') \
 8090:              || ('j' <= (c) && (c) <= 'r') \
 8091:              || ('s' <= (c) && (c) <= 'z'))
 8092: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8093: #endif
 8094: 
 8095: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8096: int
 8097: main ()
 8098: {
 8099:   int i;
 8100:   for (i = 0; i < 256; i++)
 8101:     if (XOR (islower (i), ISLOWER (i))
 8102:     || toupper (i) != TOUPPER (i))
 8103:       return 2;
 8104:   return 0;
 8105: }
 8106: _ACEOF
 8107: if ac_fn_c_try_run "$LINENO"; then :
 8108: 
 8109: else
 8110:   ac_cv_header_stdc=no
 8111: fi
 8112: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8113:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8114: fi
 8115: 
 8116: fi
 8117: fi
 8118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8119: $as_echo "$ac_cv_header_stdc" >&6; }
 8120: if test $ac_cv_header_stdc = yes; then
 8121: 
 8122: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8123: 
 8124: fi
 8125: 
 8126: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 8127: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 8128:           inttypes.h stdint.h unistd.h
 8129: do :
 8130:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8131: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 8132: "
 8133: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8134:   cat >>confdefs.h <<_ACEOF
 8135: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8136: _ACEOF
 8137: 
 8138: fi
 8139: 
 8140: done
 8141: 
 8142: 
 8143: # The cast to long int works around a bug in the HP C Compiler
 8144: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8145: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8146: # This bug is HP SR number 8606223364.
 8147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 8148: $as_echo_n "checking size of void *... " >&6; }
 8149: if ${ac_cv_sizeof_void_p+:} false; then :
 8150:   $as_echo_n "(cached) " >&6
 8151: else
 8152:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 8153: 
 8154: else
 8155:   if test "$ac_cv_type_void_p" = yes; then
 8156:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8157: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8158: as_fn_error 77 "cannot compute sizeof (void *)
 8159: See \`config.log' for more details" "$LINENO" 5; }
 8160:    else
 8161:      ac_cv_sizeof_void_p=0
 8162:    fi
 8163: fi
 8164: 
 8165: fi
 8166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 8167: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 8168: 
 8169: 
 8170: 
 8171: cat >>confdefs.h <<_ACEOF
 8172: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 8173: _ACEOF
 8174: 
 8175: 
 8176: # The cast to long int works around a bug in the HP C Compiler
 8177: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8178: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8179: # This bug is HP SR number 8606223364.
 8180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 8181: $as_echo_n "checking size of char... " >&6; }
 8182: if ${ac_cv_sizeof_char+:} false; then :
 8183:   $as_echo_n "(cached) " >&6
 8184: else
 8185:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 8186: 
 8187: else
 8188:   if test "$ac_cv_type_char" = yes; then
 8189:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8190: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8191: as_fn_error 77 "cannot compute sizeof (char)
 8192: See \`config.log' for more details" "$LINENO" 5; }
 8193:    else
 8194:      ac_cv_sizeof_char=0
 8195:    fi
 8196: fi
 8197: 
 8198: fi
 8199: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 8200: $as_echo "$ac_cv_sizeof_char" >&6; }
 8201: 
 8202: 
 8203: 
 8204: cat >>confdefs.h <<_ACEOF
 8205: #define SIZEOF_CHAR $ac_cv_sizeof_char
 8206: _ACEOF
 8207: 
 8208: 
 8209: # The cast to long int works around a bug in the HP C Compiler
 8210: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8211: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8212: # This bug is HP SR number 8606223364.
 8213: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 8214: $as_echo_n "checking size of short int... " >&6; }
 8215: if ${ac_cv_sizeof_short_int+:} false; then :
 8216:   $as_echo_n "(cached) " >&6
 8217: else
 8218:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 8219: 
 8220: else
 8221:   if test "$ac_cv_type_short_int" = yes; then
 8222:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8223: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8224: as_fn_error 77 "cannot compute sizeof (short int)
 8225: See \`config.log' for more details" "$LINENO" 5; }
 8226:    else
 8227:      ac_cv_sizeof_short_int=0
 8228:    fi
 8229: fi
 8230: 
 8231: fi
 8232: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8233: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8234: 
 8235: 
 8236: 
 8237: cat >>confdefs.h <<_ACEOF
 8238: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8239: _ACEOF
 8240: 
 8241: 
 8242: # The cast to long int works around a bug in the HP C Compiler
 8243: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8244: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8245: # This bug is HP SR number 8606223364.
 8246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8247: $as_echo_n "checking size of int... " >&6; }
 8248: if ${ac_cv_sizeof_int+:} false; then :
 8249:   $as_echo_n "(cached) " >&6
 8250: else
 8251:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8252: 
 8253: else
 8254:   if test "$ac_cv_type_int" = yes; then
 8255:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8256: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8257: as_fn_error 77 "cannot compute sizeof (int)
 8258: See \`config.log' for more details" "$LINENO" 5; }
 8259:    else
 8260:      ac_cv_sizeof_int=0
 8261:    fi
 8262: fi
 8263: 
 8264: fi
 8265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8266: $as_echo "$ac_cv_sizeof_int" >&6; }
 8267: 
 8268: 
 8269: 
 8270: cat >>confdefs.h <<_ACEOF
 8271: #define SIZEOF_INT $ac_cv_sizeof_int
 8272: _ACEOF
 8273: 
 8274: 
 8275: # The cast to long int works around a bug in the HP C Compiler
 8276: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8277: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8278: # This bug is HP SR number 8606223364.
 8279: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8280: $as_echo_n "checking size of long int... " >&6; }
 8281: if ${ac_cv_sizeof_long_int+:} false; then :
 8282:   $as_echo_n "(cached) " >&6
 8283: else
 8284:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8285: 
 8286: else
 8287:   if test "$ac_cv_type_long_int" = yes; then
 8288:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8289: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8290: as_fn_error 77 "cannot compute sizeof (long int)
 8291: See \`config.log' for more details" "$LINENO" 5; }
 8292:    else
 8293:      ac_cv_sizeof_long_int=0
 8294:    fi
 8295: fi
 8296: 
 8297: fi
 8298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8299: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8300: 
 8301: 
 8302: 
 8303: cat >>confdefs.h <<_ACEOF
 8304: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8305: _ACEOF
 8306: 
 8307: 
 8308: # The cast to long int works around a bug in the HP C Compiler
 8309: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8310: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8311: # This bug is HP SR number 8606223364.
 8312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8313: $as_echo_n "checking size of long long int... " >&6; }
 8314: if ${ac_cv_sizeof_long_long_int+:} false; then :
 8315:   $as_echo_n "(cached) " >&6
 8316: else
 8317:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8318: 
 8319: else
 8320:   if test "$ac_cv_type_long_long_int" = yes; then
 8321:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8322: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8323: as_fn_error 77 "cannot compute sizeof (long long int)
 8324: See \`config.log' for more details" "$LINENO" 5; }
 8325:    else
 8326:      ac_cv_sizeof_long_long_int=0
 8327:    fi
 8328: fi
 8329: 
 8330: fi
 8331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8332: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8333: 
 8334: 
 8335: 
 8336: cat >>confdefs.h <<_ACEOF
 8337: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8338: _ACEOF
 8339: 
 8340: 
 8341: # The cast to long int works around a bug in the HP C Compiler
 8342: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8343: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8344: # This bug is HP SR number 8606223364.
 8345: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8346: $as_echo_n "checking size of float... " >&6; }
 8347: if ${ac_cv_sizeof_float+:} false; then :
 8348:   $as_echo_n "(cached) " >&6
 8349: else
 8350:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8351: 
 8352: else
 8353:   if test "$ac_cv_type_float" = yes; then
 8354:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8355: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8356: as_fn_error 77 "cannot compute sizeof (float)
 8357: See \`config.log' for more details" "$LINENO" 5; }
 8358:    else
 8359:      ac_cv_sizeof_float=0
 8360:    fi
 8361: fi
 8362: 
 8363: fi
 8364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8365: $as_echo "$ac_cv_sizeof_float" >&6; }
 8366: 
 8367: 
 8368: 
 8369: cat >>confdefs.h <<_ACEOF
 8370: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8371: _ACEOF
 8372: 
 8373: 
 8374: # The cast to long int works around a bug in the HP C Compiler
 8375: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8376: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8377: # This bug is HP SR number 8606223364.
 8378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8379: $as_echo_n "checking size of double... " >&6; }
 8380: if ${ac_cv_sizeof_double+:} false; then :
 8381:   $as_echo_n "(cached) " >&6
 8382: else
 8383:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8384: 
 8385: else
 8386:   if test "$ac_cv_type_double" = yes; then
 8387:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8388: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8389: as_fn_error 77 "cannot compute sizeof (double)
 8390: See \`config.log' for more details" "$LINENO" 5; }
 8391:    else
 8392:      ac_cv_sizeof_double=0
 8393:    fi
 8394: fi
 8395: 
 8396: fi
 8397: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8398: $as_echo "$ac_cv_sizeof_double" >&6; }
 8399: 
 8400: 
 8401: 
 8402: cat >>confdefs.h <<_ACEOF
 8403: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8404: _ACEOF
 8405: 
 8406: 
 8407: # The cast to long int works around a bug in the HP C Compiler
 8408: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8409: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8410: # This bug is HP SR number 8606223364.
 8411: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8412: $as_echo_n "checking size of long double... " >&6; }
 8413: if ${ac_cv_sizeof_long_double+:} false; then :
 8414:   $as_echo_n "(cached) " >&6
 8415: else
 8416:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8417: 
 8418: else
 8419:   if test "$ac_cv_type_long_double" = yes; then
 8420:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8421: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8422: as_fn_error 77 "cannot compute sizeof (long double)
 8423: See \`config.log' for more details" "$LINENO" 5; }
 8424:    else
 8425:      ac_cv_sizeof_long_double=0
 8426:    fi
 8427: fi
 8428: 
 8429: fi
 8430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8431: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8432: 
 8433: 
 8434: 
 8435: cat >>confdefs.h <<_ACEOF
 8436: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8437: _ACEOF
 8438: 
 8439: 
 8440: 
 8441: ac_header_dirent=no
 8442: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8443:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8445: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8446: if eval \${$as_ac_Header+:} false; then :
 8447:   $as_echo_n "(cached) " >&6
 8448: else
 8449:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8450: /* end confdefs.h.  */
 8451: #include <sys/types.h>
 8452: #include <$ac_hdr>
 8453: 
 8454: int
 8455: main ()
 8456: {
 8457: if ((DIR *) 0)
 8458: return 0;
 8459:   ;
 8460:   return 0;
 8461: }
 8462: _ACEOF
 8463: if ac_fn_c_try_compile "$LINENO"; then :
 8464:   eval "$as_ac_Header=yes"
 8465: else
 8466:   eval "$as_ac_Header=no"
 8467: fi
 8468: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8469: fi
 8470: eval ac_res=\$$as_ac_Header
 8471:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8472: $as_echo "$ac_res" >&6; }
 8473: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8474:   cat >>confdefs.h <<_ACEOF
 8475: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8476: _ACEOF
 8477: 
 8478: ac_header_dirent=$ac_hdr; break
 8479: fi
 8480: 
 8481: done
 8482: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8483: if test $ac_header_dirent = dirent.h; then
 8484:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8485: $as_echo_n "checking for library containing opendir... " >&6; }
 8486: if ${ac_cv_search_opendir+:} false; then :
 8487:   $as_echo_n "(cached) " >&6
 8488: else
 8489:   ac_func_search_save_LIBS=$LIBS
 8490: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8491: /* end confdefs.h.  */
 8492: 
 8493: /* Override any GCC internal prototype to avoid an error.
 8494:    Use char because int might match the return type of a GCC
 8495:    builtin and then its argument prototype would still apply.  */
 8496: #ifdef __cplusplus
 8497: extern "C"
 8498: #endif
 8499: char opendir ();
 8500: int
 8501: main ()
 8502: {
 8503: return opendir ();
 8504:   ;
 8505:   return 0;
 8506: }
 8507: _ACEOF
 8508: for ac_lib in '' dir; do
 8509:   if test -z "$ac_lib"; then
 8510:     ac_res="none required"
 8511:   else
 8512:     ac_res=-l$ac_lib
 8513:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8514:   fi
 8515:   if ac_fn_c_try_link "$LINENO"; then :
 8516:   ac_cv_search_opendir=$ac_res
 8517: fi
 8518: rm -f core conftest.err conftest.$ac_objext \
 8519:     conftest$ac_exeext
 8520:   if ${ac_cv_search_opendir+:} false; then :
 8521:   break
 8522: fi
 8523: done
 8524: if ${ac_cv_search_opendir+:} false; then :
 8525: 
 8526: else
 8527:   ac_cv_search_opendir=no
 8528: fi
 8529: rm conftest.$ac_ext
 8530: LIBS=$ac_func_search_save_LIBS
 8531: fi
 8532: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8533: $as_echo "$ac_cv_search_opendir" >&6; }
 8534: ac_res=$ac_cv_search_opendir
 8535: if test "$ac_res" != no; then :
 8536:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8537: 
 8538: fi
 8539: 
 8540: else
 8541:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8542: $as_echo_n "checking for library containing opendir... " >&6; }
 8543: if ${ac_cv_search_opendir+:} false; then :
 8544:   $as_echo_n "(cached) " >&6
 8545: else
 8546:   ac_func_search_save_LIBS=$LIBS
 8547: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8548: /* end confdefs.h.  */
 8549: 
 8550: /* Override any GCC internal prototype to avoid an error.
 8551:    Use char because int might match the return type of a GCC
 8552:    builtin and then its argument prototype would still apply.  */
 8553: #ifdef __cplusplus
 8554: extern "C"
 8555: #endif
 8556: char opendir ();
 8557: int
 8558: main ()
 8559: {
 8560: return opendir ();
 8561:   ;
 8562:   return 0;
 8563: }
 8564: _ACEOF
 8565: for ac_lib in '' x; do
 8566:   if test -z "$ac_lib"; then
 8567:     ac_res="none required"
 8568:   else
 8569:     ac_res=-l$ac_lib
 8570:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8571:   fi
 8572:   if ac_fn_c_try_link "$LINENO"; then :
 8573:   ac_cv_search_opendir=$ac_res
 8574: fi
 8575: rm -f core conftest.err conftest.$ac_objext \
 8576:     conftest$ac_exeext
 8577:   if ${ac_cv_search_opendir+:} false; then :
 8578:   break
 8579: fi
 8580: done
 8581: if ${ac_cv_search_opendir+:} false; then :
 8582: 
 8583: else
 8584:   ac_cv_search_opendir=no
 8585: fi
 8586: rm conftest.$ac_ext
 8587: LIBS=$ac_func_search_save_LIBS
 8588: fi
 8589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8590: $as_echo "$ac_cv_search_opendir" >&6; }
 8591: ac_res=$ac_cv_search_opendir
 8592: if test "$ac_res" != no; then :
 8593:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8594: 
 8595: fi
 8596: 
 8597: fi
 8598: 
 8599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8600: $as_echo_n "checking for ANSI C header files... " >&6; }
 8601: if ${ac_cv_header_stdc+:} false; then :
 8602:   $as_echo_n "(cached) " >&6
 8603: else
 8604:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8605: /* end confdefs.h.  */
 8606: #include <stdlib.h>
 8607: #include <stdarg.h>
 8608: #include <string.h>
 8609: #include <float.h>
 8610: 
 8611: int
 8612: main ()
 8613: {
 8614: 
 8615:   ;
 8616:   return 0;
 8617: }
 8618: _ACEOF
 8619: if ac_fn_c_try_compile "$LINENO"; then :
 8620:   ac_cv_header_stdc=yes
 8621: else
 8622:   ac_cv_header_stdc=no
 8623: fi
 8624: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8625: 
 8626: if test $ac_cv_header_stdc = yes; then
 8627:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8628:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8629: /* end confdefs.h.  */
 8630: #include <string.h>
 8631: 
 8632: _ACEOF
 8633: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8634:   $EGREP "memchr" >/dev/null 2>&1; then :
 8635: 
 8636: else
 8637:   ac_cv_header_stdc=no
 8638: fi
 8639: rm -f conftest*
 8640: 
 8641: fi
 8642: 
 8643: if test $ac_cv_header_stdc = yes; then
 8644:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8645:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8646: /* end confdefs.h.  */
 8647: #include <stdlib.h>
 8648: 
 8649: _ACEOF
 8650: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8651:   $EGREP "free" >/dev/null 2>&1; then :
 8652: 
 8653: else
 8654:   ac_cv_header_stdc=no
 8655: fi
 8656: rm -f conftest*
 8657: 
 8658: fi
 8659: 
 8660: if test $ac_cv_header_stdc = yes; then
 8661:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8662:   if test "$cross_compiling" = yes; then :
 8663:   :
 8664: else
 8665:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8666: /* end confdefs.h.  */
 8667: #include <ctype.h>
 8668: #include <stdlib.h>
 8669: #if ((' ' & 0x0FF) == 0x020)
 8670: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8671: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8672: #else
 8673: # define ISLOWER(c) \
 8674:            (('a' <= (c) && (c) <= 'i') \
 8675:              || ('j' <= (c) && (c) <= 'r') \
 8676:              || ('s' <= (c) && (c) <= 'z'))
 8677: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8678: #endif
 8679: 
 8680: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8681: int
 8682: main ()
 8683: {
 8684:   int i;
 8685:   for (i = 0; i < 256; i++)
 8686:     if (XOR (islower (i), ISLOWER (i))
 8687:     || toupper (i) != TOUPPER (i))
 8688:       return 2;
 8689:   return 0;
 8690: }
 8691: _ACEOF
 8692: if ac_fn_c_try_run "$LINENO"; then :
 8693: 
 8694: else
 8695:   ac_cv_header_stdc=no
 8696: fi
 8697: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8698:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8699: fi
 8700: 
 8701: fi
 8702: fi
 8703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8704: $as_echo "$ac_cv_header_stdc" >&6; }
 8705: if test $ac_cv_header_stdc = yes; then
 8706: 
 8707: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8708: 
 8709: fi
 8710: 
 8711: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8712: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8713: if ${ac_cv_header_sys_wait_h+:} false; then :
 8714:   $as_echo_n "(cached) " >&6
 8715: else
 8716:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8717: /* end confdefs.h.  */
 8718: #include <sys/types.h>
 8719: #include <sys/wait.h>
 8720: #ifndef WEXITSTATUS
 8721: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8722: #endif
 8723: #ifndef WIFEXITED
 8724: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8725: #endif
 8726: 
 8727: int
 8728: main ()
 8729: {
 8730:   int s;
 8731:   wait (&s);
 8732:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8733:   ;
 8734:   return 0;
 8735: }
 8736: _ACEOF
 8737: if ac_fn_c_try_compile "$LINENO"; then :
 8738:   ac_cv_header_sys_wait_h=yes
 8739: else
 8740:   ac_cv_header_sys_wait_h=no
 8741: fi
 8742: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8743: fi
 8744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8745: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8746: if test $ac_cv_header_sys_wait_h = yes; then
 8747: 
 8748: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8749: 
 8750: fi
 8751: 
 8752: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8753:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8754:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8755: do :
 8756:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8757: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8758: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 8759:   cat >>confdefs.h <<_ACEOF
 8760: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8761: _ACEOF
 8762: 
 8763: fi
 8764: 
 8765: done
 8766: 
 8767: 
 8768: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8769: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8770: if ${ac_cv_c_const+:} false; then :
 8771:   $as_echo_n "(cached) " >&6
 8772: else
 8773:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8774: /* end confdefs.h.  */
 8775: 
 8776: int
 8777: main ()
 8778: {
 8779: /* FIXME: Include the comments suggested by Paul. */
 8780: #ifndef __cplusplus
 8781:   /* Ultrix mips cc rejects this.  */
 8782:   typedef int charset[2];
 8783:   const charset cs;
 8784:   /* SunOS 4.1.1 cc rejects this.  */
 8785:   char const *const *pcpcc;
 8786:   char **ppc;
 8787:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8788:   struct point {int x, y;};
 8789:   static struct point const zero = {0,0};
 8790:   /* AIX XL C 1.02.0.0 rejects this.
 8791:      It does not let you subtract one const X* pointer from another in
 8792:      an arm of an if-expression whose if-part is not a constant
 8793:      expression */
 8794:   const char *g = "string";
 8795:   pcpcc = &g + (g ? g-g : 0);
 8796:   /* HPUX 7.0 cc rejects these. */
 8797:   ++pcpcc;
 8798:   ppc = (char**) pcpcc;
 8799:   pcpcc = (char const *const *) ppc;
 8800:   { /* SCO 3.2v4 cc rejects this.  */
 8801:     char *t;
 8802:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8803: 
 8804:     *t++ = 0;
 8805:     if (s) return 0;
 8806:   }
 8807:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8808:     int x[] = {25, 17};
 8809:     const int *foo = &x[0];
 8810:     ++foo;
 8811:   }
 8812:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 8813:     typedef const int *iptr;
 8814:     iptr p = 0;
 8815:     ++p;
 8816:   }
 8817:   { /* AIX XL C 1.02.0.0 rejects this saying
 8818:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 8819:     struct s { int j; const int *ap[3]; };
 8820:     struct s *b; b->j = 5;
 8821:   }
 8822:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 8823:     const int foo = 10;
 8824:     if (!foo) return 0;
 8825:   }
 8826:   return !cs[0] && !zero.x;
 8827: #endif
 8828: 
 8829:   ;
 8830:   return 0;
 8831: }
 8832: _ACEOF
 8833: if ac_fn_c_try_compile "$LINENO"; then :
 8834:   ac_cv_c_const=yes
 8835: else
 8836:   ac_cv_c_const=no
 8837: fi
 8838: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8839: fi
 8840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 8841: $as_echo "$ac_cv_c_const" >&6; }
 8842: if test $ac_cv_c_const = no; then
 8843: 
 8844: $as_echo "#define const /**/" >>confdefs.h
 8845: 
 8846: fi
 8847: 
 8848: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 8849: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 8850: if ${ac_cv_type_uid_t+:} false; then :
 8851:   $as_echo_n "(cached) " >&6
 8852: else
 8853:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8854: /* end confdefs.h.  */
 8855: #include <sys/types.h>
 8856: 
 8857: _ACEOF
 8858: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8859:   $EGREP "uid_t" >/dev/null 2>&1; then :
 8860:   ac_cv_type_uid_t=yes
 8861: else
 8862:   ac_cv_type_uid_t=no
 8863: fi
 8864: rm -f conftest*
 8865: 
 8866: fi
 8867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 8868: $as_echo "$ac_cv_type_uid_t" >&6; }
 8869: if test $ac_cv_type_uid_t = no; then
 8870: 
 8871: $as_echo "#define uid_t int" >>confdefs.h
 8872: 
 8873: 
 8874: $as_echo "#define gid_t int" >>confdefs.h
 8875: 
 8876: fi
 8877: 
 8878: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 8879: if test "x$ac_cv_type_pid_t" = xyes; then :
 8880: 
 8881: else
 8882: 
 8883: cat >>confdefs.h <<_ACEOF
 8884: #define pid_t int
 8885: _ACEOF
 8886: 
 8887: fi
 8888: 
 8889: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 8890: if test "x$ac_cv_type_size_t" = xyes; then :
 8891: 
 8892: else
 8893: 
 8894: cat >>confdefs.h <<_ACEOF
 8895: #define size_t unsigned int
 8896: _ACEOF
 8897: 
 8898: fi
 8899: 
 8900: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 8901: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 8902: if ${ac_cv_header_time+:} false; then :
 8903:   $as_echo_n "(cached) " >&6
 8904: else
 8905:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8906: /* end confdefs.h.  */
 8907: #include <sys/types.h>
 8908: #include <sys/time.h>
 8909: #include <time.h>
 8910: 
 8911: int
 8912: main ()
 8913: {
 8914: if ((struct tm *) 0)
 8915: return 0;
 8916:   ;
 8917:   return 0;
 8918: }
 8919: _ACEOF
 8920: if ac_fn_c_try_compile "$LINENO"; then :
 8921:   ac_cv_header_time=yes
 8922: else
 8923:   ac_cv_header_time=no
 8924: fi
 8925: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8926: fi
 8927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 8928: $as_echo "$ac_cv_header_time" >&6; }
 8929: if test $ac_cv_header_time = yes; then
 8930: 
 8931: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 8932: 
 8933: fi
 8934: 
 8935: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 8936: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 8937: if ${ac_cv_struct_tm+:} false; then :
 8938:   $as_echo_n "(cached) " >&6
 8939: else
 8940:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8941: /* end confdefs.h.  */
 8942: #include <sys/types.h>
 8943: #include <time.h>
 8944: 
 8945: int
 8946: main ()
 8947: {
 8948: struct tm tm;
 8949:                      int *p = &tm.tm_sec;
 8950:                      return !p;
 8951:   ;
 8952:   return 0;
 8953: }
 8954: _ACEOF
 8955: if ac_fn_c_try_compile "$LINENO"; then :
 8956:   ac_cv_struct_tm=time.h
 8957: else
 8958:   ac_cv_struct_tm=sys/time.h
 8959: fi
 8960: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8961: fi
 8962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 8963: $as_echo "$ac_cv_struct_tm" >&6; }
 8964: if test $ac_cv_struct_tm = sys/time.h; then
 8965: 
 8966: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 8967: 
 8968: fi
 8969: 
 8970: 
 8971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 8972: $as_echo_n "checking return type of signal handlers... " >&6; }
 8973: if ${ac_cv_type_signal+:} false; then :
 8974:   $as_echo_n "(cached) " >&6
 8975: else
 8976:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8977: /* end confdefs.h.  */
 8978: #include <sys/types.h>
 8979: #include <signal.h>
 8980: 
 8981: int
 8982: main ()
 8983: {
 8984: return *(signal (0, 0)) (0) == 1;
 8985:   ;
 8986:   return 0;
 8987: }
 8988: _ACEOF
 8989: if ac_fn_c_try_compile "$LINENO"; then :
 8990:   ac_cv_type_signal=int
 8991: else
 8992:   ac_cv_type_signal=void
 8993: fi
 8994: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8995: fi
 8996: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 8997: $as_echo "$ac_cv_type_signal" >&6; }
 8998: 
 8999: cat >>confdefs.h <<_ACEOF
 9000: #define RETSIGTYPE $ac_cv_type_signal
 9001: _ACEOF
 9002: 
 9003: 
 9004: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
 9005: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
 9006: if test "$cross_compiling" = yes; then :
 9007:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 9008: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 9009: as_fn_error $? "cannot run test program while cross compiling
 9010: See \`config.log' for more details" "$LINENO" 5; }
 9011: else
 9012:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9013: /* end confdefs.h.  */
 9014: #include <unistd.h>
 9015: #include <signal.h>
 9016: int flag;
 9017: void handler(int signal, siginfo_t *siginfo, void *context)
 9018: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
 9019: int
 9020: main ()
 9021: {
 9022: struct sigaction    action;
 9023: action.sa_sigaction = handler;
 9024: action.sa_flags = SA_SIGINFO;
 9025: sigaction(SIGUSR1, &action, NULL);
 9026: raise(SIGUSR1);
 9027: return(flag);
 9028:   ;
 9029:   return 0;
 9030: }
 9031: _ACEOF
 9032: if ac_fn_c_try_run "$LINENO"; then :
 9033:   BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 9034: $as_echo "no" >&6; }
 9035: else
 9036:   BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 9037: $as_echo "yes" >&6; }
 9038: fi
 9039: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 9040:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 9041: fi
 9042: 
 9043: 
 9044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 9045: $as_echo_n "checking for working strcoll... " >&6; }
 9046: if ${ac_cv_func_strcoll_works+:} false; then :
 9047:   $as_echo_n "(cached) " >&6
 9048: else
 9049:   if test "$cross_compiling" = yes; then :
 9050:   ac_cv_func_strcoll_works=no
 9051: else
 9052:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9053: /* end confdefs.h.  */
 9054: $ac_includes_default
 9055: int
 9056: main ()
 9057: {
 9058: return (strcoll ("abc", "def") >= 0 ||
 9059:      strcoll ("ABC", "DEF") >= 0 ||
 9060:      strcoll ("123", "456") >= 0)
 9061:   ;
 9062:   return 0;
 9063: }
 9064: _ACEOF
 9065: if ac_fn_c_try_run "$LINENO"; then :
 9066:   ac_cv_func_strcoll_works=yes
 9067: else
 9068:   ac_cv_func_strcoll_works=no
 9069: fi
 9070: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 9071:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 9072: fi
 9073: 
 9074: fi
 9075: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 9076: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 9077: if test $ac_cv_func_strcoll_works = yes; then
 9078: 
 9079: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 9080: 
 9081: fi
 9082: 
 9083: for ac_func in strftime
 9084: do :
 9085:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 9086: if test "x$ac_cv_func_strftime" = xyes; then :
 9087:   cat >>confdefs.h <<_ACEOF
 9088: #define HAVE_STRFTIME 1
 9089: _ACEOF
 9090: 
 9091: else
 9092:   # strftime is in -lintl on SCO UNIX.
 9093: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 9094: $as_echo_n "checking for strftime in -lintl... " >&6; }
 9095: if ${ac_cv_lib_intl_strftime+:} false; then :
 9096:   $as_echo_n "(cached) " >&6
 9097: else
 9098:   ac_check_lib_save_LIBS=$LIBS
 9099: LIBS="-lintl  $LIBS"
 9100: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9101: /* end confdefs.h.  */
 9102: 
 9103: /* Override any GCC internal prototype to avoid an error.
 9104:    Use char because int might match the return type of a GCC
 9105:    builtin and then its argument prototype would still apply.  */
 9106: #ifdef __cplusplus
 9107: extern "C"
 9108: #endif
 9109: char strftime ();
 9110: int
 9111: main ()
 9112: {
 9113: return strftime ();
 9114:   ;
 9115:   return 0;
 9116: }
 9117: _ACEOF
 9118: if ac_fn_c_try_link "$LINENO"; then :
 9119:   ac_cv_lib_intl_strftime=yes
 9120: else
 9121:   ac_cv_lib_intl_strftime=no
 9122: fi
 9123: rm -f core conftest.err conftest.$ac_objext \
 9124:     conftest$ac_exeext conftest.$ac_ext
 9125: LIBS=$ac_check_lib_save_LIBS
 9126: fi
 9127: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 9128: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 9129: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
 9130:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 9131: 
 9132: LIBS="-lintl $LIBS"
 9133: fi
 9134: 
 9135: fi
 9136: done
 9137: 
 9138: for ac_func in vprintf
 9139: do :
 9140:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 9141: if test "x$ac_cv_func_vprintf" = xyes; then :
 9142:   cat >>confdefs.h <<_ACEOF
 9143: #define HAVE_VPRINTF 1
 9144: _ACEOF
 9145: 
 9146: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 9147: if test "x$ac_cv_func__doprnt" = xyes; then :
 9148: 
 9149: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 9150: 
 9151: fi
 9152: 
 9153: fi
 9154: done
 9155: 
 9156: 
 9157: for ac_func in ftime getcwd putenv select strcspn strdup \
 9158:         strerror strspn strstr strtod
 9159: do :
 9160:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 9161: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 9162: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 9163:   cat >>confdefs.h <<_ACEOF
 9164: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 9165: _ACEOF
 9166: 
 9167: fi
 9168: done
 9169: 
 9170: 
 9171: 
 9172: # Check whether --with-openssl_arch was given.
 9173: if test "${with_openssl_arch+set}" = set; then :
 9174:   withval=$with_openssl_arch;
 9175: else
 9176:   with_openssl_arch=none
 9177: fi
 9178: 
 9179: 
 9180: if test $(uname) = "OS/2"; then
 9181:     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 9182: else
 9183:     if test "x$with_openssl_arch" = xnone; then
 9184:         (cd tools/$OPENSSL && ./config no-asm)
 9185:     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
 9186:         (cd tools/$OPENSSL && ./Configure)
 9187:         as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
 9188:     elif test "x$with_openssl_arch" = xlist; then
 9189:         (cd tools/$OPENSSL && ./Configure)
 9190:         as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
 9191:     else
 9192:         (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
 9193:     fi
 9194: fi
 9195: 
 9196: 
 9197: 
 9198: subdirs="$subdirs tools/$NCURSES"
 9199: 
 9200: subdirs="$subdirs tools/$READLINE"
 9201: 
 9202: subdirs="$subdirs tools/$GSL"
 9203: 
 9204: subdirs="$subdirs tools/$GPP"
 9205: 
 9206: subdirs="$subdirs tools/$FILE"
 9207: 
 9208: subdirs="$subdirs tools/$ICONV"
 9209: 
 9210: subdirs="$subdirs tools/$SQLITE"
 9211: 
 9212: subdirs="$subdirs tools/$UNITS"
 9213: 
 9214: 
 9215: if test "$MYGNUPLOT" = "yes"; then
 9216:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 9217:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 9218:                 (cd "$srcdir/tools" && tar -xf -)
 9219:     fi
 9220:     subdirs="$subdirs tools/$GNUPLOT"
 9221: 
 9222:     GNUPLOT_COMPILATION=$GNUPLOT
 9223: else
 9224:     GNUPLOT_COMPILATION=
 9225: fi
 9226: 
 9227: 
 9228: 
 9229: case $host_cpu in
 9230: 
 9231:     i?86)
 9232:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9233:             -Wno-pointer-sign"
 9234:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9235:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9236:     break ;;
 9237: 
 9238:     x86_64*)
 9239:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9240:             -Wno-pointer-sign"
 9241:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9242:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9243:     break ;;
 9244: 
 9245:     alpha*)
 9246:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
 9247:             -Wno-pointer-sign"
 9248:     FFLAGS="$FFLAGS -mieee -Wall"
 9249:     FCFLAGS="$FCFLAGS -mieee -Wall"
 9250:     break ;;
 9251: 
 9252:     sparc*)
 9253:     CFLAGS="$CFLAGS -Wall -funsigned-char \
 9254:             -Wno-pointer-sign"
 9255:     FFLAGS="$FFLAGS -Wall"
 9256:     FCFLAGS="$FCFLAGS -Wall"
 9257:     break ;;
 9258: 
 9259: esac
 9260: 
 9261: case $host_os in
 9262: 
 9263:     cygwin*)
 9264:         OS=Cygwin
 9265:     break ;;
 9266: 
 9267:     interix*)
 9268:         OS=Interix
 9269:     break ;;
 9270: 
 9271:     *)
 9272:         OS=$(uname)
 9273:     break ;;
 9274: 
 9275: esac
 9276: 
 9277: 
 9278: 
 9279: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9280: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9281: MALLOC=
 9282: 
 9283: case $OS in
 9284: 
 9285:     Darwin)
 9286:         EXPORT_DYNAMIC=-Wl,-flat_namespace
 9287:         NESTED_FUNCTIONS=-fnested-functions
 9288:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9289:         IPCS_SYSV=-UIPCS_SYSV
 9290:         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
 9291:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9292:                 --disable-shared --enable-static --enable-threads"
 9293:         C_STANDARD=-std=gnu99
 9294:     break ;;
 9295: 
 9296:     Cygwin)
 9297:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9298:         NESTED_FUNCTIONS=
 9299:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9300:         IPCS_SYSV=-UIPCS_SYSV
 9301:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9302:                 --disable-shared --enable-static --enable-threads"
 9303:         C_STANDARD=-std=gnu99
 9304:     break ;;
 9305: 
 9306:     Interix)
 9307:         EXPORT_DYNAMIC=-Wl,--export-all-symbols
 9308:         NESTED_FUNCTIONS=
 9309:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9310:         IPCS_SYSV=-UIPCS_SYSV
 9311:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9312:                 --disable-shared --enable-static --enable-threads"
 9313:         C_STANDARD=-std=gnu99
 9314:     break;;
 9315: 
 9316:     AIX)
 9317:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9318:         NESTED_FUNCTIONS=
 9319:         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
 9320:         IPCS_SYSV=-UIPCS_SYSV
 9321:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9322:                 --disable-shared --enable-static --enable-threads"
 9323:         C_STANDARD=-std=gnu99
 9324:     break ;;
 9325: 
 9326:     OS/2)
 9327:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9328:             FINAL_ENCODING=CP850; \
 9329:         fi;
 9330:         OS=OS2
 9331:         NESTED_FUNCTIONS=
 9332:         EXPORT_DYNAMIC=-Zmap
 9333:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9334:         IPCS_SYSV=-DIPCS_SYSV
 9335:         ac_configure_args="$ac_configure_args --without-readline \
 9336:                 --without-cairo --disable-shared --enable-static \
 9337:                 --enable-threads"
 9338:         C_STANDARD=
 9339:     break;;
 9340: 
 9341:     OpenBSD)
 9342:         if test $FORCED_FINAL_ENCODING -eq 0; then \
 9343:             FINAL_ENCODING=UTF-8; \
 9344:         fi;
 9345:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9346:         NESTED_FUNCTIONS=
 9347:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9348:         IPCS_SYSV=-DIPCS_SYSV
 9349:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9350:                 --disable-shared --enable-static --enable-threads"
 9351:         C_STANDARD=-std=gnu99
 9352:     break;;
 9353: 
 9354:     SunOS)
 9355:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9356:         NESTED_FUNCTIONS=
 9357:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9358: 
 9359:         if test $IPCS_SYSV = no; then
 9360:             IPCS_SYSV=-UIPCS_SYSV
 9361:         else
 9362:             IPCS_SYSV=-DIPCS_SYSV
 9363:         fi
 9364: 
 9365:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9366:                 --disable-shared --enable-static --enable-threads"
 9367:         C_STANDARD=-std=gnu99
 9368:         MALLOC=-lumem
 9369:     break ;;
 9370: 
 9371:     *)
 9372:         EXPORT_DYNAMIC=-Wl,--export-dynamic
 9373:         NESTED_FUNCTIONS=
 9374:         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
 9375: 
 9376:         if test $IPCS_SYSV = no; then
 9377:             IPCS_SYSV=-UIPCS_SYSV
 9378:         else
 9379:             IPCS_SYSV=-DIPCS_SYSV
 9380:         fi
 9381: 
 9382:         ac_configure_args="$ac_configure_args --with-readline=builtin \
 9383:                 --disable-shared --enable-static --enable-threads"
 9384:         C_STANDARD=-std=gnu99
 9385:     break ;;
 9386: 
 9387: esac
 9388: 
 9389: 
 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: ac_config_files="$ac_config_files Makefile"
 9427: 
 9428: ac_config_files="$ac_config_files COPYING"
 9429: 
 9430: ac_config_files="$ac_config_files tools/Makefile"
 9431: 
 9432: ac_config_files="$ac_config_files src/Makefile"
 9433: 
 9434: ac_config_files="$ac_config_files man/Makefile"
 9435: 
 9436: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9437: 
 9438: ac_config_files="$ac_config_files doc/Makefile"
 9439: 
 9440: ac_config_files="$ac_config_files scripts/Makefile"
 9441: 
 9442: ac_config_files="$ac_config_files scripts/mkrplso"
 9443: 
 9444: ac_config_files="$ac_config_files scripts/rplcc"
 9445: 
 9446: ac_config_files="$ac_config_files scripts/rpllink"
 9447: 
 9448: ac_config_files="$ac_config_files rpltags/Makefile"
 9449: 
 9450: ac_config_files="$ac_config_files rpliconv/Makefile"
 9451: 
 9452: ac_config_files="$ac_config_files rplsums/Makefile"
 9453: 
 9454: ac_config_files="$ac_config_files rplcas/Makefile"
 9455: 
 9456: ac_config_files="$ac_config_files rplawk/Makefile"
 9457: 
 9458: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9459: 
 9460: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9461: 
 9462: 
 9463: ac_config_files="$ac_config_files man/rpl.1"
 9464: 
 9465: ac_config_files="$ac_config_files man/rplcc.1"
 9466: 
 9467: ac_config_files="$ac_config_files man/rpllink.1"
 9468: 
 9469: ac_config_files="$ac_config_files man/rpltags.1"
 9470: 
 9471: ac_config_files="$ac_config_files man/mkrplso.1"
 9472: 
 9473: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9474: 
 9475: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9476: 
 9477: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9478: 
 9479: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9480: 
 9481: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9482: 
 9483: 
 9484: cat >confcache <<\_ACEOF
 9485: # This file is a shell script that caches the results of configure
 9486: # tests run on this system so they can be shared between configure
 9487: # scripts and configure runs, see configure's option --config-cache.
 9488: # It is not useful on other systems.  If it contains results you don't
 9489: # want to keep, you may remove or edit it.
 9490: #
 9491: # config.status only pays attention to the cache file if you give it
 9492: # the --recheck option to rerun configure.
 9493: #
 9494: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9495: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9496: # following values.
 9497: 
 9498: _ACEOF
 9499: 
 9500: # The following way of writing the cache mishandles newlines in values,
 9501: # but we know of no workaround that is simple, portable, and efficient.
 9502: # So, we kill variables containing newlines.
 9503: # Ultrix sh set writes to stderr and can't be redirected directly,
 9504: # and sets the high bit in the cache file unless we assign to the vars.
 9505: (
 9506:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9507:     eval ac_val=\$$ac_var
 9508:     case $ac_val in #(
 9509:     *${as_nl}*)
 9510:       case $ac_var in #(
 9511:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9512: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9513:       esac
 9514:       case $ac_var in #(
 9515:       _ | IFS | as_nl) ;; #(
 9516:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9517:       *) { eval $ac_var=; unset $ac_var;} ;;
 9518:       esac ;;
 9519:     esac
 9520:   done
 9521: 
 9522:   (set) 2>&1 |
 9523:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9524:     *${as_nl}ac_space=\ *)
 9525:       # `set' does not quote correctly, so add quotes: double-quote
 9526:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9527:       sed -n \
 9528:     "s/'/'\\\\''/g;
 9529:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9530:       ;; #(
 9531:     *)
 9532:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9533:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9534:       ;;
 9535:     esac |
 9536:     sort
 9537: ) |
 9538:   sed '
 9539:      /^ac_cv_env_/b end
 9540:      t clear
 9541:      :clear
 9542:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9543:      t end
 9544:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9545:      :end' >>confcache
 9546: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9547:   if test -w "$cache_file"; then
 9548:     if test "x$cache_file" != "x/dev/null"; then
 9549:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9550: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9551:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 9552:     cat confcache >"$cache_file"
 9553:       else
 9554:         case $cache_file in #(
 9555:         */* | ?:*)
 9556:       mv -f confcache "$cache_file"$$ &&
 9557:       mv -f "$cache_file"$$ "$cache_file" ;; #(
 9558:         *)
 9559:       mv -f confcache "$cache_file" ;;
 9560:     esac
 9561:       fi
 9562:     fi
 9563:   else
 9564:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9565: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9566:   fi
 9567: fi
 9568: rm -f confcache
 9569: 
 9570: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9571: # Let make expand exec_prefix.
 9572: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9573: 
 9574: DEFS=-DHAVE_CONFIG_H
 9575: 
 9576: ac_libobjs=
 9577: ac_ltlibobjs=
 9578: U=
 9579: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9580:   # 1. Remove the extension, and $U if already installed.
 9581:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9582:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9583:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9584:   #    will be set to the directory where LIBOBJS objects are built.
 9585:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9586:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9587: done
 9588: LIBOBJS=$ac_libobjs
 9589: 
 9590: LTLIBOBJS=$ac_ltlibobjs
 9591: 
 9592: 
 9593:  if test -n "$EXEEXT"; then
 9594:   am__EXEEXT_TRUE=
 9595:   am__EXEEXT_FALSE='#'
 9596: else
 9597:   am__EXEEXT_TRUE='#'
 9598:   am__EXEEXT_FALSE=
 9599: fi
 9600: 
 9601: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9602:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 9603: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9604: fi
 9605: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9606:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 9607: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9608: fi
 9609: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9610:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 9611: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9612: fi
 9613: 
 9614: : "${CONFIG_STATUS=./config.status}"
 9615: ac_write_fail=0
 9616: ac_clean_files_save=$ac_clean_files
 9617: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9618: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9619: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9620: as_write_fail=0
 9621: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9622: #! $SHELL
 9623: # Generated by $as_me.
 9624: # Run this file to recreate the current configuration.
 9625: # Compiler output produced by configure, useful for debugging
 9626: # configure, is in config.log if it exists.
 9627: 
 9628: debug=false
 9629: ac_cs_recheck=false
 9630: ac_cs_silent=false
 9631: 
 9632: SHELL=\${CONFIG_SHELL-$SHELL}
 9633: export SHELL
 9634: _ASEOF
 9635: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9636: ## -------------------- ##
 9637: ## M4sh Initialization. ##
 9638: ## -------------------- ##
 9639: 
 9640: # Be more Bourne compatible
 9641: DUALCASE=1; export DUALCASE # for MKS sh
 9642: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9643:   emulate sh
 9644:   NULLCMD=:
 9645:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9646:   # is contrary to our usage.  Disable this feature.
 9647:   alias -g '${1+"$@"}'='"$@"'
 9648:   setopt NO_GLOB_SUBST
 9649: else
 9650:   case `(set -o) 2>/dev/null` in #(
 9651:   *posix*) :
 9652:     set -o posix ;; #(
 9653:   *) :
 9654:      ;;
 9655: esac
 9656: fi
 9657: 
 9658: 
 9659: as_nl='
 9660: '
 9661: export as_nl
 9662: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9663: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9664: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9665: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9666: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9667: # but without wasting forks for bash or zsh.
 9668: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9669:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9670:   as_echo='print -r --'
 9671:   as_echo_n='print -rn --'
 9672: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9673:   as_echo='printf %s\n'
 9674:   as_echo_n='printf %s'
 9675: else
 9676:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9677:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9678:     as_echo_n='/usr/ucb/echo -n'
 9679:   else
 9680:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9681:     as_echo_n_body='eval
 9682:       arg=$1;
 9683:       case $arg in #(
 9684:       *"$as_nl"*)
 9685:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9686:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9687:       esac;
 9688:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9689:     '
 9690:     export as_echo_n_body
 9691:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9692:   fi
 9693:   export as_echo_body
 9694:   as_echo='sh -c $as_echo_body as_echo'
 9695: fi
 9696: 
 9697: # The user is always right.
 9698: if test "${PATH_SEPARATOR+set}" != set; then
 9699:   PATH_SEPARATOR=:
 9700:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9701:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9702:       PATH_SEPARATOR=';'
 9703:   }
 9704: fi
 9705: 
 9706: 
 9707: # IFS
 9708: # We need space, tab and new line, in precisely that order.  Quoting is
 9709: # there to prevent editors from complaining about space-tab.
 9710: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9711: # splitting by setting IFS to empty value.)
 9712: IFS=" ""    $as_nl"
 9713: 
 9714: # Find who we are.  Look in the path if we contain no directory separator.
 9715: as_myself=
 9716: case $0 in #((
 9717:   *[\\/]* ) as_myself=$0 ;;
 9718:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9719: for as_dir in $PATH
 9720: do
 9721:   IFS=$as_save_IFS
 9722:   test -z "$as_dir" && as_dir=.
 9723:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9724:   done
 9725: IFS=$as_save_IFS
 9726: 
 9727:      ;;
 9728: esac
 9729: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9730: # in which case we are not to be found in the path.
 9731: if test "x$as_myself" = x; then
 9732:   as_myself=$0
 9733: fi
 9734: if test ! -f "$as_myself"; then
 9735:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9736:   exit 1
 9737: fi
 9738: 
 9739: # Unset variables that we do not need and which cause bugs (e.g. in
 9740: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9741: # suppresses any "Segmentation fault" message there.  '((' could
 9742: # trigger a bug in pdksh 5.2.14.
 9743: for as_var in BASH_ENV ENV MAIL MAILPATH
 9744: do eval test x\${$as_var+set} = xset \
 9745:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9746: done
 9747: PS1='$ '
 9748: PS2='> '
 9749: PS4='+ '
 9750: 
 9751: # NLS nuisances.
 9752: LC_ALL=C
 9753: export LC_ALL
 9754: LANGUAGE=C
 9755: export LANGUAGE
 9756: 
 9757: # CDPATH.
 9758: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9759: 
 9760: 
 9761: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 9762: # ----------------------------------------
 9763: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9764: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9765: # script with STATUS, using 1 if that was 0.
 9766: as_fn_error ()
 9767: {
 9768:   as_status=$1; test $as_status -eq 0 && as_status=1
 9769:   if test "$4"; then
 9770:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 9771:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 9772:   fi
 9773:   $as_echo "$as_me: error: $2" >&2
 9774:   as_fn_exit $as_status
 9775: } # as_fn_error
 9776: 
 9777: 
 9778: # as_fn_set_status STATUS
 9779: # -----------------------
 9780: # Set $? to STATUS, without forking.
 9781: as_fn_set_status ()
 9782: {
 9783:   return $1
 9784: } # as_fn_set_status
 9785: 
 9786: # as_fn_exit STATUS
 9787: # -----------------
 9788: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 9789: as_fn_exit ()
 9790: {
 9791:   set +e
 9792:   as_fn_set_status $1
 9793:   exit $1
 9794: } # as_fn_exit
 9795: 
 9796: # as_fn_unset VAR
 9797: # ---------------
 9798: # Portably unset VAR.
 9799: as_fn_unset ()
 9800: {
 9801:   { eval $1=; unset $1;}
 9802: }
 9803: as_unset=as_fn_unset
 9804: # as_fn_append VAR VALUE
 9805: # ----------------------
 9806: # Append the text in VALUE to the end of the definition contained in VAR. Take
 9807: # advantage of any shell optimizations that allow amortized linear growth over
 9808: # repeated appends, instead of the typical quadratic growth present in naive
 9809: # implementations.
 9810: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 9811:   eval 'as_fn_append ()
 9812:   {
 9813:     eval $1+=\$2
 9814:   }'
 9815: else
 9816:   as_fn_append ()
 9817:   {
 9818:     eval $1=\$$1\$2
 9819:   }
 9820: fi # as_fn_append
 9821: 
 9822: # as_fn_arith ARG...
 9823: # ------------------
 9824: # Perform arithmetic evaluation on the ARGs, and store the result in the
 9825: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 9826: # must be portable across $(()) and expr.
 9827: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 9828:   eval 'as_fn_arith ()
 9829:   {
 9830:     as_val=$(( $* ))
 9831:   }'
 9832: else
 9833:   as_fn_arith ()
 9834:   {
 9835:     as_val=`expr "$@" || test $? -eq 1`
 9836:   }
 9837: fi # as_fn_arith
 9838: 
 9839: 
 9840: if expr a : '\(a\)' >/dev/null 2>&1 &&
 9841:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 9842:   as_expr=expr
 9843: else
 9844:   as_expr=false
 9845: fi
 9846: 
 9847: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 9848:   as_basename=basename
 9849: else
 9850:   as_basename=false
 9851: fi
 9852: 
 9853: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 9854:   as_dirname=dirname
 9855: else
 9856:   as_dirname=false
 9857: fi
 9858: 
 9859: as_me=`$as_basename -- "$0" ||
 9860: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 9861:      X"$0" : 'X\(//\)$' \| \
 9862:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 9863: $as_echo X/"$0" |
 9864:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 9865:         s//\1/
 9866:         q
 9867:       }
 9868:       /^X\/\(\/\/\)$/{
 9869:         s//\1/
 9870:         q
 9871:       }
 9872:       /^X\/\(\/\).*/{
 9873:         s//\1/
 9874:         q
 9875:       }
 9876:       s/.*/./; q'`
 9877: 
 9878: # Avoid depending upon Character Ranges.
 9879: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 9880: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 9881: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 9882: as_cr_digits='0123456789'
 9883: as_cr_alnum=$as_cr_Letters$as_cr_digits
 9884: 
 9885: ECHO_C= ECHO_N= ECHO_T=
 9886: case `echo -n x` in #(((((
 9887: -n*)
 9888:   case `echo 'xy\c'` in
 9889:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 9890:   xy)  ECHO_C='\c';;
 9891:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 9892:        ECHO_T=' ';;
 9893:   esac;;
 9894: *)
 9895:   ECHO_N='-n';;
 9896: esac
 9897: 
 9898: rm -f conf$$ conf$$.exe conf$$.file
 9899: if test -d conf$$.dir; then
 9900:   rm -f conf$$.dir/conf$$.file
 9901: else
 9902:   rm -f conf$$.dir
 9903:   mkdir conf$$.dir 2>/dev/null
 9904: fi
 9905: if (echo >conf$$.file) 2>/dev/null; then
 9906:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 9907:     as_ln_s='ln -s'
 9908:     # ... but there are two gotchas:
 9909:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 9910:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 9911:     # In both cases, we have to default to `cp -p'.
 9912:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 9913:       as_ln_s='cp -p'
 9914:   elif ln conf$$.file conf$$ 2>/dev/null; then
 9915:     as_ln_s=ln
 9916:   else
 9917:     as_ln_s='cp -p'
 9918:   fi
 9919: else
 9920:   as_ln_s='cp -p'
 9921: fi
 9922: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 9923: rmdir conf$$.dir 2>/dev/null
 9924: 
 9925: 
 9926: # as_fn_mkdir_p
 9927: # -------------
 9928: # Create "$as_dir" as a directory, including parents if necessary.
 9929: as_fn_mkdir_p ()
 9930: {
 9931: 
 9932:   case $as_dir in #(
 9933:   -*) as_dir=./$as_dir;;
 9934:   esac
 9935:   test -d "$as_dir" || eval $as_mkdir_p || {
 9936:     as_dirs=
 9937:     while :; do
 9938:       case $as_dir in #(
 9939:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 9940:       *) as_qdir=$as_dir;;
 9941:       esac
 9942:       as_dirs="'$as_qdir' $as_dirs"
 9943:       as_dir=`$as_dirname -- "$as_dir" ||
 9944: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 9945:      X"$as_dir" : 'X\(//\)[^/]' \| \
 9946:      X"$as_dir" : 'X\(//\)$' \| \
 9947:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 9948: $as_echo X"$as_dir" |
 9949:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 9950:         s//\1/
 9951:         q
 9952:       }
 9953:       /^X\(\/\/\)[^/].*/{
 9954:         s//\1/
 9955:         q
 9956:       }
 9957:       /^X\(\/\/\)$/{
 9958:         s//\1/
 9959:         q
 9960:       }
 9961:       /^X\(\/\).*/{
 9962:         s//\1/
 9963:         q
 9964:       }
 9965:       s/.*/./; q'`
 9966:       test -d "$as_dir" && break
 9967:     done
 9968:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 9969:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 9970: 
 9971: 
 9972: } # as_fn_mkdir_p
 9973: if mkdir -p . 2>/dev/null; then
 9974:   as_mkdir_p='mkdir -p "$as_dir"'
 9975: else
 9976:   test -d ./-p && rmdir ./-p
 9977:   as_mkdir_p=false
 9978: fi
 9979: 
 9980: if test -x / >/dev/null 2>&1; then
 9981:   as_test_x='test -x'
 9982: else
 9983:   if ls -dL / >/dev/null 2>&1; then
 9984:     as_ls_L_option=L
 9985:   else
 9986:     as_ls_L_option=
 9987:   fi
 9988:   as_test_x='
 9989:     eval sh -c '\''
 9990:       if test -d "$1"; then
 9991:     test -d "$1/.";
 9992:       else
 9993:     case $1 in #(
 9994:     -*)set "./$1";;
 9995:     esac;
 9996:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 9997:     ???[sx]*):;;*)false;;esac;fi
 9998:     '\'' sh
 9999:   '
10000: fi
10001: as_executable_p=$as_test_x
10002: 
10003: # Sed expression to map a string onto a valid CPP name.
10004: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10005: 
10006: # Sed expression to map a string onto a valid variable name.
10007: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10008: 
10009: 
10010: exec 6>&1
10011: ## ----------------------------------- ##
10012: ## Main body of $CONFIG_STATUS script. ##
10013: ## ----------------------------------- ##
10014: _ASEOF
10015: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10016: 
10017: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10018: # Save the log message, to keep $0 and so on meaningful, and to
10019: # report actual input values of CONFIG_FILES etc. instead of their
10020: # values after options handling.
10021: ac_log="
10022: This file was extended by rpl $as_me 4.1.1, which was
10023: generated by GNU Autoconf 2.68.  Invocation command line was
10024: 
10025:   CONFIG_FILES    = $CONFIG_FILES
10026:   CONFIG_HEADERS  = $CONFIG_HEADERS
10027:   CONFIG_LINKS    = $CONFIG_LINKS
10028:   CONFIG_COMMANDS = $CONFIG_COMMANDS
10029:   $ $0 $@
10030: 
10031: on `(hostname || uname -n) 2>/dev/null | sed 1q`
10032: "
10033: 
10034: _ACEOF
10035: 
10036: case $ac_config_files in *"
10037: "*) set x $ac_config_files; shift; ac_config_files=$*;;
10038: esac
10039: 
10040: case $ac_config_headers in *"
10041: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10042: esac
10043: 
10044: 
10045: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10046: # Files that config.status was made for.
10047: config_files="$ac_config_files"
10048: config_headers="$ac_config_headers"
10049: config_commands="$ac_config_commands"
10050: 
10051: _ACEOF
10052: 
10053: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10054: ac_cs_usage="\
10055: \`$as_me' instantiates files and other configuration actions
10056: from templates according to the current configuration.  Unless the files
10057: and actions are specified as TAGs, all are instantiated by default.
10058: 
10059: Usage: $0 [OPTION]... [TAG]...
10060: 
10061:   -h, --help       print this help, then exit
10062:   -V, --version    print version number and configuration settings, then exit
10063:       --config     print configuration, then exit
10064:   -q, --quiet, --silent
10065:                    do not print progress messages
10066:   -d, --debug      don't remove temporary files
10067:       --recheck    update $as_me by reconfiguring in the same conditions
10068:       --file=FILE[:TEMPLATE]
10069:                    instantiate the configuration file FILE
10070:       --header=FILE[:TEMPLATE]
10071:                    instantiate the configuration header FILE
10072: 
10073: Configuration files:
10074: $config_files
10075: 
10076: Configuration headers:
10077: $config_headers
10078: 
10079: Configuration commands:
10080: $config_commands
10081: 
10082: Report bugs to the package provider."
10083: 
10084: _ACEOF
10085: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10086: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10087: ac_cs_version="\\
10088: rpl config.status 4.1.1
10089: configured by $0, generated by GNU Autoconf 2.68,
10090:   with options \\"\$ac_cs_config\\"
10091: 
10092: Copyright (C) 2010 Free Software Foundation, Inc.
10093: This config.status script is free software; the Free Software Foundation
10094: gives unlimited permission to copy, distribute and modify it."
10095: 
10096: ac_pwd='$ac_pwd'
10097: srcdir='$srcdir'
10098: INSTALL='$INSTALL'
10099: MKDIR_P='$MKDIR_P'
10100: AWK='$AWK'
10101: test -n "\$AWK" || AWK=awk
10102: _ACEOF
10103: 
10104: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10105: # The default lists apply if the user does not specify any file.
10106: ac_need_defaults=:
10107: while test $# != 0
10108: do
10109:   case $1 in
10110:   --*=?*)
10111:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10112:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10113:     ac_shift=:
10114:     ;;
10115:   --*=)
10116:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
10117:     ac_optarg=
10118:     ac_shift=:
10119:     ;;
10120:   *)
10121:     ac_option=$1
10122:     ac_optarg=$2
10123:     ac_shift=shift
10124:     ;;
10125:   esac
10126: 
10127:   case $ac_option in
10128:   # Handling of the options.
10129:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10130:     ac_cs_recheck=: ;;
10131:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10132:     $as_echo "$ac_cs_version"; exit ;;
10133:   --config | --confi | --conf | --con | --co | --c )
10134:     $as_echo "$ac_cs_config"; exit ;;
10135:   --debug | --debu | --deb | --de | --d | -d )
10136:     debug=: ;;
10137:   --file | --fil | --fi | --f )
10138:     $ac_shift
10139:     case $ac_optarg in
10140:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10141:     '') as_fn_error $? "missing file argument" ;;
10142:     esac
10143:     as_fn_append CONFIG_FILES " '$ac_optarg'"
10144:     ac_need_defaults=false;;
10145:   --header | --heade | --head | --hea )
10146:     $ac_shift
10147:     case $ac_optarg in
10148:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10149:     esac
10150:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10151:     ac_need_defaults=false;;
10152:   --he | --h)
10153:     # Conflict between --help and --header
10154:     as_fn_error $? "ambiguous option: \`$1'
10155: Try \`$0 --help' for more information.";;
10156:   --help | --hel | -h )
10157:     $as_echo "$ac_cs_usage"; exit ;;
10158:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10159:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
10160:     ac_cs_silent=: ;;
10161: 
10162:   # This is an error.
10163:   -*) as_fn_error $? "unrecognized option: \`$1'
10164: Try \`$0 --help' for more information." ;;
10165: 
10166:   *) as_fn_append ac_config_targets " $1"
10167:      ac_need_defaults=false ;;
10168: 
10169:   esac
10170:   shift
10171: done
10172: 
10173: ac_configure_extra_args=
10174: 
10175: if $ac_cs_silent; then
10176:   exec 6>/dev/null
10177:   ac_configure_extra_args="$ac_configure_extra_args --silent"
10178: fi
10179: 
10180: _ACEOF
10181: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10182: if \$ac_cs_recheck; then
10183:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10184:   shift
10185:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10186:   CONFIG_SHELL='$SHELL'
10187:   export CONFIG_SHELL
10188:   exec "\$@"
10189: fi
10190: 
10191: _ACEOF
10192: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10193: exec 5>>config.log
10194: {
10195:   echo
10196:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10197: ## Running $as_me. ##
10198: _ASBOX
10199:   $as_echo "$ac_log"
10200: } >&5
10201: 
10202: _ACEOF
10203: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10204: #
10205: # INIT-COMMANDS
10206: #
10207: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10208: 
10209: _ACEOF
10210: 
10211: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10212: 
10213: # Handling of arguments.
10214: for ac_config_target in $ac_config_targets
10215: do
10216:   case $ac_config_target in
10217:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
10218:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10219:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10220:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
10221:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
10222:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10223:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10224:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
10225:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10226:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
10227:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
10228:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
10229:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
10230:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
10231:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
10232:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
10233:     "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
10234:     "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
10235:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
10236:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
10237:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
10238:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
10239:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
10240:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
10241:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
10242:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
10243:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
10244:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
10245:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
10246:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
10247: 
10248:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10249:   esac
10250: done
10251: 
10252: 
10253: # If the user did not use the arguments to specify the items to instantiate,
10254: # then the envvar interface is used.  Set only those that are not.
10255: # We use the long form for the default assignment because of an extremely
10256: # bizarre bug on SunOS 4.1.3.
10257: if $ac_need_defaults; then
10258:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10259:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10260:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10261: fi
10262: 
10263: # Have a temporary directory for convenience.  Make it in the build tree
10264: # simply because there is no reason against having it here, and in addition,
10265: # creating and moving files from /tmp can sometimes cause problems.
10266: # Hook for its removal unless debugging.
10267: # Note that there is a small window in which the directory will not be cleaned:
10268: # after its creation but before its name has been assigned to `$tmp'.
10269: $debug ||
10270: {
10271:   tmp= ac_tmp=
10272:   trap 'exit_status=$?
10273:   : "${ac_tmp:=$tmp}"
10274:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10275: ' 0
10276:   trap 'as_fn_exit 1' 1 2 13 15
10277: }
10278: # Create a (secure) tmp directory for tmp files.
10279: 
10280: {
10281:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10282:   test -d "$tmp"
10283: }  ||
10284: {
10285:   tmp=./conf$$-$RANDOM
10286:   (umask 077 && mkdir "$tmp")
10287: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10288: ac_tmp=$tmp
10289: 
10290: # Set up the scripts for CONFIG_FILES section.
10291: # No need to generate them if there are no CONFIG_FILES.
10292: # This happens for instance with `./config.status config.h'.
10293: if test -n "$CONFIG_FILES"; then
10294: 
10295: 
10296: ac_cr=`echo X | tr X '\015'`
10297: # On cygwin, bash can eat \r inside `` if the user requested igncr.
10298: # But we know of no other shell where ac_cr would be empty at this
10299: # point, so we can use a bashism as a fallback.
10300: if test "x$ac_cr" = x; then
10301:   eval ac_cr=\$\'\\r\'
10302: fi
10303: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10304: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10305:   ac_cs_awk_cr='\\r'
10306: else
10307:   ac_cs_awk_cr=$ac_cr
10308: fi
10309: 
10310: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10311: _ACEOF
10312: 
10313: 
10314: {
10315:   echo "cat >conf$$subs.awk <<_ACEOF" &&
10316:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10317:   echo "_ACEOF"
10318: } >conf$$subs.sh ||
10319:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10320: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10321: ac_delim='%!_!# '
10322: for ac_last_try in false false false false false :; do
10323:   . ./conf$$subs.sh ||
10324:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10325: 
10326:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10327:   if test $ac_delim_n = $ac_delim_num; then
10328:     break
10329:   elif $ac_last_try; then
10330:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10331:   else
10332:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10333:   fi
10334: done
10335: rm -f conf$$subs.sh
10336: 
10337: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10338: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10339: _ACEOF
10340: sed -n '
10341: h
10342: s/^/S["/; s/!.*/"]=/
10343: p
10344: g
10345: s/^[^!]*!//
10346: :repl
10347: t repl
10348: s/'"$ac_delim"'$//
10349: t delim
10350: :nl
10351: h
10352: s/\(.\{148\}\)..*/\1/
10353: t more1
10354: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10355: p
10356: n
10357: b repl
10358: :more1
10359: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10360: p
10361: g
10362: s/.\{148\}//
10363: t nl
10364: :delim
10365: h
10366: s/\(.\{148\}\)..*/\1/
10367: t more2
10368: s/["\\]/\\&/g; s/^/"/; s/$/"/
10369: p
10370: b
10371: :more2
10372: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10373: p
10374: g
10375: s/.\{148\}//
10376: t delim
10377: ' <conf$$subs.awk | sed '
10378: /^[^""]/{
10379:   N
10380:   s/\n//
10381: }
10382: ' >>$CONFIG_STATUS || ac_write_fail=1
10383: rm -f conf$$subs.awk
10384: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10385: _ACAWK
10386: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10387:   for (key in S) S_is_set[key] = 1
10388:   FS = ""
10389: 
10390: }
10391: {
10392:   line = $ 0
10393:   nfields = split(line, field, "@")
10394:   substed = 0
10395:   len = length(field[1])
10396:   for (i = 2; i < nfields; i++) {
10397:     key = field[i]
10398:     keylen = length(key)
10399:     if (S_is_set[key]) {
10400:       value = S[key]
10401:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10402:       len += length(value) + length(field[++i])
10403:       substed = 1
10404:     } else
10405:       len += 1 + keylen
10406:   }
10407: 
10408:   print line
10409: }
10410: 
10411: _ACAWK
10412: _ACEOF
10413: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10414: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10415:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10416: else
10417:   cat
10418: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10419:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10420: _ACEOF
10421: 
10422: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10423: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10424: # trailing colons and then remove the whole line if VPATH becomes empty
10425: # (actually we leave an empty line to preserve line numbers).
10426: if test "x$srcdir" = x.; then
10427:   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
10428: h
10429: s///
10430: s/^/:/
10431: s/[  ]*$/:/
10432: s/:\$(srcdir):/:/g
10433: s/:\${srcdir}:/:/g
10434: s/:@srcdir@:/:/g
10435: s/^:*//
10436: s/:*$//
10437: x
10438: s/\(=[   ]*\).*/\1/
10439: G
10440: s/\n//
10441: s/^[^=]*=[   ]*$//
10442: }'
10443: fi
10444: 
10445: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10446: fi # test -n "$CONFIG_FILES"
10447: 
10448: # Set up the scripts for CONFIG_HEADERS section.
10449: # No need to generate them if there are no CONFIG_HEADERS.
10450: # This happens for instance with `./config.status Makefile'.
10451: if test -n "$CONFIG_HEADERS"; then
10452: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10453: BEGIN {
10454: _ACEOF
10455: 
10456: # Transform confdefs.h into an awk script `defines.awk', embedded as
10457: # here-document in config.status, that substitutes the proper values into
10458: # config.h.in to produce config.h.
10459: 
10460: # Create a delimiter string that does not exist in confdefs.h, to ease
10461: # handling of long lines.
10462: ac_delim='%!_!# '
10463: for ac_last_try in false false :; do
10464:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10465:   if test -z "$ac_tt"; then
10466:     break
10467:   elif $ac_last_try; then
10468:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10469:   else
10470:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10471:   fi
10472: done
10473: 
10474: # For the awk script, D is an array of macro values keyed by name,
10475: # likewise P contains macro parameters if any.  Preserve backslash
10476: # newline sequences.
10477: 
10478: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10479: sed -n '
10480: s/.\{148\}/&'"$ac_delim"'/g
10481: t rset
10482: :rset
10483: s/^[     ]*#[    ]*define[   ][  ]*/ /
10484: t def
10485: d
10486: :def
10487: s/\\$//
10488: t bsnl
10489: s/["\\]/\\&/g
10490: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10491: D["\1"]=" \3"/p
10492: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10493: d
10494: :bsnl
10495: s/["\\]/\\&/g
10496: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10497: D["\1"]=" \3\\\\\\n"\\/p
10498: t cont
10499: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10500: t cont
10501: d
10502: :cont
10503: n
10504: s/.\{148\}/&'"$ac_delim"'/g
10505: t clear
10506: :clear
10507: s/\\$//
10508: t bsnlc
10509: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10510: d
10511: :bsnlc
10512: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10513: b cont
10514: ' <confdefs.h | sed '
10515: s/'"$ac_delim"'/"\\\
10516: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10517: 
10518: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10519:   for (key in D) D_is_set[key] = 1
10520:   FS = ""
10521: }
10522: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10523:   line = \$ 0
10524:   split(line, arg, " ")
10525:   if (arg[1] == "#") {
10526:     defundef = arg[2]
10527:     mac1 = arg[3]
10528:   } else {
10529:     defundef = substr(arg[1], 2)
10530:     mac1 = arg[2]
10531:   }
10532:   split(mac1, mac2, "(") #)
10533:   macro = mac2[1]
10534:   prefix = substr(line, 1, index(line, defundef) - 1)
10535:   if (D_is_set[macro]) {
10536:     # Preserve the white space surrounding the "#".
10537:     print prefix "define", macro P[macro] D[macro]
10538:     next
10539:   } else {
10540:     # Replace #undef with comments.  This is necessary, for example,
10541:     # in the case of _POSIX_SOURCE, which is predefined and required
10542:     # on some systems where configure will not decide to define it.
10543:     if (defundef == "undef") {
10544:       print "/*", prefix defundef, macro, "*/"
10545:       next
10546:     }
10547:   }
10548: }
10549: { print }
10550: _ACAWK
10551: _ACEOF
10552: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10553:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10554: fi # test -n "$CONFIG_HEADERS"
10555: 
10556: 
10557: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10558: shift
10559: for ac_tag
10560: do
10561:   case $ac_tag in
10562:   :[FHLC]) ac_mode=$ac_tag; continue;;
10563:   esac
10564:   case $ac_mode$ac_tag in
10565:   :[FHL]*:*);;
10566:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10567:   :[FH]-) ac_tag=-:-;;
10568:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10569:   esac
10570:   ac_save_IFS=$IFS
10571:   IFS=:
10572:   set x $ac_tag
10573:   IFS=$ac_save_IFS
10574:   shift
10575:   ac_file=$1
10576:   shift
10577: 
10578:   case $ac_mode in
10579:   :L) ac_source=$1;;
10580:   :[FH])
10581:     ac_file_inputs=
10582:     for ac_f
10583:     do
10584:       case $ac_f in
10585:       -) ac_f="$ac_tmp/stdin";;
10586:       *) # Look for the file first in the build tree, then in the source tree
10587:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10588:      # because $ac_f cannot contain `:'.
10589:      test -f "$ac_f" ||
10590:        case $ac_f in
10591:        [\\/$]*) false;;
10592:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10593:        esac ||
10594:        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10595:       esac
10596:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10597:       as_fn_append ac_file_inputs " '$ac_f'"
10598:     done
10599: 
10600:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10601:     # use $as_me), people would be surprised to read:
10602:     #    /* config.h.  Generated by config.status.  */
10603:     configure_input='Generated from '`
10604:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10605:     `' by configure.'
10606:     if test x"$ac_file" != x-; then
10607:       configure_input="$ac_file.  $configure_input"
10608:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10609: $as_echo "$as_me: creating $ac_file" >&6;}
10610:     fi
10611:     # Neutralize special characters interpreted by sed in replacement strings.
10612:     case $configure_input in #(
10613:     *\&* | *\|* | *\\* )
10614:        ac_sed_conf_input=`$as_echo "$configure_input" |
10615:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10616:     *) ac_sed_conf_input=$configure_input;;
10617:     esac
10618: 
10619:     case $ac_tag in
10620:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
10621:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10622:     esac
10623:     ;;
10624:   esac
10625: 
10626:   ac_dir=`$as_dirname -- "$ac_file" ||
10627: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10628:      X"$ac_file" : 'X\(//\)[^/]' \| \
10629:      X"$ac_file" : 'X\(//\)$' \| \
10630:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10631: $as_echo X"$ac_file" |
10632:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10633:         s//\1/
10634:         q
10635:       }
10636:       /^X\(\/\/\)[^/].*/{
10637:         s//\1/
10638:         q
10639:       }
10640:       /^X\(\/\/\)$/{
10641:         s//\1/
10642:         q
10643:       }
10644:       /^X\(\/\).*/{
10645:         s//\1/
10646:         q
10647:       }
10648:       s/.*/./; q'`
10649:   as_dir="$ac_dir"; as_fn_mkdir_p
10650:   ac_builddir=.
10651: 
10652: case "$ac_dir" in
10653: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10654: *)
10655:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10656:   # A ".." for each directory in $ac_dir_suffix.
10657:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10658:   case $ac_top_builddir_sub in
10659:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10660:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10661:   esac ;;
10662: esac
10663: ac_abs_top_builddir=$ac_pwd
10664: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10665: # for backward compatibility:
10666: ac_top_builddir=$ac_top_build_prefix
10667: 
10668: case $srcdir in
10669:   .)  # We are building in place.
10670:     ac_srcdir=.
10671:     ac_top_srcdir=$ac_top_builddir_sub
10672:     ac_abs_top_srcdir=$ac_pwd ;;
10673:   [\\/]* | ?:[\\/]* )  # Absolute name.
10674:     ac_srcdir=$srcdir$ac_dir_suffix;
10675:     ac_top_srcdir=$srcdir
10676:     ac_abs_top_srcdir=$srcdir ;;
10677:   *) # Relative name.
10678:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10679:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10680:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10681: esac
10682: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10683: 
10684: 
10685:   case $ac_mode in
10686:   :F)
10687:   #
10688:   # CONFIG_FILE
10689:   #
10690: 
10691:   case $INSTALL in
10692:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10693:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10694:   esac
10695:   ac_MKDIR_P=$MKDIR_P
10696:   case $MKDIR_P in
10697:   [\\/$]* | ?:[\\/]* ) ;;
10698:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10699:   esac
10700: _ACEOF
10701: 
10702: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10703: # If the template does not know about datarootdir, expand it.
10704: # FIXME: This hack should be removed a few years after 2.60.
10705: ac_datarootdir_hack=; ac_datarootdir_seen=
10706: ac_sed_dataroot='
10707: /datarootdir/ {
10708:   p
10709:   q
10710: }
10711: /@datadir@/p
10712: /@docdir@/p
10713: /@infodir@/p
10714: /@localedir@/p
10715: /@mandir@/p'
10716: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10717: *datarootdir*) ac_datarootdir_seen=yes;;
10718: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10719:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10720: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10721: _ACEOF
10722: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10723:   ac_datarootdir_hack='
10724:   s&@datadir@&$datadir&g
10725:   s&@docdir@&$docdir&g
10726:   s&@infodir@&$infodir&g
10727:   s&@localedir@&$localedir&g
10728:   s&@mandir@&$mandir&g
10729:   s&\\\${datarootdir}&$datarootdir&g' ;;
10730: esac
10731: _ACEOF
10732: 
10733: # Neutralize VPATH when `$srcdir' = `.'.
10734: # Shell code in configure.ac might set extrasub.
10735: # FIXME: do we really want to maintain this feature?
10736: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10737: ac_sed_extra="$ac_vpsub
10738: $extrasub
10739: _ACEOF
10740: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10741: :t
10742: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10743: s|@configure_input@|$ac_sed_conf_input|;t t
10744: s&@top_builddir@&$ac_top_builddir_sub&;t t
10745: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10746: s&@srcdir@&$ac_srcdir&;t t
10747: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10748: s&@top_srcdir@&$ac_top_srcdir&;t t
10749: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10750: s&@builddir@&$ac_builddir&;t t
10751: s&@abs_builddir@&$ac_abs_builddir&;t t
10752: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10753: s&@INSTALL@&$ac_INSTALL&;t t
10754: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10755: $ac_datarootdir_hack
10756: "
10757: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10758:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10759: 
10760: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10761:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10762:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
10763:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
10764:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10765: which seems to be undefined.  Please make sure it is defined" >&5
10766: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10767: which seems to be undefined.  Please make sure it is defined" >&2;}
10768: 
10769:   rm -f "$ac_tmp/stdin"
10770:   case $ac_file in
10771:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10772:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10773:   esac \
10774:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10775:  ;;
10776:   :H)
10777:   #
10778:   # CONFIG_HEADER
10779:   #
10780:   if test x"$ac_file" != x-; then
10781:     {
10782:       $as_echo "/* $configure_input  */" \
10783:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10784:     } >"$ac_tmp/config.h" \
10785:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10786:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10787:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10788: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10789:     else
10790:       rm -f "$ac_file"
10791:       mv "$ac_tmp/config.h" "$ac_file" \
10792:     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10793:     fi
10794:   else
10795:     $as_echo "/* $configure_input  */" \
10796:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10797:       || as_fn_error $? "could not create -" "$LINENO" 5
10798:   fi
10799: # Compute "$ac_file"'s index in $config_headers.
10800: _am_arg="$ac_file"
10801: _am_stamp_count=1
10802: for _am_header in $config_headers :; do
10803:   case $_am_header in
10804:     $_am_arg | $_am_arg:* )
10805:       break ;;
10806:     * )
10807:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10808:   esac
10809: done
10810: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10811: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10812:      X"$_am_arg" : 'X\(//\)[^/]' \| \
10813:      X"$_am_arg" : 'X\(//\)$' \| \
10814:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10815: $as_echo X"$_am_arg" |
10816:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10817:         s//\1/
10818:         q
10819:       }
10820:       /^X\(\/\/\)[^/].*/{
10821:         s//\1/
10822:         q
10823:       }
10824:       /^X\(\/\/\)$/{
10825:         s//\1/
10826:         q
10827:       }
10828:       /^X\(\/\).*/{
10829:         s//\1/
10830:         q
10831:       }
10832:       s/.*/./; q'`/stamp-h$_am_stamp_count
10833:  ;;
10834: 
10835:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10836: $as_echo "$as_me: executing $ac_file commands" >&6;}
10837:  ;;
10838:   esac
10839: 
10840: 
10841:   case $ac_file$ac_mode in
10842:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10843:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10844:   # are listed without --file.  Let's play safe and only enable the eval
10845:   # if we detect the quoting.
10846:   case $CONFIG_FILES in
10847:   *\'*) eval set x "$CONFIG_FILES" ;;
10848:   *)   set x $CONFIG_FILES ;;
10849:   esac
10850:   shift
10851:   for mf
10852:   do
10853:     # Strip MF so we end up with the name of the file.
10854:     mf=`echo "$mf" | sed -e 's/:.*$//'`
10855:     # Check whether this is an Automake generated Makefile or not.
10856:     # We used to match only the files named `Makefile.in', but
10857:     # some people rename them; so instead we look at the file content.
10858:     # Grep'ing the first line is not enough: some people post-process
10859:     # each Makefile.in and add a new line on top of each file to say so.
10860:     # Grep'ing the whole file is not good either: AIX grep has a line
10861:     # limit of 2048, but all sed's we know have understand at least 4000.
10862:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10863:       dirpart=`$as_dirname -- "$mf" ||
10864: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10865:      X"$mf" : 'X\(//\)[^/]' \| \
10866:      X"$mf" : 'X\(//\)$' \| \
10867:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10868: $as_echo X"$mf" |
10869:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10870:         s//\1/
10871:         q
10872:       }
10873:       /^X\(\/\/\)[^/].*/{
10874:         s//\1/
10875:         q
10876:       }
10877:       /^X\(\/\/\)$/{
10878:         s//\1/
10879:         q
10880:       }
10881:       /^X\(\/\).*/{
10882:         s//\1/
10883:         q
10884:       }
10885:       s/.*/./; q'`
10886:     else
10887:       continue
10888:     fi
10889:     # Extract the definition of DEPDIR, am__include, and am__quote
10890:     # from the Makefile without running `make'.
10891:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10892:     test -z "$DEPDIR" && continue
10893:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10894:     test -z "am__include" && continue
10895:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10896:     # When using ansi2knr, U may be empty or an underscore; expand it
10897:     U=`sed -n 's/^U = //p' < "$mf"`
10898:     # Find all dependency output files, they are included files with
10899:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10900:     # simplest approach to changing $(DEPDIR) to its actual value in the
10901:     # expansion.
10902:     for file in `sed -n "
10903:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10904:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10905:       # Make sure the directory exists.
10906:       test -f "$dirpart/$file" && continue
10907:       fdir=`$as_dirname -- "$file" ||
10908: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10909:      X"$file" : 'X\(//\)[^/]' \| \
10910:      X"$file" : 'X\(//\)$' \| \
10911:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10912: $as_echo X"$file" |
10913:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10914:         s//\1/
10915:         q
10916:       }
10917:       /^X\(\/\/\)[^/].*/{
10918:         s//\1/
10919:         q
10920:       }
10921:       /^X\(\/\/\)$/{
10922:         s//\1/
10923:         q
10924:       }
10925:       /^X\(\/\).*/{
10926:         s//\1/
10927:         q
10928:       }
10929:       s/.*/./; q'`
10930:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10931:       # echo "creating $dirpart/$file"
10932:       echo '# dummy' > "$dirpart/$file"
10933:     done
10934:   done
10935: }
10936:  ;;
10937: 
10938:   esac
10939: done # for ac_tag
10940: 
10941: 
10942: as_fn_exit 0
10943: _ACEOF
10944: ac_clean_files=$ac_clean_files_save
10945: 
10946: test $ac_write_fail = 0 ||
10947:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10948: 
10949: 
10950: # configure is writing to config.log, and then calls config.status.
10951: # config.status does its own redirection, appending to config.log.
10952: # Unfortunately, on DOS this fails, as config.log is still kept open
10953: # by configure, so config.status won't be able to write to it; its
10954: # output is simply discarded.  So we exec the FD to /dev/null,
10955: # effectively closing config.log, so it can be properly (re)opened and
10956: # appended to by config.status.  When coming back to configure, we
10957: # need to make the FD available again.
10958: if test "$no_create" != yes; then
10959:   ac_cs_success=:
10960:   ac_config_status_args=
10961:   test "$silent" = yes &&
10962:     ac_config_status_args="$ac_config_status_args --quiet"
10963:   exec 5>/dev/null
10964:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10965:   exec 5>>config.log
10966:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10967:   # would make configure fail if this is the last instruction.
10968:   $ac_cs_success || as_fn_exit 1
10969: fi
10970: 
10971: #
10972: # CONFIG_SUBDIRS section.
10973: #
10974: if test "$no_recursion" != yes; then
10975: 
10976:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10977:   # so they do not pile up.
10978:   ac_sub_configure_args=
10979:   ac_prev=
10980:   eval "set x $ac_configure_args"
10981:   shift
10982:   for ac_arg
10983:   do
10984:     if test -n "$ac_prev"; then
10985:       ac_prev=
10986:       continue
10987:     fi
10988:     case $ac_arg in
10989:     -cache-file | --cache-file | --cache-fil | --cache-fi \
10990:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10991:       ac_prev=cache_file ;;
10992:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10993:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10994:     | --c=*)
10995:       ;;
10996:     --config-cache | -C)
10997:       ;;
10998:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10999:       ac_prev=srcdir ;;
11000:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11001:       ;;
11002:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11003:       ac_prev=prefix ;;
11004:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11005:       ;;
11006:     --disable-option-checking)
11007:       ;;
11008:     *)
11009:       case $ac_arg in
11010:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11011:       esac
11012:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
11013:     esac
11014:   done
11015: 
11016:   # Always prepend --prefix to ensure using the same prefix
11017:   # in subdir configurations.
11018:   ac_arg="--prefix=$prefix"
11019:   case $ac_arg in
11020:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11021:   esac
11022:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
11023: 
11024:   # Pass --silent
11025:   if test "$silent" = yes; then
11026:     ac_sub_configure_args="--silent $ac_sub_configure_args"
11027:   fi
11028: 
11029:   # Always prepend --disable-option-checking to silence warnings, since
11030:   # different subdirs can have different --enable and --with options.
11031:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
11032: 
11033:   ac_popdir=`pwd`
11034:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
11035: 
11036:     # Do not complain, so a configure script can configure whichever
11037:     # parts of a large source tree are present.
11038:     test -d "$srcdir/$ac_dir" || continue
11039: 
11040:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11041:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
11042:     $as_echo "$ac_msg" >&6
11043:     as_dir="$ac_dir"; as_fn_mkdir_p
11044:     ac_builddir=.
11045: 
11046: case "$ac_dir" in
11047: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11048: *)
11049:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11050:   # A ".." for each directory in $ac_dir_suffix.
11051:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11052:   case $ac_top_builddir_sub in
11053:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11054:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11055:   esac ;;
11056: esac
11057: ac_abs_top_builddir=$ac_pwd
11058: ac_abs_builddir=$ac_pwd$ac_dir_suffix
11059: # for backward compatibility:
11060: ac_top_builddir=$ac_top_build_prefix
11061: 
11062: case $srcdir in
11063:   .)  # We are building in place.
11064:     ac_srcdir=.
11065:     ac_top_srcdir=$ac_top_builddir_sub
11066:     ac_abs_top_srcdir=$ac_pwd ;;
11067:   [\\/]* | ?:[\\/]* )  # Absolute name.
11068:     ac_srcdir=$srcdir$ac_dir_suffix;
11069:     ac_top_srcdir=$srcdir
11070:     ac_abs_top_srcdir=$srcdir ;;
11071:   *) # Relative name.
11072:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11073:     ac_top_srcdir=$ac_top_build_prefix$srcdir
11074:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11075: esac
11076: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11077: 
11078: 
11079:     cd "$ac_dir"
11080: 
11081:     # Check for guested configure; otherwise get Cygnus style configure.
11082:     if test -f "$ac_srcdir/configure.gnu"; then
11083:       ac_sub_configure=$ac_srcdir/configure.gnu
11084:     elif test -f "$ac_srcdir/configure"; then
11085:       ac_sub_configure=$ac_srcdir/configure
11086:     elif test -f "$ac_srcdir/configure.in"; then
11087:       # This should be Cygnus configure.
11088:       ac_sub_configure=$ac_aux_dir/configure
11089:     else
11090:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11091: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11092:       ac_sub_configure=
11093:     fi
11094: 
11095:     # The recursion is here.
11096:     if test -n "$ac_sub_configure"; then
11097:       # Make the cache file name correct relative to the subdirectory.
11098:       case $cache_file in
11099:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11100:       *) # Relative name.
11101:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11102:       esac
11103: 
11104:       { $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
11105: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11106:       # The eval makes quoting arguments work.
11107:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11108:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11109:     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11110:     fi
11111: 
11112:     cd "$ac_popdir"
11113:   done
11114: fi
11115: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11116:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11117: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11118: fi
11119: 

CVSweb interface <joel.bertrand@systella.fr>