File:  [local] / rpl / Attic / configure
Revision 1.10: download - view: text, annotated - select for diffs - revision graph
Tue Mar 9 10:18:41 2010 UTC (14 years, 1 month ago) by bertrand
Branches: MAIN
CVS tags: rpl-4_0_12, HEAD
En route pour la 4.0.13.

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.65 for rpl 4.0.13.
    4: #
    5: #
    6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
    8: # Inc.
    9: #
   10: #
   11: # This configure script is free software; the Free Software Foundation
   12: # gives unlimited permission to copy, distribute and modify it.
   13: ## -------------------- ##
   14: ## M4sh Initialization. ##
   15: ## -------------------- ##
   16: 
   17: # Be more Bourne compatible
   18: DUALCASE=1; export DUALCASE # for MKS sh
   19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20:   emulate sh
   21:   NULLCMD=:
   22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23:   # is contrary to our usage.  Disable this feature.
   24:   alias -g '${1+"$@"}'='"$@"'
   25:   setopt NO_GLOB_SUBST
   26: else
   27:   case `(set -o) 2>/dev/null` in #(
   28:   *posix*) :
   29:     set -o posix ;; #(
   30:   *) :
   31:      ;;
   32: esac
   33: fi
   34: 
   35: 
   36: as_nl='
   37: '
   38: export as_nl
   39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43: # Prefer a ksh shell builtin over an external printf program on Solaris,
   44: # but without wasting forks for bash or zsh.
   45: if test -z "$BASH_VERSION$ZSH_VERSION" \
   46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47:   as_echo='print -r --'
   48:   as_echo_n='print -rn --'
   49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50:   as_echo='printf %s\n'
   51:   as_echo_n='printf %s'
   52: else
   53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55:     as_echo_n='/usr/ucb/echo -n'
   56:   else
   57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58:     as_echo_n_body='eval
   59:       arg=$1;
   60:       case $arg in #(
   61:       *"$as_nl"*)
   62:     expr "X$arg" : "X\\(.*\\)$as_nl";
   63:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64:       esac;
   65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66:     '
   67:     export as_echo_n_body
   68:     as_echo_n='sh -c $as_echo_n_body as_echo'
   69:   fi
   70:   export as_echo_body
   71:   as_echo='sh -c $as_echo_body as_echo'
   72: fi
   73: 
   74: # The user is always right.
   75: if test "${PATH_SEPARATOR+set}" != set; then
   76:   PATH_SEPARATOR=:
   77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79:       PATH_SEPARATOR=';'
   80:   }
   81: fi
   82: 
   83: 
   84: # IFS
   85: # We need space, tab and new line, in precisely that order.  Quoting is
   86: # there to prevent editors from complaining about space-tab.
   87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88: # splitting by setting IFS to empty value.)
   89: IFS=" ""    $as_nl"
   90: 
   91: # Find who we are.  Look in the path if we contain no directory separator.
   92: case $0 in #((
   93:   *[\\/]* ) as_myself=$0 ;;
   94:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   95: for as_dir in $PATH
   96: do
   97:   IFS=$as_save_IFS
   98:   test -z "$as_dir" && as_dir=.
   99:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100:   done
  101: IFS=$as_save_IFS
  102: 
  103:      ;;
  104: esac
  105: # We did not find ourselves, most probably we were run as `sh COMMAND'
  106: # in which case we are not to be found in the path.
  107: if test "x$as_myself" = x; then
  108:   as_myself=$0
  109: fi
  110: if test ! -f "$as_myself"; then
  111:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  112:   exit 1
  113: fi
  114: 
  115: # Unset variables that we do not need and which cause bugs (e.g. in
  116: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  117: # suppresses any "Segmentation fault" message there.  '((' could
  118: # trigger a bug in pdksh 5.2.14.
  119: for as_var in BASH_ENV ENV MAIL MAILPATH
  120: do eval test x\${$as_var+set} = xset \
  121:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  122: done
  123: PS1='$ '
  124: PS2='> '
  125: PS4='+ '
  126: 
  127: # NLS nuisances.
  128: LC_ALL=C
  129: export LC_ALL
  130: LANGUAGE=C
  131: export LANGUAGE
  132: 
  133: # CDPATH.
  134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  135: 
  136: if test "x$CONFIG_SHELL" = x; then
  137:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  138:   emulate sh
  139:   NULLCMD=:
  140:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  141:   # is contrary to our usage.  Disable this feature.
  142:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  143:   setopt NO_GLOB_SUBST
  144: else
  145:   case \`(set -o) 2>/dev/null\` in #(
  146:   *posix*) :
  147:     set -o posix ;; #(
  148:   *) :
  149:      ;;
  150: esac
  151: fi
  152: "
  153:   as_required="as_fn_return () { (exit \$1); }
  154: as_fn_success () { as_fn_return 0; }
  155: as_fn_failure () { as_fn_return 1; }
  156: as_fn_ret_success () { return 0; }
  157: as_fn_ret_failure () { return 1; }
  158: 
  159: exitcode=0
  160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  165: 
  166: else
  167:   exitcode=1; echo positional parameters were not saved.
  168: fi
  169: test x\$exitcode = x0 || exit 1"
  170:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  171:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  172:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  173:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  174: test \$(( 1 + 1 )) = 2 || exit 1"
  175:   if (eval "$as_required") 2>/dev/null; then :
  176:   as_have_required=yes
  177: else
  178:   as_have_required=no
  179: fi
  180:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  181: 
  182: else
  183:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  184: as_found=false
  185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  186: do
  187:   IFS=$as_save_IFS
  188:   test -z "$as_dir" && as_dir=.
  189:   as_found=:
  190:   case $as_dir in #(
  191:      /*)
  192:        for as_base in sh bash ksh sh5; do
  193:          # Try only shells that exist, to save several forks.
  194:          as_shell=$as_dir/$as_base
  195:          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  196:             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  197:   CONFIG_SHELL=$as_shell as_have_required=yes
  198:            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  199:   break 2
  200: fi
  201: fi
  202:        done;;
  203:        esac
  204:   as_found=false
  205: done
  206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  207:           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  208:   CONFIG_SHELL=$SHELL as_have_required=yes
  209: fi; }
  210: IFS=$as_save_IFS
  211: 
  212: 
  213:       if test "x$CONFIG_SHELL" != x; then :
  214:   # We cannot yet assume a decent shell, so we have to provide a
  215:     # neutralization value for shells without unset; and this also
  216:     # works around shells that cannot unset nonexistent variables.
  217:     BASH_ENV=/dev/null
  218:     ENV=/dev/null
  219:     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  220:     export CONFIG_SHELL
  221:     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  222: fi
  223: 
  224:     if test x$as_have_required = xno; then :
  225:   $as_echo "$0: This script requires a shell more modern than all"
  226:   $as_echo "$0: the shells that I found on your system."
  227:   if test x${ZSH_VERSION+set} = xset ; then
  228:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  229:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  230:   else
  231:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  232: $0: including any error possibly output before this
  233: $0: message. Then install a modern shell, or manually run
  234: $0: the script under such a shell if you do have one."
  235:   fi
  236:   exit 1
  237: fi
  238: fi
  239: fi
  240: SHELL=${CONFIG_SHELL-/bin/sh}
  241: export SHELL
  242: # Unset more variables known to interfere with behavior of common tools.
  243: CLICOLOR_FORCE= GREP_OPTIONS=
  244: unset CLICOLOR_FORCE GREP_OPTIONS
  245: 
  246: ## --------------------- ##
  247: ## M4sh Shell Functions. ##
  248: ## --------------------- ##
  249: # as_fn_unset VAR
  250: # ---------------
  251: # Portably unset VAR.
  252: as_fn_unset ()
  253: {
  254:   { eval $1=; unset $1;}
  255: }
  256: as_unset=as_fn_unset
  257: 
  258: # as_fn_set_status STATUS
  259: # -----------------------
  260: # Set $? to STATUS, without forking.
  261: as_fn_set_status ()
  262: {
  263:   return $1
  264: } # as_fn_set_status
  265: 
  266: # as_fn_exit STATUS
  267: # -----------------
  268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  269: as_fn_exit ()
  270: {
  271:   set +e
  272:   as_fn_set_status $1
  273:   exit $1
  274: } # as_fn_exit
  275: 
  276: # as_fn_mkdir_p
  277: # -------------
  278: # Create "$as_dir" as a directory, including parents if necessary.
  279: as_fn_mkdir_p ()
  280: {
  281: 
  282:   case $as_dir in #(
  283:   -*) as_dir=./$as_dir;;
  284:   esac
  285:   test -d "$as_dir" || eval $as_mkdir_p || {
  286:     as_dirs=
  287:     while :; do
  288:       case $as_dir in #(
  289:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  290:       *) as_qdir=$as_dir;;
  291:       esac
  292:       as_dirs="'$as_qdir' $as_dirs"
  293:       as_dir=`$as_dirname -- "$as_dir" ||
  294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  295:      X"$as_dir" : 'X\(//\)[^/]' \| \
  296:      X"$as_dir" : 'X\(//\)$' \| \
  297:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  298: $as_echo X"$as_dir" |
  299:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  300:         s//\1/
  301:         q
  302:       }
  303:       /^X\(\/\/\)[^/].*/{
  304:         s//\1/
  305:         q
  306:       }
  307:       /^X\(\/\/\)$/{
  308:         s//\1/
  309:         q
  310:       }
  311:       /^X\(\/\).*/{
  312:         s//\1/
  313:         q
  314:       }
  315:       s/.*/./; q'`
  316:       test -d "$as_dir" && break
  317:     done
  318:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  319:   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  320: 
  321: 
  322: } # as_fn_mkdir_p
  323: # as_fn_append VAR VALUE
  324: # ----------------------
  325: # Append the text in VALUE to the end of the definition contained in VAR. Take
  326: # advantage of any shell optimizations that allow amortized linear growth over
  327: # repeated appends, instead of the typical quadratic growth present in naive
  328: # implementations.
  329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  330:   eval 'as_fn_append ()
  331:   {
  332:     eval $1+=\$2
  333:   }'
  334: else
  335:   as_fn_append ()
  336:   {
  337:     eval $1=\$$1\$2
  338:   }
  339: fi # as_fn_append
  340: 
  341: # as_fn_arith ARG...
  342: # ------------------
  343: # Perform arithmetic evaluation on the ARGs, and store the result in the
  344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  345: # must be portable across $(()) and expr.
  346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  347:   eval 'as_fn_arith ()
  348:   {
  349:     as_val=$(( $* ))
  350:   }'
  351: else
  352:   as_fn_arith ()
  353:   {
  354:     as_val=`expr "$@" || test $? -eq 1`
  355:   }
  356: fi # as_fn_arith
  357: 
  358: 
  359: # as_fn_error ERROR [LINENO LOG_FD]
  360: # ---------------------------------
  361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  363: # script with status $?, using 1 if that was 0.
  364: as_fn_error ()
  365: {
  366:   as_status=$?; test $as_status -eq 0 && as_status=1
  367:   if test "$3"; then
  368:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  369:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  370:   fi
  371:   $as_echo "$as_me: error: $1" >&2
  372:   as_fn_exit $as_status
  373: } # as_fn_error
  374: 
  375: if expr a : '\(a\)' >/dev/null 2>&1 &&
  376:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  377:   as_expr=expr
  378: else
  379:   as_expr=false
  380: fi
  381: 
  382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  383:   as_basename=basename
  384: else
  385:   as_basename=false
  386: fi
  387: 
  388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  389:   as_dirname=dirname
  390: else
  391:   as_dirname=false
  392: fi
  393: 
  394: as_me=`$as_basename -- "$0" ||
  395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  396:      X"$0" : 'X\(//\)$' \| \
  397:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  398: $as_echo X/"$0" |
  399:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  400:         s//\1/
  401:         q
  402:       }
  403:       /^X\/\(\/\/\)$/{
  404:         s//\1/
  405:         q
  406:       }
  407:       /^X\/\(\/\).*/{
  408:         s//\1/
  409:         q
  410:       }
  411:       s/.*/./; q'`
  412: 
  413: # Avoid depending upon Character Ranges.
  414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  417: as_cr_digits='0123456789'
  418: as_cr_alnum=$as_cr_Letters$as_cr_digits
  419: 
  420: 
  421:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  422:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  423:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  424:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  425:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  426:   sed -n '
  427:     p
  428:     /[$]LINENO/=
  429:   ' <$as_myself |
  430:     sed '
  431:       s/[$]LINENO.*/&-/
  432:       t lineno
  433:       b
  434:       :lineno
  435:       N
  436:       :loop
  437:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  438:       t loop
  439:       s/-\n.*//
  440:     ' >$as_me.lineno &&
  441:   chmod +x "$as_me.lineno" ||
  442:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  443: 
  444:   # Don't try to exec as it changes $[0], causing all sort of problems
  445:   # (the dirname of $[0] is not the place where we might find the
  446:   # original and so on.  Autoconf is especially sensitive to this).
  447:   . "./$as_me.lineno"
  448:   # Exit status is that of the last command.
  449:   exit
  450: }
  451: 
  452: ECHO_C= ECHO_N= ECHO_T=
  453: case `echo -n x` in #(((((
  454: -n*)
  455:   case `echo 'xy\c'` in
  456:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  457:   xy)  ECHO_C='\c';;
  458:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  459:        ECHO_T=' ';;
  460:   esac;;
  461: *)
  462:   ECHO_N='-n';;
  463: esac
  464: 
  465: rm -f conf$$ conf$$.exe conf$$.file
  466: if test -d conf$$.dir; then
  467:   rm -f conf$$.dir/conf$$.file
  468: else
  469:   rm -f conf$$.dir
  470:   mkdir conf$$.dir 2>/dev/null
  471: fi
  472: if (echo >conf$$.file) 2>/dev/null; then
  473:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  474:     as_ln_s='ln -s'
  475:     # ... but there are two gotchas:
  476:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  477:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  478:     # In both cases, we have to default to `cp -p'.
  479:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  480:       as_ln_s='cp -p'
  481:   elif ln conf$$.file conf$$ 2>/dev/null; then
  482:     as_ln_s=ln
  483:   else
  484:     as_ln_s='cp -p'
  485:   fi
  486: else
  487:   as_ln_s='cp -p'
  488: fi
  489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  490: rmdir conf$$.dir 2>/dev/null
  491: 
  492: if mkdir -p . 2>/dev/null; then
  493:   as_mkdir_p='mkdir -p "$as_dir"'
  494: else
  495:   test -d ./-p && rmdir ./-p
  496:   as_mkdir_p=false
  497: fi
  498: 
  499: if test -x / >/dev/null 2>&1; then
  500:   as_test_x='test -x'
  501: else
  502:   if ls -dL / >/dev/null 2>&1; then
  503:     as_ls_L_option=L
  504:   else
  505:     as_ls_L_option=
  506:   fi
  507:   as_test_x='
  508:     eval sh -c '\''
  509:       if test -d "$1"; then
  510:     test -d "$1/.";
  511:       else
  512:     case $1 in #(
  513:     -*)set "./$1";;
  514:     esac;
  515:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  516:     ???[sx]*):;;*)false;;esac;fi
  517:     '\'' sh
  518:   '
  519: fi
  520: as_executable_p=$as_test_x
  521: 
  522: # Sed expression to map a string onto a valid CPP name.
  523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  524: 
  525: # Sed expression to map a string onto a valid variable name.
  526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  527: 
  528: 
  529: test -n "$DJDIR" || exec 7<&0 </dev/null
  530: exec 6>&1
  531: 
  532: # Name of the host.
  533: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  534: # so uname gets run too.
  535: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  536: 
  537: #
  538: # Initializations.
  539: #
  540: ac_default_prefix=/usr/local
  541: ac_clean_files=
  542: ac_config_libobj_dir=.
  543: LIBOBJS=
  544: cross_compiling=no
  545: subdirs=
  546: MFLAGS=
  547: MAKEFLAGS=
  548: 
  549: # Identity of this package.
  550: PACKAGE_NAME='rpl'
  551: PACKAGE_TARNAME='rpl'
  552: PACKAGE_VERSION='4.0.13'
  553: PACKAGE_STRING='rpl 4.0.13'
  554: PACKAGE_BUGREPORT=''
  555: PACKAGE_URL=''
  556: 
  557: ac_default_prefix=/usr/local
  558: # Factoring default headers for most tests.
  559: ac_includes_default="\
  560: #include <stdio.h>
  561: #ifdef HAVE_SYS_TYPES_H
  562: # include <sys/types.h>
  563: #endif
  564: #ifdef HAVE_SYS_STAT_H
  565: # include <sys/stat.h>
  566: #endif
  567: #ifdef STDC_HEADERS
  568: # include <stdlib.h>
  569: # include <stddef.h>
  570: #else
  571: # ifdef HAVE_STDLIB_H
  572: #  include <stdlib.h>
  573: # endif
  574: #endif
  575: #ifdef HAVE_STRING_H
  576: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  577: #  include <memory.h>
  578: # endif
  579: # include <string.h>
  580: #endif
  581: #ifdef HAVE_STRINGS_H
  582: # include <strings.h>
  583: #endif
  584: #ifdef HAVE_INTTYPES_H
  585: # include <inttypes.h>
  586: #endif
  587: #ifdef HAVE_STDINT_H
  588: # include <stdint.h>
  589: #endif
  590: #ifdef HAVE_UNISTD_H
  591: # include <unistd.h>
  592: #endif"
  593: 
  594: enable_option_checking=no
  595: ac_subst_vars='am__EXEEXT_FALSE
  596: am__EXEEXT_TRUE
  597: LTLIBOBJS
  598: LIBOBJS
  599: DATE_FR
  600: FINAL_ENCODING
  601: OPENSSL
  602: SQLITE
  603: ICONV
  604: FILE
  605: GNUPLOT
  606: GPP
  607: GSL
  608: UNITS
  609: READLINE
  610: NCURSES
  611: LIBMTMALLOC
  612: OS
  613: GNUPLOT_COMPILATION
  614: subdirs
  615: EGREP
  616: GREP
  617: libPgSQLlib
  618: libPgSQLinc
  619: POSTGRESQL_SUPPORT
  620: libMySQLlib
  621: libMySQLinc
  622: MYSQL_SUPPORT
  623: DATE
  624: includeX
  625: libX
  626: MOTIF_SUPPORT
  627: DEBUG
  628: EXPERIMENTAL_CODE
  629: VIM_SUPPORT
  630: POSTSCRIPT_SUPPORT
  631: FORCE_GNUPLOT_PATH
  632: GNUPLOT_SUPPORT
  633: VIM
  634: GNUPLOT_P
  635: GV
  636: GS
  637: DVIPS
  638: LATEX
  639: TEX
  640: SED
  641: RANLIB
  642: LN_S
  643: RUNPATH
  644: LIBTOOLIZE
  645: PROFILAGE
  646: X_EXTRA_LIBS
  647: X_LIBS
  648: X_PRE_LIBS
  649: X_CFLAGS
  650: CPP
  651: XMKMF
  652: ac_ct_FC
  653: FCFLAGS
  654: FC
  655: ac_ct_F77
  656: FFLAGS
  657: F77
  658: am__fastdepCXX_FALSE
  659: am__fastdepCXX_TRUE
  660: CXXDEPMODE
  661: ac_ct_CXX
  662: CXXFLAGS
  663: CXX
  664: am__fastdepCC_FALSE
  665: am__fastdepCC_TRUE
  666: CCDEPMODE
  667: AMDEPBACKSLASH
  668: AMDEP_FALSE
  669: AMDEP_TRUE
  670: am__quote
  671: am__include
  672: DEPDIR
  673: OBJEXT
  674: EXEEXT
  675: ac_ct_CC
  676: CPPFLAGS
  677: LDFLAGS
  678: CFLAGS
  679: CC
  680: am__untar
  681: am__tar
  682: AMTAR
  683: am__leading_dot
  684: SET_MAKE
  685: AWK
  686: mkdir_p
  687: MKDIR_P
  688: INSTALL_STRIP_PROGRAM
  689: STRIP
  690: install_sh
  691: MAKEINFO
  692: AUTOHEADER
  693: AUTOMAKE
  694: AUTOCONF
  695: ACLOCAL
  696: VERSION
  697: PACKAGE
  698: CYGPATH_W
  699: am__isrc
  700: INSTALL_DATA
  701: INSTALL_SCRIPT
  702: INSTALL_PROGRAM
  703: target_os
  704: target_vendor
  705: target_cpu
  706: target
  707: host_os
  708: host_vendor
  709: host_cpu
  710: host
  711: build_os
  712: build_vendor
  713: build_cpu
  714: build
  715: target_alias
  716: host_alias
  717: build_alias
  718: LIBS
  719: ECHO_T
  720: ECHO_N
  721: ECHO_C
  722: DEFS
  723: mandir
  724: localedir
  725: libdir
  726: psdir
  727: pdfdir
  728: dvidir
  729: htmldir
  730: infodir
  731: docdir
  732: oldincludedir
  733: includedir
  734: localstatedir
  735: sharedstatedir
  736: sysconfdir
  737: datadir
  738: datarootdir
  739: libexecdir
  740: sbindir
  741: bindir
  742: program_transform_name
  743: prefix
  744: exec_prefix
  745: PACKAGE_URL
  746: PACKAGE_BUGREPORT
  747: PACKAGE_STRING
  748: PACKAGE_VERSION
  749: PACKAGE_TARNAME
  750: PACKAGE_NAME
  751: PATH_SEPARATOR
  752: SHELL'
  753: ac_subst_files=''
  754: ac_user_opts='
  755: enable_option_checking
  756: enable_dependency_tracking
  757: with_x
  758: enable_optimization
  759: enable_final_encoding
  760: enable_tex
  761: enable_vim
  762: enable_embedded_gnuplot
  763: enable_gnuplot
  764: enable_motif
  765: enable_experimental
  766: enable_debug
  767: enable_profile
  768: enable_final_run_path
  769: with_mysql
  770: with_postgresql
  771: '
  772:       ac_precious_vars='build_alias
  773: host_alias
  774: target_alias
  775: CC
  776: CFLAGS
  777: LDFLAGS
  778: LIBS
  779: CPPFLAGS
  780: CXX
  781: CXXFLAGS
  782: CCC
  783: F77
  784: FFLAGS
  785: FC
  786: FCFLAGS
  787: XMKMF
  788: CPP'
  789: ac_subdirs_all='tools/$NCURSES
  790: tools/$READLINE
  791: tools/$UNITS
  792: tools/$GSL
  793: tools/$GPP
  794: tools/$FILE
  795: tools/$ICONV
  796: tools/$SQLITE
  797: tools/$GNUPLOT'
  798: 
  799: # Initialize some variables set by options.
  800: ac_init_help=
  801: ac_init_version=false
  802: ac_unrecognized_opts=
  803: ac_unrecognized_sep=
  804: # The variables have the same names as the options, with
  805: # dashes changed to underlines.
  806: cache_file=/dev/null
  807: exec_prefix=NONE
  808: no_create=
  809: no_recursion=
  810: prefix=NONE
  811: program_prefix=NONE
  812: program_suffix=NONE
  813: program_transform_name=s,x,x,
  814: silent=
  815: site=
  816: srcdir=
  817: verbose=
  818: x_includes=NONE
  819: x_libraries=NONE
  820: 
  821: # Installation directory options.
  822: # These are left unexpanded so users can "make install exec_prefix=/foo"
  823: # and all the variables that are supposed to be based on exec_prefix
  824: # by default will actually change.
  825: # Use braces instead of parens because sh, perl, etc. also accept them.
  826: # (The list follows the same order as the GNU Coding Standards.)
  827: bindir='${exec_prefix}/bin'
  828: sbindir='${exec_prefix}/sbin'
  829: libexecdir='${exec_prefix}/libexec'
  830: datarootdir='${prefix}/share'
  831: datadir='${datarootdir}'
  832: sysconfdir='${prefix}/etc'
  833: sharedstatedir='${prefix}/com'
  834: localstatedir='${prefix}/var'
  835: includedir='${prefix}/include'
  836: oldincludedir='/usr/include'
  837: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  838: infodir='${datarootdir}/info'
  839: htmldir='${docdir}'
  840: dvidir='${docdir}'
  841: pdfdir='${docdir}'
  842: psdir='${docdir}'
  843: libdir='${exec_prefix}/lib'
  844: localedir='${datarootdir}/locale'
  845: mandir='${datarootdir}/man'
  846: 
  847: ac_prev=
  848: ac_dashdash=
  849: for ac_option
  850: do
  851:   # If the previous option needs an argument, assign it.
  852:   if test -n "$ac_prev"; then
  853:     eval $ac_prev=\$ac_option
  854:     ac_prev=
  855:     continue
  856:   fi
  857: 
  858:   case $ac_option in
  859:   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  860:   *)    ac_optarg=yes ;;
  861:   esac
  862: 
  863:   # Accept the important Cygnus configure options, so we can diagnose typos.
  864: 
  865:   case $ac_dashdash$ac_option in
  866:   --)
  867:     ac_dashdash=yes ;;
  868: 
  869:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  870:     ac_prev=bindir ;;
  871:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  872:     bindir=$ac_optarg ;;
  873: 
  874:   -build | --build | --buil | --bui | --bu)
  875:     ac_prev=build_alias ;;
  876:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  877:     build_alias=$ac_optarg ;;
  878: 
  879:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  880:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  881:     ac_prev=cache_file ;;
  882:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  883:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  884:     cache_file=$ac_optarg ;;
  885: 
  886:   --config-cache | -C)
  887:     cache_file=config.cache ;;
  888: 
  889:   -datadir | --datadir | --datadi | --datad)
  890:     ac_prev=datadir ;;
  891:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  892:     datadir=$ac_optarg ;;
  893: 
  894:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  895:   | --dataroo | --dataro | --datar)
  896:     ac_prev=datarootdir ;;
  897:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  898:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  899:     datarootdir=$ac_optarg ;;
  900: 
  901:   -disable-* | --disable-*)
  902:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  903:     # Reject names that are not valid shell variable names.
  904:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  905:       as_fn_error "invalid feature name: $ac_useropt"
  906:     ac_useropt_orig=$ac_useropt
  907:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  908:     case $ac_user_opts in
  909:       *"
  910: "enable_$ac_useropt"
  911: "*) ;;
  912:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  913:      ac_unrecognized_sep=', ';;
  914:     esac
  915:     eval enable_$ac_useropt=no ;;
  916: 
  917:   -docdir | --docdir | --docdi | --doc | --do)
  918:     ac_prev=docdir ;;
  919:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  920:     docdir=$ac_optarg ;;
  921: 
  922:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  923:     ac_prev=dvidir ;;
  924:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  925:     dvidir=$ac_optarg ;;
  926: 
  927:   -enable-* | --enable-*)
  928:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  929:     # Reject names that are not valid shell variable names.
  930:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  931:       as_fn_error "invalid feature name: $ac_useropt"
  932:     ac_useropt_orig=$ac_useropt
  933:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  934:     case $ac_user_opts in
  935:       *"
  936: "enable_$ac_useropt"
  937: "*) ;;
  938:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  939:      ac_unrecognized_sep=', ';;
  940:     esac
  941:     eval enable_$ac_useropt=\$ac_optarg ;;
  942: 
  943:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  944:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  945:   | --exec | --exe | --ex)
  946:     ac_prev=exec_prefix ;;
  947:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  948:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  949:   | --exec=* | --exe=* | --ex=*)
  950:     exec_prefix=$ac_optarg ;;
  951: 
  952:   -gas | --gas | --ga | --g)
  953:     # Obsolete; use --with-gas.
  954:     with_gas=yes ;;
  955: 
  956:   -help | --help | --hel | --he | -h)
  957:     ac_init_help=long ;;
  958:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  959:     ac_init_help=recursive ;;
  960:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  961:     ac_init_help=short ;;
  962: 
  963:   -host | --host | --hos | --ho)
  964:     ac_prev=host_alias ;;
  965:   -host=* | --host=* | --hos=* | --ho=*)
  966:     host_alias=$ac_optarg ;;
  967: 
  968:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  969:     ac_prev=htmldir ;;
  970:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  971:   | --ht=*)
  972:     htmldir=$ac_optarg ;;
  973: 
  974:   -includedir | --includedir | --includedi | --included | --include \
  975:   | --includ | --inclu | --incl | --inc)
  976:     ac_prev=includedir ;;
  977:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  978:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  979:     includedir=$ac_optarg ;;
  980: 
  981:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  982:     ac_prev=infodir ;;
  983:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  984:     infodir=$ac_optarg ;;
  985: 
  986:   -libdir | --libdir | --libdi | --libd)
  987:     ac_prev=libdir ;;
  988:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  989:     libdir=$ac_optarg ;;
  990: 
  991:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  992:   | --libexe | --libex | --libe)
  993:     ac_prev=libexecdir ;;
  994:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  995:   | --libexe=* | --libex=* | --libe=*)
  996:     libexecdir=$ac_optarg ;;
  997: 
  998:   -localedir | --localedir | --localedi | --localed | --locale)
  999:     ac_prev=localedir ;;
 1000:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1001:     localedir=$ac_optarg ;;
 1002: 
 1003:   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1004:   | --localstate | --localstat | --localsta | --localst | --locals)
 1005:     ac_prev=localstatedir ;;
 1006:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1007:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1008:     localstatedir=$ac_optarg ;;
 1009: 
 1010:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1011:     ac_prev=mandir ;;
 1012:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1013:     mandir=$ac_optarg ;;
 1014: 
 1015:   -nfp | --nfp | --nf)
 1016:     # Obsolete; use --without-fp.
 1017:     with_fp=no ;;
 1018: 
 1019:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1020:   | --no-cr | --no-c | -n)
 1021:     no_create=yes ;;
 1022: 
 1023:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1024:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1025:     no_recursion=yes ;;
 1026: 
 1027:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1028:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1029:   | --oldin | --oldi | --old | --ol | --o)
 1030:     ac_prev=oldincludedir ;;
 1031:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1032:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1033:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1034:     oldincludedir=$ac_optarg ;;
 1035: 
 1036:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1037:     ac_prev=prefix ;;
 1038:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1039:     prefix=$ac_optarg ;;
 1040: 
 1041:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1042:   | --program-pre | --program-pr | --program-p)
 1043:     ac_prev=program_prefix ;;
 1044:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1045:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1046:     program_prefix=$ac_optarg ;;
 1047: 
 1048:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1049:   | --program-suf | --program-su | --program-s)
 1050:     ac_prev=program_suffix ;;
 1051:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1052:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1053:     program_suffix=$ac_optarg ;;
 1054: 
 1055:   -program-transform-name | --program-transform-name \
 1056:   | --program-transform-nam | --program-transform-na \
 1057:   | --program-transform-n | --program-transform- \
 1058:   | --program-transform | --program-transfor \
 1059:   | --program-transfo | --program-transf \
 1060:   | --program-trans | --program-tran \
 1061:   | --progr-tra | --program-tr | --program-t)
 1062:     ac_prev=program_transform_name ;;
 1063:   -program-transform-name=* | --program-transform-name=* \
 1064:   | --program-transform-nam=* | --program-transform-na=* \
 1065:   | --program-transform-n=* | --program-transform-=* \
 1066:   | --program-transform=* | --program-transfor=* \
 1067:   | --program-transfo=* | --program-transf=* \
 1068:   | --program-trans=* | --program-tran=* \
 1069:   | --progr-tra=* | --program-tr=* | --program-t=*)
 1070:     program_transform_name=$ac_optarg ;;
 1071: 
 1072:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1073:     ac_prev=pdfdir ;;
 1074:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1075:     pdfdir=$ac_optarg ;;
 1076: 
 1077:   -psdir | --psdir | --psdi | --psd | --ps)
 1078:     ac_prev=psdir ;;
 1079:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1080:     psdir=$ac_optarg ;;
 1081: 
 1082:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1083:   | -silent | --silent | --silen | --sile | --sil)
 1084:     silent=yes ;;
 1085: 
 1086:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1087:     ac_prev=sbindir ;;
 1088:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1089:   | --sbi=* | --sb=*)
 1090:     sbindir=$ac_optarg ;;
 1091: 
 1092:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1093:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1094:   | --sharedst | --shareds | --shared | --share | --shar \
 1095:   | --sha | --sh)
 1096:     ac_prev=sharedstatedir ;;
 1097:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1098:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1099:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1100:   | --sha=* | --sh=*)
 1101:     sharedstatedir=$ac_optarg ;;
 1102: 
 1103:   -site | --site | --sit)
 1104:     ac_prev=site ;;
 1105:   -site=* | --site=* | --sit=*)
 1106:     site=$ac_optarg ;;
 1107: 
 1108:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1109:     ac_prev=srcdir ;;
 1110:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1111:     srcdir=$ac_optarg ;;
 1112: 
 1113:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1114:   | --syscon | --sysco | --sysc | --sys | --sy)
 1115:     ac_prev=sysconfdir ;;
 1116:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1117:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1118:     sysconfdir=$ac_optarg ;;
 1119: 
 1120:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1121:     ac_prev=target_alias ;;
 1122:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1123:     target_alias=$ac_optarg ;;
 1124: 
 1125:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1126:     verbose=yes ;;
 1127: 
 1128:   -version | --version | --versio | --versi | --vers | -V)
 1129:     ac_init_version=: ;;
 1130: 
 1131:   -with-* | --with-*)
 1132:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1133:     # Reject names that are not valid shell variable names.
 1134:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1135:       as_fn_error "invalid package name: $ac_useropt"
 1136:     ac_useropt_orig=$ac_useropt
 1137:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1138:     case $ac_user_opts in
 1139:       *"
 1140: "with_$ac_useropt"
 1141: "*) ;;
 1142:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1143:      ac_unrecognized_sep=', ';;
 1144:     esac
 1145:     eval with_$ac_useropt=\$ac_optarg ;;
 1146: 
 1147:   -without-* | --without-*)
 1148:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1149:     # Reject names that are not valid shell variable names.
 1150:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1151:       as_fn_error "invalid package name: $ac_useropt"
 1152:     ac_useropt_orig=$ac_useropt
 1153:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1154:     case $ac_user_opts in
 1155:       *"
 1156: "with_$ac_useropt"
 1157: "*) ;;
 1158:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1159:      ac_unrecognized_sep=', ';;
 1160:     esac
 1161:     eval with_$ac_useropt=no ;;
 1162: 
 1163:   --x)
 1164:     # Obsolete; use --with-x.
 1165:     with_x=yes ;;
 1166: 
 1167:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1168:   | --x-incl | --x-inc | --x-in | --x-i)
 1169:     ac_prev=x_includes ;;
 1170:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1171:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1172:     x_includes=$ac_optarg ;;
 1173: 
 1174:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1175:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1176:     ac_prev=x_libraries ;;
 1177:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1178:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1179:     x_libraries=$ac_optarg ;;
 1180: 
 1181:   -*) as_fn_error "unrecognized option: \`$ac_option'
 1182: Try \`$0 --help' for more information."
 1183:     ;;
 1184: 
 1185:   *=*)
 1186:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1187:     # Reject names that are not valid shell variable names.
 1188:     case $ac_envvar in #(
 1189:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1190:       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 1191:     esac
 1192:     eval $ac_envvar=\$ac_optarg
 1193:     export $ac_envvar ;;
 1194: 
 1195:   *)
 1196:     # FIXME: should be removed in autoconf 3.0.
 1197:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1198:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1199:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1200:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1201:     ;;
 1202: 
 1203:   esac
 1204: done
 1205: 
 1206: if test -n "$ac_prev"; then
 1207:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1208:   as_fn_error "missing argument to $ac_option"
 1209: fi
 1210: 
 1211: if test -n "$ac_unrecognized_opts"; then
 1212:   case $enable_option_checking in
 1213:     no) ;;
 1214:     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 1215:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1216:   esac
 1217: fi
 1218: 
 1219: # Check all directory arguments for consistency.
 1220: for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1221:         datadir sysconfdir sharedstatedir localstatedir includedir \
 1222:         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1223:         libdir localedir mandir
 1224: do
 1225:   eval ac_val=\$$ac_var
 1226:   # Remove trailing slashes.
 1227:   case $ac_val in
 1228:     */ )
 1229:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1230:       eval $ac_var=\$ac_val;;
 1231:   esac
 1232:   # Be sure to have absolute directory names.
 1233:   case $ac_val in
 1234:     [\\/$]* | ?:[\\/]* )  continue;;
 1235:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1236:   esac
 1237:   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 1238: done
 1239: 
 1240: # There might be people who depend on the old broken behavior: `$host'
 1241: # used to hold the argument of --host etc.
 1242: # FIXME: To remove some day.
 1243: build=$build_alias
 1244: host=$host_alias
 1245: target=$target_alias
 1246: 
 1247: # FIXME: To remove some day.
 1248: if test "x$host_alias" != x; then
 1249:   if test "x$build_alias" = x; then
 1250:     cross_compiling=maybe
 1251:     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1252:     If a cross compiler is detected then cross compile mode will be used." >&2
 1253:   elif test "x$build_alias" != "x$host_alias"; then
 1254:     cross_compiling=yes
 1255:   fi
 1256: fi
 1257: 
 1258: ac_tool_prefix=
 1259: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1260: 
 1261: test "$silent" = yes && exec 6>/dev/null
 1262: 
 1263: 
 1264: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1265: ac_ls_di=`ls -di .` &&
 1266: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1267:   as_fn_error "working directory cannot be determined"
 1268: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1269:   as_fn_error "pwd does not report name of working directory"
 1270: 
 1271: 
 1272: # Find the source files, if location was not specified.
 1273: if test -z "$srcdir"; then
 1274:   ac_srcdir_defaulted=yes
 1275:   # Try the directory containing this script, then the parent directory.
 1276:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1277: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1278:      X"$as_myself" : 'X\(//\)[^/]' \| \
 1279:      X"$as_myself" : 'X\(//\)$' \| \
 1280:      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1281: $as_echo X"$as_myself" |
 1282:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1283:         s//\1/
 1284:         q
 1285:       }
 1286:       /^X\(\/\/\)[^/].*/{
 1287:         s//\1/
 1288:         q
 1289:       }
 1290:       /^X\(\/\/\)$/{
 1291:         s//\1/
 1292:         q
 1293:       }
 1294:       /^X\(\/\).*/{
 1295:         s//\1/
 1296:         q
 1297:       }
 1298:       s/.*/./; q'`
 1299:   srcdir=$ac_confdir
 1300:   if test ! -r "$srcdir/$ac_unique_file"; then
 1301:     srcdir=..
 1302:   fi
 1303: else
 1304:   ac_srcdir_defaulted=no
 1305: fi
 1306: if test ! -r "$srcdir/$ac_unique_file"; then
 1307:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1308:   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 1309: fi
 1310: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1311: ac_abs_confdir=`(
 1312:     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 1313:     pwd)`
 1314: # When building in place, set srcdir=.
 1315: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1316:   srcdir=.
 1317: fi
 1318: # Remove unnecessary trailing slashes from srcdir.
 1319: # Double slashes in file names in object file debugging info
 1320: # mess up M-x gdb in Emacs.
 1321: case $srcdir in
 1322: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1323: esac
 1324: for ac_var in $ac_precious_vars; do
 1325:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1326:   eval ac_env_${ac_var}_value=\$${ac_var}
 1327:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1328:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1329: done
 1330: 
 1331: #
 1332: # Report the --help message.
 1333: #
 1334: if test "$ac_init_help" = "long"; then
 1335:   # Omit some internal or obsolete options to make the list less imposing.
 1336:   # This message is too long to be a string in the A/UX 3.1 sh.
 1337:   cat <<_ACEOF
 1338: \`configure' configures rpl 4.0.13 to adapt to many kinds of systems.
 1339: 
 1340: Usage: $0 [OPTION]... [VAR=VALUE]...
 1341: 
 1342: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1343: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1344: 
 1345: Defaults for the options are specified in brackets.
 1346: 
 1347: Configuration:
 1348:   -h, --help              display this help and exit
 1349:       --help=short        display options specific to this package
 1350:       --help=recursive    display the short help of all the included packages
 1351:   -V, --version           display version information and exit
 1352:   -q, --quiet, --silent   do not print \`checking...' messages
 1353:       --cache-file=FILE   cache test results in FILE [disabled]
 1354:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1355:   -n, --no-create         do not create output files
 1356:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1357: 
 1358: Installation directories:
 1359:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1360:                           [$ac_default_prefix]
 1361:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1362:                           [PREFIX]
 1363: 
 1364: By default, \`make install' will install all the files in
 1365: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1366: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1367: for instance \`--prefix=\$HOME'.
 1368: 
 1369: For better control, use the options below.
 1370: 
 1371: Fine tuning of the installation directories:
 1372:   --bindir=DIR            user executables [EPREFIX/bin]
 1373:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1374:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1375:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1376:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1377:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1378:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1379:   --includedir=DIR        C header files [PREFIX/include]
 1380:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1381:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1382:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1383:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1384:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1385:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1386:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
 1387:   --htmldir=DIR           html documentation [DOCDIR]
 1388:   --dvidir=DIR            dvi documentation [DOCDIR]
 1389:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1390:   --psdir=DIR             ps documentation [DOCDIR]
 1391: _ACEOF
 1392: 
 1393:   cat <<\_ACEOF
 1394: 
 1395: Program names:
 1396:   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1397:   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1398:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1399: 
 1400: X features:
 1401:   --x-includes=DIR    X include files are in DIR
 1402:   --x-libraries=DIR   X library files are in DIR
 1403: 
 1404: System types:
 1405:   --build=BUILD     configure for building on BUILD [guessed]
 1406:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1407:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1408: _ACEOF
 1409: fi
 1410: 
 1411: if test -n "$ac_init_help"; then
 1412:   case $ac_init_help in
 1413:      short | recursive ) echo "Configuration of rpl 4.0.13:";;
 1414:    esac
 1415:   cat <<\_ACEOF
 1416: 
 1417: Optional Features:
 1418:   --disable-option-checking  ignore unrecognized --enable/--with options
 1419:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1420:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1421:   --disable-dependency-tracking  speeds up one-time build
 1422:   --enable-dependency-tracking   do not reject slow dependency extractors
 1423:   --enable-optimization   set compiler flags [default=environment variables -O3]
 1424:   --enable-final-encoding force final encoding [default=guessed]
 1425:   --enable-tex            provide the TeX support [default=guessed]
 1426:   --enable-vim            provide the vim support [default=guessed]
 1427:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
 1428:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
 1429:   --enable-motif          provide the Motif support [default=guessed]
 1430:   --enable-experimental   enable experimental code [default=no]
 1431:   --enable-debug          enable debug code [default=no]
 1432:   --enable-profile        enable profile code [default=no]
 1433:   --enable-final-run-path=PATH enable another final run path than PREFIX
 1434: 
 1435: Optional Packages:
 1436:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1437:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1438:   --with-x                use the X Window System
 1439:   --with-mysql=PATH         specify directory for installed mysql
 1440:   --with-postgresql=PATH    specify directory for installed postgresql
 1441: 
 1442: Some influential environment variables:
 1443:   CC          C compiler command
 1444:   CFLAGS      C compiler flags
 1445:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1446:               nonstandard directory <lib dir>
 1447:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1448:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1449:               you have headers in a nonstandard directory <include dir>
 1450:   CXX         C++ compiler command
 1451:   CXXFLAGS    C++ compiler flags
 1452:   F77         Fortran 77 compiler command
 1453:   FFLAGS      Fortran 77 compiler flags
 1454:   FC          Fortran compiler command
 1455:   FCFLAGS     Fortran compiler flags
 1456:   XMKMF       Path to xmkmf, Makefile generator for X Window System
 1457:   CPP         C preprocessor
 1458: 
 1459: Use these variables to override the choices made by `configure' or to help
 1460: it to find libraries and programs with nonstandard names/locations.
 1461: 
 1462: Report bugs to the package provider.
 1463: _ACEOF
 1464: ac_status=$?
 1465: fi
 1466: 
 1467: if test "$ac_init_help" = "recursive"; then
 1468:   # If there are subdirs, report their specific --help.
 1469:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1470:     test -d "$ac_dir" ||
 1471:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1472:       continue
 1473:     ac_builddir=.
 1474: 
 1475: case "$ac_dir" in
 1476: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1477: *)
 1478:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1479:   # A ".." for each directory in $ac_dir_suffix.
 1480:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1481:   case $ac_top_builddir_sub in
 1482:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1483:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1484:   esac ;;
 1485: esac
 1486: ac_abs_top_builddir=$ac_pwd
 1487: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1488: # for backward compatibility:
 1489: ac_top_builddir=$ac_top_build_prefix
 1490: 
 1491: case $srcdir in
 1492:   .)  # We are building in place.
 1493:     ac_srcdir=.
 1494:     ac_top_srcdir=$ac_top_builddir_sub
 1495:     ac_abs_top_srcdir=$ac_pwd ;;
 1496:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1497:     ac_srcdir=$srcdir$ac_dir_suffix;
 1498:     ac_top_srcdir=$srcdir
 1499:     ac_abs_top_srcdir=$srcdir ;;
 1500:   *) # Relative name.
 1501:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1502:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1503:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1504: esac
 1505: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1506: 
 1507:     cd "$ac_dir" || { ac_status=$?; continue; }
 1508:     # Check for guested configure.
 1509:     if test -f "$ac_srcdir/configure.gnu"; then
 1510:       echo &&
 1511:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1512:     elif test -f "$ac_srcdir/configure"; then
 1513:       echo &&
 1514:       $SHELL "$ac_srcdir/configure" --help=recursive
 1515:     else
 1516:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1517:     fi || ac_status=$?
 1518:     cd "$ac_pwd" || { ac_status=$?; break; }
 1519:   done
 1520: fi
 1521: 
 1522: test -n "$ac_init_help" && exit $ac_status
 1523: if $ac_init_version; then
 1524:   cat <<\_ACEOF
 1525: rpl configure 4.0.13
 1526: generated by GNU Autoconf 2.65
 1527: 
 1528: Copyright (C) 2009 Free Software Foundation, Inc.
 1529: This configure script is free software; the Free Software Foundation
 1530: gives unlimited permission to copy, distribute and modify it.
 1531: _ACEOF
 1532:   exit
 1533: fi
 1534: 
 1535: ## ------------------------ ##
 1536: ## Autoconf initialization. ##
 1537: ## ------------------------ ##
 1538: 
 1539: # ac_fn_c_try_compile LINENO
 1540: # --------------------------
 1541: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1542: ac_fn_c_try_compile ()
 1543: {
 1544:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1545:   rm -f conftest.$ac_objext
 1546:   if { { ac_try="$ac_compile"
 1547: case "(($ac_try" in
 1548:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1549:   *) ac_try_echo=$ac_try;;
 1550: esac
 1551: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1552: $as_echo "$ac_try_echo"; } >&5
 1553:   (eval "$ac_compile") 2>conftest.err
 1554:   ac_status=$?
 1555:   if test -s conftest.err; then
 1556:     grep -v '^ *+' conftest.err >conftest.er1
 1557:     cat conftest.er1 >&5
 1558:     mv -f conftest.er1 conftest.err
 1559:   fi
 1560:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1561:   test $ac_status = 0; } && {
 1562:      test -z "$ac_c_werror_flag" ||
 1563:      test ! -s conftest.err
 1564:        } && test -s conftest.$ac_objext; then :
 1565:   ac_retval=0
 1566: else
 1567:   $as_echo "$as_me: failed program was:" >&5
 1568: sed 's/^/| /' conftest.$ac_ext >&5
 1569: 
 1570:     ac_retval=1
 1571: fi
 1572:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1573:   as_fn_set_status $ac_retval
 1574: 
 1575: } # ac_fn_c_try_compile
 1576: 
 1577: # ac_fn_cxx_try_compile LINENO
 1578: # ----------------------------
 1579: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1580: ac_fn_cxx_try_compile ()
 1581: {
 1582:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1583:   rm -f conftest.$ac_objext
 1584:   if { { ac_try="$ac_compile"
 1585: case "(($ac_try" in
 1586:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1587:   *) ac_try_echo=$ac_try;;
 1588: esac
 1589: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1590: $as_echo "$ac_try_echo"; } >&5
 1591:   (eval "$ac_compile") 2>conftest.err
 1592:   ac_status=$?
 1593:   if test -s conftest.err; then
 1594:     grep -v '^ *+' conftest.err >conftest.er1
 1595:     cat conftest.er1 >&5
 1596:     mv -f conftest.er1 conftest.err
 1597:   fi
 1598:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1599:   test $ac_status = 0; } && {
 1600:      test -z "$ac_cxx_werror_flag" ||
 1601:      test ! -s conftest.err
 1602:        } && test -s conftest.$ac_objext; then :
 1603:   ac_retval=0
 1604: else
 1605:   $as_echo "$as_me: failed program was:" >&5
 1606: sed 's/^/| /' conftest.$ac_ext >&5
 1607: 
 1608:     ac_retval=1
 1609: fi
 1610:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1611:   as_fn_set_status $ac_retval
 1612: 
 1613: } # ac_fn_cxx_try_compile
 1614: 
 1615: # ac_fn_f77_try_compile LINENO
 1616: # ----------------------------
 1617: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1618: ac_fn_f77_try_compile ()
 1619: {
 1620:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1621:   rm -f conftest.$ac_objext
 1622:   if { { ac_try="$ac_compile"
 1623: case "(($ac_try" in
 1624:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1625:   *) ac_try_echo=$ac_try;;
 1626: esac
 1627: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1628: $as_echo "$ac_try_echo"; } >&5
 1629:   (eval "$ac_compile") 2>conftest.err
 1630:   ac_status=$?
 1631:   if test -s conftest.err; then
 1632:     grep -v '^ *+' conftest.err >conftest.er1
 1633:     cat conftest.er1 >&5
 1634:     mv -f conftest.er1 conftest.err
 1635:   fi
 1636:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1637:   test $ac_status = 0; } && {
 1638:      test -z "$ac_f77_werror_flag" ||
 1639:      test ! -s conftest.err
 1640:        } && test -s conftest.$ac_objext; then :
 1641:   ac_retval=0
 1642: else
 1643:   $as_echo "$as_me: failed program was:" >&5
 1644: sed 's/^/| /' conftest.$ac_ext >&5
 1645: 
 1646:     ac_retval=1
 1647: fi
 1648:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1649:   as_fn_set_status $ac_retval
 1650: 
 1651: } # ac_fn_f77_try_compile
 1652: 
 1653: # ac_fn_fc_try_compile LINENO
 1654: # ---------------------------
 1655: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1656: ac_fn_fc_try_compile ()
 1657: {
 1658:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1659:   rm -f conftest.$ac_objext
 1660:   if { { ac_try="$ac_compile"
 1661: case "(($ac_try" in
 1662:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1663:   *) ac_try_echo=$ac_try;;
 1664: esac
 1665: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1666: $as_echo "$ac_try_echo"; } >&5
 1667:   (eval "$ac_compile") 2>conftest.err
 1668:   ac_status=$?
 1669:   if test -s conftest.err; then
 1670:     grep -v '^ *+' conftest.err >conftest.er1
 1671:     cat conftest.er1 >&5
 1672:     mv -f conftest.er1 conftest.err
 1673:   fi
 1674:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1675:   test $ac_status = 0; } && {
 1676:      test -z "$ac_fc_werror_flag" ||
 1677:      test ! -s conftest.err
 1678:        } && test -s conftest.$ac_objext; then :
 1679:   ac_retval=0
 1680: else
 1681:   $as_echo "$as_me: failed program was:" >&5
 1682: sed 's/^/| /' conftest.$ac_ext >&5
 1683: 
 1684:     ac_retval=1
 1685: fi
 1686:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1687:   as_fn_set_status $ac_retval
 1688: 
 1689: } # ac_fn_fc_try_compile
 1690: 
 1691: # ac_fn_c_try_cpp LINENO
 1692: # ----------------------
 1693: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1694: ac_fn_c_try_cpp ()
 1695: {
 1696:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1697:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1698: case "(($ac_try" in
 1699:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1700:   *) ac_try_echo=$ac_try;;
 1701: esac
 1702: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1703: $as_echo "$ac_try_echo"; } >&5
 1704:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1705:   ac_status=$?
 1706:   if test -s conftest.err; then
 1707:     grep -v '^ *+' conftest.err >conftest.er1
 1708:     cat conftest.er1 >&5
 1709:     mv -f conftest.er1 conftest.err
 1710:   fi
 1711:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1712:   test $ac_status = 0; } >/dev/null && {
 1713:      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1714:      test ! -s conftest.err
 1715:        }; then :
 1716:   ac_retval=0
 1717: else
 1718:   $as_echo "$as_me: failed program was:" >&5
 1719: sed 's/^/| /' conftest.$ac_ext >&5
 1720: 
 1721:     ac_retval=1
 1722: fi
 1723:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1724:   as_fn_set_status $ac_retval
 1725: 
 1726: } # ac_fn_c_try_cpp
 1727: 
 1728: # ac_fn_c_try_link LINENO
 1729: # -----------------------
 1730: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1731: ac_fn_c_try_link ()
 1732: {
 1733:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1734:   rm -f conftest.$ac_objext conftest$ac_exeext
 1735:   if { { ac_try="$ac_link"
 1736: case "(($ac_try" in
 1737:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1738:   *) ac_try_echo=$ac_try;;
 1739: esac
 1740: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1741: $as_echo "$ac_try_echo"; } >&5
 1742:   (eval "$ac_link") 2>conftest.err
 1743:   ac_status=$?
 1744:   if test -s conftest.err; then
 1745:     grep -v '^ *+' conftest.err >conftest.er1
 1746:     cat conftest.er1 >&5
 1747:     mv -f conftest.er1 conftest.err
 1748:   fi
 1749:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1750:   test $ac_status = 0; } && {
 1751:      test -z "$ac_c_werror_flag" ||
 1752:      test ! -s conftest.err
 1753:        } && test -s conftest$ac_exeext && {
 1754:      test "$cross_compiling" = yes ||
 1755:      $as_test_x conftest$ac_exeext
 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:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1765:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1766:   # interfere with the next link command; also delete a directory that is
 1767:   # left behind by Apple's compiler.  We do this before executing the actions.
 1768:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1769:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1770:   as_fn_set_status $ac_retval
 1771: 
 1772: } # ac_fn_c_try_link
 1773: 
 1774: # ac_fn_c_check_func LINENO FUNC VAR
 1775: # ----------------------------------
 1776: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1777: ac_fn_c_check_func ()
 1778: {
 1779:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1780:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1781: $as_echo_n "checking for $2... " >&6; }
 1782: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 1783:   $as_echo_n "(cached) " >&6
 1784: else
 1785:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1786: /* end confdefs.h.  */
 1787: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1788:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1789: #define $2 innocuous_$2
 1790: 
 1791: /* System header to define __stub macros and hopefully few prototypes,
 1792:     which can conflict with char $2 (); below.
 1793:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1794:     <limits.h> exists even on freestanding compilers.  */
 1795: 
 1796: #ifdef __STDC__
 1797: # include <limits.h>
 1798: #else
 1799: # include <assert.h>
 1800: #endif
 1801: 
 1802: #undef $2
 1803: 
 1804: /* Override any GCC internal prototype to avoid an error.
 1805:    Use char because int might match the return type of a GCC
 1806:    builtin and then its argument prototype would still apply.  */
 1807: #ifdef __cplusplus
 1808: extern "C"
 1809: #endif
 1810: char $2 ();
 1811: /* The GNU C library defines this for functions which it implements
 1812:     to always fail with ENOSYS.  Some functions are actually named
 1813:     something starting with __ and the normal name is an alias.  */
 1814: #if defined __stub_$2 || defined __stub___$2
 1815: choke me
 1816: #endif
 1817: 
 1818: int
 1819: main ()
 1820: {
 1821: return $2 ();
 1822:   ;
 1823:   return 0;
 1824: }
 1825: _ACEOF
 1826: if ac_fn_c_try_link "$LINENO"; then :
 1827:   eval "$3=yes"
 1828: else
 1829:   eval "$3=no"
 1830: fi
 1831: rm -f core conftest.err conftest.$ac_objext \
 1832:     conftest$ac_exeext conftest.$ac_ext
 1833: fi
 1834: eval ac_res=\$$3
 1835:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1836: $as_echo "$ac_res" >&6; }
 1837:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1838: 
 1839: } # ac_fn_c_check_func
 1840: 
 1841: # ac_fn_c_try_run LINENO
 1842: # ----------------------
 1843: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1844: # that executables *can* be run.
 1845: ac_fn_c_try_run ()
 1846: {
 1847:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1848:   if { { ac_try="$ac_link"
 1849: case "(($ac_try" in
 1850:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1851:   *) ac_try_echo=$ac_try;;
 1852: esac
 1853: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1854: $as_echo "$ac_try_echo"; } >&5
 1855:   (eval "$ac_link") 2>&5
 1856:   ac_status=$?
 1857:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1858:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1859:   { { case "(($ac_try" in
 1860:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1861:   *) ac_try_echo=$ac_try;;
 1862: esac
 1863: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1864: $as_echo "$ac_try_echo"; } >&5
 1865:   (eval "$ac_try") 2>&5
 1866:   ac_status=$?
 1867:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1868:   test $ac_status = 0; }; }; then :
 1869:   ac_retval=0
 1870: else
 1871:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1872:        $as_echo "$as_me: failed program was:" >&5
 1873: sed 's/^/| /' conftest.$ac_ext >&5
 1874: 
 1875:        ac_retval=$ac_status
 1876: fi
 1877:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1878:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 1879:   as_fn_set_status $ac_retval
 1880: 
 1881: } # ac_fn_c_try_run
 1882: 
 1883: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1884: # --------------------------------------------
 1885: # Tries to find the compile-time value of EXPR in a program that includes
 1886: # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1887: # computed
 1888: ac_fn_c_compute_int ()
 1889: {
 1890:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1891:   if test "$cross_compiling" = yes; then
 1892:     # Depending upon the size, compute the lo and hi bounds.
 1893: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1894: /* end confdefs.h.  */
 1895: $4
 1896: int
 1897: main ()
 1898: {
 1899: static int test_array [1 - 2 * !(($2) >= 0)];
 1900: test_array [0] = 0
 1901: 
 1902:   ;
 1903:   return 0;
 1904: }
 1905: _ACEOF
 1906: if ac_fn_c_try_compile "$LINENO"; then :
 1907:   ac_lo=0 ac_mid=0
 1908:   while :; do
 1909:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1910: /* end confdefs.h.  */
 1911: $4
 1912: int
 1913: main ()
 1914: {
 1915: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1916: test_array [0] = 0
 1917: 
 1918:   ;
 1919:   return 0;
 1920: }
 1921: _ACEOF
 1922: if ac_fn_c_try_compile "$LINENO"; then :
 1923:   ac_hi=$ac_mid; break
 1924: else
 1925:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 1926:             if test $ac_lo -le $ac_mid; then
 1927:               ac_lo= ac_hi=
 1928:               break
 1929:             fi
 1930:             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 1931: fi
 1932: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1933:   done
 1934: else
 1935:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1936: /* end confdefs.h.  */
 1937: $4
 1938: int
 1939: main ()
 1940: {
 1941: static int test_array [1 - 2 * !(($2) < 0)];
 1942: test_array [0] = 0
 1943: 
 1944:   ;
 1945:   return 0;
 1946: }
 1947: _ACEOF
 1948: if ac_fn_c_try_compile "$LINENO"; then :
 1949:   ac_hi=-1 ac_mid=-1
 1950:   while :; do
 1951:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1952: /* end confdefs.h.  */
 1953: $4
 1954: int
 1955: main ()
 1956: {
 1957: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 1958: test_array [0] = 0
 1959: 
 1960:   ;
 1961:   return 0;
 1962: }
 1963: _ACEOF
 1964: if ac_fn_c_try_compile "$LINENO"; then :
 1965:   ac_lo=$ac_mid; break
 1966: else
 1967:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 1968:             if test $ac_mid -le $ac_hi; then
 1969:               ac_lo= ac_hi=
 1970:               break
 1971:             fi
 1972:             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 1973: fi
 1974: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1975:   done
 1976: else
 1977:   ac_lo= ac_hi=
 1978: fi
 1979: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1980: fi
 1981: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1982: # Binary search between lo and hi bounds.
 1983: while test "x$ac_lo" != "x$ac_hi"; do
 1984:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 1985:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1986: /* end confdefs.h.  */
 1987: $4
 1988: int
 1989: main ()
 1990: {
 1991: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1992: test_array [0] = 0
 1993: 
 1994:   ;
 1995:   return 0;
 1996: }
 1997: _ACEOF
 1998: if ac_fn_c_try_compile "$LINENO"; then :
 1999:   ac_hi=$ac_mid
 2000: else
 2001:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 2002: fi
 2003: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2004: done
 2005: case $ac_lo in #((
 2006: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 2007: '') ac_retval=1 ;;
 2008: esac
 2009:   else
 2010:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2011: /* end confdefs.h.  */
 2012: $4
 2013: static long int longval () { return $2; }
 2014: static unsigned long int ulongval () { return $2; }
 2015: #include <stdio.h>
 2016: #include <stdlib.h>
 2017: int
 2018: main ()
 2019: {
 2020: 
 2021:   FILE *f = fopen ("conftest.val", "w");
 2022:   if (! f)
 2023:     return 1;
 2024:   if (($2) < 0)
 2025:     {
 2026:       long int i = longval ();
 2027:       if (i != ($2))
 2028:     return 1;
 2029:       fprintf (f, "%ld", i);
 2030:     }
 2031:   else
 2032:     {
 2033:       unsigned long int i = ulongval ();
 2034:       if (i != ($2))
 2035:     return 1;
 2036:       fprintf (f, "%lu", i);
 2037:     }
 2038:   /* Do not output a trailing newline, as this causes \r\n confusion
 2039:      on some platforms.  */
 2040:   return ferror (f) || fclose (f) != 0;
 2041: 
 2042:   ;
 2043:   return 0;
 2044: }
 2045: _ACEOF
 2046: if ac_fn_c_try_run "$LINENO"; then :
 2047:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 2048: else
 2049:   ac_retval=1
 2050: fi
 2051: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 2052:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 2053: rm -f conftest.val
 2054: 
 2055:   fi
 2056:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2057:   as_fn_set_status $ac_retval
 2058: 
 2059: } # ac_fn_c_compute_int
 2060: 
 2061: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 2062: # -------------------------------------------------------
 2063: # Tests whether HEADER exists and can be compiled using the include files in
 2064: # INCLUDES, setting the cache variable VAR accordingly.
 2065: ac_fn_c_check_header_compile ()
 2066: {
 2067:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2068:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2069: $as_echo_n "checking for $2... " >&6; }
 2070: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2071:   $as_echo_n "(cached) " >&6
 2072: else
 2073:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2074: /* end confdefs.h.  */
 2075: $4
 2076: #include <$2>
 2077: _ACEOF
 2078: if ac_fn_c_try_compile "$LINENO"; then :
 2079:   eval "$3=yes"
 2080: else
 2081:   eval "$3=no"
 2082: fi
 2083: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2084: fi
 2085: eval ac_res=\$$3
 2086:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2087: $as_echo "$ac_res" >&6; }
 2088:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2089: 
 2090: } # ac_fn_c_check_header_compile
 2091: 
 2092: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 2093: # -------------------------------------------------------
 2094: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 2095: # the include files in INCLUDES and setting the cache variable VAR
 2096: # accordingly.
 2097: ac_fn_c_check_header_mongrel ()
 2098: {
 2099:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2100:   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2101:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2102: $as_echo_n "checking for $2... " >&6; }
 2103: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2104:   $as_echo_n "(cached) " >&6
 2105: fi
 2106: eval ac_res=\$$3
 2107:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2108: $as_echo "$ac_res" >&6; }
 2109: else
 2110:   # Is the header compilable?
 2111: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 2112: $as_echo_n "checking $2 usability... " >&6; }
 2113: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2114: /* end confdefs.h.  */
 2115: $4
 2116: #include <$2>
 2117: _ACEOF
 2118: if ac_fn_c_try_compile "$LINENO"; then :
 2119:   ac_header_compiler=yes
 2120: else
 2121:   ac_header_compiler=no
 2122: fi
 2123: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2124: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 2125: $as_echo "$ac_header_compiler" >&6; }
 2126: 
 2127: # Is the header present?
 2128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 2129: $as_echo_n "checking $2 presence... " >&6; }
 2130: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2131: /* end confdefs.h.  */
 2132: #include <$2>
 2133: _ACEOF
 2134: if ac_fn_c_try_cpp "$LINENO"; then :
 2135:   ac_header_preproc=yes
 2136: else
 2137:   ac_header_preproc=no
 2138: fi
 2139: rm -f conftest.err conftest.$ac_ext
 2140: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 2141: $as_echo "$ac_header_preproc" >&6; }
 2142: 
 2143: # So?  What about this header?
 2144: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 2145:   yes:no: )
 2146:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 2147: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 2148:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2149: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2150:     ;;
 2151:   no:yes:* )
 2152:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 2153: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 2154:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 2155: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 2156:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 2157: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 2158:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 2159: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 2160:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 2161: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 2162:     ;;
 2163: esac
 2164:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2165: $as_echo_n "checking for $2... " >&6; }
 2166: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2167:   $as_echo_n "(cached) " >&6
 2168: else
 2169:   eval "$3=\$ac_header_compiler"
 2170: fi
 2171: eval ac_res=\$$3
 2172:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2173: $as_echo "$ac_res" >&6; }
 2174: fi
 2175:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2176: 
 2177: } # ac_fn_c_check_header_mongrel
 2178: 
 2179: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 2180: # -------------------------------------------
 2181: # Tests whether TYPE exists after having included INCLUDES, setting cache
 2182: # variable VAR accordingly.
 2183: ac_fn_c_check_type ()
 2184: {
 2185:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2186:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2187: $as_echo_n "checking for $2... " >&6; }
 2188: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 2189:   $as_echo_n "(cached) " >&6
 2190: else
 2191:   eval "$3=no"
 2192:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2193: /* end confdefs.h.  */
 2194: $4
 2195: int
 2196: main ()
 2197: {
 2198: if (sizeof ($2))
 2199:      return 0;
 2200:   ;
 2201:   return 0;
 2202: }
 2203: _ACEOF
 2204: if ac_fn_c_try_compile "$LINENO"; then :
 2205:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2206: /* end confdefs.h.  */
 2207: $4
 2208: int
 2209: main ()
 2210: {
 2211: if (sizeof (($2)))
 2212:         return 0;
 2213:   ;
 2214:   return 0;
 2215: }
 2216: _ACEOF
 2217: if ac_fn_c_try_compile "$LINENO"; then :
 2218: 
 2219: else
 2220:   eval "$3=yes"
 2221: fi
 2222: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2223: fi
 2224: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2225: fi
 2226: eval ac_res=\$$3
 2227:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2228: $as_echo "$ac_res" >&6; }
 2229:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 2230: 
 2231: } # ac_fn_c_check_type
 2232: cat >config.log <<_ACEOF
 2233: This file contains any messages produced by compilers while
 2234: running configure, to aid debugging if configure makes a mistake.
 2235: 
 2236: It was created by rpl $as_me 4.0.13, which was
 2237: generated by GNU Autoconf 2.65.  Invocation command line was
 2238: 
 2239:   $ $0 $@
 2240: 
 2241: _ACEOF
 2242: exec 5>>config.log
 2243: {
 2244: cat <<_ASUNAME
 2245: ## --------- ##
 2246: ## Platform. ##
 2247: ## --------- ##
 2248: 
 2249: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2250: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2251: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2252: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2253: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2254: 
 2255: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2256: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2257: 
 2258: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2259: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2260: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2261: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2262: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2263: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2264: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2265: 
 2266: _ASUNAME
 2267: 
 2268: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2269: for as_dir in $PATH
 2270: do
 2271:   IFS=$as_save_IFS
 2272:   test -z "$as_dir" && as_dir=.
 2273:     $as_echo "PATH: $as_dir"
 2274:   done
 2275: IFS=$as_save_IFS
 2276: 
 2277: } >&5
 2278: 
 2279: cat >&5 <<_ACEOF
 2280: 
 2281: 
 2282: ## ----------- ##
 2283: ## Core tests. ##
 2284: ## ----------- ##
 2285: 
 2286: _ACEOF
 2287: 
 2288: 
 2289: # Keep a trace of the command line.
 2290: # Strip out --no-create and --no-recursion so they do not pile up.
 2291: # Strip out --silent because we don't want to record it for future runs.
 2292: # Also quote any args containing shell meta-characters.
 2293: # Make two passes to allow for proper duplicate-argument suppression.
 2294: ac_configure_args=
 2295: ac_configure_args0=
 2296: ac_configure_args1=
 2297: ac_must_keep_next=false
 2298: for ac_pass in 1 2
 2299: do
 2300:   for ac_arg
 2301:   do
 2302:     case $ac_arg in
 2303:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2304:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2305:     | -silent | --silent | --silen | --sile | --sil)
 2306:       continue ;;
 2307:     *\'*)
 2308:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2309:     esac
 2310:     case $ac_pass in
 2311:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2312:     2)
 2313:       as_fn_append ac_configure_args1 " '$ac_arg'"
 2314:       if test $ac_must_keep_next = true; then
 2315:     ac_must_keep_next=false # Got value, back to normal.
 2316:       else
 2317:     case $ac_arg in
 2318:       *=* | --config-cache | -C | -disable-* | --disable-* \
 2319:       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2320:       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2321:       | -with-* | --with-* | -without-* | --without-* | --x)
 2322:         case "$ac_configure_args0 " in
 2323:           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2324:         esac
 2325:         ;;
 2326:       -* ) ac_must_keep_next=true ;;
 2327:     esac
 2328:       fi
 2329:       as_fn_append ac_configure_args " '$ac_arg'"
 2330:       ;;
 2331:     esac
 2332:   done
 2333: done
 2334: { ac_configure_args0=; unset ac_configure_args0;}
 2335: { ac_configure_args1=; unset ac_configure_args1;}
 2336: 
 2337: # When interrupted or exit'd, cleanup temporary files, and complete
 2338: # config.log.  We remove comments because anyway the quotes in there
 2339: # would cause problems or look ugly.
 2340: # WARNING: Use '\'' to represent an apostrophe within the trap.
 2341: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2342: trap 'exit_status=$?
 2343:   # Save into config.log some information that might help in debugging.
 2344:   {
 2345:     echo
 2346: 
 2347:     cat <<\_ASBOX
 2348: ## ---------------- ##
 2349: ## Cache variables. ##
 2350: ## ---------------- ##
 2351: _ASBOX
 2352:     echo
 2353:     # The following way of writing the cache mishandles newlines in values,
 2354: (
 2355:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2356:     eval ac_val=\$$ac_var
 2357:     case $ac_val in #(
 2358:     *${as_nl}*)
 2359:       case $ac_var in #(
 2360:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2361: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2362:       esac
 2363:       case $ac_var in #(
 2364:       _ | IFS | as_nl) ;; #(
 2365:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2366:       *) { eval $ac_var=; unset $ac_var;} ;;
 2367:       esac ;;
 2368:     esac
 2369:   done
 2370:   (set) 2>&1 |
 2371:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2372:     *${as_nl}ac_space=\ *)
 2373:       sed -n \
 2374:     "s/'\''/'\''\\\\'\'''\''/g;
 2375:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2376:       ;; #(
 2377:     *)
 2378:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2379:       ;;
 2380:     esac |
 2381:     sort
 2382: )
 2383:     echo
 2384: 
 2385:     cat <<\_ASBOX
 2386: ## ----------------- ##
 2387: ## Output variables. ##
 2388: ## ----------------- ##
 2389: _ASBOX
 2390:     echo
 2391:     for ac_var in $ac_subst_vars
 2392:     do
 2393:       eval ac_val=\$$ac_var
 2394:       case $ac_val in
 2395:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2396:       esac
 2397:       $as_echo "$ac_var='\''$ac_val'\''"
 2398:     done | sort
 2399:     echo
 2400: 
 2401:     if test -n "$ac_subst_files"; then
 2402:       cat <<\_ASBOX
 2403: ## ------------------- ##
 2404: ## File substitutions. ##
 2405: ## ------------------- ##
 2406: _ASBOX
 2407:       echo
 2408:       for ac_var in $ac_subst_files
 2409:       do
 2410:     eval ac_val=\$$ac_var
 2411:     case $ac_val in
 2412:     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2413:     esac
 2414:     $as_echo "$ac_var='\''$ac_val'\''"
 2415:       done | sort
 2416:       echo
 2417:     fi
 2418: 
 2419:     if test -s confdefs.h; then
 2420:       cat <<\_ASBOX
 2421: ## ----------- ##
 2422: ## confdefs.h. ##
 2423: ## ----------- ##
 2424: _ASBOX
 2425:       echo
 2426:       cat confdefs.h
 2427:       echo
 2428:     fi
 2429:     test "$ac_signal" != 0 &&
 2430:       $as_echo "$as_me: caught signal $ac_signal"
 2431:     $as_echo "$as_me: exit $exit_status"
 2432:   } >&5
 2433:   rm -f core *.core core.conftest.* &&
 2434:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2435:     exit $exit_status
 2436: ' 0
 2437: for ac_signal in 1 2 13 15; do
 2438:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2439: done
 2440: ac_signal=0
 2441: 
 2442: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2443: rm -f -r conftest* confdefs.h
 2444: 
 2445: $as_echo "/* confdefs.h */" > confdefs.h
 2446: 
 2447: # Predefined preprocessor variables.
 2448: 
 2449: cat >>confdefs.h <<_ACEOF
 2450: #define PACKAGE_NAME "$PACKAGE_NAME"
 2451: _ACEOF
 2452: 
 2453: cat >>confdefs.h <<_ACEOF
 2454: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2455: _ACEOF
 2456: 
 2457: cat >>confdefs.h <<_ACEOF
 2458: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2459: _ACEOF
 2460: 
 2461: cat >>confdefs.h <<_ACEOF
 2462: #define PACKAGE_STRING "$PACKAGE_STRING"
 2463: _ACEOF
 2464: 
 2465: cat >>confdefs.h <<_ACEOF
 2466: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2467: _ACEOF
 2468: 
 2469: cat >>confdefs.h <<_ACEOF
 2470: #define PACKAGE_URL "$PACKAGE_URL"
 2471: _ACEOF
 2472: 
 2473: 
 2474: # Let the site file select an alternate cache file if it wants to.
 2475: # Prefer an explicitly selected file to automatically selected ones.
 2476: ac_site_file1=NONE
 2477: ac_site_file2=NONE
 2478: if test -n "$CONFIG_SITE"; then
 2479:   ac_site_file1=$CONFIG_SITE
 2480: elif test "x$prefix" != xNONE; then
 2481:   ac_site_file1=$prefix/share/config.site
 2482:   ac_site_file2=$prefix/etc/config.site
 2483: else
 2484:   ac_site_file1=$ac_default_prefix/share/config.site
 2485:   ac_site_file2=$ac_default_prefix/etc/config.site
 2486: fi
 2487: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2488: do
 2489:   test "x$ac_site_file" = xNONE && continue
 2490:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2491:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2492: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2493:     sed 's/^/| /' "$ac_site_file" >&5
 2494:     . "$ac_site_file"
 2495:   fi
 2496: done
 2497: 
 2498: if test -r "$cache_file"; then
 2499:   # Some versions of bash will fail to source /dev/null (special files
 2500:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2501:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2502:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2503: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2504:     case $cache_file in
 2505:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2506:       *)                      . "./$cache_file";;
 2507:     esac
 2508:   fi
 2509: else
 2510:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2511: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2512:   >$cache_file
 2513: fi
 2514: 
 2515: # Check that the precious variables saved in the cache have kept the same
 2516: # value.
 2517: ac_cache_corrupted=false
 2518: for ac_var in $ac_precious_vars; do
 2519:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2520:   eval ac_new_set=\$ac_env_${ac_var}_set
 2521:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2522:   eval ac_new_val=\$ac_env_${ac_var}_value
 2523:   case $ac_old_set,$ac_new_set in
 2524:     set,)
 2525:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2526: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2527:       ac_cache_corrupted=: ;;
 2528:     ,set)
 2529:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2530: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2531:       ac_cache_corrupted=: ;;
 2532:     ,);;
 2533:     *)
 2534:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2535:     # differences in whitespace do not lead to failure.
 2536:     ac_old_val_w=`echo x $ac_old_val`
 2537:     ac_new_val_w=`echo x $ac_new_val`
 2538:     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2539:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2540: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2541:       ac_cache_corrupted=:
 2542:     else
 2543:       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2544: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2545:       eval $ac_var=\$ac_old_val
 2546:     fi
 2547:     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2548: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2549:     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2550: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2551:       fi;;
 2552:   esac
 2553:   # Pass precious variables to config.status.
 2554:   if test "$ac_new_set" = set; then
 2555:     case $ac_new_val in
 2556:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2557:     *) ac_arg=$ac_var=$ac_new_val ;;
 2558:     esac
 2559:     case " $ac_configure_args " in
 2560:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2561:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2562:     esac
 2563:   fi
 2564: done
 2565: if $ac_cache_corrupted; then
 2566:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2567: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2568:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2569: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2570:   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2571: fi
 2572: ## -------------------- ##
 2573: ## Main body of script. ##
 2574: ## -------------------- ##
 2575: 
 2576: ac_ext=c
 2577: ac_cpp='$CPP $CPPFLAGS'
 2578: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2579: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2580: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2581: 
 2582: 
 2583: ac_aux_dir=
 2584: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2585:   for ac_t in install-sh install.sh shtool; do
 2586:     if test -f "$ac_dir/$ac_t"; then
 2587:       ac_aux_dir=$ac_dir
 2588:       ac_install_sh="$ac_aux_dir/$ac_t -c"
 2589:       break 2
 2590:     fi
 2591:   done
 2592: done
 2593: if test -z "$ac_aux_dir"; then
 2594:   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2595: fi
 2596: 
 2597: # These three variables are undocumented and unsupported,
 2598: # and are intended to be withdrawn in a future Autoconf release.
 2599: # They can cause serious problems if a builder's source tree is in a directory
 2600: # whose full name contains unusual characters.
 2601: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2602: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2603: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2604: 
 2605: 
 2606: # Make sure we can run config.sub.
 2607: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2608:   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2609: 
 2610: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2611: $as_echo_n "checking build system type... " >&6; }
 2612: if test "${ac_cv_build+set}" = set; then :
 2613:   $as_echo_n "(cached) " >&6
 2614: else
 2615:   ac_build_alias=$build_alias
 2616: test "x$ac_build_alias" = x &&
 2617:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2618: test "x$ac_build_alias" = x &&
 2619:   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 2620: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2621:   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2622: 
 2623: fi
 2624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2625: $as_echo "$ac_cv_build" >&6; }
 2626: case $ac_cv_build in
 2627: *-*-*) ;;
 2628: *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 2629: esac
 2630: build=$ac_cv_build
 2631: ac_save_IFS=$IFS; IFS='-'
 2632: set x $ac_cv_build
 2633: shift
 2634: build_cpu=$1
 2635: build_vendor=$2
 2636: shift; shift
 2637: # Remember, the first character of IFS is used to create $*,
 2638: # except with old shells:
 2639: build_os=$*
 2640: IFS=$ac_save_IFS
 2641: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2642: 
 2643: 
 2644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2645: $as_echo_n "checking host system type... " >&6; }
 2646: if test "${ac_cv_host+set}" = set; then :
 2647:   $as_echo_n "(cached) " >&6
 2648: else
 2649:   if test "x$host_alias" = x; then
 2650:   ac_cv_host=$ac_cv_build
 2651: else
 2652:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2653:     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2654: fi
 2655: 
 2656: fi
 2657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2658: $as_echo "$ac_cv_host" >&6; }
 2659: case $ac_cv_host in
 2660: *-*-*) ;;
 2661: *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 2662: esac
 2663: host=$ac_cv_host
 2664: ac_save_IFS=$IFS; IFS='-'
 2665: set x $ac_cv_host
 2666: shift
 2667: host_cpu=$1
 2668: host_vendor=$2
 2669: shift; shift
 2670: # Remember, the first character of IFS is used to create $*,
 2671: # except with old shells:
 2672: host_os=$*
 2673: IFS=$ac_save_IFS
 2674: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2675: 
 2676: 
 2677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 2678: $as_echo_n "checking target system type... " >&6; }
 2679: if test "${ac_cv_target+set}" = set; then :
 2680:   $as_echo_n "(cached) " >&6
 2681: else
 2682:   if test "x$target_alias" = x; then
 2683:   ac_cv_target=$ac_cv_host
 2684: else
 2685:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2686:     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 2687: fi
 2688: 
 2689: fi
 2690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 2691: $as_echo "$ac_cv_target" >&6; }
 2692: case $ac_cv_target in
 2693: *-*-*) ;;
 2694: *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 2695: esac
 2696: target=$ac_cv_target
 2697: ac_save_IFS=$IFS; IFS='-'
 2698: set x $ac_cv_target
 2699: shift
 2700: target_cpu=$1
 2701: target_vendor=$2
 2702: shift; shift
 2703: # Remember, the first character of IFS is used to create $*,
 2704: # except with old shells:
 2705: target_os=$*
 2706: IFS=$ac_save_IFS
 2707: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2708: 
 2709: 
 2710: # The aliases save the names the user supplied, while $host etc.
 2711: # will get canonicalized.
 2712: test -n "$target_alias" &&
 2713:   test "$program_prefix$program_suffix$program_transform_name" = \
 2714:     NONENONEs,x,x, &&
 2715:   program_prefix=${target_alias}-
 2716: 
 2717: am__api_version='1.11'
 2718: 
 2719: # Find a good install program.  We prefer a C program (faster),
 2720: # so one script is as good as another.  But avoid the broken or
 2721: # incompatible versions:
 2722: # SysV /etc/install, /usr/sbin/install
 2723: # SunOS /usr/etc/install
 2724: # IRIX /sbin/install
 2725: # AIX /bin/install
 2726: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2727: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2728: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2729: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2730: # OS/2's system install, which has a completely different semantic
 2731: # ./install, which can be erroneously created by make from ./install.sh.
 2732: # Reject install programs that cannot install multiple files.
 2733: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2734: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2735: if test -z "$INSTALL"; then
 2736: if test "${ac_cv_path_install+set}" = set; then :
 2737:   $as_echo_n "(cached) " >&6
 2738: else
 2739:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2740: for as_dir in $PATH
 2741: do
 2742:   IFS=$as_save_IFS
 2743:   test -z "$as_dir" && as_dir=.
 2744:     # Account for people who put trailing slashes in PATH elements.
 2745: case $as_dir/ in #((
 2746:   ./ | .// | /[cC]/* | \
 2747:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2748:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2749:   /usr/ucb/* ) ;;
 2750:   *)
 2751:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2752:     # Don't use installbsd from OSF since it installs stuff as root
 2753:     # by default.
 2754:     for ac_prog in ginstall scoinst install; do
 2755:       for ac_exec_ext in '' $ac_executable_extensions; do
 2756:     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2757:       if test $ac_prog = install &&
 2758:         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2759:         # AIX install.  It has an incompatible calling convention.
 2760:         :
 2761:       elif test $ac_prog = install &&
 2762:         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2763:         # program-specific install script used by HP pwplus--don't use.
 2764:         :
 2765:       else
 2766:         rm -rf conftest.one conftest.two conftest.dir
 2767:         echo one > conftest.one
 2768:         echo two > conftest.two
 2769:         mkdir conftest.dir
 2770:         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2771:           test -s conftest.one && test -s conftest.two &&
 2772:           test -s conftest.dir/conftest.one &&
 2773:           test -s conftest.dir/conftest.two
 2774:         then
 2775:           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2776:           break 3
 2777:         fi
 2778:       fi
 2779:     fi
 2780:       done
 2781:     done
 2782:     ;;
 2783: esac
 2784: 
 2785:   done
 2786: IFS=$as_save_IFS
 2787: 
 2788: rm -rf conftest.one conftest.two conftest.dir
 2789: 
 2790: fi
 2791:   if test "${ac_cv_path_install+set}" = set; then
 2792:     INSTALL=$ac_cv_path_install
 2793:   else
 2794:     # As a last resort, use the slow shell script.  Don't cache a
 2795:     # value for INSTALL within a source directory, because that will
 2796:     # break other packages using the cache if that directory is
 2797:     # removed, or if the value is a relative name.
 2798:     INSTALL=$ac_install_sh
 2799:   fi
 2800: fi
 2801: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2802: $as_echo "$INSTALL" >&6; }
 2803: 
 2804: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2805: # It thinks the first close brace ends the variable substitution.
 2806: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2807: 
 2808: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2809: 
 2810: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2811: 
 2812: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2813: $as_echo_n "checking whether build environment is sane... " >&6; }
 2814: # Just in case
 2815: sleep 1
 2816: echo timestamp > conftest.file
 2817: # Reject unsafe characters in $srcdir or the absolute working directory
 2818: # name.  Accept space and tab only in the latter.
 2819: am_lf='
 2820: '
 2821: case `pwd` in
 2822:   *[\\\"\#\$\&\'\`$am_lf]*)
 2823:     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 2824: esac
 2825: case $srcdir in
 2826:   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2827:     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 2828: esac
 2829: 
 2830: # Do `set' in a subshell so we don't clobber the current shell's
 2831: # arguments.  Must try -L first in case configure is actually a
 2832: # symlink; some systems play weird games with the mod time of symlinks
 2833: # (eg FreeBSD returns the mod time of the symlink's containing
 2834: # directory).
 2835: if (
 2836:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2837:    if test "$*" = "X"; then
 2838:       # -L didn't work.
 2839:       set X `ls -t "$srcdir/configure" conftest.file`
 2840:    fi
 2841:    rm -f conftest.file
 2842:    if test "$*" != "X $srcdir/configure conftest.file" \
 2843:       && test "$*" != "X conftest.file $srcdir/configure"; then
 2844: 
 2845:       # If neither matched, then we have a broken ls.  This can happen
 2846:       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2847:       # broken ls alias from the environment.  This has actually
 2848:       # happened.  Such a system could not be considered "sane".
 2849:       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 2850: alias in your environment" "$LINENO" 5
 2851:    fi
 2852: 
 2853:    test "$2" = conftest.file
 2854:    )
 2855: then
 2856:    # Ok.
 2857:    :
 2858: else
 2859:    as_fn_error "newly created file is older than distributed files!
 2860: Check your system clock" "$LINENO" 5
 2861: fi
 2862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2863: $as_echo "yes" >&6; }
 2864: test "$program_prefix" != NONE &&
 2865:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2866: # Use a double $ so make ignores it.
 2867: test "$program_suffix" != NONE &&
 2868:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2869: # Double any \ or $.
 2870: # By default was `s,x,x', remove it if useless.
 2871: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2872: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2873: 
 2874: # expand $ac_aux_dir to an absolute path
 2875: am_aux_dir=`cd $ac_aux_dir && pwd`
 2876: 
 2877: if test x"${MISSING+set}" != xset; then
 2878:   case $am_aux_dir in
 2879:   *\ * | *\ *)
 2880:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2881:   *)
 2882:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2883:   esac
 2884: fi
 2885: # Use eval to expand $SHELL
 2886: if eval "$MISSING --run true"; then
 2887:   am_missing_run="$MISSING --run "
 2888: else
 2889:   am_missing_run=
 2890:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 2891: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2892: fi
 2893: 
 2894: if test x"${install_sh}" != xset; then
 2895:   case $am_aux_dir in
 2896:   *\ * | *\ *)
 2897:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2898:   *)
 2899:     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2900:   esac
 2901: fi
 2902: 
 2903: # Installed binaries are usually stripped using `strip' when the user
 2904: # run `make install-strip'.  However `strip' might not be the right
 2905: # tool to use in cross-compilation environments, therefore Automake
 2906: # will honor the `STRIP' environment variable to overrule this program.
 2907: if test "$cross_compiling" != no; then
 2908:   if test -n "$ac_tool_prefix"; then
 2909:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2910: set dummy ${ac_tool_prefix}strip; ac_word=$2
 2911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2912: $as_echo_n "checking for $ac_word... " >&6; }
 2913: if test "${ac_cv_prog_STRIP+set}" = set; then :
 2914:   $as_echo_n "(cached) " >&6
 2915: else
 2916:   if test -n "$STRIP"; then
 2917:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2918: else
 2919: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2920: for as_dir in $PATH
 2921: do
 2922:   IFS=$as_save_IFS
 2923:   test -z "$as_dir" && as_dir=.
 2924:     for ac_exec_ext in '' $ac_executable_extensions; do
 2925:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2926:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2927:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2928:     break 2
 2929:   fi
 2930: done
 2931:   done
 2932: IFS=$as_save_IFS
 2933: 
 2934: fi
 2935: fi
 2936: STRIP=$ac_cv_prog_STRIP
 2937: if test -n "$STRIP"; then
 2938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2939: $as_echo "$STRIP" >&6; }
 2940: else
 2941:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2942: $as_echo "no" >&6; }
 2943: fi
 2944: 
 2945: 
 2946: fi
 2947: if test -z "$ac_cv_prog_STRIP"; then
 2948:   ac_ct_STRIP=$STRIP
 2949:   # Extract the first word of "strip", so it can be a program name with args.
 2950: set dummy strip; ac_word=$2
 2951: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2952: $as_echo_n "checking for $ac_word... " >&6; }
 2953: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 2954:   $as_echo_n "(cached) " >&6
 2955: else
 2956:   if test -n "$ac_ct_STRIP"; then
 2957:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2958: else
 2959: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2960: for as_dir in $PATH
 2961: do
 2962:   IFS=$as_save_IFS
 2963:   test -z "$as_dir" && as_dir=.
 2964:     for ac_exec_ext in '' $ac_executable_extensions; do
 2965:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2966:     ac_cv_prog_ac_ct_STRIP="strip"
 2967:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2968:     break 2
 2969:   fi
 2970: done
 2971:   done
 2972: IFS=$as_save_IFS
 2973: 
 2974: fi
 2975: fi
 2976: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2977: if test -n "$ac_ct_STRIP"; then
 2978:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2979: $as_echo "$ac_ct_STRIP" >&6; }
 2980: else
 2981:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2982: $as_echo "no" >&6; }
 2983: fi
 2984: 
 2985:   if test "x$ac_ct_STRIP" = x; then
 2986:     STRIP=":"
 2987:   else
 2988:     case $cross_compiling:$ac_tool_warned in
 2989: yes:)
 2990: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2991: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2992: ac_tool_warned=yes ;;
 2993: esac
 2994:     STRIP=$ac_ct_STRIP
 2995:   fi
 2996: else
 2997:   STRIP="$ac_cv_prog_STRIP"
 2998: fi
 2999: 
 3000: fi
 3001: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 3002: 
 3003: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 3004: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 3005: if test -z "$MKDIR_P"; then
 3006:   if test "${ac_cv_path_mkdir+set}" = set; then :
 3007:   $as_echo_n "(cached) " >&6
 3008: else
 3009:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3010: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 3011: do
 3012:   IFS=$as_save_IFS
 3013:   test -z "$as_dir" && as_dir=.
 3014:     for ac_prog in mkdir gmkdir; do
 3015:      for ac_exec_ext in '' $ac_executable_extensions; do
 3016:        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 3017:        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 3018:          'mkdir (GNU coreutils) '* | \
 3019:          'mkdir (coreutils) '* | \
 3020:          'mkdir (fileutils) '4.1*)
 3021:            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 3022:            break 3;;
 3023:        esac
 3024:      done
 3025:        done
 3026:   done
 3027: IFS=$as_save_IFS
 3028: 
 3029: fi
 3030: 
 3031:   test -d ./--version && rmdir ./--version
 3032:   if test "${ac_cv_path_mkdir+set}" = set; then
 3033:     MKDIR_P="$ac_cv_path_mkdir -p"
 3034:   else
 3035:     # As a last resort, use the slow shell script.  Don't cache a
 3036:     # value for MKDIR_P within a source directory, because that will
 3037:     # break other packages using the cache if that directory is
 3038:     # removed, or if the value is a relative name.
 3039:     MKDIR_P="$ac_install_sh -d"
 3040:   fi
 3041: fi
 3042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 3043: $as_echo "$MKDIR_P" >&6; }
 3044: 
 3045: mkdir_p="$MKDIR_P"
 3046: case $mkdir_p in
 3047:   [\\/$]* | ?:[\\/]*) ;;
 3048:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 3049: esac
 3050: 
 3051: for ac_prog in gawk mawk nawk awk
 3052: do
 3053:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3054: set dummy $ac_prog; ac_word=$2
 3055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3056: $as_echo_n "checking for $ac_word... " >&6; }
 3057: if test "${ac_cv_prog_AWK+set}" = set; then :
 3058:   $as_echo_n "(cached) " >&6
 3059: else
 3060:   if test -n "$AWK"; then
 3061:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 3062: else
 3063: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3064: for as_dir in $PATH
 3065: do
 3066:   IFS=$as_save_IFS
 3067:   test -z "$as_dir" && as_dir=.
 3068:     for ac_exec_ext in '' $ac_executable_extensions; do
 3069:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3070:     ac_cv_prog_AWK="$ac_prog"
 3071:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3072:     break 2
 3073:   fi
 3074: done
 3075:   done
 3076: IFS=$as_save_IFS
 3077: 
 3078: fi
 3079: fi
 3080: AWK=$ac_cv_prog_AWK
 3081: if test -n "$AWK"; then
 3082:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 3083: $as_echo "$AWK" >&6; }
 3084: else
 3085:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3086: $as_echo "no" >&6; }
 3087: fi
 3088: 
 3089: 
 3090:   test -n "$AWK" && break
 3091: done
 3092: 
 3093: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3094: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 3095: set x ${MAKE-make}
 3096: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 3097: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 3098:   $as_echo_n "(cached) " >&6
 3099: else
 3100:   cat >conftest.make <<\_ACEOF
 3101: SHELL = /bin/sh
 3102: all:
 3103:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 3104: _ACEOF
 3105: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 3106: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 3107:   *@@@%%%=?*=@@@%%%*)
 3108:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 3109:   *)
 3110:     eval ac_cv_prog_make_${ac_make}_set=no;;
 3111: esac
 3112: rm -f conftest.make
 3113: fi
 3114: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 3115:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3116: $as_echo "yes" >&6; }
 3117:   SET_MAKE=
 3118: else
 3119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3120: $as_echo "no" >&6; }
 3121:   SET_MAKE="MAKE=${MAKE-make}"
 3122: fi
 3123: 
 3124: rm -rf .tst 2>/dev/null
 3125: mkdir .tst 2>/dev/null
 3126: if test -d .tst; then
 3127:   am__leading_dot=.
 3128: else
 3129:   am__leading_dot=_
 3130: fi
 3131: rmdir .tst 2>/dev/null
 3132: 
 3133: if test "`cd $srcdir && pwd`" != "`pwd`"; then
 3134:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 3135:   # is not polluted with repeated "-I."
 3136:   am__isrc=' -I$(srcdir)'
 3137:   # test to see if srcdir already configured
 3138:   if test -f $srcdir/config.status; then
 3139:     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 3140:   fi
 3141: fi
 3142: 
 3143: # test whether we have cygpath
 3144: if test -z "$CYGPATH_W"; then
 3145:   if (cygpath --version) >/dev/null 2>/dev/null; then
 3146:     CYGPATH_W='cygpath -w'
 3147:   else
 3148:     CYGPATH_W=echo
 3149:   fi
 3150: fi
 3151: 
 3152: 
 3153: # Define the identity of the package.
 3154:  PACKAGE='rpl'
 3155:  VERSION='4.0.13'
 3156: 
 3157: 
 3158: cat >>confdefs.h <<_ACEOF
 3159: #define PACKAGE "$PACKAGE"
 3160: _ACEOF
 3161: 
 3162: 
 3163: cat >>confdefs.h <<_ACEOF
 3164: #define VERSION "$VERSION"
 3165: _ACEOF
 3166: 
 3167: # Some tools Automake needs.
 3168: 
 3169: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 3170: 
 3171: 
 3172: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 3173: 
 3174: 
 3175: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 3176: 
 3177: 
 3178: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 3179: 
 3180: 
 3181: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 3182: 
 3183: # We need awk for the "check" target.  The system "awk" is bad on
 3184: # some platforms.
 3185: # Always define AMTAR for backward compatibility.
 3186: 
 3187: AMTAR=${AMTAR-"${am_missing_run}tar"}
 3188: 
 3189: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 3190: 
 3191: 
 3192: 
 3193: 
 3194: 
 3195: 
 3196: ac_config_headers="$ac_config_headers rplconfig.h"
 3197: 
 3198: 
 3199: NCURSES=ncurses-5.7-20100206
 3200: READLINE=readline-6.1
 3201: UNITS=units-1.87
 3202: GSL=gsl-1.13
 3203: GPP=gpp-2.24
 3204: GNUPLOT=gnuplot-4.2.6
 3205: FILE=file-5.03
 3206: ICONV=libiconv-1.13.1
 3207: SQLITE=sqlite-3.6.22
 3208: OPENSSL=openssl-0.9.8m
 3209: 
 3210: ac_ext=c
 3211: ac_cpp='$CPP $CPPFLAGS'
 3212: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3213: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3214: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3215: if test -n "$ac_tool_prefix"; then
 3216:   for ac_prog in gcc-4.4 gcc
 3217:   do
 3218:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3219: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3220: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3221: $as_echo_n "checking for $ac_word... " >&6; }
 3222: if test "${ac_cv_prog_CC+set}" = set; then :
 3223:   $as_echo_n "(cached) " >&6
 3224: else
 3225:   if test -n "$CC"; then
 3226:   ac_cv_prog_CC="$CC" # Let the user override the test.
 3227: else
 3228: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3229: for as_dir in $PATH
 3230: do
 3231:   IFS=$as_save_IFS
 3232:   test -z "$as_dir" && as_dir=.
 3233:     for ac_exec_ext in '' $ac_executable_extensions; do
 3234:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3235:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3236:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3237:     break 2
 3238:   fi
 3239: done
 3240:   done
 3241: IFS=$as_save_IFS
 3242: 
 3243: fi
 3244: fi
 3245: CC=$ac_cv_prog_CC
 3246: if test -n "$CC"; then
 3247:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3248: $as_echo "$CC" >&6; }
 3249: else
 3250:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3251: $as_echo "no" >&6; }
 3252: fi
 3253: 
 3254: 
 3255:     test -n "$CC" && break
 3256:   done
 3257: fi
 3258: if test -z "$CC"; then
 3259:   ac_ct_CC=$CC
 3260:   for ac_prog in gcc-4.4 gcc
 3261: do
 3262:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3263: set dummy $ac_prog; ac_word=$2
 3264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3265: $as_echo_n "checking for $ac_word... " >&6; }
 3266: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 3267:   $as_echo_n "(cached) " >&6
 3268: else
 3269:   if test -n "$ac_ct_CC"; then
 3270:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3271: else
 3272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3273: for as_dir in $PATH
 3274: do
 3275:   IFS=$as_save_IFS
 3276:   test -z "$as_dir" && as_dir=.
 3277:     for ac_exec_ext in '' $ac_executable_extensions; do
 3278:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3279:     ac_cv_prog_ac_ct_CC="$ac_prog"
 3280:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3281:     break 2
 3282:   fi
 3283: done
 3284:   done
 3285: IFS=$as_save_IFS
 3286: 
 3287: fi
 3288: fi
 3289: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3290: if test -n "$ac_ct_CC"; then
 3291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3292: $as_echo "$ac_ct_CC" >&6; }
 3293: else
 3294:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3295: $as_echo "no" >&6; }
 3296: fi
 3297: 
 3298: 
 3299:   test -n "$ac_ct_CC" && break
 3300: done
 3301: 
 3302:   if test "x$ac_ct_CC" = x; then
 3303:     CC=""
 3304:   else
 3305:     case $cross_compiling:$ac_tool_warned in
 3306: yes:)
 3307: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3308: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3309: ac_tool_warned=yes ;;
 3310: esac
 3311:     CC=$ac_ct_CC
 3312:   fi
 3313: fi
 3314: 
 3315: 
 3316: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3317: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3318: as_fn_error "no acceptable C compiler found in \$PATH
 3319: See \`config.log' for more details." "$LINENO" 5; }
 3320: 
 3321: # Provide some information about the compiler.
 3322: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3323: set X $ac_compile
 3324: ac_compiler=$2
 3325: for ac_option in --version -v -V -qversion; do
 3326:   { { ac_try="$ac_compiler $ac_option >&5"
 3327: case "(($ac_try" in
 3328:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3329:   *) ac_try_echo=$ac_try;;
 3330: esac
 3331: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3332: $as_echo "$ac_try_echo"; } >&5
 3333:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3334:   ac_status=$?
 3335:   if test -s conftest.err; then
 3336:     sed '10a\
 3337: ... rest of stderr output deleted ...
 3338:          10q' conftest.err >conftest.er1
 3339:     cat conftest.er1 >&5
 3340:   fi
 3341:   rm -f conftest.er1 conftest.err
 3342:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3343:   test $ac_status = 0; }
 3344: done
 3345: 
 3346: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3347: /* end confdefs.h.  */
 3348: 
 3349: int
 3350: main ()
 3351: {
 3352: 
 3353:   ;
 3354:   return 0;
 3355: }
 3356: _ACEOF
 3357: ac_clean_files_save=$ac_clean_files
 3358: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3359: # Try to create an executable without -o first, disregard a.out.
 3360: # It will help us diagnose broken compilers, and finding out an intuition
 3361: # of exeext.
 3362: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3363: $as_echo_n "checking whether the C compiler works... " >&6; }
 3364: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3365: 
 3366: # The possible output files:
 3367: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3368: 
 3369: ac_rmfiles=
 3370: for ac_file in $ac_files
 3371: do
 3372:   case $ac_file in
 3373:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3374:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3375:   esac
 3376: done
 3377: rm -f $ac_rmfiles
 3378: 
 3379: if { { ac_try="$ac_link_default"
 3380: case "(($ac_try" in
 3381:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3382:   *) ac_try_echo=$ac_try;;
 3383: esac
 3384: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3385: $as_echo "$ac_try_echo"; } >&5
 3386:   (eval "$ac_link_default") 2>&5
 3387:   ac_status=$?
 3388:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3389:   test $ac_status = 0; }; then :
 3390:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3391: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3392: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3393: # so that the user can short-circuit this test for compilers unknown to
 3394: # Autoconf.
 3395: for ac_file in $ac_files ''
 3396: do
 3397:   test -f "$ac_file" || continue
 3398:   case $ac_file in
 3399:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3400:     ;;
 3401:     [ab].out )
 3402:     # We found the default executable, but exeext='' is most
 3403:     # certainly right.
 3404:     break;;
 3405:     *.* )
 3406:     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3407:     then :; else
 3408:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3409:     fi
 3410:     # We set ac_cv_exeext here because the later test for it is not
 3411:     # safe: cross compilers may not add the suffix if given an `-o'
 3412:     # argument, so we may need to know it at that point already.
 3413:     # Even if this section looks crufty: it has the advantage of
 3414:     # actually working.
 3415:     break;;
 3416:     * )
 3417:     break;;
 3418:   esac
 3419: done
 3420: test "$ac_cv_exeext" = no && ac_cv_exeext=
 3421: 
 3422: else
 3423:   ac_file=''
 3424: fi
 3425: if test -z "$ac_file"; then :
 3426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3427: $as_echo "no" >&6; }
 3428: $as_echo "$as_me: failed program was:" >&5
 3429: sed 's/^/| /' conftest.$ac_ext >&5
 3430: 
 3431: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3432: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3433: { as_fn_set_status 77
 3434: as_fn_error "C compiler cannot create executables
 3435: See \`config.log' for more details." "$LINENO" 5; }; }
 3436: else
 3437:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3438: $as_echo "yes" >&6; }
 3439: fi
 3440: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3441: $as_echo_n "checking for C compiler default output file name... " >&6; }
 3442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3443: $as_echo "$ac_file" >&6; }
 3444: ac_exeext=$ac_cv_exeext
 3445: 
 3446: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3447: ac_clean_files=$ac_clean_files_save
 3448: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3449: $as_echo_n "checking for suffix of executables... " >&6; }
 3450: if { { ac_try="$ac_link"
 3451: case "(($ac_try" in
 3452:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3453:   *) ac_try_echo=$ac_try;;
 3454: esac
 3455: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3456: $as_echo "$ac_try_echo"; } >&5
 3457:   (eval "$ac_link") 2>&5
 3458:   ac_status=$?
 3459:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3460:   test $ac_status = 0; }; then :
 3461:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3462: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3463: # work properly (i.e., refer to `conftest.exe'), while it won't with
 3464: # `rm'.
 3465: for ac_file in conftest.exe conftest conftest.*; do
 3466:   test -f "$ac_file" || continue
 3467:   case $ac_file in
 3468:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3469:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3470:       break;;
 3471:     * ) break;;
 3472:   esac
 3473: done
 3474: else
 3475:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3476: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3477: as_fn_error "cannot compute suffix of executables: cannot compile and link
 3478: See \`config.log' for more details." "$LINENO" 5; }
 3479: fi
 3480: rm -f conftest conftest$ac_cv_exeext
 3481: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3482: $as_echo "$ac_cv_exeext" >&6; }
 3483: 
 3484: rm -f conftest.$ac_ext
 3485: EXEEXT=$ac_cv_exeext
 3486: ac_exeext=$EXEEXT
 3487: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3488: /* end confdefs.h.  */
 3489: #include <stdio.h>
 3490: int
 3491: main ()
 3492: {
 3493: FILE *f = fopen ("conftest.out", "w");
 3494:  return ferror (f) || fclose (f) != 0;
 3495: 
 3496:   ;
 3497:   return 0;
 3498: }
 3499: _ACEOF
 3500: ac_clean_files="$ac_clean_files conftest.out"
 3501: # Check that the compiler produces executables we can run.  If not, either
 3502: # the compiler is broken, or we cross compile.
 3503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3504: $as_echo_n "checking whether we are cross compiling... " >&6; }
 3505: if test "$cross_compiling" != yes; then
 3506:   { { ac_try="$ac_link"
 3507: case "(($ac_try" in
 3508:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3509:   *) ac_try_echo=$ac_try;;
 3510: esac
 3511: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3512: $as_echo "$ac_try_echo"; } >&5
 3513:   (eval "$ac_link") 2>&5
 3514:   ac_status=$?
 3515:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3516:   test $ac_status = 0; }
 3517:   if { ac_try='./conftest$ac_cv_exeext'
 3518:   { { case "(($ac_try" in
 3519:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3520:   *) ac_try_echo=$ac_try;;
 3521: esac
 3522: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3523: $as_echo "$ac_try_echo"; } >&5
 3524:   (eval "$ac_try") 2>&5
 3525:   ac_status=$?
 3526:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3527:   test $ac_status = 0; }; }; then
 3528:     cross_compiling=no
 3529:   else
 3530:     if test "$cross_compiling" = maybe; then
 3531:     cross_compiling=yes
 3532:     else
 3533:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3534: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3535: as_fn_error "cannot run C compiled programs.
 3536: If you meant to cross compile, use \`--host'.
 3537: See \`config.log' for more details." "$LINENO" 5; }
 3538:     fi
 3539:   fi
 3540: fi
 3541: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3542: $as_echo "$cross_compiling" >&6; }
 3543: 
 3544: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3545: ac_clean_files=$ac_clean_files_save
 3546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3547: $as_echo_n "checking for suffix of object files... " >&6; }
 3548: if test "${ac_cv_objext+set}" = set; then :
 3549:   $as_echo_n "(cached) " >&6
 3550: else
 3551:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3552: /* end confdefs.h.  */
 3553: 
 3554: int
 3555: main ()
 3556: {
 3557: 
 3558:   ;
 3559:   return 0;
 3560: }
 3561: _ACEOF
 3562: rm -f conftest.o conftest.obj
 3563: if { { ac_try="$ac_compile"
 3564: case "(($ac_try" in
 3565:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3566:   *) ac_try_echo=$ac_try;;
 3567: esac
 3568: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3569: $as_echo "$ac_try_echo"; } >&5
 3570:   (eval "$ac_compile") 2>&5
 3571:   ac_status=$?
 3572:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3573:   test $ac_status = 0; }; then :
 3574:   for ac_file in conftest.o conftest.obj conftest.*; do
 3575:   test -f "$ac_file" || continue;
 3576:   case $ac_file in
 3577:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3578:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3579:        break;;
 3580:   esac
 3581: done
 3582: else
 3583:   $as_echo "$as_me: failed program was:" >&5
 3584: sed 's/^/| /' conftest.$ac_ext >&5
 3585: 
 3586: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3587: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3588: as_fn_error "cannot compute suffix of object files: cannot compile
 3589: See \`config.log' for more details." "$LINENO" 5; }
 3590: fi
 3591: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3592: fi
 3593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3594: $as_echo "$ac_cv_objext" >&6; }
 3595: OBJEXT=$ac_cv_objext
 3596: ac_objext=$OBJEXT
 3597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3598: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3599: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 3600:   $as_echo_n "(cached) " >&6
 3601: else
 3602:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3603: /* end confdefs.h.  */
 3604: 
 3605: int
 3606: main ()
 3607: {
 3608: #ifndef __GNUC__
 3609:        choke me
 3610: #endif
 3611: 
 3612:   ;
 3613:   return 0;
 3614: }
 3615: _ACEOF
 3616: if ac_fn_c_try_compile "$LINENO"; then :
 3617:   ac_compiler_gnu=yes
 3618: else
 3619:   ac_compiler_gnu=no
 3620: fi
 3621: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3622: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3623: 
 3624: fi
 3625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3626: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3627: if test $ac_compiler_gnu = yes; then
 3628:   GCC=yes
 3629: else
 3630:   GCC=
 3631: fi
 3632: ac_test_CFLAGS=${CFLAGS+set}
 3633: ac_save_CFLAGS=$CFLAGS
 3634: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3635: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3636: if test "${ac_cv_prog_cc_g+set}" = set; then :
 3637:   $as_echo_n "(cached) " >&6
 3638: else
 3639:   ac_save_c_werror_flag=$ac_c_werror_flag
 3640:    ac_c_werror_flag=yes
 3641:    ac_cv_prog_cc_g=no
 3642:    CFLAGS="-g"
 3643:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3644: /* end confdefs.h.  */
 3645: 
 3646: int
 3647: main ()
 3648: {
 3649: 
 3650:   ;
 3651:   return 0;
 3652: }
 3653: _ACEOF
 3654: if ac_fn_c_try_compile "$LINENO"; then :
 3655:   ac_cv_prog_cc_g=yes
 3656: else
 3657:   CFLAGS=""
 3658:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3659: /* end confdefs.h.  */
 3660: 
 3661: int
 3662: main ()
 3663: {
 3664: 
 3665:   ;
 3666:   return 0;
 3667: }
 3668: _ACEOF
 3669: if ac_fn_c_try_compile "$LINENO"; then :
 3670: 
 3671: else
 3672:   ac_c_werror_flag=$ac_save_c_werror_flag
 3673:      CFLAGS="-g"
 3674:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3675: /* end confdefs.h.  */
 3676: 
 3677: int
 3678: main ()
 3679: {
 3680: 
 3681:   ;
 3682:   return 0;
 3683: }
 3684: _ACEOF
 3685: if ac_fn_c_try_compile "$LINENO"; then :
 3686:   ac_cv_prog_cc_g=yes
 3687: fi
 3688: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3689: fi
 3690: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3691: fi
 3692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3693:    ac_c_werror_flag=$ac_save_c_werror_flag
 3694: fi
 3695: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3696: $as_echo "$ac_cv_prog_cc_g" >&6; }
 3697: if test "$ac_test_CFLAGS" = set; then
 3698:   CFLAGS=$ac_save_CFLAGS
 3699: elif test $ac_cv_prog_cc_g = yes; then
 3700:   if test "$GCC" = yes; then
 3701:     CFLAGS="-g -O2"
 3702:   else
 3703:     CFLAGS="-g"
 3704:   fi
 3705: else
 3706:   if test "$GCC" = yes; then
 3707:     CFLAGS="-O2"
 3708:   else
 3709:     CFLAGS=
 3710:   fi
 3711: fi
 3712: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3713: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3714: if test "${ac_cv_prog_cc_c89+set}" = set; then :
 3715:   $as_echo_n "(cached) " >&6
 3716: else
 3717:   ac_cv_prog_cc_c89=no
 3718: ac_save_CC=$CC
 3719: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3720: /* end confdefs.h.  */
 3721: #include <stdarg.h>
 3722: #include <stdio.h>
 3723: #include <sys/types.h>
 3724: #include <sys/stat.h>
 3725: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3726: struct buf { int x; };
 3727: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3728: static char *e (p, i)
 3729:      char **p;
 3730:      int i;
 3731: {
 3732:   return p[i];
 3733: }
 3734: static char *f (char * (*g) (char **, int), char **p, ...)
 3735: {
 3736:   char *s;
 3737:   va_list v;
 3738:   va_start (v,p);
 3739:   s = g (p, va_arg (v,int));
 3740:   va_end (v);
 3741:   return s;
 3742: }
 3743: 
 3744: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3745:    function prototypes and stuff, but not '\xHH' hex character constants.
 3746:    These don't provoke an error unfortunately, instead are silently treated
 3747:    as 'x'.  The following induces an error, until -std is added to get
 3748:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3749:    array size at least.  It's necessary to write '\x00'==0 to get something
 3750:    that's true only with -std.  */
 3751: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3752: 
 3753: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3754:    inside strings and character constants.  */
 3755: #define FOO(x) 'x'
 3756: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3757: 
 3758: int test (int i, double x);
 3759: struct s1 {int (*f) (int a);};
 3760: struct s2 {int (*f) (double a);};
 3761: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3762: int argc;
 3763: char **argv;
 3764: int
 3765: main ()
 3766: {
 3767: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3768:   ;
 3769:   return 0;
 3770: }
 3771: _ACEOF
 3772: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3773:     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3774: do
 3775:   CC="$ac_save_CC $ac_arg"
 3776:   if ac_fn_c_try_compile "$LINENO"; then :
 3777:   ac_cv_prog_cc_c89=$ac_arg
 3778: fi
 3779: rm -f core conftest.err conftest.$ac_objext
 3780:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3781: done
 3782: rm -f conftest.$ac_ext
 3783: CC=$ac_save_CC
 3784: 
 3785: fi
 3786: # AC_CACHE_VAL
 3787: case "x$ac_cv_prog_cc_c89" in
 3788:   x)
 3789:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3790: $as_echo "none needed" >&6; } ;;
 3791:   xno)
 3792:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3793: $as_echo "unsupported" >&6; } ;;
 3794:   *)
 3795:     CC="$CC $ac_cv_prog_cc_c89"
 3796:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3797: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3798: esac
 3799: if test "x$ac_cv_prog_cc_c89" != xno; then :
 3800: 
 3801: fi
 3802: 
 3803: ac_ext=c
 3804: ac_cpp='$CPP $CPPFLAGS'
 3805: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3806: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3807: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3808: DEPDIR="${am__leading_dot}deps"
 3809: 
 3810: ac_config_commands="$ac_config_commands depfiles"
 3811: 
 3812: 
 3813: am_make=${MAKE-make}
 3814: cat > confinc << 'END'
 3815: am__doit:
 3816:     @echo this is the am__doit target
 3817: .PHONY: am__doit
 3818: END
 3819: # If we don't find an include directive, just comment out the code.
 3820: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3821: $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3822: am__include="#"
 3823: am__quote=
 3824: _am_result=none
 3825: # First try GNU make style include.
 3826: echo "include confinc" > confmf
 3827: # Ignore all kinds of additional output from `make'.
 3828: case `$am_make -s -f confmf 2> /dev/null` in #(
 3829: *the\ am__doit\ target*)
 3830:   am__include=include
 3831:   am__quote=
 3832:   _am_result=GNU
 3833:   ;;
 3834: esac
 3835: # Now try BSD make style include.
 3836: if test "$am__include" = "#"; then
 3837:    echo '.include "confinc"' > confmf
 3838:    case `$am_make -s -f confmf 2> /dev/null` in #(
 3839:    *the\ am__doit\ target*)
 3840:      am__include=.include
 3841:      am__quote="\""
 3842:      _am_result=BSD
 3843:      ;;
 3844:    esac
 3845: fi
 3846: 
 3847: 
 3848: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3849: $as_echo "$_am_result" >&6; }
 3850: rm -f confinc confmf
 3851: 
 3852: # Check whether --enable-dependency-tracking was given.
 3853: if test "${enable_dependency_tracking+set}" = set; then :
 3854:   enableval=$enable_dependency_tracking;
 3855: fi
 3856: 
 3857: if test "x$enable_dependency_tracking" != xno; then
 3858:   am_depcomp="$ac_aux_dir/depcomp"
 3859:   AMDEPBACKSLASH='\'
 3860: fi
 3861:  if test "x$enable_dependency_tracking" != xno; then
 3862:   AMDEP_TRUE=
 3863:   AMDEP_FALSE='#'
 3864: else
 3865:   AMDEP_TRUE='#'
 3866:   AMDEP_FALSE=
 3867: fi
 3868: 
 3869: 
 3870: 
 3871: depcc="$CC"   am_compiler_list=
 3872: 
 3873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3874: $as_echo_n "checking dependency style of $depcc... " >&6; }
 3875: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 3876:   $as_echo_n "(cached) " >&6
 3877: else
 3878:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3879:   # We make a subdir and do the tests there.  Otherwise we can end up
 3880:   # making bogus files that we don't know about and never remove.  For
 3881:   # instance it was reported that on HP-UX the gcc test will end up
 3882:   # making a dummy file named `D' -- because `-MD' means `put the output
 3883:   # in D'.
 3884:   mkdir conftest.dir
 3885:   # Copy depcomp to subdir because otherwise we won't find it if we're
 3886:   # using a relative directory.
 3887:   cp "$am_depcomp" conftest.dir
 3888:   cd conftest.dir
 3889:   # We will build objects and dependencies in a subdirectory because
 3890:   # it helps to detect inapplicable dependency modes.  For instance
 3891:   # both Tru64's cc and ICC support -MD to output dependencies as a
 3892:   # side effect of compilation, but ICC will put the dependencies in
 3893:   # the current directory while Tru64 will put them in the object
 3894:   # directory.
 3895:   mkdir sub
 3896: 
 3897:   am_cv_CC_dependencies_compiler_type=none
 3898:   if test "$am_compiler_list" = ""; then
 3899:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3900:   fi
 3901:   am__universal=false
 3902:   case " $depcc " in #(
 3903:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3904:      esac
 3905: 
 3906:   for depmode in $am_compiler_list; do
 3907:     # Setup a source with many dependencies, because some compilers
 3908:     # like to wrap large dependency lists on column 80 (with \), and
 3909:     # we should not choose a depcomp mode which is confused by this.
 3910:     #
 3911:     # We need to recreate these files for each test, as the compiler may
 3912:     # overwrite some of them when testing with obscure command lines.
 3913:     # This happens at least with the AIX C compiler.
 3914:     : > sub/conftest.c
 3915:     for i in 1 2 3 4 5 6; do
 3916:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3917:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3918:       # Solaris 8's {/usr,}/bin/sh.
 3919:       touch sub/conftst$i.h
 3920:     done
 3921:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3922: 
 3923:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3924:     # mode.  It turns out that the SunPro C++ compiler does not properly
 3925:     # handle `-M -o', and we need to detect this.  Also, some Intel
 3926:     # versions had trouble with output in subdirs
 3927:     am__obj=sub/conftest.${OBJEXT-o}
 3928:     am__minus_obj="-o $am__obj"
 3929:     case $depmode in
 3930:     gcc)
 3931:       # This depmode causes a compiler race in universal mode.
 3932:       test "$am__universal" = false || continue
 3933:       ;;
 3934:     nosideeffect)
 3935:       # after this tag, mechanisms are not by side-effect, so they'll
 3936:       # only be used when explicitly requested
 3937:       if test "x$enable_dependency_tracking" = xyes; then
 3938:     continue
 3939:       else
 3940:     break
 3941:       fi
 3942:       ;;
 3943:     msvisualcpp | msvcmsys)
 3944:       # This compiler won't grok `-c -o', but also, the minuso test has
 3945:       # not run yet.  These depmodes are late enough in the game, and
 3946:       # so weak that their functioning should not be impacted.
 3947:       am__obj=conftest.${OBJEXT-o}
 3948:       am__minus_obj=
 3949:       ;;
 3950:     none) break ;;
 3951:     esac
 3952:     if depmode=$depmode \
 3953:        source=sub/conftest.c object=$am__obj \
 3954:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3955:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3956:          >/dev/null 2>conftest.err &&
 3957:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3958:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3959:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3960:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3961:       # icc doesn't choke on unknown options, it will just issue warnings
 3962:       # or remarks (even with -Werror).  So we grep stderr for any message
 3963:       # that says an option was ignored or not supported.
 3964:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3965:       #   icc: Command line warning: ignoring option '-M'; no argument required
 3966:       # The diagnosis changed in icc 8.0:
 3967:       #   icc: Command line remark: option '-MP' not supported
 3968:       if (grep 'ignoring option' conftest.err ||
 3969:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3970:         am_cv_CC_dependencies_compiler_type=$depmode
 3971:         break
 3972:       fi
 3973:     fi
 3974:   done
 3975: 
 3976:   cd ..
 3977:   rm -rf conftest.dir
 3978: else
 3979:   am_cv_CC_dependencies_compiler_type=none
 3980: fi
 3981: 
 3982: fi
 3983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 3984: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 3985: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3986: 
 3987:  if
 3988:   test "x$enable_dependency_tracking" != xno \
 3989:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3990:   am__fastdepCC_TRUE=
 3991:   am__fastdepCC_FALSE='#'
 3992: else
 3993:   am__fastdepCC_TRUE='#'
 3994:   am__fastdepCC_FALSE=
 3995: fi
 3996: 
 3997: 
 3998: 
 3999: if test x"$CC" != x""; then
 4000:     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4001:             awk -F. '{ printf("%s", $1);}'`
 4002:     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4003:             awk -F. '{ printf("%s", $2);}'`
 4004:     if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 4005:         OPTIMISATION_C=-O3
 4006:     else
 4007:         if test $GCC_VERSION_MAJEURE -ge 5; then
 4008:             OPTIMISATION_C=-O3
 4009:         else
 4010:             OPTIMISATION_C=-O2
 4011:         fi
 4012:     fi
 4013: fi
 4014: 
 4015: if test "x$CC" != xcc; then
 4016:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 4017: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 4018: else
 4019:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 4020: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 4021: fi
 4022: set dummy $CC; ac_cc=`$as_echo "$2" |
 4023:               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4024: if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 4025:   $as_echo_n "(cached) " >&6
 4026: else
 4027:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4028: /* end confdefs.h.  */
 4029: 
 4030: int
 4031: main ()
 4032: {
 4033: 
 4034:   ;
 4035:   return 0;
 4036: }
 4037: _ACEOF
 4038: # Make sure it works both with $CC and with simple cc.
 4039: # We do the test twice because some compilers refuse to overwrite an
 4040: # existing .o file with -o, though they will create one.
 4041: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4042: rm -f conftest2.*
 4043: if { { case "(($ac_try" in
 4044:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4045:   *) ac_try_echo=$ac_try;;
 4046: esac
 4047: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4048: $as_echo "$ac_try_echo"; } >&5
 4049:   (eval "$ac_try") 2>&5
 4050:   ac_status=$?
 4051:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4052:   test $ac_status = 0; } &&
 4053:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4054:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4055:   *) ac_try_echo=$ac_try;;
 4056: esac
 4057: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4058: $as_echo "$ac_try_echo"; } >&5
 4059:   (eval "$ac_try") 2>&5
 4060:   ac_status=$?
 4061:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4062:   test $ac_status = 0; };
 4063: then
 4064:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 4065:   if test "x$CC" != xcc; then
 4066:     # Test first that cc exists at all.
 4067:     if { ac_try='cc -c conftest.$ac_ext >&5'
 4068:   { { case "(($ac_try" in
 4069:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4070:   *) ac_try_echo=$ac_try;;
 4071: esac
 4072: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4073: $as_echo "$ac_try_echo"; } >&5
 4074:   (eval "$ac_try") 2>&5
 4075:   ac_status=$?
 4076:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4077:   test $ac_status = 0; }; }; then
 4078:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 4079:       rm -f conftest2.*
 4080:       if { { case "(($ac_try" in
 4081:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4082:   *) ac_try_echo=$ac_try;;
 4083: esac
 4084: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4085: $as_echo "$ac_try_echo"; } >&5
 4086:   (eval "$ac_try") 2>&5
 4087:   ac_status=$?
 4088:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4089:   test $ac_status = 0; } &&
 4090:      test -f conftest2.$ac_objext && { { case "(($ac_try" in
 4091:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4092:   *) ac_try_echo=$ac_try;;
 4093: esac
 4094: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4095: $as_echo "$ac_try_echo"; } >&5
 4096:   (eval "$ac_try") 2>&5
 4097:   ac_status=$?
 4098:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4099:   test $ac_status = 0; };
 4100:       then
 4101:     # cc works too.
 4102:     :
 4103:       else
 4104:     # cc exists but doesn't like -o.
 4105:     eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4106:       fi
 4107:     fi
 4108:   fi
 4109: else
 4110:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
 4111: fi
 4112: rm -f core conftest*
 4113: 
 4114: fi
 4115: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 4116:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4117: $as_echo "yes" >&6; }
 4118: else
 4119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4120: $as_echo "no" >&6; }
 4121: 
 4122: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 4123: 
 4124: fi
 4125: 
 4126: # FIXME: we rely on the cache variable name because
 4127: # there is no other way.
 4128: set dummy $CC
 4129: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 4130: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 4131: if test "$am_t" != yes; then
 4132:    # Losing compiler, so override with the script.
 4133:    # FIXME: It is wrong to rewrite CC.
 4134:    # But if we don't then we get into trouble of one sort or another.
 4135:    # A longer-term fix would be to have automake use am__CC in this case,
 4136:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 4137:    CC="$am_aux_dir/compile $CC"
 4138: fi
 4139: 
 4140: 
 4141: 
 4142: if test "$GCC" != yes; then
 4143:     as_fn_error "Cannot find gcc! You have to install it." "$LINENO" 5
 4144: fi
 4145: 
 4146: ac_ext=cpp
 4147: ac_cpp='$CXXCPP $CPPFLAGS'
 4148: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4149: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4150: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 4151: if test -z "$CXX"; then
 4152:   if test -n "$CCC"; then
 4153:     CXX=$CCC
 4154:   else
 4155:     if test -n "$ac_tool_prefix"; then
 4156:   for ac_prog in g++-4.4 g++
 4157:   do
 4158:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4159: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4160: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4161: $as_echo_n "checking for $ac_word... " >&6; }
 4162: if test "${ac_cv_prog_CXX+set}" = set; then :
 4163:   $as_echo_n "(cached) " >&6
 4164: else
 4165:   if test -n "$CXX"; then
 4166:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 4167: else
 4168: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4169: for as_dir in $PATH
 4170: do
 4171:   IFS=$as_save_IFS
 4172:   test -z "$as_dir" && as_dir=.
 4173:     for ac_exec_ext in '' $ac_executable_extensions; do
 4174:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4175:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4176:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4177:     break 2
 4178:   fi
 4179: done
 4180:   done
 4181: IFS=$as_save_IFS
 4182: 
 4183: fi
 4184: fi
 4185: CXX=$ac_cv_prog_CXX
 4186: if test -n "$CXX"; then
 4187:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4188: $as_echo "$CXX" >&6; }
 4189: else
 4190:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4191: $as_echo "no" >&6; }
 4192: fi
 4193: 
 4194: 
 4195:     test -n "$CXX" && break
 4196:   done
 4197: fi
 4198: if test -z "$CXX"; then
 4199:   ac_ct_CXX=$CXX
 4200:   for ac_prog in g++-4.4 g++
 4201: do
 4202:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4203: set dummy $ac_prog; ac_word=$2
 4204: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4205: $as_echo_n "checking for $ac_word... " >&6; }
 4206: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 4207:   $as_echo_n "(cached) " >&6
 4208: else
 4209:   if test -n "$ac_ct_CXX"; then
 4210:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4211: else
 4212: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4213: for as_dir in $PATH
 4214: do
 4215:   IFS=$as_save_IFS
 4216:   test -z "$as_dir" && as_dir=.
 4217:     for ac_exec_ext in '' $ac_executable_extensions; do
 4218:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4219:     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4220:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4221:     break 2
 4222:   fi
 4223: done
 4224:   done
 4225: IFS=$as_save_IFS
 4226: 
 4227: fi
 4228: fi
 4229: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4230: if test -n "$ac_ct_CXX"; then
 4231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4232: $as_echo "$ac_ct_CXX" >&6; }
 4233: else
 4234:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4235: $as_echo "no" >&6; }
 4236: fi
 4237: 
 4238: 
 4239:   test -n "$ac_ct_CXX" && break
 4240: done
 4241: 
 4242:   if test "x$ac_ct_CXX" = x; then
 4243:     CXX="g++"
 4244:   else
 4245:     case $cross_compiling:$ac_tool_warned in
 4246: yes:)
 4247: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4248: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4249: ac_tool_warned=yes ;;
 4250: esac
 4251:     CXX=$ac_ct_CXX
 4252:   fi
 4253: fi
 4254: 
 4255:   fi
 4256: fi
 4257: # Provide some information about the compiler.
 4258: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4259: set X $ac_compile
 4260: ac_compiler=$2
 4261: for ac_option in --version -v -V -qversion; do
 4262:   { { ac_try="$ac_compiler $ac_option >&5"
 4263: case "(($ac_try" in
 4264:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4265:   *) ac_try_echo=$ac_try;;
 4266: esac
 4267: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4268: $as_echo "$ac_try_echo"; } >&5
 4269:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4270:   ac_status=$?
 4271:   if test -s conftest.err; then
 4272:     sed '10a\
 4273: ... rest of stderr output deleted ...
 4274:          10q' conftest.err >conftest.er1
 4275:     cat conftest.er1 >&5
 4276:   fi
 4277:   rm -f conftest.er1 conftest.err
 4278:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4279:   test $ac_status = 0; }
 4280: done
 4281: 
 4282: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4283: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4284: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 4285:   $as_echo_n "(cached) " >&6
 4286: else
 4287:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4288: /* end confdefs.h.  */
 4289: 
 4290: int
 4291: main ()
 4292: {
 4293: #ifndef __GNUC__
 4294:        choke me
 4295: #endif
 4296: 
 4297:   ;
 4298:   return 0;
 4299: }
 4300: _ACEOF
 4301: if ac_fn_cxx_try_compile "$LINENO"; then :
 4302:   ac_compiler_gnu=yes
 4303: else
 4304:   ac_compiler_gnu=no
 4305: fi
 4306: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4307: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4308: 
 4309: fi
 4310: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4311: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4312: if test $ac_compiler_gnu = yes; then
 4313:   GXX=yes
 4314: else
 4315:   GXX=
 4316: fi
 4317: ac_test_CXXFLAGS=${CXXFLAGS+set}
 4318: ac_save_CXXFLAGS=$CXXFLAGS
 4319: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4320: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4321: if test "${ac_cv_prog_cxx_g+set}" = set; then :
 4322:   $as_echo_n "(cached) " >&6
 4323: else
 4324:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4325:    ac_cxx_werror_flag=yes
 4326:    ac_cv_prog_cxx_g=no
 4327:    CXXFLAGS="-g"
 4328:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4329: /* end confdefs.h.  */
 4330: 
 4331: int
 4332: main ()
 4333: {
 4334: 
 4335:   ;
 4336:   return 0;
 4337: }
 4338: _ACEOF
 4339: if ac_fn_cxx_try_compile "$LINENO"; then :
 4340:   ac_cv_prog_cxx_g=yes
 4341: else
 4342:   CXXFLAGS=""
 4343:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4344: /* end confdefs.h.  */
 4345: 
 4346: int
 4347: main ()
 4348: {
 4349: 
 4350:   ;
 4351:   return 0;
 4352: }
 4353: _ACEOF
 4354: if ac_fn_cxx_try_compile "$LINENO"; then :
 4355: 
 4356: else
 4357:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4358:      CXXFLAGS="-g"
 4359:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4360: /* end confdefs.h.  */
 4361: 
 4362: int
 4363: main ()
 4364: {
 4365: 
 4366:   ;
 4367:   return 0;
 4368: }
 4369: _ACEOF
 4370: if ac_fn_cxx_try_compile "$LINENO"; then :
 4371:   ac_cv_prog_cxx_g=yes
 4372: fi
 4373: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4374: fi
 4375: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4376: fi
 4377: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4378:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4379: fi
 4380: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4381: $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4382: if test "$ac_test_CXXFLAGS" = set; then
 4383:   CXXFLAGS=$ac_save_CXXFLAGS
 4384: elif test $ac_cv_prog_cxx_g = yes; then
 4385:   if test "$GXX" = yes; then
 4386:     CXXFLAGS="-g -O2"
 4387:   else
 4388:     CXXFLAGS="-g"
 4389:   fi
 4390: else
 4391:   if test "$GXX" = yes; then
 4392:     CXXFLAGS="-O2"
 4393:   else
 4394:     CXXFLAGS=
 4395:   fi
 4396: fi
 4397: ac_ext=c
 4398: ac_cpp='$CPP $CPPFLAGS'
 4399: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4400: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4401: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4402: 
 4403: depcc="$CXX"  am_compiler_list=
 4404: 
 4405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4406: $as_echo_n "checking dependency style of $depcc... " >&6; }
 4407: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 4408:   $as_echo_n "(cached) " >&6
 4409: else
 4410:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4411:   # We make a subdir and do the tests there.  Otherwise we can end up
 4412:   # making bogus files that we don't know about and never remove.  For
 4413:   # instance it was reported that on HP-UX the gcc test will end up
 4414:   # making a dummy file named `D' -- because `-MD' means `put the output
 4415:   # in D'.
 4416:   mkdir conftest.dir
 4417:   # Copy depcomp to subdir because otherwise we won't find it if we're
 4418:   # using a relative directory.
 4419:   cp "$am_depcomp" conftest.dir
 4420:   cd conftest.dir
 4421:   # We will build objects and dependencies in a subdirectory because
 4422:   # it helps to detect inapplicable dependency modes.  For instance
 4423:   # both Tru64's cc and ICC support -MD to output dependencies as a
 4424:   # side effect of compilation, but ICC will put the dependencies in
 4425:   # the current directory while Tru64 will put them in the object
 4426:   # directory.
 4427:   mkdir sub
 4428: 
 4429:   am_cv_CXX_dependencies_compiler_type=none
 4430:   if test "$am_compiler_list" = ""; then
 4431:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4432:   fi
 4433:   am__universal=false
 4434:   case " $depcc " in #(
 4435:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4436:      esac
 4437: 
 4438:   for depmode in $am_compiler_list; do
 4439:     # Setup a source with many dependencies, because some compilers
 4440:     # like to wrap large dependency lists on column 80 (with \), and
 4441:     # we should not choose a depcomp mode which is confused by this.
 4442:     #
 4443:     # We need to recreate these files for each test, as the compiler may
 4444:     # overwrite some of them when testing with obscure command lines.
 4445:     # This happens at least with the AIX C compiler.
 4446:     : > sub/conftest.c
 4447:     for i in 1 2 3 4 5 6; do
 4448:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4449:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4450:       # Solaris 8's {/usr,}/bin/sh.
 4451:       touch sub/conftst$i.h
 4452:     done
 4453:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4454: 
 4455:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4456:     # mode.  It turns out that the SunPro C++ compiler does not properly
 4457:     # handle `-M -o', and we need to detect this.  Also, some Intel
 4458:     # versions had trouble with output in subdirs
 4459:     am__obj=sub/conftest.${OBJEXT-o}
 4460:     am__minus_obj="-o $am__obj"
 4461:     case $depmode in
 4462:     gcc)
 4463:       # This depmode causes a compiler race in universal mode.
 4464:       test "$am__universal" = false || continue
 4465:       ;;
 4466:     nosideeffect)
 4467:       # after this tag, mechanisms are not by side-effect, so they'll
 4468:       # only be used when explicitly requested
 4469:       if test "x$enable_dependency_tracking" = xyes; then
 4470:     continue
 4471:       else
 4472:     break
 4473:       fi
 4474:       ;;
 4475:     msvisualcpp | msvcmsys)
 4476:       # This compiler won't grok `-c -o', but also, the minuso test has
 4477:       # not run yet.  These depmodes are late enough in the game, and
 4478:       # so weak that their functioning should not be impacted.
 4479:       am__obj=conftest.${OBJEXT-o}
 4480:       am__minus_obj=
 4481:       ;;
 4482:     none) break ;;
 4483:     esac
 4484:     if depmode=$depmode \
 4485:        source=sub/conftest.c object=$am__obj \
 4486:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4487:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4488:          >/dev/null 2>conftest.err &&
 4489:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4490:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4491:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4492:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4493:       # icc doesn't choke on unknown options, it will just issue warnings
 4494:       # or remarks (even with -Werror).  So we grep stderr for any message
 4495:       # that says an option was ignored or not supported.
 4496:       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4497:       #   icc: Command line warning: ignoring option '-M'; no argument required
 4498:       # The diagnosis changed in icc 8.0:
 4499:       #   icc: Command line remark: option '-MP' not supported
 4500:       if (grep 'ignoring option' conftest.err ||
 4501:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4502:         am_cv_CXX_dependencies_compiler_type=$depmode
 4503:         break
 4504:       fi
 4505:     fi
 4506:   done
 4507: 
 4508:   cd ..
 4509:   rm -rf conftest.dir
 4510: else
 4511:   am_cv_CXX_dependencies_compiler_type=none
 4512: fi
 4513: 
 4514: fi
 4515: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4516: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4517: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4518: 
 4519:  if
 4520:   test "x$enable_dependency_tracking" != xno \
 4521:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4522:   am__fastdepCXX_TRUE=
 4523:   am__fastdepCXX_FALSE='#'
 4524: else
 4525:   am__fastdepCXX_TRUE='#'
 4526:   am__fastdepCXX_FALSE=
 4527: fi
 4528: 
 4529: 
 4530: 
 4531: if test "$GXX" != yes; then
 4532:     as_fn_error "Cannot find g++! You have to install it." "$LINENO" 5
 4533: fi
 4534: 
 4535: ac_ext=f
 4536: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 4537: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4538: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 4539: if test -n "$ac_tool_prefix"; then
 4540:   for ac_prog in gfortran-4.4 gfortran
 4541:   do
 4542:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4543: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4545: $as_echo_n "checking for $ac_word... " >&6; }
 4546: if test "${ac_cv_prog_F77+set}" = set; then :
 4547:   $as_echo_n "(cached) " >&6
 4548: else
 4549:   if test -n "$F77"; then
 4550:   ac_cv_prog_F77="$F77" # Let the user override the test.
 4551: else
 4552: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4553: for as_dir in $PATH
 4554: do
 4555:   IFS=$as_save_IFS
 4556:   test -z "$as_dir" && as_dir=.
 4557:     for ac_exec_ext in '' $ac_executable_extensions; do
 4558:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4559:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 4560:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4561:     break 2
 4562:   fi
 4563: done
 4564:   done
 4565: IFS=$as_save_IFS
 4566: 
 4567: fi
 4568: fi
 4569: F77=$ac_cv_prog_F77
 4570: if test -n "$F77"; then
 4571:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
 4572: $as_echo "$F77" >&6; }
 4573: else
 4574:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4575: $as_echo "no" >&6; }
 4576: fi
 4577: 
 4578: 
 4579:     test -n "$F77" && break
 4580:   done
 4581: fi
 4582: if test -z "$F77"; then
 4583:   ac_ct_F77=$F77
 4584:   for ac_prog in gfortran-4.4 gfortran
 4585: do
 4586:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4587: set dummy $ac_prog; ac_word=$2
 4588: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4589: $as_echo_n "checking for $ac_word... " >&6; }
 4590: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
 4591:   $as_echo_n "(cached) " >&6
 4592: else
 4593:   if test -n "$ac_ct_F77"; then
 4594:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 4595: else
 4596: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4597: for as_dir in $PATH
 4598: do
 4599:   IFS=$as_save_IFS
 4600:   test -z "$as_dir" && as_dir=.
 4601:     for ac_exec_ext in '' $ac_executable_extensions; do
 4602:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4603:     ac_cv_prog_ac_ct_F77="$ac_prog"
 4604:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4605:     break 2
 4606:   fi
 4607: done
 4608:   done
 4609: IFS=$as_save_IFS
 4610: 
 4611: fi
 4612: fi
 4613: ac_ct_F77=$ac_cv_prog_ac_ct_F77
 4614: if test -n "$ac_ct_F77"; then
 4615:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
 4616: $as_echo "$ac_ct_F77" >&6; }
 4617: else
 4618:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4619: $as_echo "no" >&6; }
 4620: fi
 4621: 
 4622: 
 4623:   test -n "$ac_ct_F77" && break
 4624: done
 4625: 
 4626:   if test "x$ac_ct_F77" = x; then
 4627:     F77=""
 4628:   else
 4629:     case $cross_compiling:$ac_tool_warned in
 4630: yes:)
 4631: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4632: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4633: ac_tool_warned=yes ;;
 4634: esac
 4635:     F77=$ac_ct_F77
 4636:   fi
 4637: fi
 4638: 
 4639: 
 4640: # Provide some information about the compiler.
 4641: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
 4642: set X $ac_compile
 4643: ac_compiler=$2
 4644: for ac_option in --version -v -V -qversion; do
 4645:   { { ac_try="$ac_compiler $ac_option >&5"
 4646: case "(($ac_try" in
 4647:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4648:   *) ac_try_echo=$ac_try;;
 4649: esac
 4650: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4651: $as_echo "$ac_try_echo"; } >&5
 4652:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4653:   ac_status=$?
 4654:   if test -s conftest.err; then
 4655:     sed '10a\
 4656: ... rest of stderr output deleted ...
 4657:          10q' conftest.err >conftest.er1
 4658:     cat conftest.er1 >&5
 4659:   fi
 4660:   rm -f conftest.er1 conftest.err
 4661:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4662:   test $ac_status = 0; }
 4663: done
 4664: rm -f a.out
 4665: 
 4666: # If we don't use `.F' as extension, the preprocessor is not run on the
 4667: # input file.  (Note that this only needs to work for GNU compilers.)
 4668: ac_save_ext=$ac_ext
 4669: ac_ext=F
 4670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 4671: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
 4672: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
 4673:   $as_echo_n "(cached) " >&6
 4674: else
 4675:   cat > conftest.$ac_ext <<_ACEOF
 4676:       program main
 4677: #ifndef __GNUC__
 4678:        choke me
 4679: #endif
 4680: 
 4681:       end
 4682: _ACEOF
 4683: if ac_fn_f77_try_compile "$LINENO"; then :
 4684:   ac_compiler_gnu=yes
 4685: else
 4686:   ac_compiler_gnu=no
 4687: fi
 4688: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4689: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 4690: 
 4691: fi
 4692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
 4693: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
 4694: ac_ext=$ac_save_ext
 4695: ac_test_FFLAGS=${FFLAGS+set}
 4696: ac_save_FFLAGS=$FFLAGS
 4697: FFLAGS=
 4698: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 4699: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
 4700: if test "${ac_cv_prog_f77_g+set}" = set; then :
 4701:   $as_echo_n "(cached) " >&6
 4702: else
 4703:   FFLAGS=-g
 4704: cat > conftest.$ac_ext <<_ACEOF
 4705:       program main
 4706: 
 4707:       end
 4708: _ACEOF
 4709: if ac_fn_f77_try_compile "$LINENO"; then :
 4710:   ac_cv_prog_f77_g=yes
 4711: else
 4712:   ac_cv_prog_f77_g=no
 4713: fi
 4714: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4715: 
 4716: fi
 4717: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
 4718: $as_echo "$ac_cv_prog_f77_g" >&6; }
 4719: if test "$ac_test_FFLAGS" = set; then
 4720:   FFLAGS=$ac_save_FFLAGS
 4721: elif test $ac_cv_prog_f77_g = yes; then
 4722:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4723:     FFLAGS="-g -O2"
 4724:   else
 4725:     FFLAGS="-g"
 4726:   fi
 4727: else
 4728:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 4729:     FFLAGS="-O2"
 4730:   else
 4731:     FFLAGS=
 4732:   fi
 4733: fi
 4734: 
 4735: if test $ac_compiler_gnu = yes; then
 4736:   G77=yes
 4737: else
 4738:   G77=
 4739: fi
 4740: ac_ext=c
 4741: ac_cpp='$CPP $CPPFLAGS'
 4742: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4743: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4744: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4745: 
 4746: 
 4747: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
 4748:     as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
 4749: fi
 4750: 
 4751: ac_ext=${ac_fc_srcext-f}
 4752: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 4753: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 4754: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 4755: if test -n "$ac_tool_prefix"; then
 4756:   for ac_prog in gfortran-4.4 gfortran
 4757:   do
 4758:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4759: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4761: $as_echo_n "checking for $ac_word... " >&6; }
 4762: if test "${ac_cv_prog_FC+set}" = set; then :
 4763:   $as_echo_n "(cached) " >&6
 4764: else
 4765:   if test -n "$FC"; then
 4766:   ac_cv_prog_FC="$FC" # Let the user override the test.
 4767: else
 4768: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4769: for as_dir in $PATH
 4770: do
 4771:   IFS=$as_save_IFS
 4772:   test -z "$as_dir" && as_dir=.
 4773:     for ac_exec_ext in '' $ac_executable_extensions; do
 4774:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4775:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
 4776:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4777:     break 2
 4778:   fi
 4779: done
 4780:   done
 4781: IFS=$as_save_IFS
 4782: 
 4783: fi
 4784: fi
 4785: FC=$ac_cv_prog_FC
 4786: if test -n "$FC"; then
 4787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
 4788: $as_echo "$FC" >&6; }
 4789: else
 4790:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4791: $as_echo "no" >&6; }
 4792: fi
 4793: 
 4794: 
 4795:     test -n "$FC" && break
 4796:   done
 4797: fi
 4798: if test -z "$FC"; then
 4799:   ac_ct_FC=$FC
 4800:   for ac_prog in gfortran-4.4 gfortran
 4801: do
 4802:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4803: set dummy $ac_prog; ac_word=$2
 4804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4805: $as_echo_n "checking for $ac_word... " >&6; }
 4806: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
 4807:   $as_echo_n "(cached) " >&6
 4808: else
 4809:   if test -n "$ac_ct_FC"; then
 4810:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
 4811: else
 4812: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4813: for as_dir in $PATH
 4814: do
 4815:   IFS=$as_save_IFS
 4816:   test -z "$as_dir" && as_dir=.
 4817:     for ac_exec_ext in '' $ac_executable_extensions; do
 4818:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 4819:     ac_cv_prog_ac_ct_FC="$ac_prog"
 4820:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4821:     break 2
 4822:   fi
 4823: done
 4824:   done
 4825: IFS=$as_save_IFS
 4826: 
 4827: fi
 4828: fi
 4829: ac_ct_FC=$ac_cv_prog_ac_ct_FC
 4830: if test -n "$ac_ct_FC"; then
 4831:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
 4832: $as_echo "$ac_ct_FC" >&6; }
 4833: else
 4834:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4835: $as_echo "no" >&6; }
 4836: fi
 4837: 
 4838: 
 4839:   test -n "$ac_ct_FC" && break
 4840: done
 4841: 
 4842:   if test "x$ac_ct_FC" = x; then
 4843:     FC=""
 4844:   else
 4845:     case $cross_compiling:$ac_tool_warned in
 4846: yes:)
 4847: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4848: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4849: ac_tool_warned=yes ;;
 4850: esac
 4851:     FC=$ac_ct_FC
 4852:   fi
 4853: fi
 4854: 
 4855: 
 4856: # Provide some information about the compiler.
 4857: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
 4858: set X $ac_compile
 4859: ac_compiler=$2
 4860: for ac_option in --version -v -V -qversion; do
 4861:   { { ac_try="$ac_compiler $ac_option >&5"
 4862: case "(($ac_try" in
 4863:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4864:   *) ac_try_echo=$ac_try;;
 4865: esac
 4866: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4867: $as_echo "$ac_try_echo"; } >&5
 4868:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4869:   ac_status=$?
 4870:   if test -s conftest.err; then
 4871:     sed '10a\
 4872: ... rest of stderr output deleted ...
 4873:          10q' conftest.err >conftest.er1
 4874:     cat conftest.er1 >&5
 4875:   fi
 4876:   rm -f conftest.er1 conftest.err
 4877:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4878:   test $ac_status = 0; }
 4879: done
 4880: rm -f a.out
 4881: 
 4882: # If we don't use `.F' as extension, the preprocessor is not run on the
 4883: # input file.  (Note that this only needs to work for GNU compilers.)
 4884: ac_save_ext=$ac_ext
 4885: ac_ext=F
 4886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
 4887: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
 4888: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
 4889:   $as_echo_n "(cached) " >&6
 4890: else
 4891:   cat > conftest.$ac_ext <<_ACEOF
 4892:       program main
 4893: #ifndef __GNUC__
 4894:        choke me
 4895: #endif
 4896: 
 4897:       end
 4898: _ACEOF
 4899: if ac_fn_fc_try_compile "$LINENO"; then :
 4900:   ac_compiler_gnu=yes
 4901: else
 4902:   ac_compiler_gnu=no
 4903: fi
 4904: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4905: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
 4906: 
 4907: fi
 4908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
 4909: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
 4910: ac_ext=$ac_save_ext
 4911: ac_test_FCFLAGS=${FCFLAGS+set}
 4912: ac_save_FCFLAGS=$FCFLAGS
 4913: FCFLAGS=
 4914: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
 4915: $as_echo_n "checking whether $FC accepts -g... " >&6; }
 4916: if test "${ac_cv_prog_fc_g+set}" = set; then :
 4917:   $as_echo_n "(cached) " >&6
 4918: else
 4919:   FCFLAGS=-g
 4920: cat > conftest.$ac_ext <<_ACEOF
 4921:       program main
 4922: 
 4923:       end
 4924: _ACEOF
 4925: if ac_fn_fc_try_compile "$LINENO"; then :
 4926:   ac_cv_prog_fc_g=yes
 4927: else
 4928:   ac_cv_prog_fc_g=no
 4929: fi
 4930: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4931: 
 4932: fi
 4933: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
 4934: $as_echo "$ac_cv_prog_fc_g" >&6; }
 4935: if test "$ac_test_FCFLAGS" = set; then
 4936:   FCFLAGS=$ac_save_FCFLAGS
 4937: elif test $ac_cv_prog_fc_g = yes; then
 4938:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4939:     FCFLAGS="-g -O2"
 4940:   else
 4941:     FCFLAGS="-g"
 4942:   fi
 4943: else
 4944:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
 4945:     FCFLAGS="-O2"
 4946:   else
 4947:     FCFLAGS=
 4948:   fi
 4949: fi
 4950: 
 4951: ac_ext=c
 4952: ac_cpp='$CPP $CPPFLAGS'
 4953: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4954: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4955: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4956: 
 4957: 
 4958: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
 4959:     as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
 4960: fi
 4961: 
 4962: if test x"$FC" != x""; then
 4963:     GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4964:             awk -F. '{ printf("%s", $1);}'`
 4965:     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
 4966:             awk -F. '{ printf("%s", $2);}'`
 4967:     if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
 4968:         OPTIMISATION_F=-O3
 4969:     else
 4970:         if test $GCC_VERSION_MAJEURE -ge 5; then
 4971:             OPTIMISATION_F=-O3
 4972:         else
 4973:             OPTIMISATION_F=-O2
 4974:         fi
 4975:     fi
 4976: fi
 4977: 
 4978: 
 4979: ac_ext=c
 4980: ac_cpp='$CPP $CPPFLAGS'
 4981: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4982: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4983: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4984: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 4985: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 4986: # On Suns, sometimes $CPP names a directory.
 4987: if test -n "$CPP" && test -d "$CPP"; then
 4988:   CPP=
 4989: fi
 4990: if test -z "$CPP"; then
 4991:   if test "${ac_cv_prog_CPP+set}" = set; then :
 4992:   $as_echo_n "(cached) " >&6
 4993: else
 4994:       # Double quotes because CPP needs to be expanded
 4995:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4996:     do
 4997:       ac_preproc_ok=false
 4998: for ac_c_preproc_warn_flag in '' yes
 4999: do
 5000:   # Use a header file that comes with gcc, so configuring glibc
 5001:   # with a fresh cross-compiler works.
 5002:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5003:   # <limits.h> exists even on freestanding compilers.
 5004:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5005:   # not just through cpp. "Syntax error" is here to catch this case.
 5006:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5007: /* end confdefs.h.  */
 5008: #ifdef __STDC__
 5009: # include <limits.h>
 5010: #else
 5011: # include <assert.h>
 5012: #endif
 5013:              Syntax error
 5014: _ACEOF
 5015: if ac_fn_c_try_cpp "$LINENO"; then :
 5016: 
 5017: else
 5018:   # Broken: fails on valid input.
 5019: continue
 5020: fi
 5021: rm -f conftest.err conftest.$ac_ext
 5022: 
 5023:   # OK, works on sane cases.  Now check whether nonexistent headers
 5024:   # can be detected and how.
 5025:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5026: /* end confdefs.h.  */
 5027: #include <ac_nonexistent.h>
 5028: _ACEOF
 5029: if ac_fn_c_try_cpp "$LINENO"; then :
 5030:   # Broken: success on invalid input.
 5031: continue
 5032: else
 5033:   # Passes both tests.
 5034: ac_preproc_ok=:
 5035: break
 5036: fi
 5037: rm -f conftest.err conftest.$ac_ext
 5038: 
 5039: done
 5040: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5041: rm -f conftest.err conftest.$ac_ext
 5042: if $ac_preproc_ok; then :
 5043:   break
 5044: fi
 5045: 
 5046:     done
 5047:     ac_cv_prog_CPP=$CPP
 5048: 
 5049: fi
 5050:   CPP=$ac_cv_prog_CPP
 5051: else
 5052:   ac_cv_prog_CPP=$CPP
 5053: fi
 5054: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5055: $as_echo "$CPP" >&6; }
 5056: ac_preproc_ok=false
 5057: for ac_c_preproc_warn_flag in '' yes
 5058: do
 5059:   # Use a header file that comes with gcc, so configuring glibc
 5060:   # with a fresh cross-compiler works.
 5061:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5062:   # <limits.h> exists even on freestanding compilers.
 5063:   # On the NeXT, cc -E runs the code through the compiler's parser,
 5064:   # not just through cpp. "Syntax error" is here to catch this case.
 5065:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5066: /* end confdefs.h.  */
 5067: #ifdef __STDC__
 5068: # include <limits.h>
 5069: #else
 5070: # include <assert.h>
 5071: #endif
 5072:              Syntax error
 5073: _ACEOF
 5074: if ac_fn_c_try_cpp "$LINENO"; then :
 5075: 
 5076: else
 5077:   # Broken: fails on valid input.
 5078: continue
 5079: fi
 5080: rm -f conftest.err conftest.$ac_ext
 5081: 
 5082:   # OK, works on sane cases.  Now check whether nonexistent headers
 5083:   # can be detected and how.
 5084:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5085: /* end confdefs.h.  */
 5086: #include <ac_nonexistent.h>
 5087: _ACEOF
 5088: if ac_fn_c_try_cpp "$LINENO"; then :
 5089:   # Broken: success on invalid input.
 5090: continue
 5091: else
 5092:   # Passes both tests.
 5093: ac_preproc_ok=:
 5094: break
 5095: fi
 5096: rm -f conftest.err conftest.$ac_ext
 5097: 
 5098: done
 5099: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5100: rm -f conftest.err conftest.$ac_ext
 5101: if $ac_preproc_ok; then :
 5102: 
 5103: else
 5104:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5105: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5106: as_fn_error "C preprocessor \"$CPP\" fails sanity check
 5107: See \`config.log' for more details." "$LINENO" 5; }
 5108: fi
 5109: 
 5110: ac_ext=c
 5111: ac_cpp='$CPP $CPPFLAGS'
 5112: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5113: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5114: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5115: 
 5116: 
 5117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 5118: $as_echo_n "checking for X... " >&6; }
 5119: 
 5120: 
 5121: # Check whether --with-x was given.
 5122: if test "${with_x+set}" = set; then :
 5123:   withval=$with_x;
 5124: fi
 5125: 
 5126: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 5127: if test "x$with_x" = xno; then
 5128:   # The user explicitly disabled X.
 5129:   have_x=disabled
 5130: else
 5131:   case $x_includes,$x_libraries in #(
 5132:     *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
 5133:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 5134:   $as_echo_n "(cached) " >&6
 5135: else
 5136:   # One or both of the vars are not set, and there is no cached value.
 5137: ac_x_includes=no ac_x_libraries=no
 5138: rm -f -r conftest.dir
 5139: if mkdir conftest.dir; then
 5140:   cd conftest.dir
 5141:   cat >Imakefile <<'_ACEOF'
 5142: incroot:
 5143:     @echo incroot='${INCROOT}'
 5144: usrlibdir:
 5145:     @echo usrlibdir='${USRLIBDIR}'
 5146: libdir:
 5147:     @echo libdir='${LIBDIR}'
 5148: _ACEOF
 5149:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 5150:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 5151:     for ac_var in incroot usrlibdir libdir; do
 5152:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 5153:     done
 5154:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 5155:     for ac_extension in a so sl dylib la dll; do
 5156:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 5157:      test -f "$ac_im_libdir/libX11.$ac_extension"; then
 5158:     ac_im_usrlibdir=$ac_im_libdir; break
 5159:       fi
 5160:     done
 5161:     # Screen out bogus values from the imake configuration.  They are
 5162:     # bogus both because they are the default anyway, and because
 5163:     # using them would break gcc on systems where it needs fixed includes.
 5164:     case $ac_im_incroot in
 5165:     /usr/include) ac_x_includes= ;;
 5166:     *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 5167:     esac
 5168:     case $ac_im_usrlibdir in
 5169:     /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 5170:     *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 5171:     esac
 5172:   fi
 5173:   cd ..
 5174:   rm -f -r conftest.dir
 5175: fi
 5176: 
 5177: # Standard set of common directories for X headers.
 5178: # Check X11 before X11Rn because it is often a symlink to the current release.
 5179: ac_x_header_dirs='
 5180: /usr/X11/include
 5181: /usr/X11R7/include
 5182: /usr/X11R6/include
 5183: /usr/X11R5/include
 5184: /usr/X11R4/include
 5185: 
 5186: /usr/include/X11
 5187: /usr/include/X11R7
 5188: /usr/include/X11R6
 5189: /usr/include/X11R5
 5190: /usr/include/X11R4
 5191: 
 5192: /usr/local/X11/include
 5193: /usr/local/X11R7/include
 5194: /usr/local/X11R6/include
 5195: /usr/local/X11R5/include
 5196: /usr/local/X11R4/include
 5197: 
 5198: /usr/local/include/X11
 5199: /usr/local/include/X11R7
 5200: /usr/local/include/X11R6
 5201: /usr/local/include/X11R5
 5202: /usr/local/include/X11R4
 5203: 
 5204: /usr/X386/include
 5205: /usr/x386/include
 5206: /usr/XFree86/include/X11
 5207: 
 5208: /usr/include
 5209: /usr/local/include
 5210: /usr/unsupported/include
 5211: /usr/athena/include
 5212: /usr/local/x11r5/include
 5213: /usr/lpp/Xamples/include
 5214: 
 5215: /usr/openwin/include
 5216: /usr/openwin/share/include'
 5217: 
 5218: if test "$ac_x_includes" = no; then
 5219:   # Guess where to find include files, by looking for Xlib.h.
 5220:   # First, try using that file with no special directory specified.
 5221:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5222: /* end confdefs.h.  */
 5223: #include <X11/Xlib.h>
 5224: _ACEOF
 5225: if ac_fn_c_try_cpp "$LINENO"; then :
 5226:   # We can compile using X headers with no special include directory.
 5227: ac_x_includes=
 5228: else
 5229:   for ac_dir in $ac_x_header_dirs; do
 5230:   if test -r "$ac_dir/X11/Xlib.h"; then
 5231:     ac_x_includes=$ac_dir
 5232:     break
 5233:   fi
 5234: done
 5235: fi
 5236: rm -f conftest.err conftest.$ac_ext
 5237: fi # $ac_x_includes = no
 5238: 
 5239: if test "$ac_x_libraries" = no; then
 5240:   # Check for the libraries.
 5241:   # See if we find them without any special options.
 5242:   # Don't add to $LIBS permanently.
 5243:   ac_save_LIBS=$LIBS
 5244:   LIBS="-lX11 $LIBS"
 5245:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5246: /* end confdefs.h.  */
 5247: #include <X11/Xlib.h>
 5248: int
 5249: main ()
 5250: {
 5251: XrmInitialize ()
 5252:   ;
 5253:   return 0;
 5254: }
 5255: _ACEOF
 5256: if ac_fn_c_try_link "$LINENO"; then :
 5257:   LIBS=$ac_save_LIBS
 5258: # We can link X programs with no special library path.
 5259: ac_x_libraries=
 5260: else
 5261:   LIBS=$ac_save_LIBS
 5262: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 5263: do
 5264:   # Don't even attempt the hair of trying to link an X program!
 5265:   for ac_extension in a so sl dylib la dll; do
 5266:     if test -r "$ac_dir/libX11.$ac_extension"; then
 5267:       ac_x_libraries=$ac_dir
 5268:       break 2
 5269:     fi
 5270:   done
 5271: done
 5272: fi
 5273: rm -f core conftest.err conftest.$ac_objext \
 5274:     conftest$ac_exeext conftest.$ac_ext
 5275: fi # $ac_x_libraries = no
 5276: 
 5277: case $ac_x_includes,$ac_x_libraries in #(
 5278:   no,* | *,no | *\'*)
 5279:     # Didn't find X, or a directory has "'" in its name.
 5280:     ac_cv_have_x="have_x=no";; #(
 5281:   *)
 5282:     # Record where we found X for the cache.
 5283:     ac_cv_have_x="have_x=yes\
 5284:     ac_x_includes='$ac_x_includes'\
 5285:     ac_x_libraries='$ac_x_libraries'"
 5286: esac
 5287: fi
 5288: ;; #(
 5289:     *) have_x=yes;;
 5290:   esac
 5291:   eval "$ac_cv_have_x"
 5292: fi # $with_x != no
 5293: 
 5294: if test "$have_x" != yes; then
 5295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 5296: $as_echo "$have_x" >&6; }
 5297:   no_x=yes
 5298: else
 5299:   # If each of the values was on the command line, it overrides each guess.
 5300:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 5301:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 5302:   # Update the cache value to reflect the command line values.
 5303:   ac_cv_have_x="have_x=yes\
 5304:     ac_x_includes='$x_includes'\
 5305:     ac_x_libraries='$x_libraries'"
 5306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 5307: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 5308: fi
 5309: 
 5310: if test "$no_x" = yes; then
 5311:   # Not all programs may use this symbol, but it does not hurt to define it.
 5312: 
 5313: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 5314: 
 5315:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 5316: else
 5317:   if test -n "$x_includes"; then
 5318:     X_CFLAGS="$X_CFLAGS -I$x_includes"
 5319:   fi
 5320: 
 5321:   # It would also be nice to do this for all -L options, not just this one.
 5322:   if test -n "$x_libraries"; then
 5323:     X_LIBS="$X_LIBS -L$x_libraries"
 5324:     # For Solaris; some versions of Sun CC require a space after -R and
 5325:     # others require no space.  Words are not sufficient . . . .
 5326:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 5327: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
 5328:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 5329:     ac_xsave_c_werror_flag=$ac_c_werror_flag
 5330:     ac_c_werror_flag=yes
 5331:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5332: /* end confdefs.h.  */
 5333: 
 5334: int
 5335: main ()
 5336: {
 5337: 
 5338:   ;
 5339:   return 0;
 5340: }
 5341: _ACEOF
 5342: if ac_fn_c_try_link "$LINENO"; then :
 5343:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5344: $as_echo "no" >&6; }
 5345:        X_LIBS="$X_LIBS -R$x_libraries"
 5346: else
 5347:   LIBS="$ac_xsave_LIBS -R $x_libraries"
 5348:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5349: /* end confdefs.h.  */
 5350: 
 5351: int
 5352: main ()
 5353: {
 5354: 
 5355:   ;
 5356:   return 0;
 5357: }
 5358: _ACEOF
 5359: if ac_fn_c_try_link "$LINENO"; then :
 5360:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 5361: $as_echo "yes" >&6; }
 5362:       X_LIBS="$X_LIBS -R $x_libraries"
 5363: else
 5364:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 5365: $as_echo "neither works" >&6; }
 5366: fi
 5367: rm -f core conftest.err conftest.$ac_objext \
 5368:     conftest$ac_exeext conftest.$ac_ext
 5369: fi
 5370: rm -f core conftest.err conftest.$ac_objext \
 5371:     conftest$ac_exeext conftest.$ac_ext
 5372:     ac_c_werror_flag=$ac_xsave_c_werror_flag
 5373:     LIBS=$ac_xsave_LIBS
 5374:   fi
 5375: 
 5376:   # Check for system-dependent libraries X programs must link with.
 5377:   # Do this before checking for the system-independent R6 libraries
 5378:   # (-lICE), since we may need -lsocket or whatever for X linking.
 5379: 
 5380:   if test "$ISC" = yes; then
 5381:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 5382:   else
 5383:     # Martyn Johnson says this is needed for Ultrix, if the X
 5384:     # libraries were built with DECnet support.  And Karl Berry says
 5385:     # the Alpha needs dnet_stub (dnet does not exist).
 5386:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 5387:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5388: /* end confdefs.h.  */
 5389: 
 5390: /* Override any GCC internal prototype to avoid an error.
 5391:    Use char because int might match the return type of a GCC
 5392:    builtin and then its argument prototype would still apply.  */
 5393: #ifdef __cplusplus
 5394: extern "C"
 5395: #endif
 5396: char XOpenDisplay ();
 5397: int
 5398: main ()
 5399: {
 5400: return XOpenDisplay ();
 5401:   ;
 5402:   return 0;
 5403: }
 5404: _ACEOF
 5405: if ac_fn_c_try_link "$LINENO"; then :
 5406: 
 5407: else
 5408:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 5409: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 5410: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 5411:   $as_echo_n "(cached) " >&6
 5412: else
 5413:   ac_check_lib_save_LIBS=$LIBS
 5414: LIBS="-ldnet  $LIBS"
 5415: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5416: /* end confdefs.h.  */
 5417: 
 5418: /* Override any GCC internal prototype to avoid an error.
 5419:    Use char because int might match the return type of a GCC
 5420:    builtin and then its argument prototype would still apply.  */
 5421: #ifdef __cplusplus
 5422: extern "C"
 5423: #endif
 5424: char dnet_ntoa ();
 5425: int
 5426: main ()
 5427: {
 5428: return dnet_ntoa ();
 5429:   ;
 5430:   return 0;
 5431: }
 5432: _ACEOF
 5433: if ac_fn_c_try_link "$LINENO"; then :
 5434:   ac_cv_lib_dnet_dnet_ntoa=yes
 5435: else
 5436:   ac_cv_lib_dnet_dnet_ntoa=no
 5437: fi
 5438: rm -f core conftest.err conftest.$ac_objext \
 5439:     conftest$ac_exeext conftest.$ac_ext
 5440: LIBS=$ac_check_lib_save_LIBS
 5441: fi
 5442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 5443: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 5444: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 5445:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 5446: fi
 5447: 
 5448:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 5449:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 5450: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 5451: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 5452:   $as_echo_n "(cached) " >&6
 5453: else
 5454:   ac_check_lib_save_LIBS=$LIBS
 5455: LIBS="-ldnet_stub  $LIBS"
 5456: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5457: /* end confdefs.h.  */
 5458: 
 5459: /* Override any GCC internal prototype to avoid an error.
 5460:    Use char because int might match the return type of a GCC
 5461:    builtin and then its argument prototype would still apply.  */
 5462: #ifdef __cplusplus
 5463: extern "C"
 5464: #endif
 5465: char dnet_ntoa ();
 5466: int
 5467: main ()
 5468: {
 5469: return dnet_ntoa ();
 5470:   ;
 5471:   return 0;
 5472: }
 5473: _ACEOF
 5474: if ac_fn_c_try_link "$LINENO"; then :
 5475:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 5476: else
 5477:   ac_cv_lib_dnet_stub_dnet_ntoa=no
 5478: fi
 5479: rm -f core conftest.err conftest.$ac_objext \
 5480:     conftest$ac_exeext conftest.$ac_ext
 5481: LIBS=$ac_check_lib_save_LIBS
 5482: fi
 5483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 5484: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 5485: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 5486:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 5487: fi
 5488: 
 5489:     fi
 5490: fi
 5491: rm -f core conftest.err conftest.$ac_objext \
 5492:     conftest$ac_exeext conftest.$ac_ext
 5493:     LIBS="$ac_xsave_LIBS"
 5494: 
 5495:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 5496:     # to get the SysV transport functions.
 5497:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 5498:     # needs -lnsl.
 5499:     # The nsl library prevents programs from opening the X display
 5500:     # on Irix 5.2, according to T.E. Dickey.
 5501:     # The functions gethostbyname, getservbyname, and inet_addr are
 5502:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 5503:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 5504: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 5505: 
 5506: fi
 5507: 
 5508:     if test $ac_cv_func_gethostbyname = no; then
 5509:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 5510: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 5511: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 5512:   $as_echo_n "(cached) " >&6
 5513: else
 5514:   ac_check_lib_save_LIBS=$LIBS
 5515: LIBS="-lnsl  $LIBS"
 5516: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5517: /* end confdefs.h.  */
 5518: 
 5519: /* Override any GCC internal prototype to avoid an error.
 5520:    Use char because int might match the return type of a GCC
 5521:    builtin and then its argument prototype would still apply.  */
 5522: #ifdef __cplusplus
 5523: extern "C"
 5524: #endif
 5525: char gethostbyname ();
 5526: int
 5527: main ()
 5528: {
 5529: return gethostbyname ();
 5530:   ;
 5531:   return 0;
 5532: }
 5533: _ACEOF
 5534: if ac_fn_c_try_link "$LINENO"; then :
 5535:   ac_cv_lib_nsl_gethostbyname=yes
 5536: else
 5537:   ac_cv_lib_nsl_gethostbyname=no
 5538: fi
 5539: rm -f core conftest.err conftest.$ac_objext \
 5540:     conftest$ac_exeext conftest.$ac_ext
 5541: LIBS=$ac_check_lib_save_LIBS
 5542: fi
 5543: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 5544: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 5545: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 5546:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 5547: fi
 5548: 
 5549:       if test $ac_cv_lib_nsl_gethostbyname = no; then
 5550:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 5551: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 5552: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 5553:   $as_echo_n "(cached) " >&6
 5554: else
 5555:   ac_check_lib_save_LIBS=$LIBS
 5556: LIBS="-lbsd  $LIBS"
 5557: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5558: /* end confdefs.h.  */
 5559: 
 5560: /* Override any GCC internal prototype to avoid an error.
 5561:    Use char because int might match the return type of a GCC
 5562:    builtin and then its argument prototype would still apply.  */
 5563: #ifdef __cplusplus
 5564: extern "C"
 5565: #endif
 5566: char gethostbyname ();
 5567: int
 5568: main ()
 5569: {
 5570: return gethostbyname ();
 5571:   ;
 5572:   return 0;
 5573: }
 5574: _ACEOF
 5575: if ac_fn_c_try_link "$LINENO"; then :
 5576:   ac_cv_lib_bsd_gethostbyname=yes
 5577: else
 5578:   ac_cv_lib_bsd_gethostbyname=no
 5579: fi
 5580: rm -f core conftest.err conftest.$ac_objext \
 5581:     conftest$ac_exeext conftest.$ac_ext
 5582: LIBS=$ac_check_lib_save_LIBS
 5583: fi
 5584: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 5585: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 5586: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 5587:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 5588: fi
 5589: 
 5590:       fi
 5591:     fi
 5592: 
 5593:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 5594:     # socket/setsockopt and other routines are undefined under SCO ODT
 5595:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 5596:     # on later versions), says Simon Leinen: it contains gethostby*
 5597:     # variants that don't use the name server (or something).  -lsocket
 5598:     # must be given before -lnsl if both are needed.  We assume that
 5599:     # if connect needs -lnsl, so does gethostbyname.
 5600:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 5601: if test "x$ac_cv_func_connect" = x""yes; then :
 5602: 
 5603: fi
 5604: 
 5605:     if test $ac_cv_func_connect = no; then
 5606:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 5607: $as_echo_n "checking for connect in -lsocket... " >&6; }
 5608: if test "${ac_cv_lib_socket_connect+set}" = set; then :
 5609:   $as_echo_n "(cached) " >&6
 5610: else
 5611:   ac_check_lib_save_LIBS=$LIBS
 5612: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 5613: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5614: /* end confdefs.h.  */
 5615: 
 5616: /* Override any GCC internal prototype to avoid an error.
 5617:    Use char because int might match the return type of a GCC
 5618:    builtin and then its argument prototype would still apply.  */
 5619: #ifdef __cplusplus
 5620: extern "C"
 5621: #endif
 5622: char connect ();
 5623: int
 5624: main ()
 5625: {
 5626: return connect ();
 5627:   ;
 5628:   return 0;
 5629: }
 5630: _ACEOF
 5631: if ac_fn_c_try_link "$LINENO"; then :
 5632:   ac_cv_lib_socket_connect=yes
 5633: else
 5634:   ac_cv_lib_socket_connect=no
 5635: fi
 5636: rm -f core conftest.err conftest.$ac_objext \
 5637:     conftest$ac_exeext conftest.$ac_ext
 5638: LIBS=$ac_check_lib_save_LIBS
 5639: fi
 5640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 5641: $as_echo "$ac_cv_lib_socket_connect" >&6; }
 5642: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 5643:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 5644: fi
 5645: 
 5646:     fi
 5647: 
 5648:     # Guillermo Gomez says -lposix is necessary on A/UX.
 5649:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 5650: if test "x$ac_cv_func_remove" = x""yes; then :
 5651: 
 5652: fi
 5653: 
 5654:     if test $ac_cv_func_remove = no; then
 5655:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 5656: $as_echo_n "checking for remove in -lposix... " >&6; }
 5657: if test "${ac_cv_lib_posix_remove+set}" = set; then :
 5658:   $as_echo_n "(cached) " >&6
 5659: else
 5660:   ac_check_lib_save_LIBS=$LIBS
 5661: LIBS="-lposix  $LIBS"
 5662: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5663: /* end confdefs.h.  */
 5664: 
 5665: /* Override any GCC internal prototype to avoid an error.
 5666:    Use char because int might match the return type of a GCC
 5667:    builtin and then its argument prototype would still apply.  */
 5668: #ifdef __cplusplus
 5669: extern "C"
 5670: #endif
 5671: char remove ();
 5672: int
 5673: main ()
 5674: {
 5675: return remove ();
 5676:   ;
 5677:   return 0;
 5678: }
 5679: _ACEOF
 5680: if ac_fn_c_try_link "$LINENO"; then :
 5681:   ac_cv_lib_posix_remove=yes
 5682: else
 5683:   ac_cv_lib_posix_remove=no
 5684: fi
 5685: rm -f core conftest.err conftest.$ac_objext \
 5686:     conftest$ac_exeext conftest.$ac_ext
 5687: LIBS=$ac_check_lib_save_LIBS
 5688: fi
 5689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 5690: $as_echo "$ac_cv_lib_posix_remove" >&6; }
 5691: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 5692:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 5693: fi
 5694: 
 5695:     fi
 5696: 
 5697:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 5698:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 5699: if test "x$ac_cv_func_shmat" = x""yes; then :
 5700: 
 5701: fi
 5702: 
 5703:     if test $ac_cv_func_shmat = no; then
 5704:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 5705: $as_echo_n "checking for shmat in -lipc... " >&6; }
 5706: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 5707:   $as_echo_n "(cached) " >&6
 5708: else
 5709:   ac_check_lib_save_LIBS=$LIBS
 5710: LIBS="-lipc  $LIBS"
 5711: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5712: /* end confdefs.h.  */
 5713: 
 5714: /* Override any GCC internal prototype to avoid an error.
 5715:    Use char because int might match the return type of a GCC
 5716:    builtin and then its argument prototype would still apply.  */
 5717: #ifdef __cplusplus
 5718: extern "C"
 5719: #endif
 5720: char shmat ();
 5721: int
 5722: main ()
 5723: {
 5724: return shmat ();
 5725:   ;
 5726:   return 0;
 5727: }
 5728: _ACEOF
 5729: if ac_fn_c_try_link "$LINENO"; then :
 5730:   ac_cv_lib_ipc_shmat=yes
 5731: else
 5732:   ac_cv_lib_ipc_shmat=no
 5733: fi
 5734: rm -f core conftest.err conftest.$ac_objext \
 5735:     conftest$ac_exeext conftest.$ac_ext
 5736: LIBS=$ac_check_lib_save_LIBS
 5737: fi
 5738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 5739: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 5740: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 5741:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 5742: fi
 5743: 
 5744:     fi
 5745:   fi
 5746: 
 5747:   # Check for libraries that X11R6 Xt/Xaw programs need.
 5748:   ac_save_LDFLAGS=$LDFLAGS
 5749:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 5750:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 5751:   # check for ICE first), but we must link in the order -lSM -lICE or
 5752:   # we get undefined symbols.  So assume we have SM if we have ICE.
 5753:   # These have to be linked with before -lX11, unlike the other
 5754:   # libraries we check for below, so use a different variable.
 5755:   # John Interrante, Karl Berry
 5756:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 5757: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 5758: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 5759:   $as_echo_n "(cached) " >&6
 5760: else
 5761:   ac_check_lib_save_LIBS=$LIBS
 5762: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 5763: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5764: /* end confdefs.h.  */
 5765: 
 5766: /* Override any GCC internal prototype to avoid an error.
 5767:    Use char because int might match the return type of a GCC
 5768:    builtin and then its argument prototype would still apply.  */
 5769: #ifdef __cplusplus
 5770: extern "C"
 5771: #endif
 5772: char IceConnectionNumber ();
 5773: int
 5774: main ()
 5775: {
 5776: return IceConnectionNumber ();
 5777:   ;
 5778:   return 0;
 5779: }
 5780: _ACEOF
 5781: if ac_fn_c_try_link "$LINENO"; then :
 5782:   ac_cv_lib_ICE_IceConnectionNumber=yes
 5783: else
 5784:   ac_cv_lib_ICE_IceConnectionNumber=no
 5785: fi
 5786: rm -f core conftest.err conftest.$ac_objext \
 5787:     conftest$ac_exeext conftest.$ac_ext
 5788: LIBS=$ac_check_lib_save_LIBS
 5789: fi
 5790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 5791: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 5792: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 5793:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 5794: fi
 5795: 
 5796:   LDFLAGS=$ac_save_LDFLAGS
 5797: 
 5798: fi
 5799: 
 5800: 
 5801: if test "$ac_x_includes" != "no"; then
 5802:     if test x"$ac_x_includes" != x; then
 5803:         X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
 5804:         includeX="-I$ac_x_includes"
 5805:     fi
 5806: fi
 5807: if test "$ac_x_libraries" != "no"; then
 5808:     if test x"$ac_x_libraries" != x; then
 5809:         X_LIBS="$X_LIBS -L$ac_x_libraries"
 5810:     fi
 5811: fi
 5812: 
 5813: # Check whether --enable-optimization was given.
 5814: if test "${enable_optimization+set}" = set; then :
 5815:   enableval=$enable_optimization;
 5816: if test "$enableval" = "no"; then
 5817:     CFLAGS=
 5818:     FFLAGS=
 5819:     CXXFLAGS=
 5820:     FCFLAGS=
 5821: else
 5822:     CFLAGS="$CFLAGS $enable_optimization"
 5823:     FFLAGS="$FFLAGS $enable_optimization"
 5824:     FCFLAGS="$FCFLAGS $enable_optimization"
 5825: fi
 5826: else
 5827: 
 5828:     CFLAGS="$CFLAGS $OPTIMISATION_C"
 5829:     FFLAGS="$FFLAGS $OPTIMISATION_F"
 5830:     FCFLAGS="$FCFLAGS $OPTIMISATION_F"
 5831: 
 5832: 
 5833: fi
 5834: 
 5835: 
 5836: # Check whether --enable-final-encoding was given.
 5837: if test "${enable_final_encoding+set}" = set; then :
 5838:   enableval=$enable_final_encoding;
 5839: if test "$enableval" = "no"; then
 5840:     FINAL_ENCODING="\$(shell locale charmap | \
 5841:         awk '/=/ { print \$\$3;} !/=/ { print \$\$1;}')"
 5842: else
 5843:     FINAL_ENCODING="$enable_final_encoding"
 5844: fi
 5845: else
 5846:   FINAL_ENCODING="\$(shell locale charmap | \
 5847:     awk '/=/ { print \$\$3;} !/=/ { print \$\$1;}')"
 5848: fi
 5849: 
 5850: 
 5851: # Check whether --enable-tex was given.
 5852: if test "${enable_tex+set}" = set; then :
 5853:   enableval=$enable_tex;
 5854: if test "$enableval" = "no"; then
 5855:     TEX_SUPPORT=no
 5856: else
 5857:     TEX_SUPPORT=yes
 5858: fi
 5859: else
 5860:   TEX_SUPPORT=guessed
 5861: fi
 5862: 
 5863: 
 5864: # Check whether --enable-vim was given.
 5865: if test "${enable_vim+set}" = set; then :
 5866:   enableval=$enable_vim;
 5867: if test "$enableval" = "no"; then
 5868:     VIM_SUPPORT=no
 5869: else
 5870:     VIM_SUPPORT=yes
 5871: fi
 5872: else
 5873:   VIM_SUPPORT=guessed
 5874: fi
 5875: 
 5876: 
 5877: # Check whether --enable-embedded-gnuplot was given.
 5878: if test "${enable_embedded_gnuplot+set}" = set; then :
 5879:   enableval=$enable_embedded_gnuplot;
 5880: if test "$enableval" = "no"; then
 5881:     MYGNUPLOT=no
 5882: else
 5883:     MYGNUPLOT=yes
 5884: fi
 5885: else
 5886: 
 5887: MYGNUPLOT=yes
 5888: fi
 5889: 
 5890: 
 5891: # Check whether --enable-gnuplot was given.
 5892: if test "${enable_gnuplot+set}" = set; then :
 5893:   enableval=$enable_gnuplot;
 5894: if test "$enableval" = "no"; then
 5895:     GNUPLOT_SUPPORT=no
 5896:     MYGNUPLOT=no
 5897:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5898: else
 5899:     GNUPLOT_SUPPORT=yes
 5900:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5901: fi
 5902: else
 5903: 
 5904: if test "$MYGNUPLOT" = "yes"; then
 5905:     GNUPLOT_SUPPORT=yes
 5906:     FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
 5907: else
 5908:     GNUPLOT_SUPPORT=guessed
 5909:     FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
 5910: fi
 5911: fi
 5912: 
 5913: 
 5914: # Check whether --enable-motif was given.
 5915: if test "${enable_motif+set}" = set; then :
 5916:   enableval=$enable_motif;
 5917: if test "$enableval" = "no"; then
 5918:     MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 5919: else
 5920:     CFLAGS_ORIG=$CFLAGS
 5921:     LIBS_ORIG=$LIBS
 5922:     CFLAGS="$CFLAGS $X_CFLAGS"
 5923:     LIBS="$LIB $X_LIBS"
 5924:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 5925: $as_echo_n "checking for main in -lXm... " >&6; }
 5926: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 5927:   $as_echo_n "(cached) " >&6
 5928: else
 5929:   ac_check_lib_save_LIBS=$LIBS
 5930: LIBS="-lXm  $LIBS"
 5931: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5932: /* end confdefs.h.  */
 5933: 
 5934: 
 5935: int
 5936: main ()
 5937: {
 5938: return main ();
 5939:   ;
 5940:   return 0;
 5941: }
 5942: _ACEOF
 5943: if ac_fn_c_try_link "$LINENO"; then :
 5944:   ac_cv_lib_Xm_main=yes
 5945: else
 5946:   ac_cv_lib_Xm_main=no
 5947: fi
 5948: rm -f core conftest.err conftest.$ac_objext \
 5949:     conftest$ac_exeext conftest.$ac_ext
 5950: LIBS=$ac_check_lib_save_LIBS
 5951: fi
 5952: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 5953: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 5954: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 5955:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 5956: else
 5957:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 5958: fi
 5959: 
 5960:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 5961:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
 5962: Motif flag is disabled.
 5963: " >&5
 5964: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
 5965: Motif flag is disabled.
 5966: " >&2;}
 5967:     fi
 5968:     LIBS=$LIBS_ORIG
 5969:     CFLAGS=$CFLAGS_ORIG
 5970: fi
 5971: else
 5972:   MOTIF_SUPPORT=guessed
 5973: fi
 5974: 
 5975: 
 5976: # Check whether --enable-experimental was given.
 5977: if test "${enable_experimental+set}" = set; then :
 5978:   enableval=$enable_experimental;
 5979: if test "$enableval" = "no"; then
 5980:     EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 5981: else
 5982:     EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
 5983: fi
 5984: else
 5985:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
 5986: fi
 5987: 
 5988: 
 5989: # Check whether --enable-debug was given.
 5990: if test "${enable_debug+set}" = set; then :
 5991:   enableval=$enable_debug;
 5992: if test "$enableval" = "no"; then
 5993:     DEBUG=""
 5994: else
 5995:     DEBUG="-DDEBUG_MEMOIRE"
 5996: fi
 5997: else
 5998:   DEBUG=""
 5999: fi
 6000: 
 6001: 
 6002: # Check whether --enable-profile was given.
 6003: if test "${enable_profile+set}" = set; then :
 6004:   enableval=$enable_profile;
 6005: if test "$enableval" = "no"; then
 6006:     PROFILAGE=""
 6007: else
 6008:     PROFILAGE="-pg"
 6009: fi
 6010: else
 6011:   PROFILAGE=""
 6012: fi
 6013: 
 6014: 
 6015: 
 6016: 
 6017: if test ! -d tools; then
 6018:     mkdir tools
 6019: fi
 6020: if test ! -d "$srcdir"/tools/$NCURSES; then
 6021:     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
 6022:             (cd "$srcdir/tools" && tar -xf -)
 6023: fi
 6024: if test ! -d "$srcdir"/tools/$READLINE; then
 6025:     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
 6026:             (cd "$srcdir/tools" && tar -xf -)
 6027: fi
 6028: if test ! -d "$srcdir"/tools/$UNITS; then
 6029:     gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
 6030:             (cd "$srcdir/tools" && tar -xf -)
 6031: fi
 6032: if test ! -d "$srcdir"/tools/$GSL; then
 6033:     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
 6034:             (cd "$srcdir/tools" && tar -xf -)
 6035: fi
 6036: if test ! -d "$srcdir"/tools/$GPP; then
 6037:     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
 6038:             (cd "$srcdir/tools" && tar -xf -)
 6039: fi
 6040: if test ! -d "$srcdir"/tools/$FILE; then
 6041:     gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
 6042:             (cd "$srcdir/tools" && tar -xf - )
 6043:     TMP=$(mktemp)
 6044:     (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
 6045:     sed 's/libmagic/librplfile/g' "$srcdir"/tools/$FILE/src/Makefile.am > $TMP
 6046:     sed 's/^bin_PROGRAMS = file/bin_PROGRAMS = rplfile/g' $TMP | \
 6047:         sed 's/^file_/rplfile_/g' > \
 6048:         "$srcdir"/tools/$FILE/src/Makefile.am
 6049:     sed 's/file$/rplfile/g' "$srcdir"/tools/$FILE/magic/Makefile.am > $TMP
 6050:     \mv -f $TMP "$srcdir"/tools/$FILE/magic/Makefile.am
 6051:     (cd "$srcdir"/tools/$FILE && libtoolize --copy --force \
 6052:         && aclocal && automake -af && autoconf);
 6053: fi
 6054: if test ! -d "$srcdir"/tools/$ICONV; then
 6055:     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
 6056:             (cd "$srcdir/tools" && tar -xf -)
 6057: fi
 6058: if test ! -d "$srcdir"/tools/$SQLITE; then
 6059:     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
 6060:             (cd "$srcdir/tools" && tar -xf -)
 6061: fi
 6062: if test ! -d tools/$OPENSSL; then
 6063:     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
 6064:             (cd tools && tar -xf -)
 6065: fi
 6066: 
 6067: # Extract the first word of "libtoolize", so it can be a program name with args.
 6068: set dummy libtoolize; ac_word=$2
 6069: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6070: $as_echo_n "checking for $ac_word... " >&6; }
 6071: if test "${ac_cv_prog_LIBTOOLIZE+set}" = set; then :
 6072:   $as_echo_n "(cached) " >&6
 6073: else
 6074:   if test -n "$LIBTOOLIZE"; then
 6075:   ac_cv_prog_LIBTOOLIZE="$LIBTOOLIZE" # Let the user override the test.
 6076: else
 6077: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6078: for as_dir in $PATH
 6079: do
 6080:   IFS=$as_save_IFS
 6081:   test -z "$as_dir" && as_dir=.
 6082:     for ac_exec_ext in '' $ac_executable_extensions; do
 6083:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6084:     ac_cv_prog_LIBTOOLIZE="yes"
 6085:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6086:     break 2
 6087:   fi
 6088: done
 6089:   done
 6090: IFS=$as_save_IFS
 6091: 
 6092:   test -z "$ac_cv_prog_LIBTOOLIZE" && ac_cv_prog_LIBTOOLIZE="no"
 6093: fi
 6094: fi
 6095: LIBTOOLIZE=$ac_cv_prog_LIBTOOLIZE
 6096: if test -n "$LIBTOOLIZE"; then
 6097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBTOOLIZE" >&5
 6098: $as_echo "$LIBTOOLIZE" >&6; }
 6099: else
 6100:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6101: $as_echo "no" >&6; }
 6102: fi
 6103: 
 6104: 
 6105: if test "$LIBTOOLIZE" = "no"; then
 6106:     as_fn_error "Cannot find libtoolize! You have to install it." "$LINENO" 5
 6107: fi
 6108: 
 6109: # Extract the first word of "aclocal", so it can be a program name with args.
 6110: set dummy aclocal; ac_word=$2
 6111: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6112: $as_echo_n "checking for $ac_word... " >&6; }
 6113: if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
 6114:   $as_echo_n "(cached) " >&6
 6115: else
 6116:   if test -n "$ACLOCAL"; then
 6117:   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
 6118: else
 6119: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6120: for as_dir in $PATH
 6121: do
 6122:   IFS=$as_save_IFS
 6123:   test -z "$as_dir" && as_dir=.
 6124:     for ac_exec_ext in '' $ac_executable_extensions; do
 6125:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6126:     ac_cv_prog_ACLOCAL="yes"
 6127:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6128:     break 2
 6129:   fi
 6130: done
 6131:   done
 6132: IFS=$as_save_IFS
 6133: 
 6134:   test -z "$ac_cv_prog_ACLOCAL" && ac_cv_prog_ACLOCAL="no"
 6135: fi
 6136: fi
 6137: ACLOCAL=$ac_cv_prog_ACLOCAL
 6138: if test -n "$ACLOCAL"; then
 6139:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
 6140: $as_echo "$ACLOCAL" >&6; }
 6141: else
 6142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6143: $as_echo "no" >&6; }
 6144: fi
 6145: 
 6146: 
 6147: if test "$ACLOCAL" = "no"; then
 6148:     as_fn_error "Cannot find aclocal! You have to install it." "$LINENO" 5
 6149: fi
 6150: 
 6151: # Extract the first word of "automake", so it can be a program name with args.
 6152: set dummy automake; ac_word=$2
 6153: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6154: $as_echo_n "checking for $ac_word... " >&6; }
 6155: if test "${ac_cv_prog_AUTOMAKE+set}" = set; then :
 6156:   $as_echo_n "(cached) " >&6
 6157: else
 6158:   if test -n "$AUTOMAKE"; then
 6159:   ac_cv_prog_AUTOMAKE="$AUTOMAKE" # Let the user override the test.
 6160: else
 6161: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6162: for as_dir in $PATH
 6163: do
 6164:   IFS=$as_save_IFS
 6165:   test -z "$as_dir" && as_dir=.
 6166:     for ac_exec_ext in '' $ac_executable_extensions; do
 6167:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6168:     ac_cv_prog_AUTOMAKE="yes"
 6169:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6170:     break 2
 6171:   fi
 6172: done
 6173:   done
 6174: IFS=$as_save_IFS
 6175: 
 6176:   test -z "$ac_cv_prog_AUTOMAKE" && ac_cv_prog_AUTOMAKE="no"
 6177: fi
 6178: fi
 6179: AUTOMAKE=$ac_cv_prog_AUTOMAKE
 6180: if test -n "$AUTOMAKE"; then
 6181:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOMAKE" >&5
 6182: $as_echo "$AUTOMAKE" >&6; }
 6183: else
 6184:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6185: $as_echo "no" >&6; }
 6186: fi
 6187: 
 6188: 
 6189: if test "$AUTOMAKE" = "no"; then
 6190:     as_fn_error "Cannot find automake! You have to install it." "$LINENO" 5
 6191: fi
 6192: 
 6193: # Extract the first word of "autoconf", so it can be a program name with args.
 6194: set dummy autoconf; ac_word=$2
 6195: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6196: $as_echo_n "checking for $ac_word... " >&6; }
 6197: if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
 6198:   $as_echo_n "(cached) " >&6
 6199: else
 6200:   if test -n "$AUTOCONF"; then
 6201:   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
 6202: else
 6203: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6204: for as_dir in $PATH
 6205: do
 6206:   IFS=$as_save_IFS
 6207:   test -z "$as_dir" && as_dir=.
 6208:     for ac_exec_ext in '' $ac_executable_extensions; do
 6209:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6210:     ac_cv_prog_AUTOCONF="yes"
 6211:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6212:     break 2
 6213:   fi
 6214: done
 6215:   done
 6216: IFS=$as_save_IFS
 6217: 
 6218:   test -z "$ac_cv_prog_AUTOCONF" && ac_cv_prog_AUTOCONF="no"
 6219: fi
 6220: fi
 6221: AUTOCONF=$ac_cv_prog_AUTOCONF
 6222: if test -n "$AUTOCONF"; then
 6223:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
 6224: $as_echo "$AUTOCONF" >&6; }
 6225: else
 6226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6227: $as_echo "no" >&6; }
 6228: fi
 6229: 
 6230: 
 6231: if test "$AUTOCONF" = "no"; then
 6232:     as_fn_error "Cannot find autoconf! You have to install it." "$LINENO" 5
 6233: fi
 6234: 
 6235: 
 6236: 
 6237: # Check whether --enable-final-run-path was given.
 6238: if test "${enable_final_run_path+set}" = set; then :
 6239:   enableval=$enable_final_run_path;
 6240:     if test "x$enable_final_run_path" = "x"; then
 6241:         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 6242: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
 6243:         as_fn_error "\"You should specify final path !\"" "$LINENO" 5
 6244:     else
 6245:         RUNPATH="$enable_final_run_path"
 6246:     fi
 6247: 
 6248: else
 6249:   RUNPATH="\${prefix}"
 6250: 
 6251: fi
 6252: 
 6253: 
 6254: 
 6255: 
 6256: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 6257: $as_echo_n "checking whether ln -s works... " >&6; }
 6258: LN_S=$as_ln_s
 6259: if test "$LN_S" = "ln -s"; then
 6260:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6261: $as_echo "yes" >&6; }
 6262: else
 6263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 6264: $as_echo "no, using $LN_S" >&6; }
 6265: fi
 6266: 
 6267: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 6268: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 6269: set x ${MAKE-make}
 6270: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 6271: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 6272:   $as_echo_n "(cached) " >&6
 6273: else
 6274:   cat >conftest.make <<\_ACEOF
 6275: SHELL = /bin/sh
 6276: all:
 6277:     @echo '@@@%%%=$(MAKE)=@@@%%%'
 6278: _ACEOF
 6279: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 6280: case `${MAKE-make} -f conftest.make 2>/dev/null` in
 6281:   *@@@%%%=?*=@@@%%%*)
 6282:     eval ac_cv_prog_make_${ac_make}_set=yes;;
 6283:   *)
 6284:     eval ac_cv_prog_make_${ac_make}_set=no;;
 6285: esac
 6286: rm -f conftest.make
 6287: fi
 6288: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 6289:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 6290: $as_echo "yes" >&6; }
 6291:   SET_MAKE=
 6292: else
 6293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6294: $as_echo "no" >&6; }
 6295:   SET_MAKE="MAKE=${MAKE-make}"
 6296: fi
 6297: 
 6298: if test -n "$ac_tool_prefix"; then
 6299:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6300: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6301: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6302: $as_echo_n "checking for $ac_word... " >&6; }
 6303: if test "${ac_cv_prog_RANLIB+set}" = set; then :
 6304:   $as_echo_n "(cached) " >&6
 6305: else
 6306:   if test -n "$RANLIB"; then
 6307:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6308: else
 6309: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6310: for as_dir in $PATH
 6311: do
 6312:   IFS=$as_save_IFS
 6313:   test -z "$as_dir" && as_dir=.
 6314:     for ac_exec_ext in '' $ac_executable_extensions; do
 6315:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6316:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6317:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6318:     break 2
 6319:   fi
 6320: done
 6321:   done
 6322: IFS=$as_save_IFS
 6323: 
 6324: fi
 6325: fi
 6326: RANLIB=$ac_cv_prog_RANLIB
 6327: if test -n "$RANLIB"; then
 6328:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6329: $as_echo "$RANLIB" >&6; }
 6330: else
 6331:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6332: $as_echo "no" >&6; }
 6333: fi
 6334: 
 6335: 
 6336: fi
 6337: if test -z "$ac_cv_prog_RANLIB"; then
 6338:   ac_ct_RANLIB=$RANLIB
 6339:   # Extract the first word of "ranlib", so it can be a program name with args.
 6340: set dummy ranlib; ac_word=$2
 6341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6342: $as_echo_n "checking for $ac_word... " >&6; }
 6343: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 6344:   $as_echo_n "(cached) " >&6
 6345: else
 6346:   if test -n "$ac_ct_RANLIB"; then
 6347:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6348: else
 6349: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6350: for as_dir in $PATH
 6351: do
 6352:   IFS=$as_save_IFS
 6353:   test -z "$as_dir" && as_dir=.
 6354:     for ac_exec_ext in '' $ac_executable_extensions; do
 6355:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6356:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 6357:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6358:     break 2
 6359:   fi
 6360: done
 6361:   done
 6362: IFS=$as_save_IFS
 6363: 
 6364: fi
 6365: fi
 6366: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6367: if test -n "$ac_ct_RANLIB"; then
 6368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6369: $as_echo "$ac_ct_RANLIB" >&6; }
 6370: else
 6371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6372: $as_echo "no" >&6; }
 6373: fi
 6374: 
 6375:   if test "x$ac_ct_RANLIB" = x; then
 6376:     RANLIB=":"
 6377:   else
 6378:     case $cross_compiling:$ac_tool_warned in
 6379: yes:)
 6380: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6381: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6382: ac_tool_warned=yes ;;
 6383: esac
 6384:     RANLIB=$ac_ct_RANLIB
 6385:   fi
 6386: else
 6387:   RANLIB="$ac_cv_prog_RANLIB"
 6388: fi
 6389: 
 6390: 
 6391: # Extract the first word of "awk", so it can be a program name with args.
 6392: set dummy awk; ac_word=$2
 6393: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6394: $as_echo_n "checking for $ac_word... " >&6; }
 6395: if test "${ac_cv_prog_AWK+set}" = set; then :
 6396:   $as_echo_n "(cached) " >&6
 6397: else
 6398:   if test -n "$AWK"; then
 6399:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 6400: else
 6401: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6402: for as_dir in $PATH
 6403: do
 6404:   IFS=$as_save_IFS
 6405:   test -z "$as_dir" && as_dir=.
 6406:     for ac_exec_ext in '' $ac_executable_extensions; do
 6407:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6408:     ac_cv_prog_AWK="yes"
 6409:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6410:     break 2
 6411:   fi
 6412: done
 6413:   done
 6414: IFS=$as_save_IFS
 6415: 
 6416:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
 6417: fi
 6418: fi
 6419: AWK=$ac_cv_prog_AWK
 6420: if test -n "$AWK"; then
 6421:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 6422: $as_echo "$AWK" >&6; }
 6423: else
 6424:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6425: $as_echo "no" >&6; }
 6426: fi
 6427: 
 6428: 
 6429: if test "$AWK" = no; then
 6430:     as_fn_error "Can not find awk !" "$LINENO" 5
 6431: fi
 6432: 
 6433: # Extract the first word of "sed", so it can be a program name with args.
 6434: set dummy sed; ac_word=$2
 6435: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6436: $as_echo_n "checking for $ac_word... " >&6; }
 6437: if test "${ac_cv_prog_SED+set}" = set; then :
 6438:   $as_echo_n "(cached) " >&6
 6439: else
 6440:   if test -n "$SED"; then
 6441:   ac_cv_prog_SED="$SED" # Let the user override the test.
 6442: else
 6443: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6444: for as_dir in $PATH
 6445: do
 6446:   IFS=$as_save_IFS
 6447:   test -z "$as_dir" && as_dir=.
 6448:     for ac_exec_ext in '' $ac_executable_extensions; do
 6449:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6450:     ac_cv_prog_SED="yes"
 6451:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6452:     break 2
 6453:   fi
 6454: done
 6455:   done
 6456: IFS=$as_save_IFS
 6457: 
 6458:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
 6459: fi
 6460: fi
 6461: SED=$ac_cv_prog_SED
 6462: if test -n "$SED"; then
 6463:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
 6464: $as_echo "$SED" >&6; }
 6465: else
 6466:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6467: $as_echo "no" >&6; }
 6468: fi
 6469: 
 6470: 
 6471: if test "$SED" = no; then
 6472:     as_fn_error "Can not find sed !" "$LINENO" 5
 6473: fi
 6474: 
 6475: if test "$TEX_SUPPORT" = guessed; then
 6476:     POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6477: 
 6478:     # Extract the first word of "tex", so it can be a program name with args.
 6479: set dummy tex; ac_word=$2
 6480: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6481: $as_echo_n "checking for $ac_word... " >&6; }
 6482: if test "${ac_cv_prog_TEX+set}" = set; then :
 6483:   $as_echo_n "(cached) " >&6
 6484: else
 6485:   if test -n "$TEX"; then
 6486:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
 6487: else
 6488: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6489: for as_dir in $PATH
 6490: do
 6491:   IFS=$as_save_IFS
 6492:   test -z "$as_dir" && as_dir=.
 6493:     for ac_exec_ext in '' $ac_executable_extensions; do
 6494:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6495:     ac_cv_prog_TEX="yes"
 6496:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6497:     break 2
 6498:   fi
 6499: done
 6500:   done
 6501: IFS=$as_save_IFS
 6502: 
 6503:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
 6504: fi
 6505: fi
 6506: TEX=$ac_cv_prog_TEX
 6507: if test -n "$TEX"; then
 6508:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
 6509: $as_echo "$TEX" >&6; }
 6510: else
 6511:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6512: $as_echo "no" >&6; }
 6513: fi
 6514: 
 6515: 
 6516:     if test "$TEX" = no; then
 6517:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
 6518: Download at http://tex.loria.fr/
 6519: " >&5
 6520: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
 6521: Download at http://tex.loria.fr/
 6522: " >&2;}
 6523:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6524:     fi
 6525: 
 6526:     # Extract the first word of "latex", so it can be a program name with args.
 6527: set dummy latex; ac_word=$2
 6528: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6529: $as_echo_n "checking for $ac_word... " >&6; }
 6530: if test "${ac_cv_prog_LATEX+set}" = set; then :
 6531:   $as_echo_n "(cached) " >&6
 6532: else
 6533:   if test -n "$LATEX"; then
 6534:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
 6535: else
 6536: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6537: for as_dir in $PATH
 6538: do
 6539:   IFS=$as_save_IFS
 6540:   test -z "$as_dir" && as_dir=.
 6541:     for ac_exec_ext in '' $ac_executable_extensions; do
 6542:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6543:     ac_cv_prog_LATEX="yes"
 6544:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6545:     break 2
 6546:   fi
 6547: done
 6548:   done
 6549: IFS=$as_save_IFS
 6550: 
 6551:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
 6552: fi
 6553: fi
 6554: LATEX=$ac_cv_prog_LATEX
 6555: if test -n "$LATEX"; then
 6556:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
 6557: $as_echo "$LATEX" >&6; }
 6558: else
 6559:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6560: $as_echo "no" >&6; }
 6561: fi
 6562: 
 6563: 
 6564:     if test "$LATEX" = no; then
 6565:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
 6566: Download at http://tex.loria.fr/
 6567: " >&5
 6568: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
 6569: Download at http://tex.loria.fr/
 6570: " >&2;}
 6571:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6572:     fi
 6573: 
 6574:     # Extract the first word of "dvips", so it can be a program name with args.
 6575: set dummy dvips; ac_word=$2
 6576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6577: $as_echo_n "checking for $ac_word... " >&6; }
 6578: if test "${ac_cv_prog_DVIPS+set}" = set; then :
 6579:   $as_echo_n "(cached) " >&6
 6580: else
 6581:   if test -n "$DVIPS"; then
 6582:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
 6583: else
 6584: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6585: for as_dir in $PATH
 6586: do
 6587:   IFS=$as_save_IFS
 6588:   test -z "$as_dir" && as_dir=.
 6589:     for ac_exec_ext in '' $ac_executable_extensions; do
 6590:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6591:     ac_cv_prog_DVIPS="yes"
 6592:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6593:     break 2
 6594:   fi
 6595: done
 6596:   done
 6597: IFS=$as_save_IFS
 6598: 
 6599:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
 6600: fi
 6601: fi
 6602: DVIPS=$ac_cv_prog_DVIPS
 6603: if test -n "$DVIPS"; then
 6604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 6605: $as_echo "$DVIPS" >&6; }
 6606: else
 6607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6608: $as_echo "no" >&6; }
 6609: fi
 6610: 
 6611: 
 6612:     if test "$DVIPS" = no; then
 6613:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
 6614: Download at http://tex.loria.fr/
 6615: " >&5
 6616: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
 6617: Download at http://tex.loria.fr/
 6618: " >&2;}
 6619:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6620:     fi
 6621: 
 6622:     # Extract the first word of "gs", so it can be a program name with args.
 6623: set dummy gs; ac_word=$2
 6624: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6625: $as_echo_n "checking for $ac_word... " >&6; }
 6626: if test "${ac_cv_prog_GS+set}" = set; then :
 6627:   $as_echo_n "(cached) " >&6
 6628: else
 6629:   if test -n "$GS"; then
 6630:   ac_cv_prog_GS="$GS" # Let the user override the test.
 6631: else
 6632: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6633: for as_dir in $PATH
 6634: do
 6635:   IFS=$as_save_IFS
 6636:   test -z "$as_dir" && as_dir=.
 6637:     for ac_exec_ext in '' $ac_executable_extensions; do
 6638:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6639:     ac_cv_prog_GS="yes"
 6640:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6641:     break 2
 6642:   fi
 6643: done
 6644:   done
 6645: IFS=$as_save_IFS
 6646: 
 6647:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
 6648: fi
 6649: fi
 6650: GS=$ac_cv_prog_GS
 6651: if test -n "$GS"; then
 6652:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
 6653: $as_echo "$GS" >&6; }
 6654: else
 6655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6656: $as_echo "no" >&6; }
 6657: fi
 6658: 
 6659: 
 6660:     if test "$GS" = no; then
 6661:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
 6662: Download at http://ftp.lip6.fr/
 6663: " >&5
 6664: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
 6665: Download at http://ftp.lip6.fr/
 6666: " >&2;}
 6667:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6668:     fi
 6669: 
 6670:     # Extract the first word of "gv", so it can be a program name with args.
 6671: set dummy gv; ac_word=$2
 6672: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6673: $as_echo_n "checking for $ac_word... " >&6; }
 6674: if test "${ac_cv_prog_GV+set}" = set; then :
 6675:   $as_echo_n "(cached) " >&6
 6676: else
 6677:   if test -n "$GV"; then
 6678:   ac_cv_prog_GV="$GV" # Let the user override the test.
 6679: else
 6680: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6681: for as_dir in $PATH
 6682: do
 6683:   IFS=$as_save_IFS
 6684:   test -z "$as_dir" && as_dir=.
 6685:     for ac_exec_ext in '' $ac_executable_extensions; do
 6686:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6687:     ac_cv_prog_GV="yes"
 6688:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6689:     break 2
 6690:   fi
 6691: done
 6692:   done
 6693: IFS=$as_save_IFS
 6694: 
 6695:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
 6696: fi
 6697: fi
 6698: GV=$ac_cv_prog_GV
 6699: if test -n "$GV"; then
 6700:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
 6701: $as_echo "$GV" >&6; }
 6702: else
 6703:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6704: $as_echo "no" >&6; }
 6705: fi
 6706: 
 6707: 
 6708:     if test "$GV" = no; then
 6709:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
 6710: Download at http://ftp.lip6.fr/
 6711: " >&5
 6712: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
 6713: Download at http://ftp.lip6.fr/
 6714: " >&2;}
 6715:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6716:     fi
 6717: else
 6718:     if test "$TEX_SUPPORT" = no; then
 6719:         POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
 6720:     else
 6721:         POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
 6722:     fi
 6723: fi
 6724: 
 6725: if test "$GNUPLOT_SUPPORT" = guessed; then
 6726:     # Extract the first word of "gnuplot", so it can be a program name with args.
 6727: set dummy gnuplot; ac_word=$2
 6728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6729: $as_echo_n "checking for $ac_word... " >&6; }
 6730: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
 6731:   $as_echo_n "(cached) " >&6
 6732: else
 6733:   if test -n "$GNUPLOT_P"; then
 6734:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
 6735: else
 6736: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6737: for as_dir in $PATH
 6738: do
 6739:   IFS=$as_save_IFS
 6740:   test -z "$as_dir" && as_dir=.
 6741:     for ac_exec_ext in '' $ac_executable_extensions; do
 6742:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6743:     ac_cv_prog_GNUPLOT_P="yes"
 6744:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6745:     break 2
 6746:   fi
 6747: done
 6748:   done
 6749: IFS=$as_save_IFS
 6750: 
 6751:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
 6752: fi
 6753: fi
 6754: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
 6755: if test -n "$GNUPLOT_P"; then
 6756:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
 6757: $as_echo "$GNUPLOT_P" >&6; }
 6758: else
 6759:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6760: $as_echo "no" >&6; }
 6761: fi
 6762: 
 6763: 
 6764:     if test "$GNUPLOT_P" = no; then
 6765:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
 6766: Download at http://www.gnuplot.vt.edu/
 6767: " >&5
 6768: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
 6769: Download at http://www.gnuplot.vt.edu/
 6770: " >&2;}
 6771:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6772:     else
 6773:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6774:     fi
 6775: else
 6776:     if test "$GNUPLOT_SUPPORT" = no; then
 6777:         GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
 6778:     else
 6779:         GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
 6780:     fi
 6781: fi
 6782: 
 6783: if test "$VIM_SUPPORT" = guessed; then
 6784:     # Extract the first word of "vim", so it can be a program name with args.
 6785: set dummy vim; ac_word=$2
 6786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6787: $as_echo_n "checking for $ac_word... " >&6; }
 6788: if test "${ac_cv_prog_VIM+set}" = set; then :
 6789:   $as_echo_n "(cached) " >&6
 6790: else
 6791:   if test -n "$VIM"; then
 6792:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
 6793: else
 6794: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6795: for as_dir in $PATH
 6796: do
 6797:   IFS=$as_save_IFS
 6798:   test -z "$as_dir" && as_dir=.
 6799:     for ac_exec_ext in '' $ac_executable_extensions; do
 6800:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 6801:     ac_cv_prog_VIM="yes"
 6802:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6803:     break 2
 6804:   fi
 6805: done
 6806:   done
 6807: IFS=$as_save_IFS
 6808: 
 6809:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
 6810: fi
 6811: fi
 6812: VIM=$ac_cv_prog_VIM
 6813: if test -n "$VIM"; then
 6814:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
 6815: $as_echo "$VIM" >&6; }
 6816: else
 6817:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6818: $as_echo "no" >&6; }
 6819: fi
 6820: 
 6821: 
 6822:     if test "$VIM" = no; then
 6823:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
 6824: Download at http://www.vim.org/
 6825: " >&5
 6826: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
 6827: Download at http://www.vim.org/
 6828: " >&2;}
 6829:         VIM_SUPPORT="-UVIM_SUPPORT"
 6830:     else
 6831:         VIM_SUPPORT="-DVIM_SUPPORT"
 6832:     fi
 6833: else
 6834:     if test "$VIM_SUPPORT" = no; then
 6835:         VIM_SUPPORT="-UVIM_SUPPORT"
 6836:     else
 6837:         VIM_SUPPORT="-DVIM_SUPPORT"
 6838:     fi
 6839: fi
 6840: 
 6841: if test "$MOTIF_SUPPORT" = guessed; then
 6842:     CFLAGS_ORIG=$CFLAGS
 6843:     LIBS_ORIG=$LIBS
 6844:     CFLAGS="$CFLAGS $X_CFLAGS"
 6845:     LIBS="$LIB $X_LIBS"
 6846:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
 6847: $as_echo_n "checking for main in -lXm... " >&6; }
 6848: if test "${ac_cv_lib_Xm_main+set}" = set; then :
 6849:   $as_echo_n "(cached) " >&6
 6850: else
 6851:   ac_check_lib_save_LIBS=$LIBS
 6852: LIBS="-lXm  $LIBS"
 6853: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6854: /* end confdefs.h.  */
 6855: 
 6856: 
 6857: int
 6858: main ()
 6859: {
 6860: return main ();
 6861:   ;
 6862:   return 0;
 6863: }
 6864: _ACEOF
 6865: if ac_fn_c_try_link "$LINENO"; then :
 6866:   ac_cv_lib_Xm_main=yes
 6867: else
 6868:   ac_cv_lib_Xm_main=no
 6869: fi
 6870: rm -f core conftest.err conftest.$ac_objext \
 6871:     conftest$ac_exeext conftest.$ac_ext
 6872: LIBS=$ac_check_lib_save_LIBS
 6873: fi
 6874: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
 6875: $as_echo "$ac_cv_lib_Xm_main" >&6; }
 6876: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
 6877:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6878: else
 6879:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6880: fi
 6881: 
 6882:     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
 6883:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
 6884: Motif flag is disabled.
 6885: " >&5
 6886: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
 6887: Motif flag is disabled.
 6888: " >&2;}
 6889:     fi
 6890:     LIBS=$LIBS_ORIG
 6891:     CFLAGS=$CFLAGS_ORIG
 6892: fi
 6893: 
 6894: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; 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 -lXpm" >&5
 6900: $as_echo_n "checking for main in -lXpm... " >&6; }
 6901: if test "${ac_cv_lib_Xpm_main+set}" = set; then :
 6902:   $as_echo_n "(cached) " >&6
 6903: else
 6904:   ac_check_lib_save_LIBS=$LIBS
 6905: LIBS="-lXpm  $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_Xpm_main=yes
 6920: else
 6921:   ac_cv_lib_Xpm_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_Xpm_main" >&5
 6928: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
 6929: if test "x$ac_cv_lib_Xpm_main" = x""yes; then :
 6930:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 6931: else
 6932:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 6933: fi
 6934: 
 6935:     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
 6936:         libX="$X_LIBS -lXm -lXpm -lXt -lX11"
 6937:     else
 6938:         libX=""
 6939:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
 6940: Motif flag is disabled.
 6941: " >&5
 6942: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
 6943: Motif flag is disabled.
 6944: " >&2;}
 6945:     fi
 6946:     LIBS=$LIBS_ORIG
 6947:     CFLAGS=$CFLAGS_ORIG
 6948: else
 6949:     libX=""
 6950: fi
 6951: 
 6952: 
 6953: 
 6954: 
 6955: 
 6956: 
 6957: 
 6958: 
 6959: 
 6960: 
 6961: 
 6962: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 6963: 
 6964: 
 6965: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
 6966: $as_echo_n "checking for main in -lm... " >&6; }
 6967: if test "${ac_cv_lib_m_main+set}" = set; then :
 6968:   $as_echo_n "(cached) " >&6
 6969: else
 6970:   ac_check_lib_save_LIBS=$LIBS
 6971: LIBS="-lm  $LIBS"
 6972: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6973: /* end confdefs.h.  */
 6974: 
 6975: 
 6976: int
 6977: main ()
 6978: {
 6979: return main ();
 6980:   ;
 6981:   return 0;
 6982: }
 6983: _ACEOF
 6984: if ac_fn_c_try_link "$LINENO"; then :
 6985:   ac_cv_lib_m_main=yes
 6986: else
 6987:   ac_cv_lib_m_main=no
 6988: fi
 6989: rm -f core conftest.err conftest.$ac_objext \
 6990:     conftest$ac_exeext conftest.$ac_ext
 6991: LIBS=$ac_check_lib_save_LIBS
 6992: fi
 6993: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 6994: $as_echo "$ac_cv_lib_m_main" >&6; }
 6995: if test "x$ac_cv_lib_m_main" = x""yes; then :
 6996:   cat >>confdefs.h <<_ACEOF
 6997: #define HAVE_LIBM 1
 6998: _ACEOF
 6999: 
 7000:   LIBS="-lm $LIBS"
 7001: 
 7002: else
 7003:   as_fn_error "Can not find libm !" "$LINENO" 5
 7004: fi
 7005: 
 7006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 7007: $as_echo_n "checking for main in -lpthread... " >&6; }
 7008: if test "${ac_cv_lib_pthread_main+set}" = set; then :
 7009:   $as_echo_n "(cached) " >&6
 7010: else
 7011:   ac_check_lib_save_LIBS=$LIBS
 7012: LIBS="-lpthread  $LIBS"
 7013: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7014: /* end confdefs.h.  */
 7015: 
 7016: 
 7017: int
 7018: main ()
 7019: {
 7020: return main ();
 7021:   ;
 7022:   return 0;
 7023: }
 7024: _ACEOF
 7025: if ac_fn_c_try_link "$LINENO"; then :
 7026:   ac_cv_lib_pthread_main=yes
 7027: else
 7028:   ac_cv_lib_pthread_main=no
 7029: fi
 7030: rm -f core conftest.err conftest.$ac_objext \
 7031:     conftest$ac_exeext conftest.$ac_ext
 7032: LIBS=$ac_check_lib_save_LIBS
 7033: fi
 7034: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
 7035: $as_echo "$ac_cv_lib_pthread_main" >&6; }
 7036: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
 7037:   cat >>confdefs.h <<_ACEOF
 7038: #define HAVE_LIBPTHREAD 1
 7039: _ACEOF
 7040: 
 7041:   LIBS="-lpthread $LIBS"
 7042: 
 7043: else
 7044:   as_fn_error "Can not find libpthread !" "$LINENO" 5
 7045: fi
 7046: 
 7047: 
 7048: if test "$CYGWIN" != yes; then
 7049:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 7050: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 7051: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 7052:   $as_echo_n "(cached) " >&6
 7053: else
 7054:   ac_check_lib_save_LIBS=$LIBS
 7055: LIBS="-ldl  $LIBS"
 7056: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7057: /* end confdefs.h.  */
 7058: 
 7059: /* Override any GCC internal prototype to avoid an error.
 7060:    Use char because int might match the return type of a GCC
 7061:    builtin and then its argument prototype would still apply.  */
 7062: #ifdef __cplusplus
 7063: extern "C"
 7064: #endif
 7065: char dlopen ();
 7066: int
 7067: main ()
 7068: {
 7069: return dlopen ();
 7070:   ;
 7071:   return 0;
 7072: }
 7073: _ACEOF
 7074: if ac_fn_c_try_link "$LINENO"; then :
 7075:   ac_cv_lib_dl_dlopen=yes
 7076: else
 7077:   ac_cv_lib_dl_dlopen=no
 7078: fi
 7079: rm -f core conftest.err conftest.$ac_objext \
 7080:     conftest$ac_exeext conftest.$ac_ext
 7081: LIBS=$ac_check_lib_save_LIBS
 7082: fi
 7083: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 7084: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 7085: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 7086:   LIBS="$LIBS -ldl"
 7087: else
 7088:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
 7089: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
 7090: fi
 7091: 
 7092: fi
 7093: 
 7094: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
 7095: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
 7096: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
 7097:   $as_echo_n "(cached) " >&6
 7098: else
 7099:   ac_check_lib_save_LIBS=$LIBS
 7100: LIBS="-lrt  $LIBS"
 7101: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7102: /* end confdefs.h.  */
 7103: 
 7104: /* Override any GCC internal prototype to avoid an error.
 7105:    Use char because int might match the return type of a GCC
 7106:    builtin and then its argument prototype would still apply.  */
 7107: #ifdef __cplusplus
 7108: extern "C"
 7109: #endif
 7110: char nanosleep ();
 7111: int
 7112: main ()
 7113: {
 7114: return nanosleep ();
 7115:   ;
 7116:   return 0;
 7117: }
 7118: _ACEOF
 7119: if ac_fn_c_try_link "$LINENO"; then :
 7120:   ac_cv_lib_rt_nanosleep=yes
 7121: else
 7122:   ac_cv_lib_rt_nanosleep=no
 7123: fi
 7124: rm -f core conftest.err conftest.$ac_objext \
 7125:     conftest$ac_exeext conftest.$ac_ext
 7126: LIBS=$ac_check_lib_save_LIBS
 7127: fi
 7128: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
 7129: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
 7130: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
 7131:   LIBS="$LIBS -lrt"
 7132: else
 7133:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
 7134: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
 7135: fi
 7136: 
 7137: 
 7138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 7139: $as_echo_n "checking for bind in -lsocket... " >&6; }
 7140: if test "${ac_cv_lib_socket_bind+set}" = set; then :
 7141:   $as_echo_n "(cached) " >&6
 7142: else
 7143:   ac_check_lib_save_LIBS=$LIBS
 7144: LIBS="-lsocket  $LIBS"
 7145: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7146: /* end confdefs.h.  */
 7147: 
 7148: /* Override any GCC internal prototype to avoid an error.
 7149:    Use char because int might match the return type of a GCC
 7150:    builtin and then its argument prototype would still apply.  */
 7151: #ifdef __cplusplus
 7152: extern "C"
 7153: #endif
 7154: char bind ();
 7155: int
 7156: main ()
 7157: {
 7158: return bind ();
 7159:   ;
 7160:   return 0;
 7161: }
 7162: _ACEOF
 7163: if ac_fn_c_try_link "$LINENO"; then :
 7164:   ac_cv_lib_socket_bind=yes
 7165: else
 7166:   ac_cv_lib_socket_bind=no
 7167: fi
 7168: rm -f core conftest.err conftest.$ac_objext \
 7169:     conftest$ac_exeext conftest.$ac_ext
 7170: LIBS=$ac_check_lib_save_LIBS
 7171: fi
 7172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 7173: $as_echo "$ac_cv_lib_socket_bind" >&6; }
 7174: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
 7175:   LIBS="$LIBS -lsocket"
 7176: else
 7177:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
 7178: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
 7179: fi
 7180: 
 7181: 
 7182: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7183: 
 7184: # Check whether --with-mysql was given.
 7185: if test "${with_mysql+set}" = set; then :
 7186:   withval=$with_mysql;
 7187: else
 7188:   with_mysql=check
 7189: fi
 7190: 
 7191: 
 7192: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
 7193:     libMySQLinc="-I/usr/include"
 7194:     libMySQLlib="-L/usr/lib"
 7195: 
 7196:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 7197: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
 7198:     saved_CFLAGS="$CFLAGS"
 7199:     CFLAGS="$CFLAGS $libMySQLinc"
 7200:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7201: /* end confdefs.h.  */
 7202: #include "mysql.h"
 7203: int
 7204: main ()
 7205: {
 7206: 
 7207:   ;
 7208:   return 0;
 7209: }
 7210: _ACEOF
 7211: if ac_fn_c_try_compile "$LINENO"; then :
 7212:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7213: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7214:                     libMySQLinc=$libMySQLinc/mysql
 7215: else
 7216:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7217: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7218: fi
 7219: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7220:     CFLAGS=$saved_CFLAGS
 7221: 
 7222:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7223:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
 7224: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
 7225:         saved_CFLAGS="$CFLAGS"
 7226:         CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7227:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7228: /* end confdefs.h.  */
 7229: #include "mysql.h"
 7230: int
 7231: main ()
 7232: {
 7233: 
 7234:   ;
 7235:   return 0;
 7236: }
 7237: _ACEOF
 7238: if ac_fn_c_try_compile "$LINENO"; then :
 7239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7240: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7241:                         libMySQLinc=$libMySQLinc
 7242: else
 7243:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7244: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7245: fi
 7246: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7247:         CFLAGS=$saved_CFLAGS
 7248:         libMySQLinc=$libMySQLinc/mysql
 7249:     fi
 7250: 
 7251:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7252:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
 7253: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
 7254:         saved_CFLAGS="$CFLAGS"
 7255:         CFLAGS="$CFLAGS $libMySQLinc/../local/include"
 7256:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7257: /* end confdefs.h.  */
 7258: #include "mysql.h"
 7259: int
 7260: main ()
 7261: {
 7262: 
 7263:   ;
 7264:   return 0;
 7265: }
 7266: _ACEOF
 7267: if ac_fn_c_try_compile "$LINENO"; then :
 7268:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7269: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7270:                         libMySQLinc=$libMySQLinc/mysql
 7271: else
 7272:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7273: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7274: fi
 7275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7276:         CFLAGS=$saved_CFLAGS
 7277:         libMySQLinc=$libMySQLinc/../local/include
 7278:         libMySQLlib=$libMySQLlib/../local/lib
 7279:     fi
 7280: 
 7281:     if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7282:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
 7283: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
 7284:         saved_CFLAGS="$CFLAGS"
 7285:         CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
 7286:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7287: /* end confdefs.h.  */
 7288: #include "mysql.h"
 7289: int
 7290: main ()
 7291: {
 7292: 
 7293:   ;
 7294:   return 0;
 7295: }
 7296: _ACEOF
 7297: if ac_fn_c_try_compile "$LINENO"; then :
 7298:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7299: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7300:                         libMySQLinc=$libMySQLinc/mysql
 7301: else
 7302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7303: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7304: fi
 7305: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7306:         CFLAGS=$saved_CFLAGS
 7307:         libMySQLinc=$libMySQLinc/../local/include/mysql
 7308:         libMySQLlib=$libMySQLlib/../local/lib
 7309:     fi
 7310: else
 7311:     if test "x$with_mysql" != xno; then
 7312:         libMySQLinc="-I$with_mysql/include"
 7313:         libMySQLlib="-L$with_mysql/lib"
 7314: 
 7315:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 7316: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
 7317:         saved_CFLAGS="$CFLAGS"
 7318:         CFLAGS="$CFLAGS $libMySQLinc"
 7319:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7320: /* end confdefs.h.  */
 7321: #include "mysql.h"
 7322: int
 7323: main ()
 7324: {
 7325: 
 7326:   ;
 7327:   return 0;
 7328: }
 7329: _ACEOF
 7330: if ac_fn_c_try_compile "$LINENO"; then :
 7331:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7332: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7333:                         libMySQLinc=$libMySQLinc/mysql
 7334: else
 7335:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7336: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7337: fi
 7338: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7339:         CFLAGS=$saved_CFLAGS
 7340: 
 7341:         if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
 7342:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
 7343: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
 7344:             saved_CFLAGS="$CFLAGS"
 7345:             CFLAGS="$CFLAGS $libMySQLinc/mysql"
 7346:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7347: /* end confdefs.h.  */
 7348: #include "mysql.h"
 7349: int
 7350: main ()
 7351: {
 7352: 
 7353:   ;
 7354:   return 0;
 7355: }
 7356: _ACEOF
 7357: if ac_fn_c_try_compile "$LINENO"; then :
 7358:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7359: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
 7360:                             libMySQLinc=$libMySQLinc
 7361: else
 7362:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7363: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7364: fi
 7365: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7366:             CFLAGS=$saved_CFLAGS
 7367:             libMySQLinc=$libMySQLinc/mysql
 7368:         fi
 7369:     else
 7370:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7371:     fi
 7372: fi
 7373: 
 7374: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
 7375:     MYSQL_LIB=no
 7376: 
 7377:     if test $MYSQL_LIB = no; then
 7378:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 7379: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
 7380:         saved_LIBS="$LIBS"
 7381:         LIBS="$LIBS $libMySQLlib $libMySQLinc -lmysqlclient_r"
 7382:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7383: /* end confdefs.h.  */
 7384: #include "mysql.h"
 7385: int
 7386: main ()
 7387: {
 7388: MYSQL mysql; mysql_init(&mysql);
 7389:   ;
 7390:   return 0;
 7391: }
 7392: _ACEOF
 7393: if ac_fn_c_try_link "$LINENO"; then :
 7394:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7395: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
 7396: else
 7397:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7398: $as_echo "no" >&6; }; MYSQL_LIB="no"
 7399: fi
 7400: rm -f core conftest.err conftest.$ac_objext \
 7401:     conftest$ac_exeext conftest.$ac_ext
 7402:         LIBS=$saved_LIBS;
 7403:         libMySQLlib="$libMySQLlib -lmysqlclient_r"
 7404:     fi
 7405: 
 7406:     if test $MYSQL_LIB = no; then
 7407:         MYSQL_SUPPORT="-UMYSQL_SUPPORT"
 7408:     fi
 7409: fi
 7410: 
 7411: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
 7412:     libMySQLinc=
 7413:     libMySQLlib=
 7414: fi
 7415: 
 7416: 
 7417: 
 7418: 
 7419: 
 7420: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
 7421: 
 7422: # Check whether --with-postgresql was given.
 7423: if test "${with_postgresql+set}" = set; then :
 7424:   withval=$with_postgresql;
 7425: else
 7426:   with_postgresql=check
 7427: fi
 7428: 
 7429: 
 7430: # with_postgresql : check [pas défini], yes [uniquement --with],
 7431: # no [--without], valeur [--with=valeur].
 7432: 
 7433: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
 7434:     libPgSQLinc="-I/usr/include"
 7435:     libPgSQLlib="-L/usr/lib"
 7436: 
 7437:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 7438: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
 7439:     saved_CFLAGS="$CFLAGS"
 7440:     CFLAGS="$CFLAGS $libPgSQLinc"
 7441:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7442: /* end confdefs.h.  */
 7443: #include "libpq-fe.h"
 7444: int
 7445: main ()
 7446: {
 7447: 
 7448:   ;
 7449:   return 0;
 7450: }
 7451: _ACEOF
 7452: if ac_fn_c_try_compile "$LINENO"; then :
 7453:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7454: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7455: else
 7456:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7457: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7458: fi
 7459: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7460:     CFLAGS=$saved_CFLAGS
 7461: 
 7462:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7463:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
 7464: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
 7465:         saved_CFLAGS="$CFLAGS"
 7466:         CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7467:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7468: /* end confdefs.h.  */
 7469: #include "libpq-fe.h"
 7470: int
 7471: main ()
 7472: {
 7473: 
 7474:   ;
 7475:   return 0;
 7476: }
 7477: _ACEOF
 7478: if ac_fn_c_try_compile "$LINENO"; then :
 7479:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7480: $as_echo "yes" >&6; };
 7481:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7482: else
 7483:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7484: $as_echo "no" >&6; };
 7485:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7486: fi
 7487: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7488:         CFLAGS=$saved_CFLAGS
 7489:         libPgSQLinc=$libPgSQLinc/postgresql
 7490:     fi
 7491: 
 7492:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7493:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
 7494: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
 7495:         saved_CFLAGS="$CFLAGS"
 7496:         CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7497:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7498: /* end confdefs.h.  */
 7499: #include "libpq-fe.h"
 7500: int
 7501: main ()
 7502: {
 7503: 
 7504:   ;
 7505:   return 0;
 7506: }
 7507: _ACEOF
 7508: if ac_fn_c_try_compile "$LINENO"; then :
 7509:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7510: $as_echo "yes" >&6; };
 7511:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7512: else
 7513:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7514: $as_echo "no" >&6; };
 7515:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7516: fi
 7517: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7518:         CFLAGS=$saved_CFLAGS
 7519:         libPgSQLinc=$libPgSQLinc/pgsql
 7520:     fi
 7521: 
 7522:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7523:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
 7524: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
 7525:         saved_CFLAGS="$CFLAGS"
 7526:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
 7527:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7528: /* end confdefs.h.  */
 7529: #include "libpq-fe.h"
 7530: int
 7531: main ()
 7532: {
 7533: 
 7534:   ;
 7535:   return 0;
 7536: }
 7537: _ACEOF
 7538: if ac_fn_c_try_compile "$LINENO"; then :
 7539:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7540: $as_echo "yes" >&6; };
 7541:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7542: else
 7543:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7544: $as_echo "no" >&6; };
 7545:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7546: fi
 7547: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7548:         CFLAGS=$saved_CFLAGS
 7549:         libPgSQLinc=$libPgSQLinc/../local/include
 7550:         libPgSQLlib=$libPgSQLlib/../local/lib
 7551:     fi
 7552: 
 7553:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7554:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
 7555: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
 7556:         saved_CFLAGS="$CFLAGS"
 7557:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
 7558:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7559: /* end confdefs.h.  */
 7560: #include "libpq-fe.h"
 7561: int
 7562: main ()
 7563: {
 7564: 
 7565:   ;
 7566:   return 0;
 7567: }
 7568: _ACEOF
 7569: if ac_fn_c_try_compile "$LINENO"; then :
 7570:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7571: $as_echo "yes" >&6; };
 7572:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7573: else
 7574:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7575: $as_echo "no" >&6; };
 7576:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7577: fi
 7578: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7579:         CFLAGS=$saved_CFLAGS
 7580:         libPgSQLinc=$libPgSQLinc/../local/include/postgresql
 7581:         libPgSQLlib=$libPgSQLlib/../local/lib
 7582:     fi
 7583: 
 7584:     if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7585:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
 7586: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
 7587:         saved_CFLAGS="$CFLAGS"
 7588:         CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
 7589:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7590: /* end confdefs.h.  */
 7591: #include "libpq-fe.h"
 7592: int
 7593: main ()
 7594: {
 7595: 
 7596:   ;
 7597:   return 0;
 7598: }
 7599: _ACEOF
 7600: if ac_fn_c_try_compile "$LINENO"; then :
 7601:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7602: $as_echo "yes" >&6; };
 7603:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7604: else
 7605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7606: $as_echo "no" >&6; };
 7607:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7608: fi
 7609: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7610:         CFLAGS=$saved_CFLAGS
 7611:         libPgSQLinc=$libPgSQLinc/local/include/pgsql
 7612:         libPgSQLlib=$libPgSQLlib/../local/lib
 7613:     fi
 7614: else
 7615:     if test "x$with_postgresql" != xno; then
 7616:         libPgSQLinc="-I$with_postgresql/include"
 7617:         libPgSQLlib="-L$with_postgresql/lib"
 7618: 
 7619:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 7620: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
 7621:         saved_CFLAGS="$CFLAGS"
 7622:         CFLAGS="$CFLAGS $libPgSQLinc"
 7623:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7624: /* end confdefs.h.  */
 7625: #include "libpq-fe.h"
 7626: int
 7627: main ()
 7628: {
 7629: 
 7630:   ;
 7631:   return 0;
 7632: }
 7633: _ACEOF
 7634: if ac_fn_c_try_compile "$LINENO"; then :
 7635:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7636: $as_echo "yes" >&6; };
 7637:                 POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7638: else
 7639:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7640: $as_echo "no" >&6; };
 7641:                 POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7642: fi
 7643: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7644:         CFLAGS=$saved_CFLAGS
 7645: 
 7646:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7647:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
 7648: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
 7649:             saved_CFLAGS="$CFLAGS"
 7650:             CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
 7651:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7652: /* end confdefs.h.  */
 7653: #include "libpq-fe.h"
 7654: int
 7655: main ()
 7656: {
 7657: 
 7658:   ;
 7659:   return 0;
 7660: }
 7661: _ACEOF
 7662: if ac_fn_c_try_compile "$LINENO"; then :
 7663:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7664: $as_echo "yes" >&6; };
 7665:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7666: else
 7667:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7668: $as_echo "no" >&6; };
 7669:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7670: fi
 7671: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7672:             CFLAGS=$saved_CFLAGS
 7673:             libPgSQLinc=$libPgSQLinc/postgresql
 7674:         fi
 7675: 
 7676:         if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
 7677:             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
 7678: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
 7679:             saved_CFLAGS="$CFLAGS"
 7680:             CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
 7681:             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7682: /* end confdefs.h.  */
 7683: #include "libpq-fe.h"
 7684: int
 7685: main ()
 7686: {
 7687: 
 7688:   ;
 7689:   return 0;
 7690: }
 7691: _ACEOF
 7692: if ac_fn_c_try_compile "$LINENO"; then :
 7693:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7694: $as_echo "yes" >&6; };
 7695:                     POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
 7696: else
 7697:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7698: $as_echo "no" >&6; };
 7699:                     POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7700: fi
 7701: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7702:             CFLAGS=$saved_CFLAGS
 7703:             libPgSQLinc=$libPgSQLinc/pgsql
 7704:         fi
 7705:     else
 7706:         POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
 7707:     fi
 7708: fi
 7709: 
 7710: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
 7711:     POSTGRESQL_LIB=no
 7712: 
 7713:     if test $POSTGRESQL_LIB = no; then
 7714:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 7715: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
 7716:         saved_LIBS="$LIBS"
 7717:         LIBS="$LIBS $libPgSQLlib $libPgSQLinc -lpq"
 7718:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7719: /* end confdefs.h.  */
 7720: #include "libpq-fe.h"
 7721: int
 7722: main ()
 7723: {
 7724: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
 7725:              PQconnectdb(conninfo);
 7726:   ;
 7727:   return 0;
 7728: }
 7729: _ACEOF
 7730: if ac_fn_c_try_link "$LINENO"; then :
 7731:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 7732: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
 7733: else
 7734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7735: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
 7736: fi
 7737: rm -f core conftest.err conftest.$ac_objext \
 7738:     conftest$ac_exeext conftest.$ac_ext
 7739:         LIBS=$saved_LIBS;
 7740:         libPgSQLlib="$libPgSQLlib -lpq"
 7741:     fi
 7742: fi
 7743: 
 7744: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
 7745:     libPgSQLinc=
 7746:     libPgSQLlib=
 7747: fi
 7748: 
 7749: 
 7750: 
 7751: 
 7752: 
 7753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 7754: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 7755: if test "${ac_cv_path_GREP+set}" = set; then :
 7756:   $as_echo_n "(cached) " >&6
 7757: else
 7758:   if test -z "$GREP"; then
 7759:   ac_path_GREP_found=false
 7760:   # Loop through the user's path and test for each of PROGNAME-LIST
 7761:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7762: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7763: do
 7764:   IFS=$as_save_IFS
 7765:   test -z "$as_dir" && as_dir=.
 7766:     for ac_prog in grep ggrep; do
 7767:     for ac_exec_ext in '' $ac_executable_extensions; do
 7768:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 7769:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 7770: # Check for GNU ac_path_GREP and select it if it is found.
 7771:   # Check for GNU $ac_path_GREP
 7772: case `"$ac_path_GREP" --version 2>&1` in
 7773: *GNU*)
 7774:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 7775: *)
 7776:   ac_count=0
 7777:   $as_echo_n 0123456789 >"conftest.in"
 7778:   while :
 7779:   do
 7780:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7781:     mv "conftest.tmp" "conftest.in"
 7782:     cp "conftest.in" "conftest.nl"
 7783:     $as_echo 'GREP' >> "conftest.nl"
 7784:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7785:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7786:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7787:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 7788:       # Best one so far, save it but keep looking for a better one
 7789:       ac_cv_path_GREP="$ac_path_GREP"
 7790:       ac_path_GREP_max=$ac_count
 7791:     fi
 7792:     # 10*(2^10) chars as input seems more than enough
 7793:     test $ac_count -gt 10 && break
 7794:   done
 7795:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7796: esac
 7797: 
 7798:       $ac_path_GREP_found && break 3
 7799:     done
 7800:   done
 7801:   done
 7802: IFS=$as_save_IFS
 7803:   if test -z "$ac_cv_path_GREP"; then
 7804:     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7805:   fi
 7806: else
 7807:   ac_cv_path_GREP=$GREP
 7808: fi
 7809: 
 7810: fi
 7811: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 7812: $as_echo "$ac_cv_path_GREP" >&6; }
 7813:  GREP="$ac_cv_path_GREP"
 7814: 
 7815: 
 7816: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 7817: $as_echo_n "checking for egrep... " >&6; }
 7818: if test "${ac_cv_path_EGREP+set}" = set; then :
 7819:   $as_echo_n "(cached) " >&6
 7820: else
 7821:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 7822:    then ac_cv_path_EGREP="$GREP -E"
 7823:    else
 7824:      if test -z "$EGREP"; then
 7825:   ac_path_EGREP_found=false
 7826:   # Loop through the user's path and test for each of PROGNAME-LIST
 7827:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7828: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 7829: do
 7830:   IFS=$as_save_IFS
 7831:   test -z "$as_dir" && as_dir=.
 7832:     for ac_prog in egrep; do
 7833:     for ac_exec_ext in '' $ac_executable_extensions; do
 7834:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 7835:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 7836: # Check for GNU ac_path_EGREP and select it if it is found.
 7837:   # Check for GNU $ac_path_EGREP
 7838: case `"$ac_path_EGREP" --version 2>&1` in
 7839: *GNU*)
 7840:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 7841: *)
 7842:   ac_count=0
 7843:   $as_echo_n 0123456789 >"conftest.in"
 7844:   while :
 7845:   do
 7846:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 7847:     mv "conftest.tmp" "conftest.in"
 7848:     cp "conftest.in" "conftest.nl"
 7849:     $as_echo 'EGREP' >> "conftest.nl"
 7850:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 7851:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 7852:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 7853:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 7854:       # Best one so far, save it but keep looking for a better one
 7855:       ac_cv_path_EGREP="$ac_path_EGREP"
 7856:       ac_path_EGREP_max=$ac_count
 7857:     fi
 7858:     # 10*(2^10) chars as input seems more than enough
 7859:     test $ac_count -gt 10 && break
 7860:   done
 7861:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 7862: esac
 7863: 
 7864:       $ac_path_EGREP_found && break 3
 7865:     done
 7866:   done
 7867:   done
 7868: IFS=$as_save_IFS
 7869:   if test -z "$ac_cv_path_EGREP"; then
 7870:     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 7871:   fi
 7872: else
 7873:   ac_cv_path_EGREP=$EGREP
 7874: fi
 7875: 
 7876:    fi
 7877: fi
 7878: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 7879: $as_echo "$ac_cv_path_EGREP" >&6; }
 7880:  EGREP="$ac_cv_path_EGREP"
 7881: 
 7882: 
 7883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 7884: $as_echo_n "checking for ANSI C header files... " >&6; }
 7885: if test "${ac_cv_header_stdc+set}" = set; then :
 7886:   $as_echo_n "(cached) " >&6
 7887: else
 7888:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7889: /* end confdefs.h.  */
 7890: #include <stdlib.h>
 7891: #include <stdarg.h>
 7892: #include <string.h>
 7893: #include <float.h>
 7894: 
 7895: int
 7896: main ()
 7897: {
 7898: 
 7899:   ;
 7900:   return 0;
 7901: }
 7902: _ACEOF
 7903: if ac_fn_c_try_compile "$LINENO"; then :
 7904:   ac_cv_header_stdc=yes
 7905: else
 7906:   ac_cv_header_stdc=no
 7907: fi
 7908: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7909: 
 7910: if test $ac_cv_header_stdc = yes; then
 7911:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 7912:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7913: /* end confdefs.h.  */
 7914: #include <string.h>
 7915: 
 7916: _ACEOF
 7917: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7918:   $EGREP "memchr" >/dev/null 2>&1; then :
 7919: 
 7920: else
 7921:   ac_cv_header_stdc=no
 7922: fi
 7923: rm -f conftest*
 7924: 
 7925: fi
 7926: 
 7927: if test $ac_cv_header_stdc = yes; then
 7928:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 7929:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7930: /* end confdefs.h.  */
 7931: #include <stdlib.h>
 7932: 
 7933: _ACEOF
 7934: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7935:   $EGREP "free" >/dev/null 2>&1; then :
 7936: 
 7937: else
 7938:   ac_cv_header_stdc=no
 7939: fi
 7940: rm -f conftest*
 7941: 
 7942: fi
 7943: 
 7944: if test $ac_cv_header_stdc = yes; then
 7945:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 7946:   if test "$cross_compiling" = yes; then :
 7947:   :
 7948: else
 7949:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7950: /* end confdefs.h.  */
 7951: #include <ctype.h>
 7952: #include <stdlib.h>
 7953: #if ((' ' & 0x0FF) == 0x020)
 7954: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 7955: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 7956: #else
 7957: # define ISLOWER(c) \
 7958:            (('a' <= (c) && (c) <= 'i') \
 7959:              || ('j' <= (c) && (c) <= 'r') \
 7960:              || ('s' <= (c) && (c) <= 'z'))
 7961: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 7962: #endif
 7963: 
 7964: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 7965: int
 7966: main ()
 7967: {
 7968:   int i;
 7969:   for (i = 0; i < 256; i++)
 7970:     if (XOR (islower (i), ISLOWER (i))
 7971:     || toupper (i) != TOUPPER (i))
 7972:       return 2;
 7973:   return 0;
 7974: }
 7975: _ACEOF
 7976: if ac_fn_c_try_run "$LINENO"; then :
 7977: 
 7978: else
 7979:   ac_cv_header_stdc=no
 7980: fi
 7981: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 7982:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 7983: fi
 7984: 
 7985: fi
 7986: fi
 7987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 7988: $as_echo "$ac_cv_header_stdc" >&6; }
 7989: if test $ac_cv_header_stdc = yes; then
 7990: 
 7991: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 7992: 
 7993: fi
 7994: 
 7995: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 7996: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 7997:           inttypes.h stdint.h unistd.h
 7998: do :
 7999:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8000: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 8001: "
 8002: eval as_val=\$$as_ac_Header
 8003:    if test "x$as_val" = x""yes; then :
 8004:   cat >>confdefs.h <<_ACEOF
 8005: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8006: _ACEOF
 8007: 
 8008: fi
 8009: 
 8010: done
 8011: 
 8012: 
 8013: # The cast to long int works around a bug in the HP C Compiler
 8014: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8015: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8016: # This bug is HP SR number 8606223364.
 8017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 8018: $as_echo_n "checking size of void *... " >&6; }
 8019: if test "${ac_cv_sizeof_void_p+set}" = set; then :
 8020:   $as_echo_n "(cached) " >&6
 8021: else
 8022:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 8023: 
 8024: else
 8025:   if test "$ac_cv_type_void_p" = yes; then
 8026:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8027: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8028: { as_fn_set_status 77
 8029: as_fn_error "cannot compute sizeof (void *)
 8030: See \`config.log' for more details." "$LINENO" 5; }; }
 8031:    else
 8032:      ac_cv_sizeof_void_p=0
 8033:    fi
 8034: fi
 8035: 
 8036: fi
 8037: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 8038: $as_echo "$ac_cv_sizeof_void_p" >&6; }
 8039: 
 8040: 
 8041: 
 8042: cat >>confdefs.h <<_ACEOF
 8043: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 8044: _ACEOF
 8045: 
 8046: 
 8047: # The cast to long int works around a bug in the HP C Compiler
 8048: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8049: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8050: # This bug is HP SR number 8606223364.
 8051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 8052: $as_echo_n "checking size of char... " >&6; }
 8053: if test "${ac_cv_sizeof_char+set}" = set; then :
 8054:   $as_echo_n "(cached) " >&6
 8055: else
 8056:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
 8057: 
 8058: else
 8059:   if test "$ac_cv_type_char" = yes; then
 8060:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8061: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8062: { as_fn_set_status 77
 8063: as_fn_error "cannot compute sizeof (char)
 8064: See \`config.log' for more details." "$LINENO" 5; }; }
 8065:    else
 8066:      ac_cv_sizeof_char=0
 8067:    fi
 8068: fi
 8069: 
 8070: fi
 8071: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
 8072: $as_echo "$ac_cv_sizeof_char" >&6; }
 8073: 
 8074: 
 8075: 
 8076: cat >>confdefs.h <<_ACEOF
 8077: #define SIZEOF_CHAR $ac_cv_sizeof_char
 8078: _ACEOF
 8079: 
 8080: 
 8081: # The cast to long int works around a bug in the HP C Compiler
 8082: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8083: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8084: # This bug is HP SR number 8606223364.
 8085: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
 8086: $as_echo_n "checking size of short int... " >&6; }
 8087: if test "${ac_cv_sizeof_short_int+set}" = set; then :
 8088:   $as_echo_n "(cached) " >&6
 8089: else
 8090:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
 8091: 
 8092: else
 8093:   if test "$ac_cv_type_short_int" = yes; then
 8094:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8095: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8096: { as_fn_set_status 77
 8097: as_fn_error "cannot compute sizeof (short int)
 8098: See \`config.log' for more details." "$LINENO" 5; }; }
 8099:    else
 8100:      ac_cv_sizeof_short_int=0
 8101:    fi
 8102: fi
 8103: 
 8104: fi
 8105: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
 8106: $as_echo "$ac_cv_sizeof_short_int" >&6; }
 8107: 
 8108: 
 8109: 
 8110: cat >>confdefs.h <<_ACEOF
 8111: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
 8112: _ACEOF
 8113: 
 8114: 
 8115: # The cast to long int works around a bug in the HP C Compiler
 8116: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8117: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8118: # This bug is HP SR number 8606223364.
 8119: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 8120: $as_echo_n "checking size of int... " >&6; }
 8121: if test "${ac_cv_sizeof_int+set}" = set; then :
 8122:   $as_echo_n "(cached) " >&6
 8123: else
 8124:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 8125: 
 8126: else
 8127:   if test "$ac_cv_type_int" = yes; then
 8128:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8129: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8130: { as_fn_set_status 77
 8131: as_fn_error "cannot compute sizeof (int)
 8132: See \`config.log' for more details." "$LINENO" 5; }; }
 8133:    else
 8134:      ac_cv_sizeof_int=0
 8135:    fi
 8136: fi
 8137: 
 8138: fi
 8139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 8140: $as_echo "$ac_cv_sizeof_int" >&6; }
 8141: 
 8142: 
 8143: 
 8144: cat >>confdefs.h <<_ACEOF
 8145: #define SIZEOF_INT $ac_cv_sizeof_int
 8146: _ACEOF
 8147: 
 8148: 
 8149: # The cast to long int works around a bug in the HP C Compiler
 8150: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8151: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8152: # This bug is HP SR number 8606223364.
 8153: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
 8154: $as_echo_n "checking size of long int... " >&6; }
 8155: if test "${ac_cv_sizeof_long_int+set}" = set; then :
 8156:   $as_echo_n "(cached) " >&6
 8157: else
 8158:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
 8159: 
 8160: else
 8161:   if test "$ac_cv_type_long_int" = yes; then
 8162:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8163: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8164: { as_fn_set_status 77
 8165: as_fn_error "cannot compute sizeof (long int)
 8166: See \`config.log' for more details." "$LINENO" 5; }; }
 8167:    else
 8168:      ac_cv_sizeof_long_int=0
 8169:    fi
 8170: fi
 8171: 
 8172: fi
 8173: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
 8174: $as_echo "$ac_cv_sizeof_long_int" >&6; }
 8175: 
 8176: 
 8177: 
 8178: cat >>confdefs.h <<_ACEOF
 8179: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
 8180: _ACEOF
 8181: 
 8182: 
 8183: # The cast to long int works around a bug in the HP C Compiler
 8184: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8185: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8186: # This bug is HP SR number 8606223364.
 8187: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
 8188: $as_echo_n "checking size of long long int... " >&6; }
 8189: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
 8190:   $as_echo_n "(cached) " >&6
 8191: else
 8192:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
 8193: 
 8194: else
 8195:   if test "$ac_cv_type_long_long_int" = yes; then
 8196:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8197: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8198: { as_fn_set_status 77
 8199: as_fn_error "cannot compute sizeof (long long int)
 8200: See \`config.log' for more details." "$LINENO" 5; }; }
 8201:    else
 8202:      ac_cv_sizeof_long_long_int=0
 8203:    fi
 8204: fi
 8205: 
 8206: fi
 8207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
 8208: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
 8209: 
 8210: 
 8211: 
 8212: cat >>confdefs.h <<_ACEOF
 8213: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
 8214: _ACEOF
 8215: 
 8216: 
 8217: # The cast to long int works around a bug in the HP C Compiler
 8218: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8219: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8220: # This bug is HP SR number 8606223364.
 8221: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
 8222: $as_echo_n "checking size of float... " >&6; }
 8223: if test "${ac_cv_sizeof_float+set}" = set; then :
 8224:   $as_echo_n "(cached) " >&6
 8225: else
 8226:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
 8227: 
 8228: else
 8229:   if test "$ac_cv_type_float" = yes; then
 8230:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8231: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8232: { as_fn_set_status 77
 8233: as_fn_error "cannot compute sizeof (float)
 8234: See \`config.log' for more details." "$LINENO" 5; }; }
 8235:    else
 8236:      ac_cv_sizeof_float=0
 8237:    fi
 8238: fi
 8239: 
 8240: fi
 8241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
 8242: $as_echo "$ac_cv_sizeof_float" >&6; }
 8243: 
 8244: 
 8245: 
 8246: cat >>confdefs.h <<_ACEOF
 8247: #define SIZEOF_FLOAT $ac_cv_sizeof_float
 8248: _ACEOF
 8249: 
 8250: 
 8251: # The cast to long int works around a bug in the HP C Compiler
 8252: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8253: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8254: # This bug is HP SR number 8606223364.
 8255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
 8256: $as_echo_n "checking size of double... " >&6; }
 8257: if test "${ac_cv_sizeof_double+set}" = set; then :
 8258:   $as_echo_n "(cached) " >&6
 8259: else
 8260:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
 8261: 
 8262: else
 8263:   if test "$ac_cv_type_double" = yes; then
 8264:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8265: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8266: { as_fn_set_status 77
 8267: as_fn_error "cannot compute sizeof (double)
 8268: See \`config.log' for more details." "$LINENO" 5; }; }
 8269:    else
 8270:      ac_cv_sizeof_double=0
 8271:    fi
 8272: fi
 8273: 
 8274: fi
 8275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
 8276: $as_echo "$ac_cv_sizeof_double" >&6; }
 8277: 
 8278: 
 8279: 
 8280: cat >>confdefs.h <<_ACEOF
 8281: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
 8282: _ACEOF
 8283: 
 8284: 
 8285: # The cast to long int works around a bug in the HP C Compiler
 8286: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8287: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8288: # This bug is HP SR number 8606223364.
 8289: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
 8290: $as_echo_n "checking size of long double... " >&6; }
 8291: if test "${ac_cv_sizeof_long_double+set}" = set; then :
 8292:   $as_echo_n "(cached) " >&6
 8293: else
 8294:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
 8295: 
 8296: else
 8297:   if test "$ac_cv_type_long_double" = yes; then
 8298:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 8299: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8300: { as_fn_set_status 77
 8301: as_fn_error "cannot compute sizeof (long double)
 8302: See \`config.log' for more details." "$LINENO" 5; }; }
 8303:    else
 8304:      ac_cv_sizeof_long_double=0
 8305:    fi
 8306: fi
 8307: 
 8308: fi
 8309: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
 8310: $as_echo "$ac_cv_sizeof_long_double" >&6; }
 8311: 
 8312: 
 8313: 
 8314: cat >>confdefs.h <<_ACEOF
 8315: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
 8316: _ACEOF
 8317: 
 8318: 
 8319: 
 8320: ac_header_dirent=no
 8321: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 8322:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 8323: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 8324: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 8325: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
 8326:   $as_echo_n "(cached) " >&6
 8327: else
 8328:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8329: /* end confdefs.h.  */
 8330: #include <sys/types.h>
 8331: #include <$ac_hdr>
 8332: 
 8333: int
 8334: main ()
 8335: {
 8336: if ((DIR *) 0)
 8337: return 0;
 8338:   ;
 8339:   return 0;
 8340: }
 8341: _ACEOF
 8342: if ac_fn_c_try_compile "$LINENO"; then :
 8343:   eval "$as_ac_Header=yes"
 8344: else
 8345:   eval "$as_ac_Header=no"
 8346: fi
 8347: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8348: fi
 8349: eval ac_res=\$$as_ac_Header
 8350:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 8351: $as_echo "$ac_res" >&6; }
 8352: eval as_val=\$$as_ac_Header
 8353:    if test "x$as_val" = x""yes; then :
 8354:   cat >>confdefs.h <<_ACEOF
 8355: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 8356: _ACEOF
 8357: 
 8358: ac_header_dirent=$ac_hdr; break
 8359: fi
 8360: 
 8361: done
 8362: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 8363: if test $ac_header_dirent = dirent.h; then
 8364:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8365: $as_echo_n "checking for library containing opendir... " >&6; }
 8366: if test "${ac_cv_search_opendir+set}" = set; then :
 8367:   $as_echo_n "(cached) " >&6
 8368: else
 8369:   ac_func_search_save_LIBS=$LIBS
 8370: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8371: /* end confdefs.h.  */
 8372: 
 8373: /* Override any GCC internal prototype to avoid an error.
 8374:    Use char because int might match the return type of a GCC
 8375:    builtin and then its argument prototype would still apply.  */
 8376: #ifdef __cplusplus
 8377: extern "C"
 8378: #endif
 8379: char opendir ();
 8380: int
 8381: main ()
 8382: {
 8383: return opendir ();
 8384:   ;
 8385:   return 0;
 8386: }
 8387: _ACEOF
 8388: for ac_lib in '' dir; do
 8389:   if test -z "$ac_lib"; then
 8390:     ac_res="none required"
 8391:   else
 8392:     ac_res=-l$ac_lib
 8393:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8394:   fi
 8395:   if ac_fn_c_try_link "$LINENO"; then :
 8396:   ac_cv_search_opendir=$ac_res
 8397: fi
 8398: rm -f core conftest.err conftest.$ac_objext \
 8399:     conftest$ac_exeext
 8400:   if test "${ac_cv_search_opendir+set}" = set; then :
 8401:   break
 8402: fi
 8403: done
 8404: if test "${ac_cv_search_opendir+set}" = set; then :
 8405: 
 8406: else
 8407:   ac_cv_search_opendir=no
 8408: fi
 8409: rm conftest.$ac_ext
 8410: LIBS=$ac_func_search_save_LIBS
 8411: fi
 8412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8413: $as_echo "$ac_cv_search_opendir" >&6; }
 8414: ac_res=$ac_cv_search_opendir
 8415: if test "$ac_res" != no; then :
 8416:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8417: 
 8418: fi
 8419: 
 8420: else
 8421:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 8422: $as_echo_n "checking for library containing opendir... " >&6; }
 8423: if test "${ac_cv_search_opendir+set}" = set; then :
 8424:   $as_echo_n "(cached) " >&6
 8425: else
 8426:   ac_func_search_save_LIBS=$LIBS
 8427: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8428: /* end confdefs.h.  */
 8429: 
 8430: /* Override any GCC internal prototype to avoid an error.
 8431:    Use char because int might match the return type of a GCC
 8432:    builtin and then its argument prototype would still apply.  */
 8433: #ifdef __cplusplus
 8434: extern "C"
 8435: #endif
 8436: char opendir ();
 8437: int
 8438: main ()
 8439: {
 8440: return opendir ();
 8441:   ;
 8442:   return 0;
 8443: }
 8444: _ACEOF
 8445: for ac_lib in '' x; do
 8446:   if test -z "$ac_lib"; then
 8447:     ac_res="none required"
 8448:   else
 8449:     ac_res=-l$ac_lib
 8450:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 8451:   fi
 8452:   if ac_fn_c_try_link "$LINENO"; then :
 8453:   ac_cv_search_opendir=$ac_res
 8454: fi
 8455: rm -f core conftest.err conftest.$ac_objext \
 8456:     conftest$ac_exeext
 8457:   if test "${ac_cv_search_opendir+set}" = set; then :
 8458:   break
 8459: fi
 8460: done
 8461: if test "${ac_cv_search_opendir+set}" = set; then :
 8462: 
 8463: else
 8464:   ac_cv_search_opendir=no
 8465: fi
 8466: rm conftest.$ac_ext
 8467: LIBS=$ac_func_search_save_LIBS
 8468: fi
 8469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 8470: $as_echo "$ac_cv_search_opendir" >&6; }
 8471: ac_res=$ac_cv_search_opendir
 8472: if test "$ac_res" != no; then :
 8473:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 8474: 
 8475: fi
 8476: 
 8477: fi
 8478: 
 8479: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 8480: $as_echo_n "checking for ANSI C header files... " >&6; }
 8481: if test "${ac_cv_header_stdc+set}" = set; then :
 8482:   $as_echo_n "(cached) " >&6
 8483: else
 8484:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8485: /* end confdefs.h.  */
 8486: #include <stdlib.h>
 8487: #include <stdarg.h>
 8488: #include <string.h>
 8489: #include <float.h>
 8490: 
 8491: int
 8492: main ()
 8493: {
 8494: 
 8495:   ;
 8496:   return 0;
 8497: }
 8498: _ACEOF
 8499: if ac_fn_c_try_compile "$LINENO"; then :
 8500:   ac_cv_header_stdc=yes
 8501: else
 8502:   ac_cv_header_stdc=no
 8503: fi
 8504: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8505: 
 8506: if test $ac_cv_header_stdc = yes; then
 8507:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 8508:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8509: /* end confdefs.h.  */
 8510: #include <string.h>
 8511: 
 8512: _ACEOF
 8513: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8514:   $EGREP "memchr" >/dev/null 2>&1; then :
 8515: 
 8516: else
 8517:   ac_cv_header_stdc=no
 8518: fi
 8519: rm -f conftest*
 8520: 
 8521: fi
 8522: 
 8523: if test $ac_cv_header_stdc = yes; then
 8524:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 8525:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8526: /* end confdefs.h.  */
 8527: #include <stdlib.h>
 8528: 
 8529: _ACEOF
 8530: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8531:   $EGREP "free" >/dev/null 2>&1; then :
 8532: 
 8533: else
 8534:   ac_cv_header_stdc=no
 8535: fi
 8536: rm -f conftest*
 8537: 
 8538: fi
 8539: 
 8540: if test $ac_cv_header_stdc = yes; then
 8541:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 8542:   if test "$cross_compiling" = yes; then :
 8543:   :
 8544: else
 8545:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8546: /* end confdefs.h.  */
 8547: #include <ctype.h>
 8548: #include <stdlib.h>
 8549: #if ((' ' & 0x0FF) == 0x020)
 8550: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 8551: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 8552: #else
 8553: # define ISLOWER(c) \
 8554:            (('a' <= (c) && (c) <= 'i') \
 8555:              || ('j' <= (c) && (c) <= 'r') \
 8556:              || ('s' <= (c) && (c) <= 'z'))
 8557: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 8558: #endif
 8559: 
 8560: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 8561: int
 8562: main ()
 8563: {
 8564:   int i;
 8565:   for (i = 0; i < 256; i++)
 8566:     if (XOR (islower (i), ISLOWER (i))
 8567:     || toupper (i) != TOUPPER (i))
 8568:       return 2;
 8569:   return 0;
 8570: }
 8571: _ACEOF
 8572: if ac_fn_c_try_run "$LINENO"; then :
 8573: 
 8574: else
 8575:   ac_cv_header_stdc=no
 8576: fi
 8577: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8578:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8579: fi
 8580: 
 8581: fi
 8582: fi
 8583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 8584: $as_echo "$ac_cv_header_stdc" >&6; }
 8585: if test $ac_cv_header_stdc = yes; then
 8586: 
 8587: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 8588: 
 8589: fi
 8590: 
 8591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 8592: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 8593: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 8594:   $as_echo_n "(cached) " >&6
 8595: else
 8596:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8597: /* end confdefs.h.  */
 8598: #include <sys/types.h>
 8599: #include <sys/wait.h>
 8600: #ifndef WEXITSTATUS
 8601: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
 8602: #endif
 8603: #ifndef WIFEXITED
 8604: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 8605: #endif
 8606: 
 8607: int
 8608: main ()
 8609: {
 8610:   int s;
 8611:   wait (&s);
 8612:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 8613:   ;
 8614:   return 0;
 8615: }
 8616: _ACEOF
 8617: if ac_fn_c_try_compile "$LINENO"; then :
 8618:   ac_cv_header_sys_wait_h=yes
 8619: else
 8620:   ac_cv_header_sys_wait_h=no
 8621: fi
 8622: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8623: fi
 8624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 8625: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
 8626: if test $ac_cv_header_sys_wait_h = yes; then
 8627: 
 8628: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 8629: 
 8630: fi
 8631: 
 8632: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
 8633:         time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
 8634:         sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
 8635: do :
 8636:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 8637: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 8638: eval as_val=\$$as_ac_Header
 8639:    if test "x$as_val" = x""yes; then :
 8640:   cat >>confdefs.h <<_ACEOF
 8641: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8642: _ACEOF
 8643: 
 8644: fi
 8645: 
 8646: done
 8647: 
 8648: 
 8649: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 8650: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 8651: if test "${ac_cv_c_const+set}" = set; then :
 8652:   $as_echo_n "(cached) " >&6
 8653: else
 8654:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8655: /* end confdefs.h.  */
 8656: 
 8657: int
 8658: main ()
 8659: {
 8660: /* FIXME: Include the comments suggested by Paul. */
 8661: #ifndef __cplusplus
 8662:   /* Ultrix mips cc rejects this.  */
 8663:   typedef int charset[2];
 8664:   const charset cs;
 8665:   /* SunOS 4.1.1 cc rejects this.  */
 8666:   char const *const *pcpcc;
 8667:   char **ppc;
 8668:   /* NEC SVR4.0.2 mips cc rejects this.  */
 8669:   struct point {int x, y;};
 8670:   static struct point const zero = {0,0};
 8671:   /* AIX XL C 1.02.0.0 rejects this.
 8672:      It does not let you subtract one const X* pointer from another in
 8673:      an arm of an if-expression whose if-part is not a constant
 8674:      expression */
 8675:   const char *g = "string";
 8676:   pcpcc = &g + (g ? g-g : 0);
 8677:   /* HPUX 7.0 cc rejects these. */
 8678:   ++pcpcc;
 8679:   ppc = (char**) pcpcc;
 8680:   pcpcc = (char const *const *) ppc;
 8681:   { /* SCO 3.2v4 cc rejects this.  */
 8682:     char *t;
 8683:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 8684: 
 8685:     *t++ = 0;
 8686:     if (s) return 0;
 8687:   }
 8688:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 8689:     int x[] = {25, 17};
 8690:     const int *foo = &x[0];
 8691:     ++foo;
 8692:   }
 8693:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 8694:     typedef const int *iptr;
 8695:     iptr p = 0;
 8696:     ++p;
 8697:   }
 8698:   { /* AIX XL C 1.02.0.0 rejects this saying
 8699:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 8700:     struct s { int j; const int *ap[3]; };
 8701:     struct s *b; b->j = 5;
 8702:   }
 8703:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 8704:     const int foo = 10;
 8705:     if (!foo) return 0;
 8706:   }
 8707:   return !cs[0] && !zero.x;
 8708: #endif
 8709: 
 8710:   ;
 8711:   return 0;
 8712: }
 8713: _ACEOF
 8714: if ac_fn_c_try_compile "$LINENO"; then :
 8715:   ac_cv_c_const=yes
 8716: else
 8717:   ac_cv_c_const=no
 8718: fi
 8719: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8720: fi
 8721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 8722: $as_echo "$ac_cv_c_const" >&6; }
 8723: if test $ac_cv_c_const = no; then
 8724: 
 8725: $as_echo "#define const /**/" >>confdefs.h
 8726: 
 8727: fi
 8728: 
 8729: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 8730: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 8731: if test "${ac_cv_type_uid_t+set}" = set; then :
 8732:   $as_echo_n "(cached) " >&6
 8733: else
 8734:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8735: /* end confdefs.h.  */
 8736: #include <sys/types.h>
 8737: 
 8738: _ACEOF
 8739: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 8740:   $EGREP "uid_t" >/dev/null 2>&1; then :
 8741:   ac_cv_type_uid_t=yes
 8742: else
 8743:   ac_cv_type_uid_t=no
 8744: fi
 8745: rm -f conftest*
 8746: 
 8747: fi
 8748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 8749: $as_echo "$ac_cv_type_uid_t" >&6; }
 8750: if test $ac_cv_type_uid_t = no; then
 8751: 
 8752: $as_echo "#define uid_t int" >>confdefs.h
 8753: 
 8754: 
 8755: $as_echo "#define gid_t int" >>confdefs.h
 8756: 
 8757: fi
 8758: 
 8759: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 8760: if test "x$ac_cv_type_pid_t" = x""yes; then :
 8761: 
 8762: else
 8763: 
 8764: cat >>confdefs.h <<_ACEOF
 8765: #define pid_t int
 8766: _ACEOF
 8767: 
 8768: fi
 8769: 
 8770: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 8771: if test "x$ac_cv_type_size_t" = x""yes; then :
 8772: 
 8773: else
 8774: 
 8775: cat >>confdefs.h <<_ACEOF
 8776: #define size_t unsigned int
 8777: _ACEOF
 8778: 
 8779: fi
 8780: 
 8781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 8782: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 8783: if test "${ac_cv_header_time+set}" = set; then :
 8784:   $as_echo_n "(cached) " >&6
 8785: else
 8786:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8787: /* end confdefs.h.  */
 8788: #include <sys/types.h>
 8789: #include <sys/time.h>
 8790: #include <time.h>
 8791: 
 8792: int
 8793: main ()
 8794: {
 8795: if ((struct tm *) 0)
 8796: return 0;
 8797:   ;
 8798:   return 0;
 8799: }
 8800: _ACEOF
 8801: if ac_fn_c_try_compile "$LINENO"; then :
 8802:   ac_cv_header_time=yes
 8803: else
 8804:   ac_cv_header_time=no
 8805: fi
 8806: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8807: fi
 8808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 8809: $as_echo "$ac_cv_header_time" >&6; }
 8810: if test $ac_cv_header_time = yes; then
 8811: 
 8812: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 8813: 
 8814: fi
 8815: 
 8816: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 8817: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 8818: if test "${ac_cv_struct_tm+set}" = set; then :
 8819:   $as_echo_n "(cached) " >&6
 8820: else
 8821:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8822: /* end confdefs.h.  */
 8823: #include <sys/types.h>
 8824: #include <time.h>
 8825: 
 8826: int
 8827: main ()
 8828: {
 8829: struct tm tm;
 8830:                      int *p = &tm.tm_sec;
 8831:                      return !p;
 8832:   ;
 8833:   return 0;
 8834: }
 8835: _ACEOF
 8836: if ac_fn_c_try_compile "$LINENO"; then :
 8837:   ac_cv_struct_tm=time.h
 8838: else
 8839:   ac_cv_struct_tm=sys/time.h
 8840: fi
 8841: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8842: fi
 8843: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 8844: $as_echo "$ac_cv_struct_tm" >&6; }
 8845: if test $ac_cv_struct_tm = sys/time.h; then
 8846: 
 8847: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 8848: 
 8849: fi
 8850: 
 8851: 
 8852: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 8853: $as_echo_n "checking return type of signal handlers... " >&6; }
 8854: if test "${ac_cv_type_signal+set}" = set; then :
 8855:   $as_echo_n "(cached) " >&6
 8856: else
 8857:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8858: /* end confdefs.h.  */
 8859: #include <sys/types.h>
 8860: #include <signal.h>
 8861: 
 8862: int
 8863: main ()
 8864: {
 8865: return *(signal (0, 0)) (0) == 1;
 8866:   ;
 8867:   return 0;
 8868: }
 8869: _ACEOF
 8870: if ac_fn_c_try_compile "$LINENO"; then :
 8871:   ac_cv_type_signal=int
 8872: else
 8873:   ac_cv_type_signal=void
 8874: fi
 8875: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 8876: fi
 8877: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 8878: $as_echo "$ac_cv_type_signal" >&6; }
 8879: 
 8880: cat >>confdefs.h <<_ACEOF
 8881: #define RETSIGTYPE $ac_cv_type_signal
 8882: _ACEOF
 8883: 
 8884: 
 8885: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 8886: $as_echo_n "checking for working strcoll... " >&6; }
 8887: if test "${ac_cv_func_strcoll_works+set}" = set; then :
 8888:   $as_echo_n "(cached) " >&6
 8889: else
 8890:   if test "$cross_compiling" = yes; then :
 8891:   ac_cv_func_strcoll_works=no
 8892: else
 8893:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8894: /* end confdefs.h.  */
 8895: $ac_includes_default
 8896: int
 8897: main ()
 8898: {
 8899: return (strcoll ("abc", "def") >= 0 ||
 8900:      strcoll ("ABC", "DEF") >= 0 ||
 8901:      strcoll ("123", "456") >= 0)
 8902:   ;
 8903:   return 0;
 8904: }
 8905: _ACEOF
 8906: if ac_fn_c_try_run "$LINENO"; then :
 8907:   ac_cv_func_strcoll_works=yes
 8908: else
 8909:   ac_cv_func_strcoll_works=no
 8910: fi
 8911: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 8912:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 8913: fi
 8914: 
 8915: fi
 8916: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
 8917: $as_echo "$ac_cv_func_strcoll_works" >&6; }
 8918: if test $ac_cv_func_strcoll_works = yes; then
 8919: 
 8920: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
 8921: 
 8922: fi
 8923: 
 8924: for ac_func in strftime
 8925: do :
 8926:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
 8927: if test "x$ac_cv_func_strftime" = x""yes; then :
 8928:   cat >>confdefs.h <<_ACEOF
 8929: #define HAVE_STRFTIME 1
 8930: _ACEOF
 8931: 
 8932: else
 8933:   # strftime is in -lintl on SCO UNIX.
 8934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 8935: $as_echo_n "checking for strftime in -lintl... " >&6; }
 8936: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 8937:   $as_echo_n "(cached) " >&6
 8938: else
 8939:   ac_check_lib_save_LIBS=$LIBS
 8940: LIBS="-lintl  $LIBS"
 8941: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 8942: /* end confdefs.h.  */
 8943: 
 8944: /* Override any GCC internal prototype to avoid an error.
 8945:    Use char because int might match the return type of a GCC
 8946:    builtin and then its argument prototype would still apply.  */
 8947: #ifdef __cplusplus
 8948: extern "C"
 8949: #endif
 8950: char strftime ();
 8951: int
 8952: main ()
 8953: {
 8954: return strftime ();
 8955:   ;
 8956:   return 0;
 8957: }
 8958: _ACEOF
 8959: if ac_fn_c_try_link "$LINENO"; then :
 8960:   ac_cv_lib_intl_strftime=yes
 8961: else
 8962:   ac_cv_lib_intl_strftime=no
 8963: fi
 8964: rm -f core conftest.err conftest.$ac_objext \
 8965:     conftest$ac_exeext conftest.$ac_ext
 8966: LIBS=$ac_check_lib_save_LIBS
 8967: fi
 8968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 8969: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
 8970: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 8971:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
 8972: 
 8973: LIBS="-lintl $LIBS"
 8974: fi
 8975: 
 8976: fi
 8977: done
 8978: 
 8979: for ac_func in vprintf
 8980: do :
 8981:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 8982: if test "x$ac_cv_func_vprintf" = x""yes; then :
 8983:   cat >>confdefs.h <<_ACEOF
 8984: #define HAVE_VPRINTF 1
 8985: _ACEOF
 8986: 
 8987: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 8988: if test "x$ac_cv_func__doprnt" = x""yes; then :
 8989: 
 8990: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 8991: 
 8992: fi
 8993: 
 8994: fi
 8995: done
 8996: 
 8997: 
 8998: for ac_func in ftime getcwd putenv select strcspn strdup \
 8999:         strerror strspn strstr strtod
 9000: do :
 9001:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 9002: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 9003: eval as_val=\$$as_ac_var
 9004:    if test "x$as_val" = x""yes; then :
 9005:   cat >>confdefs.h <<_ACEOF
 9006: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 9007: _ACEOF
 9008: 
 9009: fi
 9010: done
 9011: 
 9012: 
 9013: 
 9014: 
 9015: subdirs="$subdirs tools/$NCURSES"
 9016: 
 9017: subdirs="$subdirs tools/$READLINE"
 9018: 
 9019: subdirs="$subdirs tools/$UNITS"
 9020: 
 9021: subdirs="$subdirs tools/$GSL"
 9022: 
 9023: subdirs="$subdirs tools/$GPP"
 9024: 
 9025: subdirs="$subdirs tools/$FILE"
 9026: 
 9027: subdirs="$subdirs tools/$ICONV"
 9028: 
 9029: subdirs="$subdirs tools/$SQLITE"
 9030: 
 9031: tools/$OPENSSL/config
 9032: 
 9033: if test "$MYGNUPLOT" = "yes"; then
 9034:     if test ! -d "$srcdir"/tools/$GNUPLOT; then
 9035:         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
 9036:                 (cd "$srcdir/tools" && tar -xf -)
 9037:     fi
 9038:     subdirs="$subdirs tools/$GNUPLOT"
 9039: 
 9040:     GNUPLOT_COMPILATION=$GNUPLOT
 9041: else
 9042:     GNUPLOT_COMPILATION=
 9043: fi
 9044: 
 9045: 
 9046: 
 9047: case $host_cpu in
 9048: 
 9049:     i?86)
 9050:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9051:             -Wno-pointer-sign"
 9052:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9053:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9054:     break ;;
 9055: 
 9056:     x86_64*)
 9057:     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
 9058:             -Wno-pointer-sign"
 9059:     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9060:     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
 9061:     break ;;
 9062: 
 9063:     alpha*)
 9064:     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
 9065:             -Wno-pointer-sign"
 9066:     FFLAGS="$FFLAGS -mieee -Wall"
 9067:     FCFLAGS="$FCFLAGS -mieee -Wall"
 9068:     break ;;
 9069: 
 9070:     sparc*)
 9071:     CFLAGS="$CFLAGS -Wall -funsigned-char \
 9072:             -Wno-pointer-sign"
 9073:     FFLAGS="$FFLAGS -Wall"
 9074:     FCFLAGS="$FCFLAGS -Wall"
 9075:     break ;;
 9076: 
 9077: esac
 9078: 
 9079: case $host_os in
 9080: 
 9081:     cygwin*)
 9082:         OS=Cygwin
 9083:     break ;;
 9084: 
 9085:     interix*)
 9086:         OS=Interix
 9087:     break ;;
 9088: 
 9089:     *)
 9090:         OS=$(uname)
 9091:     break ;;
 9092: 
 9093: esac
 9094: 
 9095: 
 9096: 
 9097: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 9098: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
 9099: 
 9100: if test $(uname) = "SunOS"; then
 9101:     LIBMTMALLOC=-lmtmalloc
 9102: else
 9103:     LIBMTMALLOC=
 9104: fi
 9105: 
 9106: 
 9107: 
 9108: 
 9109: 
 9110: 
 9111: 
 9112: 
 9113: 
 9114: 
 9115: 
 9116: 
 9117: 
 9118: 
 9119: 
 9120: 
 9121: 
 9122: 
 9123: 
 9124: 
 9125: 
 9126: 
 9127: ac_config_files="$ac_config_files Makefile"
 9128: 
 9129: ac_config_files="$ac_config_files COPYING"
 9130: 
 9131: ac_config_files="$ac_config_files tools/Makefile"
 9132: 
 9133: ac_config_files="$ac_config_files src/Makefile"
 9134: 
 9135: ac_config_files="$ac_config_files man/Makefile"
 9136: 
 9137: ac_config_files="$ac_config_files man/fr_FR/Makefile"
 9138: 
 9139: ac_config_files="$ac_config_files doc/Makefile"
 9140: 
 9141: ac_config_files="$ac_config_files scripts/Makefile"
 9142: 
 9143: ac_config_files="$ac_config_files scripts/mkrplso"
 9144: 
 9145: ac_config_files="$ac_config_files scripts/rplcc"
 9146: 
 9147: ac_config_files="$ac_config_files scripts/rpllink"
 9148: 
 9149: ac_config_files="$ac_config_files rpltags/Makefile"
 9150: 
 9151: ac_config_files="$ac_config_files rpliconv/Makefile"
 9152: 
 9153: ac_config_files="$ac_config_files rplsums/Makefile"
 9154: 
 9155: ac_config_files="$ac_config_files lapack/lapack/Makefile"
 9156: 
 9157: ac_config_files="$ac_config_files lapack/blas/Makefile"
 9158: 
 9159: 
 9160: ac_config_files="$ac_config_files man/rpl.1"
 9161: 
 9162: ac_config_files="$ac_config_files man/rplcc.1"
 9163: 
 9164: ac_config_files="$ac_config_files man/rpllink.1"
 9165: 
 9166: ac_config_files="$ac_config_files man/rpltags.1"
 9167: 
 9168: ac_config_files="$ac_config_files man/mkrplso.1"
 9169: 
 9170: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
 9171: 
 9172: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
 9173: 
 9174: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
 9175: 
 9176: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
 9177: 
 9178: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
 9179: 
 9180: 
 9181: cat >confcache <<\_ACEOF
 9182: # This file is a shell script that caches the results of configure
 9183: # tests run on this system so they can be shared between configure
 9184: # scripts and configure runs, see configure's option --config-cache.
 9185: # It is not useful on other systems.  If it contains results you don't
 9186: # want to keep, you may remove or edit it.
 9187: #
 9188: # config.status only pays attention to the cache file if you give it
 9189: # the --recheck option to rerun configure.
 9190: #
 9191: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 9192: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 9193: # following values.
 9194: 
 9195: _ACEOF
 9196: 
 9197: # The following way of writing the cache mishandles newlines in values,
 9198: # but we know of no workaround that is simple, portable, and efficient.
 9199: # So, we kill variables containing newlines.
 9200: # Ultrix sh set writes to stderr and can't be redirected directly,
 9201: # and sets the high bit in the cache file unless we assign to the vars.
 9202: (
 9203:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 9204:     eval ac_val=\$$ac_var
 9205:     case $ac_val in #(
 9206:     *${as_nl}*)
 9207:       case $ac_var in #(
 9208:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 9209: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 9210:       esac
 9211:       case $ac_var in #(
 9212:       _ | IFS | as_nl) ;; #(
 9213:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 9214:       *) { eval $ac_var=; unset $ac_var;} ;;
 9215:       esac ;;
 9216:     esac
 9217:   done
 9218: 
 9219:   (set) 2>&1 |
 9220:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 9221:     *${as_nl}ac_space=\ *)
 9222:       # `set' does not quote correctly, so add quotes: double-quote
 9223:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 9224:       sed -n \
 9225:     "s/'/'\\\\''/g;
 9226:       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 9227:       ;; #(
 9228:     *)
 9229:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 9230:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 9231:       ;;
 9232:     esac |
 9233:     sort
 9234: ) |
 9235:   sed '
 9236:      /^ac_cv_env_/b end
 9237:      t clear
 9238:      :clear
 9239:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 9240:      t end
 9241:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 9242:      :end' >>confcache
 9243: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 9244:   if test -w "$cache_file"; then
 9245:     test "x$cache_file" != "x/dev/null" &&
 9246:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 9247: $as_echo "$as_me: updating cache $cache_file" >&6;}
 9248:     cat confcache >$cache_file
 9249:   else
 9250:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 9251: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 9252:   fi
 9253: fi
 9254: rm -f confcache
 9255: 
 9256: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 9257: # Let make expand exec_prefix.
 9258: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 9259: 
 9260: DEFS=-DHAVE_CONFIG_H
 9261: 
 9262: ac_libobjs=
 9263: ac_ltlibobjs=
 9264: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 9265:   # 1. Remove the extension, and $U if already installed.
 9266:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 9267:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 9268:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 9269:   #    will be set to the directory where LIBOBJS objects are built.
 9270:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 9271:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 9272: done
 9273: LIBOBJS=$ac_libobjs
 9274: 
 9275: LTLIBOBJS=$ac_ltlibobjs
 9276: 
 9277: 
 9278:  if test -n "$EXEEXT"; then
 9279:   am__EXEEXT_TRUE=
 9280:   am__EXEEXT_FALSE='#'
 9281: else
 9282:   am__EXEEXT_TRUE='#'
 9283:   am__EXEEXT_FALSE=
 9284: fi
 9285: 
 9286: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 9287:   as_fn_error "conditional \"AMDEP\" was never defined.
 9288: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9289: fi
 9290: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 9291:   as_fn_error "conditional \"am__fastdepCC\" was never defined.
 9292: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9293: fi
 9294: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 9295:   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 9296: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 9297: fi
 9298: 
 9299: : ${CONFIG_STATUS=./config.status}
 9300: ac_write_fail=0
 9301: ac_clean_files_save=$ac_clean_files
 9302: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 9303: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 9304: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 9305: as_write_fail=0
 9306: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 9307: #! $SHELL
 9308: # Generated by $as_me.
 9309: # Run this file to recreate the current configuration.
 9310: # Compiler output produced by configure, useful for debugging
 9311: # configure, is in config.log if it exists.
 9312: 
 9313: debug=false
 9314: ac_cs_recheck=false
 9315: ac_cs_silent=false
 9316: 
 9317: SHELL=\${CONFIG_SHELL-$SHELL}
 9318: export SHELL
 9319: _ASEOF
 9320: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 9321: ## -------------------- ##
 9322: ## M4sh Initialization. ##
 9323: ## -------------------- ##
 9324: 
 9325: # Be more Bourne compatible
 9326: DUALCASE=1; export DUALCASE # for MKS sh
 9327: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 9328:   emulate sh
 9329:   NULLCMD=:
 9330:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 9331:   # is contrary to our usage.  Disable this feature.
 9332:   alias -g '${1+"$@"}'='"$@"'
 9333:   setopt NO_GLOB_SUBST
 9334: else
 9335:   case `(set -o) 2>/dev/null` in #(
 9336:   *posix*) :
 9337:     set -o posix ;; #(
 9338:   *) :
 9339:      ;;
 9340: esac
 9341: fi
 9342: 
 9343: 
 9344: as_nl='
 9345: '
 9346: export as_nl
 9347: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 9348: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 9349: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 9350: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 9351: # Prefer a ksh shell builtin over an external printf program on Solaris,
 9352: # but without wasting forks for bash or zsh.
 9353: if test -z "$BASH_VERSION$ZSH_VERSION" \
 9354:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 9355:   as_echo='print -r --'
 9356:   as_echo_n='print -rn --'
 9357: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 9358:   as_echo='printf %s\n'
 9359:   as_echo_n='printf %s'
 9360: else
 9361:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 9362:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 9363:     as_echo_n='/usr/ucb/echo -n'
 9364:   else
 9365:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 9366:     as_echo_n_body='eval
 9367:       arg=$1;
 9368:       case $arg in #(
 9369:       *"$as_nl"*)
 9370:     expr "X$arg" : "X\\(.*\\)$as_nl";
 9371:     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 9372:       esac;
 9373:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 9374:     '
 9375:     export as_echo_n_body
 9376:     as_echo_n='sh -c $as_echo_n_body as_echo'
 9377:   fi
 9378:   export as_echo_body
 9379:   as_echo='sh -c $as_echo_body as_echo'
 9380: fi
 9381: 
 9382: # The user is always right.
 9383: if test "${PATH_SEPARATOR+set}" != set; then
 9384:   PATH_SEPARATOR=:
 9385:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 9386:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 9387:       PATH_SEPARATOR=';'
 9388:   }
 9389: fi
 9390: 
 9391: 
 9392: # IFS
 9393: # We need space, tab and new line, in precisely that order.  Quoting is
 9394: # there to prevent editors from complaining about space-tab.
 9395: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 9396: # splitting by setting IFS to empty value.)
 9397: IFS=" ""    $as_nl"
 9398: 
 9399: # Find who we are.  Look in the path if we contain no directory separator.
 9400: case $0 in #((
 9401:   *[\\/]* ) as_myself=$0 ;;
 9402:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9403: for as_dir in $PATH
 9404: do
 9405:   IFS=$as_save_IFS
 9406:   test -z "$as_dir" && as_dir=.
 9407:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 9408:   done
 9409: IFS=$as_save_IFS
 9410: 
 9411:      ;;
 9412: esac
 9413: # We did not find ourselves, most probably we were run as `sh COMMAND'
 9414: # in which case we are not to be found in the path.
 9415: if test "x$as_myself" = x; then
 9416:   as_myself=$0
 9417: fi
 9418: if test ! -f "$as_myself"; then
 9419:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 9420:   exit 1
 9421: fi
 9422: 
 9423: # Unset variables that we do not need and which cause bugs (e.g. in
 9424: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 9425: # suppresses any "Segmentation fault" message there.  '((' could
 9426: # trigger a bug in pdksh 5.2.14.
 9427: for as_var in BASH_ENV ENV MAIL MAILPATH
 9428: do eval test x\${$as_var+set} = xset \
 9429:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 9430: done
 9431: PS1='$ '
 9432: PS2='> '
 9433: PS4='+ '
 9434: 
 9435: # NLS nuisances.
 9436: LC_ALL=C
 9437: export LC_ALL
 9438: LANGUAGE=C
 9439: export LANGUAGE
 9440: 
 9441: # CDPATH.
 9442: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 9443: 
 9444: 
 9445: # as_fn_error ERROR [LINENO LOG_FD]
 9446: # ---------------------------------
 9447: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 9448: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 9449: # script with status $?, using 1 if that was 0.
 9450: as_fn_error ()
 9451: {
 9452:   as_status=$?; test $as_status -eq 0 && as_status=1
 9453:   if test "$3"; then
 9454:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 9455:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 9456:   fi
 9457:   $as_echo "$as_me: error: $1" >&2
 9458:   as_fn_exit $as_status
 9459: } # as_fn_error
 9460: 
 9461: 
 9462: # as_fn_set_status STATUS
 9463: # -----------------------
 9464: # Set $? to STATUS, without forking.
 9465: as_fn_set_status ()
 9466: {
 9467:   return $1
 9468: } # as_fn_set_status
 9469: 
 9470: # as_fn_exit STATUS
 9471: # -----------------
 9472: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 9473: as_fn_exit ()
 9474: {
 9475:   set +e
 9476:   as_fn_set_status $1
 9477:   exit $1
 9478: } # as_fn_exit
 9479: 
 9480: # as_fn_unset VAR
 9481: # ---------------
 9482: # Portably unset VAR.
 9483: as_fn_unset ()
 9484: {
 9485:   { eval $1=; unset $1;}
 9486: }
 9487: as_unset=as_fn_unset
 9488: # as_fn_append VAR VALUE
 9489: # ----------------------
 9490: # Append the text in VALUE to the end of the definition contained in VAR. Take
 9491: # advantage of any shell optimizations that allow amortized linear growth over
 9492: # repeated appends, instead of the typical quadratic growth present in naive
 9493: # implementations.
 9494: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 9495:   eval 'as_fn_append ()
 9496:   {
 9497:     eval $1+=\$2
 9498:   }'
 9499: else
 9500:   as_fn_append ()
 9501:   {
 9502:     eval $1=\$$1\$2
 9503:   }
 9504: fi # as_fn_append
 9505: 
 9506: # as_fn_arith ARG...
 9507: # ------------------
 9508: # Perform arithmetic evaluation on the ARGs, and store the result in the
 9509: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 9510: # must be portable across $(()) and expr.
 9511: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 9512:   eval 'as_fn_arith ()
 9513:   {
 9514:     as_val=$(( $* ))
 9515:   }'
 9516: else
 9517:   as_fn_arith ()
 9518:   {
 9519:     as_val=`expr "$@" || test $? -eq 1`
 9520:   }
 9521: fi # as_fn_arith
 9522: 
 9523: 
 9524: if expr a : '\(a\)' >/dev/null 2>&1 &&
 9525:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 9526:   as_expr=expr
 9527: else
 9528:   as_expr=false
 9529: fi
 9530: 
 9531: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 9532:   as_basename=basename
 9533: else
 9534:   as_basename=false
 9535: fi
 9536: 
 9537: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 9538:   as_dirname=dirname
 9539: else
 9540:   as_dirname=false
 9541: fi
 9542: 
 9543: as_me=`$as_basename -- "$0" ||
 9544: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 9545:      X"$0" : 'X\(//\)$' \| \
 9546:      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 9547: $as_echo X/"$0" |
 9548:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 9549:         s//\1/
 9550:         q
 9551:       }
 9552:       /^X\/\(\/\/\)$/{
 9553:         s//\1/
 9554:         q
 9555:       }
 9556:       /^X\/\(\/\).*/{
 9557:         s//\1/
 9558:         q
 9559:       }
 9560:       s/.*/./; q'`
 9561: 
 9562: # Avoid depending upon Character Ranges.
 9563: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 9564: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 9565: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 9566: as_cr_digits='0123456789'
 9567: as_cr_alnum=$as_cr_Letters$as_cr_digits
 9568: 
 9569: ECHO_C= ECHO_N= ECHO_T=
 9570: case `echo -n x` in #(((((
 9571: -n*)
 9572:   case `echo 'xy\c'` in
 9573:   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 9574:   xy)  ECHO_C='\c';;
 9575:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 9576:        ECHO_T=' ';;
 9577:   esac;;
 9578: *)
 9579:   ECHO_N='-n';;
 9580: esac
 9581: 
 9582: rm -f conf$$ conf$$.exe conf$$.file
 9583: if test -d conf$$.dir; then
 9584:   rm -f conf$$.dir/conf$$.file
 9585: else
 9586:   rm -f conf$$.dir
 9587:   mkdir conf$$.dir 2>/dev/null
 9588: fi
 9589: if (echo >conf$$.file) 2>/dev/null; then
 9590:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 9591:     as_ln_s='ln -s'
 9592:     # ... but there are two gotchas:
 9593:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 9594:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 9595:     # In both cases, we have to default to `cp -p'.
 9596:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 9597:       as_ln_s='cp -p'
 9598:   elif ln conf$$.file conf$$ 2>/dev/null; then
 9599:     as_ln_s=ln
 9600:   else
 9601:     as_ln_s='cp -p'
 9602:   fi
 9603: else
 9604:   as_ln_s='cp -p'
 9605: fi
 9606: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 9607: rmdir conf$$.dir 2>/dev/null
 9608: 
 9609: 
 9610: # as_fn_mkdir_p
 9611: # -------------
 9612: # Create "$as_dir" as a directory, including parents if necessary.
 9613: as_fn_mkdir_p ()
 9614: {
 9615: 
 9616:   case $as_dir in #(
 9617:   -*) as_dir=./$as_dir;;
 9618:   esac
 9619:   test -d "$as_dir" || eval $as_mkdir_p || {
 9620:     as_dirs=
 9621:     while :; do
 9622:       case $as_dir in #(
 9623:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 9624:       *) as_qdir=$as_dir;;
 9625:       esac
 9626:       as_dirs="'$as_qdir' $as_dirs"
 9627:       as_dir=`$as_dirname -- "$as_dir" ||
 9628: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 9629:      X"$as_dir" : 'X\(//\)[^/]' \| \
 9630:      X"$as_dir" : 'X\(//\)$' \| \
 9631:      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 9632: $as_echo X"$as_dir" |
 9633:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 9634:         s//\1/
 9635:         q
 9636:       }
 9637:       /^X\(\/\/\)[^/].*/{
 9638:         s//\1/
 9639:         q
 9640:       }
 9641:       /^X\(\/\/\)$/{
 9642:         s//\1/
 9643:         q
 9644:       }
 9645:       /^X\(\/\).*/{
 9646:         s//\1/
 9647:         q
 9648:       }
 9649:       s/.*/./; q'`
 9650:       test -d "$as_dir" && break
 9651:     done
 9652:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 9653:   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 9654: 
 9655: 
 9656: } # as_fn_mkdir_p
 9657: if mkdir -p . 2>/dev/null; then
 9658:   as_mkdir_p='mkdir -p "$as_dir"'
 9659: else
 9660:   test -d ./-p && rmdir ./-p
 9661:   as_mkdir_p=false
 9662: fi
 9663: 
 9664: if test -x / >/dev/null 2>&1; then
 9665:   as_test_x='test -x'
 9666: else
 9667:   if ls -dL / >/dev/null 2>&1; then
 9668:     as_ls_L_option=L
 9669:   else
 9670:     as_ls_L_option=
 9671:   fi
 9672:   as_test_x='
 9673:     eval sh -c '\''
 9674:       if test -d "$1"; then
 9675:     test -d "$1/.";
 9676:       else
 9677:     case $1 in #(
 9678:     -*)set "./$1";;
 9679:     esac;
 9680:     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 9681:     ???[sx]*):;;*)false;;esac;fi
 9682:     '\'' sh
 9683:   '
 9684: fi
 9685: as_executable_p=$as_test_x
 9686: 
 9687: # Sed expression to map a string onto a valid CPP name.
 9688: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 9689: 
 9690: # Sed expression to map a string onto a valid variable name.
 9691: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 9692: 
 9693: 
 9694: exec 6>&1
 9695: ## ----------------------------------- ##
 9696: ## Main body of $CONFIG_STATUS script. ##
 9697: ## ----------------------------------- ##
 9698: _ASEOF
 9699: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 9700: 
 9701: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9702: # Save the log message, to keep $0 and so on meaningful, and to
 9703: # report actual input values of CONFIG_FILES etc. instead of their
 9704: # values after options handling.
 9705: ac_log="
 9706: This file was extended by rpl $as_me 4.0.13, which was
 9707: generated by GNU Autoconf 2.65.  Invocation command line was
 9708: 
 9709:   CONFIG_FILES    = $CONFIG_FILES
 9710:   CONFIG_HEADERS  = $CONFIG_HEADERS
 9711:   CONFIG_LINKS    = $CONFIG_LINKS
 9712:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 9713:   $ $0 $@
 9714: 
 9715: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 9716: "
 9717: 
 9718: _ACEOF
 9719: 
 9720: case $ac_config_files in *"
 9721: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 9722: esac
 9723: 
 9724: case $ac_config_headers in *"
 9725: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 9726: esac
 9727: 
 9728: 
 9729: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9730: # Files that config.status was made for.
 9731: config_files="$ac_config_files"
 9732: config_headers="$ac_config_headers"
 9733: config_commands="$ac_config_commands"
 9734: 
 9735: _ACEOF
 9736: 
 9737: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9738: ac_cs_usage="\
 9739: \`$as_me' instantiates files and other configuration actions
 9740: from templates according to the current configuration.  Unless the files
 9741: and actions are specified as TAGs, all are instantiated by default.
 9742: 
 9743: Usage: $0 [OPTION]... [TAG]...
 9744: 
 9745:   -h, --help       print this help, then exit
 9746:   -V, --version    print version number and configuration settings, then exit
 9747:       --config     print configuration, then exit
 9748:   -q, --quiet, --silent
 9749:                    do not print progress messages
 9750:   -d, --debug      don't remove temporary files
 9751:       --recheck    update $as_me by reconfiguring in the same conditions
 9752:       --file=FILE[:TEMPLATE]
 9753:                    instantiate the configuration file FILE
 9754:       --header=FILE[:TEMPLATE]
 9755:                    instantiate the configuration header FILE
 9756: 
 9757: Configuration files:
 9758: $config_files
 9759: 
 9760: Configuration headers:
 9761: $config_headers
 9762: 
 9763: Configuration commands:
 9764: $config_commands
 9765: 
 9766: Report bugs to the package provider."
 9767: 
 9768: _ACEOF
 9769: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9770: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 9771: ac_cs_version="\\
 9772: rpl config.status 4.0.13
 9773: configured by $0, generated by GNU Autoconf 2.65,
 9774:   with options \\"\$ac_cs_config\\"
 9775: 
 9776: Copyright (C) 2009 Free Software Foundation, Inc.
 9777: This config.status script is free software; the Free Software Foundation
 9778: gives unlimited permission to copy, distribute and modify it."
 9779: 
 9780: ac_pwd='$ac_pwd'
 9781: srcdir='$srcdir'
 9782: INSTALL='$INSTALL'
 9783: MKDIR_P='$MKDIR_P'
 9784: AWK='$AWK'
 9785: test -n "\$AWK" || AWK=awk
 9786: _ACEOF
 9787: 
 9788: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9789: # The default lists apply if the user does not specify any file.
 9790: ac_need_defaults=:
 9791: while test $# != 0
 9792: do
 9793:   case $1 in
 9794:   --*=*)
 9795:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 9796:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 9797:     ac_shift=:
 9798:     ;;
 9799:   *)
 9800:     ac_option=$1
 9801:     ac_optarg=$2
 9802:     ac_shift=shift
 9803:     ;;
 9804:   esac
 9805: 
 9806:   case $ac_option in
 9807:   # Handling of the options.
 9808:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 9809:     ac_cs_recheck=: ;;
 9810:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 9811:     $as_echo "$ac_cs_version"; exit ;;
 9812:   --config | --confi | --conf | --con | --co | --c )
 9813:     $as_echo "$ac_cs_config"; exit ;;
 9814:   --debug | --debu | --deb | --de | --d | -d )
 9815:     debug=: ;;
 9816:   --file | --fil | --fi | --f )
 9817:     $ac_shift
 9818:     case $ac_optarg in
 9819:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 9820:     esac
 9821:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 9822:     ac_need_defaults=false;;
 9823:   --header | --heade | --head | --hea )
 9824:     $ac_shift
 9825:     case $ac_optarg in
 9826:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 9827:     esac
 9828:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 9829:     ac_need_defaults=false;;
 9830:   --he | --h)
 9831:     # Conflict between --help and --header
 9832:     as_fn_error "ambiguous option: \`$1'
 9833: Try \`$0 --help' for more information.";;
 9834:   --help | --hel | -h )
 9835:     $as_echo "$ac_cs_usage"; exit ;;
 9836:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 9837:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 9838:     ac_cs_silent=: ;;
 9839: 
 9840:   # This is an error.
 9841:   -*) as_fn_error "unrecognized option: \`$1'
 9842: Try \`$0 --help' for more information." ;;
 9843: 
 9844:   *) as_fn_append ac_config_targets " $1"
 9845:      ac_need_defaults=false ;;
 9846: 
 9847:   esac
 9848:   shift
 9849: done
 9850: 
 9851: ac_configure_extra_args=
 9852: 
 9853: if $ac_cs_silent; then
 9854:   exec 6>/dev/null
 9855:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 9856: fi
 9857: 
 9858: _ACEOF
 9859: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9860: if \$ac_cs_recheck; then
 9861:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 9862:   shift
 9863:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 9864:   CONFIG_SHELL='$SHELL'
 9865:   export CONFIG_SHELL
 9866:   exec "\$@"
 9867: fi
 9868: 
 9869: _ACEOF
 9870: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9871: exec 5>>config.log
 9872: {
 9873:   echo
 9874:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 9875: ## Running $as_me. ##
 9876: _ASBOX
 9877:   $as_echo "$ac_log"
 9878: } >&5
 9879: 
 9880: _ACEOF
 9881: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 9882: #
 9883: # INIT-COMMANDS
 9884: #
 9885: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 9886: 
 9887: _ACEOF
 9888: 
 9889: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 9890: 
 9891: # Handling of arguments.
 9892: for ac_config_target in $ac_config_targets
 9893: do
 9894:   case $ac_config_target in
 9895:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
 9896:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 9897:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 9898:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
 9899:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 9900:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 9901:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 9902:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
 9903:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 9904:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
 9905:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
 9906:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
 9907:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
 9908:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
 9909:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
 9910:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
 9911:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
 9912:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
 9913:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
 9914:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
 9915:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
 9916:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
 9917:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
 9918:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
 9919:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
 9920:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
 9921:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
 9922:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
 9923: 
 9924:   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 9925:   esac
 9926: done
 9927: 
 9928: 
 9929: # If the user did not use the arguments to specify the items to instantiate,
 9930: # then the envvar interface is used.  Set only those that are not.
 9931: # We use the long form for the default assignment because of an extremely
 9932: # bizarre bug on SunOS 4.1.3.
 9933: if $ac_need_defaults; then
 9934:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 9935:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 9936:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 9937: fi
 9938: 
 9939: # Have a temporary directory for convenience.  Make it in the build tree
 9940: # simply because there is no reason against having it here, and in addition,
 9941: # creating and moving files from /tmp can sometimes cause problems.
 9942: # Hook for its removal unless debugging.
 9943: # Note that there is a small window in which the directory will not be cleaned:
 9944: # after its creation but before its name has been assigned to `$tmp'.
 9945: $debug ||
 9946: {
 9947:   tmp=
 9948:   trap 'exit_status=$?
 9949:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 9950: ' 0
 9951:   trap 'as_fn_exit 1' 1 2 13 15
 9952: }
 9953: # Create a (secure) tmp directory for tmp files.
 9954: 
 9955: {
 9956:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 9957:   test -n "$tmp" && test -d "$tmp"
 9958: }  ||
 9959: {
 9960:   tmp=./conf$$-$RANDOM
 9961:   (umask 077 && mkdir "$tmp")
 9962: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 9963: 
 9964: # Set up the scripts for CONFIG_FILES section.
 9965: # No need to generate them if there are no CONFIG_FILES.
 9966: # This happens for instance with `./config.status config.h'.
 9967: if test -n "$CONFIG_FILES"; then
 9968: 
 9969: 
 9970: ac_cr=`echo X | tr X '\015'`
 9971: # On cygwin, bash can eat \r inside `` if the user requested igncr.
 9972: # But we know of no other shell where ac_cr would be empty at this
 9973: # point, so we can use a bashism as a fallback.
 9974: if test "x$ac_cr" = x; then
 9975:   eval ac_cr=\$\'\\r\'
 9976: fi
 9977: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 9978: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 9979:   ac_cs_awk_cr='\r'
 9980: else
 9981:   ac_cs_awk_cr=$ac_cr
 9982: fi
 9983: 
 9984: echo 'BEGIN {' >"$tmp/subs1.awk" &&
 9985: _ACEOF
 9986: 
 9987: 
 9988: {
 9989:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 9990:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 9991:   echo "_ACEOF"
 9992: } >conf$$subs.sh ||
 9993:   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 9994: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 9995: ac_delim='%!_!# '
 9996: for ac_last_try in false false false false false :; do
 9997:   . ./conf$$subs.sh ||
 9998:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 9999: 
10000:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10001:   if test $ac_delim_n = $ac_delim_num; then
10002:     break
10003:   elif $ac_last_try; then
10004:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10005:   else
10006:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10007:   fi
10008: done
10009: rm -f conf$$subs.sh
10010: 
10011: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10012: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10013: _ACEOF
10014: sed -n '
10015: h
10016: s/^/S["/; s/!.*/"]=/
10017: p
10018: g
10019: s/^[^!]*!//
10020: :repl
10021: t repl
10022: s/'"$ac_delim"'$//
10023: t delim
10024: :nl
10025: h
10026: s/\(.\{148\}\)..*/\1/
10027: t more1
10028: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10029: p
10030: n
10031: b repl
10032: :more1
10033: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10034: p
10035: g
10036: s/.\{148\}//
10037: t nl
10038: :delim
10039: h
10040: s/\(.\{148\}\)..*/\1/
10041: t more2
10042: s/["\\]/\\&/g; s/^/"/; s/$/"/
10043: p
10044: b
10045: :more2
10046: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10047: p
10048: g
10049: s/.\{148\}//
10050: t delim
10051: ' <conf$$subs.awk | sed '
10052: /^[^""]/{
10053:   N
10054:   s/\n//
10055: }
10056: ' >>$CONFIG_STATUS || ac_write_fail=1
10057: rm -f conf$$subs.awk
10058: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10059: _ACAWK
10060: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10061:   for (key in S) S_is_set[key] = 1
10062:   FS = ""
10063: 
10064: }
10065: {
10066:   line = $ 0
10067:   nfields = split(line, field, "@")
10068:   substed = 0
10069:   len = length(field[1])
10070:   for (i = 2; i < nfields; i++) {
10071:     key = field[i]
10072:     keylen = length(key)
10073:     if (S_is_set[key]) {
10074:       value = S[key]
10075:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10076:       len += length(value) + length(field[++i])
10077:       substed = 1
10078:     } else
10079:       len += 1 + keylen
10080:   }
10081: 
10082:   print line
10083: }
10084: 
10085: _ACAWK
10086: _ACEOF
10087: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10088: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10089:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10090: else
10091:   cat
10092: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10093:   || as_fn_error "could not setup config files machinery" "$LINENO" 5
10094: _ACEOF
10095: 
10096: # VPATH may cause trouble with some makes, so we remove $(srcdir),
10097: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10098: # trailing colons and then remove the whole line if VPATH becomes empty
10099: # (actually we leave an empty line to preserve line numbers).
10100: if test "x$srcdir" = x.; then
10101:   ac_vpsub='/^[  ]*VPATH[    ]*=/{
10102: s/:*\$(srcdir):*/:/
10103: s/:*\${srcdir}:*/:/
10104: s/:*@srcdir@:*/:/
10105: s/^\([^=]*=[     ]*\):*/\1/
10106: s/:*$//
10107: s/^[^=]*=[   ]*$//
10108: }'
10109: fi
10110: 
10111: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10112: fi # test -n "$CONFIG_FILES"
10113: 
10114: # Set up the scripts for CONFIG_HEADERS section.
10115: # No need to generate them if there are no CONFIG_HEADERS.
10116: # This happens for instance with `./config.status Makefile'.
10117: if test -n "$CONFIG_HEADERS"; then
10118: cat >"$tmp/defines.awk" <<\_ACAWK ||
10119: BEGIN {
10120: _ACEOF
10121: 
10122: # Transform confdefs.h into an awk script `defines.awk', embedded as
10123: # here-document in config.status, that substitutes the proper values into
10124: # config.h.in to produce config.h.
10125: 
10126: # Create a delimiter string that does not exist in confdefs.h, to ease
10127: # handling of long lines.
10128: ac_delim='%!_!# '
10129: for ac_last_try in false false :; do
10130:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10131:   if test -z "$ac_t"; then
10132:     break
10133:   elif $ac_last_try; then
10134:     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10135:   else
10136:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10137:   fi
10138: done
10139: 
10140: # For the awk script, D is an array of macro values keyed by name,
10141: # likewise P contains macro parameters if any.  Preserve backslash
10142: # newline sequences.
10143: 
10144: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10145: sed -n '
10146: s/.\{148\}/&'"$ac_delim"'/g
10147: t rset
10148: :rset
10149: s/^[     ]*#[    ]*define[   ][  ]*/ /
10150: t def
10151: d
10152: :def
10153: s/\\$//
10154: t bsnl
10155: s/["\\]/\\&/g
10156: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10157: D["\1"]=" \3"/p
10158: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
10159: d
10160: :bsnl
10161: s/["\\]/\\&/g
10162: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10163: D["\1"]=" \3\\\\\\n"\\/p
10164: t cont
10165: s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10166: t cont
10167: d
10168: :cont
10169: n
10170: s/.\{148\}/&'"$ac_delim"'/g
10171: t clear
10172: :clear
10173: s/\\$//
10174: t bsnlc
10175: s/["\\]/\\&/g; s/^/"/; s/$/"/p
10176: d
10177: :bsnlc
10178: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10179: b cont
10180: ' <confdefs.h | sed '
10181: s/'"$ac_delim"'/"\\\
10182: "/g' >>$CONFIG_STATUS || ac_write_fail=1
10183: 
10184: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10185:   for (key in D) D_is_set[key] = 1
10186:   FS = ""
10187: }
10188: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10189:   line = \$ 0
10190:   split(line, arg, " ")
10191:   if (arg[1] == "#") {
10192:     defundef = arg[2]
10193:     mac1 = arg[3]
10194:   } else {
10195:     defundef = substr(arg[1], 2)
10196:     mac1 = arg[2]
10197:   }
10198:   split(mac1, mac2, "(") #)
10199:   macro = mac2[1]
10200:   prefix = substr(line, 1, index(line, defundef) - 1)
10201:   if (D_is_set[macro]) {
10202:     # Preserve the white space surrounding the "#".
10203:     print prefix "define", macro P[macro] D[macro]
10204:     next
10205:   } else {
10206:     # Replace #undef with comments.  This is necessary, for example,
10207:     # in the case of _POSIX_SOURCE, which is predefined and required
10208:     # on some systems where configure will not decide to define it.
10209:     if (defundef == "undef") {
10210:       print "/*", prefix defundef, macro, "*/"
10211:       next
10212:     }
10213:   }
10214: }
10215: { print }
10216: _ACAWK
10217: _ACEOF
10218: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10219:   as_fn_error "could not setup config headers machinery" "$LINENO" 5
10220: fi # test -n "$CONFIG_HEADERS"
10221: 
10222: 
10223: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10224: shift
10225: for ac_tag
10226: do
10227:   case $ac_tag in
10228:   :[FHLC]) ac_mode=$ac_tag; continue;;
10229:   esac
10230:   case $ac_mode$ac_tag in
10231:   :[FHL]*:*);;
10232:   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10233:   :[FH]-) ac_tag=-:-;;
10234:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10235:   esac
10236:   ac_save_IFS=$IFS
10237:   IFS=:
10238:   set x $ac_tag
10239:   IFS=$ac_save_IFS
10240:   shift
10241:   ac_file=$1
10242:   shift
10243: 
10244:   case $ac_mode in
10245:   :L) ac_source=$1;;
10246:   :[FH])
10247:     ac_file_inputs=
10248:     for ac_f
10249:     do
10250:       case $ac_f in
10251:       -) ac_f="$tmp/stdin";;
10252:       *) # Look for the file first in the build tree, then in the source tree
10253:      # (if the path is not absolute).  The absolute path cannot be DOS-style,
10254:      # because $ac_f cannot contain `:'.
10255:      test -f "$ac_f" ||
10256:        case $ac_f in
10257:        [\\/$]*) false;;
10258:        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10259:        esac ||
10260:        as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10261:       esac
10262:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10263:       as_fn_append ac_file_inputs " '$ac_f'"
10264:     done
10265: 
10266:     # Let's still pretend it is `configure' which instantiates (i.e., don't
10267:     # use $as_me), people would be surprised to read:
10268:     #    /* config.h.  Generated by config.status.  */
10269:     configure_input='Generated from '`
10270:       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10271:     `' by configure.'
10272:     if test x"$ac_file" != x-; then
10273:       configure_input="$ac_file.  $configure_input"
10274:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10275: $as_echo "$as_me: creating $ac_file" >&6;}
10276:     fi
10277:     # Neutralize special characters interpreted by sed in replacement strings.
10278:     case $configure_input in #(
10279:     *\&* | *\|* | *\\* )
10280:        ac_sed_conf_input=`$as_echo "$configure_input" |
10281:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10282:     *) ac_sed_conf_input=$configure_input;;
10283:     esac
10284: 
10285:     case $ac_tag in
10286:     *:-:* | *:-) cat >"$tmp/stdin" \
10287:       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10288:     esac
10289:     ;;
10290:   esac
10291: 
10292:   ac_dir=`$as_dirname -- "$ac_file" ||
10293: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10294:      X"$ac_file" : 'X\(//\)[^/]' \| \
10295:      X"$ac_file" : 'X\(//\)$' \| \
10296:      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10297: $as_echo X"$ac_file" |
10298:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10299:         s//\1/
10300:         q
10301:       }
10302:       /^X\(\/\/\)[^/].*/{
10303:         s//\1/
10304:         q
10305:       }
10306:       /^X\(\/\/\)$/{
10307:         s//\1/
10308:         q
10309:       }
10310:       /^X\(\/\).*/{
10311:         s//\1/
10312:         q
10313:       }
10314:       s/.*/./; q'`
10315:   as_dir="$ac_dir"; as_fn_mkdir_p
10316:   ac_builddir=.
10317: 
10318: case "$ac_dir" in
10319: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10320: *)
10321:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10322:   # A ".." for each directory in $ac_dir_suffix.
10323:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10324:   case $ac_top_builddir_sub in
10325:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10326:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10327:   esac ;;
10328: esac
10329: ac_abs_top_builddir=$ac_pwd
10330: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10331: # for backward compatibility:
10332: ac_top_builddir=$ac_top_build_prefix
10333: 
10334: case $srcdir in
10335:   .)  # We are building in place.
10336:     ac_srcdir=.
10337:     ac_top_srcdir=$ac_top_builddir_sub
10338:     ac_abs_top_srcdir=$ac_pwd ;;
10339:   [\\/]* | ?:[\\/]* )  # Absolute name.
10340:     ac_srcdir=$srcdir$ac_dir_suffix;
10341:     ac_top_srcdir=$srcdir
10342:     ac_abs_top_srcdir=$srcdir ;;
10343:   *) # Relative name.
10344:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10345:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10346:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10347: esac
10348: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10349: 
10350: 
10351:   case $ac_mode in
10352:   :F)
10353:   #
10354:   # CONFIG_FILE
10355:   #
10356: 
10357:   case $INSTALL in
10358:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10359:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10360:   esac
10361:   ac_MKDIR_P=$MKDIR_P
10362:   case $MKDIR_P in
10363:   [\\/$]* | ?:[\\/]* ) ;;
10364:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10365:   esac
10366: _ACEOF
10367: 
10368: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10369: # If the template does not know about datarootdir, expand it.
10370: # FIXME: This hack should be removed a few years after 2.60.
10371: ac_datarootdir_hack=; ac_datarootdir_seen=
10372: ac_sed_dataroot='
10373: /datarootdir/ {
10374:   p
10375:   q
10376: }
10377: /@datadir@/p
10378: /@docdir@/p
10379: /@infodir@/p
10380: /@localedir@/p
10381: /@mandir@/p'
10382: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10383: *datarootdir*) ac_datarootdir_seen=yes;;
10384: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10385:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10386: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10387: _ACEOF
10388: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10389:   ac_datarootdir_hack='
10390:   s&@datadir@&$datadir&g
10391:   s&@docdir@&$docdir&g
10392:   s&@infodir@&$infodir&g
10393:   s&@localedir@&$localedir&g
10394:   s&@mandir@&$mandir&g
10395:   s&\\\${datarootdir}&$datarootdir&g' ;;
10396: esac
10397: _ACEOF
10398: 
10399: # Neutralize VPATH when `$srcdir' = `.'.
10400: # Shell code in configure.ac might set extrasub.
10401: # FIXME: do we really want to maintain this feature?
10402: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10403: ac_sed_extra="$ac_vpsub
10404: $extrasub
10405: _ACEOF
10406: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10407: :t
10408: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10409: s|@configure_input@|$ac_sed_conf_input|;t t
10410: s&@top_builddir@&$ac_top_builddir_sub&;t t
10411: s&@top_build_prefix@&$ac_top_build_prefix&;t t
10412: s&@srcdir@&$ac_srcdir&;t t
10413: s&@abs_srcdir@&$ac_abs_srcdir&;t t
10414: s&@top_srcdir@&$ac_top_srcdir&;t t
10415: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10416: s&@builddir@&$ac_builddir&;t t
10417: s&@abs_builddir@&$ac_abs_builddir&;t t
10418: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10419: s&@INSTALL@&$ac_INSTALL&;t t
10420: s&@MKDIR_P@&$ac_MKDIR_P&;t t
10421: $ac_datarootdir_hack
10422: "
10423: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10424:   || as_fn_error "could not create $ac_file" "$LINENO" 5
10425: 
10426: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10427:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10428:   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10429:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10430: which seems to be undefined.  Please make sure it is defined." >&5
10431: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10432: which seems to be undefined.  Please make sure it is defined." >&2;}
10433: 
10434:   rm -f "$tmp/stdin"
10435:   case $ac_file in
10436:   -) cat "$tmp/out" && rm -f "$tmp/out";;
10437:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10438:   esac \
10439:   || as_fn_error "could not create $ac_file" "$LINENO" 5
10440:  ;;
10441:   :H)
10442:   #
10443:   # CONFIG_HEADER
10444:   #
10445:   if test x"$ac_file" != x-; then
10446:     {
10447:       $as_echo "/* $configure_input  */" \
10448:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10449:     } >"$tmp/config.h" \
10450:       || as_fn_error "could not create $ac_file" "$LINENO" 5
10451:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10452:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10453: $as_echo "$as_me: $ac_file is unchanged" >&6;}
10454:     else
10455:       rm -f "$ac_file"
10456:       mv "$tmp/config.h" "$ac_file" \
10457:     || as_fn_error "could not create $ac_file" "$LINENO" 5
10458:     fi
10459:   else
10460:     $as_echo "/* $configure_input  */" \
10461:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10462:       || as_fn_error "could not create -" "$LINENO" 5
10463:   fi
10464: # Compute "$ac_file"'s index in $config_headers.
10465: _am_arg="$ac_file"
10466: _am_stamp_count=1
10467: for _am_header in $config_headers :; do
10468:   case $_am_header in
10469:     $_am_arg | $_am_arg:* )
10470:       break ;;
10471:     * )
10472:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10473:   esac
10474: done
10475: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10476: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10477:      X"$_am_arg" : 'X\(//\)[^/]' \| \
10478:      X"$_am_arg" : 'X\(//\)$' \| \
10479:      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10480: $as_echo X"$_am_arg" |
10481:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10482:         s//\1/
10483:         q
10484:       }
10485:       /^X\(\/\/\)[^/].*/{
10486:         s//\1/
10487:         q
10488:       }
10489:       /^X\(\/\/\)$/{
10490:         s//\1/
10491:         q
10492:       }
10493:       /^X\(\/\).*/{
10494:         s//\1/
10495:         q
10496:       }
10497:       s/.*/./; q'`/stamp-h$_am_stamp_count
10498:  ;;
10499: 
10500:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10501: $as_echo "$as_me: executing $ac_file commands" >&6;}
10502:  ;;
10503:   esac
10504: 
10505: 
10506:   case $ac_file$ac_mode in
10507:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10508:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10509:   # are listed without --file.  Let's play safe and only enable the eval
10510:   # if we detect the quoting.
10511:   case $CONFIG_FILES in
10512:   *\'*) eval set x "$CONFIG_FILES" ;;
10513:   *)   set x $CONFIG_FILES ;;
10514:   esac
10515:   shift
10516:   for mf
10517:   do
10518:     # Strip MF so we end up with the name of the file.
10519:     mf=`echo "$mf" | sed -e 's/:.*$//'`
10520:     # Check whether this is an Automake generated Makefile or not.
10521:     # We used to match only the files named `Makefile.in', but
10522:     # some people rename them; so instead we look at the file content.
10523:     # Grep'ing the first line is not enough: some people post-process
10524:     # each Makefile.in and add a new line on top of each file to say so.
10525:     # Grep'ing the whole file is not good either: AIX grep has a line
10526:     # limit of 2048, but all sed's we know have understand at least 4000.
10527:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10528:       dirpart=`$as_dirname -- "$mf" ||
10529: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10530:      X"$mf" : 'X\(//\)[^/]' \| \
10531:      X"$mf" : 'X\(//\)$' \| \
10532:      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10533: $as_echo X"$mf" |
10534:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10535:         s//\1/
10536:         q
10537:       }
10538:       /^X\(\/\/\)[^/].*/{
10539:         s//\1/
10540:         q
10541:       }
10542:       /^X\(\/\/\)$/{
10543:         s//\1/
10544:         q
10545:       }
10546:       /^X\(\/\).*/{
10547:         s//\1/
10548:         q
10549:       }
10550:       s/.*/./; q'`
10551:     else
10552:       continue
10553:     fi
10554:     # Extract the definition of DEPDIR, am__include, and am__quote
10555:     # from the Makefile without running `make'.
10556:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10557:     test -z "$DEPDIR" && continue
10558:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10559:     test -z "am__include" && continue
10560:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10561:     # When using ansi2knr, U may be empty or an underscore; expand it
10562:     U=`sed -n 's/^U = //p' < "$mf"`
10563:     # Find all dependency output files, they are included files with
10564:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10565:     # simplest approach to changing $(DEPDIR) to its actual value in the
10566:     # expansion.
10567:     for file in `sed -n "
10568:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10569:      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10570:       # Make sure the directory exists.
10571:       test -f "$dirpart/$file" && continue
10572:       fdir=`$as_dirname -- "$file" ||
10573: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10574:      X"$file" : 'X\(//\)[^/]' \| \
10575:      X"$file" : 'X\(//\)$' \| \
10576:      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10577: $as_echo X"$file" |
10578:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10579:         s//\1/
10580:         q
10581:       }
10582:       /^X\(\/\/\)[^/].*/{
10583:         s//\1/
10584:         q
10585:       }
10586:       /^X\(\/\/\)$/{
10587:         s//\1/
10588:         q
10589:       }
10590:       /^X\(\/\).*/{
10591:         s//\1/
10592:         q
10593:       }
10594:       s/.*/./; q'`
10595:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10596:       # echo "creating $dirpart/$file"
10597:       echo '# dummy' > "$dirpart/$file"
10598:     done
10599:   done
10600: }
10601:  ;;
10602: 
10603:   esac
10604: done # for ac_tag
10605: 
10606: 
10607: as_fn_exit 0
10608: _ACEOF
10609: ac_clean_files=$ac_clean_files_save
10610: 
10611: test $ac_write_fail = 0 ||
10612:   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
10613: 
10614: 
10615: # configure is writing to config.log, and then calls config.status.
10616: # config.status does its own redirection, appending to config.log.
10617: # Unfortunately, on DOS this fails, as config.log is still kept open
10618: # by configure, so config.status won't be able to write to it; its
10619: # output is simply discarded.  So we exec the FD to /dev/null,
10620: # effectively closing config.log, so it can be properly (re)opened and
10621: # appended to by config.status.  When coming back to configure, we
10622: # need to make the FD available again.
10623: if test "$no_create" != yes; then
10624:   ac_cs_success=:
10625:   ac_config_status_args=
10626:   test "$silent" = yes &&
10627:     ac_config_status_args="$ac_config_status_args --quiet"
10628:   exec 5>/dev/null
10629:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10630:   exec 5>>config.log
10631:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10632:   # would make configure fail if this is the last instruction.
10633:   $ac_cs_success || as_fn_exit $?
10634: fi
10635: 
10636: #
10637: # CONFIG_SUBDIRS section.
10638: #
10639: if test "$no_recursion" != yes; then
10640: 
10641:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10642:   # so they do not pile up.
10643:   ac_sub_configure_args=
10644:   ac_prev=
10645:   eval "set x $ac_configure_args"
10646:   shift
10647:   for ac_arg
10648:   do
10649:     if test -n "$ac_prev"; then
10650:       ac_prev=
10651:       continue
10652:     fi
10653:     case $ac_arg in
10654:     -cache-file | --cache-file | --cache-fil | --cache-fi \
10655:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10656:       ac_prev=cache_file ;;
10657:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10658:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
10659:     | --c=*)
10660:       ;;
10661:     --config-cache | -C)
10662:       ;;
10663:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10664:       ac_prev=srcdir ;;
10665:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10666:       ;;
10667:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10668:       ac_prev=prefix ;;
10669:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10670:       ;;
10671:     --disable-option-checking)
10672:       ;;
10673:     *)
10674:       case $ac_arg in
10675:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10676:       esac
10677:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
10678:     esac
10679:   done
10680: 
10681:   # Always prepend --prefix to ensure using the same prefix
10682:   # in subdir configurations.
10683:   ac_arg="--prefix=$prefix"
10684:   case $ac_arg in
10685:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10686:   esac
10687:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10688: 
10689:   # Pass --silent
10690:   if test "$silent" = yes; then
10691:     ac_sub_configure_args="--silent $ac_sub_configure_args"
10692:   fi
10693: 
10694:   # Always prepend --disable-option-checking to silence warnings, since
10695:   # different subdirs can have different --enable and --with options.
10696:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10697: 
10698:   ac_popdir=`pwd`
10699:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10700: 
10701:     # Do not complain, so a configure script can configure whichever
10702:     # parts of a large source tree are present.
10703:     test -d "$srcdir/$ac_dir" || continue
10704: 
10705:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10706:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
10707:     $as_echo "$ac_msg" >&6
10708:     as_dir="$ac_dir"; as_fn_mkdir_p
10709:     ac_builddir=.
10710: 
10711: case "$ac_dir" in
10712: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10713: *)
10714:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10715:   # A ".." for each directory in $ac_dir_suffix.
10716:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10717:   case $ac_top_builddir_sub in
10718:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10719:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10720:   esac ;;
10721: esac
10722: ac_abs_top_builddir=$ac_pwd
10723: ac_abs_builddir=$ac_pwd$ac_dir_suffix
10724: # for backward compatibility:
10725: ac_top_builddir=$ac_top_build_prefix
10726: 
10727: case $srcdir in
10728:   .)  # We are building in place.
10729:     ac_srcdir=.
10730:     ac_top_srcdir=$ac_top_builddir_sub
10731:     ac_abs_top_srcdir=$ac_pwd ;;
10732:   [\\/]* | ?:[\\/]* )  # Absolute name.
10733:     ac_srcdir=$srcdir$ac_dir_suffix;
10734:     ac_top_srcdir=$srcdir
10735:     ac_abs_top_srcdir=$srcdir ;;
10736:   *) # Relative name.
10737:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10738:     ac_top_srcdir=$ac_top_build_prefix$srcdir
10739:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10740: esac
10741: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10742: 
10743: 
10744:     cd "$ac_dir"
10745: 
10746:     # Check for guested configure; otherwise get Cygnus style configure.
10747:     if test -f "$ac_srcdir/configure.gnu"; then
10748:       ac_sub_configure=$ac_srcdir/configure.gnu
10749:     elif test -f "$ac_srcdir/configure"; then
10750:       ac_sub_configure=$ac_srcdir/configure
10751:     elif test -f "$ac_srcdir/configure.in"; then
10752:       # This should be Cygnus configure.
10753:       ac_sub_configure=$ac_aux_dir/configure
10754:     else
10755:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
10756: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10757:       ac_sub_configure=
10758:     fi
10759: 
10760:     # The recursion is here.
10761:     if test -n "$ac_sub_configure"; then
10762:       # Make the cache file name correct relative to the subdirectory.
10763:       case $cache_file in
10764:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
10765:       *) # Relative name.
10766:     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10767:       esac
10768: 
10769:       { $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
10770: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10771:       # The eval makes quoting arguments work.
10772:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10773:        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10774:     as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
10775:     fi
10776: 
10777:     cd "$ac_popdir"
10778:   done
10779: fi
10780: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10781:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10782: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10783: fi
10784: 

CVSweb interface <joel.bertrand@systella.fr>