Annotation of rpl/configure, revision 1.69

1.1       bertrand    1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.67      bertrand    3: # Generated by GNU Autoconf 2.68 for rpl 4.1.1.
1.15      bertrand    4: #
1.1       bertrand    5: #
                      6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.36      bertrand    7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
                      8: # Foundation, Inc.
1.15      bertrand    9: #
                     10: #
1.1       bertrand   11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.15      bertrand   13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
1.1       bertrand   16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
1.15      bertrand   19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       bertrand   20:   emulate sh
                     21:   NULLCMD=:
1.15      bertrand   22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       bertrand   23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
1.15      bertrand   27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
1.1       bertrand   32: esac
                     33: fi
                     34: 
                     35: 
1.15      bertrand   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
1.14      bertrand   73: 
                     74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
1.15      bertrand   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:   }
1.1       bertrand   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.
1.57      bertrand   92: as_myself=
1.15      bertrand   93: case $0 in #((
1.1       bertrand   94:   *[\\/]* ) as_myself=$0 ;;
                     95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     96: for as_dir in $PATH
                     97: do
                     98:   IFS=$as_save_IFS
                     99:   test -z "$as_dir" && as_dir=.
1.15      bertrand  100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
1.1       bertrand  102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
                    106: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
1.15      bertrand  112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    113:   exit 1
1.1       bertrand  114: fi
                    115: 
1.15      bertrand  116: # Unset variables that we do not need and which cause bugs (e.g. in
                    117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    118: # suppresses any "Segmentation fault" message there.  '((' could
                    119: # trigger a bug in pdksh 5.2.14.
                    120: for as_var in BASH_ENV ENV MAIL MAILPATH
                    121: do eval test x\${$as_var+set} = xset \
                    122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       bertrand  123: done
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
1.15      bertrand  129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
1.1       bertrand  133: 
                    134: # CDPATH.
1.15      bertrand  135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       bertrand  136: 
                    137: if test "x$CONFIG_SHELL" = x; then
1.15      bertrand  138:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    139:   emulate sh
                    140:   NULLCMD=:
                    141:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    142:   # is contrary to our usage.  Disable this feature.
                    143:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    144:   setopt NO_GLOB_SUBST
1.1       bertrand  145: else
1.15      bertrand  146:   case \`(set -o) 2>/dev/null\` in #(
                    147:   *posix*) :
                    148:     set -o posix ;; #(
                    149:   *) :
                    150:      ;;
                    151: esac
1.1       bertrand  152: fi
1.15      bertrand  153: "
                    154:   as_required="as_fn_return () { (exit \$1); }
                    155: as_fn_success () { as_fn_return 0; }
                    156: as_fn_failure () { as_fn_return 1; }
                    157: as_fn_ret_success () { return 0; }
                    158: as_fn_ret_failure () { return 1; }
1.1       bertrand  159: 
                    160: exitcode=0
1.15      bertrand  161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    166: 
                    167: else
                    168:   exitcode=1; echo positional parameters were not saved.
                    169: fi
                    170: test x\$exitcode = x0 || exit 1"
                    171:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    172:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    173:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    174:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    175: test \$(( 1 + 1 )) = 2 || exit 1"
                    176:   if (eval "$as_required") 2>/dev/null; then :
                    177:   as_have_required=yes
1.14      bertrand  178: else
1.15      bertrand  179:   as_have_required=no
1.14      bertrand  180: fi
1.15      bertrand  181:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1.14      bertrand  182: 
                    183: else
1.15      bertrand  184:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    185: as_found=false
1.1       bertrand  186: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    187: do
                    188:   IFS=$as_save_IFS
                    189:   test -z "$as_dir" && as_dir=.
1.15      bertrand  190:   as_found=:
                    191:   case $as_dir in #(
1.1       bertrand  192:     /*)
                    193:       for as_base in sh bash ksh sh5; do
1.15      bertrand  194:         # Try only shells that exist, to save several forks.
                    195:         as_shell=$as_dir/$as_base
                    196:         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    197:            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    198:   CONFIG_SHELL=$as_shell as_have_required=yes
                    199:           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    200:   break 2
                    201: fi
                    202: fi
1.1       bertrand  203:       done;;
                    204:        esac
1.15      bertrand  205:   as_found=false
1.1       bertrand  206: done
1.15      bertrand  207: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    208:          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    209:   CONFIG_SHELL=$SHELL as_have_required=yes
                    210: fi; }
1.1       bertrand  211: IFS=$as_save_IFS
                    212: 
                    213: 
1.15      bertrand  214:       if test "x$CONFIG_SHELL" != x; then :
                    215:   # We cannot yet assume a decent shell, so we have to provide a
                    216:    # neutralization value for shells without unset; and this also
                    217:    # works around shells that cannot unset nonexistent variables.
1.57      bertrand  218:    # Preserve -v and -x to the replacement shell.
1.15      bertrand  219:    BASH_ENV=/dev/null
                    220:    ENV=/dev/null
                    221:    (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    222:    export CONFIG_SHELL
1.57      bertrand  223:    case $- in # ((((
                    224:      *v*x* | *x*v* ) as_opts=-vx ;;
                    225:      *v* ) as_opts=-v ;;
                    226:      *x* ) as_opts=-x ;;
                    227:      * ) as_opts= ;;
                    228:    esac
                    229:    exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
1.15      bertrand  230: fi
                    231: 
                    232:     if test x$as_have_required = xno; then :
                    233:   $as_echo "$0: This script requires a shell more modern than all"
                    234:   $as_echo "$0: the shells that I found on your system."
                    235:   if test x${ZSH_VERSION+set} = xset ; then
                    236:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    237:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    238:   else
                    239:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    240: $0: including any error possibly output before this
                    241: $0: message. Then install a modern shell, or manually run
                    242: $0: the script under such a shell if you do have one."
                    243:   fi
                    244:   exit 1
                    245: fi
1.1       bertrand  246: fi
                    247: fi
1.15      bertrand  248: SHELL=${CONFIG_SHELL-/bin/sh}
                    249: export SHELL
                    250: # Unset more variables known to interfere with behavior of common tools.
                    251: CLICOLOR_FORCE= GREP_OPTIONS=
                    252: unset CLICOLOR_FORCE GREP_OPTIONS
1.14      bertrand  253: 
1.15      bertrand  254: ## --------------------- ##
                    255: ## M4sh Shell Functions. ##
                    256: ## --------------------- ##
                    257: # as_fn_unset VAR
                    258: # ---------------
                    259: # Portably unset VAR.
                    260: as_fn_unset ()
                    261: {
                    262:   { eval $1=; unset $1;}
                    263: }
                    264: as_unset=as_fn_unset
                    265: 
                    266: # as_fn_set_status STATUS
                    267: # -----------------------
                    268: # Set $? to STATUS, without forking.
                    269: as_fn_set_status ()
                    270: {
                    271:   return $1
                    272: } # as_fn_set_status
                    273: 
                    274: # as_fn_exit STATUS
                    275: # -----------------
                    276: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    277: as_fn_exit ()
                    278: {
                    279:   set +e
                    280:   as_fn_set_status $1
                    281:   exit $1
                    282: } # as_fn_exit
                    283: 
                    284: # as_fn_mkdir_p
                    285: # -------------
                    286: # Create "$as_dir" as a directory, including parents if necessary.
                    287: as_fn_mkdir_p ()
                    288: {
1.14      bertrand  289: 
1.15      bertrand  290:   case $as_dir in #(
                    291:   -*) as_dir=./$as_dir;;
                    292:   esac
                    293:   test -d "$as_dir" || eval $as_mkdir_p || {
                    294:     as_dirs=
                    295:     while :; do
                    296:       case $as_dir in #(
                    297:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    298:       *) as_qdir=$as_dir;;
                    299:       esac
                    300:       as_dirs="'$as_qdir' $as_dirs"
                    301:       as_dir=`$as_dirname -- "$as_dir" ||
                    302: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    303:     X"$as_dir" : 'X\(//\)[^/]' \| \
                    304:     X"$as_dir" : 'X\(//\)$' \| \
                    305:     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    306: $as_echo X"$as_dir" |
                    307:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    308:        s//\1/
                    309:        q
                    310:      }
                    311:      /^X\(\/\/\)[^/].*/{
                    312:        s//\1/
                    313:        q
                    314:      }
                    315:      /^X\(\/\/\)$/{
                    316:        s//\1/
                    317:        q
                    318:      }
                    319:      /^X\(\/\).*/{
                    320:        s//\1/
                    321:        q
                    322:      }
                    323:      s/.*/./; q'`
                    324:       test -d "$as_dir" && break
                    325:     done
                    326:     test -z "$as_dirs" || eval "mkdir $as_dirs"
1.36      bertrand  327:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1       bertrand  328: 
                    329: 
1.15      bertrand  330: } # as_fn_mkdir_p
                    331: # as_fn_append VAR VALUE
                    332: # ----------------------
                    333: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    334: # advantage of any shell optimizations that allow amortized linear growth over
                    335: # repeated appends, instead of the typical quadratic growth present in naive
                    336: # implementations.
                    337: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    338:   eval 'as_fn_append ()
                    339:   {
                    340:     eval $1+=\$2
                    341:   }'
1.14      bertrand  342: else
1.15      bertrand  343:   as_fn_append ()
                    344:   {
                    345:     eval $1=\$$1\$2
                    346:   }
                    347: fi # as_fn_append
1.1       bertrand  348: 
1.15      bertrand  349: # as_fn_arith ARG...
                    350: # ------------------
                    351: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    352: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    353: # must be portable across $(()) and expr.
                    354: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    355:   eval 'as_fn_arith ()
                    356:   {
                    357:     as_val=$(( $* ))
                    358:   }'
1.1       bertrand  359: else
1.15      bertrand  360:   as_fn_arith ()
                    361:   {
                    362:     as_val=`expr "$@" || test $? -eq 1`
                    363:   }
                    364: fi # as_fn_arith
1.14      bertrand  365: 
                    366: 
1.36      bertrand  367: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    368: # ----------------------------------------
1.15      bertrand  369: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    370: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.36      bertrand  371: # script with STATUS, using 1 if that was 0.
1.15      bertrand  372: as_fn_error ()
                    373: {
1.36      bertrand  374:   as_status=$1; test $as_status -eq 0 && as_status=1
                    375:   if test "$4"; then
                    376:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    377:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.15      bertrand  378:   fi
1.36      bertrand  379:   $as_echo "$as_me: error: $2" >&2
1.15      bertrand  380:   as_fn_exit $as_status
                    381: } # as_fn_error
1.14      bertrand  382: 
1.15      bertrand  383: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    384:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    385:   as_expr=expr
1.1       bertrand  386: else
1.15      bertrand  387:   as_expr=false
1.14      bertrand  388: fi
                    389: 
1.15      bertrand  390: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    391:   as_basename=basename
1.1       bertrand  392: else
1.15      bertrand  393:   as_basename=false
1.14      bertrand  394: fi
                    395: 
1.15      bertrand  396: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    397:   as_dirname=dirname
1.1       bertrand  398: else
1.15      bertrand  399:   as_dirname=false
1.1       bertrand  400: fi
                    401: 
1.15      bertrand  402: as_me=`$as_basename -- "$0" ||
                    403: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    404:     X"$0" : 'X\(//\)$' \| \
                    405:     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    406: $as_echo X/"$0" |
                    407:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    408:        s//\1/
                    409:        q
                    410:      }
                    411:      /^X\/\(\/\/\)$/{
                    412:        s//\1/
                    413:        q
                    414:      }
                    415:      /^X\/\(\/\).*/{
                    416:        s//\1/
                    417:        q
                    418:      }
                    419:      s/.*/./; q'`
1.1       bertrand  420: 
1.15      bertrand  421: # Avoid depending upon Character Ranges.
                    422: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    423: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    424: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    425: as_cr_digits='0123456789'
                    426: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       bertrand  427: 
                    428: 
1.15      bertrand  429:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    430:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    431:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    432:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    433:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
1.1       bertrand  434:   sed -n '
                    435:     p
                    436:     /[$]LINENO/=
                    437:   ' <$as_myself |
                    438:     sed '
                    439:       s/[$]LINENO.*/&-/
                    440:       t lineno
                    441:       b
                    442:       :lineno
                    443:       N
                    444:       :loop
                    445:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    446:       t loop
                    447:       s/-\n.*//
                    448:     ' >$as_me.lineno &&
                    449:   chmod +x "$as_me.lineno" ||
1.15      bertrand  450:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       bertrand  451: 
                    452:   # Don't try to exec as it changes $[0], causing all sort of problems
                    453:   # (the dirname of $[0] is not the place where we might find the
                    454:   # original and so on.  Autoconf is especially sensitive to this).
                    455:   . "./$as_me.lineno"
                    456:   # Exit status is that of the last command.
                    457:   exit
                    458: }
                    459: 
1.15      bertrand  460: ECHO_C= ECHO_N= ECHO_T=
                    461: case `echo -n x` in #(((((
                    462: -n*)
                    463:   case `echo 'xy\c'` in
1.1       bertrand  464:   *c*) ECHO_T='    ';; # ECHO_T is single tab character.
1.15      bertrand  465:   xy)  ECHO_C='\c';;
                    466:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    467:        ECHO_T='    ';;
1.1       bertrand  468:   esac;;
                    469: *)
                    470:   ECHO_N='-n';;
                    471: esac
                    472: 
                    473: rm -f conf$$ conf$$.exe conf$$.file
                    474: if test -d conf$$.dir; then
                    475:   rm -f conf$$.dir/conf$$.file
                    476: else
                    477:   rm -f conf$$.dir
1.15      bertrand  478:   mkdir conf$$.dir 2>/dev/null
1.1       bertrand  479: fi
1.15      bertrand  480: if (echo >conf$$.file) 2>/dev/null; then
                    481:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    482:     as_ln_s='ln -s'
                    483:     # ... but there are two gotchas:
                    484:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    485:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    486:     # In both cases, we have to default to `cp -p'.
                    487:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    488:       as_ln_s='cp -p'
                    489:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    490:     as_ln_s=ln
                    491:   else
1.1       bertrand  492:     as_ln_s='cp -p'
1.15      bertrand  493:   fi
1.1       bertrand  494: else
                    495:   as_ln_s='cp -p'
                    496: fi
                    497: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    498: rmdir conf$$.dir 2>/dev/null
                    499: 
                    500: if mkdir -p . 2>/dev/null; then
1.15      bertrand  501:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       bertrand  502: else
                    503:   test -d ./-p && rmdir ./-p
                    504:   as_mkdir_p=false
                    505: fi
                    506: 
                    507: if test -x / >/dev/null 2>&1; then
                    508:   as_test_x='test -x'
                    509: else
                    510:   if ls -dL / >/dev/null 2>&1; then
                    511:     as_ls_L_option=L
                    512:   else
                    513:     as_ls_L_option=
                    514:   fi
                    515:   as_test_x='
                    516:     eval sh -c '\''
                    517:       if test -d "$1"; then
1.15      bertrand  518:    test -d "$1/.";
1.1       bertrand  519:       else
1.15      bertrand  520:    case $1 in #(
                    521:    -*)set "./$1";;
1.1       bertrand  522:    esac;
1.15      bertrand  523:    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1       bertrand  524:    ???[sx]*):;;*)false;;esac;fi
                    525:     '\'' sh
                    526:   '
                    527: fi
                    528: as_executable_p=$as_test_x
                    529: 
                    530: # Sed expression to map a string onto a valid CPP name.
                    531: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    532: 
                    533: # Sed expression to map a string onto a valid variable name.
                    534: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    535: 
                    536: 
1.15      bertrand  537: test -n "$DJDIR" || exec 7<&0 </dev/null
                    538: exec 6>&1
1.1       bertrand  539: 
                    540: # Name of the host.
1.36      bertrand  541: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       bertrand  542: # so uname gets run too.
                    543: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    544: 
                    545: #
                    546: # Initializations.
                    547: #
                    548: ac_default_prefix=/usr/local
                    549: ac_clean_files=
                    550: ac_config_libobj_dir=.
                    551: LIBOBJS=
                    552: cross_compiling=no
                    553: subdirs=
                    554: MFLAGS=
                    555: MAKEFLAGS=
                    556: 
                    557: # Identity of this package.
                    558: PACKAGE_NAME='rpl'
                    559: PACKAGE_TARNAME='rpl'
1.67      bertrand  560: PACKAGE_VERSION='4.1.1'
                    561: PACKAGE_STRING='rpl 4.1.1'
1.1       bertrand  562: PACKAGE_BUGREPORT=''
1.15      bertrand  563: PACKAGE_URL=''
1.1       bertrand  564: 
                    565: ac_default_prefix=/usr/local
                    566: # Factoring default headers for most tests.
                    567: ac_includes_default="\
                    568: #include <stdio.h>
                    569: #ifdef HAVE_SYS_TYPES_H
                    570: # include <sys/types.h>
                    571: #endif
                    572: #ifdef HAVE_SYS_STAT_H
                    573: # include <sys/stat.h>
                    574: #endif
                    575: #ifdef STDC_HEADERS
                    576: # include <stdlib.h>
                    577: # include <stddef.h>
                    578: #else
                    579: # ifdef HAVE_STDLIB_H
                    580: #  include <stdlib.h>
                    581: # endif
                    582: #endif
                    583: #ifdef HAVE_STRING_H
                    584: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    585: #  include <memory.h>
                    586: # endif
                    587: # include <string.h>
                    588: #endif
                    589: #ifdef HAVE_STRINGS_H
                    590: # include <strings.h>
                    591: #endif
                    592: #ifdef HAVE_INTTYPES_H
                    593: # include <inttypes.h>
                    594: #endif
                    595: #ifdef HAVE_STDINT_H
                    596: # include <stdint.h>
                    597: #endif
                    598: #ifdef HAVE_UNISTD_H
                    599: # include <unistd.h>
                    600: #endif"
                    601: 
1.15      bertrand  602: enable_option_checking=no
                    603: ac_subst_vars='am__EXEEXT_FALSE
                    604: am__EXEEXT_TRUE
                    605: LTLIBOBJS
                    606: LIBOBJS
1.56      bertrand  607: GIAC
                    608: PARI
                    609: COCOA
                    610: NTL
1.55      bertrand  611: MPFR
                    612: GMP
1.49      bertrand  613: MALLOC
1.30      bertrand  614: EXT_SQL
1.15      bertrand  615: DATE_FR
                    616: FINAL_ENCODING
                    617: OPENSSL
                    618: SQLITE
                    619: ICONV
                    620: FILE
                    621: GNUPLOT
                    622: GPP
                    623: GSL
                    624: UNITS
                    625: READLINE
                    626: NCURSES
1.40      bertrand  627: BSH_PATH
1.35      bertrand  628: BROKEN_SIGINFO
1.34      bertrand  629: IPV6
1.33      bertrand  630: SEMUN
1.36      bertrand  631: IPCS_SYSV
1.17      bertrand  632: SEMAPHORES_NOMMES
                    633: NESTED_FUNCTIONS
                    634: EXPORT_DYNAMIC
1.33      bertrand  635: C_STANDARD
1.15      bertrand  636: OS
1.69    ! bertrand  637: HOST
1.15      bertrand  638: GNUPLOT_COMPILATION
                    639: subdirs
                    640: EGREP
                    641: GREP
                    642: libPgSQLlib
                    643: libPgSQLinc
                    644: POSTGRESQL_SUPPORT
                    645: libMySQLlib
                    646: libMySQLinc
                    647: MYSQL_SUPPORT
                    648: DATE
                    649: includeX
                    650: libX
                    651: MOTIF_SUPPORT
                    652: DEBUG
                    653: EXPERIMENTAL_CODE
                    654: VIM_SUPPORT
                    655: POSTSCRIPT_SUPPORT
                    656: FORCE_GNUPLOT_PATH
                    657: GNUPLOT_SUPPORT
                    658: VIM
                    659: GNUPLOT_P
                    660: GV
                    661: GS
                    662: DVIPS
                    663: LATEX
                    664: TEX
                    665: SED
                    666: RANLIB
                    667: LN_S
                    668: RUNPATH
                    669: PROFILAGE
1.67      bertrand  670: LIBRPLCAS
                    671: RPLCAS
1.66      bertrand  672: ABI
1.15      bertrand  673: X_EXTRA_LIBS
                    674: X_LIBS
                    675: X_PRE_LIBS
                    676: X_CFLAGS
                    677: CPP
                    678: XMKMF
                    679: ac_ct_FC
                    680: FCFLAGS
                    681: FC
                    682: ac_ct_F77
                    683: FFLAGS
                    684: F77
                    685: am__fastdepCXX_FALSE
                    686: am__fastdepCXX_TRUE
                    687: CXXDEPMODE
                    688: ac_ct_CXX
                    689: CXXFLAGS
                    690: CXX
                    691: am__fastdepCC_FALSE
                    692: am__fastdepCC_TRUE
                    693: CCDEPMODE
                    694: AMDEPBACKSLASH
                    695: AMDEP_FALSE
                    696: AMDEP_TRUE
                    697: am__quote
                    698: am__include
                    699: DEPDIR
                    700: OBJEXT
                    701: EXEEXT
                    702: ac_ct_CC
                    703: CPPFLAGS
                    704: LDFLAGS
                    705: CFLAGS
                    706: CC
                    707: am__untar
                    708: am__tar
                    709: AMTAR
                    710: am__leading_dot
                    711: SET_MAKE
                    712: AWK
                    713: mkdir_p
                    714: MKDIR_P
                    715: INSTALL_STRIP_PROGRAM
                    716: STRIP
                    717: install_sh
                    718: MAKEINFO
                    719: AUTOHEADER
                    720: AUTOMAKE
                    721: AUTOCONF
                    722: ACLOCAL
                    723: VERSION
                    724: PACKAGE
                    725: CYGPATH_W
                    726: am__isrc
                    727: INSTALL_DATA
                    728: INSTALL_SCRIPT
                    729: INSTALL_PROGRAM
                    730: target_os
                    731: target_vendor
                    732: target_cpu
                    733: target
                    734: host_os
                    735: host_vendor
                    736: host_cpu
                    737: host
                    738: build_os
                    739: build_vendor
                    740: build_cpu
                    741: build
                    742: target_alias
                    743: host_alias
                    744: build_alias
                    745: LIBS
                    746: ECHO_T
                    747: ECHO_N
                    748: ECHO_C
                    749: DEFS
                    750: mandir
                    751: localedir
                    752: libdir
                    753: psdir
                    754: pdfdir
                    755: dvidir
                    756: htmldir
                    757: infodir
                    758: docdir
                    759: oldincludedir
                    760: includedir
                    761: localstatedir
                    762: sharedstatedir
                    763: sysconfdir
                    764: datadir
                    765: datarootdir
                    766: libexecdir
                    767: sbindir
                    768: bindir
                    769: program_transform_name
                    770: prefix
                    771: exec_prefix
                    772: PACKAGE_URL
                    773: PACKAGE_BUGREPORT
                    774: PACKAGE_STRING
                    775: PACKAGE_VERSION
                    776: PACKAGE_TARNAME
                    777: PACKAGE_NAME
1.14      bertrand  778: PATH_SEPARATOR
1.15      bertrand  779: SHELL'
                    780: ac_subst_files=''
                    781: ac_user_opts='
                    782: enable_option_checking
                    783: enable_dependency_tracking
                    784: with_x
1.69    ! bertrand  785: with_32bits_abi
        !           786: with_64bits_abi
1.67      bertrand  787: with_rplcas
1.15      bertrand  788: enable_optimization
1.36      bertrand  789: enable_sysv_semaphores
1.30      bertrand  790: enable_full_static
1.15      bertrand  791: enable_final_encoding
                    792: enable_tex
                    793: enable_vim
                    794: enable_embedded_gnuplot
                    795: enable_gnuplot
                    796: enable_motif
                    797: enable_experimental
                    798: enable_debug
                    799: enable_profile
                    800: enable_final_run_path
                    801: with_mysql
                    802: with_postgresql
1.40      bertrand  803: with_bourne_shell
1.15      bertrand  804: with_openssl_arch
                    805: '
                    806:       ac_precious_vars='build_alias
1.1       bertrand  807: host_alias
                    808: target_alias
                    809: CC
                    810: CFLAGS
                    811: LDFLAGS
1.15      bertrand  812: LIBS
1.1       bertrand  813: CPPFLAGS
                    814: CXX
                    815: CXXFLAGS
1.15      bertrand  816: CCC
1.1       bertrand  817: F77
                    818: FFLAGS
                    819: FC
                    820: FCFLAGS
                    821: XMKMF
                    822: CPP'
1.69    ! bertrand  823: ac_subdirs_all='tools/$GNUPLOT
        !           824: tools/$NCURSES
1.1       bertrand  825: tools/$READLINE
                    826: tools/$GSL
                    827: tools/$GPP
                    828: tools/$FILE
                    829: tools/$ICONV
1.9       bertrand  830: tools/$SQLITE
1.69    ! bertrand  831: tools/$UNITS'
1.1       bertrand  832: 
                    833: # Initialize some variables set by options.
                    834: ac_init_help=
                    835: ac_init_version=false
1.15      bertrand  836: ac_unrecognized_opts=
                    837: ac_unrecognized_sep=
1.1       bertrand  838: # The variables have the same names as the options, with
                    839: # dashes changed to underlines.
                    840: cache_file=/dev/null
                    841: exec_prefix=NONE
                    842: no_create=
                    843: no_recursion=
                    844: prefix=NONE
                    845: program_prefix=NONE
                    846: program_suffix=NONE
                    847: program_transform_name=s,x,x,
                    848: silent=
                    849: site=
                    850: srcdir=
                    851: verbose=
                    852: x_includes=NONE
                    853: x_libraries=NONE
                    854: 
                    855: # Installation directory options.
                    856: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    857: # and all the variables that are supposed to be based on exec_prefix
                    858: # by default will actually change.
                    859: # Use braces instead of parens because sh, perl, etc. also accept them.
                    860: # (The list follows the same order as the GNU Coding Standards.)
                    861: bindir='${exec_prefix}/bin'
                    862: sbindir='${exec_prefix}/sbin'
                    863: libexecdir='${exec_prefix}/libexec'
                    864: datarootdir='${prefix}/share'
                    865: datadir='${datarootdir}'
                    866: sysconfdir='${prefix}/etc'
                    867: sharedstatedir='${prefix}/com'
                    868: localstatedir='${prefix}/var'
                    869: includedir='${prefix}/include'
                    870: oldincludedir='/usr/include'
                    871: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    872: infodir='${datarootdir}/info'
                    873: htmldir='${docdir}'
                    874: dvidir='${docdir}'
                    875: pdfdir='${docdir}'
                    876: psdir='${docdir}'
                    877: libdir='${exec_prefix}/lib'
                    878: localedir='${datarootdir}/locale'
                    879: mandir='${datarootdir}/man'
                    880: 
                    881: ac_prev=
                    882: ac_dashdash=
                    883: for ac_option
                    884: do
                    885:   # If the previous option needs an argument, assign it.
                    886:   if test -n "$ac_prev"; then
                    887:     eval $ac_prev=\$ac_option
                    888:     ac_prev=
                    889:     continue
                    890:   fi
                    891: 
                    892:   case $ac_option in
1.36      bertrand  893:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    894:   *=)   ac_optarg= ;;
                    895:   *)    ac_optarg=yes ;;
1.1       bertrand  896:   esac
                    897: 
                    898:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    899: 
                    900:   case $ac_dashdash$ac_option in
                    901:   --)
                    902:     ac_dashdash=yes ;;
                    903: 
                    904:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    905:     ac_prev=bindir ;;
                    906:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    907:     bindir=$ac_optarg ;;
                    908: 
                    909:   -build | --build | --buil | --bui | --bu)
                    910:     ac_prev=build_alias ;;
                    911:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    912:     build_alias=$ac_optarg ;;
                    913: 
                    914:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    915:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    916:     ac_prev=cache_file ;;
                    917:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    918:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    919:     cache_file=$ac_optarg ;;
                    920: 
                    921:   --config-cache | -C)
                    922:     cache_file=config.cache ;;
                    923: 
                    924:   -datadir | --datadir | --datadi | --datad)
                    925:     ac_prev=datadir ;;
                    926:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    927:     datadir=$ac_optarg ;;
                    928: 
                    929:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    930:   | --dataroo | --dataro | --datar)
                    931:     ac_prev=datarootdir ;;
                    932:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    933:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    934:     datarootdir=$ac_optarg ;;
                    935: 
                    936:   -disable-* | --disable-*)
1.15      bertrand  937:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       bertrand  938:     # Reject names that are not valid shell variable names.
1.15      bertrand  939:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.36      bertrand  940:       as_fn_error $? "invalid feature name: $ac_useropt"
1.15      bertrand  941:     ac_useropt_orig=$ac_useropt
                    942:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    943:     case $ac_user_opts in
                    944:       *"
                    945: "enable_$ac_useropt"
                    946: "*) ;;
                    947:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    948:     ac_unrecognized_sep=', ';;
                    949:     esac
                    950:     eval enable_$ac_useropt=no ;;
1.1       bertrand  951: 
                    952:   -docdir | --docdir | --docdi | --doc | --do)
                    953:     ac_prev=docdir ;;
                    954:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    955:     docdir=$ac_optarg ;;
                    956: 
                    957:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    958:     ac_prev=dvidir ;;
                    959:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    960:     dvidir=$ac_optarg ;;
                    961: 
                    962:   -enable-* | --enable-*)
1.15      bertrand  963:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       bertrand  964:     # Reject names that are not valid shell variable names.
1.15      bertrand  965:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.36      bertrand  966:       as_fn_error $? "invalid feature name: $ac_useropt"
1.15      bertrand  967:     ac_useropt_orig=$ac_useropt
                    968:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    969:     case $ac_user_opts in
                    970:       *"
                    971: "enable_$ac_useropt"
                    972: "*) ;;
                    973:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    974:     ac_unrecognized_sep=', ';;
                    975:     esac
                    976:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       bertrand  977: 
                    978:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    979:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    980:   | --exec | --exe | --ex)
                    981:     ac_prev=exec_prefix ;;
                    982:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    983:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    984:   | --exec=* | --exe=* | --ex=*)
                    985:     exec_prefix=$ac_optarg ;;
                    986: 
                    987:   -gas | --gas | --ga | --g)
                    988:     # Obsolete; use --with-gas.
                    989:     with_gas=yes ;;
                    990: 
                    991:   -help | --help | --hel | --he | -h)
                    992:     ac_init_help=long ;;
                    993:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    994:     ac_init_help=recursive ;;
                    995:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    996:     ac_init_help=short ;;
                    997: 
                    998:   -host | --host | --hos | --ho)
                    999:     ac_prev=host_alias ;;
                   1000:   -host=* | --host=* | --hos=* | --ho=*)
                   1001:     host_alias=$ac_optarg ;;
                   1002: 
                   1003:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1004:     ac_prev=htmldir ;;
                   1005:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1006:   | --ht=*)
                   1007:     htmldir=$ac_optarg ;;
                   1008: 
                   1009:   -includedir | --includedir | --includedi | --included | --include \
                   1010:   | --includ | --inclu | --incl | --inc)
                   1011:     ac_prev=includedir ;;
                   1012:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1013:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1014:     includedir=$ac_optarg ;;
                   1015: 
                   1016:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1017:     ac_prev=infodir ;;
                   1018:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1019:     infodir=$ac_optarg ;;
                   1020: 
                   1021:   -libdir | --libdir | --libdi | --libd)
                   1022:     ac_prev=libdir ;;
                   1023:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1024:     libdir=$ac_optarg ;;
                   1025: 
                   1026:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1027:   | --libexe | --libex | --libe)
                   1028:     ac_prev=libexecdir ;;
                   1029:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1030:   | --libexe=* | --libex=* | --libe=*)
                   1031:     libexecdir=$ac_optarg ;;
                   1032: 
                   1033:   -localedir | --localedir | --localedi | --localed | --locale)
                   1034:     ac_prev=localedir ;;
                   1035:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1036:     localedir=$ac_optarg ;;
                   1037: 
                   1038:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1039:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1040:     ac_prev=localstatedir ;;
                   1041:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1042:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1043:     localstatedir=$ac_optarg ;;
                   1044: 
                   1045:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1046:     ac_prev=mandir ;;
                   1047:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1048:     mandir=$ac_optarg ;;
                   1049: 
                   1050:   -nfp | --nfp | --nf)
                   1051:     # Obsolete; use --without-fp.
                   1052:     with_fp=no ;;
                   1053: 
                   1054:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1055:   | --no-cr | --no-c | -n)
                   1056:     no_create=yes ;;
                   1057: 
                   1058:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1059:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1060:     no_recursion=yes ;;
                   1061: 
                   1062:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1063:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1064:   | --oldin | --oldi | --old | --ol | --o)
                   1065:     ac_prev=oldincludedir ;;
                   1066:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1067:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1068:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1069:     oldincludedir=$ac_optarg ;;
                   1070: 
                   1071:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1072:     ac_prev=prefix ;;
                   1073:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1074:     prefix=$ac_optarg ;;
                   1075: 
                   1076:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1077:   | --program-pre | --program-pr | --program-p)
                   1078:     ac_prev=program_prefix ;;
                   1079:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1080:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1081:     program_prefix=$ac_optarg ;;
                   1082: 
                   1083:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1084:   | --program-suf | --program-su | --program-s)
                   1085:     ac_prev=program_suffix ;;
                   1086:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1087:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1088:     program_suffix=$ac_optarg ;;
                   1089: 
                   1090:   -program-transform-name | --program-transform-name \
                   1091:   | --program-transform-nam | --program-transform-na \
                   1092:   | --program-transform-n | --program-transform- \
                   1093:   | --program-transform | --program-transfor \
                   1094:   | --program-transfo | --program-transf \
                   1095:   | --program-trans | --program-tran \
                   1096:   | --progr-tra | --program-tr | --program-t)
                   1097:     ac_prev=program_transform_name ;;
                   1098:   -program-transform-name=* | --program-transform-name=* \
                   1099:   | --program-transform-nam=* | --program-transform-na=* \
                   1100:   | --program-transform-n=* | --program-transform-=* \
                   1101:   | --program-transform=* | --program-transfor=* \
                   1102:   | --program-transfo=* | --program-transf=* \
                   1103:   | --program-trans=* | --program-tran=* \
                   1104:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1105:     program_transform_name=$ac_optarg ;;
                   1106: 
                   1107:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1108:     ac_prev=pdfdir ;;
                   1109:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1110:     pdfdir=$ac_optarg ;;
                   1111: 
                   1112:   -psdir | --psdir | --psdi | --psd | --ps)
                   1113:     ac_prev=psdir ;;
                   1114:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1115:     psdir=$ac_optarg ;;
                   1116: 
                   1117:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1118:   | -silent | --silent | --silen | --sile | --sil)
                   1119:     silent=yes ;;
                   1120: 
                   1121:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1122:     ac_prev=sbindir ;;
                   1123:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1124:   | --sbi=* | --sb=*)
                   1125:     sbindir=$ac_optarg ;;
                   1126: 
                   1127:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1128:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1129:   | --sharedst | --shareds | --shared | --share | --shar \
                   1130:   | --sha | --sh)
                   1131:     ac_prev=sharedstatedir ;;
                   1132:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1133:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1134:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1135:   | --sha=* | --sh=*)
                   1136:     sharedstatedir=$ac_optarg ;;
                   1137: 
                   1138:   -site | --site | --sit)
                   1139:     ac_prev=site ;;
                   1140:   -site=* | --site=* | --sit=*)
                   1141:     site=$ac_optarg ;;
                   1142: 
                   1143:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1144:     ac_prev=srcdir ;;
                   1145:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1146:     srcdir=$ac_optarg ;;
                   1147: 
                   1148:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1149:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1150:     ac_prev=sysconfdir ;;
                   1151:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1152:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1153:     sysconfdir=$ac_optarg ;;
                   1154: 
                   1155:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1156:     ac_prev=target_alias ;;
                   1157:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1158:     target_alias=$ac_optarg ;;
                   1159: 
                   1160:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1161:     verbose=yes ;;
                   1162: 
                   1163:   -version | --version | --versio | --versi | --vers | -V)
                   1164:     ac_init_version=: ;;
                   1165: 
                   1166:   -with-* | --with-*)
1.15      bertrand 1167:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       bertrand 1168:     # Reject names that are not valid shell variable names.
1.15      bertrand 1169:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.36      bertrand 1170:       as_fn_error $? "invalid package name: $ac_useropt"
1.15      bertrand 1171:     ac_useropt_orig=$ac_useropt
                   1172:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1173:     case $ac_user_opts in
                   1174:       *"
                   1175: "with_$ac_useropt"
                   1176: "*) ;;
                   1177:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1178:     ac_unrecognized_sep=', ';;
                   1179:     esac
                   1180:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       bertrand 1181: 
                   1182:   -without-* | --without-*)
1.15      bertrand 1183:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       bertrand 1184:     # Reject names that are not valid shell variable names.
1.15      bertrand 1185:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.36      bertrand 1186:       as_fn_error $? "invalid package name: $ac_useropt"
1.15      bertrand 1187:     ac_useropt_orig=$ac_useropt
                   1188:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1189:     case $ac_user_opts in
                   1190:       *"
                   1191: "with_$ac_useropt"
                   1192: "*) ;;
                   1193:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1194:     ac_unrecognized_sep=', ';;
                   1195:     esac
                   1196:     eval with_$ac_useropt=no ;;
1.1       bertrand 1197: 
                   1198:   --x)
                   1199:     # Obsolete; use --with-x.
                   1200:     with_x=yes ;;
                   1201: 
                   1202:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1203:   | --x-incl | --x-inc | --x-in | --x-i)
                   1204:     ac_prev=x_includes ;;
                   1205:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1206:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1207:     x_includes=$ac_optarg ;;
                   1208: 
                   1209:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1210:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1211:     ac_prev=x_libraries ;;
                   1212:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1213:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1214:     x_libraries=$ac_optarg ;;
                   1215: 
1.36      bertrand 1216:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1217: Try \`$0 --help' for more information"
1.1       bertrand 1218:     ;;
                   1219: 
                   1220:   *=*)
                   1221:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1222:     # Reject names that are not valid shell variable names.
1.15      bertrand 1223:     case $ac_envvar in #(
                   1224:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.36      bertrand 1225:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1.15      bertrand 1226:     esac
1.1       bertrand 1227:     eval $ac_envvar=\$ac_optarg
                   1228:     export $ac_envvar ;;
                   1229: 
                   1230:   *)
                   1231:     # FIXME: should be removed in autoconf 3.0.
1.15      bertrand 1232:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       bertrand 1233:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.15      bertrand 1234:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.57      bertrand 1235:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       bertrand 1236:     ;;
                   1237: 
                   1238:   esac
                   1239: done
                   1240: 
                   1241: if test -n "$ac_prev"; then
                   1242:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.36      bertrand 1243:   as_fn_error $? "missing argument to $ac_option"
1.15      bertrand 1244: fi
                   1245: 
                   1246: if test -n "$ac_unrecognized_opts"; then
                   1247:   case $enable_option_checking in
                   1248:     no) ;;
1.36      bertrand 1249:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.15      bertrand 1250:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1251:   esac
1.1       bertrand 1252: fi
                   1253: 
1.15      bertrand 1254: # Check all directory arguments for consistency.
1.1       bertrand 1255: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1256:        datadir sysconfdir sharedstatedir localstatedir includedir \
                   1257:        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1258:        libdir localedir mandir
                   1259: do
                   1260:   eval ac_val=\$$ac_var
1.15      bertrand 1261:   # Remove trailing slashes.
                   1262:   case $ac_val in
                   1263:     */ )
                   1264:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1265:       eval $ac_var=\$ac_val;;
                   1266:   esac
                   1267:   # Be sure to have absolute directory names.
1.1       bertrand 1268:   case $ac_val in
                   1269:     [\\/$]* | ?:[\\/]* )  continue;;
                   1270:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1271:   esac
1.36      bertrand 1272:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       bertrand 1273: done
                   1274: 
                   1275: # There might be people who depend on the old broken behavior: `$host'
                   1276: # used to hold the argument of --host etc.
                   1277: # FIXME: To remove some day.
                   1278: build=$build_alias
                   1279: host=$host_alias
                   1280: target=$target_alias
                   1281: 
                   1282: # FIXME: To remove some day.
                   1283: if test "x$host_alias" != x; then
                   1284:   if test "x$build_alias" = x; then
                   1285:     cross_compiling=maybe
1.36      bertrand 1286:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1287:     If a cross compiler is detected then cross compile mode will be used" >&2
1.1       bertrand 1288:   elif test "x$build_alias" != "x$host_alias"; then
                   1289:     cross_compiling=yes
                   1290:   fi
                   1291: fi
                   1292: 
                   1293: ac_tool_prefix=
                   1294: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1295: 
                   1296: test "$silent" = yes && exec 6>/dev/null
                   1297: 
                   1298: 
                   1299: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1300: ac_ls_di=`ls -di .` &&
                   1301: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.36      bertrand 1302:   as_fn_error $? "working directory cannot be determined"
1.1       bertrand 1303: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.36      bertrand 1304:   as_fn_error $? "pwd does not report name of working directory"
1.1       bertrand 1305: 
                   1306: 
                   1307: # Find the source files, if location was not specified.
                   1308: if test -z "$srcdir"; then
                   1309:   ac_srcdir_defaulted=yes
                   1310:   # Try the directory containing this script, then the parent directory.
1.15      bertrand 1311:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1312: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1313:     X"$as_myself" : 'X\(//\)[^/]' \| \
                   1314:     X"$as_myself" : 'X\(//\)$' \| \
                   1315:     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1316: $as_echo X"$as_myself" |
1.1       bertrand 1317:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1318:        s//\1/
                   1319:        q
                   1320:      }
                   1321:      /^X\(\/\/\)[^/].*/{
                   1322:        s//\1/
                   1323:        q
                   1324:      }
                   1325:      /^X\(\/\/\)$/{
                   1326:        s//\1/
                   1327:        q
                   1328:      }
                   1329:      /^X\(\/\).*/{
                   1330:        s//\1/
                   1331:        q
                   1332:      }
                   1333:      s/.*/./; q'`
                   1334:   srcdir=$ac_confdir
                   1335:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1336:     srcdir=..
                   1337:   fi
                   1338: else
                   1339:   ac_srcdir_defaulted=no
                   1340: fi
                   1341: if test ! -r "$srcdir/$ac_unique_file"; then
                   1342:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.36      bertrand 1343:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1.1       bertrand 1344: fi
                   1345: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1346: ac_abs_confdir=`(
1.36      bertrand 1347:    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1.1       bertrand 1348:    pwd)`
                   1349: # When building in place, set srcdir=.
                   1350: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1351:   srcdir=.
                   1352: fi
                   1353: # Remove unnecessary trailing slashes from srcdir.
                   1354: # Double slashes in file names in object file debugging info
                   1355: # mess up M-x gdb in Emacs.
                   1356: case $srcdir in
                   1357: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1358: esac
                   1359: for ac_var in $ac_precious_vars; do
                   1360:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1361:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1362:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1363:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1364: done
                   1365: 
                   1366: #
                   1367: # Report the --help message.
                   1368: #
                   1369: if test "$ac_init_help" = "long"; then
                   1370:   # Omit some internal or obsolete options to make the list less imposing.
                   1371:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1372:   cat <<_ACEOF
1.67      bertrand 1373: \`configure' configures rpl 4.1.1 to adapt to many kinds of systems.
1.1       bertrand 1374: 
                   1375: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1376: 
                   1377: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1378: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1379: 
                   1380: Defaults for the options are specified in brackets.
                   1381: 
                   1382: Configuration:
                   1383:   -h, --help              display this help and exit
                   1384:       --help=short        display options specific to this package
                   1385:       --help=recursive    display the short help of all the included packages
                   1386:   -V, --version           display version information and exit
1.36      bertrand 1387:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       bertrand 1388:       --cache-file=FILE   cache test results in FILE [disabled]
                   1389:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1390:   -n, --no-create         do not create output files
                   1391:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1392: 
                   1393: Installation directories:
                   1394:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.15      bertrand 1395:                           [$ac_default_prefix]
1.1       bertrand 1396:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.15      bertrand 1397:                           [PREFIX]
1.1       bertrand 1398: 
                   1399: By default, \`make install' will install all the files in
                   1400: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1401: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1402: for instance \`--prefix=\$HOME'.
                   1403: 
                   1404: For better control, use the options below.
                   1405: 
                   1406: Fine tuning of the installation directories:
1.15      bertrand 1407:   --bindir=DIR            user executables [EPREFIX/bin]
                   1408:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1409:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1410:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1411:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1412:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1413:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1414:   --includedir=DIR        C header files [PREFIX/include]
                   1415:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1416:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1417:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1418:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1419:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1420:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1421:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
                   1422:   --htmldir=DIR           html documentation [DOCDIR]
                   1423:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1424:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1425:   --psdir=DIR             ps documentation [DOCDIR]
1.1       bertrand 1426: _ACEOF
                   1427: 
                   1428:   cat <<\_ACEOF
                   1429: 
                   1430: Program names:
                   1431:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1432:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1433:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1434: 
                   1435: X features:
                   1436:   --x-includes=DIR    X include files are in DIR
                   1437:   --x-libraries=DIR   X library files are in DIR
                   1438: 
                   1439: System types:
                   1440:   --build=BUILD     configure for building on BUILD [guessed]
                   1441:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1442:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1443: _ACEOF
                   1444: fi
                   1445: 
                   1446: if test -n "$ac_init_help"; then
                   1447:   case $ac_init_help in
1.67      bertrand 1448:      short | recursive ) echo "Configuration of rpl 4.1.1:";;
1.1       bertrand 1449:    esac
                   1450:   cat <<\_ACEOF
                   1451: 
                   1452: Optional Features:
1.15      bertrand 1453:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       bertrand 1454:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1455:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1456:   --disable-dependency-tracking  speeds up one-time build
                   1457:   --enable-dependency-tracking   do not reject slow dependency extractors
                   1458:   --enable-optimization   set compiler flags [default=environment variables -O3]
1.36      bertrand 1459:   --enable-sysv-ipcs      use SystemV IPC functions [default=no]
1.30      bertrand 1460:   --enable-full-static    build static RPL/2 engine [default=shared]
1.1       bertrand 1461:   --enable-final-encoding force final encoding [default=guessed]
                   1462:   --enable-tex            provide the TeX support [default=guessed]
                   1463:   --enable-vim            provide the vim support [default=guessed]
                   1464:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
                   1465:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
                   1466:   --enable-motif          provide the Motif support [default=guessed]
                   1467:   --enable-experimental   enable experimental code [default=no]
                   1468:   --enable-debug          enable debug code [default=no]
                   1469:   --enable-profile        enable profile code [default=no]
                   1470:   --enable-final-run-path=PATH enable another final run path than PREFIX
                   1471: 
                   1472: Optional Packages:
                   1473:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1474:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1475:   --with-x                use the X Window System
1.64      bertrand 1476:   --with-32bits-abi       force 32bits ABI (multilib)
1.67      bertrand 1477:   --with-64bits-abi       force 64bits ABI (multilib)
                   1478:   --with-rplcas           compile rplcas (default=no)
1.1       bertrand 1479:   --with-mysql=PATH         specify directory for installed mysql
                   1480:   --with-postgresql=PATH    specify directory for installed postgresql
1.40      bertrand 1481:   --with-bourne-shell=PATH  specify path for OS/2 bourne shell
1.15      bertrand 1482:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
1.1       bertrand 1483: 
                   1484: Some influential environment variables:
                   1485:   CC          C compiler command
                   1486:   CFLAGS      C compiler flags
                   1487:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1488:               nonstandard directory <lib dir>
                   1489:   LIBS        libraries to pass to the linker, e.g. -l<library>
1.15      bertrand 1490:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.1       bertrand 1491:               you have headers in a nonstandard directory <include dir>
                   1492:   CXX         C++ compiler command
                   1493:   CXXFLAGS    C++ compiler flags
                   1494:   F77         Fortran 77 compiler command
                   1495:   FFLAGS      Fortran 77 compiler flags
                   1496:   FC          Fortran compiler command
                   1497:   FCFLAGS     Fortran compiler flags
                   1498:   XMKMF       Path to xmkmf, Makefile generator for X Window System
                   1499:   CPP         C preprocessor
                   1500: 
                   1501: Use these variables to override the choices made by `configure' or to help
                   1502: it to find libraries and programs with nonstandard names/locations.
                   1503: 
1.15      bertrand 1504: Report bugs to the package provider.
1.1       bertrand 1505: _ACEOF
                   1506: ac_status=$?
                   1507: fi
                   1508: 
                   1509: if test "$ac_init_help" = "recursive"; then
                   1510:   # If there are subdirs, report their specific --help.
                   1511:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.15      bertrand 1512:     test -d "$ac_dir" ||
                   1513:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1514:       continue
1.1       bertrand 1515:     ac_builddir=.
                   1516: 
                   1517: case "$ac_dir" in
                   1518: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1519: *)
1.15      bertrand 1520:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 1521:   # A ".." for each directory in $ac_dir_suffix.
1.15      bertrand 1522:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 1523:   case $ac_top_builddir_sub in
                   1524:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1525:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1526:   esac ;;
                   1527: esac
                   1528: ac_abs_top_builddir=$ac_pwd
                   1529: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1530: # for backward compatibility:
                   1531: ac_top_builddir=$ac_top_build_prefix
                   1532: 
                   1533: case $srcdir in
                   1534:   .)  # We are building in place.
                   1535:     ac_srcdir=.
                   1536:     ac_top_srcdir=$ac_top_builddir_sub
                   1537:     ac_abs_top_srcdir=$ac_pwd ;;
                   1538:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1539:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1540:     ac_top_srcdir=$srcdir
                   1541:     ac_abs_top_srcdir=$srcdir ;;
                   1542:   *) # Relative name.
                   1543:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1544:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1545:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1546: esac
                   1547: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1548: 
                   1549:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1550:     # Check for guested configure.
                   1551:     if test -f "$ac_srcdir/configure.gnu"; then
                   1552:       echo &&
                   1553:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1554:     elif test -f "$ac_srcdir/configure"; then
                   1555:       echo &&
                   1556:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1557:     else
1.15      bertrand 1558:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1       bertrand 1559:     fi || ac_status=$?
                   1560:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1561:   done
                   1562: fi
                   1563: 
                   1564: test -n "$ac_init_help" && exit $ac_status
                   1565: if $ac_init_version; then
                   1566:   cat <<\_ACEOF
1.67      bertrand 1567: rpl configure 4.1.1
1.57      bertrand 1568: generated by GNU Autoconf 2.68
1.1       bertrand 1569: 
1.36      bertrand 1570: Copyright (C) 2010 Free Software Foundation, Inc.
1.1       bertrand 1571: This configure script is free software; the Free Software Foundation
                   1572: gives unlimited permission to copy, distribute and modify it.
                   1573: _ACEOF
                   1574:   exit
                   1575: fi
                   1576: 
1.15      bertrand 1577: ## ------------------------ ##
                   1578: ## Autoconf initialization. ##
                   1579: ## ------------------------ ##
                   1580: 
                   1581: # ac_fn_c_try_compile LINENO
                   1582: # --------------------------
                   1583: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1584: ac_fn_c_try_compile ()
                   1585: {
                   1586:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1587:   rm -f conftest.$ac_objext
                   1588:   if { { ac_try="$ac_compile"
                   1589: case "(($ac_try" in
                   1590:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1591:   *) ac_try_echo=$ac_try;;
                   1592: esac
                   1593: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1594: $as_echo "$ac_try_echo"; } >&5
                   1595:   (eval "$ac_compile") 2>conftest.err
                   1596:   ac_status=$?
                   1597:   if test -s conftest.err; then
                   1598:     grep -v '^ *+' conftest.err >conftest.er1
                   1599:     cat conftest.er1 >&5
                   1600:     mv -f conftest.er1 conftest.err
                   1601:   fi
                   1602:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1603:   test $ac_status = 0; } && {
                   1604:     test -z "$ac_c_werror_flag" ||
                   1605:     test ! -s conftest.err
                   1606:        } && test -s conftest.$ac_objext; then :
                   1607:   ac_retval=0
                   1608: else
                   1609:   $as_echo "$as_me: failed program was:" >&5
                   1610: sed 's/^/| /' conftest.$ac_ext >&5
                   1611: 
                   1612:    ac_retval=1
                   1613: fi
1.57      bertrand 1614:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1615:   as_fn_set_status $ac_retval
1.1       bertrand 1616: 
1.15      bertrand 1617: } # ac_fn_c_try_compile
1.1       bertrand 1618: 
1.15      bertrand 1619: # ac_fn_cxx_try_compile LINENO
                   1620: # ----------------------------
                   1621: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1622: ac_fn_cxx_try_compile ()
1.1       bertrand 1623: {
1.15      bertrand 1624:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1625:   rm -f conftest.$ac_objext
                   1626:   if { { ac_try="$ac_compile"
                   1627: case "(($ac_try" in
                   1628:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1629:   *) ac_try_echo=$ac_try;;
                   1630: esac
                   1631: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1632: $as_echo "$ac_try_echo"; } >&5
                   1633:   (eval "$ac_compile") 2>conftest.err
                   1634:   ac_status=$?
                   1635:   if test -s conftest.err; then
                   1636:     grep -v '^ *+' conftest.err >conftest.er1
                   1637:     cat conftest.er1 >&5
                   1638:     mv -f conftest.er1 conftest.err
                   1639:   fi
                   1640:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1641:   test $ac_status = 0; } && {
                   1642:     test -z "$ac_cxx_werror_flag" ||
                   1643:     test ! -s conftest.err
                   1644:        } && test -s conftest.$ac_objext; then :
                   1645:   ac_retval=0
                   1646: else
                   1647:   $as_echo "$as_me: failed program was:" >&5
                   1648: sed 's/^/| /' conftest.$ac_ext >&5
                   1649: 
                   1650:    ac_retval=1
                   1651: fi
1.57      bertrand 1652:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1653:   as_fn_set_status $ac_retval
1.1       bertrand 1654: 
1.15      bertrand 1655: } # ac_fn_cxx_try_compile
1.1       bertrand 1656: 
1.15      bertrand 1657: # ac_fn_f77_try_compile LINENO
                   1658: # ----------------------------
                   1659: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1660: ac_fn_f77_try_compile ()
                   1661: {
                   1662:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1663:   rm -f conftest.$ac_objext
                   1664:   if { { ac_try="$ac_compile"
                   1665: case "(($ac_try" in
                   1666:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1667:   *) ac_try_echo=$ac_try;;
                   1668: esac
                   1669: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1670: $as_echo "$ac_try_echo"; } >&5
                   1671:   (eval "$ac_compile") 2>conftest.err
                   1672:   ac_status=$?
                   1673:   if test -s conftest.err; then
                   1674:     grep -v '^ *+' conftest.err >conftest.er1
                   1675:     cat conftest.er1 >&5
                   1676:     mv -f conftest.er1 conftest.err
                   1677:   fi
                   1678:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1679:   test $ac_status = 0; } && {
                   1680:     test -z "$ac_f77_werror_flag" ||
                   1681:     test ! -s conftest.err
                   1682:        } && test -s conftest.$ac_objext; then :
                   1683:   ac_retval=0
                   1684: else
                   1685:   $as_echo "$as_me: failed program was:" >&5
                   1686: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1687: 
1.15      bertrand 1688:    ac_retval=1
                   1689: fi
1.57      bertrand 1690:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1691:   as_fn_set_status $ac_retval
1.1       bertrand 1692: 
1.15      bertrand 1693: } # ac_fn_f77_try_compile
1.1       bertrand 1694: 
1.15      bertrand 1695: # ac_fn_fc_try_compile LINENO
                   1696: # ---------------------------
                   1697: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1698: ac_fn_fc_try_compile ()
                   1699: {
                   1700:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1701:   rm -f conftest.$ac_objext
                   1702:   if { { ac_try="$ac_compile"
                   1703: case "(($ac_try" in
                   1704:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1705:   *) ac_try_echo=$ac_try;;
                   1706: esac
                   1707: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1708: $as_echo "$ac_try_echo"; } >&5
                   1709:   (eval "$ac_compile") 2>conftest.err
                   1710:   ac_status=$?
                   1711:   if test -s conftest.err; then
                   1712:     grep -v '^ *+' conftest.err >conftest.er1
                   1713:     cat conftest.er1 >&5
                   1714:     mv -f conftest.er1 conftest.err
                   1715:   fi
                   1716:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1717:   test $ac_status = 0; } && {
                   1718:     test -z "$ac_fc_werror_flag" ||
                   1719:     test ! -s conftest.err
                   1720:        } && test -s conftest.$ac_objext; then :
                   1721:   ac_retval=0
                   1722: else
                   1723:   $as_echo "$as_me: failed program was:" >&5
                   1724: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1725: 
1.15      bertrand 1726:    ac_retval=1
                   1727: fi
1.57      bertrand 1728:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1729:   as_fn_set_status $ac_retval
1.1       bertrand 1730: 
1.15      bertrand 1731: } # ac_fn_fc_try_compile
1.1       bertrand 1732: 
1.15      bertrand 1733: # ac_fn_c_try_cpp LINENO
                   1734: # ----------------------
                   1735: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1736: ac_fn_c_try_cpp ()
                   1737: {
                   1738:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1739:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1740: case "(($ac_try" in
                   1741:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1742:   *) ac_try_echo=$ac_try;;
                   1743: esac
                   1744: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1745: $as_echo "$ac_try_echo"; } >&5
                   1746:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1747:   ac_status=$?
                   1748:   if test -s conftest.err; then
                   1749:     grep -v '^ *+' conftest.err >conftest.er1
                   1750:     cat conftest.er1 >&5
                   1751:     mv -f conftest.er1 conftest.err
                   1752:   fi
                   1753:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.36      bertrand 1754:   test $ac_status = 0; } > conftest.i && {
1.15      bertrand 1755:     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1756:     test ! -s conftest.err
                   1757:        }; then :
                   1758:   ac_retval=0
                   1759: else
                   1760:   $as_echo "$as_me: failed program was:" >&5
                   1761: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1762: 
1.15      bertrand 1763:     ac_retval=1
                   1764: fi
1.57      bertrand 1765:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1766:   as_fn_set_status $ac_retval
1.1       bertrand 1767: 
1.15      bertrand 1768: } # ac_fn_c_try_cpp
1.1       bertrand 1769: 
1.15      bertrand 1770: # ac_fn_c_try_link LINENO
                   1771: # -----------------------
                   1772: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1773: ac_fn_c_try_link ()
                   1774: {
                   1775:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1776:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1777:   if { { ac_try="$ac_link"
                   1778: case "(($ac_try" in
                   1779:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1780:   *) ac_try_echo=$ac_try;;
                   1781: esac
                   1782: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1783: $as_echo "$ac_try_echo"; } >&5
                   1784:   (eval "$ac_link") 2>conftest.err
                   1785:   ac_status=$?
                   1786:   if test -s conftest.err; then
                   1787:     grep -v '^ *+' conftest.err >conftest.er1
                   1788:     cat conftest.er1 >&5
                   1789:     mv -f conftest.er1 conftest.err
                   1790:   fi
                   1791:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1792:   test $ac_status = 0; } && {
                   1793:     test -z "$ac_c_werror_flag" ||
                   1794:     test ! -s conftest.err
                   1795:        } && test -s conftest$ac_exeext && {
                   1796:     test "$cross_compiling" = yes ||
                   1797:     $as_test_x conftest$ac_exeext
                   1798:        }; then :
                   1799:   ac_retval=0
                   1800: else
                   1801:   $as_echo "$as_me: failed program was:" >&5
                   1802: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1803: 
1.15      bertrand 1804:    ac_retval=1
                   1805: fi
                   1806:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1807:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1808:   # interfere with the next link command; also delete a directory that is
                   1809:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1810:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.57      bertrand 1811:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1812:   as_fn_set_status $ac_retval
1.1       bertrand 1813: 
1.15      bertrand 1814: } # ac_fn_c_try_link
1.1       bertrand 1815: 
1.15      bertrand 1816: # ac_fn_c_check_func LINENO FUNC VAR
                   1817: # ----------------------------------
                   1818: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1819: ac_fn_c_check_func ()
                   1820: {
                   1821:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1822:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1823: $as_echo_n "checking for $2... " >&6; }
1.57      bertrand 1824: if eval \${$3+:} false; then :
1.15      bertrand 1825:   $as_echo_n "(cached) " >&6
                   1826: else
                   1827:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1828: /* end confdefs.h.  */
                   1829: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1830:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1831: #define $2 innocuous_$2
1.1       bertrand 1832: 
1.15      bertrand 1833: /* System header to define __stub macros and hopefully few prototypes,
                   1834:     which can conflict with char $2 (); below.
                   1835:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1836:     <limits.h> exists even on freestanding compilers.  */
1.1       bertrand 1837: 
1.15      bertrand 1838: #ifdef __STDC__
                   1839: # include <limits.h>
                   1840: #else
                   1841: # include <assert.h>
                   1842: #endif
1.1       bertrand 1843: 
1.15      bertrand 1844: #undef $2
1.1       bertrand 1845: 
1.15      bertrand 1846: /* Override any GCC internal prototype to avoid an error.
                   1847:    Use char because int might match the return type of a GCC
                   1848:    builtin and then its argument prototype would still apply.  */
                   1849: #ifdef __cplusplus
                   1850: extern "C"
                   1851: #endif
                   1852: char $2 ();
                   1853: /* The GNU C library defines this for functions which it implements
                   1854:     to always fail with ENOSYS.  Some functions are actually named
                   1855:     something starting with __ and the normal name is an alias.  */
                   1856: #if defined __stub_$2 || defined __stub___$2
                   1857: choke me
                   1858: #endif
1.1       bertrand 1859: 
1.15      bertrand 1860: int
                   1861: main ()
                   1862: {
                   1863: return $2 ();
                   1864:   ;
                   1865:   return 0;
                   1866: }
1.1       bertrand 1867: _ACEOF
1.15      bertrand 1868: if ac_fn_c_try_link "$LINENO"; then :
                   1869:   eval "$3=yes"
                   1870: else
                   1871:   eval "$3=no"
                   1872: fi
                   1873: rm -f core conftest.err conftest.$ac_objext \
                   1874:     conftest$ac_exeext conftest.$ac_ext
                   1875: fi
                   1876: eval ac_res=\$$3
                   1877:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1878: $as_echo "$ac_res" >&6; }
1.57      bertrand 1879:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       bertrand 1880: 
1.15      bertrand 1881: } # ac_fn_c_check_func
1.1       bertrand 1882: 
1.33      bertrand 1883: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1884: # -------------------------------------------
                   1885: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1886: # variable VAR accordingly.
                   1887: ac_fn_c_check_type ()
                   1888: {
                   1889:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1890:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1891: $as_echo_n "checking for $2... " >&6; }
1.57      bertrand 1892: if eval \${$3+:} false; then :
1.33      bertrand 1893:   $as_echo_n "(cached) " >&6
                   1894: else
                   1895:   eval "$3=no"
                   1896:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1897: /* end confdefs.h.  */
                   1898: $4
                   1899: int
                   1900: main ()
                   1901: {
                   1902: if (sizeof ($2))
                   1903:     return 0;
                   1904:   ;
                   1905:   return 0;
                   1906: }
                   1907: _ACEOF
                   1908: if ac_fn_c_try_compile "$LINENO"; then :
                   1909:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1910: /* end confdefs.h.  */
                   1911: $4
                   1912: int
                   1913: main ()
                   1914: {
                   1915: if (sizeof (($2)))
                   1916:        return 0;
                   1917:   ;
                   1918:   return 0;
                   1919: }
                   1920: _ACEOF
                   1921: if ac_fn_c_try_compile "$LINENO"; then :
                   1922: 
                   1923: else
                   1924:   eval "$3=yes"
                   1925: fi
                   1926: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1927: fi
                   1928: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1929: fi
                   1930: eval ac_res=\$$3
                   1931:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1932: $as_echo "$ac_res" >&6; }
1.57      bertrand 1933:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.33      bertrand 1934: 
                   1935: } # ac_fn_c_check_type
                   1936: 
1.15      bertrand 1937: # ac_fn_c_try_run LINENO
                   1938: # ----------------------
                   1939: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1940: # that executables *can* be run.
                   1941: ac_fn_c_try_run ()
                   1942: {
                   1943:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1944:   if { { ac_try="$ac_link"
                   1945: case "(($ac_try" in
                   1946:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1947:   *) ac_try_echo=$ac_try;;
                   1948: esac
                   1949: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1950: $as_echo "$ac_try_echo"; } >&5
                   1951:   (eval "$ac_link") 2>&5
                   1952:   ac_status=$?
                   1953:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1954:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1955:   { { case "(($ac_try" in
                   1956:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1957:   *) ac_try_echo=$ac_try;;
                   1958: esac
                   1959: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1960: $as_echo "$ac_try_echo"; } >&5
                   1961:   (eval "$ac_try") 2>&5
                   1962:   ac_status=$?
                   1963:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1964:   test $ac_status = 0; }; }; then :
                   1965:   ac_retval=0
                   1966: else
                   1967:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1968:        $as_echo "$as_me: failed program was:" >&5
                   1969: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1970: 
1.15      bertrand 1971:        ac_retval=$ac_status
                   1972: fi
                   1973:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.57      bertrand 1974:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1975:   as_fn_set_status $ac_retval
1.1       bertrand 1976: 
1.15      bertrand 1977: } # ac_fn_c_try_run
1.1       bertrand 1978: 
1.15      bertrand 1979: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
                   1980: # --------------------------------------------
                   1981: # Tries to find the compile-time value of EXPR in a program that includes
                   1982: # INCLUDES, setting VAR accordingly. Returns whether the value could be
                   1983: # computed
                   1984: ac_fn_c_compute_int ()
                   1985: {
                   1986:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1987:   if test "$cross_compiling" = yes; then
                   1988:     # Depending upon the size, compute the lo and hi bounds.
                   1989: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1990: /* end confdefs.h.  */
                   1991: $4
                   1992: int
                   1993: main ()
                   1994: {
                   1995: static int test_array [1 - 2 * !(($2) >= 0)];
                   1996: test_array [0] = 0
1.1       bertrand 1997: 
1.15      bertrand 1998:   ;
                   1999:   return 0;
                   2000: }
1.1       bertrand 2001: _ACEOF
1.15      bertrand 2002: if ac_fn_c_try_compile "$LINENO"; then :
                   2003:   ac_lo=0 ac_mid=0
                   2004:   while :; do
                   2005:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2006: /* end confdefs.h.  */
                   2007: $4
                   2008: int
                   2009: main ()
                   2010: {
                   2011: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
                   2012: test_array [0] = 0
1.1       bertrand 2013: 
1.15      bertrand 2014:   ;
                   2015:   return 0;
                   2016: }
                   2017: _ACEOF
                   2018: if ac_fn_c_try_compile "$LINENO"; then :
                   2019:   ac_hi=$ac_mid; break
                   2020: else
                   2021:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
                   2022:            if test $ac_lo -le $ac_mid; then
                   2023:              ac_lo= ac_hi=
                   2024:              break
                   2025:            fi
                   2026:            as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
                   2027: fi
                   2028: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2029:   done
                   2030: else
                   2031:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2032: /* end confdefs.h.  */
                   2033: $4
                   2034: int
                   2035: main ()
                   2036: {
                   2037: static int test_array [1 - 2 * !(($2) < 0)];
                   2038: test_array [0] = 0
1.1       bertrand 2039: 
1.15      bertrand 2040:   ;
                   2041:   return 0;
                   2042: }
1.1       bertrand 2043: _ACEOF
1.15      bertrand 2044: if ac_fn_c_try_compile "$LINENO"; then :
                   2045:   ac_hi=-1 ac_mid=-1
                   2046:   while :; do
                   2047:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2048: /* end confdefs.h.  */
                   2049: $4
                   2050: int
                   2051: main ()
                   2052: {
                   2053: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
                   2054: test_array [0] = 0
1.1       bertrand 2055: 
1.15      bertrand 2056:   ;
                   2057:   return 0;
                   2058: }
                   2059: _ACEOF
                   2060: if ac_fn_c_try_compile "$LINENO"; then :
                   2061:   ac_lo=$ac_mid; break
                   2062: else
                   2063:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
                   2064:            if test $ac_mid -le $ac_hi; then
                   2065:              ac_lo= ac_hi=
                   2066:              break
                   2067:            fi
                   2068:            as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
                   2069: fi
                   2070: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2071:   done
1.1       bertrand 2072: else
1.15      bertrand 2073:   ac_lo= ac_hi=
                   2074: fi
                   2075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 2076: fi
1.15      bertrand 2077: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2078: # Binary search between lo and hi bounds.
                   2079: while test "x$ac_lo" != "x$ac_hi"; do
                   2080:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
                   2081:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2082: /* end confdefs.h.  */
                   2083: $4
                   2084: int
                   2085: main ()
                   2086: {
                   2087: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
                   2088: test_array [0] = 0
1.1       bertrand 2089: 
1.15      bertrand 2090:   ;
                   2091:   return 0;
                   2092: }
                   2093: _ACEOF
                   2094: if ac_fn_c_try_compile "$LINENO"; then :
                   2095:   ac_hi=$ac_mid
1.1       bertrand 2096: else
1.15      bertrand 2097:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1.1       bertrand 2098: fi
1.15      bertrand 2099: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2100: done
                   2101: case $ac_lo in #((
                   2102: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
                   2103: '') ac_retval=1 ;;
                   2104: esac
                   2105:   else
                   2106:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2107: /* end confdefs.h.  */
                   2108: $4
                   2109: static long int longval () { return $2; }
                   2110: static unsigned long int ulongval () { return $2; }
                   2111: #include <stdio.h>
                   2112: #include <stdlib.h>
                   2113: int
                   2114: main ()
                   2115: {
1.1       bertrand 2116: 
1.15      bertrand 2117:   FILE *f = fopen ("conftest.val", "w");
                   2118:   if (! f)
                   2119:     return 1;
                   2120:   if (($2) < 0)
                   2121:     {
                   2122:       long int i = longval ();
                   2123:       if (i != ($2))
                   2124:    return 1;
                   2125:       fprintf (f, "%ld", i);
                   2126:     }
                   2127:   else
                   2128:     {
                   2129:       unsigned long int i = ulongval ();
                   2130:       if (i != ($2))
                   2131:    return 1;
                   2132:       fprintf (f, "%lu", i);
                   2133:     }
                   2134:   /* Do not output a trailing newline, as this causes \r\n confusion
                   2135:      on some platforms.  */
                   2136:   return ferror (f) || fclose (f) != 0;
                   2137: 
                   2138:   ;
                   2139:   return 0;
                   2140: }
                   2141: _ACEOF
                   2142: if ac_fn_c_try_run "$LINENO"; then :
                   2143:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
                   2144: else
                   2145:   ac_retval=1
1.14      bertrand 2146: fi
1.15      bertrand 2147: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   2148:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   2149: rm -f conftest.val
1.14      bertrand 2150: 
1.15      bertrand 2151:   fi
1.57      bertrand 2152:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 2153:   as_fn_set_status $ac_retval
1.14      bertrand 2154: 
1.15      bertrand 2155: } # ac_fn_c_compute_int
1.1       bertrand 2156: 
1.15      bertrand 2157: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   2158: # -------------------------------------------------------
                   2159: # Tests whether HEADER exists and can be compiled using the include files in
                   2160: # INCLUDES, setting the cache variable VAR accordingly.
                   2161: ac_fn_c_check_header_compile ()
                   2162: {
                   2163:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2164:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2165: $as_echo_n "checking for $2... " >&6; }
1.57      bertrand 2166: if eval \${$3+:} false; then :
1.15      bertrand 2167:   $as_echo_n "(cached) " >&6
                   2168: else
                   2169:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2170: /* end confdefs.h.  */
                   2171: $4
                   2172: #include <$2>
                   2173: _ACEOF
                   2174: if ac_fn_c_try_compile "$LINENO"; then :
                   2175:   eval "$3=yes"
                   2176: else
                   2177:   eval "$3=no"
                   2178: fi
                   2179: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2180: fi
                   2181: eval ac_res=\$$3
                   2182:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2183: $as_echo "$ac_res" >&6; }
1.57      bertrand 2184:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       bertrand 2185: 
1.15      bertrand 2186: } # ac_fn_c_check_header_compile
1.1       bertrand 2187: 
1.15      bertrand 2188: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2189: # -------------------------------------------------------
                   2190: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2191: # the include files in INCLUDES and setting the cache variable VAR
                   2192: # accordingly.
                   2193: ac_fn_c_check_header_mongrel ()
                   2194: {
                   2195:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.57      bertrand 2196:   if eval \${$3+:} false; then :
1.15      bertrand 2197:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2198: $as_echo_n "checking for $2... " >&6; }
1.57      bertrand 2199: if eval \${$3+:} false; then :
1.15      bertrand 2200:   $as_echo_n "(cached) " >&6
                   2201: fi
                   2202: eval ac_res=\$$3
                   2203:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2204: $as_echo "$ac_res" >&6; }
                   2205: else
                   2206:   # Is the header compilable?
                   2207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2208: $as_echo_n "checking $2 usability... " >&6; }
                   2209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2210: /* end confdefs.h.  */
                   2211: $4
                   2212: #include <$2>
                   2213: _ACEOF
                   2214: if ac_fn_c_try_compile "$LINENO"; then :
                   2215:   ac_header_compiler=yes
                   2216: else
                   2217:   ac_header_compiler=no
                   2218: fi
                   2219: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2221: $as_echo "$ac_header_compiler" >&6; }
1.1       bertrand 2222: 
1.15      bertrand 2223: # Is the header present?
                   2224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2225: $as_echo_n "checking $2 presence... " >&6; }
                   2226: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2227: /* end confdefs.h.  */
                   2228: #include <$2>
                   2229: _ACEOF
                   2230: if ac_fn_c_try_cpp "$LINENO"; then :
                   2231:   ac_header_preproc=yes
                   2232: else
                   2233:   ac_header_preproc=no
                   2234: fi
1.36      bertrand 2235: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      bertrand 2236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2237: $as_echo "$ac_header_preproc" >&6; }
1.1       bertrand 2238: 
1.15      bertrand 2239: # So?  What about this header?
                   2240: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2241:   yes:no: )
                   2242:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2243: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2244:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2245: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2246:     ;;
                   2247:   no:yes:* )
                   2248:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2249: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2250:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2251: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2252:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2253: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2254:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2255: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2256:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2257: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2258:     ;;
                   2259: esac
                   2260:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2261: $as_echo_n "checking for $2... " >&6; }
1.57      bertrand 2262: if eval \${$3+:} false; then :
1.15      bertrand 2263:   $as_echo_n "(cached) " >&6
                   2264: else
                   2265:   eval "$3=\$ac_header_compiler"
                   2266: fi
                   2267: eval ac_res=\$$3
                   2268:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2269: $as_echo "$ac_res" >&6; }
                   2270: fi
1.57      bertrand 2271:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       bertrand 2272: 
1.15      bertrand 2273: } # ac_fn_c_check_header_mongrel
                   2274: cat >config.log <<_ACEOF
                   2275: This file contains any messages produced by compilers while
                   2276: running configure, to aid debugging if configure makes a mistake.
1.1       bertrand 2277: 
1.67      bertrand 2278: It was created by rpl $as_me 4.1.1, which was
1.57      bertrand 2279: generated by GNU Autoconf 2.68.  Invocation command line was
1.1       bertrand 2280: 
1.15      bertrand 2281:   $ $0 $@
1.1       bertrand 2282: 
1.15      bertrand 2283: _ACEOF
                   2284: exec 5>>config.log
                   2285: {
                   2286: cat <<_ASUNAME
                   2287: ## --------- ##
                   2288: ## Platform. ##
                   2289: ## --------- ##
1.1       bertrand 2290: 
1.15      bertrand 2291: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2292: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2293: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2294: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2295: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.1       bertrand 2296: 
1.15      bertrand 2297: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2298: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.1       bertrand 2299: 
1.15      bertrand 2300: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2301: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2302: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2303: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2304: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2305: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2306: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1.1       bertrand 2307: 
1.15      bertrand 2308: _ASUNAME
1.1       bertrand 2309: 
1.15      bertrand 2310: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2311: for as_dir in $PATH
                   2312: do
                   2313:   IFS=$as_save_IFS
                   2314:   test -z "$as_dir" && as_dir=.
                   2315:     $as_echo "PATH: $as_dir"
                   2316:   done
                   2317: IFS=$as_save_IFS
1.1       bertrand 2318: 
1.15      bertrand 2319: } >&5
1.1       bertrand 2320: 
1.15      bertrand 2321: cat >&5 <<_ACEOF
1.1       bertrand 2322: 
                   2323: 
1.15      bertrand 2324: ## ----------- ##
                   2325: ## Core tests. ##
                   2326: ## ----------- ##
1.1       bertrand 2327: 
1.15      bertrand 2328: _ACEOF
1.1       bertrand 2329: 
                   2330: 
1.15      bertrand 2331: # Keep a trace of the command line.
                   2332: # Strip out --no-create and --no-recursion so they do not pile up.
                   2333: # Strip out --silent because we don't want to record it for future runs.
                   2334: # Also quote any args containing shell meta-characters.
                   2335: # Make two passes to allow for proper duplicate-argument suppression.
                   2336: ac_configure_args=
                   2337: ac_configure_args0=
                   2338: ac_configure_args1=
                   2339: ac_must_keep_next=false
                   2340: for ac_pass in 1 2
                   2341: do
                   2342:   for ac_arg
                   2343:   do
                   2344:     case $ac_arg in
                   2345:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2346:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2347:     | -silent | --silent | --silen | --sile | --sil)
                   2348:       continue ;;
                   2349:     *\'*)
                   2350:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2351:     esac
                   2352:     case $ac_pass in
                   2353:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2354:     2)
                   2355:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2356:       if test $ac_must_keep_next = true; then
                   2357:    ac_must_keep_next=false # Got value, back to normal.
                   2358:       else
                   2359:    case $ac_arg in
                   2360:      *=* | --config-cache | -C | -disable-* | --disable-* \
                   2361:      | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2362:      | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2363:      | -with-* | --with-* | -without-* | --without-* | --x)
                   2364:        case "$ac_configure_args0 " in
                   2365:          "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2366:        esac
                   2367:        ;;
                   2368:      -* ) ac_must_keep_next=true ;;
                   2369:    esac
                   2370:       fi
                   2371:       as_fn_append ac_configure_args " '$ac_arg'"
                   2372:       ;;
                   2373:     esac
                   2374:   done
                   2375: done
                   2376: { ac_configure_args0=; unset ac_configure_args0;}
                   2377: { ac_configure_args1=; unset ac_configure_args1;}
1.1       bertrand 2378: 
1.15      bertrand 2379: # When interrupted or exit'd, cleanup temporary files, and complete
                   2380: # config.log.  We remove comments because anyway the quotes in there
                   2381: # would cause problems or look ugly.
                   2382: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2383: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2384: trap 'exit_status=$?
                   2385:   # Save into config.log some information that might help in debugging.
                   2386:   {
                   2387:     echo
1.1       bertrand 2388: 
1.36      bertrand 2389:     $as_echo "## ---------------- ##
1.15      bertrand 2390: ## Cache variables. ##
1.36      bertrand 2391: ## ---------------- ##"
1.15      bertrand 2392:     echo
                   2393:     # The following way of writing the cache mishandles newlines in values,
                   2394: (
                   2395:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2396:     eval ac_val=\$$ac_var
                   2397:     case $ac_val in #(
                   2398:     *${as_nl}*)
                   2399:       case $ac_var in #(
                   2400:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2401: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2402:       esac
                   2403:       case $ac_var in #(
                   2404:       _ | IFS | as_nl) ;; #(
                   2405:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2406:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2407:       esac ;;
                   2408:     esac
                   2409:   done
                   2410:   (set) 2>&1 |
                   2411:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2412:     *${as_nl}ac_space=\ *)
                   2413:       sed -n \
                   2414:    "s/'\''/'\''\\\\'\'''\''/g;
                   2415:      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2416:       ;; #(
                   2417:     *)
                   2418:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2419:       ;;
                   2420:     esac |
                   2421:     sort
                   2422: )
                   2423:     echo
1.1       bertrand 2424: 
1.36      bertrand 2425:     $as_echo "## ----------------- ##
1.15      bertrand 2426: ## Output variables. ##
1.36      bertrand 2427: ## ----------------- ##"
1.15      bertrand 2428:     echo
                   2429:     for ac_var in $ac_subst_vars
                   2430:     do
                   2431:       eval ac_val=\$$ac_var
                   2432:       case $ac_val in
                   2433:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2434:       esac
                   2435:       $as_echo "$ac_var='\''$ac_val'\''"
                   2436:     done | sort
                   2437:     echo
1.1       bertrand 2438: 
1.15      bertrand 2439:     if test -n "$ac_subst_files"; then
1.36      bertrand 2440:       $as_echo "## ------------------- ##
1.15      bertrand 2441: ## File substitutions. ##
1.36      bertrand 2442: ## ------------------- ##"
1.15      bertrand 2443:       echo
                   2444:       for ac_var in $ac_subst_files
                   2445:       do
                   2446:    eval ac_val=\$$ac_var
                   2447:    case $ac_val in
                   2448:    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2449:    esac
                   2450:    $as_echo "$ac_var='\''$ac_val'\''"
                   2451:       done | sort
                   2452:       echo
1.14      bertrand 2453:     fi
                   2454: 
1.15      bertrand 2455:     if test -s confdefs.h; then
1.36      bertrand 2456:       $as_echo "## ----------- ##
1.15      bertrand 2457: ## confdefs.h. ##
1.36      bertrand 2458: ## ----------- ##"
1.15      bertrand 2459:       echo
                   2460:       cat confdefs.h
                   2461:       echo
                   2462:     fi
                   2463:     test "$ac_signal" != 0 &&
                   2464:       $as_echo "$as_me: caught signal $ac_signal"
                   2465:     $as_echo "$as_me: exit $exit_status"
                   2466:   } >&5
                   2467:   rm -f core *.core core.conftest.* &&
                   2468:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2469:     exit $exit_status
                   2470: ' 0
                   2471: for ac_signal in 1 2 13 15; do
                   2472:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2473: done
                   2474: ac_signal=0
1.14      bertrand 2475: 
1.15      bertrand 2476: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2477: rm -f -r conftest* confdefs.h
1.14      bertrand 2478: 
1.15      bertrand 2479: $as_echo "/* confdefs.h */" > confdefs.h
1.14      bertrand 2480: 
1.15      bertrand 2481: # Predefined preprocessor variables.
1.14      bertrand 2482: 
1.15      bertrand 2483: cat >>confdefs.h <<_ACEOF
                   2484: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2485: _ACEOF
1.14      bertrand 2486: 
1.15      bertrand 2487: cat >>confdefs.h <<_ACEOF
                   2488: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1.14      bertrand 2489: _ACEOF
                   2490: 
1.15      bertrand 2491: cat >>confdefs.h <<_ACEOF
                   2492: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2493: _ACEOF
1.14      bertrand 2494: 
1.15      bertrand 2495: cat >>confdefs.h <<_ACEOF
                   2496: #define PACKAGE_STRING "$PACKAGE_STRING"
1.14      bertrand 2497: _ACEOF
                   2498: 
1.15      bertrand 2499: cat >>confdefs.h <<_ACEOF
                   2500: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2501: _ACEOF
1.14      bertrand 2502: 
1.15      bertrand 2503: cat >>confdefs.h <<_ACEOF
                   2504: #define PACKAGE_URL "$PACKAGE_URL"
                   2505: _ACEOF
1.14      bertrand 2506: 
                   2507: 
1.15      bertrand 2508: # Let the site file select an alternate cache file if it wants to.
                   2509: # Prefer an explicitly selected file to automatically selected ones.
                   2510: ac_site_file1=NONE
                   2511: ac_site_file2=NONE
                   2512: if test -n "$CONFIG_SITE"; then
1.36      bertrand 2513:   # We do not want a PATH search for config.site.
                   2514:   case $CONFIG_SITE in #((
                   2515:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2516:     */*) ac_site_file1=$CONFIG_SITE;;
                   2517:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2518:   esac
1.15      bertrand 2519: elif test "x$prefix" != xNONE; then
                   2520:   ac_site_file1=$prefix/share/config.site
                   2521:   ac_site_file2=$prefix/etc/config.site
1.14      bertrand 2522: else
1.15      bertrand 2523:   ac_site_file1=$ac_default_prefix/share/config.site
                   2524:   ac_site_file2=$ac_default_prefix/etc/config.site
1.14      bertrand 2525: fi
1.15      bertrand 2526: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2527: do
                   2528:   test "x$ac_site_file" = xNONE && continue
                   2529:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2530:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2531: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2532:     sed 's/^/| /' "$ac_site_file" >&5
1.36      bertrand 2533:     . "$ac_site_file" \
                   2534:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2535: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2536: as_fn_error $? "failed to load site script $ac_site_file
1.57      bertrand 2537: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 2538:   fi
                   2539: done
1.14      bertrand 2540: 
1.15      bertrand 2541: if test -r "$cache_file"; then
                   2542:   # Some versions of bash will fail to source /dev/null (special files
                   2543:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2544:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2545:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2546: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2547:     case $cache_file in
                   2548:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2549:       *)                      . "./$cache_file";;
                   2550:     esac
                   2551:   fi
1.14      bertrand 2552: else
1.15      bertrand 2553:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2554: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2555:   >$cache_file
1.14      bertrand 2556: fi
                   2557: 
1.15      bertrand 2558: # Check that the precious variables saved in the cache have kept the same
                   2559: # value.
                   2560: ac_cache_corrupted=false
                   2561: for ac_var in $ac_precious_vars; do
                   2562:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2563:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2564:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2565:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2566:   case $ac_old_set,$ac_new_set in
                   2567:     set,)
                   2568:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2569: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2570:       ac_cache_corrupted=: ;;
                   2571:     ,set)
                   2572:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2573: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2574:       ac_cache_corrupted=: ;;
                   2575:     ,);;
                   2576:     *)
                   2577:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2578:    # differences in whitespace do not lead to failure.
                   2579:    ac_old_val_w=`echo x $ac_old_val`
                   2580:    ac_new_val_w=`echo x $ac_new_val`
                   2581:    if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2582:      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2583: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2584:      ac_cache_corrupted=:
                   2585:    else
                   2586:      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2587: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2588:      eval $ac_var=\$ac_old_val
                   2589:    fi
                   2590:    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2591: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2592:    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2593: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2594:       fi;;
                   2595:   esac
                   2596:   # Pass precious variables to config.status.
                   2597:   if test "$ac_new_set" = set; then
                   2598:     case $ac_new_val in
                   2599:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2600:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2601:     esac
                   2602:     case " $ac_configure_args " in
                   2603:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2604:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2605:     esac
1.14      bertrand 2606:   fi
                   2607: done
1.15      bertrand 2608: if $ac_cache_corrupted; then
                   2609:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2610: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2611:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2612: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.36      bertrand 2613:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1.15      bertrand 2614: fi
                   2615: ## -------------------- ##
                   2616: ## Main body of script. ##
                   2617: ## -------------------- ##
1.14      bertrand 2618: 
1.15      bertrand 2619: ac_ext=c
                   2620: ac_cpp='$CPP $CPPFLAGS'
                   2621: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2622: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2623: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.14      bertrand 2624: 
                   2625: 
1.15      bertrand 2626: ac_aux_dir=
                   2627: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.36      bertrand 2628:   if test -f "$ac_dir/install-sh"; then
                   2629:     ac_aux_dir=$ac_dir
                   2630:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2631:     break
                   2632:   elif test -f "$ac_dir/install.sh"; then
                   2633:     ac_aux_dir=$ac_dir
                   2634:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2635:     break
                   2636:   elif test -f "$ac_dir/shtool"; then
                   2637:     ac_aux_dir=$ac_dir
                   2638:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2639:     break
                   2640:   fi
1.14      bertrand 2641: done
1.15      bertrand 2642: if test -z "$ac_aux_dir"; then
1.36      bertrand 2643:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1.15      bertrand 2644: fi
1.14      bertrand 2645: 
1.15      bertrand 2646: # These three variables are undocumented and unsupported,
                   2647: # and are intended to be withdrawn in a future Autoconf release.
                   2648: # They can cause serious problems if a builder's source tree is in a directory
                   2649: # whose full name contains unusual characters.
                   2650: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2651: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2652: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1.14      bertrand 2653: 
                   2654: 
1.15      bertrand 2655: # Make sure we can run config.sub.
                   2656: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.36      bertrand 2657:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.14      bertrand 2658: 
1.15      bertrand 2659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2660: $as_echo_n "checking build system type... " >&6; }
1.57      bertrand 2661: if ${ac_cv_build+:} false; then :
1.15      bertrand 2662:   $as_echo_n "(cached) " >&6
1.14      bertrand 2663: else
1.15      bertrand 2664:   ac_build_alias=$build_alias
                   2665: test "x$ac_build_alias" = x &&
                   2666:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2667: test "x$ac_build_alias" = x &&
1.36      bertrand 2668:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.15      bertrand 2669: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.36      bertrand 2670:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.14      bertrand 2671: 
                   2672: fi
1.15      bertrand 2673: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2674: $as_echo "$ac_cv_build" >&6; }
                   2675: case $ac_cv_build in
                   2676: *-*-*) ;;
1.57      bertrand 2677: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.15      bertrand 2678: esac
                   2679: build=$ac_cv_build
                   2680: ac_save_IFS=$IFS; IFS='-'
                   2681: set x $ac_cv_build
                   2682: shift
                   2683: build_cpu=$1
                   2684: build_vendor=$2
                   2685: shift; shift
                   2686: # Remember, the first character of IFS is used to create $*,
                   2687: # except with old shells:
                   2688: build_os=$*
                   2689: IFS=$ac_save_IFS
                   2690: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.14      bertrand 2691: 
                   2692: 
1.15      bertrand 2693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2694: $as_echo_n "checking host system type... " >&6; }
1.57      bertrand 2695: if ${ac_cv_host+:} false; then :
1.15      bertrand 2696:   $as_echo_n "(cached) " >&6
1.14      bertrand 2697: else
1.15      bertrand 2698:   if test "x$host_alias" = x; then
                   2699:   ac_cv_host=$ac_cv_build
1.14      bertrand 2700: else
1.15      bertrand 2701:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.36      bertrand 2702:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.14      bertrand 2703: fi
                   2704: 
                   2705: fi
1.15      bertrand 2706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2707: $as_echo "$ac_cv_host" >&6; }
                   2708: case $ac_cv_host in
                   2709: *-*-*) ;;
1.57      bertrand 2710: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.15      bertrand 2711: esac
                   2712: host=$ac_cv_host
                   2713: ac_save_IFS=$IFS; IFS='-'
                   2714: set x $ac_cv_host
                   2715: shift
                   2716: host_cpu=$1
                   2717: host_vendor=$2
                   2718: shift; shift
                   2719: # Remember, the first character of IFS is used to create $*,
                   2720: # except with old shells:
                   2721: host_os=$*
                   2722: IFS=$ac_save_IFS
                   2723: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.14      bertrand 2724: 
                   2725: 
1.15      bertrand 2726: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   2727: $as_echo_n "checking target system type... " >&6; }
1.57      bertrand 2728: if ${ac_cv_target+:} false; then :
1.15      bertrand 2729:   $as_echo_n "(cached) " >&6
                   2730: else
                   2731:   if test "x$target_alias" = x; then
                   2732:   ac_cv_target=$ac_cv_host
1.14      bertrand 2733: else
1.15      bertrand 2734:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.36      bertrand 2735:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1.15      bertrand 2736: fi
1.14      bertrand 2737: 
                   2738: fi
1.15      bertrand 2739: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   2740: $as_echo "$ac_cv_target" >&6; }
                   2741: case $ac_cv_target in
                   2742: *-*-*) ;;
1.57      bertrand 2743: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1.15      bertrand 2744: esac
                   2745: target=$ac_cv_target
                   2746: ac_save_IFS=$IFS; IFS='-'
                   2747: set x $ac_cv_target
                   2748: shift
                   2749: target_cpu=$1
                   2750: target_vendor=$2
                   2751: shift; shift
                   2752: # Remember, the first character of IFS is used to create $*,
                   2753: # except with old shells:
                   2754: target_os=$*
                   2755: IFS=$ac_save_IFS
                   2756: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   2757: 
1.14      bertrand 2758: 
1.15      bertrand 2759: # The aliases save the names the user supplied, while $host etc.
                   2760: # will get canonicalized.
                   2761: test -n "$target_alias" &&
                   2762:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2763:     NONENONEs,x,x, &&
                   2764:   program_prefix=${target_alias}-
1.1       bertrand 2765: 
1.15      bertrand 2766: am__api_version='1.11'
1.1       bertrand 2767: 
1.14      bertrand 2768: # Find a good install program.  We prefer a C program (faster),
                   2769: # so one script is as good as another.  But avoid the broken or
                   2770: # incompatible versions:
                   2771: # SysV /etc/install, /usr/sbin/install
                   2772: # SunOS /usr/etc/install
                   2773: # IRIX /sbin/install
                   2774: # AIX /bin/install
                   2775: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2776: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2777: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2778: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2779: # OS/2's system install, which has a completely different semantic
                   2780: # ./install, which can be erroneously created by make from ./install.sh.
1.15      bertrand 2781: # Reject install programs that cannot install multiple files.
                   2782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2783: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.14      bertrand 2784: if test -z "$INSTALL"; then
1.57      bertrand 2785: if ${ac_cv_path_install+:} false; then :
1.15      bertrand 2786:   $as_echo_n "(cached) " >&6
1.14      bertrand 2787: else
                   2788:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2789: for as_dir in $PATH
                   2790: do
                   2791:   IFS=$as_save_IFS
                   2792:   test -z "$as_dir" && as_dir=.
1.15      bertrand 2793:     # Account for people who put trailing slashes in PATH elements.
                   2794: case $as_dir/ in #((
                   2795:   ./ | .// | /[cC]/* | \
1.14      bertrand 2796:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.15      bertrand 2797:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.14      bertrand 2798:   /usr/ucb/* ) ;;
                   2799:   *)
                   2800:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2801:     # Don't use installbsd from OSF since it installs stuff as root
                   2802:     # by default.
                   2803:     for ac_prog in ginstall scoinst install; do
                   2804:       for ac_exec_ext in '' $ac_executable_extensions; do
                   2805:    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   2806:      if test $ac_prog = install &&
                   2807:        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2808:        # AIX install.  It has an incompatible calling convention.
                   2809:        :
                   2810:      elif test $ac_prog = install &&
                   2811:        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2812:        # program-specific install script used by HP pwplus--don't use.
                   2813:        :
                   2814:      else
1.15      bertrand 2815:        rm -rf conftest.one conftest.two conftest.dir
                   2816:        echo one > conftest.one
                   2817:        echo two > conftest.two
                   2818:        mkdir conftest.dir
                   2819:        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2820:          test -s conftest.one && test -s conftest.two &&
                   2821:          test -s conftest.dir/conftest.one &&
                   2822:          test -s conftest.dir/conftest.two
                   2823:        then
                   2824:          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2825:          break 3
                   2826:        fi
1.14      bertrand 2827:      fi
                   2828:    fi
                   2829:       done
                   2830:     done
                   2831:     ;;
                   2832: esac
1.15      bertrand 2833: 
                   2834:   done
1.14      bertrand 2835: IFS=$as_save_IFS
1.1       bertrand 2836: 
1.15      bertrand 2837: rm -rf conftest.one conftest.two conftest.dir
1.1       bertrand 2838: 
1.14      bertrand 2839: fi
                   2840:   if test "${ac_cv_path_install+set}" = set; then
                   2841:     INSTALL=$ac_cv_path_install
                   2842:   else
                   2843:     # As a last resort, use the slow shell script.  Don't cache a
                   2844:     # value for INSTALL within a source directory, because that will
                   2845:     # break other packages using the cache if that directory is
                   2846:     # removed, or if the value is a relative name.
                   2847:     INSTALL=$ac_install_sh
                   2848:   fi
                   2849: fi
1.15      bertrand 2850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2851: $as_echo "$INSTALL" >&6; }
1.1       bertrand 2852: 
1.14      bertrand 2853: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2854: # It thinks the first close brace ends the variable substitution.
                   2855: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.1       bertrand 2856: 
1.14      bertrand 2857: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       bertrand 2858: 
1.14      bertrand 2859: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1       bertrand 2860: 
1.15      bertrand 2861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2862: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2863: # Just in case
                   2864: sleep 1
                   2865: echo timestamp > conftest.file
                   2866: # Reject unsafe characters in $srcdir or the absolute working directory
                   2867: # name.  Accept space and tab only in the latter.
                   2868: am_lf='
                   2869: '
                   2870: case `pwd` in
                   2871:   *[\\\"\#\$\&\'\`$am_lf]*)
1.57      bertrand 2872:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1.15      bertrand 2873: esac
                   2874: case $srcdir in
                   2875:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.57      bertrand 2876:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1.15      bertrand 2877: esac
                   2878: 
                   2879: # Do `set' in a subshell so we don't clobber the current shell's
                   2880: # arguments.  Must try -L first in case configure is actually a
                   2881: # symlink; some systems play weird games with the mod time of symlinks
                   2882: # (eg FreeBSD returns the mod time of the symlink's containing
                   2883: # directory).
                   2884: if (
                   2885:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2886:    if test "$*" = "X"; then
                   2887:       # -L didn't work.
                   2888:       set X `ls -t "$srcdir/configure" conftest.file`
                   2889:    fi
                   2890:    rm -f conftest.file
                   2891:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2892:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   2893: 
                   2894:       # If neither matched, then we have a broken ls.  This can happen
                   2895:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2896:       # broken ls alias from the environment.  This has actually
                   2897:       # happened.  Such a system could not be considered "sane".
1.36      bertrand 2898:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1.15      bertrand 2899: alias in your environment" "$LINENO" 5
                   2900:    fi
                   2901: 
                   2902:    test "$2" = conftest.file
                   2903:    )
                   2904: then
                   2905:    # Ok.
                   2906:    :
1.14      bertrand 2907: else
1.36      bertrand 2908:    as_fn_error $? "newly created file is older than distributed files!
1.15      bertrand 2909: Check your system clock" "$LINENO" 5
1.14      bertrand 2910: fi
1.15      bertrand 2911: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2912: $as_echo "yes" >&6; }
                   2913: test "$program_prefix" != NONE &&
                   2914:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2915: # Use a double $ so make ignores it.
                   2916: test "$program_suffix" != NONE &&
                   2917:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2918: # Double any \ or $.
                   2919: # By default was `s,x,x', remove it if useless.
                   2920: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2921: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2922: 
                   2923: # expand $ac_aux_dir to an absolute path
                   2924: am_aux_dir=`cd $ac_aux_dir && pwd`
1.1       bertrand 2925: 
1.15      bertrand 2926: if test x"${MISSING+set}" != xset; then
                   2927:   case $am_aux_dir in
                   2928:   *\ * | *\    *)
                   2929:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1.14      bertrand 2930:   *)
1.15      bertrand 2931:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2932:   esac
1.14      bertrand 2933: fi
1.15      bertrand 2934: # Use eval to expand $SHELL
                   2935: if eval "$MISSING --run true"; then
                   2936:   am_missing_run="$MISSING --run "
1.14      bertrand 2937: else
1.15      bertrand 2938:   am_missing_run=
                   2939:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2940: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   2941: fi
                   2942: 
                   2943: if test x"${install_sh}" != xset; then
                   2944:   case $am_aux_dir in
                   2945:   *\ * | *\    *)
                   2946:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2947:   *)
                   2948:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2949:   esac
1.14      bertrand 2950: fi
1.15      bertrand 2951: 
                   2952: # Installed binaries are usually stripped using `strip' when the user
                   2953: # run `make install-strip'.  However `strip' might not be the right
                   2954: # tool to use in cross-compilation environments, therefore Automake
                   2955: # will honor the `STRIP' environment variable to overrule this program.
                   2956: if test "$cross_compiling" != no; then
                   2957:   if test -n "$ac_tool_prefix"; then
                   2958:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2959: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2961: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 2962: if ${ac_cv_prog_STRIP+:} false; then :
1.15      bertrand 2963:   $as_echo_n "(cached) " >&6
1.14      bertrand 2964: else
1.15      bertrand 2965:   if test -n "$STRIP"; then
                   2966:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.14      bertrand 2967: else
                   2968: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2969: for as_dir in $PATH
                   2970: do
                   2971:   IFS=$as_save_IFS
                   2972:   test -z "$as_dir" && as_dir=.
1.15      bertrand 2973:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 2974:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 2975:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2976:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 2977:     break 2
                   2978:   fi
                   2979: done
1.15      bertrand 2980:   done
1.14      bertrand 2981: IFS=$as_save_IFS
1.1       bertrand 2982: 
1.14      bertrand 2983: fi
                   2984: fi
1.15      bertrand 2985: STRIP=$ac_cv_prog_STRIP
                   2986: if test -n "$STRIP"; then
                   2987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2988: $as_echo "$STRIP" >&6; }
1.14      bertrand 2989: else
1.15      bertrand 2990:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2991: $as_echo "no" >&6; }
1.14      bertrand 2992: fi
1.1       bertrand 2993: 
                   2994: 
1.14      bertrand 2995: fi
1.15      bertrand 2996: if test -z "$ac_cv_prog_STRIP"; then
                   2997:   ac_ct_STRIP=$STRIP
                   2998:   # Extract the first word of "strip", so it can be a program name with args.
                   2999: set dummy strip; ac_word=$2
                   3000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3001: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 3002: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.15      bertrand 3003:   $as_echo_n "(cached) " >&6
1.14      bertrand 3004: else
1.15      bertrand 3005:   if test -n "$ac_ct_STRIP"; then
                   3006:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       bertrand 3007: else
1.14      bertrand 3008: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3009: for as_dir in $PATH
1.1       bertrand 3010: do
1.14      bertrand 3011:   IFS=$as_save_IFS
                   3012:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3013:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 3014:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3015:     ac_cv_prog_ac_ct_STRIP="strip"
                   3016:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 3017:     break 2
1.1       bertrand 3018:   fi
                   3019: done
1.15      bertrand 3020:   done
1.14      bertrand 3021: IFS=$as_save_IFS
1.1       bertrand 3022: 
1.14      bertrand 3023: fi
                   3024: fi
1.15      bertrand 3025: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   3026: if test -n "$ac_ct_STRIP"; then
                   3027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   3028: $as_echo "$ac_ct_STRIP" >&6; }
1.1       bertrand 3029: else
1.15      bertrand 3030:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3031: $as_echo "no" >&6; }
1.1       bertrand 3032: fi
                   3033: 
1.15      bertrand 3034:   if test "x$ac_ct_STRIP" = x; then
                   3035:     STRIP=":"
1.14      bertrand 3036:   else
                   3037:     case $cross_compiling:$ac_tool_warned in
                   3038: yes:)
1.15      bertrand 3039: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3040: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.14      bertrand 3041: ac_tool_warned=yes ;;
                   3042: esac
1.15      bertrand 3043:     STRIP=$ac_ct_STRIP
1.1       bertrand 3044:   fi
1.14      bertrand 3045: else
1.15      bertrand 3046:   STRIP="$ac_cv_prog_STRIP"
1.1       bertrand 3047: fi
                   3048: 
1.15      bertrand 3049: fi
                   3050: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.1       bertrand 3051: 
1.15      bertrand 3052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   3053: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   3054: if test -z "$MKDIR_P"; then
1.57      bertrand 3055:   if ${ac_cv_path_mkdir+:} false; then :
1.15      bertrand 3056:   $as_echo_n "(cached) " >&6
1.14      bertrand 3057: else
1.15      bertrand 3058:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3059: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1.14      bertrand 3060: do
                   3061:   IFS=$as_save_IFS
                   3062:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3063:     for ac_prog in mkdir gmkdir; do
                   3064:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3065:       { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   3066:       case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3067:         'mkdir (GNU coreutils) '* | \
                   3068:         'mkdir (coreutils) '* | \
                   3069:         'mkdir (fileutils) '4.1*)
                   3070:           ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3071:           break 3;;
                   3072:       esac
                   3073:     done
                   3074:        done
                   3075:   done
1.14      bertrand 3076: IFS=$as_save_IFS
1.1       bertrand 3077: 
                   3078: fi
1.15      bertrand 3079: 
                   3080:   test -d ./--version && rmdir ./--version
                   3081:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3082:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3083:   else
                   3084:     # As a last resort, use the slow shell script.  Don't cache a
                   3085:     # value for MKDIR_P within a source directory, because that will
                   3086:     # break other packages using the cache if that directory is
                   3087:     # removed, or if the value is a relative name.
                   3088:     MKDIR_P="$ac_install_sh -d"
                   3089:   fi
1.14      bertrand 3090: fi
1.15      bertrand 3091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3092: $as_echo "$MKDIR_P" >&6; }
1.1       bertrand 3093: 
1.15      bertrand 3094: mkdir_p="$MKDIR_P"
                   3095: case $mkdir_p in
                   3096:   [\\/$]* | ?:[\\/]*) ;;
                   3097:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   3098: esac
1.1       bertrand 3099: 
1.15      bertrand 3100: for ac_prog in gawk mawk nawk awk
                   3101: do
                   3102:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3103: set dummy $ac_prog; ac_word=$2
                   3104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3105: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 3106: if ${ac_cv_prog_AWK+:} false; then :
1.15      bertrand 3107:   $as_echo_n "(cached) " >&6
1.1       bertrand 3108: else
1.15      bertrand 3109:   if test -n "$AWK"; then
                   3110:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1       bertrand 3111: else
1.14      bertrand 3112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3113: for as_dir in $PATH
                   3114: do
                   3115:   IFS=$as_save_IFS
                   3116:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3117:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 3118:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3119:     ac_cv_prog_AWK="$ac_prog"
                   3120:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 3121:     break 2
                   3122:   fi
                   3123: done
1.15      bertrand 3124:   done
1.14      bertrand 3125: IFS=$as_save_IFS
                   3126: 
                   3127: fi
1.1       bertrand 3128: fi
1.15      bertrand 3129: AWK=$ac_cv_prog_AWK
                   3130: if test -n "$AWK"; then
                   3131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3132: $as_echo "$AWK" >&6; }
1.14      bertrand 3133: else
1.15      bertrand 3134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3135: $as_echo "no" >&6; }
1.1       bertrand 3136: fi
                   3137: 
                   3138: 
1.15      bertrand 3139:   test -n "$AWK" && break
                   3140: done
1.1       bertrand 3141: 
1.15      bertrand 3142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3143: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3144: set x ${MAKE-make}
                   3145: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.57      bertrand 3146: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.15      bertrand 3147:   $as_echo_n "(cached) " >&6
1.14      bertrand 3148: else
1.15      bertrand 3149:   cat >conftest.make <<\_ACEOF
                   3150: SHELL = /bin/sh
                   3151: all:
                   3152:    @echo '@@@%%%=$(MAKE)=@@@%%%'
                   3153: _ACEOF
1.36      bertrand 3154: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.15      bertrand 3155: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3156:   *@@@%%%=?*=@@@%%%*)
                   3157:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3158:   *)
                   3159:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3160: esac
                   3161: rm -f conftest.make
                   3162: fi
                   3163: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3165: $as_echo "yes" >&6; }
                   3166:   SET_MAKE=
1.1       bertrand 3167: else
1.15      bertrand 3168:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3169: $as_echo "no" >&6; }
                   3170:   SET_MAKE="MAKE=${MAKE-make}"
                   3171: fi
1.1       bertrand 3172: 
1.15      bertrand 3173: rm -rf .tst 2>/dev/null
                   3174: mkdir .tst 2>/dev/null
                   3175: if test -d .tst; then
                   3176:   am__leading_dot=.
                   3177: else
                   3178:   am__leading_dot=_
1.14      bertrand 3179: fi
1.15      bertrand 3180: rmdir .tst 2>/dev/null
                   3181: 
                   3182: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3183:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3184:   # is not polluted with repeated "-I."
                   3185:   am__isrc=' -I$(srcdir)'
                   3186:   # test to see if srcdir already configured
                   3187:   if test -f $srcdir/config.status; then
1.36      bertrand 3188:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1.15      bertrand 3189:   fi
1.1       bertrand 3190: fi
1.15      bertrand 3191: 
                   3192: # test whether we have cygpath
                   3193: if test -z "$CYGPATH_W"; then
                   3194:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3195:     CYGPATH_W='cygpath -w'
                   3196:   else
                   3197:     CYGPATH_W=echo
                   3198:   fi
1.1       bertrand 3199: fi
                   3200: 
                   3201: 
1.15      bertrand 3202: # Define the identity of the package.
                   3203:  PACKAGE='rpl'
1.67      bertrand 3204:  VERSION='4.1.1'
1.15      bertrand 3205: 
                   3206: 
                   3207: cat >>confdefs.h <<_ACEOF
                   3208: #define PACKAGE "$PACKAGE"
                   3209: _ACEOF
                   3210: 
                   3211: 
                   3212: cat >>confdefs.h <<_ACEOF
                   3213: #define VERSION "$VERSION"
                   3214: _ACEOF
                   3215: 
                   3216: # Some tools Automake needs.
                   3217: 
                   3218: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3219: 
                   3220: 
                   3221: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3222: 
                   3223: 
                   3224: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3225: 
                   3226: 
                   3227: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3228: 
                   3229: 
                   3230: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   3231: 
                   3232: # We need awk for the "check" target.  The system "awk" is bad on
                   3233: # some platforms.
                   3234: # Always define AMTAR for backward compatibility.
                   3235: 
                   3236: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3237: 
                   3238: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3239: 
                   3240: 
                   3241: 
                   3242: 
1.1       bertrand 3243: 
                   3244: 
1.15      bertrand 3245: ac_config_headers="$ac_config_headers rplconfig.h"
1.1       bertrand 3246: 
                   3247: 
1.54      bertrand 3248: NCURSES=ncurses-5.9
1.50      bertrand 3249: READLINE=readline-6.2
1.30      bertrand 3250: UNITS=units-1.88
1.57      bertrand 3251: GSL=gsl-1.15
1.15      bertrand 3252: GPP=gpp-2.24
1.52      bertrand 3253: GNUPLOT=gnuplot-4.4.3
1.15      bertrand 3254: FILE=file-5.03
                   3255: ICONV=libiconv-1.13.1
1.69    ! bertrand 3256: SQLITE=sqlite-3.7.7.1
1.50      bertrand 3257: OPENSSL=openssl-1.0.0d
1.14      bertrand 3258: 
1.55      bertrand 3259: GMP=gmp-5.0.1
                   3260: MPFR=mpfr-3.0.1
1.56      bertrand 3261: NTL=ntl-5.5.2
                   3262: COCOA=CoCoALib-0.9943
                   3263: PARI=pari-2.3.5
1.67      bertrand 3264: GIAC=giac-0.9.3
1.55      bertrand 3265: 
1.15      bertrand 3266: ac_ext=c
                   3267: ac_cpp='$CPP $CPPFLAGS'
                   3268: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3269: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3270: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3271: if test -n "$ac_tool_prefix"; then
1.23      bertrand 3272:   for ac_prog in gcc
1.15      bertrand 3273:   do
                   3274:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3275: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3277: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 3278: if ${ac_cv_prog_CC+:} false; then :
1.15      bertrand 3279:   $as_echo_n "(cached) " >&6
1.1       bertrand 3280: else
1.15      bertrand 3281:   if test -n "$CC"; then
                   3282:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.1       bertrand 3283: else
                   3284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3285: for as_dir in $PATH
                   3286: do
                   3287:   IFS=$as_save_IFS
                   3288:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3289:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       bertrand 3290:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3291:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3292:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       bertrand 3293:     break 2
                   3294:   fi
                   3295: done
1.15      bertrand 3296:   done
1.1       bertrand 3297: IFS=$as_save_IFS
                   3298: 
                   3299: fi
                   3300: fi
1.15      bertrand 3301: CC=$ac_cv_prog_CC
                   3302: if test -n "$CC"; then
                   3303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3304: $as_echo "$CC" >&6; }
1.1       bertrand 3305: else
1.15      bertrand 3306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3307: $as_echo "no" >&6; }
1.1       bertrand 3308: fi
                   3309: 
                   3310: 
1.15      bertrand 3311:     test -n "$CC" && break
                   3312:   done
                   3313: fi
                   3314: if test -z "$CC"; then
                   3315:   ac_ct_CC=$CC
1.23      bertrand 3316:   for ac_prog in gcc
1.15      bertrand 3317: do
                   3318:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3319: set dummy $ac_prog; ac_word=$2
                   3320: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3321: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 3322: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.15      bertrand 3323:   $as_echo_n "(cached) " >&6
1.1       bertrand 3324: else
1.15      bertrand 3325:   if test -n "$ac_ct_CC"; then
                   3326:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       bertrand 3327: else
                   3328: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3329: for as_dir in $PATH
                   3330: do
                   3331:   IFS=$as_save_IFS
                   3332:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3333:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       bertrand 3334:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3335:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3336:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       bertrand 3337:     break 2
                   3338:   fi
                   3339: done
1.15      bertrand 3340:   done
1.1       bertrand 3341: IFS=$as_save_IFS
                   3342: 
                   3343: fi
                   3344: fi
1.15      bertrand 3345: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3346: if test -n "$ac_ct_CC"; then
                   3347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3348: $as_echo "$ac_ct_CC" >&6; }
1.1       bertrand 3349: else
1.15      bertrand 3350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3351: $as_echo "no" >&6; }
1.1       bertrand 3352: fi
                   3353: 
                   3354: 
1.15      bertrand 3355:   test -n "$ac_ct_CC" && break
                   3356: done
1.1       bertrand 3357: 
1.15      bertrand 3358:   if test "x$ac_ct_CC" = x; then
                   3359:     CC=""
                   3360:   else
                   3361:     case $cross_compiling:$ac_tool_warned in
                   3362: yes:)
                   3363: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3364: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3365: ac_tool_warned=yes ;;
                   3366: esac
                   3367:     CC=$ac_ct_CC
1.1       bertrand 3368:   fi
                   3369: fi
                   3370: 
                   3371: 
1.15      bertrand 3372: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3373: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3374: as_fn_error $? "no acceptable C compiler found in \$PATH
1.57      bertrand 3375: See \`config.log' for more details" "$LINENO" 5; }
1.1       bertrand 3376: 
1.15      bertrand 3377: # Provide some information about the compiler.
                   3378: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3379: set X $ac_compile
                   3380: ac_compiler=$2
                   3381: for ac_option in --version -v -V -qversion; do
                   3382:   { { ac_try="$ac_compiler $ac_option >&5"
                   3383: case "(($ac_try" in
                   3384:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3385:   *) ac_try_echo=$ac_try;;
                   3386: esac
                   3387: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3388: $as_echo "$ac_try_echo"; } >&5
                   3389:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3390:   ac_status=$?
                   3391:   if test -s conftest.err; then
                   3392:     sed '10a\
                   3393: ... rest of stderr output deleted ...
                   3394:          10q' conftest.err >conftest.er1
                   3395:     cat conftest.er1 >&5
1.1       bertrand 3396:   fi
1.15      bertrand 3397:   rm -f conftest.er1 conftest.err
                   3398:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3399:   test $ac_status = 0; }
1.1       bertrand 3400: done
                   3401: 
1.15      bertrand 3402: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3403: /* end confdefs.h.  */
                   3404: 
                   3405: int
                   3406: main ()
                   3407: {
1.14      bertrand 3408: 
1.15      bertrand 3409:   ;
                   3410:   return 0;
                   3411: }
                   3412: _ACEOF
                   3413: ac_clean_files_save=$ac_clean_files
                   3414: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3415: # Try to create an executable without -o first, disregard a.out.
                   3416: # It will help us diagnose broken compilers, and finding out an intuition
                   3417: # of exeext.
                   3418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3419: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3420: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.14      bertrand 3421: 
1.15      bertrand 3422: # The possible output files:
                   3423: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1.1       bertrand 3424: 
1.15      bertrand 3425: ac_rmfiles=
                   3426: for ac_file in $ac_files
1.1       bertrand 3427: do
1.15      bertrand 3428:   case $ac_file in
                   3429:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3430:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3431:   esac
1.1       bertrand 3432: done
1.15      bertrand 3433: rm -f $ac_rmfiles
                   3434: 
                   3435: if { { ac_try="$ac_link_default"
                   3436: case "(($ac_try" in
                   3437:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3438:   *) ac_try_echo=$ac_try;;
                   3439: esac
                   3440: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3441: $as_echo "$ac_try_echo"; } >&5
                   3442:   (eval "$ac_link_default") 2>&5
                   3443:   ac_status=$?
                   3444:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3445:   test $ac_status = 0; }; then :
                   3446:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3447: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3448: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3449: # so that the user can short-circuit this test for compilers unknown to
                   3450: # Autoconf.
                   3451: for ac_file in $ac_files ''
                   3452: do
                   3453:   test -f "$ac_file" || continue
                   3454:   case $ac_file in
                   3455:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3456:    ;;
                   3457:     [ab].out )
                   3458:    # We found the default executable, but exeext='' is most
                   3459:    # certainly right.
                   3460:    break;;
                   3461:     *.* )
                   3462:    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3463:    then :; else
                   3464:       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3465:    fi
                   3466:    # We set ac_cv_exeext here because the later test for it is not
                   3467:    # safe: cross compilers may not add the suffix if given an `-o'
                   3468:    # argument, so we may need to know it at that point already.
                   3469:    # Even if this section looks crufty: it has the advantage of
                   3470:    # actually working.
                   3471:    break;;
                   3472:     * )
                   3473:    break;;
                   3474:   esac
1.14      bertrand 3475: done
1.15      bertrand 3476: test "$ac_cv_exeext" = no && ac_cv_exeext=
1.1       bertrand 3477: 
1.14      bertrand 3478: else
1.15      bertrand 3479:   ac_file=''
1.1       bertrand 3480: fi
1.15      bertrand 3481: if test -z "$ac_file"; then :
                   3482:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3483: $as_echo "no" >&6; }
                   3484: $as_echo "$as_me: failed program was:" >&5
                   3485: sed 's/^/| /' conftest.$ac_ext >&5
                   3486: 
                   3487: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3488: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3489: as_fn_error 77 "C compiler cannot create executables
1.57      bertrand 3490: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 3491: else
                   3492:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3493: $as_echo "yes" >&6; }
                   3494: fi
                   3495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3496: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3498: $as_echo "$ac_file" >&6; }
                   3499: ac_exeext=$ac_cv_exeext
1.1       bertrand 3500: 
1.15      bertrand 3501: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3502: ac_clean_files=$ac_clean_files_save
                   3503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3504: $as_echo_n "checking for suffix of executables... " >&6; }
                   3505: if { { ac_try="$ac_link"
                   3506: case "(($ac_try" in
                   3507:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3508:   *) ac_try_echo=$ac_try;;
                   3509: esac
                   3510: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3511: $as_echo "$ac_try_echo"; } >&5
                   3512:   (eval "$ac_link") 2>&5
                   3513:   ac_status=$?
                   3514:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3515:   test $ac_status = 0; }; then :
                   3516:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3517: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3518: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3519: # `rm'.
                   3520: for ac_file in conftest.exe conftest conftest.*; do
                   3521:   test -f "$ac_file" || continue
                   3522:   case $ac_file in
                   3523:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3524:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3525:      break;;
                   3526:     * ) break;;
                   3527:   esac
                   3528: done
1.14      bertrand 3529: else
1.15      bertrand 3530:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3531: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3532: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.57      bertrand 3533: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 3534: fi
                   3535: rm -f conftest conftest$ac_cv_exeext
                   3536: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3537: $as_echo "$ac_cv_exeext" >&6; }
                   3538: 
                   3539: rm -f conftest.$ac_ext
                   3540: EXEEXT=$ac_cv_exeext
                   3541: ac_exeext=$EXEEXT
                   3542: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 3543: /* end confdefs.h.  */
1.15      bertrand 3544: #include <stdio.h>
1.14      bertrand 3545: int
                   3546: main ()
                   3547: {
1.15      bertrand 3548: FILE *f = fopen ("conftest.out", "w");
                   3549:  return ferror (f) || fclose (f) != 0;
                   3550: 
1.14      bertrand 3551:   ;
                   3552:   return 0;
                   3553: }
                   3554: _ACEOF
1.15      bertrand 3555: ac_clean_files="$ac_clean_files conftest.out"
                   3556: # Check that the compiler produces executables we can run.  If not, either
                   3557: # the compiler is broken, or we cross compile.
                   3558: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3559: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3560: if test "$cross_compiling" != yes; then
                   3561:   { { ac_try="$ac_link"
1.1       bertrand 3562: case "(($ac_try" in
                   3563:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3564:   *) ac_try_echo=$ac_try;;
                   3565: esac
1.15      bertrand 3566: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3567: $as_echo "$ac_try_echo"; } >&5
                   3568:   (eval "$ac_link") 2>&5
                   3569:   ac_status=$?
                   3570:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3571:   test $ac_status = 0; }
                   3572:   if { ac_try='./conftest$ac_cv_exeext'
                   3573:   { { case "(($ac_try" in
                   3574:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3575:   *) ac_try_echo=$ac_try;;
                   3576: esac
                   3577: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3578: $as_echo "$ac_try_echo"; } >&5
                   3579:   (eval "$ac_try") 2>&5
1.1       bertrand 3580:   ac_status=$?
1.15      bertrand 3581:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3582:   test $ac_status = 0; }; }; then
                   3583:     cross_compiling=no
                   3584:   else
                   3585:     if test "$cross_compiling" = maybe; then
                   3586:    cross_compiling=yes
                   3587:     else
                   3588:    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3589: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3590: as_fn_error $? "cannot run C compiled programs.
1.15      bertrand 3591: If you meant to cross compile, use \`--host'.
1.57      bertrand 3592: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 3593:     fi
                   3594:   fi
1.14      bertrand 3595: fi
1.15      bertrand 3596: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3597: $as_echo "$cross_compiling" >&6; }
1.14      bertrand 3598: 
1.15      bertrand 3599: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3600: ac_clean_files=$ac_clean_files_save
                   3601: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3602: $as_echo_n "checking for suffix of object files... " >&6; }
1.57      bertrand 3603: if ${ac_cv_objext+:} false; then :
1.15      bertrand 3604:   $as_echo_n "(cached) " >&6
1.14      bertrand 3605: else
1.15      bertrand 3606:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 3607: /* end confdefs.h.  */
                   3608: 
                   3609: int
                   3610: main ()
                   3611: {
1.15      bertrand 3612: 
1.1       bertrand 3613:   ;
                   3614:   return 0;
                   3615: }
                   3616: _ACEOF
1.15      bertrand 3617: rm -f conftest.o conftest.obj
                   3618: if { { ac_try="$ac_compile"
1.1       bertrand 3619: case "(($ac_try" in
                   3620:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3621:   *) ac_try_echo=$ac_try;;
                   3622: esac
1.15      bertrand 3623: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3624: $as_echo "$ac_try_echo"; } >&5
                   3625:   (eval "$ac_compile") 2>&5
1.1       bertrand 3626:   ac_status=$?
1.15      bertrand 3627:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3628:   test $ac_status = 0; }; then :
                   3629:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3630:   test -f "$ac_file" || continue;
                   3631:   case $ac_file in
                   3632:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3633:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3634:        break;;
                   3635:   esac
                   3636: done
1.14      bertrand 3637: else
1.15      bertrand 3638:   $as_echo "$as_me: failed program was:" >&5
1.14      bertrand 3639: sed 's/^/| /' conftest.$ac_ext >&5
                   3640: 
1.15      bertrand 3641: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3642: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3643: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.57      bertrand 3644: See \`config.log' for more details" "$LINENO" 5; }
1.14      bertrand 3645: fi
1.15      bertrand 3646: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3647: fi
                   3648: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3649: $as_echo "$ac_cv_objext" >&6; }
                   3650: OBJEXT=$ac_cv_objext
                   3651: ac_objext=$OBJEXT
                   3652: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3653: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.57      bertrand 3654: if ${ac_cv_c_compiler_gnu+:} false; then :
1.15      bertrand 3655:   $as_echo_n "(cached) " >&6
                   3656: else
                   3657:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3658: /* end confdefs.h.  */
                   3659: 
                   3660: int
                   3661: main ()
                   3662: {
                   3663: #ifndef __GNUC__
                   3664:        choke me
                   3665: #endif
1.14      bertrand 3666: 
1.15      bertrand 3667:   ;
                   3668:   return 0;
                   3669: }
                   3670: _ACEOF
                   3671: if ac_fn_c_try_compile "$LINENO"; then :
                   3672:   ac_compiler_gnu=yes
1.14      bertrand 3673: else
1.15      bertrand 3674:   ac_compiler_gnu=no
1.14      bertrand 3675: fi
1.15      bertrand 3676: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3677: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.14      bertrand 3678: 
1.15      bertrand 3679: fi
                   3680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3681: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3682: if test $ac_compiler_gnu = yes; then
                   3683:   GCC=yes
1.14      bertrand 3684: else
1.15      bertrand 3685:   GCC=
1.14      bertrand 3686: fi
1.15      bertrand 3687: ac_test_CFLAGS=${CFLAGS+set}
                   3688: ac_save_CFLAGS=$CFLAGS
                   3689: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3690: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.57      bertrand 3691: if ${ac_cv_prog_cc_g+:} false; then :
1.15      bertrand 3692:   $as_echo_n "(cached) " >&6
                   3693: else
                   3694:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3695:    ac_c_werror_flag=yes
                   3696:    ac_cv_prog_cc_g=no
                   3697:    CFLAGS="-g"
                   3698:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3699: /* end confdefs.h.  */
1.14      bertrand 3700: 
1.15      bertrand 3701: int
                   3702: main ()
                   3703: {
1.14      bertrand 3704: 
1.15      bertrand 3705:   ;
                   3706:   return 0;
                   3707: }
                   3708: _ACEOF
                   3709: if ac_fn_c_try_compile "$LINENO"; then :
                   3710:   ac_cv_prog_cc_g=yes
                   3711: else
                   3712:   CFLAGS=""
                   3713:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3714: /* end confdefs.h.  */
1.14      bertrand 3715: 
1.15      bertrand 3716: int
                   3717: main ()
                   3718: {
1.14      bertrand 3719: 
1.15      bertrand 3720:   ;
                   3721:   return 0;
                   3722: }
                   3723: _ACEOF
                   3724: if ac_fn_c_try_compile "$LINENO"; then :
1.14      bertrand 3725: 
1.15      bertrand 3726: else
                   3727:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3728:     CFLAGS="-g"
                   3729:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3730: /* end confdefs.h.  */
1.14      bertrand 3731: 
1.15      bertrand 3732: int
                   3733: main ()
                   3734: {
1.14      bertrand 3735: 
1.15      bertrand 3736:   ;
                   3737:   return 0;
                   3738: }
                   3739: _ACEOF
                   3740: if ac_fn_c_try_compile "$LINENO"; then :
                   3741:   ac_cv_prog_cc_g=yes
                   3742: fi
                   3743: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3744: fi
                   3745: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3746: fi
                   3747: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3748:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3749: fi
                   3750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3751: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3752: if test "$ac_test_CFLAGS" = set; then
                   3753:   CFLAGS=$ac_save_CFLAGS
                   3754: elif test $ac_cv_prog_cc_g = yes; then
                   3755:   if test "$GCC" = yes; then
                   3756:     CFLAGS="-g -O2"
                   3757:   else
                   3758:     CFLAGS="-g"
                   3759:   fi
                   3760: else
                   3761:   if test "$GCC" = yes; then
                   3762:     CFLAGS="-O2"
                   3763:   else
                   3764:     CFLAGS=
                   3765:   fi
                   3766: fi
                   3767: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3768: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.57      bertrand 3769: if ${ac_cv_prog_cc_c89+:} false; then :
1.15      bertrand 3770:   $as_echo_n "(cached) " >&6
1.1       bertrand 3771: else
1.15      bertrand 3772:   ac_cv_prog_cc_c89=no
                   3773: ac_save_CC=$CC
                   3774: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 3775: /* end confdefs.h.  */
1.15      bertrand 3776: #include <stdarg.h>
                   3777: #include <stdio.h>
                   3778: #include <sys/types.h>
                   3779: #include <sys/stat.h>
                   3780: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3781: struct buf { int x; };
                   3782: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3783: static char *e (p, i)
                   3784:      char **p;
                   3785:      int i;
                   3786: {
                   3787:   return p[i];
                   3788: }
                   3789: static char *f (char * (*g) (char **, int), char **p, ...)
                   3790: {
                   3791:   char *s;
                   3792:   va_list v;
                   3793:   va_start (v,p);
                   3794:   s = g (p, va_arg (v,int));
                   3795:   va_end (v);
                   3796:   return s;
                   3797: }
                   3798: 
                   3799: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3800:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3801:    These don't provoke an error unfortunately, instead are silently treated
                   3802:    as 'x'.  The following induces an error, until -std is added to get
                   3803:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3804:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3805:    that's true only with -std.  */
                   3806: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.14      bertrand 3807: 
1.15      bertrand 3808: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3809:    inside strings and character constants.  */
                   3810: #define FOO(x) 'x'
                   3811: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.1       bertrand 3812: 
1.15      bertrand 3813: int test (int i, double x);
                   3814: struct s1 {int (*f) (int a);};
                   3815: struct s2 {int (*f) (double a);};
                   3816: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3817: int argc;
                   3818: char **argv;
1.14      bertrand 3819: int
                   3820: main ()
                   3821: {
1.15      bertrand 3822: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1.14      bertrand 3823:   ;
                   3824:   return 0;
                   3825: }
                   3826: _ACEOF
1.15      bertrand 3827: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3828:    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3829: do
                   3830:   CC="$ac_save_CC $ac_arg"
                   3831:   if ac_fn_c_try_compile "$LINENO"; then :
                   3832:   ac_cv_prog_cc_c89=$ac_arg
                   3833: fi
                   3834: rm -f core conftest.err conftest.$ac_objext
                   3835:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3836: done
                   3837: rm -f conftest.$ac_ext
                   3838: CC=$ac_save_CC
                   3839: 
                   3840: fi
                   3841: # AC_CACHE_VAL
                   3842: case "x$ac_cv_prog_cc_c89" in
                   3843:   x)
                   3844:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3845: $as_echo "none needed" >&6; } ;;
                   3846:   xno)
                   3847:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3848: $as_echo "unsupported" >&6; } ;;
                   3849:   *)
                   3850:     CC="$CC $ac_cv_prog_cc_c89"
                   3851:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3852: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1       bertrand 3853: esac
1.15      bertrand 3854: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.14      bertrand 3855: 
                   3856: fi
                   3857: 
1.15      bertrand 3858: ac_ext=c
                   3859: ac_cpp='$CPP $CPPFLAGS'
                   3860: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3861: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3862: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3863: DEPDIR="${am__leading_dot}deps"
                   3864: 
                   3865: ac_config_commands="$ac_config_commands depfiles"
                   3866: 
                   3867: 
                   3868: am_make=${MAKE-make}
                   3869: cat > confinc << 'END'
                   3870: am__doit:
                   3871:    @echo this is the am__doit target
                   3872: .PHONY: am__doit
                   3873: END
                   3874: # If we don't find an include directive, just comment out the code.
                   3875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3876: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3877: am__include="#"
                   3878: am__quote=
                   3879: _am_result=none
                   3880: # First try GNU make style include.
                   3881: echo "include confinc" > confmf
                   3882: # Ignore all kinds of additional output from `make'.
                   3883: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3884: *the\ am__doit\ target*)
                   3885:   am__include=include
                   3886:   am__quote=
                   3887:   _am_result=GNU
                   3888:   ;;
                   3889: esac
                   3890: # Now try BSD make style include.
                   3891: if test "$am__include" = "#"; then
                   3892:    echo '.include "confinc"' > confmf
                   3893:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3894:    *the\ am__doit\ target*)
                   3895:      am__include=.include
                   3896:      am__quote="\""
                   3897:      _am_result=BSD
                   3898:      ;;
                   3899:    esac
1.14      bertrand 3900: fi
                   3901: 
                   3902: 
1.15      bertrand 3903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3904: $as_echo "$_am_result" >&6; }
                   3905: rm -f confinc confmf
                   3906: 
                   3907: # Check whether --enable-dependency-tracking was given.
                   3908: if test "${enable_dependency_tracking+set}" = set; then :
                   3909:   enableval=$enable_dependency_tracking;
                   3910: fi
                   3911: 
                   3912: if test "x$enable_dependency_tracking" != xno; then
                   3913:   am_depcomp="$ac_aux_dir/depcomp"
                   3914:   AMDEPBACKSLASH='\'
                   3915: fi
                   3916:  if test "x$enable_dependency_tracking" != xno; then
                   3917:   AMDEP_TRUE=
                   3918:   AMDEP_FALSE='#'
1.1       bertrand 3919: else
1.15      bertrand 3920:   AMDEP_TRUE='#'
                   3921:   AMDEP_FALSE=
1.14      bertrand 3922: fi
1.1       bertrand 3923: 
1.14      bertrand 3924: 
                   3925: 
1.15      bertrand 3926: depcc="$CC"   am_compiler_list=
1.14      bertrand 3927: 
1.15      bertrand 3928: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3929: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.57      bertrand 3930: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
1.15      bertrand 3931:   $as_echo_n "(cached) " >&6
1.14      bertrand 3932: else
1.15      bertrand 3933:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3934:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3935:   # making bogus files that we don't know about and never remove.  For
                   3936:   # instance it was reported that on HP-UX the gcc test will end up
                   3937:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3938:   # in D'.
                   3939:   mkdir conftest.dir
                   3940:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3941:   # using a relative directory.
                   3942:   cp "$am_depcomp" conftest.dir
                   3943:   cd conftest.dir
                   3944:   # We will build objects and dependencies in a subdirectory because
                   3945:   # it helps to detect inapplicable dependency modes.  For instance
                   3946:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3947:   # side effect of compilation, but ICC will put the dependencies in
                   3948:   # the current directory while Tru64 will put them in the object
                   3949:   # directory.
                   3950:   mkdir sub
1.14      bertrand 3951: 
1.15      bertrand 3952:   am_cv_CC_dependencies_compiler_type=none
                   3953:   if test "$am_compiler_list" = ""; then
                   3954:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3955:   fi
                   3956:   am__universal=false
                   3957:   case " $depcc " in #(
                   3958:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3959:      esac
1.14      bertrand 3960: 
1.15      bertrand 3961:   for depmode in $am_compiler_list; do
                   3962:     # Setup a source with many dependencies, because some compilers
                   3963:     # like to wrap large dependency lists on column 80 (with \), and
                   3964:     # we should not choose a depcomp mode which is confused by this.
                   3965:     #
                   3966:     # We need to recreate these files for each test, as the compiler may
                   3967:     # overwrite some of them when testing with obscure command lines.
                   3968:     # This happens at least with the AIX C compiler.
                   3969:     : > sub/conftest.c
                   3970:     for i in 1 2 3 4 5 6; do
                   3971:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3972:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3973:       # Solaris 8's {/usr,}/bin/sh.
                   3974:       touch sub/conftst$i.h
                   3975:     done
                   3976:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.14      bertrand 3977: 
1.15      bertrand 3978:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3979:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3980:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3981:     # versions had trouble with output in subdirs
                   3982:     am__obj=sub/conftest.${OBJEXT-o}
                   3983:     am__minus_obj="-o $am__obj"
                   3984:     case $depmode in
                   3985:     gcc)
                   3986:       # This depmode causes a compiler race in universal mode.
                   3987:       test "$am__universal" = false || continue
                   3988:       ;;
                   3989:     nosideeffect)
                   3990:       # after this tag, mechanisms are not by side-effect, so they'll
                   3991:       # only be used when explicitly requested
                   3992:       if test "x$enable_dependency_tracking" = xyes; then
                   3993:    continue
                   3994:       else
                   3995:    break
                   3996:       fi
                   3997:       ;;
                   3998:     msvisualcpp | msvcmsys)
                   3999:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4000:       # not run yet.  These depmodes are late enough in the game, and
                   4001:       # so weak that their functioning should not be impacted.
                   4002:       am__obj=conftest.${OBJEXT-o}
                   4003:       am__minus_obj=
                   4004:       ;;
                   4005:     none) break ;;
                   4006:     esac
                   4007:     if depmode=$depmode \
                   4008:        source=sub/conftest.c object=$am__obj \
                   4009:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4010:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4011:          >/dev/null 2>conftest.err &&
                   4012:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4013:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4014:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4015:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4016:       # icc doesn't choke on unknown options, it will just issue warnings
                   4017:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4018:       # that says an option was ignored or not supported.
                   4019:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4020:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4021:       # The diagnosis changed in icc 8.0:
                   4022:       #   icc: Command line remark: option '-MP' not supported
                   4023:       if (grep 'ignoring option' conftest.err ||
                   4024:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4025:         am_cv_CC_dependencies_compiler_type=$depmode
                   4026:         break
                   4027:       fi
                   4028:     fi
                   4029:   done
1.14      bertrand 4030: 
1.15      bertrand 4031:   cd ..
                   4032:   rm -rf conftest.dir
1.14      bertrand 4033: else
1.15      bertrand 4034:   am_cv_CC_dependencies_compiler_type=none
1.1       bertrand 4035: fi
                   4036: 
1.15      bertrand 4037: fi
                   4038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4039: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4040: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.14      bertrand 4041: 
1.15      bertrand 4042:  if
                   4043:   test "x$enable_dependency_tracking" != xno \
                   4044:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4045:   am__fastdepCC_TRUE=
                   4046:   am__fastdepCC_FALSE='#'
1.1       bertrand 4047: else
1.15      bertrand 4048:   am__fastdepCC_TRUE='#'
                   4049:   am__fastdepCC_FALSE=
                   4050: fi
                   4051: 
1.1       bertrand 4052: 
                   4053: 
1.30      bertrand 4054: EXT_SQL=
                   4055: 
1.15      bertrand 4056: if test x"$CC" != x""; then
                   4057:    GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   4058:            awk -F. '{ printf("%s", $1);}'`
                   4059:    GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   4060:            awk -F. '{ printf("%s", $2);}'`
1.23      bertrand 4061:    if test $GCC_VERSION_MAJEURE -ge 5; then
1.15      bertrand 4062:        OPTIMISATION_C=-O3
                   4063:    else
1.23      bertrand 4064:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
                   4065:                then
1.15      bertrand 4066:            OPTIMISATION_C=-O3
                   4067:        else
1.23      bertrand 4068:            if test $GCC_VERSION_MAJEURE -ge 2; then
                   4069:                OPTIMISATION_C=-O2
                   4070:            else
1.36      bertrand 4071:                as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
1.23      bertrand 4072:            fi
1.15      bertrand 4073:        fi
                   4074:    fi
1.14      bertrand 4075: fi
                   4076: 
1.15      bertrand 4077: if test "x$CC" != xcc; then
                   4078:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
                   4079: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
1.14      bertrand 4080: else
1.15      bertrand 4081:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
                   4082: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
1.1       bertrand 4083: fi
1.15      bertrand 4084: set dummy $CC; ac_cc=`$as_echo "$2" |
                   4085:              sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
1.57      bertrand 4086: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
1.15      bertrand 4087:   $as_echo_n "(cached) " >&6
1.1       bertrand 4088: else
1.15      bertrand 4089:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 4090: /* end confdefs.h.  */
                   4091: 
                   4092: int
                   4093: main ()
                   4094: {
1.15      bertrand 4095: 
1.1       bertrand 4096:   ;
                   4097:   return 0;
                   4098: }
                   4099: _ACEOF
1.15      bertrand 4100: # Make sure it works both with $CC and with simple cc.
                   4101: # We do the test twice because some compilers refuse to overwrite an
                   4102: # existing .o file with -o, though they will create one.
                   4103: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   4104: rm -f conftest2.*
                   4105: if { { case "(($ac_try" in
                   4106:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4107:   *) ac_try_echo=$ac_try;;
                   4108: esac
                   4109: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4110: $as_echo "$ac_try_echo"; } >&5
                   4111:   (eval "$ac_try") 2>&5
                   4112:   ac_status=$?
                   4113:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4114:   test $ac_status = 0; } &&
                   4115:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
                   4116:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4117:   *) ac_try_echo=$ac_try;;
                   4118: esac
                   4119: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4120: $as_echo "$ac_try_echo"; } >&5
                   4121:   (eval "$ac_try") 2>&5
                   4122:   ac_status=$?
                   4123:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4124:   test $ac_status = 0; };
                   4125: then
                   4126:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
                   4127:   if test "x$CC" != xcc; then
                   4128:     # Test first that cc exists at all.
                   4129:     if { ac_try='cc -c conftest.$ac_ext >&5'
                   4130:   { { case "(($ac_try" in
                   4131:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4132:   *) ac_try_echo=$ac_try;;
                   4133: esac
                   4134: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4135: $as_echo "$ac_try_echo"; } >&5
                   4136:   (eval "$ac_try") 2>&5
                   4137:   ac_status=$?
                   4138:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4139:   test $ac_status = 0; }; }; then
                   4140:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   4141:       rm -f conftest2.*
                   4142:       if { { case "(($ac_try" in
                   4143:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4144:   *) ac_try_echo=$ac_try;;
                   4145: esac
                   4146: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4147: $as_echo "$ac_try_echo"; } >&5
                   4148:   (eval "$ac_try") 2>&5
                   4149:   ac_status=$?
                   4150:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4151:   test $ac_status = 0; } &&
                   4152:     test -f conftest2.$ac_objext && { { case "(($ac_try" in
1.14      bertrand 4153:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4154:   *) ac_try_echo=$ac_try;;
                   4155: esac
1.15      bertrand 4156: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4157: $as_echo "$ac_try_echo"; } >&5
                   4158:   (eval "$ac_try") 2>&5
1.14      bertrand 4159:   ac_status=$?
1.15      bertrand 4160:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4161:   test $ac_status = 0; };
                   4162:       then
                   4163:    # cc works too.
                   4164:    :
                   4165:       else
                   4166:    # cc exists but doesn't like -o.
                   4167:    eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   4168:       fi
                   4169:     fi
                   4170:   fi
1.1       bertrand 4171: else
1.15      bertrand 4172:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   4173: fi
                   4174: rm -f core conftest*
1.14      bertrand 4175: 
1.1       bertrand 4176: fi
1.15      bertrand 4177: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
                   4178:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4179: $as_echo "yes" >&6; }
                   4180: else
                   4181:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4182: $as_echo "no" >&6; }
                   4183: 
                   4184: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
1.1       bertrand 4185: 
                   4186: fi
1.15      bertrand 4187: 
                   4188: # FIXME: we rely on the cache variable name because
                   4189: # there is no other way.
                   4190: set dummy $CC
                   4191: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
                   4192: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
                   4193: if test "$am_t" != yes; then
                   4194:    # Losing compiler, so override with the script.
                   4195:    # FIXME: It is wrong to rewrite CC.
                   4196:    # But if we don't then we get into trouble of one sort or another.
                   4197:    # A longer-term fix would be to have automake use am__CC in this case,
                   4198:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4199:    CC="$am_aux_dir/compile $CC"
1.1       bertrand 4200: fi
1.14      bertrand 4201: 
                   4202: 
1.15      bertrand 4203: 
                   4204: if test "$GCC" != yes; then
1.36      bertrand 4205:    as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
1.15      bertrand 4206: fi
                   4207: 
                   4208: ac_ext=cpp
                   4209: ac_cpp='$CXXCPP $CPPFLAGS'
                   4210: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4211: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4212: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   4213: if test -z "$CXX"; then
                   4214:   if test -n "$CCC"; then
                   4215:     CXX=$CCC
                   4216:   else
                   4217:     if test -n "$ac_tool_prefix"; then
1.23      bertrand 4218:   for ac_prog in g++
1.15      bertrand 4219:   do
                   4220:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4221: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4222: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4223: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 4224: if ${ac_cv_prog_CXX+:} false; then :
1.15      bertrand 4225:   $as_echo_n "(cached) " >&6
1.1       bertrand 4226: else
1.15      bertrand 4227:   if test -n "$CXX"; then
                   4228:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.14      bertrand 4229: else
1.15      bertrand 4230: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4231: for as_dir in $PATH
                   4232: do
                   4233:   IFS=$as_save_IFS
                   4234:   test -z "$as_dir" && as_dir=.
                   4235:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4236:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4237:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   4238:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4239:     break 2
                   4240:   fi
                   4241: done
                   4242:   done
                   4243: IFS=$as_save_IFS
1.14      bertrand 4244: 
                   4245: fi
                   4246: fi
1.15      bertrand 4247: CXX=$ac_cv_prog_CXX
                   4248: if test -n "$CXX"; then
                   4249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   4250: $as_echo "$CXX" >&6; }
1.14      bertrand 4251: else
1.15      bertrand 4252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4253: $as_echo "no" >&6; }
1.14      bertrand 4254: fi
                   4255: 
                   4256: 
1.15      bertrand 4257:     test -n "$CXX" && break
                   4258:   done
                   4259: fi
                   4260: if test -z "$CXX"; then
                   4261:   ac_ct_CXX=$CXX
1.23      bertrand 4262:   for ac_prog in g++
1.15      bertrand 4263: do
                   4264:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4265: set dummy $ac_prog; ac_word=$2
                   4266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4267: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 4268: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
1.15      bertrand 4269:   $as_echo_n "(cached) " >&6
                   4270: else
                   4271:   if test -n "$ac_ct_CXX"; then
                   4272:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   4273: else
                   4274: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4275: for as_dir in $PATH
                   4276: do
                   4277:   IFS=$as_save_IFS
                   4278:   test -z "$as_dir" && as_dir=.
                   4279:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4280:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4281:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   4282:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4283:     break 2
                   4284:   fi
                   4285: done
                   4286:   done
                   4287: IFS=$as_save_IFS
1.14      bertrand 4288: 
1.15      bertrand 4289: fi
                   4290: fi
                   4291: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   4292: if test -n "$ac_ct_CXX"; then
                   4293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   4294: $as_echo "$ac_ct_CXX" >&6; }
1.1       bertrand 4295: else
1.15      bertrand 4296:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4297: $as_echo "no" >&6; }
1.14      bertrand 4298: fi
                   4299: 
                   4300: 
1.15      bertrand 4301:   test -n "$ac_ct_CXX" && break
                   4302: done
1.14      bertrand 4303: 
1.15      bertrand 4304:   if test "x$ac_ct_CXX" = x; then
                   4305:     CXX="g++"
                   4306:   else
                   4307:     case $cross_compiling:$ac_tool_warned in
                   4308: yes:)
                   4309: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4310: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4311: ac_tool_warned=yes ;;
                   4312: esac
                   4313:     CXX=$ac_ct_CXX
                   4314:   fi
                   4315: fi
1.1       bertrand 4316: 
1.15      bertrand 4317:   fi
                   4318: fi
                   4319: # Provide some information about the compiler.
                   4320: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   4321: set X $ac_compile
                   4322: ac_compiler=$2
                   4323: for ac_option in --version -v -V -qversion; do
                   4324:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 4325: case "(($ac_try" in
                   4326:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4327:   *) ac_try_echo=$ac_try;;
                   4328: esac
1.15      bertrand 4329: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4330: $as_echo "$ac_try_echo"; } >&5
                   4331:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 4332:   ac_status=$?
1.15      bertrand 4333:   if test -s conftest.err; then
                   4334:     sed '10a\
                   4335: ... rest of stderr output deleted ...
                   4336:          10q' conftest.err >conftest.er1
                   4337:     cat conftest.er1 >&5
                   4338:   fi
                   4339:   rm -f conftest.er1 conftest.err
                   4340:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4341:   test $ac_status = 0; }
                   4342: done
                   4343: 
                   4344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   4345: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
1.57      bertrand 4346: if ${ac_cv_cxx_compiler_gnu+:} false; then :
1.15      bertrand 4347:   $as_echo_n "(cached) " >&6
1.14      bertrand 4348: else
1.15      bertrand 4349:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4350: /* end confdefs.h.  */
1.1       bertrand 4351: 
                   4352: int
                   4353: main ()
                   4354: {
1.15      bertrand 4355: #ifndef __GNUC__
                   4356:        choke me
                   4357: #endif
1.1       bertrand 4358: 
                   4359:   ;
                   4360:   return 0;
                   4361: }
                   4362: _ACEOF
1.15      bertrand 4363: if ac_fn_cxx_try_compile "$LINENO"; then :
                   4364:   ac_compiler_gnu=yes
1.1       bertrand 4365: else
1.15      bertrand 4366:   ac_compiler_gnu=no
1.1       bertrand 4367: fi
1.14      bertrand 4368: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 4369: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 4370: 
1.15      bertrand 4371: fi
                   4372: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   4373: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   4374: if test $ac_compiler_gnu = yes; then
                   4375:   GXX=yes
                   4376: else
                   4377:   GXX=
                   4378: fi
                   4379: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   4380: ac_save_CXXFLAGS=$CXXFLAGS
                   4381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   4382: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
1.57      bertrand 4383: if ${ac_cv_prog_cxx_g+:} false; then :
1.15      bertrand 4384:   $as_echo_n "(cached) " >&6
                   4385: else
                   4386:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   4387:    ac_cxx_werror_flag=yes
                   4388:    ac_cv_prog_cxx_g=no
                   4389:    CXXFLAGS="-g"
                   4390:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 4391: /* end confdefs.h.  */
1.15      bertrand 4392: 
1.1       bertrand 4393: int
                   4394: main ()
                   4395: {
1.14      bertrand 4396: 
1.1       bertrand 4397:   ;
                   4398:   return 0;
                   4399: }
                   4400: _ACEOF
1.15      bertrand 4401: if ac_fn_cxx_try_compile "$LINENO"; then :
                   4402:   ac_cv_prog_cxx_g=yes
1.14      bertrand 4403: else
1.15      bertrand 4404:   CXXFLAGS=""
                   4405:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4406: /* end confdefs.h.  */
1.1       bertrand 4407: 
1.14      bertrand 4408: int
                   4409: main ()
                   4410: {
1.1       bertrand 4411: 
1.14      bertrand 4412:   ;
                   4413:   return 0;
                   4414: }
                   4415: _ACEOF
1.15      bertrand 4416: if ac_fn_cxx_try_compile "$LINENO"; then :
1.1       bertrand 4417: 
                   4418: else
1.15      bertrand 4419:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   4420:     CXXFLAGS="-g"
                   4421:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4422: /* end confdefs.h.  */
1.1       bertrand 4423: 
1.14      bertrand 4424: int
                   4425: main ()
                   4426: {
1.1       bertrand 4427: 
1.14      bertrand 4428:   ;
                   4429:   return 0;
                   4430: }
                   4431: _ACEOF
1.15      bertrand 4432: if ac_fn_cxx_try_compile "$LINENO"; then :
                   4433:   ac_cv_prog_cxx_g=yes
                   4434: fi
                   4435: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4436: fi
                   4437: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4438: fi
                   4439: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4440:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   4441: fi
                   4442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   4443: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   4444: if test "$ac_test_CXXFLAGS" = set; then
                   4445:   CXXFLAGS=$ac_save_CXXFLAGS
                   4446: elif test $ac_cv_prog_cxx_g = yes; then
                   4447:   if test "$GXX" = yes; then
                   4448:     CXXFLAGS="-g -O2"
                   4449:   else
                   4450:     CXXFLAGS="-g"
                   4451:   fi
                   4452: else
                   4453:   if test "$GXX" = yes; then
                   4454:     CXXFLAGS="-O2"
                   4455:   else
                   4456:     CXXFLAGS=
                   4457:   fi
                   4458: fi
                   4459: ac_ext=c
                   4460: ac_cpp='$CPP $CPPFLAGS'
                   4461: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4462: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4463: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4464: 
                   4465: depcc="$CXX"  am_compiler_list=
                   4466: 
                   4467: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4468: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.57      bertrand 4469: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
1.15      bertrand 4470:   $as_echo_n "(cached) " >&6
                   4471: else
                   4472:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4473:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4474:   # making bogus files that we don't know about and never remove.  For
                   4475:   # instance it was reported that on HP-UX the gcc test will end up
                   4476:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4477:   # in D'.
                   4478:   mkdir conftest.dir
                   4479:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4480:   # using a relative directory.
                   4481:   cp "$am_depcomp" conftest.dir
                   4482:   cd conftest.dir
                   4483:   # We will build objects and dependencies in a subdirectory because
                   4484:   # it helps to detect inapplicable dependency modes.  For instance
                   4485:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4486:   # side effect of compilation, but ICC will put the dependencies in
                   4487:   # the current directory while Tru64 will put them in the object
                   4488:   # directory.
                   4489:   mkdir sub
                   4490: 
                   4491:   am_cv_CXX_dependencies_compiler_type=none
                   4492:   if test "$am_compiler_list" = ""; then
                   4493:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4494:   fi
                   4495:   am__universal=false
                   4496:   case " $depcc " in #(
                   4497:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4498:      esac
                   4499: 
                   4500:   for depmode in $am_compiler_list; do
                   4501:     # Setup a source with many dependencies, because some compilers
                   4502:     # like to wrap large dependency lists on column 80 (with \), and
                   4503:     # we should not choose a depcomp mode which is confused by this.
                   4504:     #
                   4505:     # We need to recreate these files for each test, as the compiler may
                   4506:     # overwrite some of them when testing with obscure command lines.
                   4507:     # This happens at least with the AIX C compiler.
                   4508:     : > sub/conftest.c
                   4509:     for i in 1 2 3 4 5 6; do
                   4510:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4511:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4512:       # Solaris 8's {/usr,}/bin/sh.
                   4513:       touch sub/conftst$i.h
                   4514:     done
                   4515:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4516: 
                   4517:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4518:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4519:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4520:     # versions had trouble with output in subdirs
                   4521:     am__obj=sub/conftest.${OBJEXT-o}
                   4522:     am__minus_obj="-o $am__obj"
                   4523:     case $depmode in
                   4524:     gcc)
                   4525:       # This depmode causes a compiler race in universal mode.
                   4526:       test "$am__universal" = false || continue
                   4527:       ;;
                   4528:     nosideeffect)
                   4529:       # after this tag, mechanisms are not by side-effect, so they'll
                   4530:       # only be used when explicitly requested
                   4531:       if test "x$enable_dependency_tracking" = xyes; then
                   4532:    continue
                   4533:       else
                   4534:    break
                   4535:       fi
                   4536:       ;;
                   4537:     msvisualcpp | msvcmsys)
                   4538:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4539:       # not run yet.  These depmodes are late enough in the game, and
                   4540:       # so weak that their functioning should not be impacted.
                   4541:       am__obj=conftest.${OBJEXT-o}
                   4542:       am__minus_obj=
                   4543:       ;;
                   4544:     none) break ;;
                   4545:     esac
                   4546:     if depmode=$depmode \
                   4547:        source=sub/conftest.c object=$am__obj \
                   4548:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4549:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4550:          >/dev/null 2>conftest.err &&
                   4551:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4552:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4553:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4554:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4555:       # icc doesn't choke on unknown options, it will just issue warnings
                   4556:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4557:       # that says an option was ignored or not supported.
                   4558:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4559:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4560:       # The diagnosis changed in icc 8.0:
                   4561:       #   icc: Command line remark: option '-MP' not supported
                   4562:       if (grep 'ignoring option' conftest.err ||
                   4563:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4564:         am_cv_CXX_dependencies_compiler_type=$depmode
                   4565:         break
                   4566:       fi
                   4567:     fi
                   4568:   done
                   4569: 
                   4570:   cd ..
                   4571:   rm -rf conftest.dir
                   4572: else
                   4573:   am_cv_CXX_dependencies_compiler_type=none
                   4574: fi
                   4575: 
                   4576: fi
                   4577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   4578: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
                   4579: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   4580: 
                   4581:  if
                   4582:   test "x$enable_dependency_tracking" != xno \
                   4583:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4584:   am__fastdepCXX_TRUE=
                   4585:   am__fastdepCXX_FALSE='#'
                   4586: else
                   4587:   am__fastdepCXX_TRUE='#'
                   4588:   am__fastdepCXX_FALSE=
                   4589: fi
                   4590: 
                   4591: 
                   4592: 
1.69    ! bertrand 4593: if test "$CXX" != "g++"; then
1.36      bertrand 4594:    as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
1.15      bertrand 4595: fi
                   4596: 
1.69    ! bertrand 4597: if test x"$CXX" != x""; then
        !          4598:    GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
        !          4599:            awk -F. '{ printf("%s", $1);}'`
        !          4600:    GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
        !          4601:            awk -F. '{ printf("%s", $2);}'`
        !          4602:    if test $GCC_VERSION_MAJEURE -ge 5; then
        !          4603:        OPTIMISATION_GXX=-O3
        !          4604:    else
        !          4605:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
        !          4606:            OPTIMISATION_GXX=-O3
        !          4607:        else
        !          4608:            if test $GCC_VERSION_MAJEURE -ge 3; then
        !          4609:                OPTIMISATION_GXX=-O2
        !          4610:            else
        !          4611:                as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5
        !          4612:            fi
        !          4613:        fi
        !          4614:    fi
        !          4615: fi
        !          4616: 
1.15      bertrand 4617: ac_ext=f
                   4618: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
                   4619: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4620: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
                   4621: if test -n "$ac_tool_prefix"; then
1.23      bertrand 4622:   for ac_prog in gfortran
1.15      bertrand 4623:   do
                   4624:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4625: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4627: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 4628: if ${ac_cv_prog_F77+:} false; then :
1.15      bertrand 4629:   $as_echo_n "(cached) " >&6
                   4630: else
                   4631:   if test -n "$F77"; then
                   4632:   ac_cv_prog_F77="$F77" # Let the user override the test.
                   4633: else
                   4634: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4635: for as_dir in $PATH
                   4636: do
                   4637:   IFS=$as_save_IFS
                   4638:   test -z "$as_dir" && as_dir=.
                   4639:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4640:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4641:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
                   4642:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4643:     break 2
                   4644:   fi
                   4645: done
                   4646:   done
                   4647: IFS=$as_save_IFS
                   4648: 
                   4649: fi
                   4650: fi
                   4651: F77=$ac_cv_prog_F77
                   4652: if test -n "$F77"; then
                   4653:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
                   4654: $as_echo "$F77" >&6; }
                   4655: else
                   4656:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4657: $as_echo "no" >&6; }
                   4658: fi
                   4659: 
                   4660: 
                   4661:     test -n "$F77" && break
                   4662:   done
                   4663: fi
                   4664: if test -z "$F77"; then
                   4665:   ac_ct_F77=$F77
1.23      bertrand 4666:   for ac_prog in gfortran
1.15      bertrand 4667: do
                   4668:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4669: set dummy $ac_prog; ac_word=$2
                   4670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4671: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 4672: if ${ac_cv_prog_ac_ct_F77+:} false; then :
1.15      bertrand 4673:   $as_echo_n "(cached) " >&6
                   4674: else
                   4675:   if test -n "$ac_ct_F77"; then
                   4676:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
                   4677: else
                   4678: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4679: for as_dir in $PATH
                   4680: do
                   4681:   IFS=$as_save_IFS
                   4682:   test -z "$as_dir" && as_dir=.
                   4683:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4684:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4685:     ac_cv_prog_ac_ct_F77="$ac_prog"
                   4686:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4687:     break 2
                   4688:   fi
                   4689: done
                   4690:   done
                   4691: IFS=$as_save_IFS
                   4692: 
                   4693: fi
                   4694: fi
                   4695: ac_ct_F77=$ac_cv_prog_ac_ct_F77
                   4696: if test -n "$ac_ct_F77"; then
                   4697:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
                   4698: $as_echo "$ac_ct_F77" >&6; }
1.1       bertrand 4699: else
1.15      bertrand 4700:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4701: $as_echo "no" >&6; }
                   4702: fi
                   4703: 
                   4704: 
                   4705:   test -n "$ac_ct_F77" && break
                   4706: done
1.1       bertrand 4707: 
1.15      bertrand 4708:   if test "x$ac_ct_F77" = x; then
                   4709:     F77=""
                   4710:   else
                   4711:     case $cross_compiling:$ac_tool_warned in
                   4712: yes:)
                   4713: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4714: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4715: ac_tool_warned=yes ;;
                   4716: esac
                   4717:     F77=$ac_ct_F77
                   4718:   fi
1.14      bertrand 4719: fi
1.1       bertrand 4720: 
                   4721: 
1.15      bertrand 4722: # Provide some information about the compiler.
                   4723: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
                   4724: set X $ac_compile
                   4725: ac_compiler=$2
                   4726: for ac_option in --version -v -V -qversion; do
                   4727:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 4728: case "(($ac_try" in
                   4729:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4730:   *) ac_try_echo=$ac_try;;
                   4731: esac
1.15      bertrand 4732: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4733: $as_echo "$ac_try_echo"; } >&5
                   4734:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 4735:   ac_status=$?
1.15      bertrand 4736:   if test -s conftest.err; then
                   4737:     sed '10a\
                   4738: ... rest of stderr output deleted ...
                   4739:          10q' conftest.err >conftest.er1
                   4740:     cat conftest.er1 >&5
                   4741:   fi
                   4742:   rm -f conftest.er1 conftest.err
                   4743:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4744:   test $ac_status = 0; }
                   4745: done
                   4746: rm -f a.out
                   4747: 
                   4748: # If we don't use `.F' as extension, the preprocessor is not run on the
                   4749: # input file.  (Note that this only needs to work for GNU compilers.)
                   4750: ac_save_ext=$ac_ext
                   4751: ac_ext=F
                   4752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
                   4753: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
1.57      bertrand 4754: if ${ac_cv_f77_compiler_gnu+:} false; then :
1.15      bertrand 4755:   $as_echo_n "(cached) " >&6
1.1       bertrand 4756: else
1.15      bertrand 4757:   cat > conftest.$ac_ext <<_ACEOF
                   4758:       program main
                   4759: #ifndef __GNUC__
                   4760:        choke me
                   4761: #endif
1.14      bertrand 4762: 
1.15      bertrand 4763:       end
                   4764: _ACEOF
                   4765: if ac_fn_f77_try_compile "$LINENO"; then :
                   4766:   ac_compiler_gnu=yes
                   4767: else
                   4768:   ac_compiler_gnu=no
1.1       bertrand 4769: fi
1.15      bertrand 4770: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4771: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 4772: 
                   4773: fi
1.15      bertrand 4774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
                   4775: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
                   4776: ac_ext=$ac_save_ext
                   4777: ac_test_FFLAGS=${FFLAGS+set}
                   4778: ac_save_FFLAGS=$FFLAGS
                   4779: FFLAGS=
                   4780: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
                   4781: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
1.57      bertrand 4782: if ${ac_cv_prog_f77_g+:} false; then :
1.15      bertrand 4783:   $as_echo_n "(cached) " >&6
                   4784: else
                   4785:   FFLAGS=-g
                   4786: cat > conftest.$ac_ext <<_ACEOF
                   4787:       program main
1.1       bertrand 4788: 
1.15      bertrand 4789:       end
1.14      bertrand 4790: _ACEOF
1.15      bertrand 4791: if ac_fn_f77_try_compile "$LINENO"; then :
                   4792:   ac_cv_prog_f77_g=yes
1.1       bertrand 4793: else
1.15      bertrand 4794:   ac_cv_prog_f77_g=no
1.1       bertrand 4795: fi
1.15      bertrand 4796: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 4797: 
                   4798: fi
1.15      bertrand 4799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
                   4800: $as_echo "$ac_cv_prog_f77_g" >&6; }
                   4801: if test "$ac_test_FFLAGS" = set; then
                   4802:   FFLAGS=$ac_save_FFLAGS
                   4803: elif test $ac_cv_prog_f77_g = yes; then
                   4804:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
                   4805:     FFLAGS="-g -O2"
                   4806:   else
                   4807:     FFLAGS="-g"
                   4808:   fi
                   4809: else
                   4810:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
                   4811:     FFLAGS="-O2"
                   4812:   else
                   4813:     FFLAGS=
                   4814:   fi
1.1       bertrand 4815: fi
                   4816: 
1.15      bertrand 4817: if test $ac_compiler_gnu = yes; then
                   4818:   G77=yes
1.1       bertrand 4819: else
1.15      bertrand 4820:   G77=
1.1       bertrand 4821: fi
1.15      bertrand 4822: ac_ext=c
                   4823: ac_cpp='$CPP $CPPFLAGS'
                   4824: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4825: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4826: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       bertrand 4827: 
                   4828: 
1.15      bertrand 4829: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
1.36      bertrand 4830:    as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
1.15      bertrand 4831: fi
1.14      bertrand 4832: 
1.15      bertrand 4833: ac_ext=${ac_fc_srcext-f}
                   4834: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
                   4835: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
                   4836: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
                   4837: if test -n "$ac_tool_prefix"; then
1.23      bertrand 4838:   for ac_prog in gfortran
1.15      bertrand 4839:   do
                   4840:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4841: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4843: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 4844: if ${ac_cv_prog_FC+:} false; then :
1.15      bertrand 4845:   $as_echo_n "(cached) " >&6
                   4846: else
                   4847:   if test -n "$FC"; then
                   4848:   ac_cv_prog_FC="$FC" # Let the user override the test.
1.1       bertrand 4849: else
1.15      bertrand 4850: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4851: for as_dir in $PATH
                   4852: do
                   4853:   IFS=$as_save_IFS
                   4854:   test -z "$as_dir" && as_dir=.
                   4855:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4856:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4857:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
                   4858:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4859:     break 2
                   4860:   fi
                   4861: done
                   4862:   done
                   4863: IFS=$as_save_IFS
1.1       bertrand 4864: 
                   4865: fi
1.15      bertrand 4866: fi
                   4867: FC=$ac_cv_prog_FC
                   4868: if test -n "$FC"; then
                   4869:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
                   4870: $as_echo "$FC" >&6; }
1.14      bertrand 4871: else
1.15      bertrand 4872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4873: $as_echo "no" >&6; }
1.14      bertrand 4874: fi
                   4875: 
1.1       bertrand 4876: 
1.15      bertrand 4877:     test -n "$FC" && break
                   4878:   done
                   4879: fi
                   4880: if test -z "$FC"; then
                   4881:   ac_ct_FC=$FC
1.23      bertrand 4882:   for ac_prog in gfortran
1.15      bertrand 4883: do
                   4884:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4885: set dummy $ac_prog; ac_word=$2
                   4886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4887: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 4888: if ${ac_cv_prog_ac_ct_FC+:} false; then :
1.15      bertrand 4889:   $as_echo_n "(cached) " >&6
                   4890: else
                   4891:   if test -n "$ac_ct_FC"; then
                   4892:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
                   4893: else
                   4894: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4895: for as_dir in $PATH
                   4896: do
                   4897:   IFS=$as_save_IFS
                   4898:   test -z "$as_dir" && as_dir=.
                   4899:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4900:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4901:     ac_cv_prog_ac_ct_FC="$ac_prog"
                   4902:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4903:     break 2
                   4904:   fi
                   4905: done
                   4906:   done
                   4907: IFS=$as_save_IFS
1.1       bertrand 4908: 
1.15      bertrand 4909: fi
                   4910: fi
                   4911: ac_ct_FC=$ac_cv_prog_ac_ct_FC
                   4912: if test -n "$ac_ct_FC"; then
                   4913:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
                   4914: $as_echo "$ac_ct_FC" >&6; }
1.1       bertrand 4915: else
1.15      bertrand 4916:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4917: $as_echo "no" >&6; }
1.1       bertrand 4918: fi
1.14      bertrand 4919: 
1.1       bertrand 4920: 
1.15      bertrand 4921:   test -n "$ac_ct_FC" && break
                   4922: done
1.1       bertrand 4923: 
1.15      bertrand 4924:   if test "x$ac_ct_FC" = x; then
                   4925:     FC=""
                   4926:   else
                   4927:     case $cross_compiling:$ac_tool_warned in
                   4928: yes:)
                   4929: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4930: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4931: ac_tool_warned=yes ;;
1.14      bertrand 4932: esac
1.15      bertrand 4933:     FC=$ac_ct_FC
                   4934:   fi
1.14      bertrand 4935: fi
                   4936: 
                   4937: 
1.15      bertrand 4938: # Provide some information about the compiler.
                   4939: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
                   4940: set X $ac_compile
                   4941: ac_compiler=$2
                   4942: for ac_option in --version -v -V -qversion; do
                   4943:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 4944: case "(($ac_try" in
                   4945:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4946:   *) ac_try_echo=$ac_try;;
                   4947: esac
1.15      bertrand 4948: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4949: $as_echo "$ac_try_echo"; } >&5
                   4950:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 4951:   ac_status=$?
1.15      bertrand 4952:   if test -s conftest.err; then
                   4953:     sed '10a\
                   4954: ... rest of stderr output deleted ...
                   4955:          10q' conftest.err >conftest.er1
                   4956:     cat conftest.er1 >&5
                   4957:   fi
                   4958:   rm -f conftest.er1 conftest.err
                   4959:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4960:   test $ac_status = 0; }
                   4961: done
                   4962: rm -f a.out
                   4963: 
                   4964: # If we don't use `.F' as extension, the preprocessor is not run on the
                   4965: # input file.  (Note that this only needs to work for GNU compilers.)
                   4966: ac_save_ext=$ac_ext
                   4967: ac_ext=F
                   4968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
                   4969: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
1.57      bertrand 4970: if ${ac_cv_fc_compiler_gnu+:} false; then :
1.15      bertrand 4971:   $as_echo_n "(cached) " >&6
1.14      bertrand 4972: else
1.15      bertrand 4973:   cat > conftest.$ac_ext <<_ACEOF
                   4974:       program main
                   4975: #ifndef __GNUC__
                   4976:        choke me
                   4977: #endif
1.14      bertrand 4978: 
1.15      bertrand 4979:       end
                   4980: _ACEOF
                   4981: if ac_fn_fc_try_compile "$LINENO"; then :
                   4982:   ac_compiler_gnu=yes
                   4983: else
                   4984:   ac_compiler_gnu=no
1.14      bertrand 4985: fi
                   4986: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 4987: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 4988: 
1.15      bertrand 4989: fi
                   4990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
                   4991: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
                   4992: ac_ext=$ac_save_ext
                   4993: ac_test_FCFLAGS=${FCFLAGS+set}
                   4994: ac_save_FCFLAGS=$FCFLAGS
                   4995: FCFLAGS=
                   4996: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
                   4997: $as_echo_n "checking whether $FC accepts -g... " >&6; }
1.57      bertrand 4998: if ${ac_cv_prog_fc_g+:} false; then :
1.15      bertrand 4999:   $as_echo_n "(cached) " >&6
                   5000: else
                   5001:   FCFLAGS=-g
                   5002: cat > conftest.$ac_ext <<_ACEOF
                   5003:       program main
1.1       bertrand 5004: 
1.15      bertrand 5005:       end
1.1       bertrand 5006: _ACEOF
1.15      bertrand 5007: if ac_fn_fc_try_compile "$LINENO"; then :
                   5008:   ac_cv_prog_fc_g=yes
1.1       bertrand 5009: else
1.15      bertrand 5010:   ac_cv_prog_fc_g=no
1.1       bertrand 5011: fi
1.14      bertrand 5012: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 5013: 
1.15      bertrand 5014: fi
                   5015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
                   5016: $as_echo "$ac_cv_prog_fc_g" >&6; }
                   5017: if test "$ac_test_FCFLAGS" = set; then
                   5018:   FCFLAGS=$ac_save_FCFLAGS
                   5019: elif test $ac_cv_prog_fc_g = yes; then
                   5020:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
                   5021:     FCFLAGS="-g -O2"
                   5022:   else
                   5023:     FCFLAGS="-g"
                   5024:   fi
1.1       bertrand 5025: else
1.15      bertrand 5026:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
                   5027:     FCFLAGS="-O2"
                   5028:   else
                   5029:     FCFLAGS=
                   5030:   fi
1.1       bertrand 5031: fi
                   5032: 
1.15      bertrand 5033: ac_ext=c
                   5034: ac_cpp='$CPP $CPPFLAGS'
                   5035: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5036: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5037: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       bertrand 5038: 
                   5039: 
1.15      bertrand 5040: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
1.36      bertrand 5041:    as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
1.1       bertrand 5042: fi
                   5043: 
1.15      bertrand 5044: if test x"$FC" != x""; then
                   5045:    GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   5046:            awk -F. '{ printf("%s", $1);}'`
                   5047:    GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   5048:            awk -F. '{ printf("%s", $2);}'`
1.23      bertrand 5049:    if test $GCC_VERSION_MAJEURE -ge 5; then
1.15      bertrand 5050:        OPTIMISATION_F=-O3
                   5051:    else
1.23      bertrand 5052:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
1.15      bertrand 5053:            OPTIMISATION_F=-O3
                   5054:        else
1.23      bertrand 5055:            if test $GCC_VERSION_MAJEURE -ge 3; then
                   5056:                OPTIMISATION_F=-O2
                   5057:            else
1.36      bertrand 5058:                as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
1.23      bertrand 5059:            fi
1.14      bertrand 5060:        fi
                   5061:    fi
                   5062: fi
1.1       bertrand 5063: 
                   5064: 
1.15      bertrand 5065: ac_ext=c
                   5066: ac_cpp='$CPP $CPPFLAGS'
                   5067: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5068: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5069: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5070: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   5071: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   5072: # On Suns, sometimes $CPP names a directory.
                   5073: if test -n "$CPP" && test -d "$CPP"; then
                   5074:   CPP=
                   5075: fi
                   5076: if test -z "$CPP"; then
1.57      bertrand 5077:   if ${ac_cv_prog_CPP+:} false; then :
1.15      bertrand 5078:   $as_echo_n "(cached) " >&6
                   5079: else
                   5080:       # Double quotes because CPP needs to be expanded
                   5081:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   5082:     do
                   5083:       ac_preproc_ok=false
                   5084: for ac_c_preproc_warn_flag in '' yes
                   5085: do
                   5086:   # Use a header file that comes with gcc, so configuring glibc
                   5087:   # with a fresh cross-compiler works.
                   5088:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5089:   # <limits.h> exists even on freestanding compilers.
                   5090:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5091:   # not just through cpp. "Syntax error" is here to catch this case.
                   5092:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5093: /* end confdefs.h.  */
1.15      bertrand 5094: #ifdef __STDC__
                   5095: # include <limits.h>
                   5096: #else
                   5097: # include <assert.h>
                   5098: #endif
                   5099:             Syntax error
1.1       bertrand 5100: _ACEOF
1.15      bertrand 5101: if ac_fn_c_try_cpp "$LINENO"; then :
                   5102: 
1.1       bertrand 5103: else
1.15      bertrand 5104:   # Broken: fails on valid input.
                   5105: continue
1.1       bertrand 5106: fi
1.36      bertrand 5107: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       bertrand 5108: 
1.15      bertrand 5109:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5110:   # can be detected and how.
                   5111:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5112: /* end confdefs.h.  */
                   5113: #include <ac_nonexistent.h>
                   5114: _ACEOF
                   5115: if ac_fn_c_try_cpp "$LINENO"; then :
                   5116:   # Broken: success on invalid input.
                   5117: continue
                   5118: else
                   5119:   # Passes both tests.
                   5120: ac_preproc_ok=:
                   5121: break
1.1       bertrand 5122: fi
1.36      bertrand 5123: rm -f conftest.err conftest.i conftest.$ac_ext
1.14      bertrand 5124: 
1.15      bertrand 5125: done
                   5126: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.36      bertrand 5127: rm -f conftest.i conftest.err conftest.$ac_ext
1.15      bertrand 5128: if $ac_preproc_ok; then :
                   5129:   break
1.1       bertrand 5130: fi
                   5131: 
1.15      bertrand 5132:     done
                   5133:     ac_cv_prog_CPP=$CPP
1.14      bertrand 5134: 
1.15      bertrand 5135: fi
                   5136:   CPP=$ac_cv_prog_CPP
1.1       bertrand 5137: else
1.15      bertrand 5138:   ac_cv_prog_CPP=$CPP
                   5139: fi
                   5140: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   5141: $as_echo "$CPP" >&6; }
                   5142: ac_preproc_ok=false
                   5143: for ac_c_preproc_warn_flag in '' yes
1.14      bertrand 5144: do
1.15      bertrand 5145:   # Use a header file that comes with gcc, so configuring glibc
                   5146:   # with a fresh cross-compiler works.
                   5147:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5148:   # <limits.h> exists even on freestanding compilers.
                   5149:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5150:   # not just through cpp. "Syntax error" is here to catch this case.
                   5151:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5152: /* end confdefs.h.  */
                   5153: #ifdef __STDC__
                   5154: # include <limits.h>
                   5155: #else
                   5156: # include <assert.h>
                   5157: #endif
                   5158:             Syntax error
                   5159: _ACEOF
                   5160: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       bertrand 5161: 
1.15      bertrand 5162: else
                   5163:   # Broken: fails on valid input.
                   5164: continue
                   5165: fi
1.36      bertrand 5166: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       bertrand 5167: 
1.15      bertrand 5168:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5169:   # can be detected and how.
                   5170:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5171: /* end confdefs.h.  */
                   5172: #include <ac_nonexistent.h>
                   5173: _ACEOF
                   5174: if ac_fn_c_try_cpp "$LINENO"; then :
                   5175:   # Broken: success on invalid input.
                   5176: continue
                   5177: else
                   5178:   # Passes both tests.
                   5179: ac_preproc_ok=:
                   5180: break
                   5181: fi
1.36      bertrand 5182: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       bertrand 5183: 
                   5184: done
1.15      bertrand 5185: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.36      bertrand 5186: rm -f conftest.i conftest.err conftest.$ac_ext
1.15      bertrand 5187: if $ac_preproc_ok; then :
1.1       bertrand 5188: 
1.15      bertrand 5189: else
                   5190:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5191: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 5192: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
1.57      bertrand 5193: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 5194: fi
1.14      bertrand 5195: 
1.15      bertrand 5196: ac_ext=c
                   5197: ac_cpp='$CPP $CPPFLAGS'
                   5198: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5199: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5200: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.14      bertrand 5201: 
                   5202: 
1.15      bertrand 5203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
                   5204: $as_echo_n "checking for X... " >&6; }
1.1       bertrand 5205: 
                   5206: 
1.15      bertrand 5207: # Check whether --with-x was given.
                   5208: if test "${with_x+set}" = set; then :
                   5209:   withval=$with_x;
1.1       bertrand 5210: fi
1.14      bertrand 5211: 
1.15      bertrand 5212: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   5213: if test "x$with_x" = xno; then
                   5214:   # The user explicitly disabled X.
                   5215:   have_x=disabled
1.1       bertrand 5216: else
1.15      bertrand 5217:   case $x_includes,$x_libraries in #(
1.57      bertrand 5218:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
                   5219:     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
1.15      bertrand 5220:   $as_echo_n "(cached) " >&6
1.1       bertrand 5221: else
1.15      bertrand 5222:   # One or both of the vars are not set, and there is no cached value.
                   5223: ac_x_includes=no ac_x_libraries=no
                   5224: rm -f -r conftest.dir
                   5225: if mkdir conftest.dir; then
                   5226:   cd conftest.dir
                   5227:   cat >Imakefile <<'_ACEOF'
                   5228: incroot:
                   5229:    @echo incroot='${INCROOT}'
                   5230: usrlibdir:
                   5231:    @echo usrlibdir='${USRLIBDIR}'
                   5232: libdir:
                   5233:    @echo libdir='${LIBDIR}'
                   5234: _ACEOF
                   5235:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
1.36      bertrand 5236:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.15      bertrand 5237:     for ac_var in incroot usrlibdir libdir; do
                   5238:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
                   5239:     done
                   5240:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   5241:     for ac_extension in a so sl dylib la dll; do
                   5242:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
                   5243:     test -f "$ac_im_libdir/libX11.$ac_extension"; then
                   5244:    ac_im_usrlibdir=$ac_im_libdir; break
                   5245:       fi
                   5246:     done
                   5247:     # Screen out bogus values from the imake configuration.  They are
                   5248:     # bogus both because they are the default anyway, and because
                   5249:     # using them would break gcc on systems where it needs fixed includes.
                   5250:     case $ac_im_incroot in
                   5251:    /usr/include) ac_x_includes= ;;
                   5252:    *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
                   5253:     esac
                   5254:     case $ac_im_usrlibdir in
                   5255:    /usr/lib | /usr/lib64 | /lib | /lib64) ;;
                   5256:    *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
                   5257:     esac
                   5258:   fi
                   5259:   cd ..
                   5260:   rm -f -r conftest.dir
                   5261: fi
                   5262: 
                   5263: # Standard set of common directories for X headers.
                   5264: # Check X11 before X11Rn because it is often a symlink to the current release.
                   5265: ac_x_header_dirs='
                   5266: /usr/X11/include
                   5267: /usr/X11R7/include
                   5268: /usr/X11R6/include
                   5269: /usr/X11R5/include
                   5270: /usr/X11R4/include
1.1       bertrand 5271: 
1.15      bertrand 5272: /usr/include/X11
                   5273: /usr/include/X11R7
                   5274: /usr/include/X11R6
                   5275: /usr/include/X11R5
                   5276: /usr/include/X11R4
1.1       bertrand 5277: 
1.15      bertrand 5278: /usr/local/X11/include
                   5279: /usr/local/X11R7/include
                   5280: /usr/local/X11R6/include
                   5281: /usr/local/X11R5/include
                   5282: /usr/local/X11R4/include
1.1       bertrand 5283: 
1.15      bertrand 5284: /usr/local/include/X11
                   5285: /usr/local/include/X11R7
                   5286: /usr/local/include/X11R6
                   5287: /usr/local/include/X11R5
                   5288: /usr/local/include/X11R4
1.1       bertrand 5289: 
1.15      bertrand 5290: /usr/X386/include
                   5291: /usr/x386/include
                   5292: /usr/XFree86/include/X11
1.1       bertrand 5293: 
1.15      bertrand 5294: /usr/include
                   5295: /usr/local/include
                   5296: /usr/unsupported/include
                   5297: /usr/athena/include
                   5298: /usr/local/x11r5/include
                   5299: /usr/lpp/Xamples/include
1.1       bertrand 5300: 
1.15      bertrand 5301: /usr/openwin/include
                   5302: /usr/openwin/share/include'
1.1       bertrand 5303: 
1.15      bertrand 5304: if test "$ac_x_includes" = no; then
                   5305:   # Guess where to find include files, by looking for Xlib.h.
                   5306:   # First, try using that file with no special directory specified.
                   5307:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5308: /* end confdefs.h.  */
                   5309: #include <X11/Xlib.h>
                   5310: _ACEOF
                   5311: if ac_fn_c_try_cpp "$LINENO"; then :
                   5312:   # We can compile using X headers with no special include directory.
                   5313: ac_x_includes=
1.1       bertrand 5314: else
1.15      bertrand 5315:   for ac_dir in $ac_x_header_dirs; do
                   5316:   if test -r "$ac_dir/X11/Xlib.h"; then
                   5317:     ac_x_includes=$ac_dir
                   5318:     break
                   5319:   fi
                   5320: done
1.1       bertrand 5321: fi
1.36      bertrand 5322: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      bertrand 5323: fi # $ac_x_includes = no
1.1       bertrand 5324: 
1.15      bertrand 5325: if test "$ac_x_libraries" = no; then
                   5326:   # Check for the libraries.
                   5327:   # See if we find them without any special options.
                   5328:   # Don't add to $LIBS permanently.
                   5329:   ac_save_LIBS=$LIBS
                   5330:   LIBS="-lX11 $LIBS"
                   5331:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5332: /* end confdefs.h.  */
1.15      bertrand 5333: #include <X11/Xlib.h>
1.14      bertrand 5334: int
                   5335: main ()
                   5336: {
1.15      bertrand 5337: XrmInitialize ()
1.14      bertrand 5338:   ;
                   5339:   return 0;
                   5340: }
1.1       bertrand 5341: _ACEOF
1.15      bertrand 5342: if ac_fn_c_try_link "$LINENO"; then :
                   5343:   LIBS=$ac_save_LIBS
                   5344: # We can link X programs with no special library path.
                   5345: ac_x_libraries=
1.1       bertrand 5346: else
1.15      bertrand 5347:   LIBS=$ac_save_LIBS
                   5348: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
                   5349: do
                   5350:   # Don't even attempt the hair of trying to link an X program!
                   5351:   for ac_extension in a so sl dylib la dll; do
                   5352:     if test -r "$ac_dir/libX11.$ac_extension"; then
                   5353:       ac_x_libraries=$ac_dir
                   5354:       break 2
                   5355:     fi
                   5356:   done
                   5357: done
                   5358: fi
                   5359: rm -f core conftest.err conftest.$ac_objext \
                   5360:     conftest$ac_exeext conftest.$ac_ext
                   5361: fi # $ac_x_libraries = no
1.1       bertrand 5362: 
1.15      bertrand 5363: case $ac_x_includes,$ac_x_libraries in #(
                   5364:   no,* | *,no | *\'*)
                   5365:     # Didn't find X, or a directory has "'" in its name.
                   5366:     ac_cv_have_x="have_x=no";; #(
                   5367:   *)
                   5368:     # Record where we found X for the cache.
                   5369:     ac_cv_have_x="have_x=yes\
                   5370:    ac_x_includes='$ac_x_includes'\
                   5371:    ac_x_libraries='$ac_x_libraries'"
                   5372: esac
1.1       bertrand 5373: fi
1.15      bertrand 5374: ;; #(
                   5375:     *) have_x=yes;;
                   5376:   esac
                   5377:   eval "$ac_cv_have_x"
                   5378: fi # $with_x != no
1.1       bertrand 5379: 
1.15      bertrand 5380: if test "$have_x" != yes; then
                   5381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
                   5382: $as_echo "$have_x" >&6; }
                   5383:   no_x=yes
1.14      bertrand 5384: else
1.15      bertrand 5385:   # If each of the values was on the command line, it overrides each guess.
                   5386:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   5387:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   5388:   # Update the cache value to reflect the command line values.
                   5389:   ac_cv_have_x="have_x=yes\
                   5390:    ac_x_includes='$x_includes'\
                   5391:    ac_x_libraries='$x_libraries'"
                   5392:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
                   5393: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
1.14      bertrand 5394: fi
1.1       bertrand 5395: 
1.15      bertrand 5396: if test "$no_x" = yes; then
                   5397:   # Not all programs may use this symbol, but it does not hurt to define it.
1.1       bertrand 5398: 
1.15      bertrand 5399: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
1.14      bertrand 5400: 
1.15      bertrand 5401:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
1.1       bertrand 5402: else
1.15      bertrand 5403:   if test -n "$x_includes"; then
                   5404:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   5405:   fi
                   5406: 
                   5407:   # It would also be nice to do this for all -L options, not just this one.
                   5408:   if test -n "$x_libraries"; then
                   5409:     X_LIBS="$X_LIBS -L$x_libraries"
                   5410:     # For Solaris; some versions of Sun CC require a space after -R and
                   5411:     # others require no space.  Words are not sufficient . . . .
                   5412:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
                   5413: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
                   5414:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   5415:     ac_xsave_c_werror_flag=$ac_c_werror_flag
                   5416:     ac_c_werror_flag=yes
                   5417:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5418: /* end confdefs.h.  */
1.1       bertrand 5419: 
1.15      bertrand 5420: int
                   5421: main ()
                   5422: {
1.1       bertrand 5423: 
1.15      bertrand 5424:   ;
                   5425:   return 0;
                   5426: }
                   5427: _ACEOF
                   5428: if ac_fn_c_try_link "$LINENO"; then :
                   5429:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5430: $as_echo "no" >&6; }
                   5431:        X_LIBS="$X_LIBS -R$x_libraries"
1.1       bertrand 5432: else
1.15      bertrand 5433:   LIBS="$ac_xsave_LIBS -R $x_libraries"
                   5434:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5435: /* end confdefs.h.  */
1.1       bertrand 5436: 
1.14      bertrand 5437: int
                   5438: main ()
                   5439: {
1.15      bertrand 5440: 
                   5441:   ;
1.14      bertrand 5442:   return 0;
                   5443: }
                   5444: _ACEOF
1.15      bertrand 5445: if ac_fn_c_try_link "$LINENO"; then :
                   5446:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5447: $as_echo "yes" >&6; }
                   5448:      X_LIBS="$X_LIBS -R $x_libraries"
1.14      bertrand 5449: else
1.15      bertrand 5450:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
                   5451: $as_echo "neither works" >&6; }
1.14      bertrand 5452: fi
1.15      bertrand 5453: rm -f core conftest.err conftest.$ac_objext \
                   5454:     conftest$ac_exeext conftest.$ac_ext
1.14      bertrand 5455: fi
1.15      bertrand 5456: rm -f core conftest.err conftest.$ac_objext \
                   5457:     conftest$ac_exeext conftest.$ac_ext
                   5458:     ac_c_werror_flag=$ac_xsave_c_werror_flag
                   5459:     LIBS=$ac_xsave_LIBS
                   5460:   fi
1.1       bertrand 5461: 
1.15      bertrand 5462:   # Check for system-dependent libraries X programs must link with.
                   5463:   # Do this before checking for the system-independent R6 libraries
                   5464:   # (-lICE), since we may need -lsocket or whatever for X linking.
1.1       bertrand 5465: 
1.15      bertrand 5466:   if test "$ISC" = yes; then
                   5467:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   5468:   else
                   5469:     # Martyn Johnson says this is needed for Ultrix, if the X
                   5470:     # libraries were built with DECnet support.  And Karl Berry says
                   5471:     # the Alpha needs dnet_stub (dnet does not exist).
                   5472:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   5473:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5474: /* end confdefs.h.  */
1.1       bertrand 5475: 
1.15      bertrand 5476: /* Override any GCC internal prototype to avoid an error.
                   5477:    Use char because int might match the return type of a GCC
                   5478:    builtin and then its argument prototype would still apply.  */
                   5479: #ifdef __cplusplus
                   5480: extern "C"
                   5481: #endif
                   5482: char XOpenDisplay ();
                   5483: int
                   5484: main ()
                   5485: {
                   5486: return XOpenDisplay ();
                   5487:   ;
                   5488:   return 0;
                   5489: }
1.1       bertrand 5490: _ACEOF
1.15      bertrand 5491: if ac_fn_c_try_link "$LINENO"; then :
1.14      bertrand 5492: 
                   5493: else
1.15      bertrand 5494:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
                   5495: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
1.57      bertrand 5496: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
1.15      bertrand 5497:   $as_echo_n "(cached) " >&6
                   5498: else
                   5499:   ac_check_lib_save_LIBS=$LIBS
                   5500: LIBS="-ldnet  $LIBS"
                   5501: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5502: /* end confdefs.h.  */
1.14      bertrand 5503: 
1.15      bertrand 5504: /* Override any GCC internal prototype to avoid an error.
                   5505:    Use char because int might match the return type of a GCC
                   5506:    builtin and then its argument prototype would still apply.  */
                   5507: #ifdef __cplusplus
                   5508: extern "C"
                   5509: #endif
                   5510: char dnet_ntoa ();
                   5511: int
                   5512: main ()
                   5513: {
                   5514: return dnet_ntoa ();
                   5515:   ;
                   5516:   return 0;
                   5517: }
1.1       bertrand 5518: _ACEOF
1.15      bertrand 5519: if ac_fn_c_try_link "$LINENO"; then :
                   5520:   ac_cv_lib_dnet_dnet_ntoa=yes
1.1       bertrand 5521: else
1.15      bertrand 5522:   ac_cv_lib_dnet_dnet_ntoa=no
1.14      bertrand 5523: fi
1.15      bertrand 5524: rm -f core conftest.err conftest.$ac_objext \
                   5525:     conftest$ac_exeext conftest.$ac_ext
                   5526: LIBS=$ac_check_lib_save_LIBS
1.14      bertrand 5527: fi
1.15      bertrand 5528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   5529: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.57      bertrand 5530: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
1.15      bertrand 5531:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
1.14      bertrand 5532: fi
                   5533: 
1.15      bertrand 5534:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
                   5535:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
                   5536: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
1.57      bertrand 5537: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
1.15      bertrand 5538:   $as_echo_n "(cached) " >&6
1.14      bertrand 5539: else
1.15      bertrand 5540:   ac_check_lib_save_LIBS=$LIBS
                   5541: LIBS="-ldnet_stub  $LIBS"
                   5542: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5543: /* end confdefs.h.  */
1.15      bertrand 5544: 
                   5545: /* Override any GCC internal prototype to avoid an error.
                   5546:    Use char because int might match the return type of a GCC
                   5547:    builtin and then its argument prototype would still apply.  */
                   5548: #ifdef __cplusplus
                   5549: extern "C"
                   5550: #endif
                   5551: char dnet_ntoa ();
1.1       bertrand 5552: int
                   5553: main ()
                   5554: {
1.15      bertrand 5555: return dnet_ntoa ();
1.1       bertrand 5556:   ;
                   5557:   return 0;
                   5558: }
                   5559: _ACEOF
1.15      bertrand 5560: if ac_fn_c_try_link "$LINENO"; then :
                   5561:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
1.14      bertrand 5562: else
1.15      bertrand 5563:   ac_cv_lib_dnet_stub_dnet_ntoa=no
                   5564: fi
                   5565: rm -f core conftest.err conftest.$ac_objext \
                   5566:     conftest$ac_exeext conftest.$ac_ext
                   5567: LIBS=$ac_check_lib_save_LIBS
                   5568: fi
                   5569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   5570: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.57      bertrand 5571: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
1.15      bertrand 5572:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   5573: fi
1.14      bertrand 5574: 
1.15      bertrand 5575:     fi
1.1       bertrand 5576: fi
1.15      bertrand 5577: rm -f core conftest.err conftest.$ac_objext \
                   5578:     conftest$ac_exeext conftest.$ac_ext
                   5579:     LIBS="$ac_xsave_LIBS"
                   5580: 
                   5581:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   5582:     # to get the SysV transport functions.
                   5583:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
                   5584:     # needs -lnsl.
                   5585:     # The nsl library prevents programs from opening the X display
                   5586:     # on Irix 5.2, according to T.E. Dickey.
                   5587:     # The functions gethostbyname, getservbyname, and inet_addr are
                   5588:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
                   5589:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
1.57      bertrand 5590: if test "x$ac_cv_func_gethostbyname" = xyes; then :
1.1       bertrand 5591: 
                   5592: fi
                   5593: 
1.15      bertrand 5594:     if test $ac_cv_func_gethostbyname = no; then
                   5595:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   5596: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.57      bertrand 5597: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
1.15      bertrand 5598:   $as_echo_n "(cached) " >&6
1.1       bertrand 5599: else
1.15      bertrand 5600:   ac_check_lib_save_LIBS=$LIBS
                   5601: LIBS="-lnsl  $LIBS"
                   5602: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5603: /* end confdefs.h.  */
1.15      bertrand 5604: 
                   5605: /* Override any GCC internal prototype to avoid an error.
                   5606:    Use char because int might match the return type of a GCC
                   5607:    builtin and then its argument prototype would still apply.  */
                   5608: #ifdef __cplusplus
                   5609: extern "C"
                   5610: #endif
                   5611: char gethostbyname ();
1.1       bertrand 5612: int
                   5613: main ()
                   5614: {
1.15      bertrand 5615: return gethostbyname ();
1.1       bertrand 5616:   ;
                   5617:   return 0;
                   5618: }
                   5619: _ACEOF
1.15      bertrand 5620: if ac_fn_c_try_link "$LINENO"; then :
                   5621:   ac_cv_lib_nsl_gethostbyname=yes
                   5622: else
                   5623:   ac_cv_lib_nsl_gethostbyname=no
                   5624: fi
                   5625: rm -f core conftest.err conftest.$ac_objext \
                   5626:     conftest$ac_exeext conftest.$ac_ext
                   5627: LIBS=$ac_check_lib_save_LIBS
                   5628: fi
                   5629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   5630: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.57      bertrand 5631: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.15      bertrand 5632:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
                   5633: fi
                   5634: 
                   5635:       if test $ac_cv_lib_nsl_gethostbyname = no; then
                   5636:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
                   5637: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
1.57      bertrand 5638: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
1.15      bertrand 5639:   $as_echo_n "(cached) " >&6
                   5640: else
                   5641:   ac_check_lib_save_LIBS=$LIBS
                   5642: LIBS="-lbsd  $LIBS"
                   5643: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5644: /* end confdefs.h.  */
1.15      bertrand 5645: 
                   5646: /* Override any GCC internal prototype to avoid an error.
                   5647:    Use char because int might match the return type of a GCC
                   5648:    builtin and then its argument prototype would still apply.  */
                   5649: #ifdef __cplusplus
                   5650: extern "C"
                   5651: #endif
                   5652: char gethostbyname ();
1.1       bertrand 5653: int
                   5654: main ()
                   5655: {
1.15      bertrand 5656: return gethostbyname ();
1.1       bertrand 5657:   ;
                   5658:   return 0;
                   5659: }
                   5660: _ACEOF
1.15      bertrand 5661: if ac_fn_c_try_link "$LINENO"; then :
                   5662:   ac_cv_lib_bsd_gethostbyname=yes
1.1       bertrand 5663: else
1.15      bertrand 5664:   ac_cv_lib_bsd_gethostbyname=no
                   5665: fi
                   5666: rm -f core conftest.err conftest.$ac_objext \
                   5667:     conftest$ac_exeext conftest.$ac_ext
                   5668: LIBS=$ac_check_lib_save_LIBS
                   5669: fi
                   5670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   5671: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
1.57      bertrand 5672: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
1.15      bertrand 5673:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
                   5674: fi
                   5675: 
                   5676:       fi
                   5677:     fi
                   5678: 
                   5679:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   5680:     # socket/setsockopt and other routines are undefined under SCO ODT
                   5681:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
                   5682:     # on later versions), says Simon Leinen: it contains gethostby*
                   5683:     # variants that don't use the name server (or something).  -lsocket
                   5684:     # must be given before -lnsl if both are needed.  We assume that
                   5685:     # if connect needs -lnsl, so does gethostbyname.
                   5686:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
1.57      bertrand 5687: if test "x$ac_cv_func_connect" = xyes; then :
1.14      bertrand 5688: 
1.1       bertrand 5689: fi
                   5690: 
1.15      bertrand 5691:     if test $ac_cv_func_connect = no; then
                   5692:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
                   5693: $as_echo_n "checking for connect in -lsocket... " >&6; }
1.57      bertrand 5694: if ${ac_cv_lib_socket_connect+:} false; then :
1.15      bertrand 5695:   $as_echo_n "(cached) " >&6
1.14      bertrand 5696: else
1.15      bertrand 5697:   ac_check_lib_save_LIBS=$LIBS
                   5698: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
                   5699: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5700: /* end confdefs.h.  */
1.1       bertrand 5701: 
1.15      bertrand 5702: /* Override any GCC internal prototype to avoid an error.
                   5703:    Use char because int might match the return type of a GCC
                   5704:    builtin and then its argument prototype would still apply.  */
                   5705: #ifdef __cplusplus
                   5706: extern "C"
                   5707: #endif
                   5708: char connect ();
1.14      bertrand 5709: int
                   5710: main ()
                   5711: {
1.15      bertrand 5712: return connect ();
1.14      bertrand 5713:   ;
                   5714:   return 0;
                   5715: }
                   5716: _ACEOF
1.15      bertrand 5717: if ac_fn_c_try_link "$LINENO"; then :
                   5718:   ac_cv_lib_socket_connect=yes
                   5719: else
                   5720:   ac_cv_lib_socket_connect=no
                   5721: fi
                   5722: rm -f core conftest.err conftest.$ac_objext \
                   5723:     conftest$ac_exeext conftest.$ac_ext
                   5724: LIBS=$ac_check_lib_save_LIBS
                   5725: fi
                   5726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
                   5727: $as_echo "$ac_cv_lib_socket_connect" >&6; }
1.57      bertrand 5728: if test "x$ac_cv_lib_socket_connect" = xyes; then :
1.15      bertrand 5729:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   5730: fi
                   5731: 
                   5732:     fi
                   5733: 
                   5734:     # Guillermo Gomez says -lposix is necessary on A/UX.
                   5735:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
1.57      bertrand 5736: if test "x$ac_cv_func_remove" = xyes; then :
1.15      bertrand 5737: 
                   5738: fi
                   5739: 
                   5740:     if test $ac_cv_func_remove = no; then
                   5741:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
                   5742: $as_echo_n "checking for remove in -lposix... " >&6; }
1.57      bertrand 5743: if ${ac_cv_lib_posix_remove+:} false; then :
1.15      bertrand 5744:   $as_echo_n "(cached) " >&6
                   5745: else
                   5746:   ac_check_lib_save_LIBS=$LIBS
                   5747: LIBS="-lposix  $LIBS"
                   5748: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5749: /* end confdefs.h.  */
1.15      bertrand 5750: 
                   5751: /* Override any GCC internal prototype to avoid an error.
                   5752:    Use char because int might match the return type of a GCC
                   5753:    builtin and then its argument prototype would still apply.  */
                   5754: #ifdef __cplusplus
                   5755: extern "C"
                   5756: #endif
                   5757: char remove ();
1.1       bertrand 5758: int
                   5759: main ()
                   5760: {
1.15      bertrand 5761: return remove ();
1.1       bertrand 5762:   ;
                   5763:   return 0;
                   5764: }
                   5765: _ACEOF
1.15      bertrand 5766: if ac_fn_c_try_link "$LINENO"; then :
                   5767:   ac_cv_lib_posix_remove=yes
1.14      bertrand 5768: else
1.15      bertrand 5769:   ac_cv_lib_posix_remove=no
                   5770: fi
                   5771: rm -f core conftest.err conftest.$ac_objext \
                   5772:     conftest$ac_exeext conftest.$ac_ext
                   5773: LIBS=$ac_check_lib_save_LIBS
                   5774: fi
                   5775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
                   5776: $as_echo "$ac_cv_lib_posix_remove" >&6; }
1.57      bertrand 5777: if test "x$ac_cv_lib_posix_remove" = xyes; then :
1.15      bertrand 5778:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
1.14      bertrand 5779: fi
1.1       bertrand 5780: 
1.15      bertrand 5781:     fi
1.14      bertrand 5782: 
1.15      bertrand 5783:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
                   5784:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
1.57      bertrand 5785: if test "x$ac_cv_func_shmat" = xyes; then :
1.14      bertrand 5786: 
                   5787: fi
                   5788: 
1.15      bertrand 5789:     if test $ac_cv_func_shmat = no; then
                   5790:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
                   5791: $as_echo_n "checking for shmat in -lipc... " >&6; }
1.57      bertrand 5792: if ${ac_cv_lib_ipc_shmat+:} false; then :
1.15      bertrand 5793:   $as_echo_n "(cached) " >&6
                   5794: else
                   5795:   ac_check_lib_save_LIBS=$LIBS
                   5796: LIBS="-lipc  $LIBS"
                   5797: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5798: /* end confdefs.h.  */
1.15      bertrand 5799: 
                   5800: /* Override any GCC internal prototype to avoid an error.
                   5801:    Use char because int might match the return type of a GCC
                   5802:    builtin and then its argument prototype would still apply.  */
                   5803: #ifdef __cplusplus
                   5804: extern "C"
                   5805: #endif
                   5806: char shmat ();
1.1       bertrand 5807: int
                   5808: main ()
                   5809: {
1.15      bertrand 5810: return shmat ();
1.1       bertrand 5811:   ;
                   5812:   return 0;
                   5813: }
                   5814: _ACEOF
1.15      bertrand 5815: if ac_fn_c_try_link "$LINENO"; then :
                   5816:   ac_cv_lib_ipc_shmat=yes
1.1       bertrand 5817: else
1.15      bertrand 5818:   ac_cv_lib_ipc_shmat=no
                   5819: fi
                   5820: rm -f core conftest.err conftest.$ac_objext \
                   5821:     conftest$ac_exeext conftest.$ac_ext
                   5822: LIBS=$ac_check_lib_save_LIBS
                   5823: fi
                   5824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
                   5825: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
1.57      bertrand 5826: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
1.15      bertrand 5827:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   5828: fi
1.14      bertrand 5829: 
1.15      bertrand 5830:     fi
                   5831:   fi
1.1       bertrand 5832: 
1.15      bertrand 5833:   # Check for libraries that X11R6 Xt/Xaw programs need.
                   5834:   ac_save_LDFLAGS=$LDFLAGS
                   5835:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   5836:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   5837:   # check for ICE first), but we must link in the order -lSM -lICE or
                   5838:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   5839:   # These have to be linked with before -lX11, unlike the other
                   5840:   # libraries we check for below, so use a different variable.
                   5841:   # John Interrante, Karl Berry
                   5842:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
                   5843: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
1.57      bertrand 5844: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
1.15      bertrand 5845:   $as_echo_n "(cached) " >&6
1.1       bertrand 5846: else
1.15      bertrand 5847:   ac_check_lib_save_LIBS=$LIBS
                   5848: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
                   5849: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5850: /* end confdefs.h.  */
1.15      bertrand 5851: 
                   5852: /* Override any GCC internal prototype to avoid an error.
                   5853:    Use char because int might match the return type of a GCC
                   5854:    builtin and then its argument prototype would still apply.  */
                   5855: #ifdef __cplusplus
                   5856: extern "C"
                   5857: #endif
                   5858: char IceConnectionNumber ();
1.1       bertrand 5859: int
                   5860: main ()
                   5861: {
1.15      bertrand 5862: return IceConnectionNumber ();
1.1       bertrand 5863:   ;
                   5864:   return 0;
                   5865: }
                   5866: _ACEOF
1.15      bertrand 5867: if ac_fn_c_try_link "$LINENO"; then :
                   5868:   ac_cv_lib_ICE_IceConnectionNumber=yes
1.1       bertrand 5869: else
1.15      bertrand 5870:   ac_cv_lib_ICE_IceConnectionNumber=no
                   5871: fi
                   5872: rm -f core conftest.err conftest.$ac_objext \
                   5873:     conftest$ac_exeext conftest.$ac_ext
                   5874: LIBS=$ac_check_lib_save_LIBS
                   5875: fi
                   5876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   5877: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
1.57      bertrand 5878: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
1.15      bertrand 5879:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   5880: fi
                   5881: 
                   5882:   LDFLAGS=$ac_save_LDFLAGS
                   5883: 
                   5884: fi
                   5885: 
1.14      bertrand 5886: 
1.15      bertrand 5887: if test "$ac_x_includes" != "no"; then
                   5888:    if test x"$ac_x_includes" != x; then
                   5889:        X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
                   5890:        includeX="-I$ac_x_includes"
                   5891:    fi
1.1       bertrand 5892: fi
1.15      bertrand 5893: if test "$ac_x_libraries" != "no"; then
                   5894:    if test x"$ac_x_libraries" != x; then
                   5895:        X_LIBS="$X_LIBS -L$ac_x_libraries"
                   5896:    fi
1.1       bertrand 5897: fi
1.15      bertrand 5898: 
1.64      bertrand 5899: 
1.69    ! bertrand 5900: # Check whether --with-32bits-abi was given.
        !          5901: if test "${with_32bits_abi+set}" = set; then :
        !          5902:   withval=$with_32bits_abi;
1.64      bertrand 5903: if test "$with-32bits-abi" = "no"; then
1.66      bertrand 5904:    ABI=
1.64      bertrand 5905: else
1.65      bertrand 5906:    ABI=-m32
                   5907: fi
1.64      bertrand 5908: else
                   5909: 
1.68      bertrand 5910:    ABI=
1.64      bertrand 5911: 
                   5912: 
                   5913: fi
                   5914: 
                   5915: 
1.68      bertrand 5916: if test x$ABI = x; then
1.66      bertrand 5917: 
1.69    ! bertrand 5918: # Check whether --with-64bits-abi was given.
        !          5919: if test "${with_64bits_abi+set}" = set; then :
        !          5920:   withval=$with_64bits_abi;
1.67      bertrand 5921: if test "$with-64bits-abi" = "no"; then
                   5922:    ABI=
                   5923: else
                   5924:    ABI=-m64
                   5925: fi
                   5926: else
                   5927: 
1.68      bertrand 5928:    ABI=
1.67      bertrand 5929: 
                   5930: 
                   5931: fi
                   5932: 
1.68      bertrand 5933: fi
1.67      bertrand 5934: 
1.69    ! bertrand 5935: LDFLAGS="$LDFLAGS $ABI"
        !          5936: 
1.67      bertrand 5937: 
                   5938: # Check whether --with-rplcas was given.
                   5939: if test "${with_rplcas+set}" = set; then :
                   5940:   withval=$with_rplcas;
                   5941: if test "$with-rplcas" = "no"; then
                   5942:    RPLCAS=-URPLCAS
                   5943:    LIBRPLCAS=
                   5944: else
                   5945:    RPLCAS=-DRPLCAS
                   5946:    LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
                   5947: fi
                   5948: else
                   5949: 
                   5950:    RPLCAS=-URPLCAS
                   5951:    LIBRPLCAS=
                   5952: 
                   5953: 
                   5954: fi
                   5955: 
                   5956: 
                   5957: 
                   5958: 
                   5959: 
1.65      bertrand 5960: 
1.15      bertrand 5961: # Check whether --enable-optimization was given.
                   5962: if test "${enable_optimization+set}" = set; then :
                   5963:   enableval=$enable_optimization;
                   5964: if test "$enableval" = "no"; then
1.69    ! bertrand 5965:    CFLAGS=$ABI
        !          5966:    FFLAGS=$ABI
        !          5967:    CXXFLAGS=$ABI
        !          5968:    FCFLAGS=$ABI
        !          5969: else
        !          5970:    CFLAGS="$CFLAGS $ABI $enable_optimization"
        !          5971:    FFLAGS="$FFLAGS $ABI $enable_optimization"
        !          5972:    CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
        !          5973:    FCFLAGS="$FCFLAGS $ABI $enable_optimization"
1.1       bertrand 5974: fi
1.15      bertrand 5975: else
1.14      bertrand 5976: 
1.69    ! bertrand 5977:    CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
        !          5978:    FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
        !          5979:    CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
        !          5980:    FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
1.1       bertrand 5981: 
                   5982: 
1.15      bertrand 5983: fi
1.1       bertrand 5984: 
                   5985: 
1.36      bertrand 5986: # Check whether --enable-sysv-semaphores was given.
                   5987: if test "${enable_sysv_semaphores+set}" = set; then :
                   5988:   enableval=$enable_sysv_semaphores;
                   5989: if test "$enableval" = "no"; then
                   5990:    IPCS_SYSV=no
                   5991: else
                   5992:    IPCS_SYSV=yes
                   5993: fi
                   5994: else
                   5995:   IPCS_SYSV=no
                   5996: fi
                   5997: 
                   5998: 
1.30      bertrand 5999: # Check whether --enable-full-static was given.
                   6000: if test "${enable_full_static+set}" = set; then :
                   6001:   enableval=$enable_full_static;
                   6002: if test "$enableval" = "no"; then
                   6003:    STATIC=no
                   6004: else
                   6005:    STATIC=yes
                   6006: fi
                   6007: else
                   6008:   STATIC=no
                   6009: fi
                   6010: 
                   6011: 
1.15      bertrand 6012: # Check whether --enable-final-encoding was given.
                   6013: if test "${enable_final_encoding+set}" = set; then :
                   6014:   enableval=$enable_final_encoding;
                   6015: if test "$enableval" = "no"; then
                   6016:    FINAL_ENCODING="\$(shell locale charmap | \
                   6017:        \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
1.35      bertrand 6018:    FORCED_FINAL_ENCODING=0
1.1       bertrand 6019: else
1.15      bertrand 6020:    FINAL_ENCODING="$enable_final_encoding"
1.35      bertrand 6021:    FORCED_FINAL_ENCODING=1
1.15      bertrand 6022: fi
1.1       bertrand 6023: else
1.35      bertrand 6024: 
                   6025: FORCED_FINAL_ENCODING=0
                   6026: FINAL_ENCODING="\$(shell locale charmap | \
1.15      bertrand 6027:    \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
                   6028: fi
                   6029: 
1.14      bertrand 6030: 
1.15      bertrand 6031: # Check whether --enable-tex was given.
                   6032: if test "${enable_tex+set}" = set; then :
                   6033:   enableval=$enable_tex;
                   6034: if test "$enableval" = "no"; then
                   6035:    TEX_SUPPORT=no
                   6036: else
                   6037:    TEX_SUPPORT=yes
1.1       bertrand 6038: fi
1.15      bertrand 6039: else
                   6040:   TEX_SUPPORT=guessed
                   6041: fi
                   6042: 
1.14      bertrand 6043: 
1.15      bertrand 6044: # Check whether --enable-vim was given.
                   6045: if test "${enable_vim+set}" = set; then :
                   6046:   enableval=$enable_vim;
                   6047: if test "$enableval" = "no"; then
                   6048:    VIM_SUPPORT=no
                   6049: else
                   6050:    VIM_SUPPORT=yes
                   6051: fi
                   6052: else
                   6053:   VIM_SUPPORT=guessed
1.1       bertrand 6054: fi
                   6055: 
1.15      bertrand 6056: 
                   6057: # Check whether --enable-embedded-gnuplot was given.
                   6058: if test "${enable_embedded_gnuplot+set}" = set; then :
                   6059:   enableval=$enable_embedded_gnuplot;
                   6060: if test "$enableval" = "no"; then
                   6061:    MYGNUPLOT=no
                   6062: else
                   6063:    MYGNUPLOT=yes
                   6064: fi
1.1       bertrand 6065: else
                   6066: 
1.15      bertrand 6067: MYGNUPLOT=yes
                   6068: fi
                   6069: 
1.14      bertrand 6070: 
1.15      bertrand 6071: # Check whether --enable-gnuplot was given.
                   6072: if test "${enable_gnuplot+set}" = set; then :
                   6073:   enableval=$enable_gnuplot;
                   6074: if test "$enableval" = "no"; then
                   6075:    GNUPLOT_SUPPORT=no
                   6076:    MYGNUPLOT=no
                   6077:    FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
                   6078: else
                   6079:    GNUPLOT_SUPPORT=yes
                   6080:    FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
                   6081: fi
1.1       bertrand 6082: else
                   6083: 
1.15      bertrand 6084: if test "$MYGNUPLOT" = "yes"; then
                   6085:    GNUPLOT_SUPPORT=yes
                   6086:    FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
                   6087: else
                   6088:    GNUPLOT_SUPPORT=guessed
                   6089:    FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
                   6090: fi
1.1       bertrand 6091: fi
                   6092: 
1.15      bertrand 6093: 
                   6094: # Check whether --enable-motif was given.
                   6095: if test "${enable_motif+set}" = set; then :
                   6096:   enableval=$enable_motif;
                   6097: if test "$enableval" = "no"; then
                   6098:    MOTIF_SUPPORT="-UMOTIF_SUPPORT"
                   6099: else
                   6100:    CFLAGS_ORIG=$CFLAGS
                   6101:    LIBS_ORIG=$LIBS
                   6102:    CFLAGS="$CFLAGS $X_CFLAGS"
                   6103:    LIBS="$LIB $X_LIBS"
                   6104:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
                   6105: $as_echo_n "checking for main in -lXm... " >&6; }
1.57      bertrand 6106: if ${ac_cv_lib_Xm_main+:} false; then :
1.15      bertrand 6107:   $as_echo_n "(cached) " >&6
1.1       bertrand 6108: else
1.15      bertrand 6109:   ac_check_lib_save_LIBS=$LIBS
                   6110: LIBS="-lXm  $LIBS"
                   6111: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6112: /* end confdefs.h.  */
1.14      bertrand 6113: 
                   6114: 
1.1       bertrand 6115: int
                   6116: main ()
                   6117: {
1.15      bertrand 6118: return main ();
1.1       bertrand 6119:   ;
                   6120:   return 0;
                   6121: }
                   6122: _ACEOF
1.15      bertrand 6123: if ac_fn_c_try_link "$LINENO"; then :
                   6124:   ac_cv_lib_Xm_main=yes
                   6125: else
                   6126:   ac_cv_lib_Xm_main=no
                   6127: fi
                   6128: rm -f core conftest.err conftest.$ac_objext \
                   6129:     conftest$ac_exeext conftest.$ac_ext
                   6130: LIBS=$ac_check_lib_save_LIBS
                   6131: fi
                   6132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
                   6133: $as_echo "$ac_cv_lib_Xm_main" >&6; }
1.57      bertrand 6134: if test "x$ac_cv_lib_Xm_main" = xyes; then :
1.15      bertrand 6135:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
1.1       bertrand 6136: else
1.15      bertrand 6137:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
                   6138: fi
1.14      bertrand 6139: 
1.15      bertrand 6140:    if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
                   6141:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
                   6142: Motif flag is disabled.
                   6143: " >&5
                   6144: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
                   6145: Motif flag is disabled.
                   6146: " >&2;}
                   6147:    fi
                   6148:    LIBS=$LIBS_ORIG
                   6149:    CFLAGS=$CFLAGS_ORIG
                   6150: fi
                   6151: else
                   6152:   MOTIF_SUPPORT=guessed
1.1       bertrand 6153: fi
                   6154: 
1.15      bertrand 6155: 
                   6156: # Check whether --enable-experimental was given.
                   6157: if test "${enable_experimental+set}" = set; then :
                   6158:   enableval=$enable_experimental;
                   6159: if test "$enableval" = "no"; then
                   6160:    EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
                   6161: else
                   6162:    EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
                   6163: fi
1.14      bertrand 6164: else
1.15      bertrand 6165:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
                   6166: fi
                   6167: 
1.1       bertrand 6168: 
1.15      bertrand 6169: # Check whether --enable-debug was given.
                   6170: if test "${enable_debug+set}" = set; then :
                   6171:   enableval=$enable_debug;
                   6172: if test "$enableval" = "no"; then
1.24      bertrand 6173:    DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
1.15      bertrand 6174: else
1.24      bertrand 6175:    DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
1.15      bertrand 6176: fi
                   6177: else
1.24      bertrand 6178:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
1.14      bertrand 6179: fi
1.1       bertrand 6180: 
1.15      bertrand 6181: 
                   6182: # Check whether --enable-profile was given.
                   6183: if test "${enable_profile+set}" = set; then :
                   6184:   enableval=$enable_profile;
                   6185: if test "$enableval" = "no"; then
                   6186:    PROFILAGE=""
                   6187: else
                   6188:    PROFILAGE="-pg"
                   6189: fi
                   6190: else
                   6191:   PROFILAGE=""
1.1       bertrand 6192: fi
                   6193: 
1.14      bertrand 6194: 
                   6195: 
1.15      bertrand 6196: 
                   6197: if test ! -d tools; then
                   6198:    mkdir tools
                   6199: fi
                   6200: if test ! -d "$srcdir"/tools/$NCURSES; then
                   6201:    gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
                   6202:            (cd "$srcdir/tools" && tar -xf -)
1.51      bertrand 6203:    (cd "$srcdir/tools/"$NCURSES && \
                   6204:            for i in ../$NCURSES*.patch.gz;
                   6205:            do gunzip -c $i | patch -p1;
                   6206:            done);
1.15      bertrand 6207: fi
                   6208: if test ! -d "$srcdir"/tools/$READLINE; then
                   6209:    gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
                   6210:            (cd "$srcdir/tools" && tar -xf -)
                   6211: fi
                   6212: if test ! -d "$srcdir"/tools/$UNITS; then
                   6213:    gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
                   6214:            (cd "$srcdir/tools" && tar -xf -)
                   6215: fi
                   6216: if test ! -d "$srcdir"/tools/$GSL; then
                   6217:    gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
                   6218:            (cd "$srcdir/tools" && tar -xf -)
1.33      bertrand 6219:    if test $(uname) = "OS/2"; then
                   6220:        (cd "$srcdir"/tools/$GSL; \
                   6221:                TMP=$(mktemp tmp.XXXXXXXXXX); \
                   6222:                sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
                   6223:                \mv -f $TMP ltmain.sh)
                   6224:    fi
1.15      bertrand 6225: fi
                   6226: if test ! -d "$srcdir"/tools/$GPP; then
                   6227:    gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
                   6228:            (cd "$srcdir/tools" && tar -xf -)
                   6229: fi
                   6230: if test ! -d "$srcdir"/tools/$FILE; then
                   6231:    gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
                   6232:            (cd "$srcdir/tools" && tar -xf - )
                   6233:    (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
                   6234: fi
                   6235: if test ! -d "$srcdir"/tools/$ICONV; then
                   6236:    gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
                   6237:            (cd "$srcdir/tools" && tar -xf -)
                   6238: fi
                   6239: if test ! -d "$srcdir"/tools/$SQLITE; then
                   6240:    gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
                   6241:            (cd "$srcdir/tools" && tar -xf -)
                   6242: fi
                   6243: if test ! -d tools/$OPENSSL; then
                   6244:    gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
                   6245:            (cd tools && tar -xf -)
1.1       bertrand 6246: fi
1.55      bertrand 6247: if test ! -d rplcas; then
                   6248:    mkdir rplcas
                   6249: fi
                   6250: if test ! -d "$srcdir"/rplcas/$GMP; then
                   6251:    gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
                   6252:            (cd "$srcdir/rplcas" && tar -xf -)
                   6253: fi
                   6254: if test ! -d "$srcdir"/rplcas/$MPFR; then
                   6255:    gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
                   6256:            (cd "$srcdir/rplcas" && tar -xf -)
                   6257: fi
1.56      bertrand 6258: if test ! -d rplcas/$NTL; then
                   6259:    gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
                   6260:            (cd rplcas && tar -xf -)
                   6261: fi
                   6262: if test ! -d rplcas/$COCOA; then
                   6263:    gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
                   6264:            (cd rplcas && tar -xf -)
                   6265: fi
                   6266: if test ! -d rplcas/$PARI; then
                   6267:    gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
                   6268:            (cd rplcas && tar -xf -)
                   6269: fi
                   6270: if test ! -d "$srcdir"/rplcas/$GIAC; then
                   6271:    gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
                   6272:            (cd "$srcdir/rplcas" && tar -xf -)
                   6273: fi
1.1       bertrand 6274: 
                   6275: 
                   6276: 
1.15      bertrand 6277: # Check whether --enable-final-run-path was given.
                   6278: if test "${enable_final_run_path+set}" = set; then :
                   6279:   enableval=$enable_final_run_path;
                   6280:    if test "x$enable_final_run_path" = "x"; then
                   6281:        { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
                   6282: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
1.36      bertrand 6283:        as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
1.15      bertrand 6284:    else
                   6285:        RUNPATH="$enable_final_run_path"
                   6286:    fi
1.1       bertrand 6287: 
                   6288: else
1.15      bertrand 6289:   RUNPATH="\${prefix}"
1.1       bertrand 6290: 
                   6291: fi
                   6292: 
1.15      bertrand 6293: 
                   6294: 
                   6295: 
                   6296: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   6297: $as_echo_n "checking whether ln -s works... " >&6; }
                   6298: LN_S=$as_ln_s
                   6299: if test "$LN_S" = "ln -s"; then
                   6300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6301: $as_echo "yes" >&6; }
                   6302: else
                   6303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   6304: $as_echo "no, using $LN_S" >&6; }
1.1       bertrand 6305: fi
                   6306: 
1.15      bertrand 6307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   6308: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   6309: set x ${MAKE-make}
                   6310: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.57      bertrand 6311: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.15      bertrand 6312:   $as_echo_n "(cached) " >&6
1.1       bertrand 6313: else
1.15      bertrand 6314:   cat >conftest.make <<\_ACEOF
                   6315: SHELL = /bin/sh
                   6316: all:
                   6317:    @echo '@@@%%%=$(MAKE)=@@@%%%'
1.14      bertrand 6318: _ACEOF
1.36      bertrand 6319: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.15      bertrand 6320: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   6321:   *@@@%%%=?*=@@@%%%*)
                   6322:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   6323:   *)
                   6324:     eval ac_cv_prog_make_${ac_make}_set=no;;
1.14      bertrand 6325: esac
1.15      bertrand 6326: rm -f conftest.make
                   6327: fi
                   6328: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   6329:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6330: $as_echo "yes" >&6; }
                   6331:   SET_MAKE=
                   6332: else
                   6333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6334: $as_echo "no" >&6; }
                   6335:   SET_MAKE="MAKE=${MAKE-make}"
                   6336: fi
1.1       bertrand 6337: 
1.15      bertrand 6338: if test -n "$ac_tool_prefix"; then
                   6339:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6340: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   6341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6342: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6343: if ${ac_cv_prog_RANLIB+:} false; then :
1.15      bertrand 6344:   $as_echo_n "(cached) " >&6
                   6345: else
                   6346:   if test -n "$RANLIB"; then
                   6347:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.1       bertrand 6348: else
1.15      bertrand 6349: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6350: for as_dir in $PATH
                   6351: do
                   6352:   IFS=$as_save_IFS
                   6353:   test -z "$as_dir" && as_dir=.
                   6354:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6355:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6356:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   6357:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6358:     break 2
                   6359:   fi
                   6360: done
                   6361:   done
                   6362: IFS=$as_save_IFS
1.1       bertrand 6363: 
                   6364: fi
1.15      bertrand 6365: fi
                   6366: RANLIB=$ac_cv_prog_RANLIB
                   6367: if test -n "$RANLIB"; then
                   6368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6369: $as_echo "$RANLIB" >&6; }
                   6370: else
                   6371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6372: $as_echo "no" >&6; }
                   6373: fi
                   6374: 
1.1       bertrand 6375: 
1.15      bertrand 6376: fi
                   6377: if test -z "$ac_cv_prog_RANLIB"; then
                   6378:   ac_ct_RANLIB=$RANLIB
                   6379:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6380: set dummy ranlib; ac_word=$2
                   6381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6382: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6383: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.15      bertrand 6384:   $as_echo_n "(cached) " >&6
                   6385: else
                   6386:   if test -n "$ac_ct_RANLIB"; then
                   6387:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6388: else
                   6389: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6390: for as_dir in $PATH
                   6391: do
                   6392:   IFS=$as_save_IFS
                   6393:   test -z "$as_dir" && as_dir=.
                   6394:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6395:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6396:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   6397:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6398:     break 2
                   6399:   fi
                   6400: done
1.14      bertrand 6401:   done
1.15      bertrand 6402: IFS=$as_save_IFS
                   6403: 
                   6404: fi
                   6405: fi
                   6406: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6407: if test -n "$ac_ct_RANLIB"; then
                   6408:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6409: $as_echo "$ac_ct_RANLIB" >&6; }
                   6410: else
                   6411:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6412: $as_echo "no" >&6; }
                   6413: fi
                   6414: 
                   6415:   if test "x$ac_ct_RANLIB" = x; then
                   6416:     RANLIB=":"
                   6417:   else
                   6418:     case $cross_compiling:$ac_tool_warned in
                   6419: yes:)
                   6420: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6421: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6422: ac_tool_warned=yes ;;
                   6423: esac
                   6424:     RANLIB=$ac_ct_RANLIB
                   6425:   fi
1.14      bertrand 6426: else
1.15      bertrand 6427:   RANLIB="$ac_cv_prog_RANLIB"
                   6428: fi
1.1       bertrand 6429: 
                   6430: 
1.15      bertrand 6431: # Extract the first word of "nawk", so it can be a program name with args.
                   6432: set dummy nawk; ac_word=$2
                   6433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6434: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6435: if ${ac_cv_prog_AWK+:} false; then :
1.15      bertrand 6436:   $as_echo_n "(cached) " >&6
                   6437: else
                   6438:   if test -n "$AWK"; then
                   6439:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   6440: else
                   6441: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6442: for as_dir in $PATH
                   6443: do
                   6444:   IFS=$as_save_IFS
                   6445:   test -z "$as_dir" && as_dir=.
                   6446:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6447:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6448:     ac_cv_prog_AWK="yes"
                   6449:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6450:     break 2
                   6451:   fi
                   6452: done
                   6453:   done
                   6454: IFS=$as_save_IFS
1.1       bertrand 6455: 
1.15      bertrand 6456:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
                   6457: fi
                   6458: fi
                   6459: AWK=$ac_cv_prog_AWK
                   6460: if test -n "$AWK"; then
                   6461:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   6462: $as_echo "$AWK" >&6; }
1.1       bertrand 6463: else
1.15      bertrand 6464:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6465: $as_echo "no" >&6; }
                   6466: fi
                   6467: 
1.1       bertrand 6468: 
1.15      bertrand 6469: if test "$AWK" = no; then
1.39      bertrand 6470:    # Extract the first word of "gawk", so it can be a program name with args.
                   6471: set dummy gawk; ac_word=$2
                   6472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6473: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6474: if ${ac_cv_prog_AWK+:} false; then :
1.39      bertrand 6475:   $as_echo_n "(cached) " >&6
                   6476: else
                   6477:   if test -n "$AWK"; then
                   6478:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   6479: else
                   6480: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6481: for as_dir in $PATH
                   6482: do
                   6483:   IFS=$as_save_IFS
                   6484:   test -z "$as_dir" && as_dir=.
                   6485:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6486:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6487:     ac_cv_prog_AWK="yes"
                   6488:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6489:     break 2
                   6490:   fi
                   6491: done
                   6492:   done
                   6493: IFS=$as_save_IFS
                   6494: 
                   6495:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
                   6496: fi
                   6497: fi
                   6498: AWK=$ac_cv_prog_AWK
                   6499: if test -n "$AWK"; then
                   6500:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   6501: $as_echo "$AWK" >&6; }
                   6502: else
                   6503:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6504: $as_echo "no" >&6; }
                   6505: fi
                   6506: 
                   6507: 
                   6508:    if test "$AWK" = no; then
                   6509:        as_fn_error $? "Can not find nawk !" "$LINENO" 5
                   6510:    fi
1.1       bertrand 6511: fi
                   6512: 
1.15      bertrand 6513: # Extract the first word of "sed", so it can be a program name with args.
                   6514: set dummy sed; ac_word=$2
                   6515: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6516: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6517: if ${ac_cv_prog_SED+:} false; then :
1.15      bertrand 6518:   $as_echo_n "(cached) " >&6
                   6519: else
                   6520:   if test -n "$SED"; then
                   6521:   ac_cv_prog_SED="$SED" # Let the user override the test.
                   6522: else
                   6523: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6524: for as_dir in $PATH
                   6525: do
                   6526:   IFS=$as_save_IFS
                   6527:   test -z "$as_dir" && as_dir=.
                   6528:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6529:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6530:     ac_cv_prog_SED="yes"
                   6531:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6532:     break 2
                   6533:   fi
                   6534: done
1.14      bertrand 6535:   done
1.15      bertrand 6536: IFS=$as_save_IFS
1.1       bertrand 6537: 
1.15      bertrand 6538:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
1.14      bertrand 6539: fi
1.15      bertrand 6540: fi
                   6541: SED=$ac_cv_prog_SED
                   6542: if test -n "$SED"; then
                   6543:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
                   6544: $as_echo "$SED" >&6; }
                   6545: else
                   6546:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6547: $as_echo "no" >&6; }
1.14      bertrand 6548: fi
1.1       bertrand 6549: 
                   6550: 
1.15      bertrand 6551: if test "$SED" = no; then
1.36      bertrand 6552:    as_fn_error $? "Can not find sed !" "$LINENO" 5
1.15      bertrand 6553: fi
1.14      bertrand 6554: 
1.15      bertrand 6555: if test "$TEX_SUPPORT" = guessed; then
                   6556:    POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
1.1       bertrand 6557: 
1.15      bertrand 6558:    # Extract the first word of "tex", so it can be a program name with args.
                   6559: set dummy tex; ac_word=$2
                   6560: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6561: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6562: if ${ac_cv_prog_TEX+:} false; then :
1.15      bertrand 6563:   $as_echo_n "(cached) " >&6
1.1       bertrand 6564: else
1.15      bertrand 6565:   if test -n "$TEX"; then
                   6566:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
1.1       bertrand 6567: else
1.15      bertrand 6568: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6569: for as_dir in $PATH
                   6570: do
                   6571:   IFS=$as_save_IFS
                   6572:   test -z "$as_dir" && as_dir=.
                   6573:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6574:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6575:     ac_cv_prog_TEX="yes"
                   6576:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6577:     break 2
                   6578:   fi
                   6579: done
                   6580:   done
                   6581: IFS=$as_save_IFS
1.1       bertrand 6582: 
1.15      bertrand 6583:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
1.1       bertrand 6584: fi
                   6585: fi
1.15      bertrand 6586: TEX=$ac_cv_prog_TEX
                   6587: if test -n "$TEX"; then
                   6588:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
                   6589: $as_echo "$TEX" >&6; }
                   6590: else
                   6591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6592: $as_echo "no" >&6; }
1.1       bertrand 6593: fi
1.14      bertrand 6594: 
                   6595: 
1.15      bertrand 6596:    if test "$TEX" = no; then
                   6597:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
                   6598: Download at http://tex.loria.fr/
                   6599: " >&5
                   6600: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
                   6601: Download at http://tex.loria.fr/
                   6602: " >&2;}
                   6603:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   6604:    fi
1.14      bertrand 6605: 
1.15      bertrand 6606:    # Extract the first word of "latex", so it can be a program name with args.
                   6607: set dummy latex; ac_word=$2
                   6608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6609: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6610: if ${ac_cv_prog_LATEX+:} false; then :
1.15      bertrand 6611:   $as_echo_n "(cached) " >&6
1.1       bertrand 6612: else
1.15      bertrand 6613:   if test -n "$LATEX"; then
                   6614:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
1.1       bertrand 6615: else
1.15      bertrand 6616: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6617: for as_dir in $PATH
                   6618: do
                   6619:   IFS=$as_save_IFS
                   6620:   test -z "$as_dir" && as_dir=.
                   6621:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6622:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6623:     ac_cv_prog_LATEX="yes"
                   6624:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6625:     break 2
                   6626:   fi
                   6627: done
                   6628:   done
                   6629: IFS=$as_save_IFS
1.1       bertrand 6630: 
1.15      bertrand 6631:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
1.1       bertrand 6632: fi
                   6633: fi
1.15      bertrand 6634: LATEX=$ac_cv_prog_LATEX
                   6635: if test -n "$LATEX"; then
                   6636:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
                   6637: $as_echo "$LATEX" >&6; }
                   6638: else
                   6639:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6640: $as_echo "no" >&6; }
                   6641: fi
1.14      bertrand 6642: 
1.1       bertrand 6643: 
1.15      bertrand 6644:    if test "$LATEX" = no; then
                   6645:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
                   6646: Download at http://tex.loria.fr/
                   6647: " >&5
                   6648: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
                   6649: Download at http://tex.loria.fr/
                   6650: " >&2;}
                   6651:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   6652:    fi
1.1       bertrand 6653: 
1.15      bertrand 6654:    # Extract the first word of "dvips", so it can be a program name with args.
                   6655: set dummy dvips; ac_word=$2
                   6656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6657: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6658: if ${ac_cv_prog_DVIPS+:} false; then :
1.15      bertrand 6659:   $as_echo_n "(cached) " >&6
                   6660: else
                   6661:   if test -n "$DVIPS"; then
                   6662:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
                   6663: else
                   6664: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6665: for as_dir in $PATH
                   6666: do
                   6667:   IFS=$as_save_IFS
                   6668:   test -z "$as_dir" && as_dir=.
                   6669:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6670:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6671:     ac_cv_prog_DVIPS="yes"
                   6672:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6673:     break 2
                   6674:   fi
                   6675: done
                   6676:   done
                   6677: IFS=$as_save_IFS
1.1       bertrand 6678: 
1.15      bertrand 6679:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
                   6680: fi
1.1       bertrand 6681: fi
1.15      bertrand 6682: DVIPS=$ac_cv_prog_DVIPS
                   6683: if test -n "$DVIPS"; then
                   6684:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
                   6685: $as_echo "$DVIPS" >&6; }
1.1       bertrand 6686: else
1.15      bertrand 6687:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6688: $as_echo "no" >&6; }
                   6689: fi
1.1       bertrand 6690: 
                   6691: 
1.15      bertrand 6692:    if test "$DVIPS" = no; then
                   6693:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
                   6694: Download at http://tex.loria.fr/
                   6695: " >&5
                   6696: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
                   6697: Download at http://tex.loria.fr/
                   6698: " >&2;}
                   6699:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   6700:    fi
1.1       bertrand 6701: 
1.15      bertrand 6702:    # Extract the first word of "gs", so it can be a program name with args.
                   6703: set dummy gs; ac_word=$2
                   6704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6705: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6706: if ${ac_cv_prog_GS+:} false; then :
1.15      bertrand 6707:   $as_echo_n "(cached) " >&6
                   6708: else
                   6709:   if test -n "$GS"; then
                   6710:   ac_cv_prog_GS="$GS" # Let the user override the test.
1.1       bertrand 6711: else
1.15      bertrand 6712: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6713: for as_dir in $PATH
                   6714: do
                   6715:   IFS=$as_save_IFS
                   6716:   test -z "$as_dir" && as_dir=.
                   6717:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6718:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6719:     ac_cv_prog_GS="yes"
                   6720:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6721:     break 2
                   6722:   fi
                   6723: done
                   6724:   done
                   6725: IFS=$as_save_IFS
1.1       bertrand 6726: 
1.15      bertrand 6727:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
                   6728: fi
                   6729: fi
                   6730: GS=$ac_cv_prog_GS
                   6731: if test -n "$GS"; then
                   6732:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
                   6733: $as_echo "$GS" >&6; }
                   6734: else
                   6735:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6736: $as_echo "no" >&6; }
1.1       bertrand 6737: fi
                   6738: 
1.15      bertrand 6739: 
                   6740:    if test "$GS" = no; then
                   6741:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
                   6742: Download at http://ftp.lip6.fr/
                   6743: " >&5
                   6744: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
                   6745: Download at http://ftp.lip6.fr/
                   6746: " >&2;}
                   6747:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   6748:    fi
                   6749: 
                   6750:    # Extract the first word of "gv", so it can be a program name with args.
                   6751: set dummy gv; ac_word=$2
                   6752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6753: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6754: if ${ac_cv_prog_GV+:} false; then :
1.15      bertrand 6755:   $as_echo_n "(cached) " >&6
                   6756: else
                   6757:   if test -n "$GV"; then
                   6758:   ac_cv_prog_GV="$GV" # Let the user override the test.
                   6759: else
                   6760: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6761: for as_dir in $PATH
                   6762: do
                   6763:   IFS=$as_save_IFS
                   6764:   test -z "$as_dir" && as_dir=.
                   6765:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6766:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6767:     ac_cv_prog_GV="yes"
                   6768:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6769:     break 2
                   6770:   fi
                   6771: done
1.14      bertrand 6772:   done
1.15      bertrand 6773: IFS=$as_save_IFS
1.1       bertrand 6774: 
1.15      bertrand 6775:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
                   6776: fi
1.1       bertrand 6777: fi
1.15      bertrand 6778: GV=$ac_cv_prog_GV
                   6779: if test -n "$GV"; then
                   6780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
                   6781: $as_echo "$GV" >&6; }
                   6782: else
                   6783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6784: $as_echo "no" >&6; }
1.1       bertrand 6785: fi
1.14      bertrand 6786: 
                   6787: 
1.15      bertrand 6788:    if test "$GV" = no; then
                   6789:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
                   6790: Download at http://ftp.lip6.fr/
                   6791: " >&5
                   6792: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
                   6793: Download at http://ftp.lip6.fr/
                   6794: " >&2;}
                   6795:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   6796:    fi
1.1       bertrand 6797: else
1.15      bertrand 6798:    if test "$TEX_SUPPORT" = no; then
                   6799:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   6800:    else
                   6801:        POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
                   6802:    fi
1.1       bertrand 6803: fi
                   6804: 
1.15      bertrand 6805: if test "$GNUPLOT_SUPPORT" = guessed; then
                   6806:    # Extract the first word of "gnuplot", so it can be a program name with args.
                   6807: set dummy gnuplot; ac_word=$2
                   6808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6809: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6810: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
1.15      bertrand 6811:   $as_echo_n "(cached) " >&6
1.14      bertrand 6812: else
1.15      bertrand 6813:   if test -n "$GNUPLOT_P"; then
                   6814:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
1.1       bertrand 6815: else
1.15      bertrand 6816: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6817: for as_dir in $PATH
                   6818: do
                   6819:   IFS=$as_save_IFS
                   6820:   test -z "$as_dir" && as_dir=.
                   6821:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6822:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6823:     ac_cv_prog_GNUPLOT_P="yes"
                   6824:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6825:     break 2
                   6826:   fi
                   6827: done
                   6828:   done
                   6829: IFS=$as_save_IFS
1.1       bertrand 6830: 
1.15      bertrand 6831:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
1.1       bertrand 6832: fi
                   6833: fi
1.15      bertrand 6834: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
                   6835: if test -n "$GNUPLOT_P"; then
                   6836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
                   6837: $as_echo "$GNUPLOT_P" >&6; }
                   6838: else
                   6839:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6840: $as_echo "no" >&6; }
1.1       bertrand 6841: fi
                   6842: 
                   6843: 
1.15      bertrand 6844:    if test "$GNUPLOT_P" = no; then
                   6845:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
                   6846: Download at http://www.gnuplot.vt.edu/
                   6847: " >&5
                   6848: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
                   6849: Download at http://www.gnuplot.vt.edu/
                   6850: " >&2;}
                   6851:        GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
                   6852:    else
                   6853:        GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
                   6854:    fi
                   6855: else
                   6856:    if test "$GNUPLOT_SUPPORT" = no; then
                   6857:        GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
                   6858:    else
                   6859:        GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
                   6860:    fi
                   6861: fi
1.1       bertrand 6862: 
1.15      bertrand 6863: if test "$VIM_SUPPORT" = guessed; then
                   6864:    # Extract the first word of "vim", so it can be a program name with args.
                   6865: set dummy vim; ac_word=$2
                   6866: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6867: $as_echo_n "checking for $ac_word... " >&6; }
1.57      bertrand 6868: if ${ac_cv_prog_VIM+:} false; then :
1.15      bertrand 6869:   $as_echo_n "(cached) " >&6
1.1       bertrand 6870: else
1.15      bertrand 6871:   if test -n "$VIM"; then
                   6872:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
1.1       bertrand 6873: else
1.15      bertrand 6874: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6875: for as_dir in $PATH
                   6876: do
                   6877:   IFS=$as_save_IFS
                   6878:   test -z "$as_dir" && as_dir=.
                   6879:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6880:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6881:     ac_cv_prog_VIM="yes"
                   6882:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6883:     break 2
                   6884:   fi
                   6885: done
                   6886:   done
                   6887: IFS=$as_save_IFS
1.1       bertrand 6888: 
1.15      bertrand 6889:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
1.1       bertrand 6890: fi
                   6891: fi
1.15      bertrand 6892: VIM=$ac_cv_prog_VIM
                   6893: if test -n "$VIM"; then
                   6894:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
                   6895: $as_echo "$VIM" >&6; }
1.1       bertrand 6896: else
1.15      bertrand 6897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6898: $as_echo "no" >&6; }
                   6899: fi
1.1       bertrand 6900: 
                   6901: 
1.15      bertrand 6902:    if test "$VIM" = no; then
                   6903:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
                   6904: Download at http://www.vim.org/
                   6905: " >&5
                   6906: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
                   6907: Download at http://www.vim.org/
                   6908: " >&2;}
                   6909:        VIM_SUPPORT="-UVIM_SUPPORT"
                   6910:    else
                   6911:        VIM_SUPPORT="-DVIM_SUPPORT"
                   6912:    fi
1.1       bertrand 6913: else
1.15      bertrand 6914:    if test "$VIM_SUPPORT" = no; then
                   6915:        VIM_SUPPORT="-UVIM_SUPPORT"
                   6916:    else
                   6917:        VIM_SUPPORT="-DVIM_SUPPORT"
                   6918:    fi
1.1       bertrand 6919: fi
                   6920: 
1.15      bertrand 6921: if test "$MOTIF_SUPPORT" = guessed; then
                   6922:    CFLAGS_ORIG=$CFLAGS
                   6923:    LIBS_ORIG=$LIBS
                   6924:    CFLAGS="$CFLAGS $X_CFLAGS"
                   6925:    LIBS="$LIB $X_LIBS"
                   6926:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
                   6927: $as_echo_n "checking for main in -lXm... " >&6; }
1.57      bertrand 6928: if ${ac_cv_lib_Xm_main+:} false; then :
1.15      bertrand 6929:   $as_echo_n "(cached) " >&6
1.1       bertrand 6930: else
1.15      bertrand 6931:   ac_check_lib_save_LIBS=$LIBS
                   6932: LIBS="-lXm  $LIBS"
                   6933: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6934: /* end confdefs.h.  */
1.1       bertrand 6935: 
                   6936: 
1.14      bertrand 6937: int
                   6938: main ()
                   6939: {
1.15      bertrand 6940: return main ();
1.14      bertrand 6941:   ;
                   6942:   return 0;
                   6943: }
                   6944: _ACEOF
1.15      bertrand 6945: if ac_fn_c_try_link "$LINENO"; then :
                   6946:   ac_cv_lib_Xm_main=yes
1.1       bertrand 6947: else
1.15      bertrand 6948:   ac_cv_lib_Xm_main=no
                   6949: fi
                   6950: rm -f core conftest.err conftest.$ac_objext \
                   6951:     conftest$ac_exeext conftest.$ac_ext
                   6952: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 6953: fi
1.15      bertrand 6954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
                   6955: $as_echo "$ac_cv_lib_Xm_main" >&6; }
1.57      bertrand 6956: if test "x$ac_cv_lib_Xm_main" = xyes; then :
1.15      bertrand 6957:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
1.1       bertrand 6958: else
1.15      bertrand 6959:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
1.1       bertrand 6960: fi
1.14      bertrand 6961: 
1.15      bertrand 6962:    if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
                   6963:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
                   6964: Motif flag is disabled.
                   6965: " >&5
                   6966: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
                   6967: Motif flag is disabled.
                   6968: " >&2;}
                   6969:    fi
                   6970:    LIBS=$LIBS_ORIG
                   6971:    CFLAGS=$CFLAGS_ORIG
1.1       bertrand 6972: fi
                   6973: 
1.15      bertrand 6974: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
                   6975:    CFLAGS_ORIG=$CFLAGS
                   6976:    LIBS_ORIG=$LIBS
                   6977:    CFLAGS="$CFLAGS $X_CFLAGS"
                   6978:    LIBS="$LIB $X_LIBS"
                   6979:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
                   6980: $as_echo_n "checking for main in -lXpm... " >&6; }
1.57      bertrand 6981: if ${ac_cv_lib_Xpm_main+:} false; then :
1.15      bertrand 6982:   $as_echo_n "(cached) " >&6
                   6983: else
                   6984:   ac_check_lib_save_LIBS=$LIBS
                   6985: LIBS="-lXpm  $LIBS"
                   6986: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 6987: /* end confdefs.h.  */
                   6988: 
1.1       bertrand 6989: 
                   6990: int
                   6991: main ()
                   6992: {
1.15      bertrand 6993: return main ();
1.1       bertrand 6994:   ;
                   6995:   return 0;
                   6996: }
                   6997: _ACEOF
1.15      bertrand 6998: if ac_fn_c_try_link "$LINENO"; then :
                   6999:   ac_cv_lib_Xpm_main=yes
1.1       bertrand 7000: else
1.15      bertrand 7001:   ac_cv_lib_Xpm_main=no
                   7002: fi
                   7003: rm -f core conftest.err conftest.$ac_objext \
                   7004:     conftest$ac_exeext conftest.$ac_ext
                   7005: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 7006: fi
1.15      bertrand 7007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
                   7008: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
1.57      bertrand 7009: if test "x$ac_cv_lib_Xpm_main" = xyes; then :
1.15      bertrand 7010:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
                   7011: else
                   7012:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
1.1       bertrand 7013: fi
1.15      bertrand 7014: 
                   7015:    if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
                   7016:        libX="$X_LIBS -lXm -lXpm -lXt -lX11"
                   7017:    else
                   7018:        libX=""
                   7019:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
                   7020: Motif flag is disabled.
                   7021: " >&5
                   7022: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
                   7023: Motif flag is disabled.
                   7024: " >&2;}
                   7025:    fi
                   7026:    LIBS=$LIBS_ORIG
                   7027:    CFLAGS=$CFLAGS_ORIG
                   7028: else
                   7029:    libX=""
1.1       bertrand 7030: fi
1.14      bertrand 7031: 
                   7032: 
                   7033: 
1.1       bertrand 7034: 
                   7035: 
1.15      bertrand 7036: 
                   7037: 
                   7038: 
                   7039: 
                   7040: 
                   7041: 
                   7042: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
                   7043: 
                   7044: 
                   7045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
                   7046: $as_echo_n "checking for main in -lm... " >&6; }
1.57      bertrand 7047: if ${ac_cv_lib_m_main+:} false; then :
1.15      bertrand 7048:   $as_echo_n "(cached) " >&6
1.1       bertrand 7049: else
1.15      bertrand 7050:   ac_check_lib_save_LIBS=$LIBS
                   7051: LIBS="-lm  $LIBS"
                   7052: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7053: /* end confdefs.h.  */
1.15      bertrand 7054: 
                   7055: 
1.1       bertrand 7056: int
                   7057: main ()
                   7058: {
1.15      bertrand 7059: return main ();
1.1       bertrand 7060:   ;
                   7061:   return 0;
                   7062: }
                   7063: _ACEOF
1.15      bertrand 7064: if ac_fn_c_try_link "$LINENO"; then :
                   7065:   ac_cv_lib_m_main=yes
1.1       bertrand 7066: else
1.15      bertrand 7067:   ac_cv_lib_m_main=no
                   7068: fi
                   7069: rm -f core conftest.err conftest.$ac_objext \
                   7070:     conftest$ac_exeext conftest.$ac_ext
                   7071: LIBS=$ac_check_lib_save_LIBS
                   7072: fi
                   7073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
                   7074: $as_echo "$ac_cv_lib_m_main" >&6; }
1.57      bertrand 7075: if test "x$ac_cv_lib_m_main" = xyes; then :
1.15      bertrand 7076:   cat >>confdefs.h <<_ACEOF
                   7077: #define HAVE_LIBM 1
                   7078: _ACEOF
1.14      bertrand 7079: 
1.15      bertrand 7080:   LIBS="-lm $LIBS"
1.1       bertrand 7081: 
1.15      bertrand 7082: else
1.36      bertrand 7083:   as_fn_error $? "Can not find libm !" "$LINENO" 5
1.1       bertrand 7084: fi
                   7085: 
1.15      bertrand 7086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
                   7087: $as_echo_n "checking for main in -lpthread... " >&6; }
1.57      bertrand 7088: if ${ac_cv_lib_pthread_main+:} false; then :
1.15      bertrand 7089:   $as_echo_n "(cached) " >&6
1.1       bertrand 7090: else
1.15      bertrand 7091:   ac_check_lib_save_LIBS=$LIBS
                   7092: LIBS="-lpthread  $LIBS"
                   7093: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7094: /* end confdefs.h.  */
1.15      bertrand 7095: 
                   7096: 
1.14      bertrand 7097: int
                   7098: main ()
                   7099: {
1.15      bertrand 7100: return main ();
1.14      bertrand 7101:   ;
                   7102:   return 0;
                   7103: }
                   7104: _ACEOF
1.15      bertrand 7105: if ac_fn_c_try_link "$LINENO"; then :
                   7106:   ac_cv_lib_pthread_main=yes
                   7107: else
                   7108:   ac_cv_lib_pthread_main=no
                   7109: fi
                   7110: rm -f core conftest.err conftest.$ac_objext \
                   7111:     conftest$ac_exeext conftest.$ac_ext
                   7112: LIBS=$ac_check_lib_save_LIBS
                   7113: fi
                   7114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
                   7115: $as_echo "$ac_cv_lib_pthread_main" >&6; }
1.57      bertrand 7116: if test "x$ac_cv_lib_pthread_main" = xyes; then :
1.15      bertrand 7117:   cat >>confdefs.h <<_ACEOF
                   7118: #define HAVE_LIBPTHREAD 1
1.14      bertrand 7119: _ACEOF
                   7120: 
1.15      bertrand 7121:   LIBS="-lpthread $LIBS"
                   7122: 
1.1       bertrand 7123: else
1.36      bertrand 7124:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
1.15      bertrand 7125: fi
1.14      bertrand 7126: 
1.1       bertrand 7127: 
1.33      bertrand 7128: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
                   7129: #include <sys/sem.h>
                   7130: 
                   7131: "
1.57      bertrand 7132: if test "x$ac_cv_type_union_semun" = xyes; then :
1.33      bertrand 7133:   SEMUN=-DUNION_SEMUN
                   7134: else
                   7135:   SEMUN=-UUNION_SEMUN
                   7136: fi
                   7137: 
                   7138: 
1.34      bertrand 7139: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
1.35      bertrand 7140: #include <sys/types.h>
1.34      bertrand 7141: #include <netinet/in.h>
                   7142: 
                   7143: "
1.57      bertrand 7144: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
1.34      bertrand 7145:   IPV6=-DIPV6
                   7146: else
                   7147:   IPV6=-UIPV6
                   7148: fi
                   7149: 
                   7150: 
1.15      bertrand 7151: if test "$CYGWIN" != yes; then
                   7152:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   7153: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.57      bertrand 7154: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.15      bertrand 7155:   $as_echo_n "(cached) " >&6
1.1       bertrand 7156: else
1.15      bertrand 7157:   ac_check_lib_save_LIBS=$LIBS
                   7158: LIBS="-ldl  $LIBS"
                   7159: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7160: /* end confdefs.h.  */
                   7161: 
1.15      bertrand 7162: /* Override any GCC internal prototype to avoid an error.
                   7163:    Use char because int might match the return type of a GCC
                   7164:    builtin and then its argument prototype would still apply.  */
                   7165: #ifdef __cplusplus
                   7166: extern "C"
                   7167: #endif
                   7168: char dlopen ();
1.1       bertrand 7169: int
                   7170: main ()
                   7171: {
1.15      bertrand 7172: return dlopen ();
1.1       bertrand 7173:   ;
                   7174:   return 0;
                   7175: }
                   7176: _ACEOF
1.15      bertrand 7177: if ac_fn_c_try_link "$LINENO"; then :
                   7178:   ac_cv_lib_dl_dlopen=yes
1.1       bertrand 7179: else
1.15      bertrand 7180:   ac_cv_lib_dl_dlopen=no
                   7181: fi
                   7182: rm -f core conftest.err conftest.$ac_objext \
                   7183:     conftest$ac_exeext conftest.$ac_ext
                   7184: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 7185: fi
1.15      bertrand 7186: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   7187: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.57      bertrand 7188: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.15      bertrand 7189:   LIBS="$LIBS -ldl"
1.14      bertrand 7190: else
1.15      bertrand 7191:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
                   7192: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
1.1       bertrand 7193: fi
                   7194: 
1.14      bertrand 7195: fi
1.1       bertrand 7196: 
1.15      bertrand 7197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
                   7198: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
1.57      bertrand 7199: if ${ac_cv_lib_rt_nanosleep+:} false; then :
1.15      bertrand 7200:   $as_echo_n "(cached) " >&6
                   7201: else
                   7202:   ac_check_lib_save_LIBS=$LIBS
                   7203: LIBS="-lrt  $LIBS"
                   7204: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7205: /* end confdefs.h.  */
1.15      bertrand 7206: 
                   7207: /* Override any GCC internal prototype to avoid an error.
                   7208:    Use char because int might match the return type of a GCC
                   7209:    builtin and then its argument prototype would still apply.  */
                   7210: #ifdef __cplusplus
                   7211: extern "C"
                   7212: #endif
                   7213: char nanosleep ();
1.1       bertrand 7214: int
                   7215: main ()
                   7216: {
1.15      bertrand 7217: return nanosleep ();
1.1       bertrand 7218:   ;
                   7219:   return 0;
                   7220: }
                   7221: _ACEOF
1.15      bertrand 7222: if ac_fn_c_try_link "$LINENO"; then :
                   7223:   ac_cv_lib_rt_nanosleep=yes
                   7224: else
                   7225:   ac_cv_lib_rt_nanosleep=no
                   7226: fi
                   7227: rm -f core conftest.err conftest.$ac_objext \
                   7228:     conftest$ac_exeext conftest.$ac_ext
                   7229: LIBS=$ac_check_lib_save_LIBS
                   7230: fi
                   7231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
                   7232: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
1.57      bertrand 7233: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
1.15      bertrand 7234:   LIBS="$LIBS -lrt"
1.1       bertrand 7235: else
1.15      bertrand 7236:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
                   7237: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
                   7238: fi
1.1       bertrand 7239: 
                   7240: 
1.15      bertrand 7241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
                   7242: $as_echo_n "checking for bind in -lsocket... " >&6; }
1.57      bertrand 7243: if ${ac_cv_lib_socket_bind+:} false; then :
1.15      bertrand 7244:   $as_echo_n "(cached) " >&6
1.1       bertrand 7245: else
1.15      bertrand 7246:   ac_check_lib_save_LIBS=$LIBS
                   7247: LIBS="-lsocket  $LIBS"
                   7248: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7249: /* end confdefs.h.  */
1.15      bertrand 7250: 
                   7251: /* Override any GCC internal prototype to avoid an error.
                   7252:    Use char because int might match the return type of a GCC
                   7253:    builtin and then its argument prototype would still apply.  */
                   7254: #ifdef __cplusplus
                   7255: extern "C"
                   7256: #endif
                   7257: char bind ();
1.1       bertrand 7258: int
                   7259: main ()
                   7260: {
1.15      bertrand 7261: return bind ();
1.1       bertrand 7262:   ;
                   7263:   return 0;
                   7264: }
                   7265: _ACEOF
1.15      bertrand 7266: if ac_fn_c_try_link "$LINENO"; then :
                   7267:   ac_cv_lib_socket_bind=yes
1.1       bertrand 7268: else
1.15      bertrand 7269:   ac_cv_lib_socket_bind=no
1.1       bertrand 7270: fi
1.15      bertrand 7271: rm -f core conftest.err conftest.$ac_objext \
                   7272:     conftest$ac_exeext conftest.$ac_ext
                   7273: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 7274: fi
1.15      bertrand 7275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
                   7276: $as_echo "$ac_cv_lib_socket_bind" >&6; }
1.57      bertrand 7277: if test "x$ac_cv_lib_socket_bind" = xyes; then :
1.15      bertrand 7278:   LIBS="$LIBS -lsocket"
                   7279: else
                   7280:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
                   7281: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
1.1       bertrand 7282: fi
                   7283: 
                   7284: 
1.15      bertrand 7285: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7286: 
                   7287: # Check whether --with-mysql was given.
                   7288: if test "${with_mysql+set}" = set; then :
                   7289:   withval=$with_mysql;
                   7290: else
                   7291:   with_mysql=check
                   7292: fi
1.14      bertrand 7293: 
                   7294: 
1.15      bertrand 7295: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
                   7296:    libMySQLinc="-I/usr/include"
1.30      bertrand 7297:    libMySQLlib="/usr/lib"
1.14      bertrand 7298: 
1.15      bertrand 7299:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
                   7300: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
                   7301:    saved_CFLAGS="$CFLAGS"
1.30      bertrand 7302:    CFLAGS="$CFLAGS -L/$libMySQLinc"
1.15      bertrand 7303:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7304: /* end confdefs.h.  */
1.15      bertrand 7305: #include "mysql.h"
1.1       bertrand 7306: int
                   7307: main ()
                   7308: {
1.15      bertrand 7309: 
1.1       bertrand 7310:   ;
                   7311:   return 0;
                   7312: }
                   7313: _ACEOF
1.15      bertrand 7314: if ac_fn_c_try_compile "$LINENO"; then :
                   7315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7316: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7317:                    libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7318: else
1.15      bertrand 7319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7320: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.1       bertrand 7321: fi
1.14      bertrand 7322: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7323:    CFLAGS=$saved_CFLAGS
1.1       bertrand 7324: 
1.15      bertrand 7325:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                   7326:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
                   7327: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
                   7328:        saved_CFLAGS="$CFLAGS"
                   7329:        CFLAGS="$CFLAGS $libMySQLinc/mysql"
                   7330:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7331: /* end confdefs.h.  */
1.15      bertrand 7332: #include "mysql.h"
1.1       bertrand 7333: int
                   7334: main ()
                   7335: {
                   7336: 
                   7337:   ;
                   7338:   return 0;
                   7339: }
                   7340: _ACEOF
1.15      bertrand 7341: if ac_fn_c_try_compile "$LINENO"; then :
                   7342:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7343: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7344:                        libMySQLinc=$libMySQLinc
                   7345: else
                   7346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7347: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7348: fi
                   7349: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7350:        CFLAGS=$saved_CFLAGS
                   7351:        libMySQLinc=$libMySQLinc/mysql
                   7352:    fi
                   7353: 
                   7354:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                   7355:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
                   7356: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
                   7357:        saved_CFLAGS="$CFLAGS"
                   7358:        CFLAGS="$CFLAGS $libMySQLinc/../local/include"
                   7359:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7360: /* end confdefs.h.  */
1.15      bertrand 7361: #include "mysql.h"
1.1       bertrand 7362: int
                   7363: main ()
                   7364: {
                   7365: 
                   7366:   ;
                   7367:   return 0;
                   7368: }
                   7369: _ACEOF
1.15      bertrand 7370: if ac_fn_c_try_compile "$LINENO"; then :
                   7371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7372: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7373:                        libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7374: else
1.15      bertrand 7375:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7376: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.1       bertrand 7377: fi
                   7378: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7379:        CFLAGS=$saved_CFLAGS
                   7380:        libMySQLinc=$libMySQLinc/../local/include
                   7381:        libMySQLlib=$libMySQLlib/../local/lib
                   7382:    fi
1.1       bertrand 7383: 
1.15      bertrand 7384:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                   7385:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
                   7386: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
                   7387:        saved_CFLAGS="$CFLAGS"
                   7388:        CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
                   7389:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7390: /* end confdefs.h.  */
1.15      bertrand 7391: #include "mysql.h"
1.1       bertrand 7392: int
                   7393: main ()
                   7394: {
                   7395: 
                   7396:   ;
                   7397:   return 0;
                   7398: }
                   7399: _ACEOF
1.15      bertrand 7400: if ac_fn_c_try_compile "$LINENO"; then :
                   7401:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7402: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7403:                        libMySQLinc=$libMySQLinc/mysql
                   7404: else
                   7405:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7406: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7407: fi
                   7408: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7409:        CFLAGS=$saved_CFLAGS
                   7410:        libMySQLinc=$libMySQLinc/../local/include/mysql
                   7411:        libMySQLlib=$libMySQLlib/../local/lib
                   7412:    fi
                   7413: else
                   7414:    if test "x$with_mysql" != xno; then
                   7415:        libMySQLinc="-I$with_mysql/include"
1.30      bertrand 7416:        libMySQLlib="$with_mysql/lib"
1.15      bertrand 7417: 
                   7418:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
                   7419: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
                   7420:        saved_CFLAGS="$CFLAGS"
                   7421:        CFLAGS="$CFLAGS $libMySQLinc"
                   7422:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7423: /* end confdefs.h.  */
1.15      bertrand 7424: #include "mysql.h"
1.1       bertrand 7425: int
                   7426: main ()
                   7427: {
                   7428: 
                   7429:   ;
                   7430:   return 0;
                   7431: }
                   7432: _ACEOF
1.15      bertrand 7433: if ac_fn_c_try_compile "$LINENO"; then :
                   7434:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7435: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7436:                        libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7437: else
1.15      bertrand 7438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7439: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.14      bertrand 7440: fi
                   7441: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7442:        CFLAGS=$saved_CFLAGS
1.1       bertrand 7443: 
1.15      bertrand 7444:        if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                   7445:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
                   7446: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
                   7447:            saved_CFLAGS="$CFLAGS"
                   7448:            CFLAGS="$CFLAGS $libMySQLinc/mysql"
                   7449:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7450: /* end confdefs.h.  */
1.15      bertrand 7451: #include "mysql.h"
1.1       bertrand 7452: int
                   7453: main ()
                   7454: {
                   7455: 
                   7456:   ;
                   7457:   return 0;
                   7458: }
                   7459: _ACEOF
1.15      bertrand 7460: if ac_fn_c_try_compile "$LINENO"; then :
                   7461:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7462: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7463:                            libMySQLinc=$libMySQLinc
1.1       bertrand 7464: else
1.15      bertrand 7465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7466: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7467: fi
                   7468: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7469:            CFLAGS=$saved_CFLAGS
                   7470:            libMySQLinc=$libMySQLinc/mysql
                   7471:        fi
                   7472:    else
                   7473:        MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7474:    fi
                   7475: fi
1.14      bertrand 7476: 
1.15      bertrand 7477: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
                   7478:    MYSQL_LIB=no
1.14      bertrand 7479: 
1.15      bertrand 7480:    if test $MYSQL_LIB = no; then
                   7481:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
                   7482: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
                   7483:        saved_LIBS="$LIBS"
1.30      bertrand 7484:        if test $STATIC = no; then
                   7485:            LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
                   7486:        else
                   7487:            LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
                   7488:        fi
1.15      bertrand 7489:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7490: /* end confdefs.h.  */
1.15      bertrand 7491: #include "mysql.h"
1.1       bertrand 7492: int
                   7493: main ()
                   7494: {
1.15      bertrand 7495: MYSQL mysql; mysql_init(&mysql);
1.1       bertrand 7496:   ;
                   7497:   return 0;
                   7498: }
                   7499: _ACEOF
1.15      bertrand 7500: if ac_fn_c_try_link "$LINENO"; then :
                   7501:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7502: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
1.1       bertrand 7503: else
1.15      bertrand 7504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7505: $as_echo "no" >&6; }; MYSQL_LIB="no"
                   7506: fi
                   7507: rm -f core conftest.err conftest.$ac_objext \
                   7508:     conftest$ac_exeext conftest.$ac_ext
                   7509:        LIBS=$saved_LIBS;
1.30      bertrand 7510:        if test $STATIC = no; then
                   7511:            libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
                   7512:        else
                   7513:            libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
                   7514:            EXT_SQL="$EXT_SQL $libMySQLlib"
                   7515:        fi
1.15      bertrand 7516:    fi
1.14      bertrand 7517: 
1.15      bertrand 7518:    if test $MYSQL_LIB = no; then
                   7519:        MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7520:    fi
1.14      bertrand 7521: fi
1.15      bertrand 7522: 
                   7523: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
                   7524:    libMySQLinc=
                   7525:    libMySQLlib=
1.1       bertrand 7526: fi
1.14      bertrand 7527: 
                   7528: 
                   7529: 
1.1       bertrand 7530: 
                   7531: 
1.15      bertrand 7532: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
                   7533: 
                   7534: # Check whether --with-postgresql was given.
                   7535: if test "${with_postgresql+set}" = set; then :
                   7536:   withval=$with_postgresql;
1.14      bertrand 7537: else
1.15      bertrand 7538:   with_postgresql=check
                   7539: fi
                   7540: 
                   7541: 
                   7542: # with_postgresql : check [pas défini], yes [uniquement --with],
                   7543: # no [--without], valeur [--with=valeur].
                   7544: 
                   7545: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
                   7546:    libPgSQLinc="-I/usr/include"
1.30      bertrand 7547:    libPgSQLlib="/usr/lib"
1.15      bertrand 7548: 
                   7549:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
                   7550: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
                   7551:    saved_CFLAGS="$CFLAGS"
                   7552:    CFLAGS="$CFLAGS $libPgSQLinc"
                   7553:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7554: /* end confdefs.h.  */
1.15      bertrand 7555: #include "libpq-fe.h"
1.1       bertrand 7556: int
                   7557: main ()
                   7558: {
1.15      bertrand 7559: 
1.1       bertrand 7560:   ;
                   7561:   return 0;
                   7562: }
                   7563: _ACEOF
1.15      bertrand 7564: if ac_fn_c_try_compile "$LINENO"; then :
                   7565:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7566: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7567: else
1.15      bertrand 7568:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7569: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7570: fi
1.14      bertrand 7571: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7572:    CFLAGS=$saved_CFLAGS
1.1       bertrand 7573: 
1.15      bertrand 7574:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7575:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
                   7576: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
                   7577:        saved_CFLAGS="$CFLAGS"
                   7578:        CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
                   7579:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7580: /* end confdefs.h.  */
1.15      bertrand 7581: #include "libpq-fe.h"
1.1       bertrand 7582: int
                   7583: main ()
                   7584: {
                   7585: 
                   7586:   ;
                   7587:   return 0;
                   7588: }
                   7589: _ACEOF
1.15      bertrand 7590: if ac_fn_c_try_compile "$LINENO"; then :
                   7591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7592: $as_echo "yes" >&6; };
                   7593:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
                   7594: else
                   7595:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7596: $as_echo "no" >&6; };
                   7597:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
                   7598: fi
                   7599: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7600:        CFLAGS=$saved_CFLAGS
                   7601:        libPgSQLinc=$libPgSQLinc/postgresql
                   7602:    fi
                   7603: 
                   7604:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7605:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
                   7606: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
                   7607:        saved_CFLAGS="$CFLAGS"
                   7608:        CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
                   7609:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7610: /* end confdefs.h.  */
1.15      bertrand 7611: #include "libpq-fe.h"
1.1       bertrand 7612: int
                   7613: main ()
                   7614: {
                   7615: 
                   7616:   ;
                   7617:   return 0;
                   7618: }
                   7619: _ACEOF
1.15      bertrand 7620: if ac_fn_c_try_compile "$LINENO"; then :
                   7621:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7622: $as_echo "yes" >&6; };
                   7623:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7624: else
1.15      bertrand 7625:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7626: $as_echo "no" >&6; };
                   7627:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7628: fi
                   7629: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7630:        CFLAGS=$saved_CFLAGS
                   7631:        libPgSQLinc=$libPgSQLinc/pgsql
                   7632:    fi
1.1       bertrand 7633: 
1.15      bertrand 7634:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7635:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
                   7636: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
                   7637:        saved_CFLAGS="$CFLAGS"
                   7638:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
                   7639:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7640: /* end confdefs.h.  */
1.15      bertrand 7641: #include "libpq-fe.h"
1.1       bertrand 7642: int
                   7643: main ()
                   7644: {
                   7645: 
                   7646:   ;
                   7647:   return 0;
                   7648: }
                   7649: _ACEOF
1.15      bertrand 7650: if ac_fn_c_try_compile "$LINENO"; then :
                   7651:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7652: $as_echo "yes" >&6; };
                   7653:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
                   7654: else
                   7655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7656: $as_echo "no" >&6; };
                   7657:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
                   7658: fi
                   7659: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7660:        CFLAGS=$saved_CFLAGS
                   7661:        libPgSQLinc=$libPgSQLinc/../local/include
                   7662:        libPgSQLlib=$libPgSQLlib/../local/lib
                   7663:    fi
                   7664: 
                   7665:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7666:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
                   7667: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
                   7668:        saved_CFLAGS="$CFLAGS"
                   7669:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
                   7670:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7671: /* end confdefs.h.  */
1.15      bertrand 7672: #include "libpq-fe.h"
1.1       bertrand 7673: int
                   7674: main ()
                   7675: {
                   7676: 
                   7677:   ;
                   7678:   return 0;
                   7679: }
                   7680: _ACEOF
1.15      bertrand 7681: if ac_fn_c_try_compile "$LINENO"; then :
                   7682:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7683: $as_echo "yes" >&6; };
                   7684:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.14      bertrand 7685: else
1.15      bertrand 7686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7687: $as_echo "no" >&6; };
                   7688:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.14      bertrand 7689: fi
                   7690: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7691:        CFLAGS=$saved_CFLAGS
                   7692:        libPgSQLinc=$libPgSQLinc/../local/include/postgresql
                   7693:        libPgSQLlib=$libPgSQLlib/../local/lib
                   7694:    fi
1.14      bertrand 7695: 
1.15      bertrand 7696:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7697:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
                   7698: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
                   7699:        saved_CFLAGS="$CFLAGS"
                   7700:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
                   7701:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7702: /* end confdefs.h.  */
1.15      bertrand 7703: #include "libpq-fe.h"
1.1       bertrand 7704: int
                   7705: main ()
                   7706: {
                   7707: 
                   7708:   ;
                   7709:   return 0;
                   7710: }
                   7711: _ACEOF
1.15      bertrand 7712: if ac_fn_c_try_compile "$LINENO"; then :
                   7713:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7714: $as_echo "yes" >&6; };
                   7715:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7716: else
1.15      bertrand 7717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7718: $as_echo "no" >&6; };
                   7719:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7720: fi
                   7721: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7722:        CFLAGS=$saved_CFLAGS
                   7723:        libPgSQLinc=$libPgSQLinc/local/include/pgsql
                   7724:        libPgSQLlib=$libPgSQLlib/../local/lib
                   7725:    fi
1.14      bertrand 7726: else
1.15      bertrand 7727:    if test "x$with_postgresql" != xno; then
                   7728:        libPgSQLinc="-I$with_postgresql/include"
1.30      bertrand 7729:        libPgSQLlib="$with_postgresql/lib"
1.15      bertrand 7730: 
                   7731:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
                   7732: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
                   7733:        saved_CFLAGS="$CFLAGS"
                   7734:        CFLAGS="$CFLAGS $libPgSQLinc"
                   7735:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7736: /* end confdefs.h.  */
1.15      bertrand 7737: #include "libpq-fe.h"
1.1       bertrand 7738: int
                   7739: main ()
                   7740: {
                   7741: 
                   7742:   ;
                   7743:   return 0;
                   7744: }
                   7745: _ACEOF
1.15      bertrand 7746: if ac_fn_c_try_compile "$LINENO"; then :
                   7747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7748: $as_echo "yes" >&6; };
                   7749:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7750: else
1.15      bertrand 7751:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7752: $as_echo "no" >&6; };
                   7753:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.14      bertrand 7754: fi
1.15      bertrand 7755: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7756:        CFLAGS=$saved_CFLAGS
1.14      bertrand 7757: 
1.15      bertrand 7758:        if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7759:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
                   7760: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
                   7761:            saved_CFLAGS="$CFLAGS"
                   7762:            CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
                   7763:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 7764: /* end confdefs.h.  */
1.15      bertrand 7765: #include "libpq-fe.h"
1.1       bertrand 7766: int
                   7767: main ()
                   7768: {
1.15      bertrand 7769: 
1.1       bertrand 7770:   ;
                   7771:   return 0;
                   7772: }
                   7773: _ACEOF
1.15      bertrand 7774: if ac_fn_c_try_compile "$LINENO"; then :
                   7775:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7776: $as_echo "yes" >&6; };
                   7777:                    POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7778: else
1.15      bertrand 7779:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7780: $as_echo "no" >&6; };
                   7781:                    POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7782: fi
                   7783: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7784:            CFLAGS=$saved_CFLAGS
                   7785:            libPgSQLinc=$libPgSQLinc/postgresql
                   7786:        fi
1.14      bertrand 7787: 
1.15      bertrand 7788:        if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7789:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
                   7790: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
                   7791:            saved_CFLAGS="$CFLAGS"
                   7792:            CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
                   7793:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7794: /* end confdefs.h.  */
1.15      bertrand 7795: #include "libpq-fe.h"
1.1       bertrand 7796: int
                   7797: main ()
                   7798: {
1.15      bertrand 7799: 
1.1       bertrand 7800:   ;
                   7801:   return 0;
                   7802: }
                   7803: _ACEOF
1.15      bertrand 7804: if ac_fn_c_try_compile "$LINENO"; then :
                   7805:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7806: $as_echo "yes" >&6; };
                   7807:                    POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7808: else
1.15      bertrand 7809:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7810: $as_echo "no" >&6; };
                   7811:                    POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7812: fi
1.15      bertrand 7813: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7814:            CFLAGS=$saved_CFLAGS
                   7815:            libPgSQLinc=$libPgSQLinc/pgsql
                   7816:        fi
                   7817:    else
                   7818:        POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
                   7819:    fi
1.1       bertrand 7820: fi
                   7821: 
1.15      bertrand 7822: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
                   7823:    POSTGRESQL_LIB=no
1.1       bertrand 7824: 
1.15      bertrand 7825:    if test $POSTGRESQL_LIB = no; then
                   7826:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
                   7827: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
                   7828:        saved_LIBS="$LIBS"
1.30      bertrand 7829:        if test $STATIC = no; then
                   7830:            LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
                   7831:        else
                   7832:            LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
                   7833:        fi
1.15      bertrand 7834:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7835: /* end confdefs.h.  */
1.15      bertrand 7836: #include "libpq-fe.h"
1.1       bertrand 7837: int
                   7838: main ()
                   7839: {
1.15      bertrand 7840: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
                   7841:             PQconnectdb(conninfo);
1.1       bertrand 7842:   ;
                   7843:   return 0;
                   7844: }
                   7845: _ACEOF
1.15      bertrand 7846: if ac_fn_c_try_link "$LINENO"; then :
                   7847:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7848: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
1.1       bertrand 7849: else
1.15      bertrand 7850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7851: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
                   7852: fi
                   7853: rm -f core conftest.err conftest.$ac_objext \
                   7854:     conftest$ac_exeext conftest.$ac_ext
                   7855:        LIBS=$saved_LIBS;
1.30      bertrand 7856:        if test $STATIC = no; then
                   7857:            libPgSQLlib="-L/$libPgSQLlib -lpq"
                   7858:        else
                   7859:            libPgSQLlib="$libPgSQLlib/libpq.a"
                   7860:            EXT_SQL="$EXT_SQL $libPgSQLlib"
                   7861:        fi
1.15      bertrand 7862:    fi
                   7863: fi
                   7864: 
                   7865: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
                   7866:    libPgSQLinc=
                   7867:    libPgSQLlib=
                   7868: fi
                   7869: 
                   7870: 
                   7871: 
                   7872: 
1.14      bertrand 7873: 
1.40      bertrand 7874: # with_postgresql : check [pas défini], yes [uniquement --with],
                   7875: # no [--without], valeur [--with=valeur].
                   7876: 
                   7877: # Check whether --with-bourne_shell was given.
                   7878: if test "${with_bourne_shell+set}" = set; then :
                   7879:   withval=$with_bourne_shell;
                   7880: else
                   7881:   with_bourne_shell=no
                   7882: fi
                   7883: 
                   7884: 
                   7885: if test "x$with_bourne_shell" = xyes; then
                   7886:    as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
                   7887: fi
                   7888: 
                   7889: if test "x$with_bourne_shell" = xno; then
                   7890:    if test $(uname) = "OS/2"; then
                   7891:        as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5
                   7892:    fi
                   7893: 
                   7894:    BSH_PATH=
                   7895: else
                   7896:    if test ! -x $with_bourne_shell; then
                   7897:        as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
                   7898:    fi
                   7899: 
                   7900:    if test $(uname) = "OS/2"; then
1.41      bertrand 7901:        with_os2_bourne_shell=$(echo $with_bourne_shell | \
                   7902:                sed -e '1,$s/\//\\\\\\\\/g')
                   7903:        BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
1.40      bertrand 7904:    else
                   7905:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
                   7906: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
                   7907:        BSH_PATH=
                   7908:    fi
                   7909: fi
                   7910: 
1.15      bertrand 7911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   7912: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.57      bertrand 7913: if ${ac_cv_path_GREP+:} false; then :
1.15      bertrand 7914:   $as_echo_n "(cached) " >&6
                   7915: else
                   7916:   if test -z "$GREP"; then
                   7917:   ac_path_GREP_found=false
                   7918:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7919:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7920: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   7921: do
                   7922:   IFS=$as_save_IFS
                   7923:   test -z "$as_dir" && as_dir=.
                   7924:     for ac_prog in grep ggrep; do
                   7925:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7926:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   7927:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   7928: # Check for GNU ac_path_GREP and select it if it is found.
                   7929:   # Check for GNU $ac_path_GREP
                   7930: case `"$ac_path_GREP" --version 2>&1` in
                   7931: *GNU*)
                   7932:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   7933: *)
                   7934:   ac_count=0
                   7935:   $as_echo_n 0123456789 >"conftest.in"
                   7936:   while :
                   7937:   do
                   7938:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7939:     mv "conftest.tmp" "conftest.in"
                   7940:     cp "conftest.in" "conftest.nl"
                   7941:     $as_echo 'GREP' >> "conftest.nl"
                   7942:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7943:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7944:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7945:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   7946:       # Best one so far, save it but keep looking for a better one
                   7947:       ac_cv_path_GREP="$ac_path_GREP"
                   7948:       ac_path_GREP_max=$ac_count
                   7949:     fi
                   7950:     # 10*(2^10) chars as input seems more than enough
                   7951:     test $ac_count -gt 10 && break
                   7952:   done
                   7953:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7954: esac
1.14      bertrand 7955: 
1.15      bertrand 7956:       $ac_path_GREP_found && break 3
                   7957:     done
                   7958:   done
                   7959:   done
                   7960: IFS=$as_save_IFS
                   7961:   if test -z "$ac_cv_path_GREP"; then
1.36      bertrand 7962:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.15      bertrand 7963:   fi
                   7964: else
                   7965:   ac_cv_path_GREP=$GREP
1.1       bertrand 7966: fi
                   7967: 
                   7968: fi
1.15      bertrand 7969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   7970: $as_echo "$ac_cv_path_GREP" >&6; }
                   7971:  GREP="$ac_cv_path_GREP"
                   7972: 
                   7973: 
                   7974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   7975: $as_echo_n "checking for egrep... " >&6; }
1.57      bertrand 7976: if ${ac_cv_path_EGREP+:} false; then :
1.15      bertrand 7977:   $as_echo_n "(cached) " >&6
                   7978: else
                   7979:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   7980:    then ac_cv_path_EGREP="$GREP -E"
                   7981:    else
                   7982:      if test -z "$EGREP"; then
                   7983:   ac_path_EGREP_found=false
                   7984:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7985:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7986: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   7987: do
                   7988:   IFS=$as_save_IFS
                   7989:   test -z "$as_dir" && as_dir=.
                   7990:     for ac_prog in egrep; do
                   7991:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7992:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   7993:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   7994: # Check for GNU ac_path_EGREP and select it if it is found.
                   7995:   # Check for GNU $ac_path_EGREP
                   7996: case `"$ac_path_EGREP" --version 2>&1` in
                   7997: *GNU*)
                   7998:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   7999: *)
                   8000:   ac_count=0
                   8001:   $as_echo_n 0123456789 >"conftest.in"
                   8002:   while :
                   8003:   do
                   8004:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   8005:     mv "conftest.tmp" "conftest.in"
                   8006:     cp "conftest.in" "conftest.nl"
                   8007:     $as_echo 'EGREP' >> "conftest.nl"
                   8008:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   8009:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   8010:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   8011:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   8012:       # Best one so far, save it but keep looking for a better one
                   8013:       ac_cv_path_EGREP="$ac_path_EGREP"
                   8014:       ac_path_EGREP_max=$ac_count
                   8015:     fi
                   8016:     # 10*(2^10) chars as input seems more than enough
                   8017:     test $ac_count -gt 10 && break
                   8018:   done
                   8019:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   8020: esac
                   8021: 
                   8022:       $ac_path_EGREP_found && break 3
                   8023:     done
                   8024:   done
                   8025:   done
                   8026: IFS=$as_save_IFS
                   8027:   if test -z "$ac_cv_path_EGREP"; then
1.36      bertrand 8028:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.15      bertrand 8029:   fi
1.1       bertrand 8030: else
1.15      bertrand 8031:   ac_cv_path_EGREP=$EGREP
1.1       bertrand 8032: fi
                   8033: 
1.15      bertrand 8034:    fi
1.1       bertrand 8035: fi
1.15      bertrand 8036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   8037: $as_echo "$ac_cv_path_EGREP" >&6; }
                   8038:  EGREP="$ac_cv_path_EGREP"
1.1       bertrand 8039: 
                   8040: 
1.15      bertrand 8041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8042: $as_echo_n "checking for ANSI C header files... " >&6; }
1.57      bertrand 8043: if ${ac_cv_header_stdc+:} false; then :
1.15      bertrand 8044:   $as_echo_n "(cached) " >&6
1.1       bertrand 8045: else
1.15      bertrand 8046:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8047: /* end confdefs.h.  */
                   8048: #include <stdlib.h>
                   8049: #include <stdarg.h>
                   8050: #include <string.h>
                   8051: #include <float.h>
                   8052: 
                   8053: int
                   8054: main ()
                   8055: {
                   8056: 
                   8057:   ;
                   8058:   return 0;
                   8059: }
                   8060: _ACEOF
1.15      bertrand 8061: if ac_fn_c_try_compile "$LINENO"; then :
1.1       bertrand 8062:   ac_cv_header_stdc=yes
                   8063: else
1.15      bertrand 8064:   ac_cv_header_stdc=no
1.1       bertrand 8065: fi
                   8066: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8067: 
                   8068: if test $ac_cv_header_stdc = yes; then
                   8069:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.15      bertrand 8070:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8071: /* end confdefs.h.  */
                   8072: #include <string.h>
                   8073: 
                   8074: _ACEOF
                   8075: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.15      bertrand 8076:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8077: 
1.1       bertrand 8078: else
                   8079:   ac_cv_header_stdc=no
                   8080: fi
                   8081: rm -f conftest*
                   8082: 
                   8083: fi
                   8084: 
                   8085: if test $ac_cv_header_stdc = yes; then
                   8086:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.15      bertrand 8087:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8088: /* end confdefs.h.  */
                   8089: #include <stdlib.h>
                   8090: 
                   8091: _ACEOF
                   8092: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.15      bertrand 8093:   $EGREP "free" >/dev/null 2>&1; then :
                   8094: 
1.1       bertrand 8095: else
                   8096:   ac_cv_header_stdc=no
                   8097: fi
                   8098: rm -f conftest*
                   8099: 
                   8100: fi
                   8101: 
                   8102: if test $ac_cv_header_stdc = yes; then
                   8103:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.15      bertrand 8104:   if test "$cross_compiling" = yes; then :
1.1       bertrand 8105:   :
                   8106: else
1.15      bertrand 8107:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8108: /* end confdefs.h.  */
                   8109: #include <ctype.h>
                   8110: #include <stdlib.h>
                   8111: #if ((' ' & 0x0FF) == 0x020)
                   8112: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8113: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8114: #else
                   8115: # define ISLOWER(c) \
                   8116:           (('a' <= (c) && (c) <= 'i') \
                   8117:             || ('j' <= (c) && (c) <= 'r') \
                   8118:             || ('s' <= (c) && (c) <= 'z'))
                   8119: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8120: #endif
                   8121: 
                   8122: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8123: int
                   8124: main ()
                   8125: {
                   8126:   int i;
                   8127:   for (i = 0; i < 256; i++)
                   8128:     if (XOR (islower (i), ISLOWER (i))
                   8129:    || toupper (i) != TOUPPER (i))
                   8130:       return 2;
                   8131:   return 0;
                   8132: }
                   8133: _ACEOF
1.15      bertrand 8134: if ac_fn_c_try_run "$LINENO"; then :
                   8135: 
1.14      bertrand 8136: else
1.15      bertrand 8137:   ac_cv_header_stdc=no
                   8138: fi
                   8139: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8140:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8141: fi
1.1       bertrand 8142: 
                   8143: fi
                   8144: fi
1.15      bertrand 8145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8146: $as_echo "$ac_cv_header_stdc" >&6; }
                   8147: if test $ac_cv_header_stdc = yes; then
1.1       bertrand 8148: 
1.15      bertrand 8149: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.14      bertrand 8150: 
1.1       bertrand 8151: fi
                   8152: 
1.15      bertrand 8153: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   8154: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8155:          inttypes.h stdint.h unistd.h
                   8156: do :
                   8157:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8158: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8159: "
1.36      bertrand 8160: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.15      bertrand 8161:   cat >>confdefs.h <<_ACEOF
                   8162: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.14      bertrand 8163: _ACEOF
1.1       bertrand 8164: 
                   8165: fi
                   8166: 
1.15      bertrand 8167: done
                   8168: 
                   8169: 
                   8170: # The cast to long int works around a bug in the HP C Compiler
                   8171: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8172: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8173: # This bug is HP SR number 8606223364.
                   8174: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
                   8175: $as_echo_n "checking size of void *... " >&6; }
1.57      bertrand 8176: if ${ac_cv_sizeof_void_p+:} false; then :
1.15      bertrand 8177:   $as_echo_n "(cached) " >&6
                   8178: else
                   8179:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
1.14      bertrand 8180: 
                   8181: else
1.15      bertrand 8182:   if test "$ac_cv_type_void_p" = yes; then
                   8183:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8184: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8185: as_fn_error 77 "cannot compute sizeof (void *)
1.57      bertrand 8186: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8187:    else
                   8188:      ac_cv_sizeof_void_p=0
                   8189:    fi
                   8190: fi
1.1       bertrand 8191: 
                   8192: fi
1.15      bertrand 8193: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
                   8194: $as_echo "$ac_cv_sizeof_void_p" >&6; }
                   8195: 
1.1       bertrand 8196: 
                   8197: 
1.15      bertrand 8198: cat >>confdefs.h <<_ACEOF
                   8199: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
1.14      bertrand 8200: _ACEOF
1.1       bertrand 8201: 
1.15      bertrand 8202: 
                   8203: # The cast to long int works around a bug in the HP C Compiler
                   8204: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8205: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8206: # This bug is HP SR number 8606223364.
                   8207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
                   8208: $as_echo_n "checking size of char... " >&6; }
1.57      bertrand 8209: if ${ac_cv_sizeof_char+:} false; then :
1.15      bertrand 8210:   $as_echo_n "(cached) " >&6
                   8211: else
                   8212:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
                   8213: 
                   8214: else
                   8215:   if test "$ac_cv_type_char" = yes; then
                   8216:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8217: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8218: as_fn_error 77 "cannot compute sizeof (char)
1.57      bertrand 8219: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8220:    else
                   8221:      ac_cv_sizeof_char=0
                   8222:    fi
                   8223: fi
                   8224: 
1.1       bertrand 8225: fi
1.15      bertrand 8226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
                   8227: $as_echo "$ac_cv_sizeof_char" >&6; }
1.1       bertrand 8228: 
                   8229: 
                   8230: 
1.15      bertrand 8231: cat >>confdefs.h <<_ACEOF
                   8232: #define SIZEOF_CHAR $ac_cv_sizeof_char
                   8233: _ACEOF
1.1       bertrand 8234: 
                   8235: 
1.15      bertrand 8236: # The cast to long int works around a bug in the HP C Compiler
                   8237: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8238: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8239: # This bug is HP SR number 8606223364.
                   8240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
                   8241: $as_echo_n "checking size of short int... " >&6; }
1.57      bertrand 8242: if ${ac_cv_sizeof_short_int+:} false; then :
1.15      bertrand 8243:   $as_echo_n "(cached) " >&6
                   8244: else
                   8245:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
1.1       bertrand 8246: 
1.15      bertrand 8247: else
                   8248:   if test "$ac_cv_type_short_int" = yes; then
                   8249:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8250: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8251: as_fn_error 77 "cannot compute sizeof (short int)
1.57      bertrand 8252: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8253:    else
                   8254:      ac_cv_sizeof_short_int=0
                   8255:    fi
                   8256: fi
1.1       bertrand 8257: 
1.15      bertrand 8258: fi
                   8259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
                   8260: $as_echo "$ac_cv_sizeof_short_int" >&6; }
1.1       bertrand 8261: 
                   8262: 
                   8263: 
1.15      bertrand 8264: cat >>confdefs.h <<_ACEOF
                   8265: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
                   8266: _ACEOF
1.1       bertrand 8267: 
                   8268: 
1.15      bertrand 8269: # The cast to long int works around a bug in the HP C Compiler
                   8270: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8271: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8272: # This bug is HP SR number 8606223364.
                   8273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
                   8274: $as_echo_n "checking size of int... " >&6; }
1.57      bertrand 8275: if ${ac_cv_sizeof_int+:} false; then :
1.15      bertrand 8276:   $as_echo_n "(cached) " >&6
                   8277: else
                   8278:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
1.1       bertrand 8279: 
1.15      bertrand 8280: else
                   8281:   if test "$ac_cv_type_int" = yes; then
                   8282:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8283: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8284: as_fn_error 77 "cannot compute sizeof (int)
1.57      bertrand 8285: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8286:    else
                   8287:      ac_cv_sizeof_int=0
                   8288:    fi
                   8289: fi
1.1       bertrand 8290: 
1.15      bertrand 8291: fi
                   8292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
                   8293: $as_echo "$ac_cv_sizeof_int" >&6; }
1.1       bertrand 8294: 
                   8295: 
                   8296: 
1.15      bertrand 8297: cat >>confdefs.h <<_ACEOF
                   8298: #define SIZEOF_INT $ac_cv_sizeof_int
                   8299: _ACEOF
1.1       bertrand 8300: 
                   8301: 
1.15      bertrand 8302: # The cast to long int works around a bug in the HP C Compiler
                   8303: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8304: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8305: # This bug is HP SR number 8606223364.
                   8306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
                   8307: $as_echo_n "checking size of long int... " >&6; }
1.57      bertrand 8308: if ${ac_cv_sizeof_long_int+:} false; then :
1.15      bertrand 8309:   $as_echo_n "(cached) " >&6
                   8310: else
                   8311:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
1.1       bertrand 8312: 
1.14      bertrand 8313: else
1.15      bertrand 8314:   if test "$ac_cv_type_long_int" = yes; then
                   8315:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8316: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8317: as_fn_error 77 "cannot compute sizeof (long int)
1.57      bertrand 8318: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8319:    else
                   8320:      ac_cv_sizeof_long_int=0
                   8321:    fi
                   8322: fi
1.1       bertrand 8323: 
                   8324: fi
1.15      bertrand 8325: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
                   8326: $as_echo "$ac_cv_sizeof_long_int" >&6; }
                   8327: 
1.1       bertrand 8328: 
                   8329: 
1.15      bertrand 8330: cat >>confdefs.h <<_ACEOF
                   8331: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
1.14      bertrand 8332: _ACEOF
1.15      bertrand 8333: 
                   8334: 
                   8335: # The cast to long int works around a bug in the HP C Compiler
                   8336: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8337: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8338: # This bug is HP SR number 8606223364.
                   8339: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
                   8340: $as_echo_n "checking size of long long int... " >&6; }
1.57      bertrand 8341: if ${ac_cv_sizeof_long_long_int+:} false; then :
1.15      bertrand 8342:   $as_echo_n "(cached) " >&6
                   8343: else
                   8344:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
                   8345: 
1.14      bertrand 8346: else
1.15      bertrand 8347:   if test "$ac_cv_type_long_long_int" = yes; then
                   8348:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8349: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8350: as_fn_error 77 "cannot compute sizeof (long long int)
1.57      bertrand 8351: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8352:    else
                   8353:      ac_cv_sizeof_long_long_int=0
                   8354:    fi
                   8355: fi
1.1       bertrand 8356: 
1.14      bertrand 8357: fi
1.15      bertrand 8358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
                   8359: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
                   8360: 
                   8361: 
                   8362: 
                   8363: cat >>confdefs.h <<_ACEOF
                   8364: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
                   8365: _ACEOF
1.1       bertrand 8366: 
                   8367: 
1.15      bertrand 8368: # The cast to long int works around a bug in the HP C Compiler
                   8369: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8370: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8371: # This bug is HP SR number 8606223364.
                   8372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
                   8373: $as_echo_n "checking size of float... " >&6; }
1.57      bertrand 8374: if ${ac_cv_sizeof_float+:} false; then :
1.15      bertrand 8375:   $as_echo_n "(cached) " >&6
                   8376: else
                   8377:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
1.1       bertrand 8378: 
                   8379: else
1.15      bertrand 8380:   if test "$ac_cv_type_float" = yes; then
                   8381:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8382: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8383: as_fn_error 77 "cannot compute sizeof (float)
1.57      bertrand 8384: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8385:    else
                   8386:      ac_cv_sizeof_float=0
                   8387:    fi
1.14      bertrand 8388: fi
                   8389: 
1.1       bertrand 8390: fi
1.15      bertrand 8391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
                   8392: $as_echo "$ac_cv_sizeof_float" >&6; }
                   8393: 
                   8394: 
                   8395: 
                   8396: cat >>confdefs.h <<_ACEOF
                   8397: #define SIZEOF_FLOAT $ac_cv_sizeof_float
1.14      bertrand 8398: _ACEOF
1.1       bertrand 8399: 
                   8400: 
1.15      bertrand 8401: # The cast to long int works around a bug in the HP C Compiler
                   8402: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8403: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8404: # This bug is HP SR number 8606223364.
                   8405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
                   8406: $as_echo_n "checking size of double... " >&6; }
1.57      bertrand 8407: if ${ac_cv_sizeof_double+:} false; then :
1.15      bertrand 8408:   $as_echo_n "(cached) " >&6
                   8409: else
                   8410:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
1.1       bertrand 8411: 
1.15      bertrand 8412: else
                   8413:   if test "$ac_cv_type_double" = yes; then
                   8414:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8415: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8416: as_fn_error 77 "cannot compute sizeof (double)
1.57      bertrand 8417: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8418:    else
                   8419:      ac_cv_sizeof_double=0
                   8420:    fi
                   8421: fi
1.1       bertrand 8422: 
1.15      bertrand 8423: fi
                   8424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
                   8425: $as_echo "$ac_cv_sizeof_double" >&6; }
1.14      bertrand 8426: 
1.1       bertrand 8427: 
                   8428: 
1.15      bertrand 8429: cat >>confdefs.h <<_ACEOF
                   8430: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
1.14      bertrand 8431: _ACEOF
1.15      bertrand 8432: 
                   8433: 
                   8434: # The cast to long int works around a bug in the HP C Compiler
                   8435: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8436: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8437: # This bug is HP SR number 8606223364.
                   8438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
                   8439: $as_echo_n "checking size of long double... " >&6; }
1.57      bertrand 8440: if ${ac_cv_sizeof_long_double+:} false; then :
1.15      bertrand 8441:   $as_echo_n "(cached) " >&6
                   8442: else
                   8443:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
                   8444: 
1.14      bertrand 8445: else
1.15      bertrand 8446:   if test "$ac_cv_type_long_double" = yes; then
                   8447:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8448: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8449: as_fn_error 77 "cannot compute sizeof (long double)
1.57      bertrand 8450: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8451:    else
                   8452:      ac_cv_sizeof_long_double=0
                   8453:    fi
                   8454: fi
1.1       bertrand 8455: 
                   8456: fi
1.15      bertrand 8457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
                   8458: $as_echo "$ac_cv_sizeof_long_double" >&6; }
                   8459: 
1.1       bertrand 8460: 
                   8461: 
1.15      bertrand 8462: cat >>confdefs.h <<_ACEOF
                   8463: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
1.1       bertrand 8464: _ACEOF
                   8465: 
                   8466: 
1.15      bertrand 8467: 
                   8468: ac_header_dirent=no
                   8469: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   8470:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   8471: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   8472: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
1.57      bertrand 8473: if eval \${$as_ac_Header+:} false; then :
1.15      bertrand 8474:   $as_echo_n "(cached) " >&6
1.1       bertrand 8475: else
1.15      bertrand 8476:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 8477: /* end confdefs.h.  */
                   8478: #include <sys/types.h>
1.15      bertrand 8479: #include <$ac_hdr>
1.1       bertrand 8480: 
1.15      bertrand 8481: int
                   8482: main ()
                   8483: {
                   8484: if ((DIR *) 0)
                   8485: return 0;
                   8486:   ;
                   8487:   return 0;
                   8488: }
1.1       bertrand 8489: _ACEOF
1.15      bertrand 8490: if ac_fn_c_try_compile "$LINENO"; then :
                   8491:   eval "$as_ac_Header=yes"
1.1       bertrand 8492: else
1.15      bertrand 8493:   eval "$as_ac_Header=no"
                   8494: fi
                   8495: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 8496: fi
1.15      bertrand 8497: eval ac_res=\$$as_ac_Header
                   8498:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   8499: $as_echo "$ac_res" >&6; }
1.36      bertrand 8500: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.15      bertrand 8501:   cat >>confdefs.h <<_ACEOF
                   8502: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   8503: _ACEOF
1.1       bertrand 8504: 
1.15      bertrand 8505: ac_header_dirent=$ac_hdr; break
1.1       bertrand 8506: fi
                   8507: 
1.15      bertrand 8508: done
                   8509: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   8510: if test $ac_header_dirent = dirent.h; then
                   8511:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   8512: $as_echo_n "checking for library containing opendir... " >&6; }
1.57      bertrand 8513: if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8514:   $as_echo_n "(cached) " >&6
                   8515: else
                   8516:   ac_func_search_save_LIBS=$LIBS
                   8517: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8518: /* end confdefs.h.  */
                   8519: 
                   8520: /* Override any GCC internal prototype to avoid an error.
                   8521:    Use char because int might match the return type of a GCC
                   8522:    builtin and then its argument prototype would still apply.  */
                   8523: #ifdef __cplusplus
                   8524: extern "C"
                   8525: #endif
                   8526: char opendir ();
                   8527: int
                   8528: main ()
                   8529: {
                   8530: return opendir ();
                   8531:   ;
                   8532:   return 0;
                   8533: }
1.14      bertrand 8534: _ACEOF
1.15      bertrand 8535: for ac_lib in '' dir; do
                   8536:   if test -z "$ac_lib"; then
                   8537:     ac_res="none required"
                   8538:   else
                   8539:     ac_res=-l$ac_lib
                   8540:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   8541:   fi
                   8542:   if ac_fn_c_try_link "$LINENO"; then :
                   8543:   ac_cv_search_opendir=$ac_res
                   8544: fi
                   8545: rm -f core conftest.err conftest.$ac_objext \
                   8546:     conftest$ac_exeext
1.57      bertrand 8547:   if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8548:   break
                   8549: fi
                   8550: done
1.57      bertrand 8551: if ${ac_cv_search_opendir+:} false; then :
1.1       bertrand 8552: 
1.15      bertrand 8553: else
                   8554:   ac_cv_search_opendir=no
                   8555: fi
                   8556: rm conftest.$ac_ext
                   8557: LIBS=$ac_func_search_save_LIBS
                   8558: fi
                   8559: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   8560: $as_echo "$ac_cv_search_opendir" >&6; }
                   8561: ac_res=$ac_cv_search_opendir
                   8562: if test "$ac_res" != no; then :
                   8563:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.1       bertrand 8564: 
1.14      bertrand 8565: fi
1.1       bertrand 8566: 
                   8567: else
1.15      bertrand 8568:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   8569: $as_echo_n "checking for library containing opendir... " >&6; }
1.57      bertrand 8570: if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8571:   $as_echo_n "(cached) " >&6
                   8572: else
                   8573:   ac_func_search_save_LIBS=$LIBS
                   8574: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8575: /* end confdefs.h.  */
1.15      bertrand 8576: 
                   8577: /* Override any GCC internal prototype to avoid an error.
                   8578:    Use char because int might match the return type of a GCC
                   8579:    builtin and then its argument prototype would still apply.  */
                   8580: #ifdef __cplusplus
                   8581: extern "C"
                   8582: #endif
                   8583: char opendir ();
1.1       bertrand 8584: int
                   8585: main ()
                   8586: {
1.15      bertrand 8587: return opendir ();
1.1       bertrand 8588:   ;
                   8589:   return 0;
                   8590: }
                   8591: _ACEOF
1.15      bertrand 8592: for ac_lib in '' x; do
                   8593:   if test -z "$ac_lib"; then
                   8594:     ac_res="none required"
                   8595:   else
                   8596:     ac_res=-l$ac_lib
                   8597:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   8598:   fi
                   8599:   if ac_fn_c_try_link "$LINENO"; then :
                   8600:   ac_cv_search_opendir=$ac_res
                   8601: fi
                   8602: rm -f core conftest.err conftest.$ac_objext \
                   8603:     conftest$ac_exeext
1.57      bertrand 8604:   if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8605:   break
                   8606: fi
                   8607: done
1.57      bertrand 8608: if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8609: 
1.1       bertrand 8610: else
1.15      bertrand 8611:   ac_cv_search_opendir=no
                   8612: fi
                   8613: rm conftest.$ac_ext
                   8614: LIBS=$ac_func_search_save_LIBS
1.1       bertrand 8615: fi
1.15      bertrand 8616: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   8617: $as_echo "$ac_cv_search_opendir" >&6; }
                   8618: ac_res=$ac_cv_search_opendir
                   8619: if test "$ac_res" != no; then :
                   8620:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.14      bertrand 8621: 
1.1       bertrand 8622: fi
                   8623: 
                   8624: fi
                   8625: 
1.15      bertrand 8626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8627: $as_echo_n "checking for ANSI C header files... " >&6; }
1.57      bertrand 8628: if ${ac_cv_header_stdc+:} false; then :
1.15      bertrand 8629:   $as_echo_n "(cached) " >&6
1.1       bertrand 8630: else
1.15      bertrand 8631:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8632: /* end confdefs.h.  */
1.15      bertrand 8633: #include <stdlib.h>
                   8634: #include <stdarg.h>
                   8635: #include <string.h>
                   8636: #include <float.h>
                   8637: 
1.1       bertrand 8638: int
                   8639: main ()
                   8640: {
1.15      bertrand 8641: 
1.1       bertrand 8642:   ;
                   8643:   return 0;
                   8644: }
                   8645: _ACEOF
1.15      bertrand 8646: if ac_fn_c_try_compile "$LINENO"; then :
                   8647:   ac_cv_header_stdc=yes
1.14      bertrand 8648: else
1.15      bertrand 8649:   ac_cv_header_stdc=no
                   8650: fi
                   8651: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8652: 
                   8653: if test $ac_cv_header_stdc = yes; then
                   8654:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   8655:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8656: /* end confdefs.h.  */
                   8657: #include <string.h>
                   8658: 
                   8659: _ACEOF
                   8660: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   8661:   $EGREP "memchr" >/dev/null 2>&1; then :
1.14      bertrand 8662: 
1.15      bertrand 8663: else
                   8664:   ac_cv_header_stdc=no
1.1       bertrand 8665: fi
1.15      bertrand 8666: rm -f conftest*
1.14      bertrand 8667: 
1.1       bertrand 8668: fi
                   8669: 
1.15      bertrand 8670: if test $ac_cv_header_stdc = yes; then
                   8671:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   8672:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8673: /* end confdefs.h.  */
                   8674: #include <stdlib.h>
                   8675: 
1.14      bertrand 8676: _ACEOF
1.15      bertrand 8677: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   8678:   $EGREP "free" >/dev/null 2>&1; then :
                   8679: 
                   8680: else
                   8681:   ac_cv_header_stdc=no
                   8682: fi
                   8683: rm -f conftest*
1.1       bertrand 8684: 
                   8685: fi
                   8686: 
1.15      bertrand 8687: if test $ac_cv_header_stdc = yes; then
                   8688:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   8689:   if test "$cross_compiling" = yes; then :
                   8690:   :
1.1       bertrand 8691: else
1.15      bertrand 8692:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8693: /* end confdefs.h.  */
1.15      bertrand 8694: #include <ctype.h>
                   8695: #include <stdlib.h>
                   8696: #if ((' ' & 0x0FF) == 0x020)
                   8697: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8698: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8699: #else
                   8700: # define ISLOWER(c) \
                   8701:           (('a' <= (c) && (c) <= 'i') \
                   8702:             || ('j' <= (c) && (c) <= 'r') \
                   8703:             || ('s' <= (c) && (c) <= 'z'))
                   8704: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8705: #endif
1.1       bertrand 8706: 
1.15      bertrand 8707: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.1       bertrand 8708: int
                   8709: main ()
                   8710: {
1.15      bertrand 8711:   int i;
                   8712:   for (i = 0; i < 256; i++)
                   8713:     if (XOR (islower (i), ISLOWER (i))
                   8714:    || toupper (i) != TOUPPER (i))
                   8715:       return 2;
1.1       bertrand 8716:   return 0;
                   8717: }
                   8718: _ACEOF
1.15      bertrand 8719: if ac_fn_c_try_run "$LINENO"; then :
                   8720: 
1.14      bertrand 8721: else
1.15      bertrand 8722:   ac_cv_header_stdc=no
                   8723: fi
                   8724: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8725:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8726: fi
1.14      bertrand 8727: 
1.1       bertrand 8728: fi
                   8729: fi
1.15      bertrand 8730: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8731: $as_echo "$ac_cv_header_stdc" >&6; }
                   8732: if test $ac_cv_header_stdc = yes; then
1.1       bertrand 8733: 
1.15      bertrand 8734: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       bertrand 8735: 
                   8736: fi
                   8737: 
1.15      bertrand 8738: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
                   8739: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
1.57      bertrand 8740: if ${ac_cv_header_sys_wait_h+:} false; then :
1.15      bertrand 8741:   $as_echo_n "(cached) " >&6
1.1       bertrand 8742: else
1.15      bertrand 8743:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8744: /* end confdefs.h.  */
1.14      bertrand 8745: #include <sys/types.h>
1.15      bertrand 8746: #include <sys/wait.h>
                   8747: #ifndef WEXITSTATUS
                   8748: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
                   8749: #endif
                   8750: #ifndef WIFEXITED
                   8751: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
                   8752: #endif
1.1       bertrand 8753: 
                   8754: int
                   8755: main ()
                   8756: {
1.15      bertrand 8757:   int s;
                   8758:   wait (&s);
                   8759:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1.1       bertrand 8760:   ;
                   8761:   return 0;
                   8762: }
                   8763: _ACEOF
1.15      bertrand 8764: if ac_fn_c_try_compile "$LINENO"; then :
                   8765:   ac_cv_header_sys_wait_h=yes
1.1       bertrand 8766: else
1.15      bertrand 8767:   ac_cv_header_sys_wait_h=no
                   8768: fi
                   8769: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8770: fi
                   8771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
                   8772: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
                   8773: if test $ac_cv_header_sys_wait_h = yes; then
1.1       bertrand 8774: 
1.15      bertrand 8775: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
1.1       bertrand 8776: 
                   8777: fi
                   8778: 
1.15      bertrand 8779: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
                   8780:        time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
                   8781:        sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
                   8782: do :
                   8783:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8784: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1.36      bertrand 8785: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.15      bertrand 8786:   cat >>confdefs.h <<_ACEOF
                   8787: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       bertrand 8788: _ACEOF
                   8789: 
                   8790: fi
                   8791: 
1.15      bertrand 8792: done
                   8793: 
1.1       bertrand 8794: 
1.15      bertrand 8795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   8796: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
1.57      bertrand 8797: if ${ac_cv_c_const+:} false; then :
1.15      bertrand 8798:   $as_echo_n "(cached) " >&6
1.1       bertrand 8799: else
1.15      bertrand 8800:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8801: /* end confdefs.h.  */
                   8802: 
                   8803: int
                   8804: main ()
                   8805: {
1.15      bertrand 8806: /* FIXME: Include the comments suggested by Paul. */
                   8807: #ifndef __cplusplus
                   8808:   /* Ultrix mips cc rejects this.  */
                   8809:   typedef int charset[2];
                   8810:   const charset cs;
                   8811:   /* SunOS 4.1.1 cc rejects this.  */
                   8812:   char const *const *pcpcc;
                   8813:   char **ppc;
                   8814:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   8815:   struct point {int x, y;};
                   8816:   static struct point const zero = {0,0};
                   8817:   /* AIX XL C 1.02.0.0 rejects this.
                   8818:      It does not let you subtract one const X* pointer from another in
                   8819:      an arm of an if-expression whose if-part is not a constant
                   8820:      expression */
                   8821:   const char *g = "string";
                   8822:   pcpcc = &g + (g ? g-g : 0);
                   8823:   /* HPUX 7.0 cc rejects these. */
                   8824:   ++pcpcc;
                   8825:   ppc = (char**) pcpcc;
                   8826:   pcpcc = (char const *const *) ppc;
                   8827:   { /* SCO 3.2v4 cc rejects this.  */
                   8828:     char *t;
                   8829:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   8830: 
                   8831:     *t++ = 0;
                   8832:     if (s) return 0;
                   8833:   }
                   8834:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   8835:     int x[] = {25, 17};
                   8836:     const int *foo = &x[0];
                   8837:     ++foo;
                   8838:   }
                   8839:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   8840:     typedef const int *iptr;
                   8841:     iptr p = 0;
                   8842:     ++p;
                   8843:   }
                   8844:   { /* AIX XL C 1.02.0.0 rejects this saying
                   8845:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   8846:     struct s { int j; const int *ap[3]; };
                   8847:     struct s *b; b->j = 5;
                   8848:   }
                   8849:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   8850:     const int foo = 10;
                   8851:     if (!foo) return 0;
                   8852:   }
                   8853:   return !cs[0] && !zero.x;
                   8854: #endif
                   8855: 
1.14      bertrand 8856:   ;
1.1       bertrand 8857:   return 0;
                   8858: }
                   8859: _ACEOF
1.15      bertrand 8860: if ac_fn_c_try_compile "$LINENO"; then :
                   8861:   ac_cv_c_const=yes
1.14      bertrand 8862: else
1.15      bertrand 8863:   ac_cv_c_const=no
1.1       bertrand 8864: fi
1.14      bertrand 8865: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 8866: fi
1.15      bertrand 8867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   8868: $as_echo "$ac_cv_c_const" >&6; }
                   8869: if test $ac_cv_c_const = no; then
1.1       bertrand 8870: 
1.15      bertrand 8871: $as_echo "#define const /**/" >>confdefs.h
1.1       bertrand 8872: 
1.15      bertrand 8873: fi
1.1       bertrand 8874: 
1.15      bertrand 8875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
                   8876: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
1.57      bertrand 8877: if ${ac_cv_type_uid_t+:} false; then :
1.15      bertrand 8878:   $as_echo_n "(cached) " >&6
1.1       bertrand 8879: else
1.15      bertrand 8880:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8881: /* end confdefs.h.  */
1.15      bertrand 8882: #include <sys/types.h>
                   8883: 
1.1       bertrand 8884: _ACEOF
1.15      bertrand 8885: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   8886:   $EGREP "uid_t" >/dev/null 2>&1; then :
                   8887:   ac_cv_type_uid_t=yes
1.1       bertrand 8888: else
1.15      bertrand 8889:   ac_cv_type_uid_t=no
                   8890: fi
                   8891: rm -f conftest*
1.14      bertrand 8892: 
1.1       bertrand 8893: fi
1.15      bertrand 8894: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
                   8895: $as_echo "$ac_cv_type_uid_t" >&6; }
                   8896: if test $ac_cv_type_uid_t = no; then
1.1       bertrand 8897: 
1.15      bertrand 8898: $as_echo "#define uid_t int" >>confdefs.h
1.1       bertrand 8899: 
                   8900: 
1.15      bertrand 8901: $as_echo "#define gid_t int" >>confdefs.h
1.1       bertrand 8902: 
                   8903: fi
                   8904: 
1.15      bertrand 8905: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
1.57      bertrand 8906: if test "x$ac_cv_type_pid_t" = xyes; then :
1.1       bertrand 8907: 
                   8908: else
1.15      bertrand 8909: 
                   8910: cat >>confdefs.h <<_ACEOF
                   8911: #define pid_t int
1.14      bertrand 8912: _ACEOF
                   8913: 
1.15      bertrand 8914: fi
1.14      bertrand 8915: 
1.15      bertrand 8916: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
1.57      bertrand 8917: if test "x$ac_cv_type_size_t" = xyes; then :
1.14      bertrand 8918: 
1.15      bertrand 8919: else
1.1       bertrand 8920: 
1.15      bertrand 8921: cat >>confdefs.h <<_ACEOF
                   8922: #define size_t unsigned int
1.1       bertrand 8923: _ACEOF
1.14      bertrand 8924: 
1.1       bertrand 8925: fi
                   8926: 
1.15      bertrand 8927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   8928: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
1.57      bertrand 8929: if ${ac_cv_header_time+:} false; then :
1.15      bertrand 8930:   $as_echo_n "(cached) " >&6
1.1       bertrand 8931: else
1.15      bertrand 8932:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8933: /* end confdefs.h.  */
1.15      bertrand 8934: #include <sys/types.h>
                   8935: #include <sys/time.h>
                   8936: #include <time.h>
1.1       bertrand 8937: 
1.14      bertrand 8938: int
                   8939: main ()
                   8940: {
1.15      bertrand 8941: if ((struct tm *) 0)
                   8942: return 0;
1.14      bertrand 8943:   ;
                   8944:   return 0;
                   8945: }
1.1       bertrand 8946: _ACEOF
1.15      bertrand 8947: if ac_fn_c_try_compile "$LINENO"; then :
                   8948:   ac_cv_header_time=yes
1.1       bertrand 8949: else
1.15      bertrand 8950:   ac_cv_header_time=no
1.1       bertrand 8951: fi
1.15      bertrand 8952: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 8953: fi
1.15      bertrand 8954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   8955: $as_echo "$ac_cv_header_time" >&6; }
                   8956: if test $ac_cv_header_time = yes; then
1.1       bertrand 8957: 
1.15      bertrand 8958: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.1       bertrand 8959: 
                   8960: fi
                   8961: 
1.15      bertrand 8962: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
                   8963: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
1.57      bertrand 8964: if ${ac_cv_struct_tm+:} false; then :
1.15      bertrand 8965:   $as_echo_n "(cached) " >&6
1.1       bertrand 8966: else
1.15      bertrand 8967:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 8968: /* end confdefs.h.  */
1.15      bertrand 8969: #include <sys/types.h>
                   8970: #include <time.h>
1.1       bertrand 8971: 
                   8972: int
                   8973: main ()
                   8974: {
1.15      bertrand 8975: struct tm tm;
                   8976:                     int *p = &tm.tm_sec;
                   8977:                     return !p;
1.1       bertrand 8978:   ;
                   8979:   return 0;
                   8980: }
                   8981: _ACEOF
1.15      bertrand 8982: if ac_fn_c_try_compile "$LINENO"; then :
                   8983:   ac_cv_struct_tm=time.h
1.1       bertrand 8984: else
1.15      bertrand 8985:   ac_cv_struct_tm=sys/time.h
                   8986: fi
                   8987: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8988: fi
                   8989: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
                   8990: $as_echo "$ac_cv_struct_tm" >&6; }
                   8991: if test $ac_cv_struct_tm = sys/time.h; then
                   8992: 
                   8993: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
1.14      bertrand 8994: 
1.1       bertrand 8995: fi
                   8996: 
                   8997: 
1.15      bertrand 8998: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
                   8999: $as_echo_n "checking return type of signal handlers... " >&6; }
1.57      bertrand 9000: if ${ac_cv_type_signal+:} false; then :
1.15      bertrand 9001:   $as_echo_n "(cached) " >&6
1.1       bertrand 9002: else
1.15      bertrand 9003:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 9004: /* end confdefs.h.  */
1.15      bertrand 9005: #include <sys/types.h>
                   9006: #include <signal.h>
1.1       bertrand 9007: 
                   9008: int
                   9009: main ()
                   9010: {
1.15      bertrand 9011: return *(signal (0, 0)) (0) == 1;
1.1       bertrand 9012:   ;
                   9013:   return 0;
                   9014: }
                   9015: _ACEOF
1.15      bertrand 9016: if ac_fn_c_try_compile "$LINENO"; then :
                   9017:   ac_cv_type_signal=int
1.1       bertrand 9018: else
1.15      bertrand 9019:   ac_cv_type_signal=void
1.1       bertrand 9020: fi
1.15      bertrand 9021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 9022: fi
1.15      bertrand 9023: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
                   9024: $as_echo "$ac_cv_type_signal" >&6; }
1.14      bertrand 9025: 
1.15      bertrand 9026: cat >>confdefs.h <<_ACEOF
                   9027: #define RETSIGTYPE $ac_cv_type_signal
1.14      bertrand 9028: _ACEOF
1.1       bertrand 9029: 
1.15      bertrand 9030: 
1.35      bertrand 9031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
                   9032: $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
                   9033: if test "$cross_compiling" = yes; then :
                   9034:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   9035: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 9036: as_fn_error $? "cannot run test program while cross compiling
1.57      bertrand 9037: See \`config.log' for more details" "$LINENO" 5; }
1.35      bertrand 9038: else
                   9039:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9040: /* end confdefs.h.  */
                   9041: #include <unistd.h>
                   9042: #include <signal.h>
                   9043: int flag;
                   9044: void handler(int signal, siginfo_t *siginfo, void *context)
1.39      bertrand 9045: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }
1.35      bertrand 9046: int
                   9047: main ()
                   9048: {
                   9049: struct sigaction    action;
                   9050: action.sa_sigaction = handler;
                   9051: action.sa_flags = SA_SIGINFO;
                   9052: sigaction(SIGUSR1, &action, NULL);
                   9053: raise(SIGUSR1);
                   9054: return(flag);
                   9055:   ;
                   9056:   return 0;
                   9057: }
                   9058: _ACEOF
                   9059: if ac_fn_c_try_run "$LINENO"; then :
                   9060:   BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9061: $as_echo "no" >&6; }
                   9062: else
                   9063:   BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   9064: $as_echo "yes" >&6; }
                   9065: fi
                   9066: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   9067:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   9068: fi
                   9069: 
                   9070: 
1.15      bertrand 9071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
                   9072: $as_echo_n "checking for working strcoll... " >&6; }
1.57      bertrand 9073: if ${ac_cv_func_strcoll_works+:} false; then :
1.15      bertrand 9074:   $as_echo_n "(cached) " >&6
                   9075: else
                   9076:   if test "$cross_compiling" = yes; then :
                   9077:   ac_cv_func_strcoll_works=no
                   9078: else
                   9079:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9080: /* end confdefs.h.  */
                   9081: $ac_includes_default
                   9082: int
                   9083: main ()
                   9084: {
                   9085: return (strcoll ("abc", "def") >= 0 ||
                   9086:     strcoll ("ABC", "DEF") >= 0 ||
                   9087:     strcoll ("123", "456") >= 0)
                   9088:   ;
                   9089:   return 0;
                   9090: }
                   9091: _ACEOF
                   9092: if ac_fn_c_try_run "$LINENO"; then :
                   9093:   ac_cv_func_strcoll_works=yes
                   9094: else
                   9095:   ac_cv_func_strcoll_works=no
                   9096: fi
                   9097: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   9098:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.14      bertrand 9099: fi
1.1       bertrand 9100: 
                   9101: fi
1.15      bertrand 9102: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
                   9103: $as_echo "$ac_cv_func_strcoll_works" >&6; }
                   9104: if test $ac_cv_func_strcoll_works = yes; then
1.14      bertrand 9105: 
1.15      bertrand 9106: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
1.1       bertrand 9107: 
1.15      bertrand 9108: fi
1.1       bertrand 9109: 
1.15      bertrand 9110: for ac_func in strftime
                   9111: do :
                   9112:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
1.57      bertrand 9113: if test "x$ac_cv_func_strftime" = xyes; then :
1.15      bertrand 9114:   cat >>confdefs.h <<_ACEOF
                   9115: #define HAVE_STRFTIME 1
                   9116: _ACEOF
1.1       bertrand 9117: 
                   9118: else
1.15      bertrand 9119:   # strftime is in -lintl on SCO UNIX.
                   9120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
                   9121: $as_echo_n "checking for strftime in -lintl... " >&6; }
1.57      bertrand 9122: if ${ac_cv_lib_intl_strftime+:} false; then :
1.15      bertrand 9123:   $as_echo_n "(cached) " >&6
                   9124: else
                   9125:   ac_check_lib_save_LIBS=$LIBS
                   9126: LIBS="-lintl  $LIBS"
                   9127: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 9128: /* end confdefs.h.  */
                   9129: 
                   9130: /* Override any GCC internal prototype to avoid an error.
                   9131:    Use char because int might match the return type of a GCC
                   9132:    builtin and then its argument prototype would still apply.  */
                   9133: #ifdef __cplusplus
                   9134: extern "C"
                   9135: #endif
1.15      bertrand 9136: char strftime ();
1.1       bertrand 9137: int
                   9138: main ()
                   9139: {
1.15      bertrand 9140: return strftime ();
1.1       bertrand 9141:   ;
                   9142:   return 0;
                   9143: }
                   9144: _ACEOF
1.15      bertrand 9145: if ac_fn_c_try_link "$LINENO"; then :
                   9146:   ac_cv_lib_intl_strftime=yes
1.1       bertrand 9147: else
1.15      bertrand 9148:   ac_cv_lib_intl_strftime=no
                   9149: fi
                   9150: rm -f core conftest.err conftest.$ac_objext \
                   9151:     conftest$ac_exeext conftest.$ac_ext
                   9152: LIBS=$ac_check_lib_save_LIBS
                   9153: fi
                   9154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
                   9155: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
1.57      bertrand 9156: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
1.15      bertrand 9157:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
                   9158: 
                   9159: LIBS="-lintl $LIBS"
                   9160: fi
                   9161: 
                   9162: fi
                   9163: done
                   9164: 
                   9165: for ac_func in vprintf
                   9166: do :
                   9167:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
1.57      bertrand 9168: if test "x$ac_cv_func_vprintf" = xyes; then :
1.15      bertrand 9169:   cat >>confdefs.h <<_ACEOF
                   9170: #define HAVE_VPRINTF 1
                   9171: _ACEOF
                   9172: 
                   9173: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
1.57      bertrand 9174: if test "x$ac_cv_func__doprnt" = xyes; then :
1.15      bertrand 9175: 
                   9176: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
1.1       bertrand 9177: 
                   9178: fi
                   9179: 
                   9180: fi
1.15      bertrand 9181: done
                   9182: 
                   9183: 
                   9184: for ac_func in ftime getcwd putenv select strcspn strdup \
                   9185:        strerror strspn strstr strtod
                   9186: do :
                   9187:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   9188: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.36      bertrand 9189: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.1       bertrand 9190:   cat >>confdefs.h <<_ACEOF
1.15      bertrand 9191: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       bertrand 9192: _ACEOF
                   9193: 
                   9194: fi
                   9195: done
                   9196: 
                   9197: 
1.15      bertrand 9198: 
                   9199: # Check whether --with-openssl_arch was given.
                   9200: if test "${with_openssl_arch+set}" = set; then :
                   9201:   withval=$with_openssl_arch;
                   9202: else
                   9203:   with_openssl_arch=none
                   9204: fi
                   9205: 
                   9206: 
1.31      bertrand 9207: if test $(uname) = "OS/2"; then
1.34      bertrand 9208:    bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
1.15      bertrand 9209: else
1.31      bertrand 9210:    if test "x$with_openssl_arch" = xnone; then
1.67      bertrand 9211:        (cd tools/$OPENSSL && ./config no-asm)
1.31      bertrand 9212:    elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
                   9213:        (cd tools/$OPENSSL && ./Configure)
1.36      bertrand 9214:        as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
1.31      bertrand 9215:    elif test "x$with_openssl_arch" = xlist; then
                   9216:        (cd tools/$OPENSSL && ./Configure)
1.36      bertrand 9217:        as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
1.31      bertrand 9218:    else
1.67      bertrand 9219:        (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
1.31      bertrand 9220:    fi
1.15      bertrand 9221: fi
1.1       bertrand 9222: 
                   9223: if test "$MYGNUPLOT" = "yes"; then
                   9224:    if test ! -d "$srcdir"/tools/$GNUPLOT; then
                   9225:        gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
                   9226:                (cd "$srcdir/tools" && tar -xf -)
                   9227:    fi
1.69    ! bertrand 9228: 
        !          9229: 
        !          9230: subdirs="$subdirs tools/$GNUPLOT"
1.1       bertrand 9231: 
                   9232:    GNUPLOT_COMPILATION=$GNUPLOT
                   9233: else
                   9234:    GNUPLOT_COMPILATION=
                   9235: fi
                   9236: 
                   9237: 
                   9238: 
1.69    ! bertrand 9239: HOST=$host
        !          9240: 
        !          9241: 
1.1       bertrand 9242: case $host_cpu in
                   9243: 
                   9244:     i?86)
                   9245:    CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
                   9246:            -Wno-pointer-sign"
                   9247:    FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   9248:    FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   9249:    break ;;
                   9250: 
                   9251:    x86_64*)
                   9252:    CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
                   9253:            -Wno-pointer-sign"
                   9254:    FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   9255:    FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   9256:    break ;;
                   9257: 
                   9258:     alpha*)
                   9259:    CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
                   9260:            -Wno-pointer-sign"
                   9261:    FFLAGS="$FFLAGS -mieee -Wall"
                   9262:    FCFLAGS="$FCFLAGS -mieee -Wall"
                   9263:    break ;;
                   9264: 
                   9265:     sparc*)
                   9266:    CFLAGS="$CFLAGS -Wall -funsigned-char \
                   9267:            -Wno-pointer-sign"
                   9268:    FFLAGS="$FFLAGS -Wall"
                   9269:    FCFLAGS="$FCFLAGS -Wall"
                   9270:    break ;;
                   9271: 
                   9272: esac
                   9273: 
1.8       bertrand 9274: case $host_os in
                   9275: 
                   9276:    cygwin*)
                   9277:        OS=Cygwin
                   9278:    break ;;
                   9279: 
                   9280:    interix*)
                   9281:        OS=Interix
                   9282:    break ;;
                   9283: 
                   9284:    *)
                   9285:        OS=$(uname)
                   9286:    break ;;
                   9287: 
                   9288: esac
                   9289: 
                   9290: 
                   9291: 
1.1       bertrand 9292: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
                   9293: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
1.49      bertrand 9294: MALLOC=
1.1       bertrand 9295: 
1.22      bertrand 9296: case $OS in
1.17      bertrand 9297: 
                   9298:     Darwin)
1.31      bertrand 9299:        EXPORT_DYNAMIC=-Wl,-flat_namespace
1.17      bertrand 9300:        NESTED_FUNCTIONS=-fnested-functions
                   9301:        SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
1.36      bertrand 9302:        IPCS_SYSV=-UIPCS_SYSV
1.23      bertrand 9303:        CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
1.31      bertrand 9304:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69    ! bertrand 9305:                --disable-shared --enable-static --enable-threads \
        !          9306:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
        !          9307:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
        !          9308:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9309:        C_STANDARD=-std=gnu99
1.17      bertrand 9310:    break ;;
                   9311: 
1.31      bertrand 9312:     Cygwin)
                   9313:        EXPORT_DYNAMIC=-Wl,--export-all-symbols
1.17      bertrand 9314:        NESTED_FUNCTIONS=
                   9315:        SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
1.36      bertrand 9316:        IPCS_SYSV=-UIPCS_SYSV
1.31      bertrand 9317:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69    ! bertrand 9318:                --disable-shared --enable-static --enable-threads \
        !          9319:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
        !          9320:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
        !          9321:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9322:        C_STANDARD=-std=gnu99
1.17      bertrand 9323:    break ;;
                   9324: 
1.34      bertrand 9325:    Interix)
                   9326:        EXPORT_DYNAMIC=-Wl,--export-all-symbols
                   9327:        NESTED_FUNCTIONS=
                   9328:        SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
1.36      bertrand 9329:        IPCS_SYSV=-UIPCS_SYSV
1.34      bertrand 9330:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69    ! bertrand 9331:                --disable-shared --enable-static --enable-threads \
        !          9332:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
        !          9333:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
        !          9334:                LDFLAGS=\"$LDFLAGS\""
1.34      bertrand 9335:        C_STANDARD=-std=gnu99
                   9336:    break;;
                   9337: 
1.31      bertrand 9338:     AIX)
                   9339:        EXPORT_DYNAMIC=-Wl,--export-dynamic
1.18      bertrand 9340:        NESTED_FUNCTIONS=
                   9341:        SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
1.36      bertrand 9342:        IPCS_SYSV=-UIPCS_SYSV
1.31      bertrand 9343:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69    ! bertrand 9344:                --disable-shared --enable-static --enable-threads \
        !          9345:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
        !          9346:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
        !          9347:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9348:        C_STANDARD=-std=gnu99
1.18      bertrand 9349:    break ;;
                   9350: 
1.31      bertrand 9351:     OS/2)
1.37      bertrand 9352:        if test $FORCED_FINAL_ENCODING -eq 0; then \
1.35      bertrand 9353:            FINAL_ENCODING=CP850; \
                   9354:        fi;
1.31      bertrand 9355:        OS=OS2
                   9356:        NESTED_FUNCTIONS=
                   9357:        EXPORT_DYNAMIC=-Zmap
                   9358:        SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
1.36      bertrand 9359:        IPCS_SYSV=-DIPCS_SYSV
1.31      bertrand 9360:        ac_configure_args="$ac_configure_args --without-readline \
1.49      bertrand 9361:                --without-cairo --disable-shared --enable-static \
1.69    ! bertrand 9362:                --enable-threads \
        !          9363:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
        !          9364:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
        !          9365:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9366:        C_STANDARD=
1.31      bertrand 9367:    break;;
                   9368: 
1.35      bertrand 9369:    OpenBSD)
1.37      bertrand 9370:        if test $FORCED_FINAL_ENCODING -eq 0; then \
1.35      bertrand 9371:            FINAL_ENCODING=UTF-8; \
                   9372:        fi;
                   9373:        EXPORT_DYNAMIC=-Wl,--export-dynamic
                   9374:        NESTED_FUNCTIONS=
                   9375:        SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
1.36      bertrand 9376:        IPCS_SYSV=-DIPCS_SYSV
1.35      bertrand 9377:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69    ! bertrand 9378:                --disable-shared --enable-static --enable-threads \
        !          9379:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
        !          9380:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
        !          9381:                LDFLAGS=\"$LDFLAGS\""
1.35      bertrand 9382:        C_STANDARD=-std=gnu99
                   9383:    break;;
                   9384: 
1.49      bertrand 9385:     SunOS)
                   9386:        EXPORT_DYNAMIC=-Wl,--export-dynamic
                   9387:        NESTED_FUNCTIONS=
                   9388:        SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
                   9389: 
                   9390:        if test $IPCS_SYSV = no; then
                   9391:            IPCS_SYSV=-UIPCS_SYSV
                   9392:        else
                   9393:            IPCS_SYSV=-DIPCS_SYSV
                   9394:        fi
                   9395: 
                   9396:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69    ! bertrand 9397:                --disable-shared --enable-static --enable-threads \
        !          9398:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
        !          9399:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
        !          9400:                LDFLAGS=\"$LDFLAGS\""
1.49      bertrand 9401:        C_STANDARD=-std=gnu99
                   9402:        MALLOC=-lumem
                   9403:    break ;;
                   9404: 
1.17      bertrand 9405:     *)
1.31      bertrand 9406:        EXPORT_DYNAMIC=-Wl,--export-dynamic
1.17      bertrand 9407:        NESTED_FUNCTIONS=
                   9408:        SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
1.36      bertrand 9409: 
                   9410:        if test $IPCS_SYSV = no; then
                   9411:            IPCS_SYSV=-UIPCS_SYSV
                   9412:        else
                   9413:            IPCS_SYSV=-DIPCS_SYSV
                   9414:        fi
                   9415: 
1.31      bertrand 9416:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69    ! bertrand 9417:                --disable-shared --enable-static --enable-threads \
        !          9418:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
        !          9419:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
        !          9420:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9421:        C_STANDARD=-std=gnu99
1.17      bertrand 9422:    break ;;
                   9423: 
                   9424: esac
                   9425: 
                   9426: 
                   9427: 
                   9428: 
1.1       bertrand 9429: 
                   9430: 
                   9431: 
                   9432: 
                   9433: 
                   9434: 
                   9435: 
                   9436: 
                   9437: 
                   9438: 
                   9439: 
                   9440: 
                   9441: 
                   9442: 
                   9443: 
                   9444: 
                   9445: 
                   9446: 
                   9447: 
1.9       bertrand 9448: 
1.24      bertrand 9449: 
1.30      bertrand 9450: 
1.33      bertrand 9451: 
                   9452: 
                   9453: 
1.34      bertrand 9454: 
1.35      bertrand 9455: 
1.49      bertrand 9456: 
1.55      bertrand 9457: 
                   9458: 
1.56      bertrand 9459: 
                   9460: 
                   9461: 
                   9462: 
1.69    ! bertrand 9463: 
        !          9464: subdirs="$subdirs tools/$NCURSES"
        !          9465: 
        !          9466: subdirs="$subdirs tools/$READLINE"
        !          9467: 
        !          9468: subdirs="$subdirs tools/$GSL"
        !          9469: 
        !          9470: subdirs="$subdirs tools/$GPP"
        !          9471: 
        !          9472: subdirs="$subdirs tools/$FILE"
        !          9473: 
        !          9474: subdirs="$subdirs tools/$ICONV"
        !          9475: 
        !          9476: subdirs="$subdirs tools/$SQLITE"
        !          9477: 
        !          9478: subdirs="$subdirs tools/$UNITS"
        !          9479: 
        !          9480: 
1.1       bertrand 9481: ac_config_files="$ac_config_files Makefile"
                   9482: 
                   9483: ac_config_files="$ac_config_files COPYING"
                   9484: 
                   9485: ac_config_files="$ac_config_files tools/Makefile"
                   9486: 
                   9487: ac_config_files="$ac_config_files src/Makefile"
                   9488: 
                   9489: ac_config_files="$ac_config_files man/Makefile"
                   9490: 
                   9491: ac_config_files="$ac_config_files man/fr_FR/Makefile"
                   9492: 
                   9493: ac_config_files="$ac_config_files doc/Makefile"
                   9494: 
                   9495: ac_config_files="$ac_config_files scripts/Makefile"
                   9496: 
                   9497: ac_config_files="$ac_config_files scripts/mkrplso"
                   9498: 
                   9499: ac_config_files="$ac_config_files scripts/rplcc"
                   9500: 
                   9501: ac_config_files="$ac_config_files scripts/rpllink"
                   9502: 
                   9503: ac_config_files="$ac_config_files rpltags/Makefile"
                   9504: 
                   9505: ac_config_files="$ac_config_files rpliconv/Makefile"
                   9506: 
1.9       bertrand 9507: ac_config_files="$ac_config_files rplsums/Makefile"
                   9508: 
1.55      bertrand 9509: ac_config_files="$ac_config_files rplcas/Makefile"
                   9510: 
1.39      bertrand 9511: ac_config_files="$ac_config_files rplawk/Makefile"
                   9512: 
1.1       bertrand 9513: ac_config_files="$ac_config_files lapack/lapack/Makefile"
                   9514: 
                   9515: ac_config_files="$ac_config_files lapack/blas/Makefile"
                   9516: 
                   9517: 
                   9518: ac_config_files="$ac_config_files man/rpl.1"
                   9519: 
                   9520: ac_config_files="$ac_config_files man/rplcc.1"
                   9521: 
                   9522: ac_config_files="$ac_config_files man/rpllink.1"
                   9523: 
                   9524: ac_config_files="$ac_config_files man/rpltags.1"
                   9525: 
                   9526: ac_config_files="$ac_config_files man/mkrplso.1"
                   9527: 
                   9528: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
                   9529: 
                   9530: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
                   9531: 
                   9532: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
                   9533: 
                   9534: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
                   9535: 
                   9536: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
                   9537: 
                   9538: 
                   9539: cat >confcache <<\_ACEOF
                   9540: # This file is a shell script that caches the results of configure
                   9541: # tests run on this system so they can be shared between configure
                   9542: # scripts and configure runs, see configure's option --config-cache.
                   9543: # It is not useful on other systems.  If it contains results you don't
                   9544: # want to keep, you may remove or edit it.
                   9545: #
                   9546: # config.status only pays attention to the cache file if you give it
                   9547: # the --recheck option to rerun configure.
                   9548: #
                   9549: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   9550: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   9551: # following values.
                   9552: 
                   9553: _ACEOF
                   9554: 
                   9555: # The following way of writing the cache mishandles newlines in values,
                   9556: # but we know of no workaround that is simple, portable, and efficient.
                   9557: # So, we kill variables containing newlines.
                   9558: # Ultrix sh set writes to stderr and can't be redirected directly,
                   9559: # and sets the high bit in the cache file unless we assign to the vars.
                   9560: (
                   9561:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   9562:     eval ac_val=\$$ac_var
                   9563:     case $ac_val in #(
                   9564:     *${as_nl}*)
                   9565:       case $ac_var in #(
1.15      bertrand 9566:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   9567: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       bertrand 9568:       esac
                   9569:       case $ac_var in #(
                   9570:       _ | IFS | as_nl) ;; #(
1.15      bertrand 9571:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   9572:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       bertrand 9573:       esac ;;
                   9574:     esac
                   9575:   done
                   9576: 
                   9577:   (set) 2>&1 |
                   9578:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   9579:     *${as_nl}ac_space=\ *)
1.15      bertrand 9580:       # `set' does not quote correctly, so add quotes: double-quote
                   9581:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1       bertrand 9582:       sed -n \
                   9583:    "s/'/'\\\\''/g;
                   9584:      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   9585:       ;; #(
                   9586:     *)
                   9587:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   9588:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   9589:       ;;
                   9590:     esac |
                   9591:     sort
                   9592: ) |
                   9593:   sed '
                   9594:      /^ac_cv_env_/b end
                   9595:      t clear
                   9596:      :clear
                   9597:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   9598:      t end
                   9599:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   9600:      :end' >>confcache
                   9601: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   9602:   if test -w "$cache_file"; then
1.57      bertrand 9603:     if test "x$cache_file" != "x/dev/null"; then
1.15      bertrand 9604:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   9605: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.57      bertrand 9606:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   9607:    cat confcache >"$cache_file"
                   9608:       else
                   9609:         case $cache_file in #(
                   9610:         */* | ?:*)
                   9611:      mv -f confcache "$cache_file"$$ &&
                   9612:      mv -f "$cache_file"$$ "$cache_file" ;; #(
                   9613:         *)
                   9614:      mv -f confcache "$cache_file" ;;
                   9615:    esac
                   9616:       fi
                   9617:     fi
1.1       bertrand 9618:   else
1.15      bertrand 9619:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   9620: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       bertrand 9621:   fi
                   9622: fi
                   9623: rm -f confcache
                   9624: 
                   9625: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   9626: # Let make expand exec_prefix.
                   9627: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   9628: 
                   9629: DEFS=-DHAVE_CONFIG_H
                   9630: 
                   9631: ac_libobjs=
                   9632: ac_ltlibobjs=
1.36      bertrand 9633: U=
1.1       bertrand 9634: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   9635:   # 1. Remove the extension, and $U if already installed.
                   9636:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.15      bertrand 9637:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.1       bertrand 9638:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   9639:   #    will be set to the directory where LIBOBJS objects are built.
1.15      bertrand 9640:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   9641:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1       bertrand 9642: done
                   9643: LIBOBJS=$ac_libobjs
                   9644: 
                   9645: LTLIBOBJS=$ac_ltlibobjs
                   9646: 
                   9647: 
1.15      bertrand 9648:  if test -n "$EXEEXT"; then
                   9649:   am__EXEEXT_TRUE=
                   9650:   am__EXEEXT_FALSE='#'
                   9651: else
                   9652:   am__EXEEXT_TRUE='#'
                   9653:   am__EXEEXT_FALSE=
                   9654: fi
                   9655: 
1.1       bertrand 9656: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.36      bertrand 9657:   as_fn_error $? "conditional \"AMDEP\" was never defined.
1.15      bertrand 9658: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9659: fi
                   9660: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.36      bertrand 9661:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1.15      bertrand 9662: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9663: fi
                   9664: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.36      bertrand 9665:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
1.15      bertrand 9666: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9667: fi
                   9668: 
1.57      bertrand 9669: : "${CONFIG_STATUS=./config.status}"
1.15      bertrand 9670: ac_write_fail=0
1.1       bertrand 9671: ac_clean_files_save=$ac_clean_files
                   9672: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.15      bertrand 9673: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   9674: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   9675: as_write_fail=0
                   9676: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1       bertrand 9677: #! $SHELL
                   9678: # Generated by $as_me.
                   9679: # Run this file to recreate the current configuration.
                   9680: # Compiler output produced by configure, useful for debugging
                   9681: # configure, is in config.log if it exists.
                   9682: 
                   9683: debug=false
                   9684: ac_cs_recheck=false
                   9685: ac_cs_silent=false
1.15      bertrand 9686: 
1.14      bertrand 9687: SHELL=\${CONFIG_SHELL-$SHELL}
1.15      bertrand 9688: export SHELL
                   9689: _ASEOF
                   9690: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   9691: ## -------------------- ##
                   9692: ## M4sh Initialization. ##
                   9693: ## -------------------- ##
1.1       bertrand 9694: 
                   9695: # Be more Bourne compatible
                   9696: DUALCASE=1; export DUALCASE # for MKS sh
1.15      bertrand 9697: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       bertrand 9698:   emulate sh
                   9699:   NULLCMD=:
1.15      bertrand 9700:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       bertrand 9701:   # is contrary to our usage.  Disable this feature.
                   9702:   alias -g '${1+"$@"}'='"$@"'
                   9703:   setopt NO_GLOB_SUBST
                   9704: else
1.15      bertrand 9705:   case `(set -o) 2>/dev/null` in #(
                   9706:   *posix*) :
                   9707:     set -o posix ;; #(
                   9708:   *) :
                   9709:      ;;
1.1       bertrand 9710: esac
                   9711: fi
                   9712: 
                   9713: 
1.15      bertrand 9714: as_nl='
                   9715: '
                   9716: export as_nl
                   9717: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   9718: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   9719: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   9720: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   9721: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   9722: # but without wasting forks for bash or zsh.
                   9723: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   9724:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   9725:   as_echo='print -r --'
                   9726:   as_echo_n='print -rn --'
                   9727: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   9728:   as_echo='printf %s\n'
                   9729:   as_echo_n='printf %s'
                   9730: else
                   9731:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   9732:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   9733:     as_echo_n='/usr/ucb/echo -n'
                   9734:   else
                   9735:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   9736:     as_echo_n_body='eval
                   9737:       arg=$1;
                   9738:       case $arg in #(
                   9739:       *"$as_nl"*)
                   9740:    expr "X$arg" : "X\\(.*\\)$as_nl";
                   9741:    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   9742:       esac;
                   9743:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   9744:     '
                   9745:     export as_echo_n_body
                   9746:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   9747:   fi
                   9748:   export as_echo_body
                   9749:   as_echo='sh -c $as_echo_body as_echo'
                   9750: fi
1.14      bertrand 9751: 
                   9752: # The user is always right.
                   9753: if test "${PATH_SEPARATOR+set}" != set; then
1.15      bertrand 9754:   PATH_SEPARATOR=:
                   9755:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   9756:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   9757:       PATH_SEPARATOR=';'
                   9758:   }
1.1       bertrand 9759: fi
                   9760: 
                   9761: 
                   9762: # IFS
                   9763: # We need space, tab and new line, in precisely that order.  Quoting is
                   9764: # there to prevent editors from complaining about space-tab.
                   9765: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   9766: # splitting by setting IFS to empty value.)
                   9767: IFS=" ""   $as_nl"
                   9768: 
                   9769: # Find who we are.  Look in the path if we contain no directory separator.
1.57      bertrand 9770: as_myself=
1.15      bertrand 9771: case $0 in #((
1.1       bertrand 9772:   *[\\/]* ) as_myself=$0 ;;
                   9773:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9774: for as_dir in $PATH
                   9775: do
                   9776:   IFS=$as_save_IFS
                   9777:   test -z "$as_dir" && as_dir=.
1.15      bertrand 9778:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   9779:   done
1.1       bertrand 9780: IFS=$as_save_IFS
                   9781: 
                   9782:      ;;
                   9783: esac
                   9784: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   9785: # in which case we are not to be found in the path.
                   9786: if test "x$as_myself" = x; then
                   9787:   as_myself=$0
                   9788: fi
                   9789: if test ! -f "$as_myself"; then
1.15      bertrand 9790:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   9791:   exit 1
1.1       bertrand 9792: fi
                   9793: 
1.15      bertrand 9794: # Unset variables that we do not need and which cause bugs (e.g. in
                   9795: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   9796: # suppresses any "Segmentation fault" message there.  '((' could
                   9797: # trigger a bug in pdksh 5.2.14.
                   9798: for as_var in BASH_ENV ENV MAIL MAILPATH
                   9799: do eval test x\${$as_var+set} = xset \
                   9800:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       bertrand 9801: done
                   9802: PS1='$ '
                   9803: PS2='> '
                   9804: PS4='+ '
                   9805: 
                   9806: # NLS nuisances.
1.15      bertrand 9807: LC_ALL=C
                   9808: export LC_ALL
                   9809: LANGUAGE=C
                   9810: export LANGUAGE
                   9811: 
                   9812: # CDPATH.
                   9813: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   9814: 
                   9815: 
1.36      bertrand 9816: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   9817: # ----------------------------------------
1.15      bertrand 9818: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   9819: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.36      bertrand 9820: # script with STATUS, using 1 if that was 0.
1.15      bertrand 9821: as_fn_error ()
                   9822: {
1.36      bertrand 9823:   as_status=$1; test $as_status -eq 0 && as_status=1
                   9824:   if test "$4"; then
                   9825:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   9826:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.15      bertrand 9827:   fi
1.36      bertrand 9828:   $as_echo "$as_me: error: $2" >&2
1.15      bertrand 9829:   as_fn_exit $as_status
                   9830: } # as_fn_error
                   9831: 
                   9832: 
                   9833: # as_fn_set_status STATUS
                   9834: # -----------------------
                   9835: # Set $? to STATUS, without forking.
                   9836: as_fn_set_status ()
                   9837: {
                   9838:   return $1
                   9839: } # as_fn_set_status
                   9840: 
                   9841: # as_fn_exit STATUS
                   9842: # -----------------
                   9843: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   9844: as_fn_exit ()
                   9845: {
                   9846:   set +e
                   9847:   as_fn_set_status $1
                   9848:   exit $1
                   9849: } # as_fn_exit
                   9850: 
                   9851: # as_fn_unset VAR
                   9852: # ---------------
                   9853: # Portably unset VAR.
                   9854: as_fn_unset ()
                   9855: {
                   9856:   { eval $1=; unset $1;}
                   9857: }
                   9858: as_unset=as_fn_unset
                   9859: # as_fn_append VAR VALUE
                   9860: # ----------------------
                   9861: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   9862: # advantage of any shell optimizations that allow amortized linear growth over
                   9863: # repeated appends, instead of the typical quadratic growth present in naive
                   9864: # implementations.
                   9865: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   9866:   eval 'as_fn_append ()
                   9867:   {
                   9868:     eval $1+=\$2
                   9869:   }'
                   9870: else
                   9871:   as_fn_append ()
                   9872:   {
                   9873:     eval $1=\$$1\$2
                   9874:   }
                   9875: fi # as_fn_append
                   9876: 
                   9877: # as_fn_arith ARG...
                   9878: # ------------------
                   9879: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   9880: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   9881: # must be portable across $(()) and expr.
                   9882: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   9883:   eval 'as_fn_arith ()
                   9884:   {
                   9885:     as_val=$(( $* ))
                   9886:   }'
                   9887: else
                   9888:   as_fn_arith ()
                   9889:   {
                   9890:     as_val=`expr "$@" || test $? -eq 1`
                   9891:   }
                   9892: fi # as_fn_arith
                   9893: 
1.1       bertrand 9894: 
                   9895: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   9896:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   9897:   as_expr=expr
                   9898: else
                   9899:   as_expr=false
                   9900: fi
                   9901: 
                   9902: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   9903:   as_basename=basename
                   9904: else
                   9905:   as_basename=false
                   9906: fi
                   9907: 
1.15      bertrand 9908: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   9909:   as_dirname=dirname
                   9910: else
                   9911:   as_dirname=false
                   9912: fi
1.1       bertrand 9913: 
                   9914: as_me=`$as_basename -- "$0" ||
                   9915: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   9916:     X"$0" : 'X\(//\)$' \| \
                   9917:     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 9918: $as_echo X/"$0" |
1.1       bertrand 9919:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   9920:        s//\1/
                   9921:        q
                   9922:      }
                   9923:      /^X\/\(\/\/\)$/{
                   9924:        s//\1/
                   9925:        q
                   9926:      }
                   9927:      /^X\/\(\/\).*/{
                   9928:        s//\1/
                   9929:        q
                   9930:      }
1.14      bertrand 9931:      s/.*/./; q'`
                   9932: 
1.15      bertrand 9933: # Avoid depending upon Character Ranges.
                   9934: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   9935: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   9936: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   9937: as_cr_digits='0123456789'
                   9938: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       bertrand 9939: 
                   9940: ECHO_C= ECHO_N= ECHO_T=
1.15      bertrand 9941: case `echo -n x` in #(((((
1.1       bertrand 9942: -n*)
1.15      bertrand 9943:   case `echo 'xy\c'` in
1.1       bertrand 9944:   *c*) ECHO_T='    ';; # ECHO_T is single tab character.
1.15      bertrand 9945:   xy)  ECHO_C='\c';;
                   9946:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   9947:        ECHO_T='    ';;
1.1       bertrand 9948:   esac;;
                   9949: *)
                   9950:   ECHO_N='-n';;
                   9951: esac
                   9952: 
                   9953: rm -f conf$$ conf$$.exe conf$$.file
                   9954: if test -d conf$$.dir; then
                   9955:   rm -f conf$$.dir/conf$$.file
                   9956: else
                   9957:   rm -f conf$$.dir
1.15      bertrand 9958:   mkdir conf$$.dir 2>/dev/null
1.1       bertrand 9959: fi
1.15      bertrand 9960: if (echo >conf$$.file) 2>/dev/null; then
                   9961:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   9962:     as_ln_s='ln -s'
                   9963:     # ... but there are two gotchas:
                   9964:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   9965:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   9966:     # In both cases, we have to default to `cp -p'.
                   9967:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   9968:       as_ln_s='cp -p'
                   9969:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   9970:     as_ln_s=ln
                   9971:   else
1.1       bertrand 9972:     as_ln_s='cp -p'
1.15      bertrand 9973:   fi
1.1       bertrand 9974: else
                   9975:   as_ln_s='cp -p'
                   9976: fi
                   9977: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   9978: rmdir conf$$.dir 2>/dev/null
                   9979: 
1.15      bertrand 9980: 
                   9981: # as_fn_mkdir_p
                   9982: # -------------
                   9983: # Create "$as_dir" as a directory, including parents if necessary.
                   9984: as_fn_mkdir_p ()
                   9985: {
                   9986: 
                   9987:   case $as_dir in #(
                   9988:   -*) as_dir=./$as_dir;;
                   9989:   esac
                   9990:   test -d "$as_dir" || eval $as_mkdir_p || {
                   9991:     as_dirs=
                   9992:     while :; do
                   9993:       case $as_dir in #(
                   9994:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   9995:       *) as_qdir=$as_dir;;
                   9996:       esac
                   9997:       as_dirs="'$as_qdir' $as_dirs"
                   9998:       as_dir=`$as_dirname -- "$as_dir" ||
                   9999: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10000:     X"$as_dir" : 'X\(//\)[^/]' \| \
                   10001:     X"$as_dir" : 'X\(//\)$' \| \
                   10002:     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   10003: $as_echo X"$as_dir" |
                   10004:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10005:        s//\1/
                   10006:        q
                   10007:      }
                   10008:      /^X\(\/\/\)[^/].*/{
                   10009:        s//\1/
                   10010:        q
                   10011:      }
                   10012:      /^X\(\/\/\)$/{
                   10013:        s//\1/
                   10014:        q
                   10015:      }
                   10016:      /^X\(\/\).*/{
                   10017:        s//\1/
                   10018:        q
                   10019:      }
                   10020:      s/.*/./; q'`
                   10021:       test -d "$as_dir" && break
                   10022:     done
                   10023:     test -z "$as_dirs" || eval "mkdir $as_dirs"
1.36      bertrand 10024:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.15      bertrand 10025: 
                   10026: 
                   10027: } # as_fn_mkdir_p
1.1       bertrand 10028: if mkdir -p . 2>/dev/null; then
1.15      bertrand 10029:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       bertrand 10030: else
                   10031:   test -d ./-p && rmdir ./-p
                   10032:   as_mkdir_p=false
                   10033: fi
                   10034: 
                   10035: if test -x / >/dev/null 2>&1; then
                   10036:   as_test_x='test -x'
                   10037: else
                   10038:   if ls -dL / >/dev/null 2>&1; then
                   10039:     as_ls_L_option=L
                   10040:   else
                   10041:     as_ls_L_option=
                   10042:   fi
                   10043:   as_test_x='
                   10044:     eval sh -c '\''
                   10045:       if test -d "$1"; then
1.15      bertrand 10046:    test -d "$1/.";
1.1       bertrand 10047:       else
1.15      bertrand 10048:    case $1 in #(
                   10049:    -*)set "./$1";;
1.1       bertrand 10050:    esac;
1.15      bertrand 10051:    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1       bertrand 10052:    ???[sx]*):;;*)false;;esac;fi
                   10053:     '\'' sh
                   10054:   '
                   10055: fi
                   10056: as_executable_p=$as_test_x
                   10057: 
                   10058: # Sed expression to map a string onto a valid CPP name.
                   10059: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   10060: 
                   10061: # Sed expression to map a string onto a valid variable name.
                   10062: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   10063: 
                   10064: 
                   10065: exec 6>&1
1.15      bertrand 10066: ## ----------------------------------- ##
                   10067: ## Main body of $CONFIG_STATUS script. ##
                   10068: ## ----------------------------------- ##
                   10069: _ASEOF
                   10070: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       bertrand 10071: 
1.15      bertrand 10072: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   10073: # Save the log message, to keep $0 and so on meaningful, and to
1.1       bertrand 10074: # report actual input values of CONFIG_FILES etc. instead of their
                   10075: # values after options handling.
                   10076: ac_log="
1.67      bertrand 10077: This file was extended by rpl $as_me 4.1.1, which was
1.57      bertrand 10078: generated by GNU Autoconf 2.68.  Invocation command line was
1.1       bertrand 10079: 
                   10080:   CONFIG_FILES    = $CONFIG_FILES
                   10081:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   10082:   CONFIG_LINKS    = $CONFIG_LINKS
                   10083:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   10084:   $ $0 $@
                   10085: 
                   10086: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   10087: "
                   10088: 
                   10089: _ACEOF
                   10090: 
1.15      bertrand 10091: case $ac_config_files in *"
                   10092: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   10093: esac
                   10094: 
                   10095: case $ac_config_headers in *"
                   10096: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   10097: esac
                   10098: 
                   10099: 
                   10100: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 10101: # Files that config.status was made for.
                   10102: config_files="$ac_config_files"
                   10103: config_headers="$ac_config_headers"
                   10104: config_commands="$ac_config_commands"
                   10105: 
                   10106: _ACEOF
                   10107: 
1.15      bertrand 10108: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10109: ac_cs_usage="\
1.15      bertrand 10110: \`$as_me' instantiates files and other configuration actions
                   10111: from templates according to the current configuration.  Unless the files
                   10112: and actions are specified as TAGs, all are instantiated by default.
1.1       bertrand 10113: 
1.15      bertrand 10114: Usage: $0 [OPTION]... [TAG]...
1.1       bertrand 10115: 
                   10116:   -h, --help       print this help, then exit
                   10117:   -V, --version    print version number and configuration settings, then exit
1.15      bertrand 10118:       --config     print configuration, then exit
                   10119:   -q, --quiet, --silent
                   10120:                    do not print progress messages
1.1       bertrand 10121:   -d, --debug      don't remove temporary files
                   10122:       --recheck    update $as_me by reconfiguring in the same conditions
1.15      bertrand 10123:       --file=FILE[:TEMPLATE]
                   10124:                    instantiate the configuration file FILE
                   10125:       --header=FILE[:TEMPLATE]
                   10126:                    instantiate the configuration header FILE
1.1       bertrand 10127: 
                   10128: Configuration files:
                   10129: $config_files
                   10130: 
                   10131: Configuration headers:
                   10132: $config_headers
                   10133: 
                   10134: Configuration commands:
                   10135: $config_commands
                   10136: 
1.15      bertrand 10137: Report bugs to the package provider."
1.1       bertrand 10138: 
                   10139: _ACEOF
1.15      bertrand 10140: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10141: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1       bertrand 10142: ac_cs_version="\\
1.67      bertrand 10143: rpl config.status 4.1.1
1.57      bertrand 10144: configured by $0, generated by GNU Autoconf 2.68,
1.15      bertrand 10145:   with options \\"\$ac_cs_config\\"
1.1       bertrand 10146: 
1.36      bertrand 10147: Copyright (C) 2010 Free Software Foundation, Inc.
1.1       bertrand 10148: This config.status script is free software; the Free Software Foundation
                   10149: gives unlimited permission to copy, distribute and modify it."
                   10150: 
                   10151: ac_pwd='$ac_pwd'
                   10152: srcdir='$srcdir'
                   10153: INSTALL='$INSTALL'
                   10154: MKDIR_P='$MKDIR_P'
1.15      bertrand 10155: AWK='$AWK'
                   10156: test -n "\$AWK" || AWK=awk
1.1       bertrand 10157: _ACEOF
                   10158: 
1.15      bertrand 10159: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   10160: # The default lists apply if the user does not specify any file.
1.1       bertrand 10161: ac_need_defaults=:
                   10162: while test $# != 0
                   10163: do
                   10164:   case $1 in
1.36      bertrand 10165:   --*=?*)
1.1       bertrand 10166:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   10167:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   10168:     ac_shift=:
                   10169:     ;;
1.36      bertrand 10170:   --*=)
                   10171:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   10172:     ac_optarg=
                   10173:     ac_shift=:
                   10174:     ;;
1.1       bertrand 10175:   *)
                   10176:     ac_option=$1
                   10177:     ac_optarg=$2
                   10178:     ac_shift=shift
                   10179:     ;;
                   10180:   esac
                   10181: 
                   10182:   case $ac_option in
                   10183:   # Handling of the options.
                   10184:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   10185:     ac_cs_recheck=: ;;
                   10186:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.15      bertrand 10187:     $as_echo "$ac_cs_version"; exit ;;
                   10188:   --config | --confi | --conf | --con | --co | --c )
                   10189:     $as_echo "$ac_cs_config"; exit ;;
1.1       bertrand 10190:   --debug | --debu | --deb | --de | --d | -d )
                   10191:     debug=: ;;
                   10192:   --file | --fil | --fi | --f )
                   10193:     $ac_shift
1.15      bertrand 10194:     case $ac_optarg in
                   10195:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.36      bertrand 10196:     '') as_fn_error $? "missing file argument" ;;
1.15      bertrand 10197:     esac
                   10198:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1       bertrand 10199:     ac_need_defaults=false;;
                   10200:   --header | --heade | --head | --hea )
                   10201:     $ac_shift
1.15      bertrand 10202:     case $ac_optarg in
                   10203:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   10204:     esac
                   10205:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1       bertrand 10206:     ac_need_defaults=false;;
                   10207:   --he | --h)
                   10208:     # Conflict between --help and --header
1.36      bertrand 10209:     as_fn_error $? "ambiguous option: \`$1'
1.15      bertrand 10210: Try \`$0 --help' for more information.";;
1.1       bertrand 10211:   --help | --hel | -h )
1.15      bertrand 10212:     $as_echo "$ac_cs_usage"; exit ;;
1.1       bertrand 10213:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   10214:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   10215:     ac_cs_silent=: ;;
                   10216: 
                   10217:   # This is an error.
1.36      bertrand 10218:   -*) as_fn_error $? "unrecognized option: \`$1'
1.15      bertrand 10219: Try \`$0 --help' for more information." ;;
1.1       bertrand 10220: 
1.15      bertrand 10221:   *) as_fn_append ac_config_targets " $1"
1.1       bertrand 10222:      ac_need_defaults=false ;;
                   10223: 
                   10224:   esac
                   10225:   shift
                   10226: done
                   10227: 
                   10228: ac_configure_extra_args=
                   10229: 
                   10230: if $ac_cs_silent; then
                   10231:   exec 6>/dev/null
                   10232:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   10233: fi
                   10234: 
                   10235: _ACEOF
1.15      bertrand 10236: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 10237: if \$ac_cs_recheck; then
1.15      bertrand 10238:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   10239:   shift
                   10240:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   10241:   CONFIG_SHELL='$SHELL'
1.1       bertrand 10242:   export CONFIG_SHELL
1.15      bertrand 10243:   exec "\$@"
1.1       bertrand 10244: fi
                   10245: 
                   10246: _ACEOF
1.15      bertrand 10247: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10248: exec 5>>config.log
                   10249: {
                   10250:   echo
                   10251:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   10252: ## Running $as_me. ##
                   10253: _ASBOX
1.15      bertrand 10254:   $as_echo "$ac_log"
1.1       bertrand 10255: } >&5
                   10256: 
                   10257: _ACEOF
1.15      bertrand 10258: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 10259: #
                   10260: # INIT-COMMANDS
                   10261: #
                   10262: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   10263: 
                   10264: _ACEOF
                   10265: 
1.15      bertrand 10266: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10267: 
                   10268: # Handling of arguments.
                   10269: for ac_config_target in $ac_config_targets
                   10270: do
                   10271:   case $ac_config_target in
                   10272:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
                   10273:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   10274:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   10275:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
                   10276:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
                   10277:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   10278:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
                   10279:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
                   10280:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   10281:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
                   10282:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
                   10283:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
                   10284:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
                   10285:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
                   10286:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
1.9       bertrand 10287:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
1.55      bertrand 10288:     "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
1.39      bertrand 10289:     "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
1.1       bertrand 10290:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
                   10291:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
                   10292:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
                   10293:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
                   10294:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
                   10295:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
                   10296:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
                   10297:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
                   10298:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
                   10299:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
                   10300:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
                   10301:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
                   10302: 
1.57      bertrand 10303:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       bertrand 10304:   esac
                   10305: done
                   10306: 
                   10307: 
                   10308: # If the user did not use the arguments to specify the items to instantiate,
                   10309: # then the envvar interface is used.  Set only those that are not.
                   10310: # We use the long form for the default assignment because of an extremely
                   10311: # bizarre bug on SunOS 4.1.3.
                   10312: if $ac_need_defaults; then
                   10313:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   10314:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   10315:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   10316: fi
                   10317: 
                   10318: # Have a temporary directory for convenience.  Make it in the build tree
                   10319: # simply because there is no reason against having it here, and in addition,
                   10320: # creating and moving files from /tmp can sometimes cause problems.
                   10321: # Hook for its removal unless debugging.
                   10322: # Note that there is a small window in which the directory will not be cleaned:
                   10323: # after its creation but before its name has been assigned to `$tmp'.
                   10324: $debug ||
                   10325: {
1.57      bertrand 10326:   tmp= ac_tmp=
1.1       bertrand 10327:   trap 'exit_status=$?
1.57      bertrand 10328:   : "${ac_tmp:=$tmp}"
                   10329:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       bertrand 10330: ' 0
1.15      bertrand 10331:   trap 'as_fn_exit 1' 1 2 13 15
1.1       bertrand 10332: }
                   10333: # Create a (secure) tmp directory for tmp files.
                   10334: 
                   10335: {
                   10336:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.57      bertrand 10337:   test -d "$tmp"
1.1       bertrand 10338: }  ||
                   10339: {
                   10340:   tmp=./conf$$-$RANDOM
                   10341:   (umask 077 && mkdir "$tmp")
1.36      bertrand 10342: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1.57      bertrand 10343: ac_tmp=$tmp
1.15      bertrand 10344: 
                   10345: # Set up the scripts for CONFIG_FILES section.
                   10346: # No need to generate them if there are no CONFIG_FILES.
                   10347: # This happens for instance with `./config.status config.h'.
                   10348: if test -n "$CONFIG_FILES"; then
1.14      bertrand 10349: 
1.1       bertrand 10350: 
1.15      bertrand 10351: ac_cr=`echo X | tr X '\015'`
                   10352: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   10353: # But we know of no other shell where ac_cr would be empty at this
                   10354: # point, so we can use a bashism as a fallback.
                   10355: if test "x$ac_cr" = x; then
                   10356:   eval ac_cr=\$\'\\r\'
                   10357: fi
                   10358: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   10359: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
1.36      bertrand 10360:   ac_cs_awk_cr='\\r'
1.15      bertrand 10361: else
                   10362:   ac_cs_awk_cr=$ac_cr
                   10363: fi
1.1       bertrand 10364: 
1.57      bertrand 10365: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.14      bertrand 10366: _ACEOF
                   10367: 
                   10368: 
1.15      bertrand 10369: {
                   10370:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   10371:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   10372:   echo "_ACEOF"
                   10373: } >conf$$subs.sh ||
1.36      bertrand 10374:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   10375: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.14      bertrand 10376: ac_delim='%!_!# '
                   10377: for ac_last_try in false false false false false :; do
1.15      bertrand 10378:   . ./conf$$subs.sh ||
1.36      bertrand 10379:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.14      bertrand 10380: 
1.15      bertrand 10381:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   10382:   if test $ac_delim_n = $ac_delim_num; then
1.14      bertrand 10383:     break
                   10384:   elif $ac_last_try; then
1.36      bertrand 10385:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.14      bertrand 10386:   else
                   10387:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   10388:   fi
                   10389: done
1.15      bertrand 10390: rm -f conf$$subs.sh
1.1       bertrand 10391: 
1.15      bertrand 10392: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.57      bertrand 10393: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.15      bertrand 10394: _ACEOF
                   10395: sed -n '
                   10396: h
                   10397: s/^/S["/; s/!.*/"]=/
                   10398: p
                   10399: g
                   10400: s/^[^!]*!//
                   10401: :repl
                   10402: t repl
                   10403: s/'"$ac_delim"'$//
                   10404: t delim
                   10405: :nl
                   10406: h
                   10407: s/\(.\{148\}\)..*/\1/
                   10408: t more1
                   10409: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   10410: p
                   10411: n
                   10412: b repl
                   10413: :more1
                   10414: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   10415: p
                   10416: g
                   10417: s/.\{148\}//
                   10418: t nl
                   10419: :delim
                   10420: h
                   10421: s/\(.\{148\}\)..*/\1/
                   10422: t more2
                   10423: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   10424: p
                   10425: b
                   10426: :more2
                   10427: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   10428: p
                   10429: g
                   10430: s/.\{148\}//
                   10431: t delim
                   10432: ' <conf$$subs.awk | sed '
                   10433: /^[^""]/{
                   10434:   N
                   10435:   s/\n//
                   10436: }
                   10437: ' >>$CONFIG_STATUS || ac_write_fail=1
                   10438: rm -f conf$$subs.awk
                   10439: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10440: _ACAWK
1.57      bertrand 10441: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.15      bertrand 10442:   for (key in S) S_is_set[key] = 1
                   10443:   FS = ""
1.1       bertrand 10444: 
1.15      bertrand 10445: }
                   10446: {
                   10447:   line = $ 0
                   10448:   nfields = split(line, field, "@")
                   10449:   substed = 0
                   10450:   len = length(field[1])
                   10451:   for (i = 2; i < nfields; i++) {
                   10452:     key = field[i]
                   10453:     keylen = length(key)
                   10454:     if (S_is_set[key]) {
                   10455:       value = S[key]
                   10456:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   10457:       len += length(value) + length(field[++i])
                   10458:       substed = 1
                   10459:     } else
                   10460:       len += 1 + keylen
                   10461:   }
1.1       bertrand 10462: 
1.15      bertrand 10463:   print line
                   10464: }
1.1       bertrand 10465: 
1.15      bertrand 10466: _ACAWK
1.14      bertrand 10467: _ACEOF
1.15      bertrand 10468: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   10469: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   10470:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   10471: else
                   10472:   cat
1.57      bertrand 10473: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1.36      bertrand 10474:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.1       bertrand 10475: _ACEOF
                   10476: 
1.36      bertrand 10477: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   10478: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1       bertrand 10479: # trailing colons and then remove the whole line if VPATH becomes empty
                   10480: # (actually we leave an empty line to preserve line numbers).
                   10481: if test "x$srcdir" = x.; then
1.36      bertrand 10482:   ac_vpsub='/^[     ]*VPATH[    ]*=[    ]*/{
                   10483: h
                   10484: s///
                   10485: s/^/:/
                   10486: s/[     ]*$/:/
                   10487: s/:\$(srcdir):/:/g
                   10488: s/:\${srcdir}:/:/g
                   10489: s/:@srcdir@:/:/g
                   10490: s/^:*//
1.1       bertrand 10491: s/:*$//
1.36      bertrand 10492: x
                   10493: s/\(=[  ]*\).*/\1/
                   10494: G
                   10495: s/\n//
1.1       bertrand 10496: s/^[^=]*=[  ]*$//
                   10497: }'
                   10498: fi
                   10499: 
1.15      bertrand 10500: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10501: fi # test -n "$CONFIG_FILES"
                   10502: 
1.15      bertrand 10503: # Set up the scripts for CONFIG_HEADERS section.
                   10504: # No need to generate them if there are no CONFIG_HEADERS.
                   10505: # This happens for instance with `./config.status Makefile'.
                   10506: if test -n "$CONFIG_HEADERS"; then
1.57      bertrand 10507: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.15      bertrand 10508: BEGIN {
                   10509: _ACEOF
                   10510: 
                   10511: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   10512: # here-document in config.status, that substitutes the proper values into
                   10513: # config.h.in to produce config.h.
                   10514: 
                   10515: # Create a delimiter string that does not exist in confdefs.h, to ease
                   10516: # handling of long lines.
                   10517: ac_delim='%!_!# '
                   10518: for ac_last_try in false false :; do
1.57      bertrand 10519:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   10520:   if test -z "$ac_tt"; then
1.15      bertrand 10521:     break
                   10522:   elif $ac_last_try; then
1.36      bertrand 10523:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1.15      bertrand 10524:   else
                   10525:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   10526:   fi
                   10527: done
                   10528: 
                   10529: # For the awk script, D is an array of macro values keyed by name,
                   10530: # likewise P contains macro parameters if any.  Preserve backslash
                   10531: # newline sequences.
                   10532: 
                   10533: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   10534: sed -n '
                   10535: s/.\{148\}/&'"$ac_delim"'/g
                   10536: t rset
                   10537: :rset
                   10538: s/^[    ]*#[    ]*define[   ][  ]*/ /
                   10539: t def
                   10540: d
                   10541: :def
                   10542: s/\\$//
                   10543: t bsnl
                   10544: s/["\\]/\\&/g
                   10545: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   10546: D["\1"]=" \3"/p
                   10547: s/^ \('"$ac_word_re"'\)[    ]*\(.*\)/D["\1"]=" \2"/p
                   10548: d
                   10549: :bsnl
                   10550: s/["\\]/\\&/g
                   10551: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   10552: D["\1"]=" \3\\\\\\n"\\/p
                   10553: t cont
                   10554: s/^ \('"$ac_word_re"'\)[    ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   10555: t cont
                   10556: d
                   10557: :cont
                   10558: n
                   10559: s/.\{148\}/&'"$ac_delim"'/g
                   10560: t clear
                   10561: :clear
                   10562: s/\\$//
                   10563: t bsnlc
                   10564: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   10565: d
                   10566: :bsnlc
                   10567: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   10568: b cont
                   10569: ' <confdefs.h | sed '
                   10570: s/'"$ac_delim"'/"\\\
                   10571: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   10572: 
                   10573: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10574:   for (key in D) D_is_set[key] = 1
                   10575:   FS = ""
                   10576: }
                   10577: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   10578:   line = \$ 0
                   10579:   split(line, arg, " ")
                   10580:   if (arg[1] == "#") {
                   10581:     defundef = arg[2]
                   10582:     mac1 = arg[3]
                   10583:   } else {
                   10584:     defundef = substr(arg[1], 2)
                   10585:     mac1 = arg[2]
                   10586:   }
                   10587:   split(mac1, mac2, "(") #)
                   10588:   macro = mac2[1]
                   10589:   prefix = substr(line, 1, index(line, defundef) - 1)
                   10590:   if (D_is_set[macro]) {
                   10591:     # Preserve the white space surrounding the "#".
                   10592:     print prefix "define", macro P[macro] D[macro]
                   10593:     next
                   10594:   } else {
                   10595:     # Replace #undef with comments.  This is necessary, for example,
                   10596:     # in the case of _POSIX_SOURCE, which is predefined and required
                   10597:     # on some systems where configure will not decide to define it.
                   10598:     if (defundef == "undef") {
                   10599:       print "/*", prefix defundef, macro, "*/"
                   10600:       next
                   10601:     }
                   10602:   }
                   10603: }
                   10604: { print }
                   10605: _ACAWK
                   10606: _ACEOF
                   10607: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.36      bertrand 10608:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1.15      bertrand 10609: fi # test -n "$CONFIG_HEADERS"
                   10610: 
1.1       bertrand 10611: 
1.15      bertrand 10612: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   10613: shift
                   10614: for ac_tag
1.1       bertrand 10615: do
                   10616:   case $ac_tag in
                   10617:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   10618:   esac
                   10619:   case $ac_mode$ac_tag in
                   10620:   :[FHL]*:*);;
1.57      bertrand 10621:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       bertrand 10622:   :[FH]-) ac_tag=-:-;;
                   10623:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   10624:   esac
                   10625:   ac_save_IFS=$IFS
                   10626:   IFS=:
                   10627:   set x $ac_tag
                   10628:   IFS=$ac_save_IFS
                   10629:   shift
                   10630:   ac_file=$1
                   10631:   shift
                   10632: 
                   10633:   case $ac_mode in
                   10634:   :L) ac_source=$1;;
                   10635:   :[FH])
                   10636:     ac_file_inputs=
                   10637:     for ac_f
                   10638:     do
                   10639:       case $ac_f in
1.57      bertrand 10640:       -) ac_f="$ac_tmp/stdin";;
1.1       bertrand 10641:       *) # Look for the file first in the build tree, then in the source tree
                   10642:     # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   10643:     # because $ac_f cannot contain `:'.
                   10644:     test -f "$ac_f" ||
                   10645:       case $ac_f in
                   10646:       [\\/$]*) false;;
                   10647:       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   10648:       esac ||
1.57      bertrand 10649:       as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       bertrand 10650:       esac
1.15      bertrand 10651:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   10652:       as_fn_append ac_file_inputs " '$ac_f'"
1.1       bertrand 10653:     done
                   10654: 
                   10655:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   10656:     # use $as_me), people would be surprised to read:
                   10657:     #    /* config.h.  Generated by config.status.  */
1.15      bertrand 10658:     configure_input='Generated from '`
                   10659:      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   10660:    `' by configure.'
1.1       bertrand 10661:     if test x"$ac_file" != x-; then
                   10662:       configure_input="$ac_file.  $configure_input"
1.15      bertrand 10663:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   10664: $as_echo "$as_me: creating $ac_file" >&6;}
1.1       bertrand 10665:     fi
1.15      bertrand 10666:     # Neutralize special characters interpreted by sed in replacement strings.
                   10667:     case $configure_input in #(
                   10668:     *\&* | *\|* | *\\* )
                   10669:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   10670:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   10671:     *) ac_sed_conf_input=$configure_input;;
                   10672:     esac
1.1       bertrand 10673: 
                   10674:     case $ac_tag in
1.57      bertrand 10675:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   10676:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       bertrand 10677:     esac
                   10678:     ;;
                   10679:   esac
                   10680: 
                   10681:   ac_dir=`$as_dirname -- "$ac_file" ||
                   10682: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10683:     X"$ac_file" : 'X\(//\)[^/]' \| \
                   10684:     X"$ac_file" : 'X\(//\)$' \| \
                   10685:     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 10686: $as_echo X"$ac_file" |
1.1       bertrand 10687:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10688:        s//\1/
                   10689:        q
                   10690:      }
                   10691:      /^X\(\/\/\)[^/].*/{
                   10692:        s//\1/
                   10693:        q
                   10694:      }
                   10695:      /^X\(\/\/\)$/{
                   10696:        s//\1/
                   10697:        q
                   10698:      }
                   10699:      /^X\(\/\).*/{
                   10700:        s//\1/
                   10701:        q
                   10702:      }
                   10703:      s/.*/./; q'`
1.15      bertrand 10704:   as_dir="$ac_dir"; as_fn_mkdir_p
1.1       bertrand 10705:   ac_builddir=.
                   10706: 
                   10707: case "$ac_dir" in
                   10708: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   10709: *)
1.15      bertrand 10710:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 10711:   # A ".." for each directory in $ac_dir_suffix.
1.15      bertrand 10712:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 10713:   case $ac_top_builddir_sub in
                   10714:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   10715:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   10716:   esac ;;
                   10717: esac
                   10718: ac_abs_top_builddir=$ac_pwd
                   10719: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   10720: # for backward compatibility:
                   10721: ac_top_builddir=$ac_top_build_prefix
                   10722: 
                   10723: case $srcdir in
                   10724:   .)  # We are building in place.
                   10725:     ac_srcdir=.
                   10726:     ac_top_srcdir=$ac_top_builddir_sub
                   10727:     ac_abs_top_srcdir=$ac_pwd ;;
                   10728:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   10729:     ac_srcdir=$srcdir$ac_dir_suffix;
                   10730:     ac_top_srcdir=$srcdir
                   10731:     ac_abs_top_srcdir=$srcdir ;;
                   10732:   *) # Relative name.
                   10733:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   10734:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   10735:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   10736: esac
                   10737: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   10738: 
                   10739: 
                   10740:   case $ac_mode in
                   10741:   :F)
                   10742:   #
                   10743:   # CONFIG_FILE
                   10744:   #
                   10745: 
                   10746:   case $INSTALL in
                   10747:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   10748:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   10749:   esac
                   10750:   ac_MKDIR_P=$MKDIR_P
                   10751:   case $MKDIR_P in
                   10752:   [\\/$]* | ?:[\\/]* ) ;;
                   10753:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   10754:   esac
                   10755: _ACEOF
                   10756: 
1.15      bertrand 10757: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10758: # If the template does not know about datarootdir, expand it.
                   10759: # FIXME: This hack should be removed a few years after 2.60.
                   10760: ac_datarootdir_hack=; ac_datarootdir_seen=
1.15      bertrand 10761: ac_sed_dataroot='
                   10762: /datarootdir/ {
1.1       bertrand 10763:   p
                   10764:   q
                   10765: }
                   10766: /@datadir@/p
                   10767: /@docdir@/p
                   10768: /@infodir@/p
                   10769: /@localedir@/p
1.15      bertrand 10770: /@mandir@/p'
                   10771: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.1       bertrand 10772: *datarootdir*) ac_datarootdir_seen=yes;;
                   10773: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.15      bertrand 10774:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   10775: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       bertrand 10776: _ACEOF
1.15      bertrand 10777: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 10778:   ac_datarootdir_hack='
                   10779:   s&@datadir@&$datadir&g
                   10780:   s&@docdir@&$docdir&g
                   10781:   s&@infodir@&$infodir&g
                   10782:   s&@localedir@&$localedir&g
                   10783:   s&@mandir@&$mandir&g
1.15      bertrand 10784:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.1       bertrand 10785: esac
                   10786: _ACEOF
                   10787: 
                   10788: # Neutralize VPATH when `$srcdir' = `.'.
                   10789: # Shell code in configure.ac might set extrasub.
                   10790: # FIXME: do we really want to maintain this feature?
1.15      bertrand 10791: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10792: ac_sed_extra="$ac_vpsub
1.1       bertrand 10793: $extrasub
                   10794: _ACEOF
1.15      bertrand 10795: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10796: :t
                   10797: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.15      bertrand 10798: s|@configure_input@|$ac_sed_conf_input|;t t
1.1       bertrand 10799: s&@top_builddir@&$ac_top_builddir_sub&;t t
1.15      bertrand 10800: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.1       bertrand 10801: s&@srcdir@&$ac_srcdir&;t t
                   10802: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   10803: s&@top_srcdir@&$ac_top_srcdir&;t t
                   10804: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   10805: s&@builddir@&$ac_builddir&;t t
                   10806: s&@abs_builddir@&$ac_abs_builddir&;t t
                   10807: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   10808: s&@INSTALL@&$ac_INSTALL&;t t
                   10809: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   10810: $ac_datarootdir_hack
1.15      bertrand 10811: "
1.57      bertrand 10812: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   10813:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       bertrand 10814: 
                   10815: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.57      bertrand 10816:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   10817:   { ac_out=`sed -n '/^[     ]*datarootdir[  ]*:*=/p' \
                   10818:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.15      bertrand 10819:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.36      bertrand 10820: which seems to be undefined.  Please make sure it is defined" >&5
1.15      bertrand 10821: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.36      bertrand 10822: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       bertrand 10823: 
1.57      bertrand 10824:   rm -f "$ac_tmp/stdin"
1.1       bertrand 10825:   case $ac_file in
1.57      bertrand 10826:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   10827:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.15      bertrand 10828:   esac \
1.36      bertrand 10829:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       bertrand 10830:  ;;
                   10831:   :H)
                   10832:   #
                   10833:   # CONFIG_HEADER
                   10834:   #
                   10835:   if test x"$ac_file" != x-; then
1.15      bertrand 10836:     {
                   10837:       $as_echo "/* $configure_input  */" \
1.57      bertrand 10838:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   10839:     } >"$ac_tmp/config.h" \
1.36      bertrand 10840:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.57      bertrand 10841:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.15      bertrand 10842:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   10843: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.1       bertrand 10844:     else
1.15      bertrand 10845:       rm -f "$ac_file"
1.57      bertrand 10846:       mv "$ac_tmp/config.h" "$ac_file" \
1.36      bertrand 10847:    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       bertrand 10848:     fi
                   10849:   else
1.15      bertrand 10850:     $as_echo "/* $configure_input  */" \
1.57      bertrand 10851:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1.36      bertrand 10852:       || as_fn_error $? "could not create -" "$LINENO" 5
1.1       bertrand 10853:   fi
1.15      bertrand 10854: # Compute "$ac_file"'s index in $config_headers.
                   10855: _am_arg="$ac_file"
1.1       bertrand 10856: _am_stamp_count=1
                   10857: for _am_header in $config_headers :; do
                   10858:   case $_am_header in
                   10859:     $_am_arg | $_am_arg:* )
                   10860:       break ;;
                   10861:     * )
                   10862:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   10863:   esac
                   10864: done
                   10865: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   10866: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10867:     X"$_am_arg" : 'X\(//\)[^/]' \| \
                   10868:     X"$_am_arg" : 'X\(//\)$' \| \
                   10869:     X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 10870: $as_echo X"$_am_arg" |
1.1       bertrand 10871:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10872:        s//\1/
                   10873:        q
                   10874:      }
                   10875:      /^X\(\/\/\)[^/].*/{
                   10876:        s//\1/
                   10877:        q
                   10878:      }
                   10879:      /^X\(\/\/\)$/{
                   10880:        s//\1/
                   10881:        q
                   10882:      }
                   10883:      /^X\(\/\).*/{
                   10884:        s//\1/
                   10885:        q
                   10886:      }
                   10887:      s/.*/./; q'`/stamp-h$_am_stamp_count
                   10888:  ;;
                   10889: 
1.15      bertrand 10890:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   10891: $as_echo "$as_me: executing $ac_file commands" >&6;}
1.1       bertrand 10892:  ;;
                   10893:   esac
                   10894: 
                   10895: 
                   10896:   case $ac_file$ac_mode in
1.15      bertrand 10897:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   10898:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   10899:   # are listed without --file.  Let's play safe and only enable the eval
                   10900:   # if we detect the quoting.
                   10901:   case $CONFIG_FILES in
                   10902:   *\'*) eval set x "$CONFIG_FILES" ;;
                   10903:   *)   set x $CONFIG_FILES ;;
                   10904:   esac
                   10905:   shift
                   10906:   for mf
                   10907:   do
                   10908:     # Strip MF so we end up with the name of the file.
                   10909:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   10910:     # Check whether this is an Automake generated Makefile or not.
                   10911:     # We used to match only the files named `Makefile.in', but
                   10912:     # some people rename them; so instead we look at the file content.
                   10913:     # Grep'ing the first line is not enough: some people post-process
                   10914:     # each Makefile.in and add a new line on top of each file to say so.
                   10915:     # Grep'ing the whole file is not good either: AIX grep has a line
                   10916:     # limit of 2048, but all sed's we know have understand at least 4000.
                   10917:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   10918:       dirpart=`$as_dirname -- "$mf" ||
1.1       bertrand 10919: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10920:     X"$mf" : 'X\(//\)[^/]' \| \
                   10921:     X"$mf" : 'X\(//\)$' \| \
                   10922:     X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 10923: $as_echo X"$mf" |
1.1       bertrand 10924:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10925:        s//\1/
                   10926:        q
                   10927:      }
                   10928:      /^X\(\/\/\)[^/].*/{
                   10929:        s//\1/
                   10930:        q
                   10931:      }
                   10932:      /^X\(\/\/\)$/{
                   10933:        s//\1/
                   10934:        q
                   10935:      }
                   10936:      /^X\(\/\).*/{
                   10937:        s//\1/
                   10938:        q
                   10939:      }
                   10940:      s/.*/./; q'`
1.15      bertrand 10941:     else
                   10942:       continue
                   10943:     fi
                   10944:     # Extract the definition of DEPDIR, am__include, and am__quote
                   10945:     # from the Makefile without running `make'.
                   10946:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   10947:     test -z "$DEPDIR" && continue
                   10948:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   10949:     test -z "am__include" && continue
                   10950:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   10951:     # When using ansi2knr, U may be empty or an underscore; expand it
                   10952:     U=`sed -n 's/^U = //p' < "$mf"`
                   10953:     # Find all dependency output files, they are included files with
                   10954:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   10955:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   10956:     # expansion.
                   10957:     for file in `sed -n "
                   10958:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   10959:     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   10960:       # Make sure the directory exists.
                   10961:       test -f "$dirpart/$file" && continue
                   10962:       fdir=`$as_dirname -- "$file" ||
1.1       bertrand 10963: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10964:     X"$file" : 'X\(//\)[^/]' \| \
                   10965:     X"$file" : 'X\(//\)$' \| \
                   10966:     X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 10967: $as_echo X"$file" |
1.1       bertrand 10968:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10969:        s//\1/
                   10970:        q
                   10971:      }
                   10972:      /^X\(\/\/\)[^/].*/{
                   10973:        s//\1/
                   10974:        q
                   10975:      }
                   10976:      /^X\(\/\/\)$/{
                   10977:        s//\1/
                   10978:        q
                   10979:      }
                   10980:      /^X\(\/\).*/{
                   10981:        s//\1/
                   10982:        q
                   10983:      }
                   10984:      s/.*/./; q'`
1.15      bertrand 10985:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   10986:       # echo "creating $dirpart/$file"
                   10987:       echo '# dummy' > "$dirpart/$file"
1.1       bertrand 10988:     done
                   10989:   done
1.15      bertrand 10990: }
1.1       bertrand 10991:  ;;
                   10992: 
                   10993:   esac
                   10994: done # for ac_tag
                   10995: 
                   10996: 
1.15      bertrand 10997: as_fn_exit 0
1.1       bertrand 10998: _ACEOF
                   10999: ac_clean_files=$ac_clean_files_save
                   11000: 
1.15      bertrand 11001: test $ac_write_fail = 0 ||
1.36      bertrand 11002:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.15      bertrand 11003: 
1.1       bertrand 11004: 
                   11005: # configure is writing to config.log, and then calls config.status.
                   11006: # config.status does its own redirection, appending to config.log.
                   11007: # Unfortunately, on DOS this fails, as config.log is still kept open
                   11008: # by configure, so config.status won't be able to write to it; its
                   11009: # output is simply discarded.  So we exec the FD to /dev/null,
                   11010: # effectively closing config.log, so it can be properly (re)opened and
                   11011: # appended to by config.status.  When coming back to configure, we
                   11012: # need to make the FD available again.
                   11013: if test "$no_create" != yes; then
                   11014:   ac_cs_success=:
                   11015:   ac_config_status_args=
                   11016:   test "$silent" = yes &&
                   11017:     ac_config_status_args="$ac_config_status_args --quiet"
                   11018:   exec 5>/dev/null
                   11019:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   11020:   exec 5>>config.log
                   11021:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   11022:   # would make configure fail if this is the last instruction.
1.36      bertrand 11023:   $ac_cs_success || as_fn_exit 1
1.1       bertrand 11024: fi
                   11025: 
                   11026: #
                   11027: # CONFIG_SUBDIRS section.
                   11028: #
                   11029: if test "$no_recursion" != yes; then
                   11030: 
1.15      bertrand 11031:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   11032:   # so they do not pile up.
1.1       bertrand 11033:   ac_sub_configure_args=
                   11034:   ac_prev=
                   11035:   eval "set x $ac_configure_args"
                   11036:   shift
                   11037:   for ac_arg
                   11038:   do
                   11039:     if test -n "$ac_prev"; then
                   11040:       ac_prev=
                   11041:       continue
                   11042:     fi
                   11043:     case $ac_arg in
                   11044:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   11045:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   11046:       ac_prev=cache_file ;;
                   11047:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   11048:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   11049:     | --c=*)
                   11050:       ;;
                   11051:     --config-cache | -C)
                   11052:       ;;
                   11053:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   11054:       ac_prev=srcdir ;;
                   11055:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   11056:       ;;
                   11057:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   11058:       ac_prev=prefix ;;
                   11059:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   11060:       ;;
1.15      bertrand 11061:     --disable-option-checking)
                   11062:       ;;
1.1       bertrand 11063:     *)
                   11064:       case $ac_arg in
1.15      bertrand 11065:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       bertrand 11066:       esac
1.15      bertrand 11067:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       bertrand 11068:     esac
                   11069:   done
                   11070: 
                   11071:   # Always prepend --prefix to ensure using the same prefix
                   11072:   # in subdir configurations.
                   11073:   ac_arg="--prefix=$prefix"
                   11074:   case $ac_arg in
1.15      bertrand 11075:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       bertrand 11076:   esac
                   11077:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   11078: 
                   11079:   # Pass --silent
                   11080:   if test "$silent" = yes; then
                   11081:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   11082:   fi
                   11083: 
1.15      bertrand 11084:   # Always prepend --disable-option-checking to silence warnings, since
                   11085:   # different subdirs can have different --enable and --with options.
                   11086:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
                   11087: 
1.1       bertrand 11088:   ac_popdir=`pwd`
                   11089:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
                   11090: 
                   11091:     # Do not complain, so a configure script can configure whichever
                   11092:     # parts of a large source tree are present.
                   11093:     test -d "$srcdir/$ac_dir" || continue
                   11094: 
                   11095:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
1.15      bertrand 11096:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   11097:     $as_echo "$ac_msg" >&6
                   11098:     as_dir="$ac_dir"; as_fn_mkdir_p
1.1       bertrand 11099:     ac_builddir=.
                   11100: 
                   11101: case "$ac_dir" in
                   11102: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   11103: *)
1.15      bertrand 11104:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 11105:   # A ".." for each directory in $ac_dir_suffix.
1.15      bertrand 11106:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 11107:   case $ac_top_builddir_sub in
                   11108:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   11109:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   11110:   esac ;;
                   11111: esac
                   11112: ac_abs_top_builddir=$ac_pwd
                   11113: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   11114: # for backward compatibility:
                   11115: ac_top_builddir=$ac_top_build_prefix
                   11116: 
                   11117: case $srcdir in
                   11118:   .)  # We are building in place.
                   11119:     ac_srcdir=.
                   11120:     ac_top_srcdir=$ac_top_builddir_sub
                   11121:     ac_abs_top_srcdir=$ac_pwd ;;
                   11122:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   11123:     ac_srcdir=$srcdir$ac_dir_suffix;
                   11124:     ac_top_srcdir=$srcdir
                   11125:     ac_abs_top_srcdir=$srcdir ;;
                   11126:   *) # Relative name.
                   11127:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   11128:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   11129:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   11130: esac
                   11131: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   11132: 
                   11133: 
                   11134:     cd "$ac_dir"
                   11135: 
                   11136:     # Check for guested configure; otherwise get Cygnus style configure.
                   11137:     if test -f "$ac_srcdir/configure.gnu"; then
                   11138:       ac_sub_configure=$ac_srcdir/configure.gnu
                   11139:     elif test -f "$ac_srcdir/configure"; then
                   11140:       ac_sub_configure=$ac_srcdir/configure
                   11141:     elif test -f "$ac_srcdir/configure.in"; then
                   11142:       # This should be Cygnus configure.
                   11143:       ac_sub_configure=$ac_aux_dir/configure
                   11144:     else
1.15      bertrand 11145:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   11146: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       bertrand 11147:       ac_sub_configure=
                   11148:     fi
                   11149: 
                   11150:     # The recursion is here.
                   11151:     if test -n "$ac_sub_configure"; then
                   11152:       # Make the cache file name correct relative to the subdirectory.
                   11153:       case $cache_file in
                   11154:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
                   11155:       *) # Relative name.
                   11156:    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
                   11157:       esac
                   11158: 
1.15      bertrand 11159:       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   11160: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       bertrand 11161:       # The eval makes quoting arguments work.
                   11162:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   11163:       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
1.36      bertrand 11164:    as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       bertrand 11165:     fi
                   11166: 
                   11167:     cd "$ac_popdir"
                   11168:   done
                   11169: fi
1.15      bertrand 11170: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   11171:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   11172: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   11173: fi
1.1       bertrand 11174: 

CVSweb interface <joel.bertrand@systella.fr>