Annotation of rpl/configure, revision 1.106

1.1       bertrand    1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.105     bertrand    3: # Generated by GNU Autoconf 2.68 for rpl 4.1.6.
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.105     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.105     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.105     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.100     bertrand  560: PACKAGE_VERSION='4.1.6'
                    561: PACKAGE_STRING='rpl 4.1.6'
1.1       bertrand  562: PACKAGE_BUGREPORT=''
1.15      bertrand  563: PACKAGE_URL=''
1.1       bertrand  564: 
1.80      bertrand  565: enable_option_checking=no
1.1       bertrand  566: ac_default_prefix=/usr/local
                    567: # Factoring default headers for most tests.
                    568: ac_includes_default="\
                    569: #include <stdio.h>
                    570: #ifdef HAVE_SYS_TYPES_H
                    571: # include <sys/types.h>
                    572: #endif
                    573: #ifdef HAVE_SYS_STAT_H
                    574: # include <sys/stat.h>
                    575: #endif
                    576: #ifdef STDC_HEADERS
                    577: # include <stdlib.h>
                    578: # include <stddef.h>
                    579: #else
                    580: # ifdef HAVE_STDLIB_H
                    581: #  include <stdlib.h>
                    582: # endif
                    583: #endif
                    584: #ifdef HAVE_STRING_H
                    585: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    586: #  include <memory.h>
                    587: # endif
                    588: # include <string.h>
                    589: #endif
                    590: #ifdef HAVE_STRINGS_H
                    591: # include <strings.h>
                    592: #endif
                    593: #ifdef HAVE_INTTYPES_H
                    594: # include <inttypes.h>
                    595: #endif
                    596: #ifdef HAVE_STDINT_H
                    597: # include <stdint.h>
                    598: #endif
                    599: #ifdef HAVE_UNISTD_H
                    600: # include <unistd.h>
                    601: #endif"
                    602: 
1.15      bertrand  603: ac_subst_vars='am__EXEEXT_FALSE
                    604: am__EXEEXT_TRUE
                    605: LTLIBOBJS
                    606: LIBOBJS
1.102     bertrand  607: DEBVIM
                    608: DEBMYSQL
                    609: DEBPQ
1.80      bertrand  610: LIBMOTIF
                    611: INCMOTIF
1.56      bertrand  612: GIAC
                    613: PARI
                    614: COCOA
                    615: NTL
1.55      bertrand  616: MPFR
                    617: GMP
1.49      bertrand  618: MALLOC
1.30      bertrand  619: EXT_SQL
1.15      bertrand  620: DATE_FR
                    621: FINAL_ENCODING
1.76      bertrand  622: SIGSEGV
1.80      bertrand  623: BUILD_OPENMOTIF
1.78      bertrand  624: OPENMOTIF
1.82      bertrand  625: LIBXPM
1.15      bertrand  626: OPENSSL
                    627: SQLITE
                    628: ICONV
                    629: FILE
                    630: GNUPLOT
                    631: GPP
                    632: GSL
                    633: UNITS
                    634: READLINE
                    635: NCURSES
1.97      bertrand  636: ARCH
1.75      bertrand  637: ELF
1.40      bertrand  638: BSH_PATH
1.34      bertrand  639: IPV6
1.33      bertrand  640: SEMUN
1.36      bertrand  641: IPCS_SYSV
1.17      bertrand  642: SEMAPHORES_NOMMES
                    643: NESTED_FUNCTIONS
                    644: EXPORT_DYNAMIC
1.33      bertrand  645: C_STANDARD
1.91      bertrand  646: LIB_PREFIX
1.90      bertrand  647: WHOLE_LIB2
                    648: WHOLE_LIB1
1.15      bertrand  649: OS
1.69      bertrand  650: HOST
1.15      bertrand  651: GNUPLOT_COMPILATION
                    652: EGREP
                    653: GREP
                    654: libPgSQLlib
                    655: libPgSQLinc
                    656: POSTGRESQL_SUPPORT
                    657: libMySQLlib
                    658: libMySQLinc
                    659: MYSQL_SUPPORT
                    660: DATE
                    661: includeX
                    662: libX
                    663: MOTIF_SUPPORT
                    664: DEBUG
                    665: EXPERIMENTAL_CODE
                    666: VIM_SUPPORT
                    667: POSTSCRIPT_SUPPORT
                    668: FORCE_GNUPLOT_PATH
                    669: GNUPLOT_SUPPORT
                    670: VIM
                    671: GNUPLOT_P
                    672: GV
                    673: GS
                    674: DVIPS
                    675: LATEX
                    676: TEX
                    677: SED
                    678: RANLIB
                    679: LN_S
                    680: RUNPATH
                    681: PROFILAGE
1.80      bertrand  682: subdirs
1.91      bertrand  683: PSELECT
1.89      bertrand  684: SHARED_MEMORY
1.67      bertrand  685: LIBRPLCAS
                    686: RPLCAS
1.66      bertrand  687: ABI
1.88      bertrand  688: RPLTOOLS
1.15      bertrand  689: X_EXTRA_LIBS
                    690: X_LIBS
                    691: X_PRE_LIBS
                    692: X_CFLAGS
                    693: CPP
                    694: XMKMF
                    695: ac_ct_FC
                    696: FCFLAGS
                    697: FC
                    698: ac_ct_F77
                    699: FFLAGS
                    700: F77
                    701: am__fastdepCXX_FALSE
                    702: am__fastdepCXX_TRUE
                    703: CXXDEPMODE
                    704: ac_ct_CXX
                    705: CXXFLAGS
                    706: CXX
                    707: am__fastdepCC_FALSE
                    708: am__fastdepCC_TRUE
                    709: CCDEPMODE
1.105     bertrand  710: am__nodep
1.15      bertrand  711: AMDEPBACKSLASH
                    712: AMDEP_FALSE
                    713: AMDEP_TRUE
                    714: am__quote
                    715: am__include
                    716: DEPDIR
                    717: OBJEXT
                    718: EXEEXT
                    719: ac_ct_CC
                    720: CPPFLAGS
                    721: LDFLAGS
                    722: CFLAGS
                    723: CC
1.92      bertrand  724: AM_BACKSLASH
                    725: AM_DEFAULT_VERBOSITY
1.105     bertrand  726: AM_DEFAULT_V
                    727: AM_V
1.15      bertrand  728: am__untar
                    729: am__tar
                    730: AMTAR
                    731: am__leading_dot
                    732: SET_MAKE
                    733: AWK
                    734: mkdir_p
                    735: MKDIR_P
                    736: INSTALL_STRIP_PROGRAM
                    737: STRIP
                    738: install_sh
                    739: MAKEINFO
                    740: AUTOHEADER
                    741: AUTOMAKE
                    742: AUTOCONF
                    743: ACLOCAL
                    744: VERSION
                    745: PACKAGE
                    746: CYGPATH_W
                    747: am__isrc
                    748: INSTALL_DATA
                    749: INSTALL_SCRIPT
                    750: INSTALL_PROGRAM
                    751: target_os
                    752: target_vendor
                    753: target_cpu
                    754: target
                    755: host_os
                    756: host_vendor
                    757: host_cpu
                    758: host
                    759: build_os
                    760: build_vendor
                    761: build_cpu
                    762: build
                    763: target_alias
                    764: host_alias
                    765: build_alias
                    766: LIBS
                    767: ECHO_T
                    768: ECHO_N
                    769: ECHO_C
                    770: DEFS
                    771: mandir
                    772: localedir
                    773: libdir
                    774: psdir
                    775: pdfdir
                    776: dvidir
                    777: htmldir
                    778: infodir
                    779: docdir
                    780: oldincludedir
                    781: includedir
                    782: localstatedir
                    783: sharedstatedir
                    784: sysconfdir
                    785: datadir
                    786: datarootdir
                    787: libexecdir
                    788: sbindir
                    789: bindir
                    790: program_transform_name
                    791: prefix
                    792: exec_prefix
                    793: PACKAGE_URL
                    794: PACKAGE_BUGREPORT
                    795: PACKAGE_STRING
                    796: PACKAGE_VERSION
                    797: PACKAGE_TARNAME
                    798: PACKAGE_NAME
1.14      bertrand  799: PATH_SEPARATOR
1.15      bertrand  800: SHELL'
                    801: ac_subst_files=''
                    802: ac_user_opts='
                    803: enable_option_checking
1.92      bertrand  804: enable_silent_rules
1.15      bertrand  805: enable_dependency_tracking
                    806: with_x
1.69      bertrand  807: with_32bits_abi
                    808: with_64bits_abi
1.91      bertrand  809: enable_recursive
1.88      bertrand  810: with_rpltools
                    811: enable_rplcas
1.15      bertrand  812: enable_optimization
1.87      bertrand  813: enable_sysv_ipcs
1.30      bertrand  814: enable_full_static
1.15      bertrand  815: enable_final_encoding
                    816: enable_tex
                    817: enable_vim
                    818: enable_embedded_gnuplot
                    819: enable_gnuplot
                    820: enable_motif
                    821: enable_experimental
                    822: enable_debug
                    823: enable_profile
                    824: enable_final_run_path
                    825: with_mysql
                    826: with_postgresql
1.40      bertrand  827: with_bourne_shell
1.15      bertrand  828: with_openssl_arch
                    829: '
                    830:       ac_precious_vars='build_alias
1.1       bertrand  831: host_alias
                    832: target_alias
                    833: CC
                    834: CFLAGS
                    835: LDFLAGS
1.15      bertrand  836: LIBS
1.1       bertrand  837: CPPFLAGS
                    838: CXX
                    839: CXXFLAGS
1.15      bertrand  840: CCC
1.1       bertrand  841: F77
                    842: FFLAGS
                    843: FC
                    844: FCFLAGS
                    845: XMKMF
                    846: CPP'
1.80      bertrand  847: ac_subdirs_all='tools/$LIBXPM
                    848: tools/$OPENMOTIF
                    849: tools/$GNUPLOT
1.69      bertrand  850: tools/$NCURSES
1.1       bertrand  851: tools/$READLINE
                    852: tools/$GSL
                    853: tools/$GPP
                    854: tools/$FILE
                    855: tools/$ICONV
1.9       bertrand  856: tools/$SQLITE
1.76      bertrand  857: tools/$UNITS
                    858: tools/$SIGSEGV'
1.1       bertrand  859: 
                    860: # Initialize some variables set by options.
                    861: ac_init_help=
                    862: ac_init_version=false
1.15      bertrand  863: ac_unrecognized_opts=
                    864: ac_unrecognized_sep=
1.1       bertrand  865: # The variables have the same names as the options, with
                    866: # dashes changed to underlines.
                    867: cache_file=/dev/null
                    868: exec_prefix=NONE
                    869: no_create=
                    870: no_recursion=
                    871: prefix=NONE
                    872: program_prefix=NONE
                    873: program_suffix=NONE
                    874: program_transform_name=s,x,x,
                    875: silent=
                    876: site=
                    877: srcdir=
                    878: verbose=
                    879: x_includes=NONE
                    880: x_libraries=NONE
                    881: 
                    882: # Installation directory options.
                    883: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    884: # and all the variables that are supposed to be based on exec_prefix
                    885: # by default will actually change.
                    886: # Use braces instead of parens because sh, perl, etc. also accept them.
                    887: # (The list follows the same order as the GNU Coding Standards.)
                    888: bindir='${exec_prefix}/bin'
                    889: sbindir='${exec_prefix}/sbin'
                    890: libexecdir='${exec_prefix}/libexec'
                    891: datarootdir='${prefix}/share'
                    892: datadir='${datarootdir}'
                    893: sysconfdir='${prefix}/etc'
                    894: sharedstatedir='${prefix}/com'
                    895: localstatedir='${prefix}/var'
                    896: includedir='${prefix}/include'
                    897: oldincludedir='/usr/include'
                    898: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    899: infodir='${datarootdir}/info'
                    900: htmldir='${docdir}'
                    901: dvidir='${docdir}'
                    902: pdfdir='${docdir}'
                    903: psdir='${docdir}'
                    904: libdir='${exec_prefix}/lib'
                    905: localedir='${datarootdir}/locale'
                    906: mandir='${datarootdir}/man'
                    907: 
                    908: ac_prev=
                    909: ac_dashdash=
                    910: for ac_option
                    911: do
                    912:   # If the previous option needs an argument, assign it.
                    913:   if test -n "$ac_prev"; then
                    914:     eval $ac_prev=\$ac_option
                    915:     ac_prev=
                    916:     continue
                    917:   fi
                    918: 
                    919:   case $ac_option in
1.36      bertrand  920:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    921:   *=)   ac_optarg= ;;
                    922:   *)    ac_optarg=yes ;;
1.1       bertrand  923:   esac
                    924: 
                    925:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    926: 
                    927:   case $ac_dashdash$ac_option in
                    928:   --)
                    929:     ac_dashdash=yes ;;
                    930: 
                    931:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    932:     ac_prev=bindir ;;
                    933:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    934:     bindir=$ac_optarg ;;
                    935: 
                    936:   -build | --build | --buil | --bui | --bu)
                    937:     ac_prev=build_alias ;;
                    938:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    939:     build_alias=$ac_optarg ;;
                    940: 
                    941:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    942:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    943:     ac_prev=cache_file ;;
                    944:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    945:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    946:     cache_file=$ac_optarg ;;
                    947: 
                    948:   --config-cache | -C)
                    949:     cache_file=config.cache ;;
                    950: 
                    951:   -datadir | --datadir | --datadi | --datad)
                    952:     ac_prev=datadir ;;
                    953:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    954:     datadir=$ac_optarg ;;
                    955: 
                    956:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    957:   | --dataroo | --dataro | --datar)
                    958:     ac_prev=datarootdir ;;
                    959:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    960:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    961:     datarootdir=$ac_optarg ;;
                    962: 
                    963:   -disable-* | --disable-*)
1.15      bertrand  964:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       bertrand  965:     # Reject names that are not valid shell variable names.
1.15      bertrand  966:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.36      bertrand  967:       as_fn_error $? "invalid feature name: $ac_useropt"
1.15      bertrand  968:     ac_useropt_orig=$ac_useropt
                    969:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    970:     case $ac_user_opts in
                    971:       *"
                    972: "enable_$ac_useropt"
                    973: "*) ;;
                    974:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    975:     ac_unrecognized_sep=', ';;
                    976:     esac
                    977:     eval enable_$ac_useropt=no ;;
1.1       bertrand  978: 
                    979:   -docdir | --docdir | --docdi | --doc | --do)
                    980:     ac_prev=docdir ;;
                    981:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    982:     docdir=$ac_optarg ;;
                    983: 
                    984:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    985:     ac_prev=dvidir ;;
                    986:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    987:     dvidir=$ac_optarg ;;
                    988: 
                    989:   -enable-* | --enable-*)
1.15      bertrand  990:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       bertrand  991:     # Reject names that are not valid shell variable names.
1.15      bertrand  992:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.36      bertrand  993:       as_fn_error $? "invalid feature name: $ac_useropt"
1.15      bertrand  994:     ac_useropt_orig=$ac_useropt
                    995:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    996:     case $ac_user_opts in
                    997:       *"
                    998: "enable_$ac_useropt"
                    999: "*) ;;
                   1000:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                   1001:     ac_unrecognized_sep=', ';;
                   1002:     esac
                   1003:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       bertrand 1004: 
                   1005:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                   1006:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1007:   | --exec | --exe | --ex)
                   1008:     ac_prev=exec_prefix ;;
                   1009:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1010:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1011:   | --exec=* | --exe=* | --ex=*)
                   1012:     exec_prefix=$ac_optarg ;;
                   1013: 
                   1014:   -gas | --gas | --ga | --g)
                   1015:     # Obsolete; use --with-gas.
                   1016:     with_gas=yes ;;
                   1017: 
                   1018:   -help | --help | --hel | --he | -h)
                   1019:     ac_init_help=long ;;
                   1020:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1021:     ac_init_help=recursive ;;
                   1022:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1023:     ac_init_help=short ;;
                   1024: 
                   1025:   -host | --host | --hos | --ho)
                   1026:     ac_prev=host_alias ;;
                   1027:   -host=* | --host=* | --hos=* | --ho=*)
                   1028:     host_alias=$ac_optarg ;;
                   1029: 
                   1030:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1031:     ac_prev=htmldir ;;
                   1032:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1033:   | --ht=*)
                   1034:     htmldir=$ac_optarg ;;
                   1035: 
                   1036:   -includedir | --includedir | --includedi | --included | --include \
                   1037:   | --includ | --inclu | --incl | --inc)
                   1038:     ac_prev=includedir ;;
                   1039:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1040:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1041:     includedir=$ac_optarg ;;
                   1042: 
                   1043:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1044:     ac_prev=infodir ;;
                   1045:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1046:     infodir=$ac_optarg ;;
                   1047: 
                   1048:   -libdir | --libdir | --libdi | --libd)
                   1049:     ac_prev=libdir ;;
                   1050:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1051:     libdir=$ac_optarg ;;
                   1052: 
                   1053:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1054:   | --libexe | --libex | --libe)
                   1055:     ac_prev=libexecdir ;;
                   1056:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1057:   | --libexe=* | --libex=* | --libe=*)
                   1058:     libexecdir=$ac_optarg ;;
                   1059: 
                   1060:   -localedir | --localedir | --localedi | --localed | --locale)
                   1061:     ac_prev=localedir ;;
                   1062:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1063:     localedir=$ac_optarg ;;
                   1064: 
                   1065:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1066:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1067:     ac_prev=localstatedir ;;
                   1068:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1069:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1070:     localstatedir=$ac_optarg ;;
                   1071: 
                   1072:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1073:     ac_prev=mandir ;;
                   1074:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1075:     mandir=$ac_optarg ;;
                   1076: 
                   1077:   -nfp | --nfp | --nf)
                   1078:     # Obsolete; use --without-fp.
                   1079:     with_fp=no ;;
                   1080: 
                   1081:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1082:   | --no-cr | --no-c | -n)
                   1083:     no_create=yes ;;
                   1084: 
                   1085:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1086:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1087:     no_recursion=yes ;;
                   1088: 
                   1089:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1090:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1091:   | --oldin | --oldi | --old | --ol | --o)
                   1092:     ac_prev=oldincludedir ;;
                   1093:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1094:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1095:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1096:     oldincludedir=$ac_optarg ;;
                   1097: 
                   1098:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1099:     ac_prev=prefix ;;
                   1100:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1101:     prefix=$ac_optarg ;;
                   1102: 
                   1103:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1104:   | --program-pre | --program-pr | --program-p)
                   1105:     ac_prev=program_prefix ;;
                   1106:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1107:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1108:     program_prefix=$ac_optarg ;;
                   1109: 
                   1110:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1111:   | --program-suf | --program-su | --program-s)
                   1112:     ac_prev=program_suffix ;;
                   1113:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1114:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1115:     program_suffix=$ac_optarg ;;
                   1116: 
                   1117:   -program-transform-name | --program-transform-name \
                   1118:   | --program-transform-nam | --program-transform-na \
                   1119:   | --program-transform-n | --program-transform- \
                   1120:   | --program-transform | --program-transfor \
                   1121:   | --program-transfo | --program-transf \
                   1122:   | --program-trans | --program-tran \
                   1123:   | --progr-tra | --program-tr | --program-t)
                   1124:     ac_prev=program_transform_name ;;
                   1125:   -program-transform-name=* | --program-transform-name=* \
                   1126:   | --program-transform-nam=* | --program-transform-na=* \
                   1127:   | --program-transform-n=* | --program-transform-=* \
                   1128:   | --program-transform=* | --program-transfor=* \
                   1129:   | --program-transfo=* | --program-transf=* \
                   1130:   | --program-trans=* | --program-tran=* \
                   1131:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1132:     program_transform_name=$ac_optarg ;;
                   1133: 
                   1134:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1135:     ac_prev=pdfdir ;;
                   1136:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1137:     pdfdir=$ac_optarg ;;
                   1138: 
                   1139:   -psdir | --psdir | --psdi | --psd | --ps)
                   1140:     ac_prev=psdir ;;
                   1141:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1142:     psdir=$ac_optarg ;;
                   1143: 
                   1144:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1145:   | -silent | --silent | --silen | --sile | --sil)
                   1146:     silent=yes ;;
                   1147: 
                   1148:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1149:     ac_prev=sbindir ;;
                   1150:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1151:   | --sbi=* | --sb=*)
                   1152:     sbindir=$ac_optarg ;;
                   1153: 
                   1154:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1155:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1156:   | --sharedst | --shareds | --shared | --share | --shar \
                   1157:   | --sha | --sh)
                   1158:     ac_prev=sharedstatedir ;;
                   1159:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1160:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1161:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1162:   | --sha=* | --sh=*)
                   1163:     sharedstatedir=$ac_optarg ;;
                   1164: 
                   1165:   -site | --site | --sit)
                   1166:     ac_prev=site ;;
                   1167:   -site=* | --site=* | --sit=*)
                   1168:     site=$ac_optarg ;;
                   1169: 
                   1170:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1171:     ac_prev=srcdir ;;
                   1172:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1173:     srcdir=$ac_optarg ;;
                   1174: 
                   1175:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1176:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1177:     ac_prev=sysconfdir ;;
                   1178:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1179:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1180:     sysconfdir=$ac_optarg ;;
                   1181: 
                   1182:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1183:     ac_prev=target_alias ;;
                   1184:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1185:     target_alias=$ac_optarg ;;
                   1186: 
                   1187:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1188:     verbose=yes ;;
                   1189: 
                   1190:   -version | --version | --versio | --versi | --vers | -V)
                   1191:     ac_init_version=: ;;
                   1192: 
                   1193:   -with-* | --with-*)
1.15      bertrand 1194:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       bertrand 1195:     # Reject names that are not valid shell variable names.
1.15      bertrand 1196:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.36      bertrand 1197:       as_fn_error $? "invalid package name: $ac_useropt"
1.15      bertrand 1198:     ac_useropt_orig=$ac_useropt
                   1199:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1200:     case $ac_user_opts in
                   1201:       *"
                   1202: "with_$ac_useropt"
                   1203: "*) ;;
                   1204:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1205:     ac_unrecognized_sep=', ';;
                   1206:     esac
                   1207:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       bertrand 1208: 
                   1209:   -without-* | --without-*)
1.15      bertrand 1210:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       bertrand 1211:     # Reject names that are not valid shell variable names.
1.15      bertrand 1212:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.36      bertrand 1213:       as_fn_error $? "invalid package name: $ac_useropt"
1.15      bertrand 1214:     ac_useropt_orig=$ac_useropt
                   1215:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1216:     case $ac_user_opts in
                   1217:       *"
                   1218: "with_$ac_useropt"
                   1219: "*) ;;
                   1220:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1221:     ac_unrecognized_sep=', ';;
                   1222:     esac
                   1223:     eval with_$ac_useropt=no ;;
1.1       bertrand 1224: 
                   1225:   --x)
                   1226:     # Obsolete; use --with-x.
                   1227:     with_x=yes ;;
                   1228: 
                   1229:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1230:   | --x-incl | --x-inc | --x-in | --x-i)
                   1231:     ac_prev=x_includes ;;
                   1232:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1233:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1234:     x_includes=$ac_optarg ;;
                   1235: 
                   1236:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1237:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1238:     ac_prev=x_libraries ;;
                   1239:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1240:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1241:     x_libraries=$ac_optarg ;;
                   1242: 
1.36      bertrand 1243:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1244: Try \`$0 --help' for more information"
1.1       bertrand 1245:     ;;
                   1246: 
                   1247:   *=*)
                   1248:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1249:     # Reject names that are not valid shell variable names.
1.15      bertrand 1250:     case $ac_envvar in #(
                   1251:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.36      bertrand 1252:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1.15      bertrand 1253:     esac
1.1       bertrand 1254:     eval $ac_envvar=\$ac_optarg
                   1255:     export $ac_envvar ;;
                   1256: 
                   1257:   *)
                   1258:     # FIXME: should be removed in autoconf 3.0.
1.15      bertrand 1259:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       bertrand 1260:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.15      bertrand 1261:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.105     bertrand 1262:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       bertrand 1263:     ;;
                   1264: 
                   1265:   esac
                   1266: done
                   1267: 
                   1268: if test -n "$ac_prev"; then
                   1269:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.36      bertrand 1270:   as_fn_error $? "missing argument to $ac_option"
1.15      bertrand 1271: fi
                   1272: 
                   1273: if test -n "$ac_unrecognized_opts"; then
                   1274:   case $enable_option_checking in
                   1275:     no) ;;
1.36      bertrand 1276:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.15      bertrand 1277:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1278:   esac
1.1       bertrand 1279: fi
                   1280: 
1.15      bertrand 1281: # Check all directory arguments for consistency.
1.1       bertrand 1282: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1283:        datadir sysconfdir sharedstatedir localstatedir includedir \
                   1284:        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1285:        libdir localedir mandir
                   1286: do
                   1287:   eval ac_val=\$$ac_var
1.15      bertrand 1288:   # Remove trailing slashes.
                   1289:   case $ac_val in
                   1290:     */ )
                   1291:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1292:       eval $ac_var=\$ac_val;;
                   1293:   esac
                   1294:   # Be sure to have absolute directory names.
1.1       bertrand 1295:   case $ac_val in
                   1296:     [\\/$]* | ?:[\\/]* )  continue;;
                   1297:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1298:   esac
1.36      bertrand 1299:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       bertrand 1300: done
                   1301: 
                   1302: # There might be people who depend on the old broken behavior: `$host'
                   1303: # used to hold the argument of --host etc.
                   1304: # FIXME: To remove some day.
                   1305: build=$build_alias
                   1306: host=$host_alias
                   1307: target=$target_alias
                   1308: 
                   1309: # FIXME: To remove some day.
                   1310: if test "x$host_alias" != x; then
                   1311:   if test "x$build_alias" = x; then
                   1312:     cross_compiling=maybe
1.36      bertrand 1313:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1314:     If a cross compiler is detected then cross compile mode will be used" >&2
1.1       bertrand 1315:   elif test "x$build_alias" != "x$host_alias"; then
                   1316:     cross_compiling=yes
                   1317:   fi
                   1318: fi
                   1319: 
                   1320: ac_tool_prefix=
                   1321: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1322: 
                   1323: test "$silent" = yes && exec 6>/dev/null
                   1324: 
                   1325: 
                   1326: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1327: ac_ls_di=`ls -di .` &&
                   1328: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.36      bertrand 1329:   as_fn_error $? "working directory cannot be determined"
1.1       bertrand 1330: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.36      bertrand 1331:   as_fn_error $? "pwd does not report name of working directory"
1.1       bertrand 1332: 
                   1333: 
                   1334: # Find the source files, if location was not specified.
                   1335: if test -z "$srcdir"; then
                   1336:   ac_srcdir_defaulted=yes
                   1337:   # Try the directory containing this script, then the parent directory.
1.15      bertrand 1338:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1339: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1340:     X"$as_myself" : 'X\(//\)[^/]' \| \
                   1341:     X"$as_myself" : 'X\(//\)$' \| \
                   1342:     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1343: $as_echo X"$as_myself" |
1.1       bertrand 1344:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1345:        s//\1/
                   1346:        q
                   1347:      }
                   1348:      /^X\(\/\/\)[^/].*/{
                   1349:        s//\1/
                   1350:        q
                   1351:      }
                   1352:      /^X\(\/\/\)$/{
                   1353:        s//\1/
                   1354:        q
                   1355:      }
                   1356:      /^X\(\/\).*/{
                   1357:        s//\1/
                   1358:        q
                   1359:      }
                   1360:      s/.*/./; q'`
                   1361:   srcdir=$ac_confdir
                   1362:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1363:     srcdir=..
                   1364:   fi
                   1365: else
                   1366:   ac_srcdir_defaulted=no
                   1367: fi
                   1368: if test ! -r "$srcdir/$ac_unique_file"; then
                   1369:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.36      bertrand 1370:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1.1       bertrand 1371: fi
                   1372: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1373: ac_abs_confdir=`(
1.36      bertrand 1374:    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1.1       bertrand 1375:    pwd)`
                   1376: # When building in place, set srcdir=.
                   1377: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1378:   srcdir=.
                   1379: fi
                   1380: # Remove unnecessary trailing slashes from srcdir.
                   1381: # Double slashes in file names in object file debugging info
                   1382: # mess up M-x gdb in Emacs.
                   1383: case $srcdir in
                   1384: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1385: esac
                   1386: for ac_var in $ac_precious_vars; do
                   1387:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1388:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1389:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1390:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1391: done
                   1392: 
                   1393: #
                   1394: # Report the --help message.
                   1395: #
                   1396: if test "$ac_init_help" = "long"; then
                   1397:   # Omit some internal or obsolete options to make the list less imposing.
                   1398:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1399:   cat <<_ACEOF
1.100     bertrand 1400: \`configure' configures rpl 4.1.6 to adapt to many kinds of systems.
1.1       bertrand 1401: 
                   1402: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1403: 
                   1404: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1405: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1406: 
                   1407: Defaults for the options are specified in brackets.
                   1408: 
                   1409: Configuration:
                   1410:   -h, --help              display this help and exit
                   1411:       --help=short        display options specific to this package
                   1412:       --help=recursive    display the short help of all the included packages
                   1413:   -V, --version           display version information and exit
1.36      bertrand 1414:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       bertrand 1415:       --cache-file=FILE   cache test results in FILE [disabled]
                   1416:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1417:   -n, --no-create         do not create output files
                   1418:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1419: 
                   1420: Installation directories:
                   1421:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.15      bertrand 1422:                           [$ac_default_prefix]
1.1       bertrand 1423:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.15      bertrand 1424:                           [PREFIX]
1.1       bertrand 1425: 
                   1426: By default, \`make install' will install all the files in
                   1427: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1428: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1429: for instance \`--prefix=\$HOME'.
                   1430: 
                   1431: For better control, use the options below.
                   1432: 
                   1433: Fine tuning of the installation directories:
1.15      bertrand 1434:   --bindir=DIR            user executables [EPREFIX/bin]
                   1435:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1436:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1437:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1438:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1439:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1440:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1441:   --includedir=DIR        C header files [PREFIX/include]
                   1442:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1443:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1444:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1445:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1446:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1447:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1448:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
                   1449:   --htmldir=DIR           html documentation [DOCDIR]
                   1450:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1451:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1452:   --psdir=DIR             ps documentation [DOCDIR]
1.1       bertrand 1453: _ACEOF
                   1454: 
                   1455:   cat <<\_ACEOF
                   1456: 
                   1457: Program names:
                   1458:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1459:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1460:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1461: 
                   1462: X features:
                   1463:   --x-includes=DIR    X include files are in DIR
                   1464:   --x-libraries=DIR   X library files are in DIR
                   1465: 
                   1466: System types:
                   1467:   --build=BUILD     configure for building on BUILD [guessed]
                   1468:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1469:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1470: _ACEOF
                   1471: fi
                   1472: 
                   1473: if test -n "$ac_init_help"; then
                   1474:   case $ac_init_help in
1.100     bertrand 1475:      short | recursive ) echo "Configuration of rpl 4.1.6:";;
1.1       bertrand 1476:    esac
                   1477:   cat <<\_ACEOF
                   1478: 
                   1479: Optional Features:
1.15      bertrand 1480:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       bertrand 1481:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1482:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.92      bertrand 1483:   --enable-silent-rules          less verbose build output (undo: `make V=1')
                   1484:   --disable-silent-rules         verbose build output (undo: `make V=0')
1.1       bertrand 1485:   --disable-dependency-tracking  speeds up one-time build
                   1486:   --enable-dependency-tracking   do not reject slow dependency extractors
1.91      bertrand 1487:   --enable-recursive      recursive configuration (default=yes)
1.88      bertrand 1488:   --enable-rplcas         compile rplcas (default=no)
1.1       bertrand 1489:   --enable-optimization   set compiler flags [default=environment variables -O3]
1.81      bertrand 1490:   --enable-sysv-ipcs      use SystemV IPC functions [default=guessed]
1.30      bertrand 1491:   --enable-full-static    build static RPL/2 engine [default=shared]
1.1       bertrand 1492:   --enable-final-encoding force final encoding [default=guessed]
                   1493:   --enable-tex            provide the TeX support [default=guessed]
                   1494:   --enable-vim            provide the vim support [default=guessed]
                   1495:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
                   1496:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
                   1497:   --enable-motif          provide the Motif support [default=guessed]
                   1498:   --enable-experimental   enable experimental code [default=no]
                   1499:   --enable-debug          enable debug code [default=no]
                   1500:   --enable-profile        enable profile code [default=no]
                   1501:   --enable-final-run-path=PATH enable another final run path than PREFIX
                   1502: 
                   1503: Optional Packages:
                   1504:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1505:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1506:   --with-x                use the X Window System
1.64      bertrand 1507:   --with-32bits-abi       force 32bits ABI (multilib)
1.67      bertrand 1508:   --with-64bits-abi       force 64bits ABI (multilib)
1.88      bertrand 1509:   --with-rpltools         specify rpltools path used for cross compilation
1.1       bertrand 1510:   --with-mysql=PATH         specify directory for installed mysql
                   1511:   --with-postgresql=PATH    specify directory for installed postgresql
1.40      bertrand 1512:   --with-bourne-shell=PATH  specify path for OS/2 bourne shell
1.15      bertrand 1513:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
1.1       bertrand 1514: 
                   1515: Some influential environment variables:
                   1516:   CC          C compiler command
                   1517:   CFLAGS      C compiler flags
                   1518:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1519:               nonstandard directory <lib dir>
                   1520:   LIBS        libraries to pass to the linker, e.g. -l<library>
1.15      bertrand 1521:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.1       bertrand 1522:               you have headers in a nonstandard directory <include dir>
                   1523:   CXX         C++ compiler command
                   1524:   CXXFLAGS    C++ compiler flags
                   1525:   F77         Fortran 77 compiler command
                   1526:   FFLAGS      Fortran 77 compiler flags
                   1527:   FC          Fortran compiler command
                   1528:   FCFLAGS     Fortran compiler flags
                   1529:   XMKMF       Path to xmkmf, Makefile generator for X Window System
                   1530:   CPP         C preprocessor
                   1531: 
                   1532: Use these variables to override the choices made by `configure' or to help
                   1533: it to find libraries and programs with nonstandard names/locations.
                   1534: 
1.15      bertrand 1535: Report bugs to the package provider.
1.1       bertrand 1536: _ACEOF
                   1537: ac_status=$?
                   1538: fi
                   1539: 
                   1540: if test "$ac_init_help" = "recursive"; then
                   1541:   # If there are subdirs, report their specific --help.
                   1542:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.15      bertrand 1543:     test -d "$ac_dir" ||
                   1544:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1545:       continue
1.1       bertrand 1546:     ac_builddir=.
                   1547: 
                   1548: case "$ac_dir" in
                   1549: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1550: *)
1.15      bertrand 1551:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 1552:   # A ".." for each directory in $ac_dir_suffix.
1.15      bertrand 1553:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 1554:   case $ac_top_builddir_sub in
                   1555:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1556:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1557:   esac ;;
                   1558: esac
                   1559: ac_abs_top_builddir=$ac_pwd
                   1560: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1561: # for backward compatibility:
                   1562: ac_top_builddir=$ac_top_build_prefix
                   1563: 
                   1564: case $srcdir in
                   1565:   .)  # We are building in place.
                   1566:     ac_srcdir=.
                   1567:     ac_top_srcdir=$ac_top_builddir_sub
                   1568:     ac_abs_top_srcdir=$ac_pwd ;;
                   1569:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1570:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1571:     ac_top_srcdir=$srcdir
                   1572:     ac_abs_top_srcdir=$srcdir ;;
                   1573:   *) # Relative name.
                   1574:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1575:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1576:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1577: esac
                   1578: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1579: 
                   1580:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1581:     # Check for guested configure.
                   1582:     if test -f "$ac_srcdir/configure.gnu"; then
                   1583:       echo &&
                   1584:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1585:     elif test -f "$ac_srcdir/configure"; then
                   1586:       echo &&
                   1587:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1588:     else
1.15      bertrand 1589:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1       bertrand 1590:     fi || ac_status=$?
                   1591:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1592:   done
                   1593: fi
                   1594: 
                   1595: test -n "$ac_init_help" && exit $ac_status
                   1596: if $ac_init_version; then
                   1597:   cat <<\_ACEOF
1.100     bertrand 1598: rpl configure 4.1.6
1.105     bertrand 1599: generated by GNU Autoconf 2.68
1.1       bertrand 1600: 
1.36      bertrand 1601: Copyright (C) 2010 Free Software Foundation, Inc.
1.1       bertrand 1602: This configure script is free software; the Free Software Foundation
                   1603: gives unlimited permission to copy, distribute and modify it.
                   1604: _ACEOF
                   1605:   exit
                   1606: fi
                   1607: 
1.15      bertrand 1608: ## ------------------------ ##
                   1609: ## Autoconf initialization. ##
                   1610: ## ------------------------ ##
                   1611: 
                   1612: # ac_fn_c_try_compile LINENO
                   1613: # --------------------------
                   1614: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1615: ac_fn_c_try_compile ()
                   1616: {
                   1617:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1618:   rm -f conftest.$ac_objext
                   1619:   if { { ac_try="$ac_compile"
                   1620: case "(($ac_try" in
                   1621:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1622:   *) ac_try_echo=$ac_try;;
                   1623: esac
                   1624: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1625: $as_echo "$ac_try_echo"; } >&5
                   1626:   (eval "$ac_compile") 2>conftest.err
                   1627:   ac_status=$?
                   1628:   if test -s conftest.err; then
                   1629:     grep -v '^ *+' conftest.err >conftest.er1
                   1630:     cat conftest.er1 >&5
                   1631:     mv -f conftest.er1 conftest.err
                   1632:   fi
                   1633:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1634:   test $ac_status = 0; } && {
                   1635:     test -z "$ac_c_werror_flag" ||
                   1636:     test ! -s conftest.err
                   1637:        } && test -s conftest.$ac_objext; then :
                   1638:   ac_retval=0
                   1639: else
                   1640:   $as_echo "$as_me: failed program was:" >&5
                   1641: sed 's/^/| /' conftest.$ac_ext >&5
                   1642: 
                   1643:    ac_retval=1
                   1644: fi
1.105     bertrand 1645:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1646:   as_fn_set_status $ac_retval
1.1       bertrand 1647: 
1.15      bertrand 1648: } # ac_fn_c_try_compile
1.1       bertrand 1649: 
1.15      bertrand 1650: # ac_fn_cxx_try_compile LINENO
                   1651: # ----------------------------
                   1652: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1653: ac_fn_cxx_try_compile ()
1.1       bertrand 1654: {
1.15      bertrand 1655:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1656:   rm -f conftest.$ac_objext
                   1657:   if { { ac_try="$ac_compile"
                   1658: case "(($ac_try" in
                   1659:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1660:   *) ac_try_echo=$ac_try;;
                   1661: esac
                   1662: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1663: $as_echo "$ac_try_echo"; } >&5
                   1664:   (eval "$ac_compile") 2>conftest.err
                   1665:   ac_status=$?
                   1666:   if test -s conftest.err; then
                   1667:     grep -v '^ *+' conftest.err >conftest.er1
                   1668:     cat conftest.er1 >&5
                   1669:     mv -f conftest.er1 conftest.err
                   1670:   fi
                   1671:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1672:   test $ac_status = 0; } && {
                   1673:     test -z "$ac_cxx_werror_flag" ||
                   1674:     test ! -s conftest.err
                   1675:        } && test -s conftest.$ac_objext; then :
                   1676:   ac_retval=0
                   1677: else
                   1678:   $as_echo "$as_me: failed program was:" >&5
                   1679: sed 's/^/| /' conftest.$ac_ext >&5
                   1680: 
                   1681:    ac_retval=1
                   1682: fi
1.105     bertrand 1683:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1684:   as_fn_set_status $ac_retval
1.1       bertrand 1685: 
1.15      bertrand 1686: } # ac_fn_cxx_try_compile
1.1       bertrand 1687: 
1.15      bertrand 1688: # ac_fn_f77_try_compile LINENO
                   1689: # ----------------------------
                   1690: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1691: ac_fn_f77_try_compile ()
                   1692: {
                   1693:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1694:   rm -f conftest.$ac_objext
                   1695:   if { { ac_try="$ac_compile"
                   1696: case "(($ac_try" in
                   1697:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1698:   *) ac_try_echo=$ac_try;;
                   1699: esac
                   1700: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1701: $as_echo "$ac_try_echo"; } >&5
                   1702:   (eval "$ac_compile") 2>conftest.err
                   1703:   ac_status=$?
                   1704:   if test -s conftest.err; then
                   1705:     grep -v '^ *+' conftest.err >conftest.er1
                   1706:     cat conftest.er1 >&5
                   1707:     mv -f conftest.er1 conftest.err
                   1708:   fi
                   1709:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1710:   test $ac_status = 0; } && {
                   1711:     test -z "$ac_f77_werror_flag" ||
                   1712:     test ! -s conftest.err
                   1713:        } && test -s conftest.$ac_objext; then :
                   1714:   ac_retval=0
                   1715: else
                   1716:   $as_echo "$as_me: failed program was:" >&5
                   1717: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1718: 
1.15      bertrand 1719:    ac_retval=1
                   1720: fi
1.105     bertrand 1721:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1722:   as_fn_set_status $ac_retval
1.1       bertrand 1723: 
1.15      bertrand 1724: } # ac_fn_f77_try_compile
1.1       bertrand 1725: 
1.15      bertrand 1726: # ac_fn_fc_try_compile LINENO
                   1727: # ---------------------------
                   1728: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1729: ac_fn_fc_try_compile ()
                   1730: {
                   1731:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1732:   rm -f conftest.$ac_objext
                   1733:   if { { ac_try="$ac_compile"
                   1734: case "(($ac_try" in
                   1735:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1736:   *) ac_try_echo=$ac_try;;
                   1737: esac
                   1738: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1739: $as_echo "$ac_try_echo"; } >&5
                   1740:   (eval "$ac_compile") 2>conftest.err
                   1741:   ac_status=$?
                   1742:   if test -s conftest.err; then
                   1743:     grep -v '^ *+' conftest.err >conftest.er1
                   1744:     cat conftest.er1 >&5
                   1745:     mv -f conftest.er1 conftest.err
                   1746:   fi
                   1747:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1748:   test $ac_status = 0; } && {
                   1749:     test -z "$ac_fc_werror_flag" ||
                   1750:     test ! -s conftest.err
                   1751:        } && test -s conftest.$ac_objext; then :
                   1752:   ac_retval=0
                   1753: else
                   1754:   $as_echo "$as_me: failed program was:" >&5
                   1755: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1756: 
1.15      bertrand 1757:    ac_retval=1
                   1758: fi
1.105     bertrand 1759:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1760:   as_fn_set_status $ac_retval
1.1       bertrand 1761: 
1.15      bertrand 1762: } # ac_fn_fc_try_compile
1.1       bertrand 1763: 
1.15      bertrand 1764: # ac_fn_c_try_cpp LINENO
                   1765: # ----------------------
                   1766: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1767: ac_fn_c_try_cpp ()
                   1768: {
                   1769:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1770:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1771: case "(($ac_try" in
                   1772:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1773:   *) ac_try_echo=$ac_try;;
                   1774: esac
                   1775: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1776: $as_echo "$ac_try_echo"; } >&5
                   1777:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1778:   ac_status=$?
                   1779:   if test -s conftest.err; then
                   1780:     grep -v '^ *+' conftest.err >conftest.er1
                   1781:     cat conftest.er1 >&5
                   1782:     mv -f conftest.er1 conftest.err
                   1783:   fi
                   1784:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.36      bertrand 1785:   test $ac_status = 0; } > conftest.i && {
1.15      bertrand 1786:     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1787:     test ! -s conftest.err
                   1788:        }; then :
                   1789:   ac_retval=0
                   1790: else
                   1791:   $as_echo "$as_me: failed program was:" >&5
                   1792: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1793: 
1.15      bertrand 1794:     ac_retval=1
                   1795: fi
1.105     bertrand 1796:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1797:   as_fn_set_status $ac_retval
1.1       bertrand 1798: 
1.15      bertrand 1799: } # ac_fn_c_try_cpp
1.1       bertrand 1800: 
1.15      bertrand 1801: # ac_fn_c_try_link LINENO
                   1802: # -----------------------
                   1803: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1804: ac_fn_c_try_link ()
                   1805: {
                   1806:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1807:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1808:   if { { ac_try="$ac_link"
                   1809: case "(($ac_try" in
                   1810:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1811:   *) ac_try_echo=$ac_try;;
                   1812: esac
                   1813: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1814: $as_echo "$ac_try_echo"; } >&5
                   1815:   (eval "$ac_link") 2>conftest.err
                   1816:   ac_status=$?
                   1817:   if test -s conftest.err; then
                   1818:     grep -v '^ *+' conftest.err >conftest.er1
                   1819:     cat conftest.er1 >&5
                   1820:     mv -f conftest.er1 conftest.err
                   1821:   fi
                   1822:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1823:   test $ac_status = 0; } && {
                   1824:     test -z "$ac_c_werror_flag" ||
                   1825:     test ! -s conftest.err
                   1826:        } && test -s conftest$ac_exeext && {
                   1827:     test "$cross_compiling" = yes ||
                   1828:     $as_test_x conftest$ac_exeext
                   1829:        }; then :
                   1830:   ac_retval=0
                   1831: else
                   1832:   $as_echo "$as_me: failed program was:" >&5
                   1833: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1834: 
1.15      bertrand 1835:    ac_retval=1
                   1836: fi
                   1837:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1838:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1839:   # interfere with the next link command; also delete a directory that is
                   1840:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1841:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.105     bertrand 1842:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 1843:   as_fn_set_status $ac_retval
1.1       bertrand 1844: 
1.15      bertrand 1845: } # ac_fn_c_try_link
1.1       bertrand 1846: 
1.15      bertrand 1847: # ac_fn_c_check_func LINENO FUNC VAR
                   1848: # ----------------------------------
                   1849: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1850: ac_fn_c_check_func ()
                   1851: {
                   1852:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1853:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1854: $as_echo_n "checking for $2... " >&6; }
1.105     bertrand 1855: if eval \${$3+:} false; then :
1.15      bertrand 1856:   $as_echo_n "(cached) " >&6
                   1857: else
                   1858:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1859: /* end confdefs.h.  */
                   1860: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1861:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1862: #define $2 innocuous_$2
1.1       bertrand 1863: 
1.15      bertrand 1864: /* System header to define __stub macros and hopefully few prototypes,
                   1865:     which can conflict with char $2 (); below.
                   1866:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1867:     <limits.h> exists even on freestanding compilers.  */
1.1       bertrand 1868: 
1.15      bertrand 1869: #ifdef __STDC__
                   1870: # include <limits.h>
                   1871: #else
                   1872: # include <assert.h>
                   1873: #endif
1.1       bertrand 1874: 
1.15      bertrand 1875: #undef $2
1.1       bertrand 1876: 
1.15      bertrand 1877: /* Override any GCC internal prototype to avoid an error.
                   1878:    Use char because int might match the return type of a GCC
                   1879:    builtin and then its argument prototype would still apply.  */
                   1880: #ifdef __cplusplus
                   1881: extern "C"
                   1882: #endif
                   1883: char $2 ();
                   1884: /* The GNU C library defines this for functions which it implements
                   1885:     to always fail with ENOSYS.  Some functions are actually named
                   1886:     something starting with __ and the normal name is an alias.  */
                   1887: #if defined __stub_$2 || defined __stub___$2
                   1888: choke me
                   1889: #endif
1.1       bertrand 1890: 
1.15      bertrand 1891: int
                   1892: main ()
                   1893: {
                   1894: return $2 ();
                   1895:   ;
                   1896:   return 0;
                   1897: }
1.1       bertrand 1898: _ACEOF
1.15      bertrand 1899: if ac_fn_c_try_link "$LINENO"; then :
                   1900:   eval "$3=yes"
                   1901: else
                   1902:   eval "$3=no"
                   1903: fi
                   1904: rm -f core conftest.err conftest.$ac_objext \
                   1905:     conftest$ac_exeext conftest.$ac_ext
                   1906: fi
                   1907: eval ac_res=\$$3
                   1908:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1909: $as_echo "$ac_res" >&6; }
1.105     bertrand 1910:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       bertrand 1911: 
1.15      bertrand 1912: } # ac_fn_c_check_func
1.1       bertrand 1913: 
1.83      bertrand 1914: # ac_fn_c_try_run LINENO
                   1915: # ----------------------
                   1916: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1917: # that executables *can* be run.
                   1918: ac_fn_c_try_run ()
                   1919: {
                   1920:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1921:   if { { ac_try="$ac_link"
                   1922: case "(($ac_try" in
                   1923:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1924:   *) ac_try_echo=$ac_try;;
                   1925: esac
                   1926: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1927: $as_echo "$ac_try_echo"; } >&5
                   1928:   (eval "$ac_link") 2>&5
                   1929:   ac_status=$?
                   1930:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1931:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1932:   { { case "(($ac_try" in
                   1933:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1934:   *) ac_try_echo=$ac_try;;
                   1935: esac
                   1936: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1937: $as_echo "$ac_try_echo"; } >&5
                   1938:   (eval "$ac_try") 2>&5
                   1939:   ac_status=$?
                   1940:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1941:   test $ac_status = 0; }; }; then :
                   1942:   ac_retval=0
                   1943: else
                   1944:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1945:        $as_echo "$as_me: failed program was:" >&5
                   1946: sed 's/^/| /' conftest.$ac_ext >&5
                   1947: 
                   1948:        ac_retval=$ac_status
                   1949: fi
                   1950:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.105     bertrand 1951:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.83      bertrand 1952:   as_fn_set_status $ac_retval
                   1953: 
                   1954: } # ac_fn_c_try_run
                   1955: 
1.33      bertrand 1956: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1957: # -------------------------------------------
                   1958: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1959: # variable VAR accordingly.
                   1960: ac_fn_c_check_type ()
                   1961: {
                   1962:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1963:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1964: $as_echo_n "checking for $2... " >&6; }
1.105     bertrand 1965: if eval \${$3+:} false; then :
1.33      bertrand 1966:   $as_echo_n "(cached) " >&6
                   1967: else
                   1968:   eval "$3=no"
                   1969:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1970: /* end confdefs.h.  */
                   1971: $4
                   1972: int
                   1973: main ()
                   1974: {
                   1975: if (sizeof ($2))
                   1976:     return 0;
                   1977:   ;
                   1978:   return 0;
                   1979: }
                   1980: _ACEOF
                   1981: if ac_fn_c_try_compile "$LINENO"; then :
                   1982:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1983: /* end confdefs.h.  */
                   1984: $4
                   1985: int
                   1986: main ()
                   1987: {
                   1988: if (sizeof (($2)))
                   1989:        return 0;
                   1990:   ;
                   1991:   return 0;
                   1992: }
                   1993: _ACEOF
                   1994: if ac_fn_c_try_compile "$LINENO"; then :
                   1995: 
                   1996: else
                   1997:   eval "$3=yes"
                   1998: fi
                   1999: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2000: fi
                   2001: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2002: fi
                   2003: eval ac_res=\$$3
                   2004:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2005: $as_echo "$ac_res" >&6; }
1.105     bertrand 2006:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.33      bertrand 2007: 
                   2008: } # ac_fn_c_check_type
                   2009: 
1.15      bertrand 2010: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
                   2011: # --------------------------------------------
                   2012: # Tries to find the compile-time value of EXPR in a program that includes
                   2013: # INCLUDES, setting VAR accordingly. Returns whether the value could be
                   2014: # computed
                   2015: ac_fn_c_compute_int ()
                   2016: {
                   2017:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2018:   if test "$cross_compiling" = yes; then
                   2019:     # Depending upon the size, compute the lo and hi bounds.
                   2020: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2021: /* end confdefs.h.  */
                   2022: $4
                   2023: int
                   2024: main ()
                   2025: {
                   2026: static int test_array [1 - 2 * !(($2) >= 0)];
                   2027: test_array [0] = 0
1.1       bertrand 2028: 
1.15      bertrand 2029:   ;
                   2030:   return 0;
                   2031: }
1.1       bertrand 2032: _ACEOF
1.15      bertrand 2033: if ac_fn_c_try_compile "$LINENO"; then :
                   2034:   ac_lo=0 ac_mid=0
                   2035:   while :; do
                   2036:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2037: /* end confdefs.h.  */
                   2038: $4
                   2039: int
                   2040: main ()
                   2041: {
                   2042: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
                   2043: test_array [0] = 0
1.1       bertrand 2044: 
1.15      bertrand 2045:   ;
                   2046:   return 0;
                   2047: }
                   2048: _ACEOF
                   2049: if ac_fn_c_try_compile "$LINENO"; then :
                   2050:   ac_hi=$ac_mid; break
                   2051: else
                   2052:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
                   2053:            if test $ac_lo -le $ac_mid; then
                   2054:              ac_lo= ac_hi=
                   2055:              break
                   2056:            fi
                   2057:            as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
                   2058: fi
                   2059: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2060:   done
                   2061: else
                   2062:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2063: /* end confdefs.h.  */
                   2064: $4
                   2065: int
                   2066: main ()
                   2067: {
                   2068: static int test_array [1 - 2 * !(($2) < 0)];
                   2069: test_array [0] = 0
1.1       bertrand 2070: 
1.15      bertrand 2071:   ;
                   2072:   return 0;
                   2073: }
1.1       bertrand 2074: _ACEOF
1.15      bertrand 2075: if ac_fn_c_try_compile "$LINENO"; then :
                   2076:   ac_hi=-1 ac_mid=-1
                   2077:   while :; do
                   2078:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2079: /* end confdefs.h.  */
                   2080: $4
                   2081: int
                   2082: main ()
                   2083: {
                   2084: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
                   2085: test_array [0] = 0
1.1       bertrand 2086: 
1.15      bertrand 2087:   ;
                   2088:   return 0;
                   2089: }
                   2090: _ACEOF
                   2091: if ac_fn_c_try_compile "$LINENO"; then :
                   2092:   ac_lo=$ac_mid; break
                   2093: else
                   2094:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
                   2095:            if test $ac_mid -le $ac_hi; then
                   2096:              ac_lo= ac_hi=
                   2097:              break
                   2098:            fi
                   2099:            as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
                   2100: fi
                   2101: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2102:   done
1.1       bertrand 2103: else
1.15      bertrand 2104:   ac_lo= ac_hi=
                   2105: fi
                   2106: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 2107: fi
1.15      bertrand 2108: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2109: # Binary search between lo and hi bounds.
                   2110: while test "x$ac_lo" != "x$ac_hi"; do
                   2111:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
                   2112:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2113: /* end confdefs.h.  */
                   2114: $4
                   2115: int
                   2116: main ()
                   2117: {
                   2118: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
                   2119: test_array [0] = 0
1.1       bertrand 2120: 
1.15      bertrand 2121:   ;
                   2122:   return 0;
                   2123: }
                   2124: _ACEOF
                   2125: if ac_fn_c_try_compile "$LINENO"; then :
                   2126:   ac_hi=$ac_mid
1.1       bertrand 2127: else
1.15      bertrand 2128:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1.1       bertrand 2129: fi
1.15      bertrand 2130: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2131: done
                   2132: case $ac_lo in #((
                   2133: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
                   2134: '') ac_retval=1 ;;
                   2135: esac
                   2136:   else
                   2137:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2138: /* end confdefs.h.  */
                   2139: $4
                   2140: static long int longval () { return $2; }
                   2141: static unsigned long int ulongval () { return $2; }
                   2142: #include <stdio.h>
                   2143: #include <stdlib.h>
                   2144: int
                   2145: main ()
                   2146: {
1.1       bertrand 2147: 
1.15      bertrand 2148:   FILE *f = fopen ("conftest.val", "w");
                   2149:   if (! f)
                   2150:     return 1;
                   2151:   if (($2) < 0)
                   2152:     {
                   2153:       long int i = longval ();
                   2154:       if (i != ($2))
                   2155:    return 1;
                   2156:       fprintf (f, "%ld", i);
                   2157:     }
                   2158:   else
                   2159:     {
                   2160:       unsigned long int i = ulongval ();
                   2161:       if (i != ($2))
                   2162:    return 1;
                   2163:       fprintf (f, "%lu", i);
                   2164:     }
                   2165:   /* Do not output a trailing newline, as this causes \r\n confusion
                   2166:      on some platforms.  */
                   2167:   return ferror (f) || fclose (f) != 0;
                   2168: 
                   2169:   ;
                   2170:   return 0;
                   2171: }
                   2172: _ACEOF
                   2173: if ac_fn_c_try_run "$LINENO"; then :
                   2174:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
                   2175: else
                   2176:   ac_retval=1
1.14      bertrand 2177: fi
1.15      bertrand 2178: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   2179:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   2180: rm -f conftest.val
1.14      bertrand 2181: 
1.15      bertrand 2182:   fi
1.105     bertrand 2183:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.15      bertrand 2184:   as_fn_set_status $ac_retval
1.14      bertrand 2185: 
1.15      bertrand 2186: } # ac_fn_c_compute_int
1.1       bertrand 2187: 
1.15      bertrand 2188: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   2189: # -------------------------------------------------------
                   2190: # Tests whether HEADER exists and can be compiled using the include files in
                   2191: # INCLUDES, setting the cache variable VAR accordingly.
                   2192: ac_fn_c_check_header_compile ()
                   2193: {
                   2194:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2195:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2196: $as_echo_n "checking for $2... " >&6; }
1.105     bertrand 2197: if eval \${$3+:} false; then :
1.15      bertrand 2198:   $as_echo_n "(cached) " >&6
                   2199: else
                   2200:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2201: /* end confdefs.h.  */
                   2202: $4
                   2203: #include <$2>
                   2204: _ACEOF
                   2205: if ac_fn_c_try_compile "$LINENO"; then :
                   2206:   eval "$3=yes"
                   2207: else
                   2208:   eval "$3=no"
                   2209: fi
                   2210: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2211: fi
                   2212: eval ac_res=\$$3
                   2213:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2214: $as_echo "$ac_res" >&6; }
1.105     bertrand 2215:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       bertrand 2216: 
1.15      bertrand 2217: } # ac_fn_c_check_header_compile
1.1       bertrand 2218: 
1.15      bertrand 2219: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2220: # -------------------------------------------------------
                   2221: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2222: # the include files in INCLUDES and setting the cache variable VAR
                   2223: # accordingly.
                   2224: ac_fn_c_check_header_mongrel ()
                   2225: {
                   2226:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.105     bertrand 2227:   if eval \${$3+:} false; then :
1.15      bertrand 2228:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2229: $as_echo_n "checking for $2... " >&6; }
1.105     bertrand 2230: if eval \${$3+:} false; then :
1.15      bertrand 2231:   $as_echo_n "(cached) " >&6
                   2232: fi
                   2233: eval ac_res=\$$3
                   2234:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2235: $as_echo "$ac_res" >&6; }
                   2236: else
                   2237:   # Is the header compilable?
                   2238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2239: $as_echo_n "checking $2 usability... " >&6; }
                   2240: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2241: /* end confdefs.h.  */
                   2242: $4
                   2243: #include <$2>
                   2244: _ACEOF
                   2245: if ac_fn_c_try_compile "$LINENO"; then :
                   2246:   ac_header_compiler=yes
                   2247: else
                   2248:   ac_header_compiler=no
                   2249: fi
                   2250: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2252: $as_echo "$ac_header_compiler" >&6; }
1.1       bertrand 2253: 
1.15      bertrand 2254: # Is the header present?
                   2255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2256: $as_echo_n "checking $2 presence... " >&6; }
                   2257: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2258: /* end confdefs.h.  */
                   2259: #include <$2>
                   2260: _ACEOF
                   2261: if ac_fn_c_try_cpp "$LINENO"; then :
                   2262:   ac_header_preproc=yes
                   2263: else
                   2264:   ac_header_preproc=no
                   2265: fi
1.36      bertrand 2266: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      bertrand 2267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2268: $as_echo "$ac_header_preproc" >&6; }
1.1       bertrand 2269: 
1.15      bertrand 2270: # So?  What about this header?
                   2271: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2272:   yes:no: )
                   2273:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2274: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2275:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2276: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2277:     ;;
                   2278:   no:yes:* )
                   2279:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2280: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2281:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2282: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2283:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2284: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2285:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2286: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2287:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2288: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2289:     ;;
                   2290: esac
                   2291:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2292: $as_echo_n "checking for $2... " >&6; }
1.105     bertrand 2293: if eval \${$3+:} false; then :
1.15      bertrand 2294:   $as_echo_n "(cached) " >&6
                   2295: else
                   2296:   eval "$3=\$ac_header_compiler"
                   2297: fi
                   2298: eval ac_res=\$$3
                   2299:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2300: $as_echo "$ac_res" >&6; }
                   2301: fi
1.105     bertrand 2302:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       bertrand 2303: 
1.15      bertrand 2304: } # ac_fn_c_check_header_mongrel
                   2305: cat >config.log <<_ACEOF
                   2306: This file contains any messages produced by compilers while
                   2307: running configure, to aid debugging if configure makes a mistake.
1.1       bertrand 2308: 
1.100     bertrand 2309: It was created by rpl $as_me 4.1.6, which was
1.105     bertrand 2310: generated by GNU Autoconf 2.68.  Invocation command line was
1.1       bertrand 2311: 
1.15      bertrand 2312:   $ $0 $@
1.1       bertrand 2313: 
1.15      bertrand 2314: _ACEOF
                   2315: exec 5>>config.log
                   2316: {
                   2317: cat <<_ASUNAME
                   2318: ## --------- ##
                   2319: ## Platform. ##
                   2320: ## --------- ##
1.1       bertrand 2321: 
1.15      bertrand 2322: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2323: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2324: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2325: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2326: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.1       bertrand 2327: 
1.15      bertrand 2328: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2329: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.1       bertrand 2330: 
1.15      bertrand 2331: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2332: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2333: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2334: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2335: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2336: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2337: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1.1       bertrand 2338: 
1.15      bertrand 2339: _ASUNAME
1.1       bertrand 2340: 
1.15      bertrand 2341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2342: for as_dir in $PATH
                   2343: do
                   2344:   IFS=$as_save_IFS
                   2345:   test -z "$as_dir" && as_dir=.
                   2346:     $as_echo "PATH: $as_dir"
                   2347:   done
                   2348: IFS=$as_save_IFS
1.1       bertrand 2349: 
1.15      bertrand 2350: } >&5
1.1       bertrand 2351: 
1.15      bertrand 2352: cat >&5 <<_ACEOF
1.1       bertrand 2353: 
                   2354: 
1.15      bertrand 2355: ## ----------- ##
                   2356: ## Core tests. ##
                   2357: ## ----------- ##
1.1       bertrand 2358: 
1.15      bertrand 2359: _ACEOF
1.1       bertrand 2360: 
                   2361: 
1.15      bertrand 2362: # Keep a trace of the command line.
                   2363: # Strip out --no-create and --no-recursion so they do not pile up.
                   2364: # Strip out --silent because we don't want to record it for future runs.
                   2365: # Also quote any args containing shell meta-characters.
                   2366: # Make two passes to allow for proper duplicate-argument suppression.
                   2367: ac_configure_args=
                   2368: ac_configure_args0=
                   2369: ac_configure_args1=
                   2370: ac_must_keep_next=false
                   2371: for ac_pass in 1 2
                   2372: do
                   2373:   for ac_arg
                   2374:   do
                   2375:     case $ac_arg in
                   2376:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2377:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2378:     | -silent | --silent | --silen | --sile | --sil)
                   2379:       continue ;;
                   2380:     *\'*)
                   2381:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2382:     esac
                   2383:     case $ac_pass in
                   2384:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2385:     2)
                   2386:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2387:       if test $ac_must_keep_next = true; then
                   2388:    ac_must_keep_next=false # Got value, back to normal.
                   2389:       else
                   2390:    case $ac_arg in
                   2391:      *=* | --config-cache | -C | -disable-* | --disable-* \
                   2392:      | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2393:      | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2394:      | -with-* | --with-* | -without-* | --without-* | --x)
                   2395:        case "$ac_configure_args0 " in
                   2396:          "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2397:        esac
                   2398:        ;;
                   2399:      -* ) ac_must_keep_next=true ;;
                   2400:    esac
                   2401:       fi
                   2402:       as_fn_append ac_configure_args " '$ac_arg'"
                   2403:       ;;
                   2404:     esac
                   2405:   done
                   2406: done
                   2407: { ac_configure_args0=; unset ac_configure_args0;}
                   2408: { ac_configure_args1=; unset ac_configure_args1;}
1.1       bertrand 2409: 
1.15      bertrand 2410: # When interrupted or exit'd, cleanup temporary files, and complete
                   2411: # config.log.  We remove comments because anyway the quotes in there
                   2412: # would cause problems or look ugly.
                   2413: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2414: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2415: trap 'exit_status=$?
                   2416:   # Save into config.log some information that might help in debugging.
                   2417:   {
                   2418:     echo
1.1       bertrand 2419: 
1.36      bertrand 2420:     $as_echo "## ---------------- ##
1.15      bertrand 2421: ## Cache variables. ##
1.36      bertrand 2422: ## ---------------- ##"
1.15      bertrand 2423:     echo
                   2424:     # The following way of writing the cache mishandles newlines in values,
                   2425: (
                   2426:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2427:     eval ac_val=\$$ac_var
                   2428:     case $ac_val in #(
                   2429:     *${as_nl}*)
                   2430:       case $ac_var in #(
                   2431:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2432: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2433:       esac
                   2434:       case $ac_var in #(
                   2435:       _ | IFS | as_nl) ;; #(
                   2436:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2437:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2438:       esac ;;
                   2439:     esac
                   2440:   done
                   2441:   (set) 2>&1 |
                   2442:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2443:     *${as_nl}ac_space=\ *)
                   2444:       sed -n \
                   2445:    "s/'\''/'\''\\\\'\'''\''/g;
                   2446:      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2447:       ;; #(
                   2448:     *)
                   2449:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2450:       ;;
                   2451:     esac |
                   2452:     sort
                   2453: )
                   2454:     echo
1.1       bertrand 2455: 
1.36      bertrand 2456:     $as_echo "## ----------------- ##
1.15      bertrand 2457: ## Output variables. ##
1.36      bertrand 2458: ## ----------------- ##"
1.15      bertrand 2459:     echo
                   2460:     for ac_var in $ac_subst_vars
                   2461:     do
                   2462:       eval ac_val=\$$ac_var
                   2463:       case $ac_val in
                   2464:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2465:       esac
                   2466:       $as_echo "$ac_var='\''$ac_val'\''"
                   2467:     done | sort
                   2468:     echo
1.1       bertrand 2469: 
1.15      bertrand 2470:     if test -n "$ac_subst_files"; then
1.36      bertrand 2471:       $as_echo "## ------------------- ##
1.15      bertrand 2472: ## File substitutions. ##
1.36      bertrand 2473: ## ------------------- ##"
1.15      bertrand 2474:       echo
                   2475:       for ac_var in $ac_subst_files
                   2476:       do
                   2477:    eval ac_val=\$$ac_var
                   2478:    case $ac_val in
                   2479:    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2480:    esac
                   2481:    $as_echo "$ac_var='\''$ac_val'\''"
                   2482:       done | sort
                   2483:       echo
1.14      bertrand 2484:     fi
                   2485: 
1.15      bertrand 2486:     if test -s confdefs.h; then
1.36      bertrand 2487:       $as_echo "## ----------- ##
1.15      bertrand 2488: ## confdefs.h. ##
1.36      bertrand 2489: ## ----------- ##"
1.15      bertrand 2490:       echo
                   2491:       cat confdefs.h
                   2492:       echo
                   2493:     fi
                   2494:     test "$ac_signal" != 0 &&
                   2495:       $as_echo "$as_me: caught signal $ac_signal"
                   2496:     $as_echo "$as_me: exit $exit_status"
                   2497:   } >&5
                   2498:   rm -f core *.core core.conftest.* &&
                   2499:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2500:     exit $exit_status
                   2501: ' 0
                   2502: for ac_signal in 1 2 13 15; do
                   2503:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2504: done
                   2505: ac_signal=0
1.14      bertrand 2506: 
1.15      bertrand 2507: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2508: rm -f -r conftest* confdefs.h
1.14      bertrand 2509: 
1.15      bertrand 2510: $as_echo "/* confdefs.h */" > confdefs.h
1.14      bertrand 2511: 
1.15      bertrand 2512: # Predefined preprocessor variables.
1.14      bertrand 2513: 
1.15      bertrand 2514: cat >>confdefs.h <<_ACEOF
                   2515: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2516: _ACEOF
1.14      bertrand 2517: 
1.15      bertrand 2518: cat >>confdefs.h <<_ACEOF
                   2519: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1.14      bertrand 2520: _ACEOF
                   2521: 
1.15      bertrand 2522: cat >>confdefs.h <<_ACEOF
                   2523: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2524: _ACEOF
1.14      bertrand 2525: 
1.15      bertrand 2526: cat >>confdefs.h <<_ACEOF
                   2527: #define PACKAGE_STRING "$PACKAGE_STRING"
1.14      bertrand 2528: _ACEOF
                   2529: 
1.15      bertrand 2530: cat >>confdefs.h <<_ACEOF
                   2531: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2532: _ACEOF
1.14      bertrand 2533: 
1.15      bertrand 2534: cat >>confdefs.h <<_ACEOF
                   2535: #define PACKAGE_URL "$PACKAGE_URL"
                   2536: _ACEOF
1.14      bertrand 2537: 
                   2538: 
1.15      bertrand 2539: # Let the site file select an alternate cache file if it wants to.
                   2540: # Prefer an explicitly selected file to automatically selected ones.
                   2541: ac_site_file1=NONE
                   2542: ac_site_file2=NONE
                   2543: if test -n "$CONFIG_SITE"; then
1.36      bertrand 2544:   # We do not want a PATH search for config.site.
                   2545:   case $CONFIG_SITE in #((
                   2546:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2547:     */*) ac_site_file1=$CONFIG_SITE;;
                   2548:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2549:   esac
1.15      bertrand 2550: elif test "x$prefix" != xNONE; then
                   2551:   ac_site_file1=$prefix/share/config.site
                   2552:   ac_site_file2=$prefix/etc/config.site
1.14      bertrand 2553: else
1.15      bertrand 2554:   ac_site_file1=$ac_default_prefix/share/config.site
                   2555:   ac_site_file2=$ac_default_prefix/etc/config.site
1.14      bertrand 2556: fi
1.15      bertrand 2557: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2558: do
                   2559:   test "x$ac_site_file" = xNONE && continue
                   2560:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2561:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2562: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2563:     sed 's/^/| /' "$ac_site_file" >&5
1.36      bertrand 2564:     . "$ac_site_file" \
                   2565:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2566: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2567: as_fn_error $? "failed to load site script $ac_site_file
1.105     bertrand 2568: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 2569:   fi
                   2570: done
1.14      bertrand 2571: 
1.15      bertrand 2572: if test -r "$cache_file"; then
                   2573:   # Some versions of bash will fail to source /dev/null (special files
                   2574:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2575:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2576:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2577: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2578:     case $cache_file in
                   2579:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2580:       *)                      . "./$cache_file";;
                   2581:     esac
                   2582:   fi
1.14      bertrand 2583: else
1.15      bertrand 2584:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2585: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2586:   >$cache_file
1.14      bertrand 2587: fi
                   2588: 
1.15      bertrand 2589: # Check that the precious variables saved in the cache have kept the same
                   2590: # value.
                   2591: ac_cache_corrupted=false
                   2592: for ac_var in $ac_precious_vars; do
                   2593:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2594:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2595:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2596:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2597:   case $ac_old_set,$ac_new_set in
                   2598:     set,)
                   2599:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2600: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2601:       ac_cache_corrupted=: ;;
                   2602:     ,set)
                   2603:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2604: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2605:       ac_cache_corrupted=: ;;
                   2606:     ,);;
                   2607:     *)
                   2608:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2609:    # differences in whitespace do not lead to failure.
                   2610:    ac_old_val_w=`echo x $ac_old_val`
                   2611:    ac_new_val_w=`echo x $ac_new_val`
                   2612:    if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2613:      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2614: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2615:      ac_cache_corrupted=:
                   2616:    else
                   2617:      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2618: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2619:      eval $ac_var=\$ac_old_val
                   2620:    fi
                   2621:    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2622: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2623:    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2624: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2625:       fi;;
                   2626:   esac
                   2627:   # Pass precious variables to config.status.
                   2628:   if test "$ac_new_set" = set; then
                   2629:     case $ac_new_val in
                   2630:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2631:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2632:     esac
                   2633:     case " $ac_configure_args " in
                   2634:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2635:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2636:     esac
1.14      bertrand 2637:   fi
                   2638: done
1.15      bertrand 2639: if $ac_cache_corrupted; then
                   2640:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2641: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2642:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2643: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.36      bertrand 2644:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1.15      bertrand 2645: fi
                   2646: ## -------------------- ##
                   2647: ## Main body of script. ##
                   2648: ## -------------------- ##
1.14      bertrand 2649: 
1.15      bertrand 2650: ac_ext=c
                   2651: ac_cpp='$CPP $CPPFLAGS'
                   2652: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2653: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2654: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.14      bertrand 2655: 
                   2656: 
1.15      bertrand 2657: ac_aux_dir=
                   2658: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.36      bertrand 2659:   if test -f "$ac_dir/install-sh"; then
                   2660:     ac_aux_dir=$ac_dir
                   2661:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2662:     break
                   2663:   elif test -f "$ac_dir/install.sh"; then
                   2664:     ac_aux_dir=$ac_dir
                   2665:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2666:     break
                   2667:   elif test -f "$ac_dir/shtool"; then
                   2668:     ac_aux_dir=$ac_dir
                   2669:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2670:     break
                   2671:   fi
1.14      bertrand 2672: done
1.15      bertrand 2673: if test -z "$ac_aux_dir"; then
1.36      bertrand 2674:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1.15      bertrand 2675: fi
1.14      bertrand 2676: 
1.15      bertrand 2677: # These three variables are undocumented and unsupported,
                   2678: # and are intended to be withdrawn in a future Autoconf release.
                   2679: # They can cause serious problems if a builder's source tree is in a directory
                   2680: # whose full name contains unusual characters.
                   2681: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2682: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2683: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1.14      bertrand 2684: 
                   2685: 
1.15      bertrand 2686: # Make sure we can run config.sub.
                   2687: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.36      bertrand 2688:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.14      bertrand 2689: 
1.15      bertrand 2690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2691: $as_echo_n "checking build system type... " >&6; }
1.105     bertrand 2692: if ${ac_cv_build+:} false; then :
1.15      bertrand 2693:   $as_echo_n "(cached) " >&6
1.14      bertrand 2694: else
1.15      bertrand 2695:   ac_build_alias=$build_alias
                   2696: test "x$ac_build_alias" = x &&
                   2697:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2698: test "x$ac_build_alias" = x &&
1.36      bertrand 2699:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.15      bertrand 2700: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.36      bertrand 2701:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.14      bertrand 2702: 
                   2703: fi
1.15      bertrand 2704: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2705: $as_echo "$ac_cv_build" >&6; }
                   2706: case $ac_cv_build in
                   2707: *-*-*) ;;
1.105     bertrand 2708: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.15      bertrand 2709: esac
                   2710: build=$ac_cv_build
                   2711: ac_save_IFS=$IFS; IFS='-'
                   2712: set x $ac_cv_build
                   2713: shift
                   2714: build_cpu=$1
                   2715: build_vendor=$2
                   2716: shift; shift
                   2717: # Remember, the first character of IFS is used to create $*,
                   2718: # except with old shells:
                   2719: build_os=$*
                   2720: IFS=$ac_save_IFS
                   2721: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.14      bertrand 2722: 
                   2723: 
1.15      bertrand 2724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2725: $as_echo_n "checking host system type... " >&6; }
1.105     bertrand 2726: if ${ac_cv_host+:} false; then :
1.15      bertrand 2727:   $as_echo_n "(cached) " >&6
1.14      bertrand 2728: else
1.15      bertrand 2729:   if test "x$host_alias" = x; then
                   2730:   ac_cv_host=$ac_cv_build
1.14      bertrand 2731: else
1.15      bertrand 2732:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.36      bertrand 2733:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.14      bertrand 2734: fi
                   2735: 
                   2736: fi
1.15      bertrand 2737: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2738: $as_echo "$ac_cv_host" >&6; }
                   2739: case $ac_cv_host in
                   2740: *-*-*) ;;
1.105     bertrand 2741: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.15      bertrand 2742: esac
                   2743: host=$ac_cv_host
                   2744: ac_save_IFS=$IFS; IFS='-'
                   2745: set x $ac_cv_host
                   2746: shift
                   2747: host_cpu=$1
                   2748: host_vendor=$2
                   2749: shift; shift
                   2750: # Remember, the first character of IFS is used to create $*,
                   2751: # except with old shells:
                   2752: host_os=$*
                   2753: IFS=$ac_save_IFS
                   2754: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.14      bertrand 2755: 
                   2756: 
1.15      bertrand 2757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   2758: $as_echo_n "checking target system type... " >&6; }
1.105     bertrand 2759: if ${ac_cv_target+:} false; then :
1.15      bertrand 2760:   $as_echo_n "(cached) " >&6
                   2761: else
                   2762:   if test "x$target_alias" = x; then
                   2763:   ac_cv_target=$ac_cv_host
1.14      bertrand 2764: else
1.15      bertrand 2765:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.36      bertrand 2766:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1.15      bertrand 2767: fi
1.14      bertrand 2768: 
                   2769: fi
1.15      bertrand 2770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   2771: $as_echo "$ac_cv_target" >&6; }
                   2772: case $ac_cv_target in
                   2773: *-*-*) ;;
1.105     bertrand 2774: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1.15      bertrand 2775: esac
                   2776: target=$ac_cv_target
                   2777: ac_save_IFS=$IFS; IFS='-'
                   2778: set x $ac_cv_target
                   2779: shift
                   2780: target_cpu=$1
                   2781: target_vendor=$2
                   2782: shift; shift
                   2783: # Remember, the first character of IFS is used to create $*,
                   2784: # except with old shells:
                   2785: target_os=$*
                   2786: IFS=$ac_save_IFS
                   2787: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   2788: 
1.14      bertrand 2789: 
1.15      bertrand 2790: # The aliases save the names the user supplied, while $host etc.
                   2791: # will get canonicalized.
                   2792: test -n "$target_alias" &&
                   2793:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2794:     NONENONEs,x,x, &&
                   2795:   program_prefix=${target_alias}-
1.1       bertrand 2796: 
1.15      bertrand 2797: am__api_version='1.11'
1.1       bertrand 2798: 
1.14      bertrand 2799: # Find a good install program.  We prefer a C program (faster),
                   2800: # so one script is as good as another.  But avoid the broken or
                   2801: # incompatible versions:
                   2802: # SysV /etc/install, /usr/sbin/install
                   2803: # SunOS /usr/etc/install
                   2804: # IRIX /sbin/install
                   2805: # AIX /bin/install
                   2806: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2807: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2808: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2809: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2810: # OS/2's system install, which has a completely different semantic
                   2811: # ./install, which can be erroneously created by make from ./install.sh.
1.15      bertrand 2812: # Reject install programs that cannot install multiple files.
                   2813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2814: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.14      bertrand 2815: if test -z "$INSTALL"; then
1.105     bertrand 2816: if ${ac_cv_path_install+:} false; then :
1.15      bertrand 2817:   $as_echo_n "(cached) " >&6
1.14      bertrand 2818: else
                   2819:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2820: for as_dir in $PATH
                   2821: do
                   2822:   IFS=$as_save_IFS
                   2823:   test -z "$as_dir" && as_dir=.
1.15      bertrand 2824:     # Account for people who put trailing slashes in PATH elements.
                   2825: case $as_dir/ in #((
                   2826:   ./ | .// | /[cC]/* | \
1.14      bertrand 2827:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.15      bertrand 2828:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.14      bertrand 2829:   /usr/ucb/* ) ;;
                   2830:   *)
                   2831:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2832:     # Don't use installbsd from OSF since it installs stuff as root
                   2833:     # by default.
                   2834:     for ac_prog in ginstall scoinst install; do
                   2835:       for ac_exec_ext in '' $ac_executable_extensions; do
                   2836:    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   2837:      if test $ac_prog = install &&
                   2838:        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2839:        # AIX install.  It has an incompatible calling convention.
                   2840:        :
                   2841:      elif test $ac_prog = install &&
                   2842:        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2843:        # program-specific install script used by HP pwplus--don't use.
                   2844:        :
                   2845:      else
1.15      bertrand 2846:        rm -rf conftest.one conftest.two conftest.dir
                   2847:        echo one > conftest.one
                   2848:        echo two > conftest.two
                   2849:        mkdir conftest.dir
                   2850:        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2851:          test -s conftest.one && test -s conftest.two &&
                   2852:          test -s conftest.dir/conftest.one &&
                   2853:          test -s conftest.dir/conftest.two
                   2854:        then
                   2855:          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2856:          break 3
                   2857:        fi
1.14      bertrand 2858:      fi
                   2859:    fi
                   2860:       done
                   2861:     done
                   2862:     ;;
                   2863: esac
1.15      bertrand 2864: 
                   2865:   done
1.14      bertrand 2866: IFS=$as_save_IFS
1.1       bertrand 2867: 
1.15      bertrand 2868: rm -rf conftest.one conftest.two conftest.dir
1.1       bertrand 2869: 
1.14      bertrand 2870: fi
                   2871:   if test "${ac_cv_path_install+set}" = set; then
                   2872:     INSTALL=$ac_cv_path_install
                   2873:   else
                   2874:     # As a last resort, use the slow shell script.  Don't cache a
                   2875:     # value for INSTALL within a source directory, because that will
                   2876:     # break other packages using the cache if that directory is
                   2877:     # removed, or if the value is a relative name.
                   2878:     INSTALL=$ac_install_sh
                   2879:   fi
                   2880: fi
1.15      bertrand 2881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2882: $as_echo "$INSTALL" >&6; }
1.1       bertrand 2883: 
1.14      bertrand 2884: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2885: # It thinks the first close brace ends the variable substitution.
                   2886: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.1       bertrand 2887: 
1.14      bertrand 2888: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       bertrand 2889: 
1.14      bertrand 2890: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1       bertrand 2891: 
1.15      bertrand 2892: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2893: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2894: # Just in case
                   2895: sleep 1
                   2896: echo timestamp > conftest.file
                   2897: # Reject unsafe characters in $srcdir or the absolute working directory
                   2898: # name.  Accept space and tab only in the latter.
                   2899: am_lf='
                   2900: '
                   2901: case `pwd` in
                   2902:   *[\\\"\#\$\&\'\`$am_lf]*)
1.105     bertrand 2903:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1.15      bertrand 2904: esac
                   2905: case $srcdir in
                   2906:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.105     bertrand 2907:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1.15      bertrand 2908: esac
                   2909: 
                   2910: # Do `set' in a subshell so we don't clobber the current shell's
                   2911: # arguments.  Must try -L first in case configure is actually a
                   2912: # symlink; some systems play weird games with the mod time of symlinks
                   2913: # (eg FreeBSD returns the mod time of the symlink's containing
                   2914: # directory).
                   2915: if (
                   2916:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2917:    if test "$*" = "X"; then
                   2918:       # -L didn't work.
                   2919:       set X `ls -t "$srcdir/configure" conftest.file`
                   2920:    fi
                   2921:    rm -f conftest.file
                   2922:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2923:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   2924: 
                   2925:       # If neither matched, then we have a broken ls.  This can happen
                   2926:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2927:       # broken ls alias from the environment.  This has actually
                   2928:       # happened.  Such a system could not be considered "sane".
1.36      bertrand 2929:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1.15      bertrand 2930: alias in your environment" "$LINENO" 5
                   2931:    fi
                   2932: 
                   2933:    test "$2" = conftest.file
                   2934:    )
                   2935: then
                   2936:    # Ok.
                   2937:    :
1.14      bertrand 2938: else
1.36      bertrand 2939:    as_fn_error $? "newly created file is older than distributed files!
1.15      bertrand 2940: Check your system clock" "$LINENO" 5
1.14      bertrand 2941: fi
1.15      bertrand 2942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2943: $as_echo "yes" >&6; }
                   2944: test "$program_prefix" != NONE &&
                   2945:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2946: # Use a double $ so make ignores it.
                   2947: test "$program_suffix" != NONE &&
                   2948:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2949: # Double any \ or $.
                   2950: # By default was `s,x,x', remove it if useless.
                   2951: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2952: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2953: 
                   2954: # expand $ac_aux_dir to an absolute path
                   2955: am_aux_dir=`cd $ac_aux_dir && pwd`
1.1       bertrand 2956: 
1.15      bertrand 2957: if test x"${MISSING+set}" != xset; then
                   2958:   case $am_aux_dir in
                   2959:   *\ * | *\    *)
                   2960:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1.14      bertrand 2961:   *)
1.15      bertrand 2962:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2963:   esac
1.14      bertrand 2964: fi
1.15      bertrand 2965: # Use eval to expand $SHELL
                   2966: if eval "$MISSING --run true"; then
                   2967:   am_missing_run="$MISSING --run "
1.14      bertrand 2968: else
1.15      bertrand 2969:   am_missing_run=
                   2970:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2971: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   2972: fi
                   2973: 
                   2974: if test x"${install_sh}" != xset; then
                   2975:   case $am_aux_dir in
                   2976:   *\ * | *\    *)
                   2977:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2978:   *)
                   2979:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2980:   esac
1.14      bertrand 2981: fi
1.15      bertrand 2982: 
                   2983: # Installed binaries are usually stripped using `strip' when the user
                   2984: # run `make install-strip'.  However `strip' might not be the right
                   2985: # tool to use in cross-compilation environments, therefore Automake
                   2986: # will honor the `STRIP' environment variable to overrule this program.
                   2987: if test "$cross_compiling" != no; then
                   2988:   if test -n "$ac_tool_prefix"; then
                   2989:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2990: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2991: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2992: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 2993: if ${ac_cv_prog_STRIP+:} false; then :
1.15      bertrand 2994:   $as_echo_n "(cached) " >&6
1.14      bertrand 2995: else
1.15      bertrand 2996:   if test -n "$STRIP"; then
                   2997:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.14      bertrand 2998: else
                   2999: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3000: for as_dir in $PATH
                   3001: do
                   3002:   IFS=$as_save_IFS
                   3003:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3004:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 3005:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3006:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   3007:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 3008:     break 2
                   3009:   fi
                   3010: done
1.15      bertrand 3011:   done
1.14      bertrand 3012: IFS=$as_save_IFS
1.1       bertrand 3013: 
1.14      bertrand 3014: fi
                   3015: fi
1.15      bertrand 3016: STRIP=$ac_cv_prog_STRIP
                   3017: if test -n "$STRIP"; then
                   3018:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   3019: $as_echo "$STRIP" >&6; }
1.14      bertrand 3020: else
1.15      bertrand 3021:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3022: $as_echo "no" >&6; }
1.14      bertrand 3023: fi
1.1       bertrand 3024: 
                   3025: 
1.14      bertrand 3026: fi
1.15      bertrand 3027: if test -z "$ac_cv_prog_STRIP"; then
                   3028:   ac_ct_STRIP=$STRIP
                   3029:   # Extract the first word of "strip", so it can be a program name with args.
                   3030: set dummy strip; ac_word=$2
                   3031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3032: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 3033: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.15      bertrand 3034:   $as_echo_n "(cached) " >&6
1.14      bertrand 3035: else
1.15      bertrand 3036:   if test -n "$ac_ct_STRIP"; then
                   3037:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       bertrand 3038: else
1.14      bertrand 3039: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3040: for as_dir in $PATH
1.1       bertrand 3041: do
1.14      bertrand 3042:   IFS=$as_save_IFS
                   3043:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3044:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 3045:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3046:     ac_cv_prog_ac_ct_STRIP="strip"
                   3047:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 3048:     break 2
1.1       bertrand 3049:   fi
                   3050: done
1.15      bertrand 3051:   done
1.14      bertrand 3052: IFS=$as_save_IFS
1.1       bertrand 3053: 
1.14      bertrand 3054: fi
                   3055: fi
1.15      bertrand 3056: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   3057: if test -n "$ac_ct_STRIP"; then
                   3058:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   3059: $as_echo "$ac_ct_STRIP" >&6; }
1.1       bertrand 3060: else
1.15      bertrand 3061:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3062: $as_echo "no" >&6; }
1.1       bertrand 3063: fi
                   3064: 
1.15      bertrand 3065:   if test "x$ac_ct_STRIP" = x; then
                   3066:     STRIP=":"
1.14      bertrand 3067:   else
                   3068:     case $cross_compiling:$ac_tool_warned in
                   3069: yes:)
1.15      bertrand 3070: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3071: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.14      bertrand 3072: ac_tool_warned=yes ;;
                   3073: esac
1.15      bertrand 3074:     STRIP=$ac_ct_STRIP
1.1       bertrand 3075:   fi
1.14      bertrand 3076: else
1.15      bertrand 3077:   STRIP="$ac_cv_prog_STRIP"
1.1       bertrand 3078: fi
                   3079: 
1.15      bertrand 3080: fi
                   3081: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.1       bertrand 3082: 
1.15      bertrand 3083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   3084: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   3085: if test -z "$MKDIR_P"; then
1.105     bertrand 3086:   if ${ac_cv_path_mkdir+:} false; then :
1.15      bertrand 3087:   $as_echo_n "(cached) " >&6
1.14      bertrand 3088: else
1.15      bertrand 3089:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3090: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1.14      bertrand 3091: do
                   3092:   IFS=$as_save_IFS
                   3093:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3094:     for ac_prog in mkdir gmkdir; do
                   3095:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3096:       { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   3097:       case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3098:         'mkdir (GNU coreutils) '* | \
                   3099:         'mkdir (coreutils) '* | \
                   3100:         'mkdir (fileutils) '4.1*)
                   3101:           ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3102:           break 3;;
                   3103:       esac
                   3104:     done
                   3105:        done
                   3106:   done
1.14      bertrand 3107: IFS=$as_save_IFS
1.1       bertrand 3108: 
                   3109: fi
1.15      bertrand 3110: 
                   3111:   test -d ./--version && rmdir ./--version
                   3112:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3113:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3114:   else
                   3115:     # As a last resort, use the slow shell script.  Don't cache a
                   3116:     # value for MKDIR_P within a source directory, because that will
                   3117:     # break other packages using the cache if that directory is
                   3118:     # removed, or if the value is a relative name.
                   3119:     MKDIR_P="$ac_install_sh -d"
                   3120:   fi
1.14      bertrand 3121: fi
1.15      bertrand 3122: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3123: $as_echo "$MKDIR_P" >&6; }
1.1       bertrand 3124: 
1.15      bertrand 3125: mkdir_p="$MKDIR_P"
                   3126: case $mkdir_p in
                   3127:   [\\/$]* | ?:[\\/]*) ;;
                   3128:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   3129: esac
1.1       bertrand 3130: 
1.15      bertrand 3131: for ac_prog in gawk mawk nawk awk
                   3132: do
                   3133:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3134: set dummy $ac_prog; ac_word=$2
                   3135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3136: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 3137: if ${ac_cv_prog_AWK+:} false; then :
1.15      bertrand 3138:   $as_echo_n "(cached) " >&6
1.1       bertrand 3139: else
1.15      bertrand 3140:   if test -n "$AWK"; then
                   3141:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1       bertrand 3142: else
1.14      bertrand 3143: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3144: for as_dir in $PATH
                   3145: do
                   3146:   IFS=$as_save_IFS
                   3147:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3148:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 3149:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3150:     ac_cv_prog_AWK="$ac_prog"
                   3151:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 3152:     break 2
                   3153:   fi
                   3154: done
1.15      bertrand 3155:   done
1.14      bertrand 3156: IFS=$as_save_IFS
                   3157: 
                   3158: fi
1.1       bertrand 3159: fi
1.15      bertrand 3160: AWK=$ac_cv_prog_AWK
                   3161: if test -n "$AWK"; then
                   3162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3163: $as_echo "$AWK" >&6; }
1.14      bertrand 3164: else
1.15      bertrand 3165:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3166: $as_echo "no" >&6; }
1.1       bertrand 3167: fi
                   3168: 
                   3169: 
1.15      bertrand 3170:   test -n "$AWK" && break
                   3171: done
1.1       bertrand 3172: 
1.15      bertrand 3173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3174: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3175: set x ${MAKE-make}
                   3176: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.105     bertrand 3177: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.15      bertrand 3178:   $as_echo_n "(cached) " >&6
1.14      bertrand 3179: else
1.15      bertrand 3180:   cat >conftest.make <<\_ACEOF
                   3181: SHELL = /bin/sh
                   3182: all:
                   3183:    @echo '@@@%%%=$(MAKE)=@@@%%%'
                   3184: _ACEOF
1.36      bertrand 3185: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.15      bertrand 3186: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3187:   *@@@%%%=?*=@@@%%%*)
                   3188:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3189:   *)
                   3190:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3191: esac
                   3192: rm -f conftest.make
                   3193: fi
                   3194: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3195:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3196: $as_echo "yes" >&6; }
                   3197:   SET_MAKE=
1.1       bertrand 3198: else
1.15      bertrand 3199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3200: $as_echo "no" >&6; }
                   3201:   SET_MAKE="MAKE=${MAKE-make}"
                   3202: fi
1.1       bertrand 3203: 
1.15      bertrand 3204: rm -rf .tst 2>/dev/null
                   3205: mkdir .tst 2>/dev/null
                   3206: if test -d .tst; then
                   3207:   am__leading_dot=.
                   3208: else
                   3209:   am__leading_dot=_
1.14      bertrand 3210: fi
1.15      bertrand 3211: rmdir .tst 2>/dev/null
                   3212: 
1.92      bertrand 3213: # Check whether --enable-silent-rules was given.
                   3214: if test "${enable_silent_rules+set}" = set; then :
                   3215:   enableval=$enable_silent_rules;
                   3216: fi
                   3217: 
                   3218: case $enable_silent_rules in
                   3219: yes) AM_DEFAULT_VERBOSITY=0;;
                   3220: no)  AM_DEFAULT_VERBOSITY=1;;
                   3221: *)   AM_DEFAULT_VERBOSITY=1;;
                   3222: esac
1.105     bertrand 3223: am_make=${MAKE-make}
                   3224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3225: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3226: if ${am_cv_make_support_nested_variables+:} false; then :
                   3227:   $as_echo_n "(cached) " >&6
                   3228: else
                   3229:   if $as_echo 'TRUE=$(BAR$(V))
                   3230: BAR0=false
                   3231: BAR1=true
                   3232: V=1
                   3233: am__doit:
                   3234:    @$(TRUE)
                   3235: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3236:   am_cv_make_support_nested_variables=yes
                   3237: else
                   3238:   am_cv_make_support_nested_variables=no
                   3239: fi
                   3240: fi
                   3241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3242: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3243: if test $am_cv_make_support_nested_variables = yes; then
                   3244:     AM_V='$(V)'
                   3245:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3246: else
                   3247:   AM_V=$AM_DEFAULT_VERBOSITY
                   3248:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3249: fi
1.92      bertrand 3250: AM_BACKSLASH='\'
                   3251: 
1.15      bertrand 3252: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3253:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3254:   # is not polluted with repeated "-I."
                   3255:   am__isrc=' -I$(srcdir)'
                   3256:   # test to see if srcdir already configured
                   3257:   if test -f $srcdir/config.status; then
1.36      bertrand 3258:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1.15      bertrand 3259:   fi
1.1       bertrand 3260: fi
1.15      bertrand 3261: 
                   3262: # test whether we have cygpath
                   3263: if test -z "$CYGPATH_W"; then
                   3264:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3265:     CYGPATH_W='cygpath -w'
                   3266:   else
                   3267:     CYGPATH_W=echo
                   3268:   fi
1.1       bertrand 3269: fi
                   3270: 
                   3271: 
1.15      bertrand 3272: # Define the identity of the package.
                   3273:  PACKAGE='rpl'
1.100     bertrand 3274:  VERSION='4.1.6'
1.15      bertrand 3275: 
                   3276: 
                   3277: cat >>confdefs.h <<_ACEOF
                   3278: #define PACKAGE "$PACKAGE"
                   3279: _ACEOF
                   3280: 
                   3281: 
                   3282: cat >>confdefs.h <<_ACEOF
                   3283: #define VERSION "$VERSION"
                   3284: _ACEOF
                   3285: 
                   3286: # Some tools Automake needs.
                   3287: 
                   3288: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3289: 
                   3290: 
                   3291: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3292: 
                   3293: 
                   3294: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3295: 
                   3296: 
                   3297: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3298: 
                   3299: 
                   3300: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   3301: 
                   3302: # We need awk for the "check" target.  The system "awk" is bad on
                   3303: # some platforms.
1.105     bertrand 3304: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3305: # in the wild :-(  We should find a proper way to deprecate it ...
                   3306: AMTAR='$${TAR-tar}'
1.15      bertrand 3307: 
1.105     bertrand 3308: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.15      bertrand 3309: 
                   3310: 
                   3311: 
                   3312: 
1.1       bertrand 3313: 
1.92      bertrand 3314: # Check whether --enable-silent-rules was given.
                   3315: if test "${enable_silent_rules+set}" = set; then :
                   3316:   enableval=$enable_silent_rules;
                   3317: fi
                   3318: 
                   3319: case $enable_silent_rules in
                   3320: yes) AM_DEFAULT_VERBOSITY=0;;
                   3321: no)  AM_DEFAULT_VERBOSITY=1;;
1.93      bertrand 3322: *)   AM_DEFAULT_VERBOSITY=0;;
1.92      bertrand 3323: esac
1.105     bertrand 3324: am_make=${MAKE-make}
                   3325: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3326: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3327: if ${am_cv_make_support_nested_variables+:} false; then :
                   3328:   $as_echo_n "(cached) " >&6
                   3329: else
                   3330:   if $as_echo 'TRUE=$(BAR$(V))
                   3331: BAR0=false
                   3332: BAR1=true
                   3333: V=1
                   3334: am__doit:
                   3335:    @$(TRUE)
                   3336: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3337:   am_cv_make_support_nested_variables=yes
                   3338: else
                   3339:   am_cv_make_support_nested_variables=no
                   3340: fi
                   3341: fi
                   3342: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3343: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3344: if test $am_cv_make_support_nested_variables = yes; then
                   3345:     AM_V='$(V)'
                   3346:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3347: else
                   3348:   AM_V=$AM_DEFAULT_VERBOSITY
                   3349:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3350: fi
1.92      bertrand 3351: AM_BACKSLASH='\'
                   3352: 
1.1       bertrand 3353: 
1.15      bertrand 3354: ac_config_headers="$ac_config_headers rplconfig.h"
1.1       bertrand 3355: 
                   3356: 
1.54      bertrand 3357: NCURSES=ncurses-5.9
1.50      bertrand 3358: READLINE=readline-6.2
1.30      bertrand 3359: UNITS=units-1.88
1.57      bertrand 3360: GSL=gsl-1.15
1.72      bertrand 3361: GPP=gpp-3.0
1.52      bertrand 3362: GNUPLOT=gnuplot-4.4.3
1.15      bertrand 3363: FILE=file-5.03
                   3364: ICONV=libiconv-1.13.1
1.99      bertrand 3365: SQLITE=sqlite-3.7.10
1.106   ! bertrand 3366: OPENSSL=openssl-1.0.0g
1.79      bertrand 3367: OPENMOTIF=openmotif-2.3.3
1.80      bertrand 3368: LIBXPM=libXpm-3.5.9
1.76      bertrand 3369: SIGSEGV=libsigsegv-2.6
1.14      bertrand 3370: 
1.75      bertrand 3371: GMP=gmp-5.0.2
1.55      bertrand 3372: MPFR=mpfr-3.0.1
1.56      bertrand 3373: NTL=ntl-5.5.2
                   3374: COCOA=CoCoALib-0.9943
1.76      bertrand 3375: PARI=pari-2.5.0
1.94      bertrand 3376: GIAC=giac-0.9.5
1.55      bertrand 3377: 
1.15      bertrand 3378: ac_ext=c
                   3379: ac_cpp='$CPP $CPPFLAGS'
                   3380: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3381: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3382: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3383: if test -n "$ac_tool_prefix"; then
1.23      bertrand 3384:   for ac_prog in gcc
1.15      bertrand 3385:   do
                   3386:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3387: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3388: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3389: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 3390: if ${ac_cv_prog_CC+:} false; then :
1.15      bertrand 3391:   $as_echo_n "(cached) " >&6
1.1       bertrand 3392: else
1.15      bertrand 3393:   if test -n "$CC"; then
                   3394:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.1       bertrand 3395: else
                   3396: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3397: for as_dir in $PATH
                   3398: do
                   3399:   IFS=$as_save_IFS
                   3400:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3401:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       bertrand 3402:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3403:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3404:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       bertrand 3405:     break 2
                   3406:   fi
                   3407: done
1.15      bertrand 3408:   done
1.1       bertrand 3409: IFS=$as_save_IFS
                   3410: 
                   3411: fi
                   3412: fi
1.15      bertrand 3413: CC=$ac_cv_prog_CC
                   3414: if test -n "$CC"; then
                   3415:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3416: $as_echo "$CC" >&6; }
1.1       bertrand 3417: else
1.15      bertrand 3418:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3419: $as_echo "no" >&6; }
1.1       bertrand 3420: fi
                   3421: 
                   3422: 
1.15      bertrand 3423:     test -n "$CC" && break
                   3424:   done
                   3425: fi
                   3426: if test -z "$CC"; then
                   3427:   ac_ct_CC=$CC
1.23      bertrand 3428:   for ac_prog in gcc
1.15      bertrand 3429: do
                   3430:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3431: set dummy $ac_prog; ac_word=$2
                   3432: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3433: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 3434: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.15      bertrand 3435:   $as_echo_n "(cached) " >&6
1.1       bertrand 3436: else
1.15      bertrand 3437:   if test -n "$ac_ct_CC"; then
                   3438:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       bertrand 3439: else
                   3440: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3441: for as_dir in $PATH
                   3442: do
                   3443:   IFS=$as_save_IFS
                   3444:   test -z "$as_dir" && as_dir=.
1.15      bertrand 3445:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       bertrand 3446:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15      bertrand 3447:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3448:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       bertrand 3449:     break 2
                   3450:   fi
                   3451: done
1.15      bertrand 3452:   done
1.1       bertrand 3453: IFS=$as_save_IFS
                   3454: 
                   3455: fi
                   3456: fi
1.15      bertrand 3457: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3458: if test -n "$ac_ct_CC"; then
                   3459:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3460: $as_echo "$ac_ct_CC" >&6; }
1.1       bertrand 3461: else
1.15      bertrand 3462:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3463: $as_echo "no" >&6; }
1.1       bertrand 3464: fi
                   3465: 
                   3466: 
1.15      bertrand 3467:   test -n "$ac_ct_CC" && break
                   3468: done
1.1       bertrand 3469: 
1.15      bertrand 3470:   if test "x$ac_ct_CC" = x; then
                   3471:     CC=""
                   3472:   else
                   3473:     case $cross_compiling:$ac_tool_warned in
                   3474: yes:)
                   3475: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3476: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3477: ac_tool_warned=yes ;;
                   3478: esac
                   3479:     CC=$ac_ct_CC
1.1       bertrand 3480:   fi
                   3481: fi
                   3482: 
                   3483: 
1.15      bertrand 3484: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3485: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3486: as_fn_error $? "no acceptable C compiler found in \$PATH
1.105     bertrand 3487: See \`config.log' for more details" "$LINENO" 5; }
1.1       bertrand 3488: 
1.15      bertrand 3489: # Provide some information about the compiler.
                   3490: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3491: set X $ac_compile
                   3492: ac_compiler=$2
                   3493: for ac_option in --version -v -V -qversion; do
                   3494:   { { ac_try="$ac_compiler $ac_option >&5"
                   3495: case "(($ac_try" in
                   3496:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3497:   *) ac_try_echo=$ac_try;;
                   3498: esac
                   3499: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3500: $as_echo "$ac_try_echo"; } >&5
                   3501:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3502:   ac_status=$?
                   3503:   if test -s conftest.err; then
                   3504:     sed '10a\
                   3505: ... rest of stderr output deleted ...
                   3506:          10q' conftest.err >conftest.er1
                   3507:     cat conftest.er1 >&5
1.1       bertrand 3508:   fi
1.15      bertrand 3509:   rm -f conftest.er1 conftest.err
                   3510:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3511:   test $ac_status = 0; }
1.1       bertrand 3512: done
                   3513: 
1.15      bertrand 3514: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3515: /* end confdefs.h.  */
                   3516: 
                   3517: int
                   3518: main ()
                   3519: {
1.14      bertrand 3520: 
1.15      bertrand 3521:   ;
                   3522:   return 0;
                   3523: }
                   3524: _ACEOF
                   3525: ac_clean_files_save=$ac_clean_files
                   3526: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3527: # Try to create an executable without -o first, disregard a.out.
                   3528: # It will help us diagnose broken compilers, and finding out an intuition
                   3529: # of exeext.
                   3530: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3531: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3532: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.14      bertrand 3533: 
1.15      bertrand 3534: # The possible output files:
                   3535: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1.1       bertrand 3536: 
1.15      bertrand 3537: ac_rmfiles=
                   3538: for ac_file in $ac_files
1.1       bertrand 3539: do
1.15      bertrand 3540:   case $ac_file in
                   3541:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3542:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3543:   esac
1.1       bertrand 3544: done
1.15      bertrand 3545: rm -f $ac_rmfiles
                   3546: 
                   3547: if { { ac_try="$ac_link_default"
                   3548: case "(($ac_try" in
                   3549:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3550:   *) ac_try_echo=$ac_try;;
                   3551: esac
                   3552: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3553: $as_echo "$ac_try_echo"; } >&5
                   3554:   (eval "$ac_link_default") 2>&5
                   3555:   ac_status=$?
                   3556:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3557:   test $ac_status = 0; }; then :
                   3558:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3559: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3560: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3561: # so that the user can short-circuit this test for compilers unknown to
                   3562: # Autoconf.
                   3563: for ac_file in $ac_files ''
                   3564: do
                   3565:   test -f "$ac_file" || continue
                   3566:   case $ac_file in
                   3567:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3568:    ;;
                   3569:     [ab].out )
                   3570:    # We found the default executable, but exeext='' is most
                   3571:    # certainly right.
                   3572:    break;;
                   3573:     *.* )
                   3574:    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3575:    then :; else
                   3576:       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3577:    fi
                   3578:    # We set ac_cv_exeext here because the later test for it is not
                   3579:    # safe: cross compilers may not add the suffix if given an `-o'
                   3580:    # argument, so we may need to know it at that point already.
                   3581:    # Even if this section looks crufty: it has the advantage of
                   3582:    # actually working.
                   3583:    break;;
                   3584:     * )
                   3585:    break;;
                   3586:   esac
1.14      bertrand 3587: done
1.15      bertrand 3588: test "$ac_cv_exeext" = no && ac_cv_exeext=
1.1       bertrand 3589: 
1.14      bertrand 3590: else
1.15      bertrand 3591:   ac_file=''
1.1       bertrand 3592: fi
1.15      bertrand 3593: if test -z "$ac_file"; then :
                   3594:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3595: $as_echo "no" >&6; }
                   3596: $as_echo "$as_me: failed program was:" >&5
                   3597: sed 's/^/| /' conftest.$ac_ext >&5
                   3598: 
                   3599: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3600: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3601: as_fn_error 77 "C compiler cannot create executables
1.105     bertrand 3602: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 3603: else
                   3604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3605: $as_echo "yes" >&6; }
                   3606: fi
                   3607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3608: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3609: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3610: $as_echo "$ac_file" >&6; }
                   3611: ac_exeext=$ac_cv_exeext
1.1       bertrand 3612: 
1.15      bertrand 3613: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3614: ac_clean_files=$ac_clean_files_save
                   3615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3616: $as_echo_n "checking for suffix of executables... " >&6; }
                   3617: if { { ac_try="$ac_link"
                   3618: case "(($ac_try" in
                   3619:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3620:   *) ac_try_echo=$ac_try;;
                   3621: esac
                   3622: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3623: $as_echo "$ac_try_echo"; } >&5
                   3624:   (eval "$ac_link") 2>&5
                   3625:   ac_status=$?
                   3626:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3627:   test $ac_status = 0; }; then :
                   3628:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3629: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3630: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3631: # `rm'.
                   3632: for ac_file in conftest.exe conftest conftest.*; do
                   3633:   test -f "$ac_file" || continue
                   3634:   case $ac_file in
                   3635:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3636:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3637:      break;;
                   3638:     * ) break;;
                   3639:   esac
                   3640: done
1.14      bertrand 3641: else
1.15      bertrand 3642:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3643: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3644: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.105     bertrand 3645: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 3646: fi
                   3647: rm -f conftest conftest$ac_cv_exeext
                   3648: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3649: $as_echo "$ac_cv_exeext" >&6; }
                   3650: 
                   3651: rm -f conftest.$ac_ext
                   3652: EXEEXT=$ac_cv_exeext
                   3653: ac_exeext=$EXEEXT
                   3654: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 3655: /* end confdefs.h.  */
1.15      bertrand 3656: #include <stdio.h>
1.14      bertrand 3657: int
                   3658: main ()
                   3659: {
1.15      bertrand 3660: FILE *f = fopen ("conftest.out", "w");
                   3661:  return ferror (f) || fclose (f) != 0;
                   3662: 
1.14      bertrand 3663:   ;
                   3664:   return 0;
                   3665: }
                   3666: _ACEOF
1.15      bertrand 3667: ac_clean_files="$ac_clean_files conftest.out"
                   3668: # Check that the compiler produces executables we can run.  If not, either
                   3669: # the compiler is broken, or we cross compile.
                   3670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3671: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3672: if test "$cross_compiling" != yes; then
                   3673:   { { ac_try="$ac_link"
1.1       bertrand 3674: case "(($ac_try" in
                   3675:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3676:   *) ac_try_echo=$ac_try;;
                   3677: esac
1.15      bertrand 3678: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3679: $as_echo "$ac_try_echo"; } >&5
                   3680:   (eval "$ac_link") 2>&5
                   3681:   ac_status=$?
                   3682:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3683:   test $ac_status = 0; }
                   3684:   if { ac_try='./conftest$ac_cv_exeext'
                   3685:   { { case "(($ac_try" in
                   3686:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3687:   *) ac_try_echo=$ac_try;;
                   3688: esac
                   3689: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3690: $as_echo "$ac_try_echo"; } >&5
                   3691:   (eval "$ac_try") 2>&5
1.1       bertrand 3692:   ac_status=$?
1.15      bertrand 3693:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3694:   test $ac_status = 0; }; }; then
                   3695:     cross_compiling=no
                   3696:   else
                   3697:     if test "$cross_compiling" = maybe; then
                   3698:    cross_compiling=yes
                   3699:     else
                   3700:    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3701: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3702: as_fn_error $? "cannot run C compiled programs.
1.15      bertrand 3703: If you meant to cross compile, use \`--host'.
1.105     bertrand 3704: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 3705:     fi
                   3706:   fi
1.14      bertrand 3707: fi
1.15      bertrand 3708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3709: $as_echo "$cross_compiling" >&6; }
1.14      bertrand 3710: 
1.15      bertrand 3711: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3712: ac_clean_files=$ac_clean_files_save
                   3713: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3714: $as_echo_n "checking for suffix of object files... " >&6; }
1.105     bertrand 3715: if ${ac_cv_objext+:} false; then :
1.15      bertrand 3716:   $as_echo_n "(cached) " >&6
1.14      bertrand 3717: else
1.15      bertrand 3718:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 3719: /* end confdefs.h.  */
                   3720: 
                   3721: int
                   3722: main ()
                   3723: {
1.15      bertrand 3724: 
1.1       bertrand 3725:   ;
                   3726:   return 0;
                   3727: }
                   3728: _ACEOF
1.15      bertrand 3729: rm -f conftest.o conftest.obj
                   3730: if { { ac_try="$ac_compile"
1.1       bertrand 3731: case "(($ac_try" in
                   3732:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3733:   *) ac_try_echo=$ac_try;;
                   3734: esac
1.15      bertrand 3735: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3736: $as_echo "$ac_try_echo"; } >&5
                   3737:   (eval "$ac_compile") 2>&5
1.1       bertrand 3738:   ac_status=$?
1.15      bertrand 3739:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3740:   test $ac_status = 0; }; then :
                   3741:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3742:   test -f "$ac_file" || continue;
                   3743:   case $ac_file in
                   3744:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3745:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3746:        break;;
                   3747:   esac
                   3748: done
1.14      bertrand 3749: else
1.15      bertrand 3750:   $as_echo "$as_me: failed program was:" >&5
1.14      bertrand 3751: sed 's/^/| /' conftest.$ac_ext >&5
                   3752: 
1.15      bertrand 3753: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3754: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 3755: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.105     bertrand 3756: See \`config.log' for more details" "$LINENO" 5; }
1.14      bertrand 3757: fi
1.15      bertrand 3758: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3759: fi
                   3760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3761: $as_echo "$ac_cv_objext" >&6; }
                   3762: OBJEXT=$ac_cv_objext
                   3763: ac_objext=$OBJEXT
                   3764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3765: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.105     bertrand 3766: if ${ac_cv_c_compiler_gnu+:} false; then :
1.15      bertrand 3767:   $as_echo_n "(cached) " >&6
                   3768: else
                   3769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3770: /* end confdefs.h.  */
                   3771: 
                   3772: int
                   3773: main ()
                   3774: {
                   3775: #ifndef __GNUC__
                   3776:        choke me
                   3777: #endif
1.14      bertrand 3778: 
1.15      bertrand 3779:   ;
                   3780:   return 0;
                   3781: }
                   3782: _ACEOF
                   3783: if ac_fn_c_try_compile "$LINENO"; then :
                   3784:   ac_compiler_gnu=yes
1.14      bertrand 3785: else
1.15      bertrand 3786:   ac_compiler_gnu=no
1.14      bertrand 3787: fi
1.15      bertrand 3788: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3789: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.14      bertrand 3790: 
1.15      bertrand 3791: fi
                   3792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3793: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3794: if test $ac_compiler_gnu = yes; then
                   3795:   GCC=yes
1.14      bertrand 3796: else
1.15      bertrand 3797:   GCC=
1.14      bertrand 3798: fi
1.15      bertrand 3799: ac_test_CFLAGS=${CFLAGS+set}
                   3800: ac_save_CFLAGS=$CFLAGS
                   3801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3802: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.105     bertrand 3803: if ${ac_cv_prog_cc_g+:} false; then :
1.15      bertrand 3804:   $as_echo_n "(cached) " >&6
                   3805: else
                   3806:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3807:    ac_c_werror_flag=yes
                   3808:    ac_cv_prog_cc_g=no
                   3809:    CFLAGS="-g"
                   3810:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3811: /* end confdefs.h.  */
1.14      bertrand 3812: 
1.15      bertrand 3813: int
                   3814: main ()
                   3815: {
1.14      bertrand 3816: 
1.15      bertrand 3817:   ;
                   3818:   return 0;
                   3819: }
                   3820: _ACEOF
                   3821: if ac_fn_c_try_compile "$LINENO"; then :
                   3822:   ac_cv_prog_cc_g=yes
                   3823: else
                   3824:   CFLAGS=""
                   3825:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3826: /* end confdefs.h.  */
1.14      bertrand 3827: 
1.15      bertrand 3828: int
                   3829: main ()
                   3830: {
1.14      bertrand 3831: 
1.15      bertrand 3832:   ;
                   3833:   return 0;
                   3834: }
                   3835: _ACEOF
                   3836: if ac_fn_c_try_compile "$LINENO"; then :
1.14      bertrand 3837: 
1.15      bertrand 3838: else
                   3839:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3840:     CFLAGS="-g"
                   3841:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3842: /* end confdefs.h.  */
1.14      bertrand 3843: 
1.15      bertrand 3844: int
                   3845: main ()
                   3846: {
1.14      bertrand 3847: 
1.15      bertrand 3848:   ;
                   3849:   return 0;
                   3850: }
                   3851: _ACEOF
                   3852: if ac_fn_c_try_compile "$LINENO"; then :
                   3853:   ac_cv_prog_cc_g=yes
                   3854: fi
                   3855: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3856: fi
                   3857: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3858: fi
                   3859: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3860:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3861: fi
                   3862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3863: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3864: if test "$ac_test_CFLAGS" = set; then
                   3865:   CFLAGS=$ac_save_CFLAGS
                   3866: elif test $ac_cv_prog_cc_g = yes; then
                   3867:   if test "$GCC" = yes; then
                   3868:     CFLAGS="-g -O2"
                   3869:   else
                   3870:     CFLAGS="-g"
                   3871:   fi
                   3872: else
                   3873:   if test "$GCC" = yes; then
                   3874:     CFLAGS="-O2"
                   3875:   else
                   3876:     CFLAGS=
                   3877:   fi
                   3878: fi
                   3879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3880: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.105     bertrand 3881: if ${ac_cv_prog_cc_c89+:} false; then :
1.15      bertrand 3882:   $as_echo_n "(cached) " >&6
1.1       bertrand 3883: else
1.15      bertrand 3884:   ac_cv_prog_cc_c89=no
                   3885: ac_save_CC=$CC
                   3886: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 3887: /* end confdefs.h.  */
1.15      bertrand 3888: #include <stdarg.h>
                   3889: #include <stdio.h>
                   3890: #include <sys/types.h>
                   3891: #include <sys/stat.h>
                   3892: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3893: struct buf { int x; };
                   3894: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3895: static char *e (p, i)
                   3896:      char **p;
                   3897:      int i;
                   3898: {
                   3899:   return p[i];
                   3900: }
                   3901: static char *f (char * (*g) (char **, int), char **p, ...)
                   3902: {
                   3903:   char *s;
                   3904:   va_list v;
                   3905:   va_start (v,p);
                   3906:   s = g (p, va_arg (v,int));
                   3907:   va_end (v);
                   3908:   return s;
                   3909: }
                   3910: 
                   3911: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3912:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3913:    These don't provoke an error unfortunately, instead are silently treated
                   3914:    as 'x'.  The following induces an error, until -std is added to get
                   3915:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3916:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3917:    that's true only with -std.  */
                   3918: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.14      bertrand 3919: 
1.15      bertrand 3920: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3921:    inside strings and character constants.  */
                   3922: #define FOO(x) 'x'
                   3923: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.1       bertrand 3924: 
1.15      bertrand 3925: int test (int i, double x);
                   3926: struct s1 {int (*f) (int a);};
                   3927: struct s2 {int (*f) (double a);};
                   3928: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3929: int argc;
                   3930: char **argv;
1.14      bertrand 3931: int
                   3932: main ()
                   3933: {
1.15      bertrand 3934: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1.14      bertrand 3935:   ;
                   3936:   return 0;
                   3937: }
                   3938: _ACEOF
1.15      bertrand 3939: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3940:    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3941: do
                   3942:   CC="$ac_save_CC $ac_arg"
                   3943:   if ac_fn_c_try_compile "$LINENO"; then :
                   3944:   ac_cv_prog_cc_c89=$ac_arg
                   3945: fi
                   3946: rm -f core conftest.err conftest.$ac_objext
                   3947:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3948: done
                   3949: rm -f conftest.$ac_ext
                   3950: CC=$ac_save_CC
                   3951: 
                   3952: fi
                   3953: # AC_CACHE_VAL
                   3954: case "x$ac_cv_prog_cc_c89" in
                   3955:   x)
                   3956:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3957: $as_echo "none needed" >&6; } ;;
                   3958:   xno)
                   3959:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3960: $as_echo "unsupported" >&6; } ;;
                   3961:   *)
                   3962:     CC="$CC $ac_cv_prog_cc_c89"
                   3963:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3964: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1       bertrand 3965: esac
1.15      bertrand 3966: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.14      bertrand 3967: 
                   3968: fi
                   3969: 
1.15      bertrand 3970: ac_ext=c
                   3971: ac_cpp='$CPP $CPPFLAGS'
                   3972: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3973: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3974: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3975: DEPDIR="${am__leading_dot}deps"
                   3976: 
                   3977: ac_config_commands="$ac_config_commands depfiles"
                   3978: 
                   3979: 
                   3980: am_make=${MAKE-make}
                   3981: cat > confinc << 'END'
                   3982: am__doit:
                   3983:    @echo this is the am__doit target
                   3984: .PHONY: am__doit
                   3985: END
                   3986: # If we don't find an include directive, just comment out the code.
                   3987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3988: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3989: am__include="#"
                   3990: am__quote=
                   3991: _am_result=none
                   3992: # First try GNU make style include.
                   3993: echo "include confinc" > confmf
                   3994: # Ignore all kinds of additional output from `make'.
                   3995: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3996: *the\ am__doit\ target*)
                   3997:   am__include=include
                   3998:   am__quote=
                   3999:   _am_result=GNU
                   4000:   ;;
                   4001: esac
                   4002: # Now try BSD make style include.
                   4003: if test "$am__include" = "#"; then
                   4004:    echo '.include "confinc"' > confmf
                   4005:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   4006:    *the\ am__doit\ target*)
                   4007:      am__include=.include
                   4008:      am__quote="\""
                   4009:      _am_result=BSD
                   4010:      ;;
                   4011:    esac
1.14      bertrand 4012: fi
                   4013: 
                   4014: 
1.15      bertrand 4015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   4016: $as_echo "$_am_result" >&6; }
                   4017: rm -f confinc confmf
                   4018: 
                   4019: # Check whether --enable-dependency-tracking was given.
                   4020: if test "${enable_dependency_tracking+set}" = set; then :
                   4021:   enableval=$enable_dependency_tracking;
                   4022: fi
                   4023: 
                   4024: if test "x$enable_dependency_tracking" != xno; then
                   4025:   am_depcomp="$ac_aux_dir/depcomp"
                   4026:   AMDEPBACKSLASH='\'
1.105     bertrand 4027:   am__nodep='_no'
1.15      bertrand 4028: fi
                   4029:  if test "x$enable_dependency_tracking" != xno; then
                   4030:   AMDEP_TRUE=
                   4031:   AMDEP_FALSE='#'
1.1       bertrand 4032: else
1.15      bertrand 4033:   AMDEP_TRUE='#'
                   4034:   AMDEP_FALSE=
1.14      bertrand 4035: fi
1.1       bertrand 4036: 
1.14      bertrand 4037: 
                   4038: 
1.15      bertrand 4039: depcc="$CC"   am_compiler_list=
1.14      bertrand 4040: 
1.15      bertrand 4041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4042: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.105     bertrand 4043: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
1.15      bertrand 4044:   $as_echo_n "(cached) " >&6
1.14      bertrand 4045: else
1.15      bertrand 4046:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4047:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4048:   # making bogus files that we don't know about and never remove.  For
                   4049:   # instance it was reported that on HP-UX the gcc test will end up
                   4050:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4051:   # in D'.
1.105     bertrand 4052:   rm -rf conftest.dir
1.15      bertrand 4053:   mkdir conftest.dir
                   4054:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4055:   # using a relative directory.
                   4056:   cp "$am_depcomp" conftest.dir
                   4057:   cd conftest.dir
                   4058:   # We will build objects and dependencies in a subdirectory because
                   4059:   # it helps to detect inapplicable dependency modes.  For instance
                   4060:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4061:   # side effect of compilation, but ICC will put the dependencies in
                   4062:   # the current directory while Tru64 will put them in the object
                   4063:   # directory.
                   4064:   mkdir sub
1.14      bertrand 4065: 
1.15      bertrand 4066:   am_cv_CC_dependencies_compiler_type=none
                   4067:   if test "$am_compiler_list" = ""; then
                   4068:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4069:   fi
                   4070:   am__universal=false
                   4071:   case " $depcc " in #(
                   4072:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4073:      esac
1.14      bertrand 4074: 
1.15      bertrand 4075:   for depmode in $am_compiler_list; do
                   4076:     # Setup a source with many dependencies, because some compilers
                   4077:     # like to wrap large dependency lists on column 80 (with \), and
                   4078:     # we should not choose a depcomp mode which is confused by this.
                   4079:     #
                   4080:     # We need to recreate these files for each test, as the compiler may
                   4081:     # overwrite some of them when testing with obscure command lines.
                   4082:     # This happens at least with the AIX C compiler.
                   4083:     : > sub/conftest.c
                   4084:     for i in 1 2 3 4 5 6; do
                   4085:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4086:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4087:       # Solaris 8's {/usr,}/bin/sh.
                   4088:       touch sub/conftst$i.h
                   4089:     done
                   4090:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.14      bertrand 4091: 
1.15      bertrand 4092:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4093:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4094:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4095:     # versions had trouble with output in subdirs
                   4096:     am__obj=sub/conftest.${OBJEXT-o}
                   4097:     am__minus_obj="-o $am__obj"
                   4098:     case $depmode in
                   4099:     gcc)
                   4100:       # This depmode causes a compiler race in universal mode.
                   4101:       test "$am__universal" = false || continue
                   4102:       ;;
                   4103:     nosideeffect)
                   4104:       # after this tag, mechanisms are not by side-effect, so they'll
                   4105:       # only be used when explicitly requested
                   4106:       if test "x$enable_dependency_tracking" = xyes; then
                   4107:    continue
                   4108:       else
                   4109:    break
                   4110:       fi
                   4111:       ;;
1.105     bertrand 4112:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.15      bertrand 4113:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4114:       # not run yet.  These depmodes are late enough in the game, and
                   4115:       # so weak that their functioning should not be impacted.
                   4116:       am__obj=conftest.${OBJEXT-o}
                   4117:       am__minus_obj=
                   4118:       ;;
                   4119:     none) break ;;
                   4120:     esac
                   4121:     if depmode=$depmode \
                   4122:        source=sub/conftest.c object=$am__obj \
                   4123:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4124:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4125:          >/dev/null 2>conftest.err &&
                   4126:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4127:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4128:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4129:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4130:       # icc doesn't choke on unknown options, it will just issue warnings
                   4131:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4132:       # that says an option was ignored or not supported.
                   4133:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4134:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4135:       # The diagnosis changed in icc 8.0:
                   4136:       #   icc: Command line remark: option '-MP' not supported
                   4137:       if (grep 'ignoring option' conftest.err ||
                   4138:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4139:         am_cv_CC_dependencies_compiler_type=$depmode
                   4140:         break
                   4141:       fi
                   4142:     fi
                   4143:   done
1.14      bertrand 4144: 
1.15      bertrand 4145:   cd ..
                   4146:   rm -rf conftest.dir
1.14      bertrand 4147: else
1.15      bertrand 4148:   am_cv_CC_dependencies_compiler_type=none
1.1       bertrand 4149: fi
                   4150: 
1.15      bertrand 4151: fi
                   4152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4153: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4154: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.14      bertrand 4155: 
1.15      bertrand 4156:  if
                   4157:   test "x$enable_dependency_tracking" != xno \
                   4158:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4159:   am__fastdepCC_TRUE=
                   4160:   am__fastdepCC_FALSE='#'
1.1       bertrand 4161: else
1.15      bertrand 4162:   am__fastdepCC_TRUE='#'
                   4163:   am__fastdepCC_FALSE=
                   4164: fi
                   4165: 
1.1       bertrand 4166: 
                   4167: 
1.30      bertrand 4168: EXT_SQL=
                   4169: 
1.15      bertrand 4170: if test x"$CC" != x""; then
                   4171:    GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   4172:            awk -F. '{ printf("%s", $1);}'`
                   4173:    GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   4174:            awk -F. '{ printf("%s", $2);}'`
1.23      bertrand 4175:    if test $GCC_VERSION_MAJEURE -ge 5; then
1.15      bertrand 4176:        OPTIMISATION_C=-O3
                   4177:    else
1.23      bertrand 4178:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
                   4179:                then
1.15      bertrand 4180:            OPTIMISATION_C=-O3
                   4181:        else
1.23      bertrand 4182:            if test $GCC_VERSION_MAJEURE -ge 2; then
                   4183:                OPTIMISATION_C=-O2
                   4184:            else
1.36      bertrand 4185:                as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
1.23      bertrand 4186:            fi
1.15      bertrand 4187:        fi
                   4188:    fi
1.14      bertrand 4189: fi
                   4190: 
1.15      bertrand 4191: if test "x$CC" != xcc; then
                   4192:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
                   4193: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
1.14      bertrand 4194: else
1.15      bertrand 4195:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
                   4196: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
1.1       bertrand 4197: fi
1.15      bertrand 4198: set dummy $CC; ac_cc=`$as_echo "$2" |
                   4199:              sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
1.105     bertrand 4200: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
1.15      bertrand 4201:   $as_echo_n "(cached) " >&6
1.1       bertrand 4202: else
1.15      bertrand 4203:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 4204: /* end confdefs.h.  */
                   4205: 
                   4206: int
                   4207: main ()
                   4208: {
1.15      bertrand 4209: 
1.1       bertrand 4210:   ;
                   4211:   return 0;
                   4212: }
                   4213: _ACEOF
1.15      bertrand 4214: # Make sure it works both with $CC and with simple cc.
                   4215: # We do the test twice because some compilers refuse to overwrite an
                   4216: # existing .o file with -o, though they will create one.
                   4217: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   4218: rm -f conftest2.*
                   4219: if { { case "(($ac_try" in
                   4220:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4221:   *) ac_try_echo=$ac_try;;
                   4222: esac
                   4223: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4224: $as_echo "$ac_try_echo"; } >&5
                   4225:   (eval "$ac_try") 2>&5
                   4226:   ac_status=$?
                   4227:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4228:   test $ac_status = 0; } &&
                   4229:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
                   4230:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4231:   *) ac_try_echo=$ac_try;;
                   4232: esac
                   4233: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4234: $as_echo "$ac_try_echo"; } >&5
                   4235:   (eval "$ac_try") 2>&5
                   4236:   ac_status=$?
                   4237:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4238:   test $ac_status = 0; };
                   4239: then
                   4240:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
                   4241:   if test "x$CC" != xcc; then
                   4242:     # Test first that cc exists at all.
                   4243:     if { ac_try='cc -c conftest.$ac_ext >&5'
                   4244:   { { case "(($ac_try" in
                   4245:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4246:   *) ac_try_echo=$ac_try;;
                   4247: esac
                   4248: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4249: $as_echo "$ac_try_echo"; } >&5
                   4250:   (eval "$ac_try") 2>&5
                   4251:   ac_status=$?
                   4252:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4253:   test $ac_status = 0; }; }; then
                   4254:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   4255:       rm -f conftest2.*
                   4256:       if { { case "(($ac_try" in
                   4257:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4258:   *) ac_try_echo=$ac_try;;
                   4259: esac
                   4260: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4261: $as_echo "$ac_try_echo"; } >&5
                   4262:   (eval "$ac_try") 2>&5
                   4263:   ac_status=$?
                   4264:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4265:   test $ac_status = 0; } &&
                   4266:     test -f conftest2.$ac_objext && { { case "(($ac_try" in
1.14      bertrand 4267:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4268:   *) ac_try_echo=$ac_try;;
                   4269: esac
1.15      bertrand 4270: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4271: $as_echo "$ac_try_echo"; } >&5
                   4272:   (eval "$ac_try") 2>&5
1.14      bertrand 4273:   ac_status=$?
1.15      bertrand 4274:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4275:   test $ac_status = 0; };
                   4276:       then
                   4277:    # cc works too.
                   4278:    :
                   4279:       else
                   4280:    # cc exists but doesn't like -o.
                   4281:    eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   4282:       fi
                   4283:     fi
                   4284:   fi
1.1       bertrand 4285: else
1.15      bertrand 4286:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   4287: fi
                   4288: rm -f core conftest*
1.14      bertrand 4289: 
1.1       bertrand 4290: fi
1.15      bertrand 4291: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
                   4292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4293: $as_echo "yes" >&6; }
                   4294: else
                   4295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4296: $as_echo "no" >&6; }
                   4297: 
                   4298: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
1.1       bertrand 4299: 
                   4300: fi
1.15      bertrand 4301: 
                   4302: # FIXME: we rely on the cache variable name because
                   4303: # there is no other way.
                   4304: set dummy $CC
                   4305: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
                   4306: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
                   4307: if test "$am_t" != yes; then
                   4308:    # Losing compiler, so override with the script.
                   4309:    # FIXME: It is wrong to rewrite CC.
                   4310:    # But if we don't then we get into trouble of one sort or another.
                   4311:    # A longer-term fix would be to have automake use am__CC in this case,
                   4312:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4313:    CC="$am_aux_dir/compile $CC"
1.1       bertrand 4314: fi
1.14      bertrand 4315: 
                   4316: 
1.15      bertrand 4317: 
                   4318: if test "$GCC" != yes; then
1.36      bertrand 4319:    as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
1.15      bertrand 4320: fi
                   4321: 
                   4322: ac_ext=cpp
                   4323: ac_cpp='$CXXCPP $CPPFLAGS'
                   4324: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4325: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4326: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   4327: if test -z "$CXX"; then
                   4328:   if test -n "$CCC"; then
                   4329:     CXX=$CCC
                   4330:   else
                   4331:     if test -n "$ac_tool_prefix"; then
1.23      bertrand 4332:   for ac_prog in g++
1.15      bertrand 4333:   do
                   4334:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4335: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4337: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 4338: if ${ac_cv_prog_CXX+:} false; then :
1.15      bertrand 4339:   $as_echo_n "(cached) " >&6
1.1       bertrand 4340: else
1.15      bertrand 4341:   if test -n "$CXX"; then
                   4342:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.14      bertrand 4343: else
1.15      bertrand 4344: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4345: for as_dir in $PATH
                   4346: do
                   4347:   IFS=$as_save_IFS
                   4348:   test -z "$as_dir" && as_dir=.
                   4349:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4350:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4351:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   4352:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4353:     break 2
                   4354:   fi
                   4355: done
                   4356:   done
                   4357: IFS=$as_save_IFS
1.14      bertrand 4358: 
                   4359: fi
                   4360: fi
1.15      bertrand 4361: CXX=$ac_cv_prog_CXX
                   4362: if test -n "$CXX"; then
                   4363:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   4364: $as_echo "$CXX" >&6; }
1.14      bertrand 4365: else
1.15      bertrand 4366:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4367: $as_echo "no" >&6; }
1.14      bertrand 4368: fi
                   4369: 
                   4370: 
1.15      bertrand 4371:     test -n "$CXX" && break
                   4372:   done
                   4373: fi
                   4374: if test -z "$CXX"; then
                   4375:   ac_ct_CXX=$CXX
1.23      bertrand 4376:   for ac_prog in g++
1.15      bertrand 4377: do
                   4378:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4379: set dummy $ac_prog; ac_word=$2
                   4380: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4381: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 4382: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
1.15      bertrand 4383:   $as_echo_n "(cached) " >&6
                   4384: else
                   4385:   if test -n "$ac_ct_CXX"; then
                   4386:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   4387: else
                   4388: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4389: for as_dir in $PATH
                   4390: do
                   4391:   IFS=$as_save_IFS
                   4392:   test -z "$as_dir" && as_dir=.
                   4393:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4394:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4395:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   4396:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4397:     break 2
                   4398:   fi
                   4399: done
                   4400:   done
                   4401: IFS=$as_save_IFS
1.14      bertrand 4402: 
1.15      bertrand 4403: fi
                   4404: fi
                   4405: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   4406: if test -n "$ac_ct_CXX"; then
                   4407:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   4408: $as_echo "$ac_ct_CXX" >&6; }
1.1       bertrand 4409: else
1.15      bertrand 4410:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4411: $as_echo "no" >&6; }
1.14      bertrand 4412: fi
                   4413: 
                   4414: 
1.15      bertrand 4415:   test -n "$ac_ct_CXX" && break
                   4416: done
1.14      bertrand 4417: 
1.15      bertrand 4418:   if test "x$ac_ct_CXX" = x; then
                   4419:     CXX="g++"
                   4420:   else
                   4421:     case $cross_compiling:$ac_tool_warned in
                   4422: yes:)
                   4423: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4424: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4425: ac_tool_warned=yes ;;
                   4426: esac
                   4427:     CXX=$ac_ct_CXX
                   4428:   fi
                   4429: fi
1.1       bertrand 4430: 
1.15      bertrand 4431:   fi
                   4432: fi
                   4433: # Provide some information about the compiler.
                   4434: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   4435: set X $ac_compile
                   4436: ac_compiler=$2
                   4437: for ac_option in --version -v -V -qversion; do
                   4438:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 4439: case "(($ac_try" in
                   4440:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4441:   *) ac_try_echo=$ac_try;;
                   4442: esac
1.15      bertrand 4443: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4444: $as_echo "$ac_try_echo"; } >&5
                   4445:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 4446:   ac_status=$?
1.15      bertrand 4447:   if test -s conftest.err; then
                   4448:     sed '10a\
                   4449: ... rest of stderr output deleted ...
                   4450:          10q' conftest.err >conftest.er1
                   4451:     cat conftest.er1 >&5
                   4452:   fi
                   4453:   rm -f conftest.er1 conftest.err
                   4454:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4455:   test $ac_status = 0; }
                   4456: done
                   4457: 
                   4458: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   4459: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
1.105     bertrand 4460: if ${ac_cv_cxx_compiler_gnu+:} false; then :
1.15      bertrand 4461:   $as_echo_n "(cached) " >&6
1.14      bertrand 4462: else
1.15      bertrand 4463:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4464: /* end confdefs.h.  */
1.1       bertrand 4465: 
                   4466: int
                   4467: main ()
                   4468: {
1.15      bertrand 4469: #ifndef __GNUC__
                   4470:        choke me
                   4471: #endif
1.1       bertrand 4472: 
                   4473:   ;
                   4474:   return 0;
                   4475: }
                   4476: _ACEOF
1.15      bertrand 4477: if ac_fn_cxx_try_compile "$LINENO"; then :
                   4478:   ac_compiler_gnu=yes
1.1       bertrand 4479: else
1.15      bertrand 4480:   ac_compiler_gnu=no
1.1       bertrand 4481: fi
1.14      bertrand 4482: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 4483: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 4484: 
1.15      bertrand 4485: fi
                   4486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   4487: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   4488: if test $ac_compiler_gnu = yes; then
                   4489:   GXX=yes
                   4490: else
                   4491:   GXX=
                   4492: fi
                   4493: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   4494: ac_save_CXXFLAGS=$CXXFLAGS
                   4495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   4496: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
1.105     bertrand 4497: if ${ac_cv_prog_cxx_g+:} false; then :
1.15      bertrand 4498:   $as_echo_n "(cached) " >&6
                   4499: else
                   4500:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   4501:    ac_cxx_werror_flag=yes
                   4502:    ac_cv_prog_cxx_g=no
                   4503:    CXXFLAGS="-g"
                   4504:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 4505: /* end confdefs.h.  */
1.15      bertrand 4506: 
1.1       bertrand 4507: int
                   4508: main ()
                   4509: {
1.14      bertrand 4510: 
1.1       bertrand 4511:   ;
                   4512:   return 0;
                   4513: }
                   4514: _ACEOF
1.15      bertrand 4515: if ac_fn_cxx_try_compile "$LINENO"; then :
                   4516:   ac_cv_prog_cxx_g=yes
1.14      bertrand 4517: else
1.15      bertrand 4518:   CXXFLAGS=""
                   4519:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4520: /* end confdefs.h.  */
1.1       bertrand 4521: 
1.14      bertrand 4522: int
                   4523: main ()
                   4524: {
1.1       bertrand 4525: 
1.14      bertrand 4526:   ;
                   4527:   return 0;
                   4528: }
                   4529: _ACEOF
1.15      bertrand 4530: if ac_fn_cxx_try_compile "$LINENO"; then :
1.1       bertrand 4531: 
                   4532: else
1.15      bertrand 4533:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   4534:     CXXFLAGS="-g"
                   4535:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4536: /* end confdefs.h.  */
1.1       bertrand 4537: 
1.14      bertrand 4538: int
                   4539: main ()
                   4540: {
1.1       bertrand 4541: 
1.14      bertrand 4542:   ;
                   4543:   return 0;
                   4544: }
                   4545: _ACEOF
1.15      bertrand 4546: if ac_fn_cxx_try_compile "$LINENO"; then :
                   4547:   ac_cv_prog_cxx_g=yes
                   4548: fi
                   4549: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4550: fi
                   4551: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4552: fi
                   4553: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4554:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   4555: fi
                   4556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   4557: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   4558: if test "$ac_test_CXXFLAGS" = set; then
                   4559:   CXXFLAGS=$ac_save_CXXFLAGS
                   4560: elif test $ac_cv_prog_cxx_g = yes; then
                   4561:   if test "$GXX" = yes; then
                   4562:     CXXFLAGS="-g -O2"
                   4563:   else
                   4564:     CXXFLAGS="-g"
                   4565:   fi
                   4566: else
                   4567:   if test "$GXX" = yes; then
                   4568:     CXXFLAGS="-O2"
                   4569:   else
                   4570:     CXXFLAGS=
                   4571:   fi
                   4572: fi
                   4573: ac_ext=c
                   4574: ac_cpp='$CPP $CPPFLAGS'
                   4575: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4576: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4577: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4578: 
                   4579: depcc="$CXX"  am_compiler_list=
                   4580: 
                   4581: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4582: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.105     bertrand 4583: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
1.15      bertrand 4584:   $as_echo_n "(cached) " >&6
                   4585: else
                   4586:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4587:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4588:   # making bogus files that we don't know about and never remove.  For
                   4589:   # instance it was reported that on HP-UX the gcc test will end up
                   4590:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4591:   # in D'.
1.105     bertrand 4592:   rm -rf conftest.dir
1.15      bertrand 4593:   mkdir conftest.dir
                   4594:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4595:   # using a relative directory.
                   4596:   cp "$am_depcomp" conftest.dir
                   4597:   cd conftest.dir
                   4598:   # We will build objects and dependencies in a subdirectory because
                   4599:   # it helps to detect inapplicable dependency modes.  For instance
                   4600:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4601:   # side effect of compilation, but ICC will put the dependencies in
                   4602:   # the current directory while Tru64 will put them in the object
                   4603:   # directory.
                   4604:   mkdir sub
                   4605: 
                   4606:   am_cv_CXX_dependencies_compiler_type=none
                   4607:   if test "$am_compiler_list" = ""; then
                   4608:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4609:   fi
                   4610:   am__universal=false
                   4611:   case " $depcc " in #(
                   4612:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4613:      esac
                   4614: 
                   4615:   for depmode in $am_compiler_list; do
                   4616:     # Setup a source with many dependencies, because some compilers
                   4617:     # like to wrap large dependency lists on column 80 (with \), and
                   4618:     # we should not choose a depcomp mode which is confused by this.
                   4619:     #
                   4620:     # We need to recreate these files for each test, as the compiler may
                   4621:     # overwrite some of them when testing with obscure command lines.
                   4622:     # This happens at least with the AIX C compiler.
                   4623:     : > sub/conftest.c
                   4624:     for i in 1 2 3 4 5 6; do
                   4625:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4626:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4627:       # Solaris 8's {/usr,}/bin/sh.
                   4628:       touch sub/conftst$i.h
                   4629:     done
                   4630:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4631: 
                   4632:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4633:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4634:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4635:     # versions had trouble with output in subdirs
                   4636:     am__obj=sub/conftest.${OBJEXT-o}
                   4637:     am__minus_obj="-o $am__obj"
                   4638:     case $depmode in
                   4639:     gcc)
                   4640:       # This depmode causes a compiler race in universal mode.
                   4641:       test "$am__universal" = false || continue
                   4642:       ;;
                   4643:     nosideeffect)
                   4644:       # after this tag, mechanisms are not by side-effect, so they'll
                   4645:       # only be used when explicitly requested
                   4646:       if test "x$enable_dependency_tracking" = xyes; then
                   4647:    continue
                   4648:       else
                   4649:    break
                   4650:       fi
                   4651:       ;;
1.105     bertrand 4652:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.15      bertrand 4653:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4654:       # not run yet.  These depmodes are late enough in the game, and
                   4655:       # so weak that their functioning should not be impacted.
                   4656:       am__obj=conftest.${OBJEXT-o}
                   4657:       am__minus_obj=
                   4658:       ;;
                   4659:     none) break ;;
                   4660:     esac
                   4661:     if depmode=$depmode \
                   4662:        source=sub/conftest.c object=$am__obj \
                   4663:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4664:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4665:          >/dev/null 2>conftest.err &&
                   4666:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4667:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4668:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4669:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4670:       # icc doesn't choke on unknown options, it will just issue warnings
                   4671:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4672:       # that says an option was ignored or not supported.
                   4673:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4674:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4675:       # The diagnosis changed in icc 8.0:
                   4676:       #   icc: Command line remark: option '-MP' not supported
                   4677:       if (grep 'ignoring option' conftest.err ||
                   4678:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4679:         am_cv_CXX_dependencies_compiler_type=$depmode
                   4680:         break
                   4681:       fi
                   4682:     fi
                   4683:   done
                   4684: 
                   4685:   cd ..
                   4686:   rm -rf conftest.dir
                   4687: else
                   4688:   am_cv_CXX_dependencies_compiler_type=none
                   4689: fi
                   4690: 
                   4691: fi
                   4692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   4693: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
                   4694: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   4695: 
                   4696:  if
                   4697:   test "x$enable_dependency_tracking" != xno \
                   4698:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4699:   am__fastdepCXX_TRUE=
                   4700:   am__fastdepCXX_FALSE='#'
                   4701: else
                   4702:   am__fastdepCXX_TRUE='#'
                   4703:   am__fastdepCXX_FALSE=
                   4704: fi
                   4705: 
                   4706: 
                   4707: 
1.87      bertrand 4708: if test "$GXX" != yes; then
1.36      bertrand 4709:    as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
1.15      bertrand 4710: fi
                   4711: 
1.69      bertrand 4712: if test x"$CXX" != x""; then
                   4713:    GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   4714:            awk -F. '{ printf("%s", $1);}'`
                   4715:    GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   4716:            awk -F. '{ printf("%s", $2);}'`
                   4717:    if test $GCC_VERSION_MAJEURE -ge 5; then
                   4718:        OPTIMISATION_GXX=-O3
                   4719:    else
                   4720:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
                   4721:            OPTIMISATION_GXX=-O3
                   4722:        else
                   4723:            if test $GCC_VERSION_MAJEURE -ge 3; then
                   4724:                OPTIMISATION_GXX=-O2
                   4725:            else
                   4726:                as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5
                   4727:            fi
                   4728:        fi
                   4729:    fi
                   4730: fi
                   4731: 
1.15      bertrand 4732: ac_ext=f
                   4733: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
                   4734: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4735: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
                   4736: if test -n "$ac_tool_prefix"; then
1.23      bertrand 4737:   for ac_prog in gfortran
1.15      bertrand 4738:   do
                   4739:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4740: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4742: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 4743: if ${ac_cv_prog_F77+:} false; then :
1.15      bertrand 4744:   $as_echo_n "(cached) " >&6
                   4745: else
                   4746:   if test -n "$F77"; then
                   4747:   ac_cv_prog_F77="$F77" # Let the user override the test.
                   4748: else
                   4749: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4750: for as_dir in $PATH
                   4751: do
                   4752:   IFS=$as_save_IFS
                   4753:   test -z "$as_dir" && as_dir=.
                   4754:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4755:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4756:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
                   4757:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4758:     break 2
                   4759:   fi
                   4760: done
                   4761:   done
                   4762: IFS=$as_save_IFS
                   4763: 
                   4764: fi
                   4765: fi
                   4766: F77=$ac_cv_prog_F77
                   4767: if test -n "$F77"; then
                   4768:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
                   4769: $as_echo "$F77" >&6; }
                   4770: else
                   4771:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4772: $as_echo "no" >&6; }
                   4773: fi
                   4774: 
                   4775: 
                   4776:     test -n "$F77" && break
                   4777:   done
                   4778: fi
                   4779: if test -z "$F77"; then
                   4780:   ac_ct_F77=$F77
1.23      bertrand 4781:   for ac_prog in gfortran
1.15      bertrand 4782: do
                   4783:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4784: set dummy $ac_prog; ac_word=$2
                   4785: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4786: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 4787: if ${ac_cv_prog_ac_ct_F77+:} false; then :
1.15      bertrand 4788:   $as_echo_n "(cached) " >&6
                   4789: else
                   4790:   if test -n "$ac_ct_F77"; then
                   4791:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
                   4792: else
                   4793: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4794: for as_dir in $PATH
                   4795: do
                   4796:   IFS=$as_save_IFS
                   4797:   test -z "$as_dir" && as_dir=.
                   4798:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4799:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4800:     ac_cv_prog_ac_ct_F77="$ac_prog"
                   4801:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4802:     break 2
                   4803:   fi
                   4804: done
                   4805:   done
                   4806: IFS=$as_save_IFS
                   4807: 
                   4808: fi
                   4809: fi
                   4810: ac_ct_F77=$ac_cv_prog_ac_ct_F77
                   4811: if test -n "$ac_ct_F77"; then
                   4812:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
                   4813: $as_echo "$ac_ct_F77" >&6; }
1.1       bertrand 4814: else
1.15      bertrand 4815:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4816: $as_echo "no" >&6; }
                   4817: fi
                   4818: 
                   4819: 
                   4820:   test -n "$ac_ct_F77" && break
                   4821: done
1.1       bertrand 4822: 
1.15      bertrand 4823:   if test "x$ac_ct_F77" = x; then
                   4824:     F77=""
                   4825:   else
                   4826:     case $cross_compiling:$ac_tool_warned in
                   4827: yes:)
                   4828: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4829: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4830: ac_tool_warned=yes ;;
                   4831: esac
                   4832:     F77=$ac_ct_F77
                   4833:   fi
1.14      bertrand 4834: fi
1.1       bertrand 4835: 
                   4836: 
1.15      bertrand 4837: # Provide some information about the compiler.
                   4838: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
                   4839: set X $ac_compile
                   4840: ac_compiler=$2
                   4841: for ac_option in --version -v -V -qversion; do
                   4842:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 4843: case "(($ac_try" in
                   4844:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4845:   *) ac_try_echo=$ac_try;;
                   4846: esac
1.15      bertrand 4847: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4848: $as_echo "$ac_try_echo"; } >&5
                   4849:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 4850:   ac_status=$?
1.15      bertrand 4851:   if test -s conftest.err; then
                   4852:     sed '10a\
                   4853: ... rest of stderr output deleted ...
                   4854:          10q' conftest.err >conftest.er1
                   4855:     cat conftest.er1 >&5
                   4856:   fi
                   4857:   rm -f conftest.er1 conftest.err
                   4858:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4859:   test $ac_status = 0; }
                   4860: done
                   4861: rm -f a.out
                   4862: 
                   4863: # If we don't use `.F' as extension, the preprocessor is not run on the
                   4864: # input file.  (Note that this only needs to work for GNU compilers.)
                   4865: ac_save_ext=$ac_ext
                   4866: ac_ext=F
                   4867: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
                   4868: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
1.105     bertrand 4869: if ${ac_cv_f77_compiler_gnu+:} false; then :
1.15      bertrand 4870:   $as_echo_n "(cached) " >&6
1.1       bertrand 4871: else
1.15      bertrand 4872:   cat > conftest.$ac_ext <<_ACEOF
                   4873:       program main
                   4874: #ifndef __GNUC__
                   4875:        choke me
                   4876: #endif
1.14      bertrand 4877: 
1.15      bertrand 4878:       end
                   4879: _ACEOF
                   4880: if ac_fn_f77_try_compile "$LINENO"; then :
                   4881:   ac_compiler_gnu=yes
                   4882: else
                   4883:   ac_compiler_gnu=no
1.1       bertrand 4884: fi
1.15      bertrand 4885: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4886: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 4887: 
                   4888: fi
1.15      bertrand 4889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
                   4890: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
                   4891: ac_ext=$ac_save_ext
                   4892: ac_test_FFLAGS=${FFLAGS+set}
                   4893: ac_save_FFLAGS=$FFLAGS
                   4894: FFLAGS=
                   4895: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
                   4896: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
1.105     bertrand 4897: if ${ac_cv_prog_f77_g+:} false; then :
1.15      bertrand 4898:   $as_echo_n "(cached) " >&6
                   4899: else
                   4900:   FFLAGS=-g
                   4901: cat > conftest.$ac_ext <<_ACEOF
                   4902:       program main
1.1       bertrand 4903: 
1.15      bertrand 4904:       end
1.14      bertrand 4905: _ACEOF
1.15      bertrand 4906: if ac_fn_f77_try_compile "$LINENO"; then :
                   4907:   ac_cv_prog_f77_g=yes
1.1       bertrand 4908: else
1.15      bertrand 4909:   ac_cv_prog_f77_g=no
1.1       bertrand 4910: fi
1.15      bertrand 4911: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 4912: 
                   4913: fi
1.15      bertrand 4914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
                   4915: $as_echo "$ac_cv_prog_f77_g" >&6; }
                   4916: if test "$ac_test_FFLAGS" = set; then
                   4917:   FFLAGS=$ac_save_FFLAGS
                   4918: elif test $ac_cv_prog_f77_g = yes; then
                   4919:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
                   4920:     FFLAGS="-g -O2"
                   4921:   else
                   4922:     FFLAGS="-g"
                   4923:   fi
                   4924: else
                   4925:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
                   4926:     FFLAGS="-O2"
                   4927:   else
                   4928:     FFLAGS=
                   4929:   fi
1.1       bertrand 4930: fi
                   4931: 
1.15      bertrand 4932: if test $ac_compiler_gnu = yes; then
                   4933:   G77=yes
1.1       bertrand 4934: else
1.15      bertrand 4935:   G77=
1.1       bertrand 4936: fi
1.15      bertrand 4937: ac_ext=c
                   4938: ac_cpp='$CPP $CPPFLAGS'
                   4939: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4940: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4941: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       bertrand 4942: 
                   4943: 
1.15      bertrand 4944: ac_ext=${ac_fc_srcext-f}
                   4945: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
                   4946: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
                   4947: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
                   4948: if test -n "$ac_tool_prefix"; then
1.23      bertrand 4949:   for ac_prog in gfortran
1.15      bertrand 4950:   do
                   4951:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4952: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4954: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 4955: if ${ac_cv_prog_FC+:} false; then :
1.15      bertrand 4956:   $as_echo_n "(cached) " >&6
                   4957: else
                   4958:   if test -n "$FC"; then
                   4959:   ac_cv_prog_FC="$FC" # Let the user override the test.
1.1       bertrand 4960: else
1.15      bertrand 4961: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4962: for as_dir in $PATH
                   4963: do
                   4964:   IFS=$as_save_IFS
                   4965:   test -z "$as_dir" && as_dir=.
                   4966:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4967:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4968:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
                   4969:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4970:     break 2
                   4971:   fi
                   4972: done
                   4973:   done
                   4974: IFS=$as_save_IFS
1.1       bertrand 4975: 
                   4976: fi
1.15      bertrand 4977: fi
                   4978: FC=$ac_cv_prog_FC
                   4979: if test -n "$FC"; then
                   4980:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
                   4981: $as_echo "$FC" >&6; }
1.14      bertrand 4982: else
1.15      bertrand 4983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4984: $as_echo "no" >&6; }
1.14      bertrand 4985: fi
                   4986: 
1.1       bertrand 4987: 
1.15      bertrand 4988:     test -n "$FC" && break
                   4989:   done
                   4990: fi
                   4991: if test -z "$FC"; then
                   4992:   ac_ct_FC=$FC
1.23      bertrand 4993:   for ac_prog in gfortran
1.15      bertrand 4994: do
                   4995:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4996: set dummy $ac_prog; ac_word=$2
                   4997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4998: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 4999: if ${ac_cv_prog_ac_ct_FC+:} false; then :
1.15      bertrand 5000:   $as_echo_n "(cached) " >&6
                   5001: else
                   5002:   if test -n "$ac_ct_FC"; then
                   5003:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
                   5004: else
                   5005: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5006: for as_dir in $PATH
                   5007: do
                   5008:   IFS=$as_save_IFS
                   5009:   test -z "$as_dir" && as_dir=.
                   5010:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5011:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5012:     ac_cv_prog_ac_ct_FC="$ac_prog"
                   5013:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5014:     break 2
                   5015:   fi
                   5016: done
                   5017:   done
                   5018: IFS=$as_save_IFS
1.1       bertrand 5019: 
1.15      bertrand 5020: fi
                   5021: fi
                   5022: ac_ct_FC=$ac_cv_prog_ac_ct_FC
                   5023: if test -n "$ac_ct_FC"; then
                   5024:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
                   5025: $as_echo "$ac_ct_FC" >&6; }
1.1       bertrand 5026: else
1.15      bertrand 5027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5028: $as_echo "no" >&6; }
1.1       bertrand 5029: fi
1.14      bertrand 5030: 
1.1       bertrand 5031: 
1.15      bertrand 5032:   test -n "$ac_ct_FC" && break
                   5033: done
1.1       bertrand 5034: 
1.15      bertrand 5035:   if test "x$ac_ct_FC" = x; then
                   5036:     FC=""
                   5037:   else
                   5038:     case $cross_compiling:$ac_tool_warned in
                   5039: yes:)
                   5040: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5041: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5042: ac_tool_warned=yes ;;
1.14      bertrand 5043: esac
1.15      bertrand 5044:     FC=$ac_ct_FC
                   5045:   fi
1.14      bertrand 5046: fi
                   5047: 
                   5048: 
1.15      bertrand 5049: # Provide some information about the compiler.
                   5050: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
                   5051: set X $ac_compile
                   5052: ac_compiler=$2
                   5053: for ac_option in --version -v -V -qversion; do
                   5054:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 5055: case "(($ac_try" in
                   5056:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5057:   *) ac_try_echo=$ac_try;;
                   5058: esac
1.15      bertrand 5059: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   5060: $as_echo "$ac_try_echo"; } >&5
                   5061:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 5062:   ac_status=$?
1.15      bertrand 5063:   if test -s conftest.err; then
                   5064:     sed '10a\
                   5065: ... rest of stderr output deleted ...
                   5066:          10q' conftest.err >conftest.er1
                   5067:     cat conftest.er1 >&5
                   5068:   fi
                   5069:   rm -f conftest.er1 conftest.err
                   5070:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5071:   test $ac_status = 0; }
                   5072: done
                   5073: rm -f a.out
                   5074: 
                   5075: # If we don't use `.F' as extension, the preprocessor is not run on the
                   5076: # input file.  (Note that this only needs to work for GNU compilers.)
                   5077: ac_save_ext=$ac_ext
                   5078: ac_ext=F
                   5079: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
                   5080: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
1.105     bertrand 5081: if ${ac_cv_fc_compiler_gnu+:} false; then :
1.15      bertrand 5082:   $as_echo_n "(cached) " >&6
1.14      bertrand 5083: else
1.15      bertrand 5084:   cat > conftest.$ac_ext <<_ACEOF
                   5085:       program main
                   5086: #ifndef __GNUC__
                   5087:        choke me
                   5088: #endif
1.14      bertrand 5089: 
1.15      bertrand 5090:       end
                   5091: _ACEOF
                   5092: if ac_fn_fc_try_compile "$LINENO"; then :
                   5093:   ac_compiler_gnu=yes
                   5094: else
                   5095:   ac_compiler_gnu=no
1.14      bertrand 5096: fi
                   5097: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 5098: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 5099: 
1.15      bertrand 5100: fi
                   5101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
                   5102: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
                   5103: ac_ext=$ac_save_ext
                   5104: ac_test_FCFLAGS=${FCFLAGS+set}
                   5105: ac_save_FCFLAGS=$FCFLAGS
                   5106: FCFLAGS=
                   5107: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
                   5108: $as_echo_n "checking whether $FC accepts -g... " >&6; }
1.105     bertrand 5109: if ${ac_cv_prog_fc_g+:} false; then :
1.15      bertrand 5110:   $as_echo_n "(cached) " >&6
                   5111: else
                   5112:   FCFLAGS=-g
                   5113: cat > conftest.$ac_ext <<_ACEOF
                   5114:       program main
1.1       bertrand 5115: 
1.15      bertrand 5116:       end
1.1       bertrand 5117: _ACEOF
1.15      bertrand 5118: if ac_fn_fc_try_compile "$LINENO"; then :
                   5119:   ac_cv_prog_fc_g=yes
1.1       bertrand 5120: else
1.15      bertrand 5121:   ac_cv_prog_fc_g=no
1.1       bertrand 5122: fi
1.14      bertrand 5123: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 5124: 
1.15      bertrand 5125: fi
                   5126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
                   5127: $as_echo "$ac_cv_prog_fc_g" >&6; }
                   5128: if test "$ac_test_FCFLAGS" = set; then
                   5129:   FCFLAGS=$ac_save_FCFLAGS
                   5130: elif test $ac_cv_prog_fc_g = yes; then
                   5131:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
                   5132:     FCFLAGS="-g -O2"
                   5133:   else
                   5134:     FCFLAGS="-g"
                   5135:   fi
1.1       bertrand 5136: else
1.15      bertrand 5137:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
                   5138:     FCFLAGS="-O2"
                   5139:   else
                   5140:     FCFLAGS=
                   5141:   fi
1.1       bertrand 5142: fi
                   5143: 
1.15      bertrand 5144: ac_ext=c
                   5145: ac_cpp='$CPP $CPPFLAGS'
                   5146: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5147: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5148: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       bertrand 5149: 
                   5150: 
1.88      bertrand 5151: if test x"$F77" == x; then
                   5152:    as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
                   5153: fi
                   5154: 
                   5155: if test x"$FC" == x; then
1.36      bertrand 5156:    as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
1.1       bertrand 5157: fi
                   5158: 
1.15      bertrand 5159: if test x"$FC" != x""; then
                   5160:    GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   5161:            awk -F. '{ printf("%s", $1);}'`
                   5162:    GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
                   5163:            awk -F. '{ printf("%s", $2);}'`
1.23      bertrand 5164:    if test $GCC_VERSION_MAJEURE -ge 5; then
1.15      bertrand 5165:        OPTIMISATION_F=-O3
                   5166:    else
1.23      bertrand 5167:        if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
1.15      bertrand 5168:            OPTIMISATION_F=-O3
                   5169:        else
1.23      bertrand 5170:            if test $GCC_VERSION_MAJEURE -ge 3; then
                   5171:                OPTIMISATION_F=-O2
                   5172:            else
1.36      bertrand 5173:                as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
1.23      bertrand 5174:            fi
1.14      bertrand 5175:        fi
                   5176:    fi
                   5177: fi
1.1       bertrand 5178: 
                   5179: 
1.15      bertrand 5180: ac_ext=c
                   5181: ac_cpp='$CPP $CPPFLAGS'
                   5182: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5183: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5184: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   5186: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   5187: # On Suns, sometimes $CPP names a directory.
                   5188: if test -n "$CPP" && test -d "$CPP"; then
                   5189:   CPP=
                   5190: fi
                   5191: if test -z "$CPP"; then
1.105     bertrand 5192:   if ${ac_cv_prog_CPP+:} false; then :
1.15      bertrand 5193:   $as_echo_n "(cached) " >&6
                   5194: else
                   5195:       # Double quotes because CPP needs to be expanded
                   5196:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   5197:     do
                   5198:       ac_preproc_ok=false
                   5199: for ac_c_preproc_warn_flag in '' yes
                   5200: do
                   5201:   # Use a header file that comes with gcc, so configuring glibc
                   5202:   # with a fresh cross-compiler works.
                   5203:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5204:   # <limits.h> exists even on freestanding compilers.
                   5205:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5206:   # not just through cpp. "Syntax error" is here to catch this case.
                   5207:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5208: /* end confdefs.h.  */
1.15      bertrand 5209: #ifdef __STDC__
                   5210: # include <limits.h>
                   5211: #else
                   5212: # include <assert.h>
                   5213: #endif
                   5214:             Syntax error
1.1       bertrand 5215: _ACEOF
1.15      bertrand 5216: if ac_fn_c_try_cpp "$LINENO"; then :
                   5217: 
1.1       bertrand 5218: else
1.15      bertrand 5219:   # Broken: fails on valid input.
                   5220: continue
1.1       bertrand 5221: fi
1.36      bertrand 5222: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       bertrand 5223: 
1.15      bertrand 5224:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5225:   # can be detected and how.
                   5226:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5227: /* end confdefs.h.  */
                   5228: #include <ac_nonexistent.h>
                   5229: _ACEOF
                   5230: if ac_fn_c_try_cpp "$LINENO"; then :
                   5231:   # Broken: success on invalid input.
                   5232: continue
                   5233: else
                   5234:   # Passes both tests.
                   5235: ac_preproc_ok=:
                   5236: break
1.1       bertrand 5237: fi
1.36      bertrand 5238: rm -f conftest.err conftest.i conftest.$ac_ext
1.14      bertrand 5239: 
1.15      bertrand 5240: done
                   5241: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.36      bertrand 5242: rm -f conftest.i conftest.err conftest.$ac_ext
1.15      bertrand 5243: if $ac_preproc_ok; then :
                   5244:   break
1.1       bertrand 5245: fi
                   5246: 
1.15      bertrand 5247:     done
                   5248:     ac_cv_prog_CPP=$CPP
1.14      bertrand 5249: 
1.15      bertrand 5250: fi
                   5251:   CPP=$ac_cv_prog_CPP
1.1       bertrand 5252: else
1.15      bertrand 5253:   ac_cv_prog_CPP=$CPP
                   5254: fi
                   5255: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   5256: $as_echo "$CPP" >&6; }
                   5257: ac_preproc_ok=false
                   5258: for ac_c_preproc_warn_flag in '' yes
1.14      bertrand 5259: do
1.15      bertrand 5260:   # Use a header file that comes with gcc, so configuring glibc
                   5261:   # with a fresh cross-compiler works.
                   5262:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5263:   # <limits.h> exists even on freestanding compilers.
                   5264:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5265:   # not just through cpp. "Syntax error" is here to catch this case.
                   5266:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5267: /* end confdefs.h.  */
                   5268: #ifdef __STDC__
                   5269: # include <limits.h>
                   5270: #else
                   5271: # include <assert.h>
                   5272: #endif
                   5273:             Syntax error
                   5274: _ACEOF
                   5275: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       bertrand 5276: 
1.15      bertrand 5277: else
                   5278:   # Broken: fails on valid input.
                   5279: continue
                   5280: fi
1.36      bertrand 5281: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       bertrand 5282: 
1.15      bertrand 5283:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5284:   # can be detected and how.
                   5285:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5286: /* end confdefs.h.  */
                   5287: #include <ac_nonexistent.h>
                   5288: _ACEOF
                   5289: if ac_fn_c_try_cpp "$LINENO"; then :
                   5290:   # Broken: success on invalid input.
                   5291: continue
                   5292: else
                   5293:   # Passes both tests.
                   5294: ac_preproc_ok=:
                   5295: break
                   5296: fi
1.36      bertrand 5297: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       bertrand 5298: 
                   5299: done
1.15      bertrand 5300: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.36      bertrand 5301: rm -f conftest.i conftest.err conftest.$ac_ext
1.15      bertrand 5302: if $ac_preproc_ok; then :
1.1       bertrand 5303: 
1.15      bertrand 5304: else
                   5305:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5306: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 5307: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
1.105     bertrand 5308: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 5309: fi
1.14      bertrand 5310: 
1.15      bertrand 5311: ac_ext=c
                   5312: ac_cpp='$CPP $CPPFLAGS'
                   5313: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5314: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5315: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.14      bertrand 5316: 
                   5317: 
1.15      bertrand 5318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
                   5319: $as_echo_n "checking for X... " >&6; }
1.1       bertrand 5320: 
                   5321: 
1.15      bertrand 5322: # Check whether --with-x was given.
                   5323: if test "${with_x+set}" = set; then :
                   5324:   withval=$with_x;
1.1       bertrand 5325: fi
1.14      bertrand 5326: 
1.15      bertrand 5327: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   5328: if test "x$with_x" = xno; then
                   5329:   # The user explicitly disabled X.
                   5330:   have_x=disabled
1.1       bertrand 5331: else
1.15      bertrand 5332:   case $x_includes,$x_libraries in #(
1.105     bertrand 5333:     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
                   5334:     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
1.15      bertrand 5335:   $as_echo_n "(cached) " >&6
1.1       bertrand 5336: else
1.15      bertrand 5337:   # One or both of the vars are not set, and there is no cached value.
                   5338: ac_x_includes=no ac_x_libraries=no
                   5339: rm -f -r conftest.dir
                   5340: if mkdir conftest.dir; then
                   5341:   cd conftest.dir
                   5342:   cat >Imakefile <<'_ACEOF'
                   5343: incroot:
                   5344:    @echo incroot='${INCROOT}'
                   5345: usrlibdir:
                   5346:    @echo usrlibdir='${USRLIBDIR}'
                   5347: libdir:
                   5348:    @echo libdir='${LIBDIR}'
                   5349: _ACEOF
                   5350:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
1.36      bertrand 5351:     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.15      bertrand 5352:     for ac_var in incroot usrlibdir libdir; do
                   5353:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
                   5354:     done
                   5355:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   5356:     for ac_extension in a so sl dylib la dll; do
                   5357:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
                   5358:     test -f "$ac_im_libdir/libX11.$ac_extension"; then
                   5359:    ac_im_usrlibdir=$ac_im_libdir; break
                   5360:       fi
                   5361:     done
                   5362:     # Screen out bogus values from the imake configuration.  They are
                   5363:     # bogus both because they are the default anyway, and because
                   5364:     # using them would break gcc on systems where it needs fixed includes.
                   5365:     case $ac_im_incroot in
                   5366:    /usr/include) ac_x_includes= ;;
                   5367:    *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
                   5368:     esac
                   5369:     case $ac_im_usrlibdir in
                   5370:    /usr/lib | /usr/lib64 | /lib | /lib64) ;;
                   5371:    *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
                   5372:     esac
                   5373:   fi
                   5374:   cd ..
                   5375:   rm -f -r conftest.dir
                   5376: fi
                   5377: 
                   5378: # Standard set of common directories for X headers.
                   5379: # Check X11 before X11Rn because it is often a symlink to the current release.
                   5380: ac_x_header_dirs='
                   5381: /usr/X11/include
                   5382: /usr/X11R7/include
                   5383: /usr/X11R6/include
                   5384: /usr/X11R5/include
                   5385: /usr/X11R4/include
1.1       bertrand 5386: 
1.15      bertrand 5387: /usr/include/X11
                   5388: /usr/include/X11R7
                   5389: /usr/include/X11R6
                   5390: /usr/include/X11R5
                   5391: /usr/include/X11R4
1.1       bertrand 5392: 
1.15      bertrand 5393: /usr/local/X11/include
                   5394: /usr/local/X11R7/include
                   5395: /usr/local/X11R6/include
                   5396: /usr/local/X11R5/include
                   5397: /usr/local/X11R4/include
1.1       bertrand 5398: 
1.15      bertrand 5399: /usr/local/include/X11
                   5400: /usr/local/include/X11R7
                   5401: /usr/local/include/X11R6
                   5402: /usr/local/include/X11R5
                   5403: /usr/local/include/X11R4
1.1       bertrand 5404: 
1.15      bertrand 5405: /usr/X386/include
                   5406: /usr/x386/include
                   5407: /usr/XFree86/include/X11
1.1       bertrand 5408: 
1.15      bertrand 5409: /usr/include
                   5410: /usr/local/include
                   5411: /usr/unsupported/include
                   5412: /usr/athena/include
                   5413: /usr/local/x11r5/include
                   5414: /usr/lpp/Xamples/include
1.1       bertrand 5415: 
1.15      bertrand 5416: /usr/openwin/include
                   5417: /usr/openwin/share/include'
1.1       bertrand 5418: 
1.15      bertrand 5419: if test "$ac_x_includes" = no; then
                   5420:   # Guess where to find include files, by looking for Xlib.h.
                   5421:   # First, try using that file with no special directory specified.
                   5422:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5423: /* end confdefs.h.  */
                   5424: #include <X11/Xlib.h>
                   5425: _ACEOF
                   5426: if ac_fn_c_try_cpp "$LINENO"; then :
                   5427:   # We can compile using X headers with no special include directory.
                   5428: ac_x_includes=
1.1       bertrand 5429: else
1.15      bertrand 5430:   for ac_dir in $ac_x_header_dirs; do
                   5431:   if test -r "$ac_dir/X11/Xlib.h"; then
                   5432:     ac_x_includes=$ac_dir
                   5433:     break
                   5434:   fi
                   5435: done
1.1       bertrand 5436: fi
1.36      bertrand 5437: rm -f conftest.err conftest.i conftest.$ac_ext
1.15      bertrand 5438: fi # $ac_x_includes = no
1.1       bertrand 5439: 
1.15      bertrand 5440: if test "$ac_x_libraries" = no; then
                   5441:   # Check for the libraries.
                   5442:   # See if we find them without any special options.
                   5443:   # Don't add to $LIBS permanently.
                   5444:   ac_save_LIBS=$LIBS
                   5445:   LIBS="-lX11 $LIBS"
                   5446:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5447: /* end confdefs.h.  */
1.15      bertrand 5448: #include <X11/Xlib.h>
1.14      bertrand 5449: int
                   5450: main ()
                   5451: {
1.15      bertrand 5452: XrmInitialize ()
1.14      bertrand 5453:   ;
                   5454:   return 0;
                   5455: }
1.1       bertrand 5456: _ACEOF
1.15      bertrand 5457: if ac_fn_c_try_link "$LINENO"; then :
                   5458:   LIBS=$ac_save_LIBS
                   5459: # We can link X programs with no special library path.
                   5460: ac_x_libraries=
1.1       bertrand 5461: else
1.15      bertrand 5462:   LIBS=$ac_save_LIBS
                   5463: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
                   5464: do
                   5465:   # Don't even attempt the hair of trying to link an X program!
                   5466:   for ac_extension in a so sl dylib la dll; do
                   5467:     if test -r "$ac_dir/libX11.$ac_extension"; then
                   5468:       ac_x_libraries=$ac_dir
                   5469:       break 2
                   5470:     fi
                   5471:   done
                   5472: done
                   5473: fi
                   5474: rm -f core conftest.err conftest.$ac_objext \
                   5475:     conftest$ac_exeext conftest.$ac_ext
                   5476: fi # $ac_x_libraries = no
1.1       bertrand 5477: 
1.15      bertrand 5478: case $ac_x_includes,$ac_x_libraries in #(
                   5479:   no,* | *,no | *\'*)
                   5480:     # Didn't find X, or a directory has "'" in its name.
                   5481:     ac_cv_have_x="have_x=no";; #(
                   5482:   *)
                   5483:     # Record where we found X for the cache.
                   5484:     ac_cv_have_x="have_x=yes\
                   5485:    ac_x_includes='$ac_x_includes'\
                   5486:    ac_x_libraries='$ac_x_libraries'"
                   5487: esac
1.1       bertrand 5488: fi
1.15      bertrand 5489: ;; #(
                   5490:     *) have_x=yes;;
                   5491:   esac
                   5492:   eval "$ac_cv_have_x"
                   5493: fi # $with_x != no
1.1       bertrand 5494: 
1.15      bertrand 5495: if test "$have_x" != yes; then
                   5496:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
                   5497: $as_echo "$have_x" >&6; }
                   5498:   no_x=yes
1.14      bertrand 5499: else
1.15      bertrand 5500:   # If each of the values was on the command line, it overrides each guess.
                   5501:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   5502:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   5503:   # Update the cache value to reflect the command line values.
                   5504:   ac_cv_have_x="have_x=yes\
                   5505:    ac_x_includes='$x_includes'\
                   5506:    ac_x_libraries='$x_libraries'"
                   5507:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
                   5508: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
1.14      bertrand 5509: fi
1.1       bertrand 5510: 
1.15      bertrand 5511: if test "$no_x" = yes; then
                   5512:   # Not all programs may use this symbol, but it does not hurt to define it.
1.1       bertrand 5513: 
1.15      bertrand 5514: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
1.14      bertrand 5515: 
1.15      bertrand 5516:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
1.1       bertrand 5517: else
1.15      bertrand 5518:   if test -n "$x_includes"; then
                   5519:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   5520:   fi
                   5521: 
                   5522:   # It would also be nice to do this for all -L options, not just this one.
                   5523:   if test -n "$x_libraries"; then
                   5524:     X_LIBS="$X_LIBS -L$x_libraries"
                   5525:     # For Solaris; some versions of Sun CC require a space after -R and
                   5526:     # others require no space.  Words are not sufficient . . . .
                   5527:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
                   5528: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
                   5529:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   5530:     ac_xsave_c_werror_flag=$ac_c_werror_flag
                   5531:     ac_c_werror_flag=yes
                   5532:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5533: /* end confdefs.h.  */
1.1       bertrand 5534: 
1.15      bertrand 5535: int
                   5536: main ()
                   5537: {
1.1       bertrand 5538: 
1.15      bertrand 5539:   ;
                   5540:   return 0;
                   5541: }
                   5542: _ACEOF
                   5543: if ac_fn_c_try_link "$LINENO"; then :
                   5544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5545: $as_echo "no" >&6; }
                   5546:        X_LIBS="$X_LIBS -R$x_libraries"
1.1       bertrand 5547: else
1.15      bertrand 5548:   LIBS="$ac_xsave_LIBS -R $x_libraries"
                   5549:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5550: /* end confdefs.h.  */
1.1       bertrand 5551: 
1.14      bertrand 5552: int
                   5553: main ()
                   5554: {
1.15      bertrand 5555: 
                   5556:   ;
1.14      bertrand 5557:   return 0;
                   5558: }
                   5559: _ACEOF
1.15      bertrand 5560: if ac_fn_c_try_link "$LINENO"; then :
                   5561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5562: $as_echo "yes" >&6; }
                   5563:      X_LIBS="$X_LIBS -R $x_libraries"
1.14      bertrand 5564: else
1.15      bertrand 5565:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
                   5566: $as_echo "neither works" >&6; }
1.14      bertrand 5567: fi
1.15      bertrand 5568: rm -f core conftest.err conftest.$ac_objext \
                   5569:     conftest$ac_exeext conftest.$ac_ext
1.14      bertrand 5570: fi
1.15      bertrand 5571: rm -f core conftest.err conftest.$ac_objext \
                   5572:     conftest$ac_exeext conftest.$ac_ext
                   5573:     ac_c_werror_flag=$ac_xsave_c_werror_flag
                   5574:     LIBS=$ac_xsave_LIBS
                   5575:   fi
1.1       bertrand 5576: 
1.15      bertrand 5577:   # Check for system-dependent libraries X programs must link with.
                   5578:   # Do this before checking for the system-independent R6 libraries
                   5579:   # (-lICE), since we may need -lsocket or whatever for X linking.
1.1       bertrand 5580: 
1.15      bertrand 5581:   if test "$ISC" = yes; then
                   5582:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   5583:   else
                   5584:     # Martyn Johnson says this is needed for Ultrix, if the X
                   5585:     # libraries were built with DECnet support.  And Karl Berry says
                   5586:     # the Alpha needs dnet_stub (dnet does not exist).
                   5587:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   5588:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5589: /* end confdefs.h.  */
1.1       bertrand 5590: 
1.15      bertrand 5591: /* Override any GCC internal prototype to avoid an error.
                   5592:    Use char because int might match the return type of a GCC
                   5593:    builtin and then its argument prototype would still apply.  */
                   5594: #ifdef __cplusplus
                   5595: extern "C"
                   5596: #endif
                   5597: char XOpenDisplay ();
                   5598: int
                   5599: main ()
                   5600: {
                   5601: return XOpenDisplay ();
                   5602:   ;
                   5603:   return 0;
                   5604: }
1.1       bertrand 5605: _ACEOF
1.15      bertrand 5606: if ac_fn_c_try_link "$LINENO"; then :
1.14      bertrand 5607: 
                   5608: else
1.15      bertrand 5609:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
                   5610: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
1.105     bertrand 5611: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
1.15      bertrand 5612:   $as_echo_n "(cached) " >&6
                   5613: else
                   5614:   ac_check_lib_save_LIBS=$LIBS
                   5615: LIBS="-ldnet  $LIBS"
                   5616: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5617: /* end confdefs.h.  */
1.14      bertrand 5618: 
1.15      bertrand 5619: /* Override any GCC internal prototype to avoid an error.
                   5620:    Use char because int might match the return type of a GCC
                   5621:    builtin and then its argument prototype would still apply.  */
                   5622: #ifdef __cplusplus
                   5623: extern "C"
                   5624: #endif
                   5625: char dnet_ntoa ();
                   5626: int
                   5627: main ()
                   5628: {
                   5629: return dnet_ntoa ();
                   5630:   ;
                   5631:   return 0;
                   5632: }
1.1       bertrand 5633: _ACEOF
1.15      bertrand 5634: if ac_fn_c_try_link "$LINENO"; then :
                   5635:   ac_cv_lib_dnet_dnet_ntoa=yes
1.1       bertrand 5636: else
1.15      bertrand 5637:   ac_cv_lib_dnet_dnet_ntoa=no
1.14      bertrand 5638: fi
1.15      bertrand 5639: rm -f core conftest.err conftest.$ac_objext \
                   5640:     conftest$ac_exeext conftest.$ac_ext
                   5641: LIBS=$ac_check_lib_save_LIBS
1.14      bertrand 5642: fi
1.15      bertrand 5643: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   5644: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.105     bertrand 5645: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
1.15      bertrand 5646:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
1.14      bertrand 5647: fi
                   5648: 
1.15      bertrand 5649:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
                   5650:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
                   5651: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
1.105     bertrand 5652: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
1.15      bertrand 5653:   $as_echo_n "(cached) " >&6
1.14      bertrand 5654: else
1.15      bertrand 5655:   ac_check_lib_save_LIBS=$LIBS
                   5656: LIBS="-ldnet_stub  $LIBS"
                   5657: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5658: /* end confdefs.h.  */
1.15      bertrand 5659: 
                   5660: /* Override any GCC internal prototype to avoid an error.
                   5661:    Use char because int might match the return type of a GCC
                   5662:    builtin and then its argument prototype would still apply.  */
                   5663: #ifdef __cplusplus
                   5664: extern "C"
                   5665: #endif
                   5666: char dnet_ntoa ();
1.1       bertrand 5667: int
                   5668: main ()
                   5669: {
1.15      bertrand 5670: return dnet_ntoa ();
1.1       bertrand 5671:   ;
                   5672:   return 0;
                   5673: }
                   5674: _ACEOF
1.15      bertrand 5675: if ac_fn_c_try_link "$LINENO"; then :
                   5676:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
1.14      bertrand 5677: else
1.15      bertrand 5678:   ac_cv_lib_dnet_stub_dnet_ntoa=no
                   5679: fi
                   5680: rm -f core conftest.err conftest.$ac_objext \
                   5681:     conftest$ac_exeext conftest.$ac_ext
                   5682: LIBS=$ac_check_lib_save_LIBS
                   5683: fi
                   5684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   5685: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.105     bertrand 5686: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
1.15      bertrand 5687:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   5688: fi
1.14      bertrand 5689: 
1.15      bertrand 5690:     fi
1.1       bertrand 5691: fi
1.15      bertrand 5692: rm -f core conftest.err conftest.$ac_objext \
                   5693:     conftest$ac_exeext conftest.$ac_ext
                   5694:     LIBS="$ac_xsave_LIBS"
                   5695: 
                   5696:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   5697:     # to get the SysV transport functions.
                   5698:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
                   5699:     # needs -lnsl.
                   5700:     # The nsl library prevents programs from opening the X display
                   5701:     # on Irix 5.2, according to T.E. Dickey.
                   5702:     # The functions gethostbyname, getservbyname, and inet_addr are
                   5703:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
                   5704:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
1.105     bertrand 5705: if test "x$ac_cv_func_gethostbyname" = xyes; then :
1.1       bertrand 5706: 
                   5707: fi
                   5708: 
1.15      bertrand 5709:     if test $ac_cv_func_gethostbyname = no; then
                   5710:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   5711: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.105     bertrand 5712: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
1.15      bertrand 5713:   $as_echo_n "(cached) " >&6
1.1       bertrand 5714: else
1.15      bertrand 5715:   ac_check_lib_save_LIBS=$LIBS
                   5716: LIBS="-lnsl  $LIBS"
                   5717: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5718: /* end confdefs.h.  */
1.15      bertrand 5719: 
                   5720: /* Override any GCC internal prototype to avoid an error.
                   5721:    Use char because int might match the return type of a GCC
                   5722:    builtin and then its argument prototype would still apply.  */
                   5723: #ifdef __cplusplus
                   5724: extern "C"
                   5725: #endif
                   5726: char gethostbyname ();
1.1       bertrand 5727: int
                   5728: main ()
                   5729: {
1.15      bertrand 5730: return gethostbyname ();
1.1       bertrand 5731:   ;
                   5732:   return 0;
                   5733: }
                   5734: _ACEOF
1.15      bertrand 5735: if ac_fn_c_try_link "$LINENO"; then :
                   5736:   ac_cv_lib_nsl_gethostbyname=yes
                   5737: else
                   5738:   ac_cv_lib_nsl_gethostbyname=no
                   5739: fi
                   5740: rm -f core conftest.err conftest.$ac_objext \
                   5741:     conftest$ac_exeext conftest.$ac_ext
                   5742: LIBS=$ac_check_lib_save_LIBS
                   5743: fi
                   5744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   5745: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.105     bertrand 5746: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.15      bertrand 5747:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
                   5748: fi
                   5749: 
                   5750:       if test $ac_cv_lib_nsl_gethostbyname = no; then
                   5751:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
                   5752: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
1.105     bertrand 5753: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
1.15      bertrand 5754:   $as_echo_n "(cached) " >&6
                   5755: else
                   5756:   ac_check_lib_save_LIBS=$LIBS
                   5757: LIBS="-lbsd  $LIBS"
                   5758: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5759: /* end confdefs.h.  */
1.15      bertrand 5760: 
                   5761: /* Override any GCC internal prototype to avoid an error.
                   5762:    Use char because int might match the return type of a GCC
                   5763:    builtin and then its argument prototype would still apply.  */
                   5764: #ifdef __cplusplus
                   5765: extern "C"
                   5766: #endif
                   5767: char gethostbyname ();
1.1       bertrand 5768: int
                   5769: main ()
                   5770: {
1.15      bertrand 5771: return gethostbyname ();
1.1       bertrand 5772:   ;
                   5773:   return 0;
                   5774: }
                   5775: _ACEOF
1.15      bertrand 5776: if ac_fn_c_try_link "$LINENO"; then :
                   5777:   ac_cv_lib_bsd_gethostbyname=yes
1.1       bertrand 5778: else
1.15      bertrand 5779:   ac_cv_lib_bsd_gethostbyname=no
                   5780: fi
                   5781: rm -f core conftest.err conftest.$ac_objext \
                   5782:     conftest$ac_exeext conftest.$ac_ext
                   5783: LIBS=$ac_check_lib_save_LIBS
                   5784: fi
                   5785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   5786: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
1.105     bertrand 5787: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
1.15      bertrand 5788:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
                   5789: fi
                   5790: 
                   5791:       fi
                   5792:     fi
                   5793: 
                   5794:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   5795:     # socket/setsockopt and other routines are undefined under SCO ODT
                   5796:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
                   5797:     # on later versions), says Simon Leinen: it contains gethostby*
                   5798:     # variants that don't use the name server (or something).  -lsocket
                   5799:     # must be given before -lnsl if both are needed.  We assume that
                   5800:     # if connect needs -lnsl, so does gethostbyname.
                   5801:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
1.105     bertrand 5802: if test "x$ac_cv_func_connect" = xyes; then :
1.14      bertrand 5803: 
1.1       bertrand 5804: fi
                   5805: 
1.15      bertrand 5806:     if test $ac_cv_func_connect = no; then
                   5807:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
                   5808: $as_echo_n "checking for connect in -lsocket... " >&6; }
1.105     bertrand 5809: if ${ac_cv_lib_socket_connect+:} false; then :
1.15      bertrand 5810:   $as_echo_n "(cached) " >&6
1.14      bertrand 5811: else
1.15      bertrand 5812:   ac_check_lib_save_LIBS=$LIBS
                   5813: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
                   5814: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5815: /* end confdefs.h.  */
1.1       bertrand 5816: 
1.15      bertrand 5817: /* Override any GCC internal prototype to avoid an error.
                   5818:    Use char because int might match the return type of a GCC
                   5819:    builtin and then its argument prototype would still apply.  */
                   5820: #ifdef __cplusplus
                   5821: extern "C"
                   5822: #endif
                   5823: char connect ();
1.14      bertrand 5824: int
                   5825: main ()
                   5826: {
1.15      bertrand 5827: return connect ();
1.14      bertrand 5828:   ;
                   5829:   return 0;
                   5830: }
                   5831: _ACEOF
1.15      bertrand 5832: if ac_fn_c_try_link "$LINENO"; then :
                   5833:   ac_cv_lib_socket_connect=yes
                   5834: else
                   5835:   ac_cv_lib_socket_connect=no
                   5836: fi
                   5837: rm -f core conftest.err conftest.$ac_objext \
                   5838:     conftest$ac_exeext conftest.$ac_ext
                   5839: LIBS=$ac_check_lib_save_LIBS
                   5840: fi
                   5841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
                   5842: $as_echo "$ac_cv_lib_socket_connect" >&6; }
1.105     bertrand 5843: if test "x$ac_cv_lib_socket_connect" = xyes; then :
1.15      bertrand 5844:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   5845: fi
                   5846: 
                   5847:     fi
                   5848: 
                   5849:     # Guillermo Gomez says -lposix is necessary on A/UX.
                   5850:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
1.105     bertrand 5851: if test "x$ac_cv_func_remove" = xyes; then :
1.15      bertrand 5852: 
                   5853: fi
                   5854: 
                   5855:     if test $ac_cv_func_remove = no; then
                   5856:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
                   5857: $as_echo_n "checking for remove in -lposix... " >&6; }
1.105     bertrand 5858: if ${ac_cv_lib_posix_remove+:} false; then :
1.15      bertrand 5859:   $as_echo_n "(cached) " >&6
                   5860: else
                   5861:   ac_check_lib_save_LIBS=$LIBS
                   5862: LIBS="-lposix  $LIBS"
                   5863: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5864: /* end confdefs.h.  */
1.15      bertrand 5865: 
                   5866: /* Override any GCC internal prototype to avoid an error.
                   5867:    Use char because int might match the return type of a GCC
                   5868:    builtin and then its argument prototype would still apply.  */
                   5869: #ifdef __cplusplus
                   5870: extern "C"
                   5871: #endif
                   5872: char remove ();
1.1       bertrand 5873: int
                   5874: main ()
                   5875: {
1.15      bertrand 5876: return remove ();
1.1       bertrand 5877:   ;
                   5878:   return 0;
                   5879: }
                   5880: _ACEOF
1.15      bertrand 5881: if ac_fn_c_try_link "$LINENO"; then :
                   5882:   ac_cv_lib_posix_remove=yes
1.14      bertrand 5883: else
1.15      bertrand 5884:   ac_cv_lib_posix_remove=no
                   5885: fi
                   5886: rm -f core conftest.err conftest.$ac_objext \
                   5887:     conftest$ac_exeext conftest.$ac_ext
                   5888: LIBS=$ac_check_lib_save_LIBS
                   5889: fi
                   5890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
                   5891: $as_echo "$ac_cv_lib_posix_remove" >&6; }
1.105     bertrand 5892: if test "x$ac_cv_lib_posix_remove" = xyes; then :
1.15      bertrand 5893:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
1.14      bertrand 5894: fi
1.1       bertrand 5895: 
1.15      bertrand 5896:     fi
1.14      bertrand 5897: 
1.15      bertrand 5898:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
                   5899:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
1.105     bertrand 5900: if test "x$ac_cv_func_shmat" = xyes; then :
1.14      bertrand 5901: 
                   5902: fi
                   5903: 
1.15      bertrand 5904:     if test $ac_cv_func_shmat = no; then
                   5905:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
                   5906: $as_echo_n "checking for shmat in -lipc... " >&6; }
1.105     bertrand 5907: if ${ac_cv_lib_ipc_shmat+:} false; then :
1.15      bertrand 5908:   $as_echo_n "(cached) " >&6
                   5909: else
                   5910:   ac_check_lib_save_LIBS=$LIBS
                   5911: LIBS="-lipc  $LIBS"
                   5912: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5913: /* end confdefs.h.  */
1.15      bertrand 5914: 
                   5915: /* Override any GCC internal prototype to avoid an error.
                   5916:    Use char because int might match the return type of a GCC
                   5917:    builtin and then its argument prototype would still apply.  */
                   5918: #ifdef __cplusplus
                   5919: extern "C"
                   5920: #endif
                   5921: char shmat ();
1.1       bertrand 5922: int
                   5923: main ()
                   5924: {
1.15      bertrand 5925: return shmat ();
1.1       bertrand 5926:   ;
                   5927:   return 0;
                   5928: }
                   5929: _ACEOF
1.15      bertrand 5930: if ac_fn_c_try_link "$LINENO"; then :
                   5931:   ac_cv_lib_ipc_shmat=yes
1.1       bertrand 5932: else
1.15      bertrand 5933:   ac_cv_lib_ipc_shmat=no
                   5934: fi
                   5935: rm -f core conftest.err conftest.$ac_objext \
                   5936:     conftest$ac_exeext conftest.$ac_ext
                   5937: LIBS=$ac_check_lib_save_LIBS
                   5938: fi
                   5939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
                   5940: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
1.105     bertrand 5941: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
1.15      bertrand 5942:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   5943: fi
1.14      bertrand 5944: 
1.15      bertrand 5945:     fi
                   5946:   fi
1.1       bertrand 5947: 
1.15      bertrand 5948:   # Check for libraries that X11R6 Xt/Xaw programs need.
                   5949:   ac_save_LDFLAGS=$LDFLAGS
                   5950:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   5951:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   5952:   # check for ICE first), but we must link in the order -lSM -lICE or
                   5953:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   5954:   # These have to be linked with before -lX11, unlike the other
                   5955:   # libraries we check for below, so use a different variable.
                   5956:   # John Interrante, Karl Berry
                   5957:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
                   5958: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
1.105     bertrand 5959: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
1.15      bertrand 5960:   $as_echo_n "(cached) " >&6
1.1       bertrand 5961: else
1.15      bertrand 5962:   ac_check_lib_save_LIBS=$LIBS
                   5963: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
                   5964: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5965: /* end confdefs.h.  */
1.15      bertrand 5966: 
                   5967: /* Override any GCC internal prototype to avoid an error.
                   5968:    Use char because int might match the return type of a GCC
                   5969:    builtin and then its argument prototype would still apply.  */
                   5970: #ifdef __cplusplus
                   5971: extern "C"
                   5972: #endif
                   5973: char IceConnectionNumber ();
1.1       bertrand 5974: int
                   5975: main ()
                   5976: {
1.15      bertrand 5977: return IceConnectionNumber ();
1.1       bertrand 5978:   ;
                   5979:   return 0;
                   5980: }
                   5981: _ACEOF
1.15      bertrand 5982: if ac_fn_c_try_link "$LINENO"; then :
                   5983:   ac_cv_lib_ICE_IceConnectionNumber=yes
1.1       bertrand 5984: else
1.15      bertrand 5985:   ac_cv_lib_ICE_IceConnectionNumber=no
                   5986: fi
                   5987: rm -f core conftest.err conftest.$ac_objext \
                   5988:     conftest$ac_exeext conftest.$ac_ext
                   5989: LIBS=$ac_check_lib_save_LIBS
                   5990: fi
                   5991: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   5992: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
1.105     bertrand 5993: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
1.15      bertrand 5994:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   5995: fi
                   5996: 
                   5997:   LDFLAGS=$ac_save_LDFLAGS
                   5998: 
                   5999: fi
                   6000: 
1.14      bertrand 6001: 
1.15      bertrand 6002: if test "$ac_x_includes" != "no"; then
                   6003:    if test x"$ac_x_includes" != x; then
                   6004:        X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
                   6005:        includeX="-I$ac_x_includes"
                   6006:    fi
1.1       bertrand 6007: fi
1.15      bertrand 6008: if test "$ac_x_libraries" != "no"; then
                   6009:    if test x"$ac_x_libraries" != x; then
                   6010:        X_LIBS="$X_LIBS -L$ac_x_libraries"
                   6011:    fi
1.1       bertrand 6012: fi
1.15      bertrand 6013: 
1.64      bertrand 6014: 
1.69      bertrand 6015: # Check whether --with-32bits-abi was given.
                   6016: if test "${with_32bits_abi+set}" = set; then :
                   6017:   withval=$with_32bits_abi;
1.64      bertrand 6018: if test "$with-32bits-abi" = "no"; then
1.66      bertrand 6019:    ABI=
1.64      bertrand 6020: else
1.65      bertrand 6021:    ABI=-m32
                   6022: fi
1.64      bertrand 6023: else
                   6024: 
1.68      bertrand 6025:    ABI=
1.64      bertrand 6026: 
                   6027: 
                   6028: fi
                   6029: 
                   6030: 
1.68      bertrand 6031: if test x$ABI = x; then
1.66      bertrand 6032: 
1.69      bertrand 6033: # Check whether --with-64bits-abi was given.
                   6034: if test "${with_64bits_abi+set}" = set; then :
                   6035:   withval=$with_64bits_abi;
1.67      bertrand 6036: if test "$with-64bits-abi" = "no"; then
                   6037:    ABI=
                   6038: else
                   6039:    ABI=-m64
                   6040: fi
                   6041: else
                   6042: 
1.68      bertrand 6043:    ABI=
1.67      bertrand 6044: 
                   6045: 
                   6046: fi
                   6047: 
1.68      bertrand 6048: fi
1.67      bertrand 6049: 
1.69      bertrand 6050: LDFLAGS="$LDFLAGS $ABI"
                   6051: 
1.91      bertrand 6052: # Check whether --enable-recursive was given.
                   6053: if test "${enable_recursive+set}" = set; then :
                   6054:   enableval=$enable_recursive;
                   6055: if test "$enableval" = "yes"; then
                   6056:    RECURSIVE=yes
                   6057: else
                   6058:    RECURSIVE=no
                   6059: fi
                   6060: else
                   6061: 
                   6062:    RECURSIVE=yes
                   6063: 
                   6064: 
                   6065: fi
                   6066: 
                   6067: 
1.67      bertrand 6068: 
1.88      bertrand 6069: # Check whether --with-rpltools was given.
                   6070: if test "${with_rpltools+set}" = set; then :
                   6071:   withval=$with_rpltools;
                   6072: if test "$with_rpltools" = "no" -o "$with_rpltools" = yes; then
                   6073:    as_fn_error $? "You have to specify rpltools path !" "$LINENO" 5
                   6074: else
                   6075:    RPLTOOLS=$with_rpltools
                   6076: fi
                   6077: else
                   6078: 
                   6079:    RPLTOOLS=\$\(top_builddir\)
                   6080: 
                   6081: 
                   6082: fi
                   6083: 
                   6084: 
                   6085: 
                   6086: 
                   6087: # Check whether --enable-rplcas was given.
                   6088: if test "${enable_rplcas+set}" = set; then :
                   6089:   enableval=$enable_rplcas;
                   6090: if test "$enableval" = "no"; then
1.67      bertrand 6091:    RPLCAS=-URPLCAS
                   6092:    LIBRPLCAS=
                   6093: else
                   6094:    RPLCAS=-DRPLCAS
                   6095:    LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
                   6096: fi
                   6097: else
                   6098: 
                   6099:    RPLCAS=-URPLCAS
                   6100:    LIBRPLCAS=
                   6101: 
                   6102: 
                   6103: fi
                   6104: 
                   6105: 
                   6106: 
                   6107: 
                   6108: 
1.65      bertrand 6109: 
1.15      bertrand 6110: # Check whether --enable-optimization was given.
                   6111: if test "${enable_optimization+set}" = set; then :
                   6112:   enableval=$enable_optimization;
                   6113: if test "$enableval" = "no"; then
1.69      bertrand 6114:    CFLAGS=$ABI
                   6115:    FFLAGS=$ABI
                   6116:    CXXFLAGS=$ABI
                   6117:    FCFLAGS=$ABI
                   6118: else
                   6119:    CFLAGS="$CFLAGS $ABI $enable_optimization"
                   6120:    FFLAGS="$FFLAGS $ABI $enable_optimization"
                   6121:    CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
                   6122:    FCFLAGS="$FCFLAGS $ABI $enable_optimization"
1.1       bertrand 6123: fi
1.15      bertrand 6124: else
1.14      bertrand 6125: 
1.69      bertrand 6126:    CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
                   6127:    FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
                   6128:    CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
                   6129:    FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
1.1       bertrand 6130: 
                   6131: 
1.15      bertrand 6132: fi
1.1       bertrand 6133: 
                   6134: 
1.91      bertrand 6135: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable shared memory" >&5
                   6136: $as_echo_n "checking for usable shared memory... " >&6; }
                   6137: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6138: /* end confdefs.h.  */
                   6139: #include <sys/shm.h>
                   6140: 
                   6141: int
                   6142: main ()
                   6143: {
                   6144:  return(0);
                   6145:   ;
                   6146:   return 0;
                   6147: }
                   6148: _ACEOF
                   6149: if ac_fn_c_try_compile "$LINENO"; then :
                   6150:   SHARED_MEMORY=-DSHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6151: $as_echo "yes" >&6; }
                   6152: else
                   6153:   SHARED_MEMORY=-USHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6154: $as_echo "no" >&6; }
                   6155: 
                   6156: fi
                   6157: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6158: 
                   6159: 
                   6160: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5
                   6161: $as_echo_n "checking for pselect... " >&6; }
1.92      bertrand 6162: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.91      bertrand 6163: /* end confdefs.h.  */
                   6164: #include <sys/select.h>
                   6165:     #include <unistd.h>
                   6166:     #include <sys/time.h>
                   6167:     #include <sys/types.h>
                   6168: 
                   6169: int
                   6170: main ()
                   6171: {
                   6172: 
                   6173:     struct timespec tv;
                   6174:     fd_set s1, s2, s3;
                   6175:     tv.tv_sec=1;
                   6176:     tv.tv_nsec=0;
                   6177:     FD_SET(1, &s1); FD_SET(2, &s2); FD_SET(3, &s3);
                   6178:     pselect(5, &s1, &s2, &s3, &tv, NULL);
                   6179:     return(0);
                   6180: 
                   6181:   ;
                   6182:   return 0;
                   6183: }
                   6184: _ACEOF
1.92      bertrand 6185: if ac_fn_c_try_compile "$LINENO"; then :
1.91      bertrand 6186:   PSELECT=-DPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6187: $as_echo "yes" >&6; }
                   6188: else
                   6189:   PSELECT=-UPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6190: $as_echo "no" >&6; }
                   6191: 
                   6192: fi
1.92      bertrand 6193: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.91      bertrand 6194: 
                   6195: 
1.87      bertrand 6196: # Check whether --enable-sysv-ipcs was given.
                   6197: if test "${enable_sysv_ipcs+set}" = set; then :
                   6198:   enableval=$enable_sysv_ipcs;
1.36      bertrand 6199: if test "$enableval" = "no"; then
1.88      bertrand 6200:    IPCS_SYSV=-UIPCS_SYSV
                   6201:    POSIX_IPCS=no
1.36      bertrand 6202: else
1.88      bertrand 6203:    IPCS_SYSV=-DIPCS_SYSV
                   6204:    POSIX_IPCS=yes
1.36      bertrand 6205: fi
                   6206: else
1.85      bertrand 6207:   REG=$LDFLAGS
1.88      bertrand 6208: POSIX_IPCS=guessed
1.85      bertrand 6209: LDFLAGS=-lrt
                   6210: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores and shared objects" >&5
                   6211: $as_echo_n "checking for POSIX semaphores and shared objects... " >&6; }
                   6212: if test "$cross_compiling" = yes; then :
                   6213:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   6214: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   6215: as_fn_error $? "cannot run test program while cross compiling
1.105     bertrand 6216: See \`config.log' for more details" "$LINENO" 5; }
1.85      bertrand 6217: else
                   6218:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.81      bertrand 6219: /* end confdefs.h.  */
                   6220: #include <sys/mman.h>
                   6221: #include <sys/stat.h>
                   6222: #include <fcntl.h>
1.82      bertrand 6223: 
1.81      bertrand 6224: int
                   6225: main ()
                   6226: {
1.85      bertrand 6227:  int fd; char *sem = "/test";
1.81      bertrand 6228: fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
                   6229:   close(fd);
                   6230:   shm_unlink(sem);
1.85      bertrand 6231:   fd = sem_open(sem, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0);
                   6232:   close(fd);
                   6233:   sem_unlink(sem);
1.81      bertrand 6234:   return(0);
                   6235: 
                   6236:   ;
                   6237:   return 0;
                   6238: }
                   6239: _ACEOF
1.85      bertrand 6240: if ac_fn_c_try_run "$LINENO"; then :
1.81      bertrand 6241:   IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6242: $as_echo "yes" >&6; }
                   6243: else
                   6244:   IPCS_SYSV=-DIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6245: $as_echo "no" >&6; }
                   6246: 
                   6247: fi
1.85      bertrand 6248: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   6249:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6250: fi
                   6251: 
                   6252: LDFLAGS=$REG
1.81      bertrand 6253: 
1.36      bertrand 6254: fi
                   6255: 
                   6256: 
1.88      bertrand 6257: if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then
1.81      bertrand 6258: REG=$LDFLAGS
                   6259: LDFLAGS=-pthread
1.83      bertrand 6260: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5
                   6261: $as_echo_n "checking for POSIX anonymous semaphores... " >&6; }
                   6262: if test "$cross_compiling" = yes; then :
                   6263:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   6264: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   6265: as_fn_error $? "cannot run test program while cross compiling
1.105     bertrand 6266: See \`config.log' for more details" "$LINENO" 5; }
1.83      bertrand 6267: else
                   6268:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6269: /* end confdefs.h.  */
                   6270: #include <semaphore.h>
                   6271: 
                   6272: int
                   6273: main ()
                   6274: {
                   6275:  sem_t sem;
1.81      bertrand 6276:  if (sem_init(&sem, 1, 0) != 0) return(1);
                   6277:  sem_destroy(&sem);
                   6278:   return(0);
1.83      bertrand 6279: 
                   6280:   ;
                   6281:   return 0;
                   6282: }
                   6283: _ACEOF
                   6284: if ac_fn_c_try_run "$LINENO"; then :
                   6285:   SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6286: $as_echo "yes" >&6; }
                   6287: else
                   6288:   SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6289: $as_echo "no" >&6; }
                   6290: 
                   6291: fi
                   6292: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   6293:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6294: fi
                   6295: 
1.81      bertrand 6296: LDFLAGS=$REG
                   6297: REG=""
                   6298: else
                   6299:    SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
                   6300: fi
                   6301: 
1.30      bertrand 6302: # Check whether --enable-full-static was given.
                   6303: if test "${enable_full_static+set}" = set; then :
                   6304:   enableval=$enable_full_static;
                   6305: if test "$enableval" = "no"; then
                   6306:    STATIC=no
                   6307: else
                   6308:    STATIC=yes
                   6309: fi
                   6310: else
                   6311:   STATIC=no
                   6312: fi
                   6313: 
                   6314: 
1.15      bertrand 6315: # Check whether --enable-final-encoding was given.
                   6316: if test "${enable_final_encoding+set}" = set; then :
                   6317:   enableval=$enable_final_encoding;
                   6318: if test "$enableval" = "no"; then
                   6319:    FINAL_ENCODING="\$(shell locale charmap | \
                   6320:        \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
1.35      bertrand 6321:    FORCED_FINAL_ENCODING=0
1.1       bertrand 6322: else
1.15      bertrand 6323:    FINAL_ENCODING="$enable_final_encoding"
1.35      bertrand 6324:    FORCED_FINAL_ENCODING=1
1.15      bertrand 6325: fi
1.1       bertrand 6326: else
1.35      bertrand 6327: 
                   6328: FORCED_FINAL_ENCODING=0
                   6329: FINAL_ENCODING="\$(shell locale charmap | \
1.15      bertrand 6330:    \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
                   6331: fi
                   6332: 
1.14      bertrand 6333: 
1.15      bertrand 6334: # Check whether --enable-tex was given.
                   6335: if test "${enable_tex+set}" = set; then :
                   6336:   enableval=$enable_tex;
                   6337: if test "$enableval" = "no"; then
                   6338:    TEX_SUPPORT=no
                   6339: else
                   6340:    TEX_SUPPORT=yes
1.1       bertrand 6341: fi
1.15      bertrand 6342: else
                   6343:   TEX_SUPPORT=guessed
                   6344: fi
                   6345: 
1.14      bertrand 6346: 
1.15      bertrand 6347: # Check whether --enable-vim was given.
                   6348: if test "${enable_vim+set}" = set; then :
                   6349:   enableval=$enable_vim;
                   6350: if test "$enableval" = "no"; then
                   6351:    VIM_SUPPORT=no
1.102     bertrand 6352:    DEBVIM=
1.15      bertrand 6353: else
                   6354:    VIM_SUPPORT=yes
1.103     bertrand 6355:    DEBVIM=", vim"
1.15      bertrand 6356: fi
                   6357: else
                   6358:   VIM_SUPPORT=guessed
1.1       bertrand 6359: fi
                   6360: 
1.15      bertrand 6361: 
                   6362: # Check whether --enable-embedded-gnuplot was given.
                   6363: if test "${enable_embedded_gnuplot+set}" = set; then :
                   6364:   enableval=$enable_embedded_gnuplot;
                   6365: if test "$enableval" = "no"; then
                   6366:    MYGNUPLOT=no
                   6367: else
                   6368:    MYGNUPLOT=yes
                   6369: fi
1.1       bertrand 6370: else
                   6371: 
1.15      bertrand 6372: MYGNUPLOT=yes
                   6373: fi
                   6374: 
1.14      bertrand 6375: 
1.15      bertrand 6376: # Check whether --enable-gnuplot was given.
                   6377: if test "${enable_gnuplot+set}" = set; then :
                   6378:   enableval=$enable_gnuplot;
                   6379: if test "$enableval" = "no"; then
                   6380:    GNUPLOT_SUPPORT=no
                   6381:    MYGNUPLOT=no
                   6382:    FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
                   6383: else
                   6384:    GNUPLOT_SUPPORT=yes
                   6385:    FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
                   6386: fi
1.1       bertrand 6387: else
                   6388: 
1.15      bertrand 6389: if test "$MYGNUPLOT" = "yes"; then
                   6390:    GNUPLOT_SUPPORT=yes
                   6391:    FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
                   6392: else
                   6393:    GNUPLOT_SUPPORT=guessed
                   6394:    FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
                   6395: fi
1.1       bertrand 6396: fi
                   6397: 
1.15      bertrand 6398: 
1.80      bertrand 6399: libX=""
                   6400: LIBMOTIF=""
                   6401: INCMOTIF=""
                   6402: BUILD_OPENMOTIF=""
                   6403: 
1.15      bertrand 6404: # Check whether --enable-motif was given.
                   6405: if test "${enable_motif+set}" = set; then :
                   6406:   enableval=$enable_motif;
                   6407: if test "$enableval" = "no"; then
                   6408:    MOTIF_SUPPORT="-UMOTIF_SUPPORT"
                   6409: else
1.80      bertrand 6410:    MOTIF_SUPPORT="-DMOTIF_SUPPORT"
                   6411: fi
1.1       bertrand 6412: else
1.80      bertrand 6413:   if test "$have_x" == "yes"; then
                   6414:    MOTIF_SUPPORT="-DMOTIF_SUPPORT"
1.15      bertrand 6415: else
1.80      bertrand 6416:    MOTIF_SUPPORT="-UMOTIF_SUPPORT"
1.15      bertrand 6417: fi
                   6418: fi
1.14      bertrand 6419: 
1.80      bertrand 6420: 
                   6421: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
1.105     bertrand 6422:    libX="$X_LIBS -lXt -lX11 -lXext"
1.80      bertrand 6423:    LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \
                   6424:            \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a"
                   6425:    INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \
                   6426:            -I\$(top_builddir)/tools/$OPENMOTIF/lib \
1.92      bertrand 6427:            -I\$(top_srcdir)/tools/$LIBXPM/include"
1.80      bertrand 6428:    BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
                   6429: 
1.91      bertrand 6430:    if test $RECURSIVE = yes; then
                   6431: 
1.80      bertrand 6432: 
                   6433: subdirs="$subdirs tools/$LIBXPM"
                   6434: 
1.91      bertrand 6435:        subdirs="$subdirs tools/$OPENMOTIF"
1.80      bertrand 6436: 
1.91      bertrand 6437:    fi;
1.1       bertrand 6438: fi
                   6439: 
1.15      bertrand 6440: # Check whether --enable-experimental was given.
                   6441: if test "${enable_experimental+set}" = set; then :
                   6442:   enableval=$enable_experimental;
                   6443: if test "$enableval" = "no"; then
                   6444:    EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
                   6445: else
                   6446:    EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
                   6447: fi
1.14      bertrand 6448: else
1.15      bertrand 6449:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
                   6450: fi
                   6451: 
1.1       bertrand 6452: 
1.15      bertrand 6453: # Check whether --enable-debug was given.
                   6454: if test "${enable_debug+set}" = set; then :
                   6455:   enableval=$enable_debug;
                   6456: if test "$enableval" = "no"; then
1.24      bertrand 6457:    DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
1.15      bertrand 6458: else
1.24      bertrand 6459:    DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
1.15      bertrand 6460: fi
                   6461: else
1.24      bertrand 6462:   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
1.14      bertrand 6463: fi
1.1       bertrand 6464: 
1.15      bertrand 6465: 
                   6466: # Check whether --enable-profile was given.
                   6467: if test "${enable_profile+set}" = set; then :
                   6468:   enableval=$enable_profile;
                   6469: if test "$enableval" = "no"; then
                   6470:    PROFILAGE=""
                   6471: else
                   6472:    PROFILAGE="-pg"
                   6473: fi
                   6474: else
                   6475:   PROFILAGE=""
1.1       bertrand 6476: fi
                   6477: 
1.14      bertrand 6478: 
                   6479: 
1.15      bertrand 6480: 
                   6481: if test ! -d tools; then
                   6482:    mkdir tools
                   6483: fi
                   6484: if test ! -d "$srcdir"/tools/$NCURSES; then
                   6485:    gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
                   6486:            (cd "$srcdir/tools" && tar -xf -)
1.51      bertrand 6487:    (cd "$srcdir/tools/"$NCURSES && \
1.99      bertrand 6488:            for i in ../$NCURSES*.sh.gz;
1.101     bertrand 6489:            do TMP=$i; gunzip -c $i > ${TMP%.*};
1.99      bertrand 6490:            done;
                   6491:            for i in ../$NCURSES*.sh;
                   6492:            do chmod 775 $i && ./$i;
                   6493:            done;
1.51      bertrand 6494:            for i in ../$NCURSES*.patch.gz;
                   6495:            do gunzip -c $i | patch -p1;
1.100     bertrand 6496:            done);
1.15      bertrand 6497: fi
                   6498: if test ! -d "$srcdir"/tools/$READLINE; then
                   6499:    gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
                   6500:            (cd "$srcdir/tools" && tar -xf -)
                   6501: fi
                   6502: if test ! -d "$srcdir"/tools/$UNITS; then
                   6503:    gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
                   6504:            (cd "$srcdir/tools" && tar -xf -)
                   6505: fi
                   6506: if test ! -d "$srcdir"/tools/$GSL; then
                   6507:    gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
                   6508:            (cd "$srcdir/tools" && tar -xf -)
1.33      bertrand 6509:    if test $(uname) = "OS/2"; then
                   6510:        (cd "$srcdir"/tools/$GSL; \
                   6511:                TMP=$(mktemp tmp.XXXXXXXXXX); \
                   6512:                sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
                   6513:                \mv -f $TMP ltmain.sh)
                   6514:    fi
1.15      bertrand 6515: fi
                   6516: if test ! -d "$srcdir"/tools/$GPP; then
                   6517:    gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
                   6518:            (cd "$srcdir/tools" && tar -xf -)
                   6519: fi
                   6520: if test ! -d "$srcdir"/tools/$FILE; then
                   6521:    gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
                   6522:            (cd "$srcdir/tools" && tar -xf - )
                   6523:    (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
                   6524: fi
                   6525: if test ! -d "$srcdir"/tools/$ICONV; then
                   6526:    gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
                   6527:            (cd "$srcdir/tools" && tar -xf -)
                   6528: fi
                   6529: if test ! -d "$srcdir"/tools/$SQLITE; then
                   6530:    gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
                   6531:            (cd "$srcdir/tools" && tar -xf -)
                   6532: fi
1.76      bertrand 6533: if test ! -d "$srcdir"/tools/$SIGSEGV; then
                   6534:    gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \
                   6535:            (cd "$srcdir/tools" && tar -xf -)
                   6536: fi
1.80      bertrand 6537: if test ! -d "$srcdir"/tools/$OPENMOTIF; then
                   6538:    gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \
                   6539:            (cd "$srcdir/tools" && tar -xf -)
                   6540: fi
                   6541: if test ! -d "$srcdir"/tools/$LIBXPM; then
                   6542:    gunzip -c "$srcdir"/tools/$LIBXPM.tar.gz | \
                   6543:            (cd "$srcdir/tools" && tar -xf -)
                   6544: fi
1.15      bertrand 6545: if test ! -d tools/$OPENSSL; then
                   6546:    gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
                   6547:            (cd tools && tar -xf -)
1.1       bertrand 6548: fi
1.55      bertrand 6549: if test ! -d rplcas; then
                   6550:    mkdir rplcas
                   6551: fi
                   6552: if test ! -d "$srcdir"/rplcas/$GMP; then
                   6553:    gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
                   6554:            (cd "$srcdir/rplcas" && tar -xf -)
                   6555: fi
                   6556: if test ! -d "$srcdir"/rplcas/$MPFR; then
                   6557:    gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
                   6558:            (cd "$srcdir/rplcas" && tar -xf -)
                   6559: fi
1.56      bertrand 6560: if test ! -d rplcas/$NTL; then
                   6561:    gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
                   6562:            (cd rplcas && tar -xf -)
                   6563: fi
                   6564: if test ! -d rplcas/$COCOA; then
                   6565:    gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
                   6566:            (cd rplcas && tar -xf -)
                   6567: fi
                   6568: if test ! -d rplcas/$PARI; then
                   6569:    gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
                   6570:            (cd rplcas && tar -xf -)
                   6571: fi
                   6572: if test ! -d "$srcdir"/rplcas/$GIAC; then
                   6573:    gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
                   6574:            (cd "$srcdir/rplcas" && tar -xf -)
                   6575: fi
1.1       bertrand 6576: 
1.84      bertrand 6577: touch tools/openmotif.lib
                   6578: 
1.1       bertrand 6579: 
                   6580: 
1.15      bertrand 6581: # Check whether --enable-final-run-path was given.
                   6582: if test "${enable_final_run_path+set}" = set; then :
                   6583:   enableval=$enable_final_run_path;
                   6584:    if test "x$enable_final_run_path" = "x"; then
                   6585:        { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
                   6586: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
1.36      bertrand 6587:        as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
1.15      bertrand 6588:    else
                   6589:        RUNPATH="$enable_final_run_path"
                   6590:    fi
1.1       bertrand 6591: 
                   6592: else
1.15      bertrand 6593:   RUNPATH="\${prefix}"
1.1       bertrand 6594: 
                   6595: fi
                   6596: 
1.15      bertrand 6597: 
                   6598: 
                   6599: 
                   6600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   6601: $as_echo_n "checking whether ln -s works... " >&6; }
                   6602: LN_S=$as_ln_s
                   6603: if test "$LN_S" = "ln -s"; then
                   6604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6605: $as_echo "yes" >&6; }
                   6606: else
                   6607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   6608: $as_echo "no, using $LN_S" >&6; }
1.1       bertrand 6609: fi
                   6610: 
1.15      bertrand 6611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   6612: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   6613: set x ${MAKE-make}
                   6614: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.105     bertrand 6615: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.15      bertrand 6616:   $as_echo_n "(cached) " >&6
1.1       bertrand 6617: else
1.15      bertrand 6618:   cat >conftest.make <<\_ACEOF
                   6619: SHELL = /bin/sh
                   6620: all:
                   6621:    @echo '@@@%%%=$(MAKE)=@@@%%%'
1.14      bertrand 6622: _ACEOF
1.36      bertrand 6623: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.15      bertrand 6624: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   6625:   *@@@%%%=?*=@@@%%%*)
                   6626:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   6627:   *)
                   6628:     eval ac_cv_prog_make_${ac_make}_set=no;;
1.14      bertrand 6629: esac
1.15      bertrand 6630: rm -f conftest.make
                   6631: fi
                   6632: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   6633:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6634: $as_echo "yes" >&6; }
                   6635:   SET_MAKE=
                   6636: else
                   6637:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6638: $as_echo "no" >&6; }
                   6639:   SET_MAKE="MAKE=${MAKE-make}"
                   6640: fi
1.1       bertrand 6641: 
1.15      bertrand 6642: if test -n "$ac_tool_prefix"; then
                   6643:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6644: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   6645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6646: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 6647: if ${ac_cv_prog_RANLIB+:} false; then :
1.15      bertrand 6648:   $as_echo_n "(cached) " >&6
                   6649: else
                   6650:   if test -n "$RANLIB"; then
                   6651:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.1       bertrand 6652: else
1.15      bertrand 6653: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6654: for as_dir in $PATH
                   6655: do
                   6656:   IFS=$as_save_IFS
                   6657:   test -z "$as_dir" && as_dir=.
                   6658:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6659:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6660:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   6661:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6662:     break 2
                   6663:   fi
                   6664: done
                   6665:   done
                   6666: IFS=$as_save_IFS
1.1       bertrand 6667: 
                   6668: fi
1.15      bertrand 6669: fi
                   6670: RANLIB=$ac_cv_prog_RANLIB
                   6671: if test -n "$RANLIB"; then
                   6672:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6673: $as_echo "$RANLIB" >&6; }
                   6674: else
                   6675:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6676: $as_echo "no" >&6; }
                   6677: fi
                   6678: 
1.1       bertrand 6679: 
1.15      bertrand 6680: fi
                   6681: if test -z "$ac_cv_prog_RANLIB"; then
                   6682:   ac_ct_RANLIB=$RANLIB
                   6683:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6684: set dummy ranlib; ac_word=$2
                   6685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6686: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 6687: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.15      bertrand 6688:   $as_echo_n "(cached) " >&6
                   6689: else
                   6690:   if test -n "$ac_ct_RANLIB"; then
                   6691:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6692: else
                   6693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6694: for as_dir in $PATH
                   6695: do
                   6696:   IFS=$as_save_IFS
                   6697:   test -z "$as_dir" && as_dir=.
                   6698:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6699:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6700:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   6701:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6702:     break 2
                   6703:   fi
                   6704: done
1.14      bertrand 6705:   done
1.15      bertrand 6706: IFS=$as_save_IFS
                   6707: 
                   6708: fi
                   6709: fi
                   6710: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6711: if test -n "$ac_ct_RANLIB"; then
                   6712:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6713: $as_echo "$ac_ct_RANLIB" >&6; }
                   6714: else
                   6715:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6716: $as_echo "no" >&6; }
                   6717: fi
                   6718: 
                   6719:   if test "x$ac_ct_RANLIB" = x; then
                   6720:     RANLIB=":"
                   6721:   else
                   6722:     case $cross_compiling:$ac_tool_warned in
                   6723: yes:)
                   6724: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6725: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6726: ac_tool_warned=yes ;;
                   6727: esac
                   6728:     RANLIB=$ac_ct_RANLIB
                   6729:   fi
1.14      bertrand 6730: else
1.15      bertrand 6731:   RANLIB="$ac_cv_prog_RANLIB"
                   6732: fi
1.1       bertrand 6733: 
                   6734: 
1.15      bertrand 6735: # Extract the first word of "nawk", so it can be a program name with args.
                   6736: set dummy nawk; ac_word=$2
                   6737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6738: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 6739: if ${ac_cv_prog_AWK+:} false; then :
1.15      bertrand 6740:   $as_echo_n "(cached) " >&6
                   6741: else
                   6742:   if test -n "$AWK"; then
                   6743:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   6744: else
                   6745: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6746: for as_dir in $PATH
                   6747: do
                   6748:   IFS=$as_save_IFS
                   6749:   test -z "$as_dir" && as_dir=.
                   6750:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6751:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6752:     ac_cv_prog_AWK="yes"
                   6753:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6754:     break 2
                   6755:   fi
                   6756: done
                   6757:   done
                   6758: IFS=$as_save_IFS
1.1       bertrand 6759: 
1.15      bertrand 6760:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
                   6761: fi
                   6762: fi
                   6763: AWK=$ac_cv_prog_AWK
                   6764: if test -n "$AWK"; then
                   6765:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   6766: $as_echo "$AWK" >&6; }
1.1       bertrand 6767: else
1.15      bertrand 6768:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6769: $as_echo "no" >&6; }
                   6770: fi
                   6771: 
1.1       bertrand 6772: 
1.15      bertrand 6773: if test "$AWK" = no; then
1.39      bertrand 6774:    # Extract the first word of "gawk", so it can be a program name with args.
                   6775: set dummy gawk; ac_word=$2
                   6776: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6777: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 6778: if ${ac_cv_prog_AWK+:} false; then :
1.39      bertrand 6779:   $as_echo_n "(cached) " >&6
                   6780: else
                   6781:   if test -n "$AWK"; then
                   6782:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   6783: else
                   6784: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6785: for as_dir in $PATH
                   6786: do
                   6787:   IFS=$as_save_IFS
                   6788:   test -z "$as_dir" && as_dir=.
                   6789:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6790:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6791:     ac_cv_prog_AWK="yes"
                   6792:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6793:     break 2
                   6794:   fi
                   6795: done
                   6796:   done
                   6797: IFS=$as_save_IFS
                   6798: 
                   6799:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
                   6800: fi
                   6801: fi
                   6802: AWK=$ac_cv_prog_AWK
                   6803: if test -n "$AWK"; then
                   6804:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   6805: $as_echo "$AWK" >&6; }
                   6806: else
                   6807:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6808: $as_echo "no" >&6; }
                   6809: fi
                   6810: 
                   6811: 
                   6812:    if test "$AWK" = no; then
                   6813:        as_fn_error $? "Can not find nawk !" "$LINENO" 5
                   6814:    fi
1.1       bertrand 6815: fi
                   6816: 
1.15      bertrand 6817: # Extract the first word of "sed", so it can be a program name with args.
                   6818: set dummy sed; ac_word=$2
                   6819: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6820: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 6821: if ${ac_cv_prog_SED+:} false; then :
1.15      bertrand 6822:   $as_echo_n "(cached) " >&6
                   6823: else
                   6824:   if test -n "$SED"; then
                   6825:   ac_cv_prog_SED="$SED" # Let the user override the test.
                   6826: else
                   6827: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6828: for as_dir in $PATH
                   6829: do
                   6830:   IFS=$as_save_IFS
                   6831:   test -z "$as_dir" && as_dir=.
                   6832:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6833:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6834:     ac_cv_prog_SED="yes"
                   6835:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6836:     break 2
                   6837:   fi
                   6838: done
1.14      bertrand 6839:   done
1.15      bertrand 6840: IFS=$as_save_IFS
1.1       bertrand 6841: 
1.15      bertrand 6842:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
1.14      bertrand 6843: fi
1.15      bertrand 6844: fi
                   6845: SED=$ac_cv_prog_SED
                   6846: if test -n "$SED"; then
                   6847:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
                   6848: $as_echo "$SED" >&6; }
                   6849: else
                   6850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6851: $as_echo "no" >&6; }
1.14      bertrand 6852: fi
1.1       bertrand 6853: 
                   6854: 
1.15      bertrand 6855: if test "$SED" = no; then
1.36      bertrand 6856:    as_fn_error $? "Can not find sed !" "$LINENO" 5
1.15      bertrand 6857: fi
1.14      bertrand 6858: 
1.15      bertrand 6859: if test "$TEX_SUPPORT" = guessed; then
                   6860:    POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
1.1       bertrand 6861: 
1.15      bertrand 6862:    # Extract the first word of "tex", so it can be a program name with args.
                   6863: set dummy tex; ac_word=$2
                   6864: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6865: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 6866: if ${ac_cv_prog_TEX+:} false; then :
1.15      bertrand 6867:   $as_echo_n "(cached) " >&6
1.1       bertrand 6868: else
1.15      bertrand 6869:   if test -n "$TEX"; then
                   6870:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
1.1       bertrand 6871: else
1.15      bertrand 6872: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6873: for as_dir in $PATH
                   6874: do
                   6875:   IFS=$as_save_IFS
                   6876:   test -z "$as_dir" && as_dir=.
                   6877:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6878:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6879:     ac_cv_prog_TEX="yes"
                   6880:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6881:     break 2
                   6882:   fi
                   6883: done
                   6884:   done
                   6885: IFS=$as_save_IFS
1.1       bertrand 6886: 
1.15      bertrand 6887:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
1.1       bertrand 6888: fi
                   6889: fi
1.15      bertrand 6890: TEX=$ac_cv_prog_TEX
                   6891: if test -n "$TEX"; then
                   6892:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
                   6893: $as_echo "$TEX" >&6; }
                   6894: else
                   6895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6896: $as_echo "no" >&6; }
1.1       bertrand 6897: fi
1.14      bertrand 6898: 
                   6899: 
1.15      bertrand 6900:    if test "$TEX" = no; then
                   6901:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
                   6902: Download at http://tex.loria.fr/
                   6903: " >&5
                   6904: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
                   6905: Download at http://tex.loria.fr/
                   6906: " >&2;}
                   6907:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   6908:    fi
1.14      bertrand 6909: 
1.15      bertrand 6910:    # Extract the first word of "latex", so it can be a program name with args.
                   6911: set dummy latex; ac_word=$2
                   6912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6913: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 6914: if ${ac_cv_prog_LATEX+:} false; then :
1.15      bertrand 6915:   $as_echo_n "(cached) " >&6
1.1       bertrand 6916: else
1.15      bertrand 6917:   if test -n "$LATEX"; then
                   6918:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
1.1       bertrand 6919: else
1.15      bertrand 6920: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6921: for as_dir in $PATH
                   6922: do
                   6923:   IFS=$as_save_IFS
                   6924:   test -z "$as_dir" && as_dir=.
                   6925:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6926:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6927:     ac_cv_prog_LATEX="yes"
                   6928:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6929:     break 2
                   6930:   fi
                   6931: done
                   6932:   done
                   6933: IFS=$as_save_IFS
1.1       bertrand 6934: 
1.15      bertrand 6935:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
1.1       bertrand 6936: fi
                   6937: fi
1.15      bertrand 6938: LATEX=$ac_cv_prog_LATEX
                   6939: if test -n "$LATEX"; then
                   6940:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
                   6941: $as_echo "$LATEX" >&6; }
                   6942: else
                   6943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6944: $as_echo "no" >&6; }
                   6945: fi
1.14      bertrand 6946: 
1.1       bertrand 6947: 
1.15      bertrand 6948:    if test "$LATEX" = no; then
                   6949:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
                   6950: Download at http://tex.loria.fr/
                   6951: " >&5
                   6952: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
                   6953: Download at http://tex.loria.fr/
                   6954: " >&2;}
                   6955:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   6956:    fi
1.1       bertrand 6957: 
1.15      bertrand 6958:    # Extract the first word of "dvips", so it can be a program name with args.
                   6959: set dummy dvips; ac_word=$2
                   6960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6961: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 6962: if ${ac_cv_prog_DVIPS+:} false; then :
1.15      bertrand 6963:   $as_echo_n "(cached) " >&6
                   6964: else
                   6965:   if test -n "$DVIPS"; then
                   6966:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
                   6967: else
                   6968: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6969: for as_dir in $PATH
                   6970: do
                   6971:   IFS=$as_save_IFS
                   6972:   test -z "$as_dir" && as_dir=.
                   6973:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6974:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6975:     ac_cv_prog_DVIPS="yes"
                   6976:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6977:     break 2
                   6978:   fi
                   6979: done
                   6980:   done
                   6981: IFS=$as_save_IFS
1.1       bertrand 6982: 
1.15      bertrand 6983:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
                   6984: fi
1.1       bertrand 6985: fi
1.15      bertrand 6986: DVIPS=$ac_cv_prog_DVIPS
                   6987: if test -n "$DVIPS"; then
                   6988:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
                   6989: $as_echo "$DVIPS" >&6; }
1.1       bertrand 6990: else
1.15      bertrand 6991:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6992: $as_echo "no" >&6; }
                   6993: fi
1.1       bertrand 6994: 
                   6995: 
1.15      bertrand 6996:    if test "$DVIPS" = no; then
                   6997:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
                   6998: Download at http://tex.loria.fr/
                   6999: " >&5
                   7000: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
                   7001: Download at http://tex.loria.fr/
                   7002: " >&2;}
                   7003:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   7004:    fi
1.1       bertrand 7005: 
1.15      bertrand 7006:    # Extract the first word of "gs", so it can be a program name with args.
                   7007: set dummy gs; ac_word=$2
                   7008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7009: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 7010: if ${ac_cv_prog_GS+:} false; then :
1.15      bertrand 7011:   $as_echo_n "(cached) " >&6
                   7012: else
                   7013:   if test -n "$GS"; then
                   7014:   ac_cv_prog_GS="$GS" # Let the user override the test.
1.1       bertrand 7015: else
1.15      bertrand 7016: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7017: for as_dir in $PATH
                   7018: do
                   7019:   IFS=$as_save_IFS
                   7020:   test -z "$as_dir" && as_dir=.
                   7021:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7022:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7023:     ac_cv_prog_GS="yes"
                   7024:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7025:     break 2
                   7026:   fi
                   7027: done
                   7028:   done
                   7029: IFS=$as_save_IFS
1.1       bertrand 7030: 
1.15      bertrand 7031:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
                   7032: fi
                   7033: fi
                   7034: GS=$ac_cv_prog_GS
                   7035: if test -n "$GS"; then
                   7036:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
                   7037: $as_echo "$GS" >&6; }
                   7038: else
                   7039:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7040: $as_echo "no" >&6; }
1.1       bertrand 7041: fi
                   7042: 
1.15      bertrand 7043: 
                   7044:    if test "$GS" = no; then
                   7045:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
                   7046: Download at http://ftp.lip6.fr/
                   7047: " >&5
                   7048: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
                   7049: Download at http://ftp.lip6.fr/
                   7050: " >&2;}
                   7051:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   7052:    fi
                   7053: 
                   7054:    # Extract the first word of "gv", so it can be a program name with args.
                   7055: set dummy gv; ac_word=$2
                   7056: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7057: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 7058: if ${ac_cv_prog_GV+:} false; then :
1.15      bertrand 7059:   $as_echo_n "(cached) " >&6
                   7060: else
                   7061:   if test -n "$GV"; then
                   7062:   ac_cv_prog_GV="$GV" # Let the user override the test.
                   7063: else
                   7064: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7065: for as_dir in $PATH
                   7066: do
                   7067:   IFS=$as_save_IFS
                   7068:   test -z "$as_dir" && as_dir=.
                   7069:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7070:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7071:     ac_cv_prog_GV="yes"
                   7072:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7073:     break 2
                   7074:   fi
                   7075: done
1.14      bertrand 7076:   done
1.15      bertrand 7077: IFS=$as_save_IFS
1.1       bertrand 7078: 
1.15      bertrand 7079:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
                   7080: fi
1.1       bertrand 7081: fi
1.15      bertrand 7082: GV=$ac_cv_prog_GV
                   7083: if test -n "$GV"; then
                   7084:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
                   7085: $as_echo "$GV" >&6; }
                   7086: else
                   7087:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7088: $as_echo "no" >&6; }
1.1       bertrand 7089: fi
1.14      bertrand 7090: 
                   7091: 
1.15      bertrand 7092:    if test "$GV" = no; then
                   7093:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
                   7094: Download at http://ftp.lip6.fr/
                   7095: " >&5
                   7096: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
                   7097: Download at http://ftp.lip6.fr/
                   7098: " >&2;}
                   7099:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   7100:    fi
1.1       bertrand 7101: else
1.15      bertrand 7102:    if test "$TEX_SUPPORT" = no; then
                   7103:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
                   7104:    else
                   7105:        POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
                   7106:    fi
1.1       bertrand 7107: fi
                   7108: 
1.15      bertrand 7109: if test "$GNUPLOT_SUPPORT" = guessed; then
                   7110:    # Extract the first word of "gnuplot", so it can be a program name with args.
                   7111: set dummy gnuplot; ac_word=$2
                   7112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7113: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 7114: if ${ac_cv_prog_GNUPLOT_P+:} false; then :
1.15      bertrand 7115:   $as_echo_n "(cached) " >&6
1.14      bertrand 7116: else
1.15      bertrand 7117:   if test -n "$GNUPLOT_P"; then
                   7118:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
1.1       bertrand 7119: else
1.15      bertrand 7120: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7121: for as_dir in $PATH
                   7122: do
                   7123:   IFS=$as_save_IFS
                   7124:   test -z "$as_dir" && as_dir=.
                   7125:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7126:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7127:     ac_cv_prog_GNUPLOT_P="yes"
                   7128:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7129:     break 2
                   7130:   fi
                   7131: done
                   7132:   done
                   7133: IFS=$as_save_IFS
1.1       bertrand 7134: 
1.15      bertrand 7135:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
1.1       bertrand 7136: fi
                   7137: fi
1.15      bertrand 7138: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
                   7139: if test -n "$GNUPLOT_P"; then
                   7140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
                   7141: $as_echo "$GNUPLOT_P" >&6; }
                   7142: else
                   7143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7144: $as_echo "no" >&6; }
1.1       bertrand 7145: fi
                   7146: 
                   7147: 
1.15      bertrand 7148:    if test "$GNUPLOT_P" = no; then
                   7149:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
                   7150: Download at http://www.gnuplot.vt.edu/
                   7151: " >&5
                   7152: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
                   7153: Download at http://www.gnuplot.vt.edu/
                   7154: " >&2;}
                   7155:        GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
                   7156:    else
                   7157:        GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
                   7158:    fi
                   7159: else
                   7160:    if test "$GNUPLOT_SUPPORT" = no; then
                   7161:        GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
                   7162:    else
                   7163:        GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
                   7164:    fi
                   7165: fi
1.1       bertrand 7166: 
1.15      bertrand 7167: if test "$VIM_SUPPORT" = guessed; then
                   7168:    # Extract the first word of "vim", so it can be a program name with args.
                   7169: set dummy vim; ac_word=$2
                   7170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7171: $as_echo_n "checking for $ac_word... " >&6; }
1.105     bertrand 7172: if ${ac_cv_prog_VIM+:} false; then :
1.15      bertrand 7173:   $as_echo_n "(cached) " >&6
1.1       bertrand 7174: else
1.15      bertrand 7175:   if test -n "$VIM"; then
                   7176:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
1.1       bertrand 7177: else
1.15      bertrand 7178: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7179: for as_dir in $PATH
                   7180: do
                   7181:   IFS=$as_save_IFS
                   7182:   test -z "$as_dir" && as_dir=.
                   7183:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7184:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7185:     ac_cv_prog_VIM="yes"
                   7186:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7187:     break 2
                   7188:   fi
                   7189: done
                   7190:   done
                   7191: IFS=$as_save_IFS
1.1       bertrand 7192: 
1.15      bertrand 7193:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
1.1       bertrand 7194: fi
                   7195: fi
1.15      bertrand 7196: VIM=$ac_cv_prog_VIM
                   7197: if test -n "$VIM"; then
                   7198:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
                   7199: $as_echo "$VIM" >&6; }
1.1       bertrand 7200: else
1.15      bertrand 7201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7202: $as_echo "no" >&6; }
                   7203: fi
1.1       bertrand 7204: 
                   7205: 
1.15      bertrand 7206:    if test "$VIM" = no; then
                   7207:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
                   7208: Download at http://www.vim.org/
                   7209: " >&5
                   7210: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
                   7211: Download at http://www.vim.org/
                   7212: " >&2;}
                   7213:        VIM_SUPPORT="-UVIM_SUPPORT"
1.102     bertrand 7214:        DEBVIM=
1.15      bertrand 7215:    else
                   7216:        VIM_SUPPORT="-DVIM_SUPPORT"
1.104     bertrand 7217:        DEBVIM=", vim"
1.15      bertrand 7218:    fi
1.1       bertrand 7219: else
1.15      bertrand 7220:    if test "$VIM_SUPPORT" = no; then
                   7221:        VIM_SUPPORT="-UVIM_SUPPORT"
1.102     bertrand 7222:        DEBVIM=
1.15      bertrand 7223:    else
                   7224:        VIM_SUPPORT="-DVIM_SUPPORT"
1.104     bertrand 7225:        DEBVIM=", vim"
1.15      bertrand 7226:    fi
1.1       bertrand 7227: fi
                   7228: 
1.14      bertrand 7229: 
                   7230: 
1.1       bertrand 7231: 
                   7232: 
1.15      bertrand 7233: 
                   7234: 
                   7235: 
                   7236: 
                   7237: 
                   7238: 
                   7239: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
                   7240: 
                   7241: 
                   7242: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
                   7243: $as_echo_n "checking for main in -lm... " >&6; }
1.105     bertrand 7244: if ${ac_cv_lib_m_main+:} false; then :
1.15      bertrand 7245:   $as_echo_n "(cached) " >&6
1.1       bertrand 7246: else
1.15      bertrand 7247:   ac_check_lib_save_LIBS=$LIBS
                   7248: LIBS="-lm  $LIBS"
                   7249: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7250: /* end confdefs.h.  */
1.15      bertrand 7251: 
                   7252: 
1.1       bertrand 7253: int
                   7254: main ()
                   7255: {
1.15      bertrand 7256: return main ();
1.1       bertrand 7257:   ;
                   7258:   return 0;
                   7259: }
                   7260: _ACEOF
1.15      bertrand 7261: if ac_fn_c_try_link "$LINENO"; then :
                   7262:   ac_cv_lib_m_main=yes
1.1       bertrand 7263: else
1.15      bertrand 7264:   ac_cv_lib_m_main=no
                   7265: fi
                   7266: rm -f core conftest.err conftest.$ac_objext \
                   7267:     conftest$ac_exeext conftest.$ac_ext
                   7268: LIBS=$ac_check_lib_save_LIBS
                   7269: fi
                   7270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
                   7271: $as_echo "$ac_cv_lib_m_main" >&6; }
1.105     bertrand 7272: if test "x$ac_cv_lib_m_main" = xyes; then :
1.15      bertrand 7273:   cat >>confdefs.h <<_ACEOF
                   7274: #define HAVE_LIBM 1
                   7275: _ACEOF
1.14      bertrand 7276: 
1.15      bertrand 7277:   LIBS="-lm $LIBS"
1.1       bertrand 7278: 
1.15      bertrand 7279: else
1.36      bertrand 7280:   as_fn_error $? "Can not find libm !" "$LINENO" 5
1.1       bertrand 7281: fi
                   7282: 
1.87      bertrand 7283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5
                   7284: $as_echo_n "checking for pthread_mutex_init in -lc... " >&6; }
1.105     bertrand 7285: if ${ac_cv_lib_c_pthread_mutex_init+:} false; then :
1.87      bertrand 7286:   $as_echo_n "(cached) " >&6
                   7287: else
                   7288:   ac_check_lib_save_LIBS=$LIBS
                   7289: LIBS="-lc  $LIBS"
                   7290: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7291: /* end confdefs.h.  */
                   7292: 
                   7293: /* Override any GCC internal prototype to avoid an error.
                   7294:    Use char because int might match the return type of a GCC
                   7295:    builtin and then its argument prototype would still apply.  */
                   7296: #ifdef __cplusplus
                   7297: extern "C"
                   7298: #endif
                   7299: char pthread_mutex_init ();
                   7300: int
                   7301: main ()
                   7302: {
                   7303: return pthread_mutex_init ();
                   7304:   ;
                   7305:   return 0;
                   7306: }
                   7307: _ACEOF
                   7308: if ac_fn_c_try_link "$LINENO"; then :
                   7309:   ac_cv_lib_c_pthread_mutex_init=yes
                   7310: else
                   7311:   ac_cv_lib_c_pthread_mutex_init=no
                   7312: fi
                   7313: rm -f core conftest.err conftest.$ac_objext \
                   7314:     conftest$ac_exeext conftest.$ac_ext
                   7315: LIBS=$ac_check_lib_save_LIBS
                   7316: fi
                   7317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5
                   7318: $as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; }
1.105     bertrand 7319: if test "x$ac_cv_lib_c_pthread_mutex_init" = xyes; then :
1.87      bertrand 7320:   cat >>confdefs.h <<_ACEOF
                   7321: #define HAVE_LIBC 1
                   7322: _ACEOF
                   7323: 
                   7324:   LIBS="-lc $LIBS"
                   7325: 
                   7326: else
                   7327:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
1.15      bertrand 7328: $as_echo_n "checking for main in -lpthread... " >&6; }
1.105     bertrand 7329: if ${ac_cv_lib_pthread_main+:} false; then :
1.15      bertrand 7330:   $as_echo_n "(cached) " >&6
1.1       bertrand 7331: else
1.15      bertrand 7332:   ac_check_lib_save_LIBS=$LIBS
                   7333: LIBS="-lpthread  $LIBS"
                   7334: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7335: /* end confdefs.h.  */
1.15      bertrand 7336: 
                   7337: 
1.14      bertrand 7338: int
                   7339: main ()
                   7340: {
1.15      bertrand 7341: return main ();
1.14      bertrand 7342:   ;
                   7343:   return 0;
                   7344: }
                   7345: _ACEOF
1.15      bertrand 7346: if ac_fn_c_try_link "$LINENO"; then :
                   7347:   ac_cv_lib_pthread_main=yes
                   7348: else
                   7349:   ac_cv_lib_pthread_main=no
                   7350: fi
                   7351: rm -f core conftest.err conftest.$ac_objext \
                   7352:     conftest$ac_exeext conftest.$ac_ext
                   7353: LIBS=$ac_check_lib_save_LIBS
                   7354: fi
                   7355: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
                   7356: $as_echo "$ac_cv_lib_pthread_main" >&6; }
1.105     bertrand 7357: if test "x$ac_cv_lib_pthread_main" = xyes; then :
1.15      bertrand 7358:   cat >>confdefs.h <<_ACEOF
                   7359: #define HAVE_LIBPTHREAD 1
1.14      bertrand 7360: _ACEOF
                   7361: 
1.15      bertrand 7362:   LIBS="-lpthread $LIBS"
                   7363: 
1.1       bertrand 7364: else
1.36      bertrand 7365:   as_fn_error $? "Can not find libpthread !" "$LINENO" 5
1.15      bertrand 7366: fi
1.14      bertrand 7367: 
1.87      bertrand 7368: fi
                   7369: 
1.1       bertrand 7370: 
1.33      bertrand 7371: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
                   7372: #include <sys/sem.h>
                   7373: 
                   7374: "
1.105     bertrand 7375: if test "x$ac_cv_type_union_semun" = xyes; then :
1.33      bertrand 7376:   SEMUN=-DUNION_SEMUN
                   7377: else
                   7378:   SEMUN=-UUNION_SEMUN
                   7379: fi
                   7380: 
                   7381: 
1.34      bertrand 7382: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
1.35      bertrand 7383: #include <sys/types.h>
1.34      bertrand 7384: #include <netinet/in.h>
                   7385: 
                   7386: "
1.105     bertrand 7387: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
1.34      bertrand 7388:   IPV6=-DIPV6
                   7389: else
                   7390:   IPV6=-UIPV6
                   7391: fi
                   7392: 
                   7393: 
1.15      bertrand 7394: if test "$CYGWIN" != yes; then
                   7395:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   7396: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.105     bertrand 7397: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.15      bertrand 7398:   $as_echo_n "(cached) " >&6
1.1       bertrand 7399: else
1.15      bertrand 7400:   ac_check_lib_save_LIBS=$LIBS
                   7401: LIBS="-ldl  $LIBS"
                   7402: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7403: /* end confdefs.h.  */
                   7404: 
1.15      bertrand 7405: /* Override any GCC internal prototype to avoid an error.
                   7406:    Use char because int might match the return type of a GCC
                   7407:    builtin and then its argument prototype would still apply.  */
                   7408: #ifdef __cplusplus
                   7409: extern "C"
                   7410: #endif
                   7411: char dlopen ();
1.1       bertrand 7412: int
                   7413: main ()
                   7414: {
1.15      bertrand 7415: return dlopen ();
1.1       bertrand 7416:   ;
                   7417:   return 0;
                   7418: }
                   7419: _ACEOF
1.15      bertrand 7420: if ac_fn_c_try_link "$LINENO"; then :
                   7421:   ac_cv_lib_dl_dlopen=yes
1.1       bertrand 7422: else
1.15      bertrand 7423:   ac_cv_lib_dl_dlopen=no
                   7424: fi
                   7425: rm -f core conftest.err conftest.$ac_objext \
                   7426:     conftest$ac_exeext conftest.$ac_ext
                   7427: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 7428: fi
1.15      bertrand 7429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   7430: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.105     bertrand 7431: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.15      bertrand 7432:   LIBS="$LIBS -ldl"
1.14      bertrand 7433: else
1.15      bertrand 7434:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
                   7435: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
1.1       bertrand 7436: fi
                   7437: 
1.14      bertrand 7438: fi
1.1       bertrand 7439: 
1.15      bertrand 7440: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
                   7441: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
1.105     bertrand 7442: if ${ac_cv_lib_rt_nanosleep+:} false; then :
1.15      bertrand 7443:   $as_echo_n "(cached) " >&6
                   7444: else
                   7445:   ac_check_lib_save_LIBS=$LIBS
                   7446: LIBS="-lrt  $LIBS"
                   7447: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7448: /* end confdefs.h.  */
1.15      bertrand 7449: 
                   7450: /* Override any GCC internal prototype to avoid an error.
                   7451:    Use char because int might match the return type of a GCC
                   7452:    builtin and then its argument prototype would still apply.  */
                   7453: #ifdef __cplusplus
                   7454: extern "C"
                   7455: #endif
                   7456: char nanosleep ();
1.1       bertrand 7457: int
                   7458: main ()
                   7459: {
1.15      bertrand 7460: return nanosleep ();
1.1       bertrand 7461:   ;
                   7462:   return 0;
                   7463: }
                   7464: _ACEOF
1.15      bertrand 7465: if ac_fn_c_try_link "$LINENO"; then :
                   7466:   ac_cv_lib_rt_nanosleep=yes
                   7467: else
                   7468:   ac_cv_lib_rt_nanosleep=no
                   7469: fi
                   7470: rm -f core conftest.err conftest.$ac_objext \
                   7471:     conftest$ac_exeext conftest.$ac_ext
                   7472: LIBS=$ac_check_lib_save_LIBS
                   7473: fi
                   7474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
                   7475: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
1.105     bertrand 7476: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
1.15      bertrand 7477:   LIBS="$LIBS -lrt"
1.1       bertrand 7478: else
1.15      bertrand 7479:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
                   7480: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
                   7481: fi
1.1       bertrand 7482: 
                   7483: 
1.15      bertrand 7484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
                   7485: $as_echo_n "checking for bind in -lsocket... " >&6; }
1.105     bertrand 7486: if ${ac_cv_lib_socket_bind+:} false; then :
1.15      bertrand 7487:   $as_echo_n "(cached) " >&6
1.1       bertrand 7488: else
1.15      bertrand 7489:   ac_check_lib_save_LIBS=$LIBS
                   7490: LIBS="-lsocket  $LIBS"
                   7491: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7492: /* end confdefs.h.  */
1.15      bertrand 7493: 
                   7494: /* Override any GCC internal prototype to avoid an error.
                   7495:    Use char because int might match the return type of a GCC
                   7496:    builtin and then its argument prototype would still apply.  */
                   7497: #ifdef __cplusplus
                   7498: extern "C"
                   7499: #endif
                   7500: char bind ();
1.1       bertrand 7501: int
                   7502: main ()
                   7503: {
1.15      bertrand 7504: return bind ();
1.1       bertrand 7505:   ;
                   7506:   return 0;
                   7507: }
                   7508: _ACEOF
1.15      bertrand 7509: if ac_fn_c_try_link "$LINENO"; then :
                   7510:   ac_cv_lib_socket_bind=yes
1.1       bertrand 7511: else
1.15      bertrand 7512:   ac_cv_lib_socket_bind=no
1.1       bertrand 7513: fi
1.15      bertrand 7514: rm -f core conftest.err conftest.$ac_objext \
                   7515:     conftest$ac_exeext conftest.$ac_ext
                   7516: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 7517: fi
1.15      bertrand 7518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
                   7519: $as_echo "$ac_cv_lib_socket_bind" >&6; }
1.105     bertrand 7520: if test "x$ac_cv_lib_socket_bind" = xyes; then :
1.15      bertrand 7521:   LIBS="$LIBS -lsocket"
                   7522: else
                   7523:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
                   7524: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
1.1       bertrand 7525: fi
                   7526: 
                   7527: 
1.15      bertrand 7528: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7529: 
                   7530: # Check whether --with-mysql was given.
                   7531: if test "${with_mysql+set}" = set; then :
                   7532:   withval=$with_mysql;
                   7533: else
                   7534:   with_mysql=check
                   7535: fi
1.14      bertrand 7536: 
                   7537: 
1.15      bertrand 7538: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
                   7539:    libMySQLinc="-I/usr/include"
1.30      bertrand 7540:    libMySQLlib="/usr/lib"
1.14      bertrand 7541: 
1.15      bertrand 7542:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
                   7543: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
                   7544:    saved_CFLAGS="$CFLAGS"
1.30      bertrand 7545:    CFLAGS="$CFLAGS -L/$libMySQLinc"
1.15      bertrand 7546:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7547: /* end confdefs.h.  */
1.15      bertrand 7548: #include "mysql.h"
1.1       bertrand 7549: int
                   7550: main ()
                   7551: {
1.15      bertrand 7552: 
1.1       bertrand 7553:   ;
                   7554:   return 0;
                   7555: }
                   7556: _ACEOF
1.15      bertrand 7557: if ac_fn_c_try_compile "$LINENO"; then :
                   7558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7559: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7560:                    libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7561: else
1.15      bertrand 7562:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7563: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.1       bertrand 7564: fi
1.14      bertrand 7565: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7566:    CFLAGS=$saved_CFLAGS
1.1       bertrand 7567: 
1.15      bertrand 7568:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                   7569:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
                   7570: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
                   7571:        saved_CFLAGS="$CFLAGS"
                   7572:        CFLAGS="$CFLAGS $libMySQLinc/mysql"
                   7573:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7574: /* end confdefs.h.  */
1.15      bertrand 7575: #include "mysql.h"
1.1       bertrand 7576: int
                   7577: main ()
                   7578: {
                   7579: 
                   7580:   ;
                   7581:   return 0;
                   7582: }
                   7583: _ACEOF
1.15      bertrand 7584: if ac_fn_c_try_compile "$LINENO"; then :
                   7585:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7586: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7587:                        libMySQLinc=$libMySQLinc
                   7588: else
                   7589:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7590: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7591: fi
                   7592: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7593:        CFLAGS=$saved_CFLAGS
                   7594:        libMySQLinc=$libMySQLinc/mysql
                   7595:    fi
                   7596: 
                   7597:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                   7598:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
                   7599: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
                   7600:        saved_CFLAGS="$CFLAGS"
                   7601:        CFLAGS="$CFLAGS $libMySQLinc/../local/include"
                   7602:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7603: /* end confdefs.h.  */
1.15      bertrand 7604: #include "mysql.h"
1.1       bertrand 7605: int
                   7606: main ()
                   7607: {
                   7608: 
                   7609:   ;
                   7610:   return 0;
                   7611: }
                   7612: _ACEOF
1.15      bertrand 7613: if ac_fn_c_try_compile "$LINENO"; then :
                   7614:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7615: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7616:                        libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7617: else
1.15      bertrand 7618:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7619: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.1       bertrand 7620: fi
                   7621: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7622:        CFLAGS=$saved_CFLAGS
                   7623:        libMySQLinc=$libMySQLinc/../local/include
                   7624:        libMySQLlib=$libMySQLlib/../local/lib
                   7625:    fi
1.1       bertrand 7626: 
1.15      bertrand 7627:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                   7628:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
                   7629: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
                   7630:        saved_CFLAGS="$CFLAGS"
                   7631:        CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
                   7632:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7633: /* end confdefs.h.  */
1.15      bertrand 7634: #include "mysql.h"
1.1       bertrand 7635: int
                   7636: main ()
                   7637: {
                   7638: 
                   7639:   ;
                   7640:   return 0;
                   7641: }
                   7642: _ACEOF
1.15      bertrand 7643: if ac_fn_c_try_compile "$LINENO"; then :
                   7644:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7645: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7646:                        libMySQLinc=$libMySQLinc/mysql
                   7647: else
                   7648:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7649: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7650: fi
                   7651: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7652:        CFLAGS=$saved_CFLAGS
                   7653:        libMySQLinc=$libMySQLinc/../local/include/mysql
                   7654:        libMySQLlib=$libMySQLlib/../local/lib
                   7655:    fi
                   7656: else
                   7657:    if test "x$with_mysql" != xno; then
                   7658:        libMySQLinc="-I$with_mysql/include"
1.30      bertrand 7659:        libMySQLlib="$with_mysql/lib"
1.15      bertrand 7660: 
                   7661:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
                   7662: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
                   7663:        saved_CFLAGS="$CFLAGS"
                   7664:        CFLAGS="$CFLAGS $libMySQLinc"
                   7665:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7666: /* end confdefs.h.  */
1.15      bertrand 7667: #include "mysql.h"
1.1       bertrand 7668: int
                   7669: main ()
                   7670: {
                   7671: 
                   7672:   ;
                   7673:   return 0;
                   7674: }
                   7675: _ACEOF
1.15      bertrand 7676: if ac_fn_c_try_compile "$LINENO"; then :
                   7677:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7678: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7679:                        libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7680: else
1.15      bertrand 7681:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7682: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.14      bertrand 7683: fi
                   7684: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7685:        CFLAGS=$saved_CFLAGS
1.1       bertrand 7686: 
1.15      bertrand 7687:        if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
                   7688:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
                   7689: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
                   7690:            saved_CFLAGS="$CFLAGS"
                   7691:            CFLAGS="$CFLAGS $libMySQLinc/mysql"
                   7692:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7693: /* end confdefs.h.  */
1.15      bertrand 7694: #include "mysql.h"
1.1       bertrand 7695: int
                   7696: main ()
                   7697: {
                   7698: 
                   7699:   ;
                   7700:   return 0;
                   7701: }
                   7702: _ACEOF
1.15      bertrand 7703: if ac_fn_c_try_compile "$LINENO"; then :
                   7704:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7705: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
                   7706:                            libMySQLinc=$libMySQLinc
1.1       bertrand 7707: else
1.15      bertrand 7708:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7709: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7710: fi
                   7711: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7712:            CFLAGS=$saved_CFLAGS
                   7713:            libMySQLinc=$libMySQLinc/mysql
                   7714:        fi
                   7715:    else
                   7716:        MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7717:    fi
                   7718: fi
1.14      bertrand 7719: 
1.15      bertrand 7720: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
                   7721:    MYSQL_LIB=no
1.14      bertrand 7722: 
1.102     bertrand 7723: 
1.15      bertrand 7724:    if test $MYSQL_LIB = no; then
                   7725:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
                   7726: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
                   7727:        saved_LIBS="$LIBS"
1.30      bertrand 7728:        if test $STATIC = no; then
                   7729:            LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
                   7730:        else
                   7731:            LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
                   7732:        fi
1.15      bertrand 7733:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7734: /* end confdefs.h.  */
1.15      bertrand 7735: #include "mysql.h"
1.1       bertrand 7736: int
                   7737: main ()
                   7738: {
1.15      bertrand 7739: MYSQL mysql; mysql_init(&mysql);
1.1       bertrand 7740:   ;
                   7741:   return 0;
                   7742: }
                   7743: _ACEOF
1.15      bertrand 7744: if ac_fn_c_try_link "$LINENO"; then :
                   7745:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7746: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
1.1       bertrand 7747: else
1.15      bertrand 7748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7749: $as_echo "no" >&6; }; MYSQL_LIB="no"
                   7750: fi
                   7751: rm -f core conftest.err conftest.$ac_objext \
                   7752:     conftest$ac_exeext conftest.$ac_ext
                   7753:        LIBS=$saved_LIBS;
1.30      bertrand 7754:        if test $STATIC = no; then
                   7755:            libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
                   7756:        else
                   7757:            libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
                   7758:            EXT_SQL="$EXT_SQL $libMySQLlib"
                   7759:        fi
1.15      bertrand 7760:    fi
1.14      bertrand 7761: 
1.15      bertrand 7762:    if test $MYSQL_LIB = no; then
                   7763:        MYSQL_SUPPORT="-UMYSQL_SUPPORT"
                   7764:    fi
1.14      bertrand 7765: fi
1.15      bertrand 7766: 
1.102     bertrand 7767: DEBMYSQL=
                   7768: 
1.15      bertrand 7769: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
                   7770:    libMySQLinc=
                   7771:    libMySQLlib=
1.102     bertrand 7772: else
1.103     bertrand 7773:    DEBMYSQL=", libmysqlclient18"
1.1       bertrand 7774: fi
1.14      bertrand 7775: 
                   7776: 
                   7777: 
1.1       bertrand 7778: 
                   7779: 
1.15      bertrand 7780: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
                   7781: 
                   7782: # Check whether --with-postgresql was given.
                   7783: if test "${with_postgresql+set}" = set; then :
                   7784:   withval=$with_postgresql;
1.14      bertrand 7785: else
1.15      bertrand 7786:   with_postgresql=check
                   7787: fi
                   7788: 
                   7789: 
                   7790: # with_postgresql : check [pas défini], yes [uniquement --with],
                   7791: # no [--without], valeur [--with=valeur].
                   7792: 
                   7793: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
                   7794:    libPgSQLinc="-I/usr/include"
1.30      bertrand 7795:    libPgSQLlib="/usr/lib"
1.15      bertrand 7796: 
                   7797:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
                   7798: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
                   7799:    saved_CFLAGS="$CFLAGS"
                   7800:    CFLAGS="$CFLAGS $libPgSQLinc"
                   7801:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7802: /* end confdefs.h.  */
1.15      bertrand 7803: #include "libpq-fe.h"
1.1       bertrand 7804: int
                   7805: main ()
                   7806: {
1.15      bertrand 7807: 
1.1       bertrand 7808:   ;
                   7809:   return 0;
                   7810: }
                   7811: _ACEOF
1.15      bertrand 7812: if ac_fn_c_try_compile "$LINENO"; then :
                   7813:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7814: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7815: else
1.15      bertrand 7816:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7817: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7818: fi
1.14      bertrand 7819: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7820:    CFLAGS=$saved_CFLAGS
1.1       bertrand 7821: 
1.15      bertrand 7822:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7823:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
                   7824: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
                   7825:        saved_CFLAGS="$CFLAGS"
                   7826:        CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
                   7827:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7828: /* end confdefs.h.  */
1.15      bertrand 7829: #include "libpq-fe.h"
1.1       bertrand 7830: int
                   7831: main ()
                   7832: {
                   7833: 
                   7834:   ;
                   7835:   return 0;
                   7836: }
                   7837: _ACEOF
1.15      bertrand 7838: if ac_fn_c_try_compile "$LINENO"; then :
                   7839:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7840: $as_echo "yes" >&6; };
                   7841:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
                   7842: else
                   7843:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7844: $as_echo "no" >&6; };
                   7845:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
                   7846: fi
                   7847: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7848:        CFLAGS=$saved_CFLAGS
                   7849:        libPgSQLinc=$libPgSQLinc/postgresql
                   7850:    fi
                   7851: 
                   7852:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7853:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
                   7854: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
                   7855:        saved_CFLAGS="$CFLAGS"
                   7856:        CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
                   7857:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7858: /* end confdefs.h.  */
1.15      bertrand 7859: #include "libpq-fe.h"
1.1       bertrand 7860: int
                   7861: main ()
                   7862: {
                   7863: 
                   7864:   ;
                   7865:   return 0;
                   7866: }
                   7867: _ACEOF
1.15      bertrand 7868: if ac_fn_c_try_compile "$LINENO"; then :
                   7869:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7870: $as_echo "yes" >&6; };
                   7871:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7872: else
1.15      bertrand 7873:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7874: $as_echo "no" >&6; };
                   7875:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7876: fi
                   7877: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7878:        CFLAGS=$saved_CFLAGS
                   7879:        libPgSQLinc=$libPgSQLinc/pgsql
                   7880:    fi
1.1       bertrand 7881: 
1.15      bertrand 7882:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7883:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
                   7884: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
                   7885:        saved_CFLAGS="$CFLAGS"
                   7886:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
                   7887:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7888: /* end confdefs.h.  */
1.15      bertrand 7889: #include "libpq-fe.h"
1.1       bertrand 7890: int
                   7891: main ()
                   7892: {
                   7893: 
                   7894:   ;
                   7895:   return 0;
                   7896: }
                   7897: _ACEOF
1.15      bertrand 7898: if ac_fn_c_try_compile "$LINENO"; then :
                   7899:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7900: $as_echo "yes" >&6; };
                   7901:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
                   7902: else
                   7903:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7904: $as_echo "no" >&6; };
                   7905:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
                   7906: fi
                   7907: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7908:        CFLAGS=$saved_CFLAGS
                   7909:        libPgSQLinc=$libPgSQLinc/../local/include
                   7910:        libPgSQLlib=$libPgSQLlib/../local/lib
                   7911:    fi
                   7912: 
                   7913:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7914:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
                   7915: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
                   7916:        saved_CFLAGS="$CFLAGS"
                   7917:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
                   7918:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7919: /* end confdefs.h.  */
1.15      bertrand 7920: #include "libpq-fe.h"
1.1       bertrand 7921: int
                   7922: main ()
                   7923: {
                   7924: 
                   7925:   ;
                   7926:   return 0;
                   7927: }
                   7928: _ACEOF
1.15      bertrand 7929: if ac_fn_c_try_compile "$LINENO"; then :
                   7930:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7931: $as_echo "yes" >&6; };
                   7932:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.14      bertrand 7933: else
1.15      bertrand 7934:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7935: $as_echo "no" >&6; };
                   7936:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.14      bertrand 7937: fi
                   7938: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7939:        CFLAGS=$saved_CFLAGS
                   7940:        libPgSQLinc=$libPgSQLinc/../local/include/postgresql
                   7941:        libPgSQLlib=$libPgSQLlib/../local/lib
                   7942:    fi
1.14      bertrand 7943: 
1.15      bertrand 7944:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   7945:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
                   7946: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
                   7947:        saved_CFLAGS="$CFLAGS"
                   7948:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
                   7949:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7950: /* end confdefs.h.  */
1.15      bertrand 7951: #include "libpq-fe.h"
1.1       bertrand 7952: int
                   7953: main ()
                   7954: {
                   7955: 
                   7956:   ;
                   7957:   return 0;
                   7958: }
                   7959: _ACEOF
1.15      bertrand 7960: if ac_fn_c_try_compile "$LINENO"; then :
                   7961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7962: $as_echo "yes" >&6; };
                   7963:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7964: else
1.15      bertrand 7965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7966: $as_echo "no" >&6; };
                   7967:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7968: fi
                   7969: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 7970:        CFLAGS=$saved_CFLAGS
                   7971:        libPgSQLinc=$libPgSQLinc/local/include/pgsql
                   7972:        libPgSQLlib=$libPgSQLlib/../local/lib
                   7973:    fi
1.14      bertrand 7974: else
1.15      bertrand 7975:    if test "x$with_postgresql" != xno; then
                   7976:        libPgSQLinc="-I$with_postgresql/include"
1.30      bertrand 7977:        libPgSQLlib="$with_postgresql/lib"
1.15      bertrand 7978: 
                   7979:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
                   7980: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
                   7981:        saved_CFLAGS="$CFLAGS"
                   7982:        CFLAGS="$CFLAGS $libPgSQLinc"
                   7983:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7984: /* end confdefs.h.  */
1.15      bertrand 7985: #include "libpq-fe.h"
1.1       bertrand 7986: int
                   7987: main ()
                   7988: {
                   7989: 
                   7990:   ;
                   7991:   return 0;
                   7992: }
                   7993: _ACEOF
1.15      bertrand 7994: if ac_fn_c_try_compile "$LINENO"; then :
                   7995:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7996: $as_echo "yes" >&6; };
                   7997:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7998: else
1.15      bertrand 7999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8000: $as_echo "no" >&6; };
                   8001:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.14      bertrand 8002: fi
1.15      bertrand 8003: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8004:        CFLAGS=$saved_CFLAGS
1.14      bertrand 8005: 
1.15      bertrand 8006:        if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   8007:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
                   8008: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
                   8009:            saved_CFLAGS="$CFLAGS"
                   8010:            CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
                   8011:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 8012: /* end confdefs.h.  */
1.15      bertrand 8013: #include "libpq-fe.h"
1.1       bertrand 8014: int
                   8015: main ()
                   8016: {
1.15      bertrand 8017: 
1.1       bertrand 8018:   ;
                   8019:   return 0;
                   8020: }
                   8021: _ACEOF
1.15      bertrand 8022: if ac_fn_c_try_compile "$LINENO"; then :
                   8023:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8024: $as_echo "yes" >&6; };
                   8025:                    POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 8026: else
1.15      bertrand 8027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8028: $as_echo "no" >&6; };
                   8029:                    POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 8030: fi
                   8031: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      bertrand 8032:            CFLAGS=$saved_CFLAGS
                   8033:            libPgSQLinc=$libPgSQLinc/postgresql
                   8034:        fi
1.14      bertrand 8035: 
1.15      bertrand 8036:        if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
                   8037:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
                   8038: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
                   8039:            saved_CFLAGS="$CFLAGS"
                   8040:            CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
                   8041:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8042: /* end confdefs.h.  */
1.15      bertrand 8043: #include "libpq-fe.h"
1.1       bertrand 8044: int
                   8045: main ()
                   8046: {
1.15      bertrand 8047: 
1.1       bertrand 8048:   ;
                   8049:   return 0;
                   8050: }
                   8051: _ACEOF
1.15      bertrand 8052: if ac_fn_c_try_compile "$LINENO"; then :
                   8053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8054: $as_echo "yes" >&6; };
                   8055:                    POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 8056: else
1.15      bertrand 8057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8058: $as_echo "no" >&6; };
                   8059:                    POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 8060: fi
1.15      bertrand 8061: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8062:            CFLAGS=$saved_CFLAGS
                   8063:            libPgSQLinc=$libPgSQLinc/pgsql
                   8064:        fi
                   8065:    else
                   8066:        POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
                   8067:    fi
1.1       bertrand 8068: fi
                   8069: 
1.15      bertrand 8070: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
                   8071:    POSTGRESQL_LIB=no
1.1       bertrand 8072: 
1.15      bertrand 8073:    if test $POSTGRESQL_LIB = no; then
                   8074:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
                   8075: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
                   8076:        saved_LIBS="$LIBS"
1.30      bertrand 8077:        if test $STATIC = no; then
                   8078:            LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
                   8079:        else
                   8080:            LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
                   8081:        fi
1.15      bertrand 8082:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8083: /* end confdefs.h.  */
1.15      bertrand 8084: #include "libpq-fe.h"
1.1       bertrand 8085: int
                   8086: main ()
                   8087: {
1.15      bertrand 8088: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
                   8089:             PQconnectdb(conninfo);
1.1       bertrand 8090:   ;
                   8091:   return 0;
                   8092: }
                   8093: _ACEOF
1.15      bertrand 8094: if ac_fn_c_try_link "$LINENO"; then :
                   8095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8096: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
1.1       bertrand 8097: else
1.15      bertrand 8098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8099: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
                   8100: fi
                   8101: rm -f core conftest.err conftest.$ac_objext \
                   8102:     conftest$ac_exeext conftest.$ac_ext
                   8103:        LIBS=$saved_LIBS;
1.30      bertrand 8104:        if test $STATIC = no; then
                   8105:            libPgSQLlib="-L/$libPgSQLlib -lpq"
                   8106:        else
                   8107:            libPgSQLlib="$libPgSQLlib/libpq.a"
                   8108:            EXT_SQL="$EXT_SQL $libPgSQLlib"
                   8109:        fi
1.15      bertrand 8110:    fi
                   8111: fi
                   8112: 
1.102     bertrand 8113: DEBPQ=
                   8114: 
1.15      bertrand 8115: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
                   8116:    libPgSQLinc=
                   8117:    libPgSQLlib=
1.102     bertrand 8118: else
1.103     bertrand 8119:    DEBPQ=", libpq5"
1.15      bertrand 8120: fi
                   8121: 
                   8122: 
                   8123: 
                   8124: 
1.14      bertrand 8125: 
1.40      bertrand 8126: # with_postgresql : check [pas défini], yes [uniquement --with],
                   8127: # no [--without], valeur [--with=valeur].
                   8128: 
                   8129: # Check whether --with-bourne_shell was given.
                   8130: if test "${with_bourne_shell+set}" = set; then :
                   8131:   withval=$with_bourne_shell;
                   8132: else
                   8133:   with_bourne_shell=no
                   8134: fi
                   8135: 
                   8136: 
                   8137: if test "x$with_bourne_shell" = xyes; then
                   8138:    as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
                   8139: fi
                   8140: 
                   8141: if test "x$with_bourne_shell" = xno; then
                   8142:    if test $(uname) = "OS/2"; then
1.86      bertrand 8143:        as_fn_error $? "With OS/2 or eComstation, you have to specify a valide
                   8144: shell path with --with-bourne-shell=PATH !" "$LINENO" 5
1.40      bertrand 8145:    fi
                   8146: 
                   8147:    BSH_PATH=
                   8148: else
                   8149:    if test ! -x $with_bourne_shell; then
                   8150:        as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
                   8151:    fi
                   8152: 
                   8153:    if test $(uname) = "OS/2"; then
1.41      bertrand 8154:        with_os2_bourne_shell=$(echo $with_bourne_shell | \
                   8155:                sed -e '1,$s/\//\\\\\\\\/g')
                   8156:        BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
1.40      bertrand 8157:    else
                   8158:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
                   8159: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
                   8160:        BSH_PATH=
                   8161:    fi
                   8162: fi
                   8163: 
1.15      bertrand 8164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   8165: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.105     bertrand 8166: if ${ac_cv_path_GREP+:} false; then :
1.15      bertrand 8167:   $as_echo_n "(cached) " >&6
                   8168: else
                   8169:   if test -z "$GREP"; then
                   8170:   ac_path_GREP_found=false
                   8171:   # Loop through the user's path and test for each of PROGNAME-LIST
                   8172:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8173: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   8174: do
                   8175:   IFS=$as_save_IFS
                   8176:   test -z "$as_dir" && as_dir=.
                   8177:     for ac_prog in grep ggrep; do
                   8178:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8179:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   8180:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   8181: # Check for GNU ac_path_GREP and select it if it is found.
                   8182:   # Check for GNU $ac_path_GREP
                   8183: case `"$ac_path_GREP" --version 2>&1` in
                   8184: *GNU*)
                   8185:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   8186: *)
                   8187:   ac_count=0
                   8188:   $as_echo_n 0123456789 >"conftest.in"
                   8189:   while :
                   8190:   do
                   8191:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   8192:     mv "conftest.tmp" "conftest.in"
                   8193:     cp "conftest.in" "conftest.nl"
                   8194:     $as_echo 'GREP' >> "conftest.nl"
                   8195:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   8196:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   8197:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   8198:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   8199:       # Best one so far, save it but keep looking for a better one
                   8200:       ac_cv_path_GREP="$ac_path_GREP"
                   8201:       ac_path_GREP_max=$ac_count
                   8202:     fi
                   8203:     # 10*(2^10) chars as input seems more than enough
                   8204:     test $ac_count -gt 10 && break
                   8205:   done
                   8206:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   8207: esac
1.14      bertrand 8208: 
1.15      bertrand 8209:       $ac_path_GREP_found && break 3
                   8210:     done
                   8211:   done
                   8212:   done
                   8213: IFS=$as_save_IFS
                   8214:   if test -z "$ac_cv_path_GREP"; then
1.36      bertrand 8215:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.15      bertrand 8216:   fi
                   8217: else
                   8218:   ac_cv_path_GREP=$GREP
1.1       bertrand 8219: fi
                   8220: 
                   8221: fi
1.15      bertrand 8222: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   8223: $as_echo "$ac_cv_path_GREP" >&6; }
                   8224:  GREP="$ac_cv_path_GREP"
                   8225: 
                   8226: 
                   8227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   8228: $as_echo_n "checking for egrep... " >&6; }
1.105     bertrand 8229: if ${ac_cv_path_EGREP+:} false; then :
1.15      bertrand 8230:   $as_echo_n "(cached) " >&6
                   8231: else
                   8232:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   8233:    then ac_cv_path_EGREP="$GREP -E"
                   8234:    else
                   8235:      if test -z "$EGREP"; then
                   8236:   ac_path_EGREP_found=false
                   8237:   # Loop through the user's path and test for each of PROGNAME-LIST
                   8238:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8239: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   8240: do
                   8241:   IFS=$as_save_IFS
                   8242:   test -z "$as_dir" && as_dir=.
                   8243:     for ac_prog in egrep; do
                   8244:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8245:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   8246:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   8247: # Check for GNU ac_path_EGREP and select it if it is found.
                   8248:   # Check for GNU $ac_path_EGREP
                   8249: case `"$ac_path_EGREP" --version 2>&1` in
                   8250: *GNU*)
                   8251:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   8252: *)
                   8253:   ac_count=0
                   8254:   $as_echo_n 0123456789 >"conftest.in"
                   8255:   while :
                   8256:   do
                   8257:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   8258:     mv "conftest.tmp" "conftest.in"
                   8259:     cp "conftest.in" "conftest.nl"
                   8260:     $as_echo 'EGREP' >> "conftest.nl"
                   8261:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   8262:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   8263:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   8264:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   8265:       # Best one so far, save it but keep looking for a better one
                   8266:       ac_cv_path_EGREP="$ac_path_EGREP"
                   8267:       ac_path_EGREP_max=$ac_count
                   8268:     fi
                   8269:     # 10*(2^10) chars as input seems more than enough
                   8270:     test $ac_count -gt 10 && break
                   8271:   done
                   8272:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   8273: esac
                   8274: 
                   8275:       $ac_path_EGREP_found && break 3
                   8276:     done
                   8277:   done
                   8278:   done
                   8279: IFS=$as_save_IFS
                   8280:   if test -z "$ac_cv_path_EGREP"; then
1.36      bertrand 8281:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.15      bertrand 8282:   fi
1.1       bertrand 8283: else
1.15      bertrand 8284:   ac_cv_path_EGREP=$EGREP
1.1       bertrand 8285: fi
                   8286: 
1.15      bertrand 8287:    fi
1.1       bertrand 8288: fi
1.15      bertrand 8289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   8290: $as_echo "$ac_cv_path_EGREP" >&6; }
                   8291:  EGREP="$ac_cv_path_EGREP"
1.1       bertrand 8292: 
                   8293: 
1.15      bertrand 8294: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8295: $as_echo_n "checking for ANSI C header files... " >&6; }
1.105     bertrand 8296: if ${ac_cv_header_stdc+:} false; then :
1.15      bertrand 8297:   $as_echo_n "(cached) " >&6
1.1       bertrand 8298: else
1.15      bertrand 8299:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8300: /* end confdefs.h.  */
                   8301: #include <stdlib.h>
                   8302: #include <stdarg.h>
                   8303: #include <string.h>
                   8304: #include <float.h>
                   8305: 
                   8306: int
                   8307: main ()
                   8308: {
                   8309: 
                   8310:   ;
                   8311:   return 0;
                   8312: }
                   8313: _ACEOF
1.15      bertrand 8314: if ac_fn_c_try_compile "$LINENO"; then :
1.1       bertrand 8315:   ac_cv_header_stdc=yes
                   8316: else
1.15      bertrand 8317:   ac_cv_header_stdc=no
1.1       bertrand 8318: fi
                   8319: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8320: 
                   8321: if test $ac_cv_header_stdc = yes; then
                   8322:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.15      bertrand 8323:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8324: /* end confdefs.h.  */
                   8325: #include <string.h>
                   8326: 
                   8327: _ACEOF
                   8328: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.15      bertrand 8329:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8330: 
1.1       bertrand 8331: else
                   8332:   ac_cv_header_stdc=no
                   8333: fi
                   8334: rm -f conftest*
                   8335: 
                   8336: fi
                   8337: 
                   8338: if test $ac_cv_header_stdc = yes; then
                   8339:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.15      bertrand 8340:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8341: /* end confdefs.h.  */
                   8342: #include <stdlib.h>
                   8343: 
                   8344: _ACEOF
                   8345: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.15      bertrand 8346:   $EGREP "free" >/dev/null 2>&1; then :
                   8347: 
1.1       bertrand 8348: else
                   8349:   ac_cv_header_stdc=no
                   8350: fi
                   8351: rm -f conftest*
                   8352: 
                   8353: fi
                   8354: 
                   8355: if test $ac_cv_header_stdc = yes; then
                   8356:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.15      bertrand 8357:   if test "$cross_compiling" = yes; then :
1.1       bertrand 8358:   :
                   8359: else
1.15      bertrand 8360:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8361: /* end confdefs.h.  */
                   8362: #include <ctype.h>
                   8363: #include <stdlib.h>
                   8364: #if ((' ' & 0x0FF) == 0x020)
                   8365: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8366: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8367: #else
                   8368: # define ISLOWER(c) \
                   8369:           (('a' <= (c) && (c) <= 'i') \
                   8370:             || ('j' <= (c) && (c) <= 'r') \
                   8371:             || ('s' <= (c) && (c) <= 'z'))
                   8372: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8373: #endif
                   8374: 
                   8375: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8376: int
                   8377: main ()
                   8378: {
                   8379:   int i;
                   8380:   for (i = 0; i < 256; i++)
                   8381:     if (XOR (islower (i), ISLOWER (i))
                   8382:    || toupper (i) != TOUPPER (i))
                   8383:       return 2;
                   8384:   return 0;
                   8385: }
                   8386: _ACEOF
1.15      bertrand 8387: if ac_fn_c_try_run "$LINENO"; then :
                   8388: 
1.14      bertrand 8389: else
1.15      bertrand 8390:   ac_cv_header_stdc=no
                   8391: fi
                   8392: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8393:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8394: fi
1.1       bertrand 8395: 
                   8396: fi
                   8397: fi
1.15      bertrand 8398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8399: $as_echo "$ac_cv_header_stdc" >&6; }
                   8400: if test $ac_cv_header_stdc = yes; then
1.1       bertrand 8401: 
1.15      bertrand 8402: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.14      bertrand 8403: 
1.1       bertrand 8404: fi
                   8405: 
1.15      bertrand 8406: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   8407: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8408:          inttypes.h stdint.h unistd.h
                   8409: do :
                   8410:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8411: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8412: "
1.36      bertrand 8413: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.15      bertrand 8414:   cat >>confdefs.h <<_ACEOF
                   8415: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.14      bertrand 8416: _ACEOF
1.1       bertrand 8417: 
                   8418: fi
                   8419: 
1.15      bertrand 8420: done
                   8421: 
                   8422: 
                   8423: # The cast to long int works around a bug in the HP C Compiler
                   8424: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8425: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8426: # This bug is HP SR number 8606223364.
                   8427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
                   8428: $as_echo_n "checking size of void *... " >&6; }
1.105     bertrand 8429: if ${ac_cv_sizeof_void_p+:} false; then :
1.15      bertrand 8430:   $as_echo_n "(cached) " >&6
                   8431: else
                   8432:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
1.14      bertrand 8433: 
                   8434: else
1.15      bertrand 8435:   if test "$ac_cv_type_void_p" = yes; then
                   8436:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8437: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8438: as_fn_error 77 "cannot compute sizeof (void *)
1.105     bertrand 8439: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8440:    else
                   8441:      ac_cv_sizeof_void_p=0
                   8442:    fi
                   8443: fi
1.1       bertrand 8444: 
                   8445: fi
1.15      bertrand 8446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
                   8447: $as_echo "$ac_cv_sizeof_void_p" >&6; }
                   8448: 
1.1       bertrand 8449: 
                   8450: 
1.15      bertrand 8451: cat >>confdefs.h <<_ACEOF
                   8452: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
1.14      bertrand 8453: _ACEOF
1.1       bertrand 8454: 
1.15      bertrand 8455: 
                   8456: # The cast to long int works around a bug in the HP C Compiler
                   8457: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8458: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8459: # This bug is HP SR number 8606223364.
                   8460: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
                   8461: $as_echo_n "checking size of char... " >&6; }
1.105     bertrand 8462: if ${ac_cv_sizeof_char+:} false; then :
1.15      bertrand 8463:   $as_echo_n "(cached) " >&6
                   8464: else
                   8465:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
                   8466: 
                   8467: else
                   8468:   if test "$ac_cv_type_char" = yes; then
                   8469:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8470: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8471: as_fn_error 77 "cannot compute sizeof (char)
1.105     bertrand 8472: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8473:    else
                   8474:      ac_cv_sizeof_char=0
                   8475:    fi
                   8476: fi
                   8477: 
1.1       bertrand 8478: fi
1.15      bertrand 8479: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
                   8480: $as_echo "$ac_cv_sizeof_char" >&6; }
1.1       bertrand 8481: 
                   8482: 
                   8483: 
1.15      bertrand 8484: cat >>confdefs.h <<_ACEOF
                   8485: #define SIZEOF_CHAR $ac_cv_sizeof_char
                   8486: _ACEOF
1.1       bertrand 8487: 
                   8488: 
1.15      bertrand 8489: # The cast to long int works around a bug in the HP C Compiler
                   8490: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8491: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8492: # This bug is HP SR number 8606223364.
                   8493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
                   8494: $as_echo_n "checking size of short int... " >&6; }
1.105     bertrand 8495: if ${ac_cv_sizeof_short_int+:} false; then :
1.15      bertrand 8496:   $as_echo_n "(cached) " >&6
                   8497: else
                   8498:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
1.1       bertrand 8499: 
1.15      bertrand 8500: else
                   8501:   if test "$ac_cv_type_short_int" = yes; then
                   8502:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8503: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8504: as_fn_error 77 "cannot compute sizeof (short int)
1.105     bertrand 8505: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8506:    else
                   8507:      ac_cv_sizeof_short_int=0
                   8508:    fi
                   8509: fi
1.1       bertrand 8510: 
1.15      bertrand 8511: fi
                   8512: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
                   8513: $as_echo "$ac_cv_sizeof_short_int" >&6; }
1.1       bertrand 8514: 
                   8515: 
                   8516: 
1.15      bertrand 8517: cat >>confdefs.h <<_ACEOF
                   8518: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
                   8519: _ACEOF
1.1       bertrand 8520: 
                   8521: 
1.15      bertrand 8522: # The cast to long int works around a bug in the HP C Compiler
                   8523: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8524: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8525: # This bug is HP SR number 8606223364.
                   8526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
                   8527: $as_echo_n "checking size of int... " >&6; }
1.105     bertrand 8528: if ${ac_cv_sizeof_int+:} false; then :
1.15      bertrand 8529:   $as_echo_n "(cached) " >&6
                   8530: else
                   8531:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
1.1       bertrand 8532: 
1.15      bertrand 8533: else
                   8534:   if test "$ac_cv_type_int" = yes; then
                   8535:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8536: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8537: as_fn_error 77 "cannot compute sizeof (int)
1.105     bertrand 8538: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8539:    else
                   8540:      ac_cv_sizeof_int=0
                   8541:    fi
                   8542: fi
1.1       bertrand 8543: 
1.15      bertrand 8544: fi
                   8545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
                   8546: $as_echo "$ac_cv_sizeof_int" >&6; }
1.1       bertrand 8547: 
                   8548: 
                   8549: 
1.15      bertrand 8550: cat >>confdefs.h <<_ACEOF
                   8551: #define SIZEOF_INT $ac_cv_sizeof_int
                   8552: _ACEOF
1.1       bertrand 8553: 
                   8554: 
1.15      bertrand 8555: # The cast to long int works around a bug in the HP C Compiler
                   8556: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8557: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8558: # This bug is HP SR number 8606223364.
                   8559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
                   8560: $as_echo_n "checking size of long int... " >&6; }
1.105     bertrand 8561: if ${ac_cv_sizeof_long_int+:} false; then :
1.15      bertrand 8562:   $as_echo_n "(cached) " >&6
                   8563: else
                   8564:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
1.1       bertrand 8565: 
1.14      bertrand 8566: else
1.15      bertrand 8567:   if test "$ac_cv_type_long_int" = yes; then
                   8568:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8569: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8570: as_fn_error 77 "cannot compute sizeof (long int)
1.105     bertrand 8571: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8572:    else
                   8573:      ac_cv_sizeof_long_int=0
                   8574:    fi
                   8575: fi
1.1       bertrand 8576: 
                   8577: fi
1.15      bertrand 8578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
                   8579: $as_echo "$ac_cv_sizeof_long_int" >&6; }
                   8580: 
1.1       bertrand 8581: 
                   8582: 
1.15      bertrand 8583: cat >>confdefs.h <<_ACEOF
                   8584: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
1.14      bertrand 8585: _ACEOF
1.15      bertrand 8586: 
                   8587: 
                   8588: # The cast to long int works around a bug in the HP C Compiler
                   8589: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8590: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8591: # This bug is HP SR number 8606223364.
                   8592: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
                   8593: $as_echo_n "checking size of long long int... " >&6; }
1.105     bertrand 8594: if ${ac_cv_sizeof_long_long_int+:} false; then :
1.15      bertrand 8595:   $as_echo_n "(cached) " >&6
                   8596: else
                   8597:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
                   8598: 
1.14      bertrand 8599: else
1.15      bertrand 8600:   if test "$ac_cv_type_long_long_int" = yes; then
                   8601:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8602: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8603: as_fn_error 77 "cannot compute sizeof (long long int)
1.105     bertrand 8604: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8605:    else
                   8606:      ac_cv_sizeof_long_long_int=0
                   8607:    fi
                   8608: fi
1.1       bertrand 8609: 
1.14      bertrand 8610: fi
1.15      bertrand 8611: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
                   8612: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
                   8613: 
                   8614: 
                   8615: 
                   8616: cat >>confdefs.h <<_ACEOF
                   8617: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
                   8618: _ACEOF
1.1       bertrand 8619: 
                   8620: 
1.15      bertrand 8621: # The cast to long int works around a bug in the HP C Compiler
                   8622: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8623: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8624: # This bug is HP SR number 8606223364.
                   8625: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
                   8626: $as_echo_n "checking size of float... " >&6; }
1.105     bertrand 8627: if ${ac_cv_sizeof_float+:} false; then :
1.15      bertrand 8628:   $as_echo_n "(cached) " >&6
                   8629: else
                   8630:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
1.1       bertrand 8631: 
                   8632: else
1.15      bertrand 8633:   if test "$ac_cv_type_float" = yes; then
                   8634:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8635: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8636: as_fn_error 77 "cannot compute sizeof (float)
1.105     bertrand 8637: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8638:    else
                   8639:      ac_cv_sizeof_float=0
                   8640:    fi
1.14      bertrand 8641: fi
                   8642: 
1.1       bertrand 8643: fi
1.15      bertrand 8644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
                   8645: $as_echo "$ac_cv_sizeof_float" >&6; }
                   8646: 
                   8647: 
                   8648: 
                   8649: cat >>confdefs.h <<_ACEOF
                   8650: #define SIZEOF_FLOAT $ac_cv_sizeof_float
1.14      bertrand 8651: _ACEOF
1.1       bertrand 8652: 
                   8653: 
1.15      bertrand 8654: # The cast to long int works around a bug in the HP C Compiler
                   8655: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8656: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8657: # This bug is HP SR number 8606223364.
                   8658: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
                   8659: $as_echo_n "checking size of double... " >&6; }
1.105     bertrand 8660: if ${ac_cv_sizeof_double+:} false; then :
1.15      bertrand 8661:   $as_echo_n "(cached) " >&6
                   8662: else
                   8663:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
1.1       bertrand 8664: 
1.15      bertrand 8665: else
                   8666:   if test "$ac_cv_type_double" = yes; then
                   8667:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8668: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8669: as_fn_error 77 "cannot compute sizeof (double)
1.105     bertrand 8670: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8671:    else
                   8672:      ac_cv_sizeof_double=0
                   8673:    fi
                   8674: fi
1.1       bertrand 8675: 
1.15      bertrand 8676: fi
                   8677: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
                   8678: $as_echo "$ac_cv_sizeof_double" >&6; }
1.14      bertrand 8679: 
1.1       bertrand 8680: 
                   8681: 
1.15      bertrand 8682: cat >>confdefs.h <<_ACEOF
                   8683: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
1.14      bertrand 8684: _ACEOF
1.15      bertrand 8685: 
                   8686: 
                   8687: # The cast to long int works around a bug in the HP C Compiler
                   8688: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8689: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8690: # This bug is HP SR number 8606223364.
                   8691: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
                   8692: $as_echo_n "checking size of long double... " >&6; }
1.105     bertrand 8693: if ${ac_cv_sizeof_long_double+:} false; then :
1.15      bertrand 8694:   $as_echo_n "(cached) " >&6
                   8695: else
                   8696:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
                   8697: 
1.14      bertrand 8698: else
1.15      bertrand 8699:   if test "$ac_cv_type_long_double" = yes; then
                   8700:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8701: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.36      bertrand 8702: as_fn_error 77 "cannot compute sizeof (long double)
1.105     bertrand 8703: See \`config.log' for more details" "$LINENO" 5; }
1.15      bertrand 8704:    else
                   8705:      ac_cv_sizeof_long_double=0
                   8706:    fi
                   8707: fi
1.1       bertrand 8708: 
                   8709: fi
1.15      bertrand 8710: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
                   8711: $as_echo "$ac_cv_sizeof_long_double" >&6; }
                   8712: 
1.1       bertrand 8713: 
                   8714: 
1.15      bertrand 8715: cat >>confdefs.h <<_ACEOF
                   8716: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
1.1       bertrand 8717: _ACEOF
                   8718: 
                   8719: 
1.15      bertrand 8720: 
                   8721: ac_header_dirent=no
                   8722: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   8723:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   8724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   8725: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
1.105     bertrand 8726: if eval \${$as_ac_Header+:} false; then :
1.15      bertrand 8727:   $as_echo_n "(cached) " >&6
1.1       bertrand 8728: else
1.15      bertrand 8729:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 8730: /* end confdefs.h.  */
                   8731: #include <sys/types.h>
1.15      bertrand 8732: #include <$ac_hdr>
1.1       bertrand 8733: 
1.15      bertrand 8734: int
                   8735: main ()
                   8736: {
                   8737: if ((DIR *) 0)
                   8738: return 0;
                   8739:   ;
                   8740:   return 0;
                   8741: }
1.1       bertrand 8742: _ACEOF
1.15      bertrand 8743: if ac_fn_c_try_compile "$LINENO"; then :
                   8744:   eval "$as_ac_Header=yes"
1.1       bertrand 8745: else
1.15      bertrand 8746:   eval "$as_ac_Header=no"
                   8747: fi
                   8748: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 8749: fi
1.15      bertrand 8750: eval ac_res=\$$as_ac_Header
                   8751:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   8752: $as_echo "$ac_res" >&6; }
1.36      bertrand 8753: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.15      bertrand 8754:   cat >>confdefs.h <<_ACEOF
                   8755: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   8756: _ACEOF
1.1       bertrand 8757: 
1.15      bertrand 8758: ac_header_dirent=$ac_hdr; break
1.1       bertrand 8759: fi
                   8760: 
1.15      bertrand 8761: done
                   8762: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   8763: if test $ac_header_dirent = dirent.h; then
                   8764:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   8765: $as_echo_n "checking for library containing opendir... " >&6; }
1.105     bertrand 8766: if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8767:   $as_echo_n "(cached) " >&6
                   8768: else
                   8769:   ac_func_search_save_LIBS=$LIBS
                   8770: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8771: /* end confdefs.h.  */
                   8772: 
                   8773: /* Override any GCC internal prototype to avoid an error.
                   8774:    Use char because int might match the return type of a GCC
                   8775:    builtin and then its argument prototype would still apply.  */
                   8776: #ifdef __cplusplus
                   8777: extern "C"
                   8778: #endif
                   8779: char opendir ();
                   8780: int
                   8781: main ()
                   8782: {
                   8783: return opendir ();
                   8784:   ;
                   8785:   return 0;
                   8786: }
1.14      bertrand 8787: _ACEOF
1.15      bertrand 8788: for ac_lib in '' dir; do
                   8789:   if test -z "$ac_lib"; then
                   8790:     ac_res="none required"
                   8791:   else
                   8792:     ac_res=-l$ac_lib
                   8793:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   8794:   fi
                   8795:   if ac_fn_c_try_link "$LINENO"; then :
                   8796:   ac_cv_search_opendir=$ac_res
                   8797: fi
                   8798: rm -f core conftest.err conftest.$ac_objext \
                   8799:     conftest$ac_exeext
1.105     bertrand 8800:   if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8801:   break
                   8802: fi
                   8803: done
1.105     bertrand 8804: if ${ac_cv_search_opendir+:} false; then :
1.1       bertrand 8805: 
1.15      bertrand 8806: else
                   8807:   ac_cv_search_opendir=no
                   8808: fi
                   8809: rm conftest.$ac_ext
                   8810: LIBS=$ac_func_search_save_LIBS
                   8811: fi
                   8812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   8813: $as_echo "$ac_cv_search_opendir" >&6; }
                   8814: ac_res=$ac_cv_search_opendir
                   8815: if test "$ac_res" != no; then :
                   8816:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.1       bertrand 8817: 
1.14      bertrand 8818: fi
1.1       bertrand 8819: 
                   8820: else
1.15      bertrand 8821:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   8822: $as_echo_n "checking for library containing opendir... " >&6; }
1.105     bertrand 8823: if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8824:   $as_echo_n "(cached) " >&6
                   8825: else
                   8826:   ac_func_search_save_LIBS=$LIBS
                   8827: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8828: /* end confdefs.h.  */
1.15      bertrand 8829: 
                   8830: /* Override any GCC internal prototype to avoid an error.
                   8831:    Use char because int might match the return type of a GCC
                   8832:    builtin and then its argument prototype would still apply.  */
                   8833: #ifdef __cplusplus
                   8834: extern "C"
                   8835: #endif
                   8836: char opendir ();
1.1       bertrand 8837: int
                   8838: main ()
                   8839: {
1.15      bertrand 8840: return opendir ();
1.1       bertrand 8841:   ;
                   8842:   return 0;
                   8843: }
                   8844: _ACEOF
1.15      bertrand 8845: for ac_lib in '' x; do
                   8846:   if test -z "$ac_lib"; then
                   8847:     ac_res="none required"
                   8848:   else
                   8849:     ac_res=-l$ac_lib
                   8850:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   8851:   fi
                   8852:   if ac_fn_c_try_link "$LINENO"; then :
                   8853:   ac_cv_search_opendir=$ac_res
                   8854: fi
                   8855: rm -f core conftest.err conftest.$ac_objext \
                   8856:     conftest$ac_exeext
1.105     bertrand 8857:   if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8858:   break
                   8859: fi
                   8860: done
1.105     bertrand 8861: if ${ac_cv_search_opendir+:} false; then :
1.15      bertrand 8862: 
1.1       bertrand 8863: else
1.15      bertrand 8864:   ac_cv_search_opendir=no
                   8865: fi
                   8866: rm conftest.$ac_ext
                   8867: LIBS=$ac_func_search_save_LIBS
1.1       bertrand 8868: fi
1.15      bertrand 8869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   8870: $as_echo "$ac_cv_search_opendir" >&6; }
                   8871: ac_res=$ac_cv_search_opendir
                   8872: if test "$ac_res" != no; then :
                   8873:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.14      bertrand 8874: 
1.1       bertrand 8875: fi
                   8876: 
                   8877: fi
                   8878: 
1.15      bertrand 8879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8880: $as_echo_n "checking for ANSI C header files... " >&6; }
1.105     bertrand 8881: if ${ac_cv_header_stdc+:} false; then :
1.15      bertrand 8882:   $as_echo_n "(cached) " >&6
1.1       bertrand 8883: else
1.15      bertrand 8884:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8885: /* end confdefs.h.  */
1.15      bertrand 8886: #include <stdlib.h>
                   8887: #include <stdarg.h>
                   8888: #include <string.h>
                   8889: #include <float.h>
                   8890: 
1.1       bertrand 8891: int
                   8892: main ()
                   8893: {
1.15      bertrand 8894: 
1.1       bertrand 8895:   ;
                   8896:   return 0;
                   8897: }
                   8898: _ACEOF
1.15      bertrand 8899: if ac_fn_c_try_compile "$LINENO"; then :
                   8900:   ac_cv_header_stdc=yes
1.14      bertrand 8901: else
1.15      bertrand 8902:   ac_cv_header_stdc=no
                   8903: fi
                   8904: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8905: 
                   8906: if test $ac_cv_header_stdc = yes; then
                   8907:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   8908:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8909: /* end confdefs.h.  */
                   8910: #include <string.h>
                   8911: 
                   8912: _ACEOF
                   8913: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   8914:   $EGREP "memchr" >/dev/null 2>&1; then :
1.14      bertrand 8915: 
1.15      bertrand 8916: else
                   8917:   ac_cv_header_stdc=no
1.1       bertrand 8918: fi
1.15      bertrand 8919: rm -f conftest*
1.14      bertrand 8920: 
1.1       bertrand 8921: fi
                   8922: 
1.15      bertrand 8923: if test $ac_cv_header_stdc = yes; then
                   8924:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   8925:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8926: /* end confdefs.h.  */
                   8927: #include <stdlib.h>
                   8928: 
1.14      bertrand 8929: _ACEOF
1.15      bertrand 8930: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   8931:   $EGREP "free" >/dev/null 2>&1; then :
                   8932: 
                   8933: else
                   8934:   ac_cv_header_stdc=no
                   8935: fi
                   8936: rm -f conftest*
1.1       bertrand 8937: 
                   8938: fi
                   8939: 
1.15      bertrand 8940: if test $ac_cv_header_stdc = yes; then
                   8941:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   8942:   if test "$cross_compiling" = yes; then :
                   8943:   :
1.1       bertrand 8944: else
1.15      bertrand 8945:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8946: /* end confdefs.h.  */
1.15      bertrand 8947: #include <ctype.h>
                   8948: #include <stdlib.h>
                   8949: #if ((' ' & 0x0FF) == 0x020)
                   8950: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8951: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8952: #else
                   8953: # define ISLOWER(c) \
                   8954:           (('a' <= (c) && (c) <= 'i') \
                   8955:             || ('j' <= (c) && (c) <= 'r') \
                   8956:             || ('s' <= (c) && (c) <= 'z'))
                   8957: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8958: #endif
1.1       bertrand 8959: 
1.15      bertrand 8960: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.1       bertrand 8961: int
                   8962: main ()
                   8963: {
1.15      bertrand 8964:   int i;
                   8965:   for (i = 0; i < 256; i++)
                   8966:     if (XOR (islower (i), ISLOWER (i))
                   8967:    || toupper (i) != TOUPPER (i))
                   8968:       return 2;
1.1       bertrand 8969:   return 0;
                   8970: }
                   8971: _ACEOF
1.15      bertrand 8972: if ac_fn_c_try_run "$LINENO"; then :
                   8973: 
1.14      bertrand 8974: else
1.15      bertrand 8975:   ac_cv_header_stdc=no
                   8976: fi
                   8977: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8978:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8979: fi
1.14      bertrand 8980: 
1.1       bertrand 8981: fi
                   8982: fi
1.15      bertrand 8983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8984: $as_echo "$ac_cv_header_stdc" >&6; }
                   8985: if test $ac_cv_header_stdc = yes; then
1.1       bertrand 8986: 
1.15      bertrand 8987: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       bertrand 8988: 
                   8989: fi
                   8990: 
1.15      bertrand 8991: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
                   8992: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
1.105     bertrand 8993: if ${ac_cv_header_sys_wait_h+:} false; then :
1.15      bertrand 8994:   $as_echo_n "(cached) " >&6
1.1       bertrand 8995: else
1.15      bertrand 8996:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8997: /* end confdefs.h.  */
1.14      bertrand 8998: #include <sys/types.h>
1.15      bertrand 8999: #include <sys/wait.h>
                   9000: #ifndef WEXITSTATUS
                   9001: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
                   9002: #endif
                   9003: #ifndef WIFEXITED
                   9004: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
                   9005: #endif
1.1       bertrand 9006: 
                   9007: int
                   9008: main ()
                   9009: {
1.15      bertrand 9010:   int s;
                   9011:   wait (&s);
                   9012:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1.1       bertrand 9013:   ;
                   9014:   return 0;
                   9015: }
                   9016: _ACEOF
1.15      bertrand 9017: if ac_fn_c_try_compile "$LINENO"; then :
                   9018:   ac_cv_header_sys_wait_h=yes
1.1       bertrand 9019: else
1.15      bertrand 9020:   ac_cv_header_sys_wait_h=no
                   9021: fi
                   9022: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   9023: fi
                   9024: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
                   9025: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
                   9026: if test $ac_cv_header_sys_wait_h = yes; then
1.1       bertrand 9027: 
1.15      bertrand 9028: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
1.1       bertrand 9029: 
                   9030: fi
                   9031: 
1.15      bertrand 9032: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
                   9033:        time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
                   9034:        sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
                   9035: do :
                   9036:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   9037: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1.36      bertrand 9038: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.15      bertrand 9039:   cat >>confdefs.h <<_ACEOF
                   9040: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       bertrand 9041: _ACEOF
                   9042: 
                   9043: fi
                   9044: 
1.15      bertrand 9045: done
                   9046: 
1.1       bertrand 9047: 
1.15      bertrand 9048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   9049: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
1.105     bertrand 9050: if ${ac_cv_c_const+:} false; then :
1.15      bertrand 9051:   $as_echo_n "(cached) " >&6
1.1       bertrand 9052: else
1.15      bertrand 9053:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 9054: /* end confdefs.h.  */
                   9055: 
                   9056: int
                   9057: main ()
                   9058: {
1.15      bertrand 9059: /* FIXME: Include the comments suggested by Paul. */
                   9060: #ifndef __cplusplus
                   9061:   /* Ultrix mips cc rejects this.  */
                   9062:   typedef int charset[2];
                   9063:   const charset cs;
                   9064:   /* SunOS 4.1.1 cc rejects this.  */
                   9065:   char const *const *pcpcc;
                   9066:   char **ppc;
                   9067:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   9068:   struct point {int x, y;};
                   9069:   static struct point const zero = {0,0};
                   9070:   /* AIX XL C 1.02.0.0 rejects this.
                   9071:      It does not let you subtract one const X* pointer from another in
                   9072:      an arm of an if-expression whose if-part is not a constant
                   9073:      expression */
                   9074:   const char *g = "string";
                   9075:   pcpcc = &g + (g ? g-g : 0);
                   9076:   /* HPUX 7.0 cc rejects these. */
                   9077:   ++pcpcc;
                   9078:   ppc = (char**) pcpcc;
                   9079:   pcpcc = (char const *const *) ppc;
                   9080:   { /* SCO 3.2v4 cc rejects this.  */
                   9081:     char *t;
                   9082:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   9083: 
                   9084:     *t++ = 0;
                   9085:     if (s) return 0;
                   9086:   }
                   9087:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   9088:     int x[] = {25, 17};
                   9089:     const int *foo = &x[0];
                   9090:     ++foo;
                   9091:   }
                   9092:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   9093:     typedef const int *iptr;
                   9094:     iptr p = 0;
                   9095:     ++p;
                   9096:   }
                   9097:   { /* AIX XL C 1.02.0.0 rejects this saying
                   9098:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   9099:     struct s { int j; const int *ap[3]; };
                   9100:     struct s *b; b->j = 5;
                   9101:   }
                   9102:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   9103:     const int foo = 10;
                   9104:     if (!foo) return 0;
                   9105:   }
                   9106:   return !cs[0] && !zero.x;
                   9107: #endif
                   9108: 
1.14      bertrand 9109:   ;
1.1       bertrand 9110:   return 0;
                   9111: }
                   9112: _ACEOF
1.15      bertrand 9113: if ac_fn_c_try_compile "$LINENO"; then :
                   9114:   ac_cv_c_const=yes
1.14      bertrand 9115: else
1.15      bertrand 9116:   ac_cv_c_const=no
1.1       bertrand 9117: fi
1.14      bertrand 9118: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 9119: fi
1.15      bertrand 9120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   9121: $as_echo "$ac_cv_c_const" >&6; }
                   9122: if test $ac_cv_c_const = no; then
1.1       bertrand 9123: 
1.15      bertrand 9124: $as_echo "#define const /**/" >>confdefs.h
1.1       bertrand 9125: 
1.15      bertrand 9126: fi
1.1       bertrand 9127: 
1.15      bertrand 9128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
                   9129: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
1.105     bertrand 9130: if ${ac_cv_type_uid_t+:} false; then :
1.15      bertrand 9131:   $as_echo_n "(cached) " >&6
1.1       bertrand 9132: else
1.15      bertrand 9133:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 9134: /* end confdefs.h.  */
1.15      bertrand 9135: #include <sys/types.h>
                   9136: 
1.1       bertrand 9137: _ACEOF
1.15      bertrand 9138: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   9139:   $EGREP "uid_t" >/dev/null 2>&1; then :
                   9140:   ac_cv_type_uid_t=yes
1.1       bertrand 9141: else
1.15      bertrand 9142:   ac_cv_type_uid_t=no
                   9143: fi
                   9144: rm -f conftest*
1.14      bertrand 9145: 
1.1       bertrand 9146: fi
1.15      bertrand 9147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
                   9148: $as_echo "$ac_cv_type_uid_t" >&6; }
                   9149: if test $ac_cv_type_uid_t = no; then
1.1       bertrand 9150: 
1.15      bertrand 9151: $as_echo "#define uid_t int" >>confdefs.h
1.1       bertrand 9152: 
                   9153: 
1.15      bertrand 9154: $as_echo "#define gid_t int" >>confdefs.h
1.1       bertrand 9155: 
                   9156: fi
                   9157: 
1.15      bertrand 9158: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
1.105     bertrand 9159: if test "x$ac_cv_type_pid_t" = xyes; then :
1.1       bertrand 9160: 
                   9161: else
1.15      bertrand 9162: 
                   9163: cat >>confdefs.h <<_ACEOF
                   9164: #define pid_t int
1.14      bertrand 9165: _ACEOF
                   9166: 
1.15      bertrand 9167: fi
1.14      bertrand 9168: 
1.15      bertrand 9169: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
1.105     bertrand 9170: if test "x$ac_cv_type_size_t" = xyes; then :
1.14      bertrand 9171: 
1.15      bertrand 9172: else
1.1       bertrand 9173: 
1.15      bertrand 9174: cat >>confdefs.h <<_ACEOF
                   9175: #define size_t unsigned int
1.1       bertrand 9176: _ACEOF
1.14      bertrand 9177: 
1.1       bertrand 9178: fi
                   9179: 
1.15      bertrand 9180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   9181: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
1.105     bertrand 9182: if ${ac_cv_header_time+:} false; then :
1.15      bertrand 9183:   $as_echo_n "(cached) " >&6
1.1       bertrand 9184: else
1.15      bertrand 9185:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 9186: /* end confdefs.h.  */
1.15      bertrand 9187: #include <sys/types.h>
                   9188: #include <sys/time.h>
                   9189: #include <time.h>
1.1       bertrand 9190: 
1.14      bertrand 9191: int
                   9192: main ()
                   9193: {
1.15      bertrand 9194: if ((struct tm *) 0)
                   9195: return 0;
1.14      bertrand 9196:   ;
                   9197:   return 0;
                   9198: }
1.1       bertrand 9199: _ACEOF
1.15      bertrand 9200: if ac_fn_c_try_compile "$LINENO"; then :
                   9201:   ac_cv_header_time=yes
1.1       bertrand 9202: else
1.15      bertrand 9203:   ac_cv_header_time=no
1.1       bertrand 9204: fi
1.15      bertrand 9205: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 9206: fi
1.15      bertrand 9207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   9208: $as_echo "$ac_cv_header_time" >&6; }
                   9209: if test $ac_cv_header_time = yes; then
1.1       bertrand 9210: 
1.15      bertrand 9211: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.1       bertrand 9212: 
                   9213: fi
                   9214: 
1.15      bertrand 9215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
                   9216: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
1.105     bertrand 9217: if ${ac_cv_struct_tm+:} false; then :
1.15      bertrand 9218:   $as_echo_n "(cached) " >&6
1.1       bertrand 9219: else
1.15      bertrand 9220:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 9221: /* end confdefs.h.  */
1.15      bertrand 9222: #include <sys/types.h>
                   9223: #include <time.h>
1.1       bertrand 9224: 
                   9225: int
                   9226: main ()
                   9227: {
1.15      bertrand 9228: struct tm tm;
                   9229:                     int *p = &tm.tm_sec;
                   9230:                     return !p;
1.1       bertrand 9231:   ;
                   9232:   return 0;
                   9233: }
                   9234: _ACEOF
1.15      bertrand 9235: if ac_fn_c_try_compile "$LINENO"; then :
                   9236:   ac_cv_struct_tm=time.h
1.1       bertrand 9237: else
1.15      bertrand 9238:   ac_cv_struct_tm=sys/time.h
                   9239: fi
                   9240: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   9241: fi
                   9242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
                   9243: $as_echo "$ac_cv_struct_tm" >&6; }
                   9244: if test $ac_cv_struct_tm = sys/time.h; then
                   9245: 
                   9246: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
1.14      bertrand 9247: 
1.1       bertrand 9248: fi
                   9249: 
                   9250: 
1.15      bertrand 9251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
                   9252: $as_echo_n "checking return type of signal handlers... " >&6; }
1.105     bertrand 9253: if ${ac_cv_type_signal+:} false; then :
1.15      bertrand 9254:   $as_echo_n "(cached) " >&6
1.1       bertrand 9255: else
1.15      bertrand 9256:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 9257: /* end confdefs.h.  */
1.15      bertrand 9258: #include <sys/types.h>
                   9259: #include <signal.h>
1.1       bertrand 9260: 
                   9261: int
                   9262: main ()
                   9263: {
1.15      bertrand 9264: return *(signal (0, 0)) (0) == 1;
1.1       bertrand 9265:   ;
                   9266:   return 0;
                   9267: }
                   9268: _ACEOF
1.15      bertrand 9269: if ac_fn_c_try_compile "$LINENO"; then :
                   9270:   ac_cv_type_signal=int
1.1       bertrand 9271: else
1.15      bertrand 9272:   ac_cv_type_signal=void
1.1       bertrand 9273: fi
1.15      bertrand 9274: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 9275: fi
1.15      bertrand 9276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
                   9277: $as_echo "$ac_cv_type_signal" >&6; }
1.14      bertrand 9278: 
1.15      bertrand 9279: cat >>confdefs.h <<_ACEOF
                   9280: #define RETSIGTYPE $ac_cv_type_signal
1.14      bertrand 9281: _ACEOF
1.1       bertrand 9282: 
1.15      bertrand 9283: 
                   9284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
                   9285: $as_echo_n "checking for working strcoll... " >&6; }
1.105     bertrand 9286: if ${ac_cv_func_strcoll_works+:} false; then :
1.15      bertrand 9287:   $as_echo_n "(cached) " >&6
                   9288: else
                   9289:   if test "$cross_compiling" = yes; then :
                   9290:   ac_cv_func_strcoll_works=no
                   9291: else
                   9292:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9293: /* end confdefs.h.  */
                   9294: $ac_includes_default
                   9295: int
                   9296: main ()
                   9297: {
                   9298: return (strcoll ("abc", "def") >= 0 ||
                   9299:     strcoll ("ABC", "DEF") >= 0 ||
                   9300:     strcoll ("123", "456") >= 0)
                   9301:   ;
                   9302:   return 0;
                   9303: }
                   9304: _ACEOF
                   9305: if ac_fn_c_try_run "$LINENO"; then :
                   9306:   ac_cv_func_strcoll_works=yes
                   9307: else
                   9308:   ac_cv_func_strcoll_works=no
                   9309: fi
                   9310: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   9311:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.14      bertrand 9312: fi
1.1       bertrand 9313: 
                   9314: fi
1.15      bertrand 9315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
                   9316: $as_echo "$ac_cv_func_strcoll_works" >&6; }
                   9317: if test $ac_cv_func_strcoll_works = yes; then
1.14      bertrand 9318: 
1.15      bertrand 9319: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
1.1       bertrand 9320: 
1.15      bertrand 9321: fi
1.1       bertrand 9322: 
1.15      bertrand 9323: for ac_func in strftime
                   9324: do :
                   9325:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
1.105     bertrand 9326: if test "x$ac_cv_func_strftime" = xyes; then :
1.15      bertrand 9327:   cat >>confdefs.h <<_ACEOF
                   9328: #define HAVE_STRFTIME 1
                   9329: _ACEOF
1.1       bertrand 9330: 
                   9331: else
1.15      bertrand 9332:   # strftime is in -lintl on SCO UNIX.
                   9333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
                   9334: $as_echo_n "checking for strftime in -lintl... " >&6; }
1.105     bertrand 9335: if ${ac_cv_lib_intl_strftime+:} false; then :
1.15      bertrand 9336:   $as_echo_n "(cached) " >&6
                   9337: else
                   9338:   ac_check_lib_save_LIBS=$LIBS
                   9339: LIBS="-lintl  $LIBS"
                   9340: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 9341: /* end confdefs.h.  */
                   9342: 
                   9343: /* Override any GCC internal prototype to avoid an error.
                   9344:    Use char because int might match the return type of a GCC
                   9345:    builtin and then its argument prototype would still apply.  */
                   9346: #ifdef __cplusplus
                   9347: extern "C"
                   9348: #endif
1.15      bertrand 9349: char strftime ();
1.1       bertrand 9350: int
                   9351: main ()
                   9352: {
1.15      bertrand 9353: return strftime ();
1.1       bertrand 9354:   ;
                   9355:   return 0;
                   9356: }
                   9357: _ACEOF
1.15      bertrand 9358: if ac_fn_c_try_link "$LINENO"; then :
                   9359:   ac_cv_lib_intl_strftime=yes
1.1       bertrand 9360: else
1.15      bertrand 9361:   ac_cv_lib_intl_strftime=no
                   9362: fi
                   9363: rm -f core conftest.err conftest.$ac_objext \
                   9364:     conftest$ac_exeext conftest.$ac_ext
                   9365: LIBS=$ac_check_lib_save_LIBS
                   9366: fi
                   9367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
                   9368: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
1.105     bertrand 9369: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
1.15      bertrand 9370:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
                   9371: 
                   9372: LIBS="-lintl $LIBS"
                   9373: fi
                   9374: 
                   9375: fi
                   9376: done
                   9377: 
                   9378: for ac_func in vprintf
                   9379: do :
                   9380:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
1.105     bertrand 9381: if test "x$ac_cv_func_vprintf" = xyes; then :
1.15      bertrand 9382:   cat >>confdefs.h <<_ACEOF
                   9383: #define HAVE_VPRINTF 1
                   9384: _ACEOF
                   9385: 
                   9386: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
1.105     bertrand 9387: if test "x$ac_cv_func__doprnt" = xyes; then :
1.15      bertrand 9388: 
                   9389: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
1.1       bertrand 9390: 
                   9391: fi
                   9392: 
                   9393: fi
1.15      bertrand 9394: done
                   9395: 
                   9396: 
                   9397: for ac_func in ftime getcwd putenv select strcspn strdup \
                   9398:        strerror strspn strstr strtod
                   9399: do :
                   9400:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   9401: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.36      bertrand 9402: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.1       bertrand 9403:   cat >>confdefs.h <<_ACEOF
1.15      bertrand 9404: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       bertrand 9405: _ACEOF
                   9406: 
                   9407: fi
                   9408: done
                   9409: 
                   9410: 
1.15      bertrand 9411: 
                   9412: # Check whether --with-openssl_arch was given.
                   9413: if test "${with_openssl_arch+set}" = set; then :
                   9414:   withval=$with_openssl_arch;
                   9415: else
                   9416:   with_openssl_arch=none
                   9417: fi
                   9418: 
                   9419: 
1.31      bertrand 9420: if test $(uname) = "OS/2"; then
1.34      bertrand 9421:    bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
1.15      bertrand 9422: else
1.31      bertrand 9423:    if test "x$with_openssl_arch" = xnone; then
1.67      bertrand 9424:        (cd tools/$OPENSSL && ./config no-asm)
1.31      bertrand 9425:    elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
                   9426:        (cd tools/$OPENSSL && ./Configure)
1.36      bertrand 9427:        as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
1.31      bertrand 9428:    elif test "x$with_openssl_arch" = xlist; then
                   9429:        (cd tools/$OPENSSL && ./Configure)
1.36      bertrand 9430:        as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
1.31      bertrand 9431:    else
1.67      bertrand 9432:        (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
1.31      bertrand 9433:    fi
1.15      bertrand 9434: fi
1.1       bertrand 9435: 
                   9436: if test "$MYGNUPLOT" = "yes"; then
                   9437:    if test ! -d "$srcdir"/tools/$GNUPLOT; then
                   9438:        gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
                   9439:                (cd "$srcdir/tools" && tar -xf -)
                   9440:    fi
1.91      bertrand 9441: 
                   9442:    if test $RECURSIVE = yes; then
                   9443:        subdirs="$subdirs tools/$GNUPLOT"
                   9444: 
                   9445:    fi
1.1       bertrand 9446: 
                   9447:    GNUPLOT_COMPILATION=$GNUPLOT
                   9448: else
                   9449:    GNUPLOT_COMPILATION=
                   9450: fi
                   9451: 
                   9452: 
                   9453: 
1.88      bertrand 9454: HOST=$target
1.69      bertrand 9455: 
                   9456: 
1.87      bertrand 9457: my_save_cflags="$CFLAGS"
                   9458: FPCFLAGS=""
                   9459: 
                   9460: CFLAGS=-malign-double
                   9461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -malign-double" >&5
                   9462: $as_echo_n "checking whether CC supports -malign-double... " >&6; }
                   9463: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9464: /* end confdefs.h.  */
                   9465: 
                   9466: int
                   9467: main ()
                   9468: {
1.1       bertrand 9469: 
1.87      bertrand 9470:   ;
                   9471:   return 0;
                   9472: }
                   9473: _ACEOF
                   9474: if ac_fn_c_try_compile "$LINENO"; then :
                   9475:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   9476: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -malign-double"
                   9477: else
                   9478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9479: $as_echo "no" >&6; }
                   9480: fi
                   9481: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   9482: CFLAGS=-mieee-fp
                   9483: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee-fp" >&5
                   9484: $as_echo_n "checking whether CC supports -mieee-fp... " >&6; }
                   9485: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9486: /* end confdefs.h.  */
                   9487: 
                   9488: int
                   9489: main ()
                   9490: {
1.1       bertrand 9491: 
1.87      bertrand 9492:   ;
                   9493:   return 0;
                   9494: }
                   9495: _ACEOF
                   9496: if ac_fn_c_try_compile "$LINENO"; then :
                   9497:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   9498: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee-fp"
                   9499: else
                   9500:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9501: $as_echo "no" >&6; }
                   9502: fi
                   9503: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   9504: CFLAGS=-mieee
                   9505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee" >&5
                   9506: $as_echo_n "checking whether CC supports -mieee... " >&6; }
                   9507: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9508: /* end confdefs.h.  */
1.1       bertrand 9509: 
1.87      bertrand 9510: int
                   9511: main ()
                   9512: {
1.1       bertrand 9513: 
1.87      bertrand 9514:   ;
                   9515:   return 0;
                   9516: }
                   9517: _ACEOF
                   9518: if ac_fn_c_try_compile "$LINENO"; then :
                   9519:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   9520: $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee"
                   9521: else
                   9522:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9523: $as_echo "no" >&6; }
                   9524: fi
                   9525: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   9526: CFLAGS=$my_save_cflags
1.1       bertrand 9527: 
1.87      bertrand 9528: CFLAGS="$CFLAGS $FPCFLAGS -Wall -funsigned-char -Wno-pointer-sign"
                   9529: FFLAGS="$FFLAGS $FPCFLAGS -Wall -fno-f2c"
                   9530: FCFLAGS="$FCFLAGS $FPCFLAGS -Wall -fno-f2c"
                   9531: CXXFLAGS="$CXXFLAGS $FPCFLAGS -Wall -funsigned-char"
1.1       bertrand 9532: 
1.87      bertrand 9533: case $target_os in
1.8       bertrand 9534: 
                   9535:    cygwin*)
                   9536:        OS=Cygwin
                   9537:    break ;;
                   9538: 
                   9539:    interix*)
                   9540:        OS=Interix
                   9541:    break ;;
                   9542: 
                   9543:    *)
                   9544:        OS=$(uname)
                   9545:    break ;;
                   9546: 
                   9547: esac
                   9548: 
                   9549: 
                   9550: 
1.1       bertrand 9551: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
                   9552: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
1.49      bertrand 9553: MALLOC=
1.1       bertrand 9554: 
1.22      bertrand 9555: case $OS in
1.17      bertrand 9556:     Darwin)
1.31      bertrand 9557:        EXPORT_DYNAMIC=-Wl,-flat_namespace
1.17      bertrand 9558:        NESTED_FUNCTIONS=-fnested-functions
1.23      bertrand 9559:        CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
1.31      bertrand 9560:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69      bertrand 9561:                --disable-shared --enable-static --enable-threads \
                   9562:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9563:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9564:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9565:        C_STANDARD=-std=gnu99
1.75      bertrand 9566:        ELF=
1.17      bertrand 9567:    break ;;
                   9568: 
1.31      bertrand 9569:     Cygwin)
                   9570:        EXPORT_DYNAMIC=-Wl,--export-all-symbols
1.17      bertrand 9571:        NESTED_FUNCTIONS=
1.31      bertrand 9572:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69      bertrand 9573:                --disable-shared --enable-static --enable-threads \
                   9574:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9575:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9576:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9577:        C_STANDARD=-std=gnu99
1.75      bertrand 9578:        ELF=
1.17      bertrand 9579:    break ;;
                   9580: 
1.34      bertrand 9581:    Interix)
                   9582:        EXPORT_DYNAMIC=-Wl,--export-all-symbols
                   9583:        NESTED_FUNCTIONS=
                   9584:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69      bertrand 9585:                --disable-shared --enable-static --enable-threads \
                   9586:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9587:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9588:                LDFLAGS=\"$LDFLAGS\""
1.34      bertrand 9589:        C_STANDARD=-std=gnu99
1.75      bertrand 9590:        ELF=
1.34      bertrand 9591:    break;;
                   9592: 
1.31      bertrand 9593:     AIX)
                   9594:        EXPORT_DYNAMIC=-Wl,--export-dynamic
1.18      bertrand 9595:        NESTED_FUNCTIONS=
1.31      bertrand 9596:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69      bertrand 9597:                --disable-shared --enable-static --enable-threads \
                   9598:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9599:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9600:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9601:        C_STANDARD=-std=gnu99
1.75      bertrand 9602:        ELF=
1.18      bertrand 9603:    break ;;
                   9604: 
1.31      bertrand 9605:     OS/2)
1.37      bertrand 9606:        if test $FORCED_FINAL_ENCODING -eq 0; then \
1.35      bertrand 9607:            FINAL_ENCODING=CP850; \
                   9608:        fi;
1.31      bertrand 9609:        OS=OS2
                   9610:        NESTED_FUNCTIONS=
                   9611:        EXPORT_DYNAMIC=-Zmap
                   9612:        ac_configure_args="$ac_configure_args --without-readline \
1.49      bertrand 9613:                --without-cairo --disable-shared --enable-static \
1.69      bertrand 9614:                --enable-threads \
                   9615:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9616:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9617:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9618:        C_STANDARD=
1.75      bertrand 9619:        ELF=
1.31      bertrand 9620:    break;;
                   9621: 
1.35      bertrand 9622:    OpenBSD)
1.37      bertrand 9623:        if test $FORCED_FINAL_ENCODING -eq 0; then \
1.35      bertrand 9624:            FINAL_ENCODING=UTF-8; \
                   9625:        fi;
                   9626:        EXPORT_DYNAMIC=-Wl,--export-dynamic
                   9627:        NESTED_FUNCTIONS=
                   9628:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69      bertrand 9629:                --disable-shared --enable-static --enable-threads \
                   9630:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9631:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9632:                LDFLAGS=\"$LDFLAGS\""
1.35      bertrand 9633:        C_STANDARD=-std=gnu99
1.75      bertrand 9634:        ELF=
1.35      bertrand 9635:    break;;
                   9636: 
1.49      bertrand 9637:     SunOS)
                   9638:        EXPORT_DYNAMIC=-Wl,--export-dynamic
                   9639:        NESTED_FUNCTIONS=
                   9640: 
                   9641:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69      bertrand 9642:                --disable-shared --enable-static --enable-threads \
                   9643:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9644:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9645:                LDFLAGS=\"$LDFLAGS\""
1.49      bertrand 9646:        C_STANDARD=-std=gnu99
                   9647:        MALLOC=-lumem
1.75      bertrand 9648:        ELF=
                   9649:    break ;;
                   9650: 
                   9651:     NetBSD)
                   9652:        EXPORT_DYNAMIC=-Wl,--export-dynamic
                   9653:        NESTED_FUNCTIONS=
                   9654: 
                   9655:        ac_configure_args="$ac_configure_args --with-readline=builtin \
                   9656:                --disable-shared --enable-static --enable-threads \
                   9657:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9658:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9659:                LDFLAGS=\"$LDFLAGS\""
                   9660:        C_STANDARD=-std=gnu99
                   9661:        GCCBIN=`which gcc`
                   9662:        GCCLIB=`dirname $GCCBIN`/../lib
                   9663:        ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB"
1.49      bertrand 9664:    break ;;
                   9665: 
1.17      bertrand 9666:     *)
1.31      bertrand 9667:        EXPORT_DYNAMIC=-Wl,--export-dynamic
1.17      bertrand 9668:        NESTED_FUNCTIONS=
1.36      bertrand 9669: 
1.31      bertrand 9670:        ac_configure_args="$ac_configure_args --with-readline=builtin \
1.69      bertrand 9671:                --disable-shared --enable-static --enable-threads \
                   9672:                CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   9673:                FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   9674:                LDFLAGS=\"$LDFLAGS\""
1.33      bertrand 9675:        C_STANDARD=-std=gnu99
1.75      bertrand 9676:        ELF=
1.17      bertrand 9677:    break ;;
1.90      bertrand 9678: esac
                   9679: 
                   9680: case $OS in
                   9681:     OS2)
                   9682:        WHOLE_LIB1=""
                   9683:        WHOLE_LIB2=""
1.91      bertrand 9684:        LIB_PREFIX=""
1.90      bertrand 9685:    break ;;
1.17      bertrand 9686: 
1.90      bertrand 9687:    *)
                   9688:        WHOLE_LIB1="-Wl,-whole-archive"
                   9689:        WHOLE_LIB2="-Wl,-no-whole-archive"
1.91      bertrand 9690:        LIB_PREFIX="lib"
1.90      bertrand 9691:    break ;;
1.17      bertrand 9692: esac
                   9693: 
1.97      bertrand 9694: case $HOST in
                   9695:    x86_64-unknown-linux-gnu)
                   9696:        ARCH=amd64
                   9697:    break ;;
                   9698: 
                   9699:    i?86-unknown-linux-gnu)
                   9700:        ARCH=i386
                   9701:    break ;;
                   9702: 
                   9703:    *)
                   9704:        ARCH=unknown
                   9705:    break ;;
                   9706: esac
                   9707: 
                   9708: 
1.17      bertrand 9709: 
                   9710: 
                   9711: 
1.1       bertrand 9712: 
                   9713: 
                   9714: 
                   9715: 
                   9716: 
                   9717: 
                   9718: 
                   9719: 
                   9720: 
                   9721: 
                   9722: 
                   9723: 
                   9724: 
                   9725: 
                   9726: 
                   9727: 
                   9728: 
                   9729: 
                   9730: 
1.9       bertrand 9731: 
1.24      bertrand 9732: 
1.30      bertrand 9733: 
1.33      bertrand 9734: 
                   9735: 
                   9736: 
1.34      bertrand 9737: 
1.35      bertrand 9738: 
1.49      bertrand 9739: 
1.55      bertrand 9740: 
                   9741: 
1.56      bertrand 9742: 
                   9743: 
                   9744: 
                   9745: 
1.69      bertrand 9746: 
1.75      bertrand 9747: 
1.78      bertrand 9748: 
1.80      bertrand 9749: 
                   9750: 
                   9751: 
1.82      bertrand 9752: 
1.90      bertrand 9753: 
                   9754: 
                   9755: 
1.69      bertrand 9756: 
1.102     bertrand 9757: 
                   9758: 
                   9759: 
                   9760: 
1.91      bertrand 9761: if test $RECURSIVE = yes; then
                   9762:    subdirs="$subdirs tools/$NCURSES"
1.69      bertrand 9763: 
1.91      bertrand 9764:    subdirs="$subdirs tools/$READLINE"
1.69      bertrand 9765: 
1.91      bertrand 9766:    subdirs="$subdirs tools/$GSL"
1.69      bertrand 9767: 
1.91      bertrand 9768:    subdirs="$subdirs tools/$GPP"
1.69      bertrand 9769: 
1.91      bertrand 9770:    subdirs="$subdirs tools/$FILE"
1.69      bertrand 9771: 
1.91      bertrand 9772:    subdirs="$subdirs tools/$ICONV"
1.69      bertrand 9773: 
1.91      bertrand 9774:    subdirs="$subdirs tools/$SQLITE"
1.69      bertrand 9775: 
1.91      bertrand 9776:    subdirs="$subdirs tools/$UNITS"
1.76      bertrand 9777: 
1.91      bertrand 9778:    subdirs="$subdirs tools/$SIGSEGV"
                   9779: 
                   9780: fi
1.69      bertrand 9781: 
1.1       bertrand 9782: ac_config_files="$ac_config_files Makefile"
                   9783: 
                   9784: ac_config_files="$ac_config_files COPYING"
                   9785: 
                   9786: ac_config_files="$ac_config_files tools/Makefile"
                   9787: 
                   9788: ac_config_files="$ac_config_files src/Makefile"
                   9789: 
                   9790: ac_config_files="$ac_config_files man/Makefile"
                   9791: 
                   9792: ac_config_files="$ac_config_files man/fr_FR/Makefile"
                   9793: 
                   9794: ac_config_files="$ac_config_files doc/Makefile"
                   9795: 
                   9796: ac_config_files="$ac_config_files scripts/Makefile"
                   9797: 
                   9798: ac_config_files="$ac_config_files scripts/mkrplso"
                   9799: 
                   9800: ac_config_files="$ac_config_files scripts/rplcc"
                   9801: 
                   9802: ac_config_files="$ac_config_files scripts/rpllink"
                   9803: 
                   9804: ac_config_files="$ac_config_files rpltags/Makefile"
                   9805: 
                   9806: ac_config_files="$ac_config_files rpliconv/Makefile"
                   9807: 
1.9       bertrand 9808: ac_config_files="$ac_config_files rplsums/Makefile"
                   9809: 
1.55      bertrand 9810: ac_config_files="$ac_config_files rplcas/Makefile"
                   9811: 
1.39      bertrand 9812: ac_config_files="$ac_config_files rplawk/Makefile"
                   9813: 
1.1       bertrand 9814: ac_config_files="$ac_config_files lapack/lapack/Makefile"
                   9815: 
                   9816: ac_config_files="$ac_config_files lapack/blas/Makefile"
                   9817: 
                   9818: 
                   9819: ac_config_files="$ac_config_files man/rpl.1"
                   9820: 
                   9821: ac_config_files="$ac_config_files man/rplcc.1"
                   9822: 
                   9823: ac_config_files="$ac_config_files man/rpllink.1"
                   9824: 
                   9825: ac_config_files="$ac_config_files man/rpltags.1"
                   9826: 
                   9827: ac_config_files="$ac_config_files man/mkrplso.1"
                   9828: 
                   9829: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
                   9830: 
                   9831: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
                   9832: 
                   9833: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
                   9834: 
                   9835: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
                   9836: 
                   9837: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
                   9838: 
                   9839: 
1.97      bertrand 9840: ac_config_files="$ac_config_files DEBIAN/control"
                   9841: 
                   9842: 
1.1       bertrand 9843: cat >confcache <<\_ACEOF
                   9844: # This file is a shell script that caches the results of configure
                   9845: # tests run on this system so they can be shared between configure
                   9846: # scripts and configure runs, see configure's option --config-cache.
                   9847: # It is not useful on other systems.  If it contains results you don't
                   9848: # want to keep, you may remove or edit it.
                   9849: #
                   9850: # config.status only pays attention to the cache file if you give it
                   9851: # the --recheck option to rerun configure.
                   9852: #
                   9853: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   9854: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   9855: # following values.
                   9856: 
                   9857: _ACEOF
                   9858: 
                   9859: # The following way of writing the cache mishandles newlines in values,
                   9860: # but we know of no workaround that is simple, portable, and efficient.
                   9861: # So, we kill variables containing newlines.
                   9862: # Ultrix sh set writes to stderr and can't be redirected directly,
                   9863: # and sets the high bit in the cache file unless we assign to the vars.
                   9864: (
                   9865:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   9866:     eval ac_val=\$$ac_var
                   9867:     case $ac_val in #(
                   9868:     *${as_nl}*)
                   9869:       case $ac_var in #(
1.15      bertrand 9870:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   9871: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       bertrand 9872:       esac
                   9873:       case $ac_var in #(
                   9874:       _ | IFS | as_nl) ;; #(
1.15      bertrand 9875:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   9876:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       bertrand 9877:       esac ;;
                   9878:     esac
                   9879:   done
                   9880: 
                   9881:   (set) 2>&1 |
                   9882:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   9883:     *${as_nl}ac_space=\ *)
1.15      bertrand 9884:       # `set' does not quote correctly, so add quotes: double-quote
                   9885:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1       bertrand 9886:       sed -n \
                   9887:    "s/'/'\\\\''/g;
                   9888:      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   9889:       ;; #(
                   9890:     *)
                   9891:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   9892:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   9893:       ;;
                   9894:     esac |
                   9895:     sort
                   9896: ) |
                   9897:   sed '
                   9898:      /^ac_cv_env_/b end
                   9899:      t clear
                   9900:      :clear
                   9901:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   9902:      t end
                   9903:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   9904:      :end' >>confcache
                   9905: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   9906:   if test -w "$cache_file"; then
1.105     bertrand 9907:     if test "x$cache_file" != "x/dev/null"; then
1.15      bertrand 9908:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   9909: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.105     bertrand 9910:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   9911:    cat confcache >"$cache_file"
                   9912:       else
                   9913:         case $cache_file in #(
                   9914:         */* | ?:*)
                   9915:      mv -f confcache "$cache_file"$$ &&
                   9916:      mv -f "$cache_file"$$ "$cache_file" ;; #(
                   9917:         *)
                   9918:      mv -f confcache "$cache_file" ;;
                   9919:    esac
                   9920:       fi
                   9921:     fi
1.1       bertrand 9922:   else
1.15      bertrand 9923:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   9924: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       bertrand 9925:   fi
                   9926: fi
                   9927: rm -f confcache
                   9928: 
                   9929: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   9930: # Let make expand exec_prefix.
                   9931: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   9932: 
                   9933: DEFS=-DHAVE_CONFIG_H
                   9934: 
                   9935: ac_libobjs=
                   9936: ac_ltlibobjs=
1.36      bertrand 9937: U=
1.1       bertrand 9938: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   9939:   # 1. Remove the extension, and $U if already installed.
                   9940:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.15      bertrand 9941:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.1       bertrand 9942:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   9943:   #    will be set to the directory where LIBOBJS objects are built.
1.15      bertrand 9944:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   9945:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1       bertrand 9946: done
                   9947: LIBOBJS=$ac_libobjs
                   9948: 
                   9949: LTLIBOBJS=$ac_ltlibobjs
                   9950: 
                   9951: 
1.15      bertrand 9952:  if test -n "$EXEEXT"; then
                   9953:   am__EXEEXT_TRUE=
                   9954:   am__EXEEXT_FALSE='#'
                   9955: else
                   9956:   am__EXEEXT_TRUE='#'
                   9957:   am__EXEEXT_FALSE=
                   9958: fi
                   9959: 
1.1       bertrand 9960: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.36      bertrand 9961:   as_fn_error $? "conditional \"AMDEP\" was never defined.
1.15      bertrand 9962: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9963: fi
                   9964: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.36      bertrand 9965:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1.15      bertrand 9966: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9967: fi
                   9968: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.36      bertrand 9969:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
1.15      bertrand 9970: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9971: fi
                   9972: 
1.105     bertrand 9973: : "${CONFIG_STATUS=./config.status}"
1.15      bertrand 9974: ac_write_fail=0
1.1       bertrand 9975: ac_clean_files_save=$ac_clean_files
                   9976: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.15      bertrand 9977: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   9978: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   9979: as_write_fail=0
                   9980: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1       bertrand 9981: #! $SHELL
                   9982: # Generated by $as_me.
                   9983: # Run this file to recreate the current configuration.
                   9984: # Compiler output produced by configure, useful for debugging
                   9985: # configure, is in config.log if it exists.
                   9986: 
                   9987: debug=false
                   9988: ac_cs_recheck=false
                   9989: ac_cs_silent=false
1.15      bertrand 9990: 
1.14      bertrand 9991: SHELL=\${CONFIG_SHELL-$SHELL}
1.15      bertrand 9992: export SHELL
                   9993: _ASEOF
                   9994: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   9995: ## -------------------- ##
                   9996: ## M4sh Initialization. ##
                   9997: ## -------------------- ##
1.1       bertrand 9998: 
                   9999: # Be more Bourne compatible
                   10000: DUALCASE=1; export DUALCASE # for MKS sh
1.15      bertrand 10001: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       bertrand 10002:   emulate sh
                   10003:   NULLCMD=:
1.15      bertrand 10004:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       bertrand 10005:   # is contrary to our usage.  Disable this feature.
                   10006:   alias -g '${1+"$@"}'='"$@"'
                   10007:   setopt NO_GLOB_SUBST
                   10008: else
1.15      bertrand 10009:   case `(set -o) 2>/dev/null` in #(
                   10010:   *posix*) :
                   10011:     set -o posix ;; #(
                   10012:   *) :
                   10013:      ;;
1.1       bertrand 10014: esac
                   10015: fi
                   10016: 
                   10017: 
1.15      bertrand 10018: as_nl='
                   10019: '
                   10020: export as_nl
                   10021: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   10022: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   10023: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   10024: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   10025: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   10026: # but without wasting forks for bash or zsh.
                   10027: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   10028:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   10029:   as_echo='print -r --'
                   10030:   as_echo_n='print -rn --'
                   10031: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   10032:   as_echo='printf %s\n'
                   10033:   as_echo_n='printf %s'
                   10034: else
                   10035:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   10036:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   10037:     as_echo_n='/usr/ucb/echo -n'
                   10038:   else
                   10039:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   10040:     as_echo_n_body='eval
                   10041:       arg=$1;
                   10042:       case $arg in #(
                   10043:       *"$as_nl"*)
                   10044:    expr "X$arg" : "X\\(.*\\)$as_nl";
                   10045:    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   10046:       esac;
                   10047:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   10048:     '
                   10049:     export as_echo_n_body
                   10050:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   10051:   fi
                   10052:   export as_echo_body
                   10053:   as_echo='sh -c $as_echo_body as_echo'
                   10054: fi
1.14      bertrand 10055: 
                   10056: # The user is always right.
                   10057: if test "${PATH_SEPARATOR+set}" != set; then
1.15      bertrand 10058:   PATH_SEPARATOR=:
                   10059:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   10060:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   10061:       PATH_SEPARATOR=';'
                   10062:   }
1.1       bertrand 10063: fi
                   10064: 
                   10065: 
                   10066: # IFS
                   10067: # We need space, tab and new line, in precisely that order.  Quoting is
                   10068: # there to prevent editors from complaining about space-tab.
                   10069: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   10070: # splitting by setting IFS to empty value.)
                   10071: IFS=" ""   $as_nl"
                   10072: 
                   10073: # Find who we are.  Look in the path if we contain no directory separator.
1.105     bertrand 10074: as_myself=
1.15      bertrand 10075: case $0 in #((
1.1       bertrand 10076:   *[\\/]* ) as_myself=$0 ;;
                   10077:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10078: for as_dir in $PATH
                   10079: do
                   10080:   IFS=$as_save_IFS
                   10081:   test -z "$as_dir" && as_dir=.
1.15      bertrand 10082:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   10083:   done
1.1       bertrand 10084: IFS=$as_save_IFS
                   10085: 
                   10086:      ;;
                   10087: esac
                   10088: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   10089: # in which case we are not to be found in the path.
                   10090: if test "x$as_myself" = x; then
                   10091:   as_myself=$0
                   10092: fi
                   10093: if test ! -f "$as_myself"; then
1.15      bertrand 10094:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   10095:   exit 1
1.1       bertrand 10096: fi
                   10097: 
1.15      bertrand 10098: # Unset variables that we do not need and which cause bugs (e.g. in
                   10099: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   10100: # suppresses any "Segmentation fault" message there.  '((' could
                   10101: # trigger a bug in pdksh 5.2.14.
                   10102: for as_var in BASH_ENV ENV MAIL MAILPATH
                   10103: do eval test x\${$as_var+set} = xset \
                   10104:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       bertrand 10105: done
                   10106: PS1='$ '
                   10107: PS2='> '
                   10108: PS4='+ '
                   10109: 
                   10110: # NLS nuisances.
1.15      bertrand 10111: LC_ALL=C
                   10112: export LC_ALL
                   10113: LANGUAGE=C
                   10114: export LANGUAGE
                   10115: 
                   10116: # CDPATH.
                   10117: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   10118: 
                   10119: 
1.36      bertrand 10120: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   10121: # ----------------------------------------
1.15      bertrand 10122: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   10123: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.36      bertrand 10124: # script with STATUS, using 1 if that was 0.
1.15      bertrand 10125: as_fn_error ()
                   10126: {
1.36      bertrand 10127:   as_status=$1; test $as_status -eq 0 && as_status=1
                   10128:   if test "$4"; then
                   10129:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   10130:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.15      bertrand 10131:   fi
1.36      bertrand 10132:   $as_echo "$as_me: error: $2" >&2
1.15      bertrand 10133:   as_fn_exit $as_status
                   10134: } # as_fn_error
                   10135: 
                   10136: 
                   10137: # as_fn_set_status STATUS
                   10138: # -----------------------
                   10139: # Set $? to STATUS, without forking.
                   10140: as_fn_set_status ()
                   10141: {
                   10142:   return $1
                   10143: } # as_fn_set_status
                   10144: 
                   10145: # as_fn_exit STATUS
                   10146: # -----------------
                   10147: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   10148: as_fn_exit ()
                   10149: {
                   10150:   set +e
                   10151:   as_fn_set_status $1
                   10152:   exit $1
                   10153: } # as_fn_exit
                   10154: 
                   10155: # as_fn_unset VAR
                   10156: # ---------------
                   10157: # Portably unset VAR.
                   10158: as_fn_unset ()
                   10159: {
                   10160:   { eval $1=; unset $1;}
                   10161: }
                   10162: as_unset=as_fn_unset
                   10163: # as_fn_append VAR VALUE
                   10164: # ----------------------
                   10165: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   10166: # advantage of any shell optimizations that allow amortized linear growth over
                   10167: # repeated appends, instead of the typical quadratic growth present in naive
                   10168: # implementations.
                   10169: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   10170:   eval 'as_fn_append ()
                   10171:   {
                   10172:     eval $1+=\$2
                   10173:   }'
                   10174: else
                   10175:   as_fn_append ()
                   10176:   {
                   10177:     eval $1=\$$1\$2
                   10178:   }
                   10179: fi # as_fn_append
                   10180: 
                   10181: # as_fn_arith ARG...
                   10182: # ------------------
                   10183: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   10184: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   10185: # must be portable across $(()) and expr.
                   10186: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   10187:   eval 'as_fn_arith ()
                   10188:   {
                   10189:     as_val=$(( $* ))
                   10190:   }'
                   10191: else
                   10192:   as_fn_arith ()
                   10193:   {
                   10194:     as_val=`expr "$@" || test $? -eq 1`
                   10195:   }
                   10196: fi # as_fn_arith
                   10197: 
1.1       bertrand 10198: 
                   10199: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   10200:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   10201:   as_expr=expr
                   10202: else
                   10203:   as_expr=false
                   10204: fi
                   10205: 
                   10206: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   10207:   as_basename=basename
                   10208: else
                   10209:   as_basename=false
                   10210: fi
                   10211: 
1.15      bertrand 10212: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   10213:   as_dirname=dirname
                   10214: else
                   10215:   as_dirname=false
                   10216: fi
1.1       bertrand 10217: 
                   10218: as_me=`$as_basename -- "$0" ||
                   10219: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   10220:     X"$0" : 'X\(//\)$' \| \
                   10221:     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 10222: $as_echo X/"$0" |
1.1       bertrand 10223:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   10224:        s//\1/
                   10225:        q
                   10226:      }
                   10227:      /^X\/\(\/\/\)$/{
                   10228:        s//\1/
                   10229:        q
                   10230:      }
                   10231:      /^X\/\(\/\).*/{
                   10232:        s//\1/
                   10233:        q
                   10234:      }
1.14      bertrand 10235:      s/.*/./; q'`
                   10236: 
1.15      bertrand 10237: # Avoid depending upon Character Ranges.
                   10238: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   10239: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   10240: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   10241: as_cr_digits='0123456789'
                   10242: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       bertrand 10243: 
                   10244: ECHO_C= ECHO_N= ECHO_T=
1.15      bertrand 10245: case `echo -n x` in #(((((
1.1       bertrand 10246: -n*)
1.15      bertrand 10247:   case `echo 'xy\c'` in
1.1       bertrand 10248:   *c*) ECHO_T='    ';; # ECHO_T is single tab character.
1.15      bertrand 10249:   xy)  ECHO_C='\c';;
                   10250:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   10251:        ECHO_T='    ';;
1.1       bertrand 10252:   esac;;
                   10253: *)
                   10254:   ECHO_N='-n';;
                   10255: esac
                   10256: 
                   10257: rm -f conf$$ conf$$.exe conf$$.file
                   10258: if test -d conf$$.dir; then
                   10259:   rm -f conf$$.dir/conf$$.file
                   10260: else
                   10261:   rm -f conf$$.dir
1.15      bertrand 10262:   mkdir conf$$.dir 2>/dev/null
1.1       bertrand 10263: fi
1.15      bertrand 10264: if (echo >conf$$.file) 2>/dev/null; then
                   10265:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   10266:     as_ln_s='ln -s'
                   10267:     # ... but there are two gotchas:
                   10268:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   10269:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   10270:     # In both cases, we have to default to `cp -p'.
                   10271:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   10272:       as_ln_s='cp -p'
                   10273:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   10274:     as_ln_s=ln
                   10275:   else
1.1       bertrand 10276:     as_ln_s='cp -p'
1.15      bertrand 10277:   fi
1.1       bertrand 10278: else
                   10279:   as_ln_s='cp -p'
                   10280: fi
                   10281: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   10282: rmdir conf$$.dir 2>/dev/null
                   10283: 
1.15      bertrand 10284: 
                   10285: # as_fn_mkdir_p
                   10286: # -------------
                   10287: # Create "$as_dir" as a directory, including parents if necessary.
                   10288: as_fn_mkdir_p ()
                   10289: {
                   10290: 
                   10291:   case $as_dir in #(
                   10292:   -*) as_dir=./$as_dir;;
                   10293:   esac
                   10294:   test -d "$as_dir" || eval $as_mkdir_p || {
                   10295:     as_dirs=
                   10296:     while :; do
                   10297:       case $as_dir in #(
                   10298:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   10299:       *) as_qdir=$as_dir;;
                   10300:       esac
                   10301:       as_dirs="'$as_qdir' $as_dirs"
                   10302:       as_dir=`$as_dirname -- "$as_dir" ||
                   10303: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10304:     X"$as_dir" : 'X\(//\)[^/]' \| \
                   10305:     X"$as_dir" : 'X\(//\)$' \| \
                   10306:     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   10307: $as_echo X"$as_dir" |
                   10308:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10309:        s//\1/
                   10310:        q
                   10311:      }
                   10312:      /^X\(\/\/\)[^/].*/{
                   10313:        s//\1/
                   10314:        q
                   10315:      }
                   10316:      /^X\(\/\/\)$/{
                   10317:        s//\1/
                   10318:        q
                   10319:      }
                   10320:      /^X\(\/\).*/{
                   10321:        s//\1/
                   10322:        q
                   10323:      }
                   10324:      s/.*/./; q'`
                   10325:       test -d "$as_dir" && break
                   10326:     done
                   10327:     test -z "$as_dirs" || eval "mkdir $as_dirs"
1.36      bertrand 10328:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.15      bertrand 10329: 
                   10330: 
                   10331: } # as_fn_mkdir_p
1.1       bertrand 10332: if mkdir -p . 2>/dev/null; then
1.15      bertrand 10333:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       bertrand 10334: else
                   10335:   test -d ./-p && rmdir ./-p
                   10336:   as_mkdir_p=false
                   10337: fi
                   10338: 
                   10339: if test -x / >/dev/null 2>&1; then
                   10340:   as_test_x='test -x'
                   10341: else
                   10342:   if ls -dL / >/dev/null 2>&1; then
                   10343:     as_ls_L_option=L
                   10344:   else
                   10345:     as_ls_L_option=
                   10346:   fi
                   10347:   as_test_x='
                   10348:     eval sh -c '\''
                   10349:       if test -d "$1"; then
1.15      bertrand 10350:    test -d "$1/.";
1.1       bertrand 10351:       else
1.15      bertrand 10352:    case $1 in #(
                   10353:    -*)set "./$1";;
1.1       bertrand 10354:    esac;
1.15      bertrand 10355:    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1       bertrand 10356:    ???[sx]*):;;*)false;;esac;fi
                   10357:     '\'' sh
                   10358:   '
                   10359: fi
                   10360: as_executable_p=$as_test_x
                   10361: 
                   10362: # Sed expression to map a string onto a valid CPP name.
                   10363: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   10364: 
                   10365: # Sed expression to map a string onto a valid variable name.
                   10366: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   10367: 
                   10368: 
                   10369: exec 6>&1
1.15      bertrand 10370: ## ----------------------------------- ##
                   10371: ## Main body of $CONFIG_STATUS script. ##
                   10372: ## ----------------------------------- ##
                   10373: _ASEOF
                   10374: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       bertrand 10375: 
1.15      bertrand 10376: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   10377: # Save the log message, to keep $0 and so on meaningful, and to
1.1       bertrand 10378: # report actual input values of CONFIG_FILES etc. instead of their
                   10379: # values after options handling.
                   10380: ac_log="
1.100     bertrand 10381: This file was extended by rpl $as_me 4.1.6, which was
1.105     bertrand 10382: generated by GNU Autoconf 2.68.  Invocation command line was
1.1       bertrand 10383: 
                   10384:   CONFIG_FILES    = $CONFIG_FILES
                   10385:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   10386:   CONFIG_LINKS    = $CONFIG_LINKS
                   10387:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   10388:   $ $0 $@
                   10389: 
                   10390: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   10391: "
                   10392: 
                   10393: _ACEOF
                   10394: 
1.15      bertrand 10395: case $ac_config_files in *"
                   10396: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   10397: esac
                   10398: 
                   10399: case $ac_config_headers in *"
                   10400: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   10401: esac
                   10402: 
                   10403: 
                   10404: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 10405: # Files that config.status was made for.
                   10406: config_files="$ac_config_files"
                   10407: config_headers="$ac_config_headers"
                   10408: config_commands="$ac_config_commands"
                   10409: 
                   10410: _ACEOF
                   10411: 
1.15      bertrand 10412: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10413: ac_cs_usage="\
1.15      bertrand 10414: \`$as_me' instantiates files and other configuration actions
                   10415: from templates according to the current configuration.  Unless the files
                   10416: and actions are specified as TAGs, all are instantiated by default.
1.1       bertrand 10417: 
1.15      bertrand 10418: Usage: $0 [OPTION]... [TAG]...
1.1       bertrand 10419: 
                   10420:   -h, --help       print this help, then exit
                   10421:   -V, --version    print version number and configuration settings, then exit
1.15      bertrand 10422:       --config     print configuration, then exit
                   10423:   -q, --quiet, --silent
                   10424:                    do not print progress messages
1.1       bertrand 10425:   -d, --debug      don't remove temporary files
                   10426:       --recheck    update $as_me by reconfiguring in the same conditions
1.15      bertrand 10427:       --file=FILE[:TEMPLATE]
                   10428:                    instantiate the configuration file FILE
                   10429:       --header=FILE[:TEMPLATE]
                   10430:                    instantiate the configuration header FILE
1.1       bertrand 10431: 
                   10432: Configuration files:
                   10433: $config_files
                   10434: 
                   10435: Configuration headers:
                   10436: $config_headers
                   10437: 
                   10438: Configuration commands:
                   10439: $config_commands
                   10440: 
1.15      bertrand 10441: Report bugs to the package provider."
1.1       bertrand 10442: 
                   10443: _ACEOF
1.15      bertrand 10444: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10445: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1       bertrand 10446: ac_cs_version="\\
1.100     bertrand 10447: rpl config.status 4.1.6
1.105     bertrand 10448: configured by $0, generated by GNU Autoconf 2.68,
1.15      bertrand 10449:   with options \\"\$ac_cs_config\\"
1.1       bertrand 10450: 
1.36      bertrand 10451: Copyright (C) 2010 Free Software Foundation, Inc.
1.1       bertrand 10452: This config.status script is free software; the Free Software Foundation
                   10453: gives unlimited permission to copy, distribute and modify it."
                   10454: 
                   10455: ac_pwd='$ac_pwd'
                   10456: srcdir='$srcdir'
                   10457: INSTALL='$INSTALL'
                   10458: MKDIR_P='$MKDIR_P'
1.15      bertrand 10459: AWK='$AWK'
                   10460: test -n "\$AWK" || AWK=awk
1.1       bertrand 10461: _ACEOF
                   10462: 
1.15      bertrand 10463: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   10464: # The default lists apply if the user does not specify any file.
1.1       bertrand 10465: ac_need_defaults=:
                   10466: while test $# != 0
                   10467: do
                   10468:   case $1 in
1.36      bertrand 10469:   --*=?*)
1.1       bertrand 10470:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   10471:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   10472:     ac_shift=:
                   10473:     ;;
1.36      bertrand 10474:   --*=)
                   10475:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   10476:     ac_optarg=
                   10477:     ac_shift=:
                   10478:     ;;
1.1       bertrand 10479:   *)
                   10480:     ac_option=$1
                   10481:     ac_optarg=$2
                   10482:     ac_shift=shift
                   10483:     ;;
                   10484:   esac
                   10485: 
                   10486:   case $ac_option in
                   10487:   # Handling of the options.
                   10488:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   10489:     ac_cs_recheck=: ;;
                   10490:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.15      bertrand 10491:     $as_echo "$ac_cs_version"; exit ;;
                   10492:   --config | --confi | --conf | --con | --co | --c )
                   10493:     $as_echo "$ac_cs_config"; exit ;;
1.1       bertrand 10494:   --debug | --debu | --deb | --de | --d | -d )
                   10495:     debug=: ;;
                   10496:   --file | --fil | --fi | --f )
                   10497:     $ac_shift
1.15      bertrand 10498:     case $ac_optarg in
                   10499:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.36      bertrand 10500:     '') as_fn_error $? "missing file argument" ;;
1.15      bertrand 10501:     esac
                   10502:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1       bertrand 10503:     ac_need_defaults=false;;
                   10504:   --header | --heade | --head | --hea )
                   10505:     $ac_shift
1.15      bertrand 10506:     case $ac_optarg in
                   10507:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   10508:     esac
                   10509:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1       bertrand 10510:     ac_need_defaults=false;;
                   10511:   --he | --h)
                   10512:     # Conflict between --help and --header
1.36      bertrand 10513:     as_fn_error $? "ambiguous option: \`$1'
1.15      bertrand 10514: Try \`$0 --help' for more information.";;
1.1       bertrand 10515:   --help | --hel | -h )
1.15      bertrand 10516:     $as_echo "$ac_cs_usage"; exit ;;
1.1       bertrand 10517:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   10518:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   10519:     ac_cs_silent=: ;;
                   10520: 
                   10521:   # This is an error.
1.36      bertrand 10522:   -*) as_fn_error $? "unrecognized option: \`$1'
1.15      bertrand 10523: Try \`$0 --help' for more information." ;;
1.1       bertrand 10524: 
1.15      bertrand 10525:   *) as_fn_append ac_config_targets " $1"
1.1       bertrand 10526:      ac_need_defaults=false ;;
                   10527: 
                   10528:   esac
                   10529:   shift
                   10530: done
                   10531: 
                   10532: ac_configure_extra_args=
                   10533: 
                   10534: if $ac_cs_silent; then
                   10535:   exec 6>/dev/null
                   10536:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   10537: fi
                   10538: 
                   10539: _ACEOF
1.15      bertrand 10540: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 10541: if \$ac_cs_recheck; then
1.15      bertrand 10542:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   10543:   shift
                   10544:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   10545:   CONFIG_SHELL='$SHELL'
1.1       bertrand 10546:   export CONFIG_SHELL
1.15      bertrand 10547:   exec "\$@"
1.1       bertrand 10548: fi
                   10549: 
                   10550: _ACEOF
1.15      bertrand 10551: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10552: exec 5>>config.log
                   10553: {
                   10554:   echo
                   10555:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   10556: ## Running $as_me. ##
                   10557: _ASBOX
1.15      bertrand 10558:   $as_echo "$ac_log"
1.1       bertrand 10559: } >&5
                   10560: 
                   10561: _ACEOF
1.15      bertrand 10562: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 10563: #
                   10564: # INIT-COMMANDS
                   10565: #
                   10566: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   10567: 
                   10568: _ACEOF
                   10569: 
1.15      bertrand 10570: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10571: 
                   10572: # Handling of arguments.
                   10573: for ac_config_target in $ac_config_targets
                   10574: do
                   10575:   case $ac_config_target in
                   10576:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
                   10577:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   10578:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   10579:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
                   10580:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
                   10581:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   10582:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
                   10583:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
                   10584:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   10585:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
                   10586:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
                   10587:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
                   10588:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
                   10589:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
                   10590:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
1.9       bertrand 10591:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
1.55      bertrand 10592:     "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
1.39      bertrand 10593:     "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;;
1.1       bertrand 10594:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
                   10595:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
                   10596:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
                   10597:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
                   10598:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
                   10599:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
                   10600:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
                   10601:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
                   10602:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
                   10603:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
                   10604:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
                   10605:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
1.97      bertrand 10606:     "DEBIAN/control") CONFIG_FILES="$CONFIG_FILES DEBIAN/control" ;;
1.1       bertrand 10607: 
1.105     bertrand 10608:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       bertrand 10609:   esac
                   10610: done
                   10611: 
                   10612: 
                   10613: # If the user did not use the arguments to specify the items to instantiate,
                   10614: # then the envvar interface is used.  Set only those that are not.
                   10615: # We use the long form for the default assignment because of an extremely
                   10616: # bizarre bug on SunOS 4.1.3.
                   10617: if $ac_need_defaults; then
                   10618:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   10619:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   10620:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   10621: fi
                   10622: 
                   10623: # Have a temporary directory for convenience.  Make it in the build tree
                   10624: # simply because there is no reason against having it here, and in addition,
                   10625: # creating and moving files from /tmp can sometimes cause problems.
                   10626: # Hook for its removal unless debugging.
                   10627: # Note that there is a small window in which the directory will not be cleaned:
                   10628: # after its creation but before its name has been assigned to `$tmp'.
                   10629: $debug ||
                   10630: {
1.105     bertrand 10631:   tmp= ac_tmp=
1.1       bertrand 10632:   trap 'exit_status=$?
1.105     bertrand 10633:   : "${ac_tmp:=$tmp}"
                   10634:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       bertrand 10635: ' 0
1.15      bertrand 10636:   trap 'as_fn_exit 1' 1 2 13 15
1.1       bertrand 10637: }
                   10638: # Create a (secure) tmp directory for tmp files.
                   10639: 
                   10640: {
                   10641:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.105     bertrand 10642:   test -d "$tmp"
1.1       bertrand 10643: }  ||
                   10644: {
                   10645:   tmp=./conf$$-$RANDOM
                   10646:   (umask 077 && mkdir "$tmp")
1.36      bertrand 10647: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1.105     bertrand 10648: ac_tmp=$tmp
1.15      bertrand 10649: 
                   10650: # Set up the scripts for CONFIG_FILES section.
                   10651: # No need to generate them if there are no CONFIG_FILES.
                   10652: # This happens for instance with `./config.status config.h'.
                   10653: if test -n "$CONFIG_FILES"; then
1.14      bertrand 10654: 
1.1       bertrand 10655: 
1.15      bertrand 10656: ac_cr=`echo X | tr X '\015'`
                   10657: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   10658: # But we know of no other shell where ac_cr would be empty at this
                   10659: # point, so we can use a bashism as a fallback.
                   10660: if test "x$ac_cr" = x; then
                   10661:   eval ac_cr=\$\'\\r\'
                   10662: fi
                   10663: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   10664: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
1.36      bertrand 10665:   ac_cs_awk_cr='\\r'
1.15      bertrand 10666: else
                   10667:   ac_cs_awk_cr=$ac_cr
                   10668: fi
1.1       bertrand 10669: 
1.105     bertrand 10670: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.14      bertrand 10671: _ACEOF
                   10672: 
                   10673: 
1.15      bertrand 10674: {
                   10675:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   10676:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   10677:   echo "_ACEOF"
                   10678: } >conf$$subs.sh ||
1.36      bertrand 10679:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   10680: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.14      bertrand 10681: ac_delim='%!_!# '
                   10682: for ac_last_try in false false false false false :; do
1.15      bertrand 10683:   . ./conf$$subs.sh ||
1.36      bertrand 10684:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.14      bertrand 10685: 
1.15      bertrand 10686:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   10687:   if test $ac_delim_n = $ac_delim_num; then
1.14      bertrand 10688:     break
                   10689:   elif $ac_last_try; then
1.36      bertrand 10690:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.14      bertrand 10691:   else
                   10692:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   10693:   fi
                   10694: done
1.15      bertrand 10695: rm -f conf$$subs.sh
1.1       bertrand 10696: 
1.15      bertrand 10697: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.105     bertrand 10698: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.15      bertrand 10699: _ACEOF
                   10700: sed -n '
                   10701: h
                   10702: s/^/S["/; s/!.*/"]=/
                   10703: p
                   10704: g
                   10705: s/^[^!]*!//
                   10706: :repl
                   10707: t repl
                   10708: s/'"$ac_delim"'$//
                   10709: t delim
                   10710: :nl
                   10711: h
                   10712: s/\(.\{148\}\)..*/\1/
                   10713: t more1
                   10714: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   10715: p
                   10716: n
                   10717: b repl
                   10718: :more1
                   10719: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   10720: p
                   10721: g
                   10722: s/.\{148\}//
                   10723: t nl
                   10724: :delim
                   10725: h
                   10726: s/\(.\{148\}\)..*/\1/
                   10727: t more2
                   10728: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   10729: p
                   10730: b
                   10731: :more2
                   10732: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   10733: p
                   10734: g
                   10735: s/.\{148\}//
                   10736: t delim
                   10737: ' <conf$$subs.awk | sed '
                   10738: /^[^""]/{
                   10739:   N
                   10740:   s/\n//
                   10741: }
                   10742: ' >>$CONFIG_STATUS || ac_write_fail=1
                   10743: rm -f conf$$subs.awk
                   10744: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10745: _ACAWK
1.105     bertrand 10746: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.15      bertrand 10747:   for (key in S) S_is_set[key] = 1
                   10748:   FS = ""
1.1       bertrand 10749: 
1.15      bertrand 10750: }
                   10751: {
                   10752:   line = $ 0
                   10753:   nfields = split(line, field, "@")
                   10754:   substed = 0
                   10755:   len = length(field[1])
                   10756:   for (i = 2; i < nfields; i++) {
                   10757:     key = field[i]
                   10758:     keylen = length(key)
                   10759:     if (S_is_set[key]) {
                   10760:       value = S[key]
                   10761:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   10762:       len += length(value) + length(field[++i])
                   10763:       substed = 1
                   10764:     } else
                   10765:       len += 1 + keylen
                   10766:   }
1.1       bertrand 10767: 
1.15      bertrand 10768:   print line
                   10769: }
1.1       bertrand 10770: 
1.15      bertrand 10771: _ACAWK
1.14      bertrand 10772: _ACEOF
1.15      bertrand 10773: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   10774: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   10775:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   10776: else
                   10777:   cat
1.105     bertrand 10778: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1.36      bertrand 10779:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.1       bertrand 10780: _ACEOF
                   10781: 
1.36      bertrand 10782: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   10783: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1       bertrand 10784: # trailing colons and then remove the whole line if VPATH becomes empty
                   10785: # (actually we leave an empty line to preserve line numbers).
                   10786: if test "x$srcdir" = x.; then
1.36      bertrand 10787:   ac_vpsub='/^[     ]*VPATH[    ]*=[    ]*/{
                   10788: h
                   10789: s///
                   10790: s/^/:/
                   10791: s/[     ]*$/:/
                   10792: s/:\$(srcdir):/:/g
                   10793: s/:\${srcdir}:/:/g
                   10794: s/:@srcdir@:/:/g
                   10795: s/^:*//
1.1       bertrand 10796: s/:*$//
1.36      bertrand 10797: x
                   10798: s/\(=[  ]*\).*/\1/
                   10799: G
                   10800: s/\n//
1.1       bertrand 10801: s/^[^=]*=[  ]*$//
                   10802: }'
                   10803: fi
                   10804: 
1.15      bertrand 10805: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10806: fi # test -n "$CONFIG_FILES"
                   10807: 
1.15      bertrand 10808: # Set up the scripts for CONFIG_HEADERS section.
                   10809: # No need to generate them if there are no CONFIG_HEADERS.
                   10810: # This happens for instance with `./config.status Makefile'.
                   10811: if test -n "$CONFIG_HEADERS"; then
1.105     bertrand 10812: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.15      bertrand 10813: BEGIN {
                   10814: _ACEOF
                   10815: 
                   10816: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   10817: # here-document in config.status, that substitutes the proper values into
                   10818: # config.h.in to produce config.h.
                   10819: 
                   10820: # Create a delimiter string that does not exist in confdefs.h, to ease
                   10821: # handling of long lines.
                   10822: ac_delim='%!_!# '
                   10823: for ac_last_try in false false :; do
1.105     bertrand 10824:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   10825:   if test -z "$ac_tt"; then
1.15      bertrand 10826:     break
                   10827:   elif $ac_last_try; then
1.36      bertrand 10828:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1.15      bertrand 10829:   else
                   10830:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   10831:   fi
                   10832: done
                   10833: 
                   10834: # For the awk script, D is an array of macro values keyed by name,
                   10835: # likewise P contains macro parameters if any.  Preserve backslash
                   10836: # newline sequences.
                   10837: 
                   10838: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   10839: sed -n '
                   10840: s/.\{148\}/&'"$ac_delim"'/g
                   10841: t rset
                   10842: :rset
                   10843: s/^[    ]*#[    ]*define[   ][  ]*/ /
                   10844: t def
                   10845: d
                   10846: :def
                   10847: s/\\$//
                   10848: t bsnl
                   10849: s/["\\]/\\&/g
                   10850: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   10851: D["\1"]=" \3"/p
                   10852: s/^ \('"$ac_word_re"'\)[    ]*\(.*\)/D["\1"]=" \2"/p
                   10853: d
                   10854: :bsnl
                   10855: s/["\\]/\\&/g
                   10856: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   10857: D["\1"]=" \3\\\\\\n"\\/p
                   10858: t cont
                   10859: s/^ \('"$ac_word_re"'\)[    ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   10860: t cont
                   10861: d
                   10862: :cont
                   10863: n
                   10864: s/.\{148\}/&'"$ac_delim"'/g
                   10865: t clear
                   10866: :clear
                   10867: s/\\$//
                   10868: t bsnlc
                   10869: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   10870: d
                   10871: :bsnlc
                   10872: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   10873: b cont
                   10874: ' <confdefs.h | sed '
                   10875: s/'"$ac_delim"'/"\\\
                   10876: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   10877: 
                   10878: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10879:   for (key in D) D_is_set[key] = 1
                   10880:   FS = ""
                   10881: }
                   10882: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   10883:   line = \$ 0
                   10884:   split(line, arg, " ")
                   10885:   if (arg[1] == "#") {
                   10886:     defundef = arg[2]
                   10887:     mac1 = arg[3]
                   10888:   } else {
                   10889:     defundef = substr(arg[1], 2)
                   10890:     mac1 = arg[2]
                   10891:   }
                   10892:   split(mac1, mac2, "(") #)
                   10893:   macro = mac2[1]
                   10894:   prefix = substr(line, 1, index(line, defundef) - 1)
                   10895:   if (D_is_set[macro]) {
                   10896:     # Preserve the white space surrounding the "#".
                   10897:     print prefix "define", macro P[macro] D[macro]
                   10898:     next
                   10899:   } else {
                   10900:     # Replace #undef with comments.  This is necessary, for example,
                   10901:     # in the case of _POSIX_SOURCE, which is predefined and required
                   10902:     # on some systems where configure will not decide to define it.
                   10903:     if (defundef == "undef") {
                   10904:       print "/*", prefix defundef, macro, "*/"
                   10905:       next
                   10906:     }
                   10907:   }
                   10908: }
                   10909: { print }
                   10910: _ACAWK
                   10911: _ACEOF
                   10912: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.36      bertrand 10913:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1.15      bertrand 10914: fi # test -n "$CONFIG_HEADERS"
                   10915: 
1.1       bertrand 10916: 
1.15      bertrand 10917: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   10918: shift
                   10919: for ac_tag
1.1       bertrand 10920: do
                   10921:   case $ac_tag in
                   10922:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   10923:   esac
                   10924:   case $ac_mode$ac_tag in
                   10925:   :[FHL]*:*);;
1.105     bertrand 10926:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       bertrand 10927:   :[FH]-) ac_tag=-:-;;
                   10928:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   10929:   esac
                   10930:   ac_save_IFS=$IFS
                   10931:   IFS=:
                   10932:   set x $ac_tag
                   10933:   IFS=$ac_save_IFS
                   10934:   shift
                   10935:   ac_file=$1
                   10936:   shift
                   10937: 
                   10938:   case $ac_mode in
                   10939:   :L) ac_source=$1;;
                   10940:   :[FH])
                   10941:     ac_file_inputs=
                   10942:     for ac_f
                   10943:     do
                   10944:       case $ac_f in
1.105     bertrand 10945:       -) ac_f="$ac_tmp/stdin";;
1.1       bertrand 10946:       *) # Look for the file first in the build tree, then in the source tree
                   10947:     # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   10948:     # because $ac_f cannot contain `:'.
                   10949:     test -f "$ac_f" ||
                   10950:       case $ac_f in
                   10951:       [\\/$]*) false;;
                   10952:       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   10953:       esac ||
1.105     bertrand 10954:       as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       bertrand 10955:       esac
1.15      bertrand 10956:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   10957:       as_fn_append ac_file_inputs " '$ac_f'"
1.1       bertrand 10958:     done
                   10959: 
                   10960:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   10961:     # use $as_me), people would be surprised to read:
                   10962:     #    /* config.h.  Generated by config.status.  */
1.15      bertrand 10963:     configure_input='Generated from '`
                   10964:      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   10965:    `' by configure.'
1.1       bertrand 10966:     if test x"$ac_file" != x-; then
                   10967:       configure_input="$ac_file.  $configure_input"
1.15      bertrand 10968:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   10969: $as_echo "$as_me: creating $ac_file" >&6;}
1.1       bertrand 10970:     fi
1.15      bertrand 10971:     # Neutralize special characters interpreted by sed in replacement strings.
                   10972:     case $configure_input in #(
                   10973:     *\&* | *\|* | *\\* )
                   10974:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   10975:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   10976:     *) ac_sed_conf_input=$configure_input;;
                   10977:     esac
1.1       bertrand 10978: 
                   10979:     case $ac_tag in
1.105     bertrand 10980:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   10981:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       bertrand 10982:     esac
                   10983:     ;;
                   10984:   esac
                   10985: 
                   10986:   ac_dir=`$as_dirname -- "$ac_file" ||
                   10987: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10988:     X"$ac_file" : 'X\(//\)[^/]' \| \
                   10989:     X"$ac_file" : 'X\(//\)$' \| \
                   10990:     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 10991: $as_echo X"$ac_file" |
1.1       bertrand 10992:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10993:        s//\1/
                   10994:        q
                   10995:      }
                   10996:      /^X\(\/\/\)[^/].*/{
                   10997:        s//\1/
                   10998:        q
                   10999:      }
                   11000:      /^X\(\/\/\)$/{
                   11001:        s//\1/
                   11002:        q
                   11003:      }
                   11004:      /^X\(\/\).*/{
                   11005:        s//\1/
                   11006:        q
                   11007:      }
                   11008:      s/.*/./; q'`
1.15      bertrand 11009:   as_dir="$ac_dir"; as_fn_mkdir_p
1.1       bertrand 11010:   ac_builddir=.
                   11011: 
                   11012: case "$ac_dir" in
                   11013: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   11014: *)
1.15      bertrand 11015:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 11016:   # A ".." for each directory in $ac_dir_suffix.
1.15      bertrand 11017:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 11018:   case $ac_top_builddir_sub in
                   11019:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   11020:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   11021:   esac ;;
                   11022: esac
                   11023: ac_abs_top_builddir=$ac_pwd
                   11024: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   11025: # for backward compatibility:
                   11026: ac_top_builddir=$ac_top_build_prefix
                   11027: 
                   11028: case $srcdir in
                   11029:   .)  # We are building in place.
                   11030:     ac_srcdir=.
                   11031:     ac_top_srcdir=$ac_top_builddir_sub
                   11032:     ac_abs_top_srcdir=$ac_pwd ;;
                   11033:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   11034:     ac_srcdir=$srcdir$ac_dir_suffix;
                   11035:     ac_top_srcdir=$srcdir
                   11036:     ac_abs_top_srcdir=$srcdir ;;
                   11037:   *) # Relative name.
                   11038:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   11039:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   11040:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   11041: esac
                   11042: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   11043: 
                   11044: 
                   11045:   case $ac_mode in
                   11046:   :F)
                   11047:   #
                   11048:   # CONFIG_FILE
                   11049:   #
                   11050: 
                   11051:   case $INSTALL in
                   11052:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   11053:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   11054:   esac
                   11055:   ac_MKDIR_P=$MKDIR_P
                   11056:   case $MKDIR_P in
                   11057:   [\\/$]* | ?:[\\/]* ) ;;
                   11058:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   11059:   esac
                   11060: _ACEOF
                   11061: 
1.15      bertrand 11062: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 11063: # If the template does not know about datarootdir, expand it.
                   11064: # FIXME: This hack should be removed a few years after 2.60.
                   11065: ac_datarootdir_hack=; ac_datarootdir_seen=
1.15      bertrand 11066: ac_sed_dataroot='
                   11067: /datarootdir/ {
1.1       bertrand 11068:   p
                   11069:   q
                   11070: }
                   11071: /@datadir@/p
                   11072: /@docdir@/p
                   11073: /@infodir@/p
                   11074: /@localedir@/p
1.15      bertrand 11075: /@mandir@/p'
                   11076: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.1       bertrand 11077: *datarootdir*) ac_datarootdir_seen=yes;;
                   11078: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.15      bertrand 11079:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   11080: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       bertrand 11081: _ACEOF
1.15      bertrand 11082: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 11083:   ac_datarootdir_hack='
                   11084:   s&@datadir@&$datadir&g
                   11085:   s&@docdir@&$docdir&g
                   11086:   s&@infodir@&$infodir&g
                   11087:   s&@localedir@&$localedir&g
                   11088:   s&@mandir@&$mandir&g
1.15      bertrand 11089:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.1       bertrand 11090: esac
                   11091: _ACEOF
                   11092: 
                   11093: # Neutralize VPATH when `$srcdir' = `.'.
                   11094: # Shell code in configure.ac might set extrasub.
                   11095: # FIXME: do we really want to maintain this feature?
1.15      bertrand 11096: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   11097: ac_sed_extra="$ac_vpsub
1.1       bertrand 11098: $extrasub
                   11099: _ACEOF
1.15      bertrand 11100: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 11101: :t
                   11102: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.15      bertrand 11103: s|@configure_input@|$ac_sed_conf_input|;t t
1.1       bertrand 11104: s&@top_builddir@&$ac_top_builddir_sub&;t t
1.15      bertrand 11105: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.1       bertrand 11106: s&@srcdir@&$ac_srcdir&;t t
                   11107: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   11108: s&@top_srcdir@&$ac_top_srcdir&;t t
                   11109: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   11110: s&@builddir@&$ac_builddir&;t t
                   11111: s&@abs_builddir@&$ac_abs_builddir&;t t
                   11112: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   11113: s&@INSTALL@&$ac_INSTALL&;t t
                   11114: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   11115: $ac_datarootdir_hack
1.15      bertrand 11116: "
1.105     bertrand 11117: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   11118:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       bertrand 11119: 
                   11120: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.105     bertrand 11121:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   11122:   { ac_out=`sed -n '/^[     ]*datarootdir[  ]*:*=/p' \
                   11123:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.15      bertrand 11124:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.36      bertrand 11125: which seems to be undefined.  Please make sure it is defined" >&5
1.15      bertrand 11126: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.36      bertrand 11127: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       bertrand 11128: 
1.105     bertrand 11129:   rm -f "$ac_tmp/stdin"
1.1       bertrand 11130:   case $ac_file in
1.105     bertrand 11131:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   11132:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.15      bertrand 11133:   esac \
1.36      bertrand 11134:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       bertrand 11135:  ;;
                   11136:   :H)
                   11137:   #
                   11138:   # CONFIG_HEADER
                   11139:   #
                   11140:   if test x"$ac_file" != x-; then
1.15      bertrand 11141:     {
                   11142:       $as_echo "/* $configure_input  */" \
1.105     bertrand 11143:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   11144:     } >"$ac_tmp/config.h" \
1.36      bertrand 11145:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.105     bertrand 11146:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.15      bertrand 11147:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   11148: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.1       bertrand 11149:     else
1.15      bertrand 11150:       rm -f "$ac_file"
1.105     bertrand 11151:       mv "$ac_tmp/config.h" "$ac_file" \
1.36      bertrand 11152:    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       bertrand 11153:     fi
                   11154:   else
1.15      bertrand 11155:     $as_echo "/* $configure_input  */" \
1.105     bertrand 11156:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1.36      bertrand 11157:       || as_fn_error $? "could not create -" "$LINENO" 5
1.1       bertrand 11158:   fi
1.15      bertrand 11159: # Compute "$ac_file"'s index in $config_headers.
                   11160: _am_arg="$ac_file"
1.1       bertrand 11161: _am_stamp_count=1
                   11162: for _am_header in $config_headers :; do
                   11163:   case $_am_header in
                   11164:     $_am_arg | $_am_arg:* )
                   11165:       break ;;
                   11166:     * )
                   11167:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   11168:   esac
                   11169: done
                   11170: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   11171: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11172:     X"$_am_arg" : 'X\(//\)[^/]' \| \
                   11173:     X"$_am_arg" : 'X\(//\)$' \| \
                   11174:     X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 11175: $as_echo X"$_am_arg" |
1.1       bertrand 11176:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   11177:        s//\1/
                   11178:        q
                   11179:      }
                   11180:      /^X\(\/\/\)[^/].*/{
                   11181:        s//\1/
                   11182:        q
                   11183:      }
                   11184:      /^X\(\/\/\)$/{
                   11185:        s//\1/
                   11186:        q
                   11187:      }
                   11188:      /^X\(\/\).*/{
                   11189:        s//\1/
                   11190:        q
                   11191:      }
                   11192:      s/.*/./; q'`/stamp-h$_am_stamp_count
                   11193:  ;;
                   11194: 
1.15      bertrand 11195:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   11196: $as_echo "$as_me: executing $ac_file commands" >&6;}
1.1       bertrand 11197:  ;;
                   11198:   esac
                   11199: 
                   11200: 
                   11201:   case $ac_file$ac_mode in
1.15      bertrand 11202:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   11203:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   11204:   # are listed without --file.  Let's play safe and only enable the eval
                   11205:   # if we detect the quoting.
                   11206:   case $CONFIG_FILES in
                   11207:   *\'*) eval set x "$CONFIG_FILES" ;;
                   11208:   *)   set x $CONFIG_FILES ;;
                   11209:   esac
                   11210:   shift
                   11211:   for mf
                   11212:   do
                   11213:     # Strip MF so we end up with the name of the file.
                   11214:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   11215:     # Check whether this is an Automake generated Makefile or not.
                   11216:     # We used to match only the files named `Makefile.in', but
                   11217:     # some people rename them; so instead we look at the file content.
                   11218:     # Grep'ing the first line is not enough: some people post-process
                   11219:     # each Makefile.in and add a new line on top of each file to say so.
                   11220:     # Grep'ing the whole file is not good either: AIX grep has a line
                   11221:     # limit of 2048, but all sed's we know have understand at least 4000.
                   11222:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   11223:       dirpart=`$as_dirname -- "$mf" ||
1.1       bertrand 11224: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11225:     X"$mf" : 'X\(//\)[^/]' \| \
                   11226:     X"$mf" : 'X\(//\)$' \| \
                   11227:     X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 11228: $as_echo X"$mf" |
1.1       bertrand 11229:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   11230:        s//\1/
                   11231:        q
                   11232:      }
                   11233:      /^X\(\/\/\)[^/].*/{
                   11234:        s//\1/
                   11235:        q
                   11236:      }
                   11237:      /^X\(\/\/\)$/{
                   11238:        s//\1/
                   11239:        q
                   11240:      }
                   11241:      /^X\(\/\).*/{
                   11242:        s//\1/
                   11243:        q
                   11244:      }
                   11245:      s/.*/./; q'`
1.15      bertrand 11246:     else
                   11247:       continue
                   11248:     fi
                   11249:     # Extract the definition of DEPDIR, am__include, and am__quote
                   11250:     # from the Makefile without running `make'.
                   11251:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   11252:     test -z "$DEPDIR" && continue
                   11253:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   11254:     test -z "am__include" && continue
                   11255:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   11256:     # When using ansi2knr, U may be empty or an underscore; expand it
                   11257:     U=`sed -n 's/^U = //p' < "$mf"`
                   11258:     # Find all dependency output files, they are included files with
                   11259:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   11260:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   11261:     # expansion.
                   11262:     for file in `sed -n "
                   11263:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   11264:     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   11265:       # Make sure the directory exists.
                   11266:       test -f "$dirpart/$file" && continue
                   11267:       fdir=`$as_dirname -- "$file" ||
1.1       bertrand 11268: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   11269:     X"$file" : 'X\(//\)[^/]' \| \
                   11270:     X"$file" : 'X\(//\)$' \| \
                   11271:     X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.15      bertrand 11272: $as_echo X"$file" |
1.1       bertrand 11273:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   11274:        s//\1/
                   11275:        q
                   11276:      }
                   11277:      /^X\(\/\/\)[^/].*/{
                   11278:        s//\1/
                   11279:        q
                   11280:      }
                   11281:      /^X\(\/\/\)$/{
                   11282:        s//\1/
                   11283:        q
                   11284:      }
                   11285:      /^X\(\/\).*/{
                   11286:        s//\1/
                   11287:        q
                   11288:      }
                   11289:      s/.*/./; q'`
1.15      bertrand 11290:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   11291:       # echo "creating $dirpart/$file"
                   11292:       echo '# dummy' > "$dirpart/$file"
1.1       bertrand 11293:     done
                   11294:   done
1.15      bertrand 11295: }
1.1       bertrand 11296:  ;;
                   11297: 
                   11298:   esac
                   11299: done # for ac_tag
                   11300: 
                   11301: 
1.15      bertrand 11302: as_fn_exit 0
1.1       bertrand 11303: _ACEOF
                   11304: ac_clean_files=$ac_clean_files_save
                   11305: 
1.15      bertrand 11306: test $ac_write_fail = 0 ||
1.36      bertrand 11307:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.15      bertrand 11308: 
1.1       bertrand 11309: 
                   11310: # configure is writing to config.log, and then calls config.status.
                   11311: # config.status does its own redirection, appending to config.log.
                   11312: # Unfortunately, on DOS this fails, as config.log is still kept open
                   11313: # by configure, so config.status won't be able to write to it; its
                   11314: # output is simply discarded.  So we exec the FD to /dev/null,
                   11315: # effectively closing config.log, so it can be properly (re)opened and
                   11316: # appended to by config.status.  When coming back to configure, we
                   11317: # need to make the FD available again.
                   11318: if test "$no_create" != yes; then
                   11319:   ac_cs_success=:
                   11320:   ac_config_status_args=
                   11321:   test "$silent" = yes &&
                   11322:     ac_config_status_args="$ac_config_status_args --quiet"
                   11323:   exec 5>/dev/null
                   11324:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   11325:   exec 5>>config.log
                   11326:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   11327:   # would make configure fail if this is the last instruction.
1.36      bertrand 11328:   $ac_cs_success || as_fn_exit 1
1.1       bertrand 11329: fi
                   11330: 
                   11331: #
                   11332: # CONFIG_SUBDIRS section.
                   11333: #
                   11334: if test "$no_recursion" != yes; then
                   11335: 
1.15      bertrand 11336:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   11337:   # so they do not pile up.
1.1       bertrand 11338:   ac_sub_configure_args=
                   11339:   ac_prev=
                   11340:   eval "set x $ac_configure_args"
                   11341:   shift
                   11342:   for ac_arg
                   11343:   do
                   11344:     if test -n "$ac_prev"; then
                   11345:       ac_prev=
                   11346:       continue
                   11347:     fi
                   11348:     case $ac_arg in
                   11349:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   11350:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   11351:       ac_prev=cache_file ;;
                   11352:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   11353:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   11354:     | --c=*)
                   11355:       ;;
                   11356:     --config-cache | -C)
                   11357:       ;;
                   11358:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   11359:       ac_prev=srcdir ;;
                   11360:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   11361:       ;;
                   11362:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   11363:       ac_prev=prefix ;;
                   11364:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   11365:       ;;
1.15      bertrand 11366:     --disable-option-checking)
                   11367:       ;;
1.1       bertrand 11368:     *)
                   11369:       case $ac_arg in
1.15      bertrand 11370:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       bertrand 11371:       esac
1.15      bertrand 11372:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       bertrand 11373:     esac
                   11374:   done
                   11375: 
                   11376:   # Always prepend --prefix to ensure using the same prefix
                   11377:   # in subdir configurations.
                   11378:   ac_arg="--prefix=$prefix"
                   11379:   case $ac_arg in
1.15      bertrand 11380:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       bertrand 11381:   esac
                   11382:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   11383: 
                   11384:   # Pass --silent
                   11385:   if test "$silent" = yes; then
                   11386:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   11387:   fi
                   11388: 
1.15      bertrand 11389:   # Always prepend --disable-option-checking to silence warnings, since
                   11390:   # different subdirs can have different --enable and --with options.
                   11391:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
                   11392: 
1.1       bertrand 11393:   ac_popdir=`pwd`
                   11394:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
                   11395: 
                   11396:     # Do not complain, so a configure script can configure whichever
                   11397:     # parts of a large source tree are present.
                   11398:     test -d "$srcdir/$ac_dir" || continue
                   11399: 
                   11400:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
1.15      bertrand 11401:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   11402:     $as_echo "$ac_msg" >&6
                   11403:     as_dir="$ac_dir"; as_fn_mkdir_p
1.1       bertrand 11404:     ac_builddir=.
                   11405: 
                   11406: case "$ac_dir" in
                   11407: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   11408: *)
1.15      bertrand 11409:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 11410:   # A ".." for each directory in $ac_dir_suffix.
1.15      bertrand 11411:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 11412:   case $ac_top_builddir_sub in
                   11413:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   11414:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   11415:   esac ;;
                   11416: esac
                   11417: ac_abs_top_builddir=$ac_pwd
                   11418: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   11419: # for backward compatibility:
                   11420: ac_top_builddir=$ac_top_build_prefix
                   11421: 
                   11422: case $srcdir in
                   11423:   .)  # We are building in place.
                   11424:     ac_srcdir=.
                   11425:     ac_top_srcdir=$ac_top_builddir_sub
                   11426:     ac_abs_top_srcdir=$ac_pwd ;;
                   11427:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   11428:     ac_srcdir=$srcdir$ac_dir_suffix;
                   11429:     ac_top_srcdir=$srcdir
                   11430:     ac_abs_top_srcdir=$srcdir ;;
                   11431:   *) # Relative name.
                   11432:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   11433:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   11434:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   11435: esac
                   11436: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   11437: 
                   11438: 
                   11439:     cd "$ac_dir"
                   11440: 
                   11441:     # Check for guested configure; otherwise get Cygnus style configure.
                   11442:     if test -f "$ac_srcdir/configure.gnu"; then
                   11443:       ac_sub_configure=$ac_srcdir/configure.gnu
                   11444:     elif test -f "$ac_srcdir/configure"; then
                   11445:       ac_sub_configure=$ac_srcdir/configure
                   11446:     elif test -f "$ac_srcdir/configure.in"; then
                   11447:       # This should be Cygnus configure.
                   11448:       ac_sub_configure=$ac_aux_dir/configure
                   11449:     else
1.15      bertrand 11450:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   11451: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       bertrand 11452:       ac_sub_configure=
                   11453:     fi
                   11454: 
                   11455:     # The recursion is here.
                   11456:     if test -n "$ac_sub_configure"; then
                   11457:       # Make the cache file name correct relative to the subdirectory.
                   11458:       case $cache_file in
                   11459:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
                   11460:       *) # Relative name.
                   11461:    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
                   11462:       esac
                   11463: 
1.15      bertrand 11464:       { $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
                   11465: $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 11466:       # The eval makes quoting arguments work.
                   11467:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   11468:       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
1.36      bertrand 11469:    as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       bertrand 11470:     fi
                   11471: 
                   11472:     cd "$ac_popdir"
                   11473:   done
                   11474: fi
1.15      bertrand 11475: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   11476:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   11477: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   11478: fi
1.1       bertrand 11479: 

CVSweb interface <joel.bertrand@systella.fr>