Annotation of rpl/configure, revision 1.15

1.1       bertrand    1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.15    ! bertrand    3: # Generated by GNU Autoconf 2.65 for rpl 4.0.13.
        !             4: #
1.1       bertrand    5: #
                      6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.15    ! bertrand    7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
        !             8: # Inc.
        !             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.15    ! bertrand   92: case $0 in #((
1.1       bertrand   93:   *[\\/]* ) as_myself=$0 ;;
                     94:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     95: for as_dir in $PATH
                     96: do
                     97:   IFS=$as_save_IFS
                     98:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand   99:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !           100:   done
1.1       bertrand  101: IFS=$as_save_IFS
                    102: 
                    103:      ;;
                    104: esac
                    105: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    106: # in which case we are not to be found in the path.
                    107: if test "x$as_myself" = x; then
                    108:   as_myself=$0
                    109: fi
                    110: if test ! -f "$as_myself"; then
1.15    ! bertrand  111:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !           112:   exit 1
1.1       bertrand  113: fi
                    114: 
1.15    ! bertrand  115: # Unset variables that we do not need and which cause bugs (e.g. in
        !           116: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !           117: # suppresses any "Segmentation fault" message there.  '((' could
        !           118: # trigger a bug in pdksh 5.2.14.
        !           119: for as_var in BASH_ENV ENV MAIL MAILPATH
        !           120: do eval test x\${$as_var+set} = xset \
        !           121:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       bertrand  122: done
                    123: PS1='$ '
                    124: PS2='> '
                    125: PS4='+ '
                    126: 
                    127: # NLS nuisances.
1.15    ! bertrand  128: LC_ALL=C
        !           129: export LC_ALL
        !           130: LANGUAGE=C
        !           131: export LANGUAGE
1.1       bertrand  132: 
                    133: # CDPATH.
1.15    ! bertrand  134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       bertrand  135: 
                    136: if test "x$CONFIG_SHELL" = x; then
1.15    ! bertrand  137:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
        !           138:   emulate sh
        !           139:   NULLCMD=:
        !           140:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
        !           141:   # is contrary to our usage.  Disable this feature.
        !           142:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
        !           143:   setopt NO_GLOB_SUBST
1.1       bertrand  144: else
1.15    ! bertrand  145:   case \`(set -o) 2>/dev/null\` in #(
        !           146:   *posix*) :
        !           147:     set -o posix ;; #(
        !           148:   *) :
        !           149:      ;;
        !           150: esac
1.1       bertrand  151: fi
1.15    ! bertrand  152: "
        !           153:   as_required="as_fn_return () { (exit \$1); }
        !           154: as_fn_success () { as_fn_return 0; }
        !           155: as_fn_failure () { as_fn_return 1; }
        !           156: as_fn_ret_success () { return 0; }
        !           157: as_fn_ret_failure () { return 1; }
1.1       bertrand  158: 
                    159: exitcode=0
1.15    ! bertrand  160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
        !           161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
        !           162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
        !           163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
        !           164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
        !           165: 
        !           166: else
        !           167:   exitcode=1; echo positional parameters were not saved.
        !           168: fi
        !           169: test x\$exitcode = x0 || exit 1"
        !           170:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
        !           171:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
        !           172:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
        !           173:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
        !           174: test \$(( 1 + 1 )) = 2 || exit 1"
        !           175:   if (eval "$as_required") 2>/dev/null; then :
        !           176:   as_have_required=yes
1.14      bertrand  177: else
1.15    ! bertrand  178:   as_have_required=no
1.14      bertrand  179: fi
1.15    ! bertrand  180:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1.14      bertrand  181: 
                    182: else
1.15    ! bertrand  183:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !           184: as_found=false
1.1       bertrand  185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    186: do
                    187:   IFS=$as_save_IFS
                    188:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand  189:   as_found=:
        !           190:   case $as_dir in #(
1.1       bertrand  191:     /*)
                    192:       for as_base in sh bash ksh sh5; do
1.15    ! bertrand  193:         # Try only shells that exist, to save several forks.
        !           194:         as_shell=$as_dir/$as_base
        !           195:         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
        !           196:            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           197:   CONFIG_SHELL=$as_shell as_have_required=yes
        !           198:           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           199:   break 2
        !           200: fi
        !           201: fi
1.1       bertrand  202:       done;;
                    203:        esac
1.15    ! bertrand  204:   as_found=false
1.1       bertrand  205: done
1.15    ! bertrand  206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
        !           207:          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
        !           208:   CONFIG_SHELL=$SHELL as_have_required=yes
        !           209: fi; }
1.1       bertrand  210: IFS=$as_save_IFS
                    211: 
                    212: 
1.15    ! bertrand  213:       if test "x$CONFIG_SHELL" != x; then :
        !           214:   # We cannot yet assume a decent shell, so we have to provide a
        !           215:    # neutralization value for shells without unset; and this also
        !           216:    # works around shells that cannot unset nonexistent variables.
        !           217:    BASH_ENV=/dev/null
        !           218:    ENV=/dev/null
        !           219:    (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           220:    export CONFIG_SHELL
        !           221:    exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
        !           222: fi
        !           223: 
        !           224:     if test x$as_have_required = xno; then :
        !           225:   $as_echo "$0: This script requires a shell more modern than all"
        !           226:   $as_echo "$0: the shells that I found on your system."
        !           227:   if test x${ZSH_VERSION+set} = xset ; then
        !           228:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
        !           229:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
        !           230:   else
        !           231:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
        !           232: $0: including any error possibly output before this
        !           233: $0: message. Then install a modern shell, or manually run
        !           234: $0: the script under such a shell if you do have one."
        !           235:   fi
        !           236:   exit 1
        !           237: fi
1.1       bertrand  238: fi
                    239: fi
1.15    ! bertrand  240: SHELL=${CONFIG_SHELL-/bin/sh}
        !           241: export SHELL
        !           242: # Unset more variables known to interfere with behavior of common tools.
        !           243: CLICOLOR_FORCE= GREP_OPTIONS=
        !           244: unset CLICOLOR_FORCE GREP_OPTIONS
1.14      bertrand  245: 
1.15    ! bertrand  246: ## --------------------- ##
        !           247: ## M4sh Shell Functions. ##
        !           248: ## --------------------- ##
        !           249: # as_fn_unset VAR
        !           250: # ---------------
        !           251: # Portably unset VAR.
        !           252: as_fn_unset ()
        !           253: {
        !           254:   { eval $1=; unset $1;}
        !           255: }
        !           256: as_unset=as_fn_unset
        !           257: 
        !           258: # as_fn_set_status STATUS
        !           259: # -----------------------
        !           260: # Set $? to STATUS, without forking.
        !           261: as_fn_set_status ()
        !           262: {
        !           263:   return $1
        !           264: } # as_fn_set_status
        !           265: 
        !           266: # as_fn_exit STATUS
        !           267: # -----------------
        !           268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !           269: as_fn_exit ()
        !           270: {
        !           271:   set +e
        !           272:   as_fn_set_status $1
        !           273:   exit $1
        !           274: } # as_fn_exit
        !           275: 
        !           276: # as_fn_mkdir_p
        !           277: # -------------
        !           278: # Create "$as_dir" as a directory, including parents if necessary.
        !           279: as_fn_mkdir_p ()
        !           280: {
1.14      bertrand  281: 
1.15    ! bertrand  282:   case $as_dir in #(
        !           283:   -*) as_dir=./$as_dir;;
        !           284:   esac
        !           285:   test -d "$as_dir" || eval $as_mkdir_p || {
        !           286:     as_dirs=
        !           287:     while :; do
        !           288:       case $as_dir in #(
        !           289:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !           290:       *) as_qdir=$as_dir;;
        !           291:       esac
        !           292:       as_dirs="'$as_qdir' $as_dirs"
        !           293:       as_dir=`$as_dirname -- "$as_dir" ||
        !           294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !           295:     X"$as_dir" : 'X\(//\)[^/]' \| \
        !           296:     X"$as_dir" : 'X\(//\)$' \| \
        !           297:     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !           298: $as_echo X"$as_dir" |
        !           299:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !           300:        s//\1/
        !           301:        q
        !           302:      }
        !           303:      /^X\(\/\/\)[^/].*/{
        !           304:        s//\1/
        !           305:        q
        !           306:      }
        !           307:      /^X\(\/\/\)$/{
        !           308:        s//\1/
        !           309:        q
        !           310:      }
        !           311:      /^X\(\/\).*/{
        !           312:        s//\1/
        !           313:        q
        !           314:      }
        !           315:      s/.*/./; q'`
        !           316:       test -d "$as_dir" && break
        !           317:     done
        !           318:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !           319:   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
1.1       bertrand  320: 
                    321: 
1.15    ! bertrand  322: } # as_fn_mkdir_p
        !           323: # as_fn_append VAR VALUE
        !           324: # ----------------------
        !           325: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !           326: # advantage of any shell optimizations that allow amortized linear growth over
        !           327: # repeated appends, instead of the typical quadratic growth present in naive
        !           328: # implementations.
        !           329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !           330:   eval 'as_fn_append ()
        !           331:   {
        !           332:     eval $1+=\$2
        !           333:   }'
1.14      bertrand  334: else
1.15    ! bertrand  335:   as_fn_append ()
        !           336:   {
        !           337:     eval $1=\$$1\$2
        !           338:   }
        !           339: fi # as_fn_append
1.1       bertrand  340: 
1.15    ! bertrand  341: # as_fn_arith ARG...
        !           342: # ------------------
        !           343: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !           344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !           345: # must be portable across $(()) and expr.
        !           346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !           347:   eval 'as_fn_arith ()
        !           348:   {
        !           349:     as_val=$(( $* ))
        !           350:   }'
1.1       bertrand  351: else
1.15    ! bertrand  352:   as_fn_arith ()
        !           353:   {
        !           354:     as_val=`expr "$@" || test $? -eq 1`
        !           355:   }
        !           356: fi # as_fn_arith
1.14      bertrand  357: 
                    358: 
1.15    ! bertrand  359: # as_fn_error ERROR [LINENO LOG_FD]
        !           360: # ---------------------------------
        !           361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !           362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !           363: # script with status $?, using 1 if that was 0.
        !           364: as_fn_error ()
        !           365: {
        !           366:   as_status=$?; test $as_status -eq 0 && as_status=1
        !           367:   if test "$3"; then
        !           368:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !           369:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
        !           370:   fi
        !           371:   $as_echo "$as_me: error: $1" >&2
        !           372:   as_fn_exit $as_status
        !           373: } # as_fn_error
1.14      bertrand  374: 
1.15    ! bertrand  375: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !           376:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
        !           377:   as_expr=expr
1.1       bertrand  378: else
1.15    ! bertrand  379:   as_expr=false
1.14      bertrand  380: fi
                    381: 
1.15    ! bertrand  382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
        !           383:   as_basename=basename
1.1       bertrand  384: else
1.15    ! bertrand  385:   as_basename=false
1.14      bertrand  386: fi
                    387: 
1.15    ! bertrand  388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !           389:   as_dirname=dirname
1.1       bertrand  390: else
1.15    ! bertrand  391:   as_dirname=false
1.1       bertrand  392: fi
                    393: 
1.15    ! bertrand  394: as_me=`$as_basename -- "$0" ||
        !           395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
        !           396:     X"$0" : 'X\(//\)$' \| \
        !           397:     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !           398: $as_echo X/"$0" |
        !           399:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !           400:        s//\1/
        !           401:        q
        !           402:      }
        !           403:      /^X\/\(\/\/\)$/{
        !           404:        s//\1/
        !           405:        q
        !           406:      }
        !           407:      /^X\/\(\/\).*/{
        !           408:        s//\1/
        !           409:        q
        !           410:      }
        !           411:      s/.*/./; q'`
1.1       bertrand  412: 
1.15    ! bertrand  413: # Avoid depending upon Character Ranges.
        !           414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !           415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !           416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !           417: as_cr_digits='0123456789'
        !           418: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       bertrand  419: 
                    420: 
1.15    ! bertrand  421:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
        !           422:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
        !           423:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
        !           424:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
        !           425:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
1.1       bertrand  426:   sed -n '
                    427:     p
                    428:     /[$]LINENO/=
                    429:   ' <$as_myself |
                    430:     sed '
                    431:       s/[$]LINENO.*/&-/
                    432:       t lineno
                    433:       b
                    434:       :lineno
                    435:       N
                    436:       :loop
                    437:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    438:       t loop
                    439:       s/-\n.*//
                    440:     ' >$as_me.lineno &&
                    441:   chmod +x "$as_me.lineno" ||
1.15    ! bertrand  442:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       bertrand  443: 
                    444:   # Don't try to exec as it changes $[0], causing all sort of problems
                    445:   # (the dirname of $[0] is not the place where we might find the
                    446:   # original and so on.  Autoconf is especially sensitive to this).
                    447:   . "./$as_me.lineno"
                    448:   # Exit status is that of the last command.
                    449:   exit
                    450: }
                    451: 
1.15    ! bertrand  452: ECHO_C= ECHO_N= ECHO_T=
        !           453: case `echo -n x` in #(((((
        !           454: -n*)
        !           455:   case `echo 'xy\c'` in
1.1       bertrand  456:   *c*) ECHO_T='    ';; # ECHO_T is single tab character.
1.15    ! bertrand  457:   xy)  ECHO_C='\c';;
        !           458:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !           459:        ECHO_T='    ';;
1.1       bertrand  460:   esac;;
                    461: *)
                    462:   ECHO_N='-n';;
                    463: esac
                    464: 
                    465: rm -f conf$$ conf$$.exe conf$$.file
                    466: if test -d conf$$.dir; then
                    467:   rm -f conf$$.dir/conf$$.file
                    468: else
                    469:   rm -f conf$$.dir
1.15    ! bertrand  470:   mkdir conf$$.dir 2>/dev/null
1.1       bertrand  471: fi
1.15    ! bertrand  472: if (echo >conf$$.file) 2>/dev/null; then
        !           473:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !           474:     as_ln_s='ln -s'
        !           475:     # ... but there are two gotchas:
        !           476:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !           477:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !           478:     # In both cases, we have to default to `cp -p'.
        !           479:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
        !           480:       as_ln_s='cp -p'
        !           481:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !           482:     as_ln_s=ln
        !           483:   else
1.1       bertrand  484:     as_ln_s='cp -p'
1.15    ! bertrand  485:   fi
1.1       bertrand  486: else
                    487:   as_ln_s='cp -p'
                    488: fi
                    489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    490: rmdir conf$$.dir 2>/dev/null
                    491: 
                    492: if mkdir -p . 2>/dev/null; then
1.15    ! bertrand  493:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       bertrand  494: else
                    495:   test -d ./-p && rmdir ./-p
                    496:   as_mkdir_p=false
                    497: fi
                    498: 
                    499: if test -x / >/dev/null 2>&1; then
                    500:   as_test_x='test -x'
                    501: else
                    502:   if ls -dL / >/dev/null 2>&1; then
                    503:     as_ls_L_option=L
                    504:   else
                    505:     as_ls_L_option=
                    506:   fi
                    507:   as_test_x='
                    508:     eval sh -c '\''
                    509:       if test -d "$1"; then
1.15    ! bertrand  510:    test -d "$1/.";
1.1       bertrand  511:       else
1.15    ! bertrand  512:    case $1 in #(
        !           513:    -*)set "./$1";;
1.1       bertrand  514:    esac;
1.15    ! bertrand  515:    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1       bertrand  516:    ???[sx]*):;;*)false;;esac;fi
                    517:     '\'' sh
                    518:   '
                    519: fi
                    520: as_executable_p=$as_test_x
                    521: 
                    522: # Sed expression to map a string onto a valid CPP name.
                    523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    524: 
                    525: # Sed expression to map a string onto a valid variable name.
                    526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    527: 
                    528: 
1.15    ! bertrand  529: test -n "$DJDIR" || exec 7<&0 </dev/null
        !           530: exec 6>&1
1.1       bertrand  531: 
                    532: # Name of the host.
                    533: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    534: # so uname gets run too.
                    535: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    536: 
                    537: #
                    538: # Initializations.
                    539: #
                    540: ac_default_prefix=/usr/local
                    541: ac_clean_files=
                    542: ac_config_libobj_dir=.
                    543: LIBOBJS=
                    544: cross_compiling=no
                    545: subdirs=
                    546: MFLAGS=
                    547: MAKEFLAGS=
                    548: 
                    549: # Identity of this package.
                    550: PACKAGE_NAME='rpl'
                    551: PACKAGE_TARNAME='rpl'
1.10      bertrand  552: PACKAGE_VERSION='4.0.13'
                    553: PACKAGE_STRING='rpl 4.0.13'
1.1       bertrand  554: PACKAGE_BUGREPORT=''
1.15    ! bertrand  555: PACKAGE_URL=''
1.1       bertrand  556: 
                    557: ac_default_prefix=/usr/local
                    558: # Factoring default headers for most tests.
                    559: ac_includes_default="\
                    560: #include <stdio.h>
                    561: #ifdef HAVE_SYS_TYPES_H
                    562: # include <sys/types.h>
                    563: #endif
                    564: #ifdef HAVE_SYS_STAT_H
                    565: # include <sys/stat.h>
                    566: #endif
                    567: #ifdef STDC_HEADERS
                    568: # include <stdlib.h>
                    569: # include <stddef.h>
                    570: #else
                    571: # ifdef HAVE_STDLIB_H
                    572: #  include <stdlib.h>
                    573: # endif
                    574: #endif
                    575: #ifdef HAVE_STRING_H
                    576: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    577: #  include <memory.h>
                    578: # endif
                    579: # include <string.h>
                    580: #endif
                    581: #ifdef HAVE_STRINGS_H
                    582: # include <strings.h>
                    583: #endif
                    584: #ifdef HAVE_INTTYPES_H
                    585: # include <inttypes.h>
                    586: #endif
                    587: #ifdef HAVE_STDINT_H
                    588: # include <stdint.h>
                    589: #endif
                    590: #ifdef HAVE_UNISTD_H
                    591: # include <unistd.h>
                    592: #endif"
                    593: 
1.15    ! bertrand  594: enable_option_checking=no
        !           595: ac_subst_vars='am__EXEEXT_FALSE
        !           596: am__EXEEXT_TRUE
        !           597: LTLIBOBJS
        !           598: LIBOBJS
        !           599: DATE_FR
        !           600: FINAL_ENCODING
        !           601: OPENSSL
        !           602: SQLITE
        !           603: ICONV
        !           604: FILE
        !           605: GNUPLOT
        !           606: GPP
        !           607: GSL
        !           608: UNITS
        !           609: READLINE
        !           610: NCURSES
        !           611: LIBMTMALLOC
        !           612: OS
        !           613: GNUPLOT_COMPILATION
        !           614: subdirs
        !           615: EGREP
        !           616: GREP
        !           617: libPgSQLlib
        !           618: libPgSQLinc
        !           619: POSTGRESQL_SUPPORT
        !           620: libMySQLlib
        !           621: libMySQLinc
        !           622: MYSQL_SUPPORT
        !           623: DATE
        !           624: includeX
        !           625: libX
        !           626: MOTIF_SUPPORT
        !           627: DEBUG
        !           628: EXPERIMENTAL_CODE
        !           629: VIM_SUPPORT
        !           630: POSTSCRIPT_SUPPORT
        !           631: FORCE_GNUPLOT_PATH
        !           632: GNUPLOT_SUPPORT
        !           633: VIM
        !           634: GNUPLOT_P
        !           635: GV
        !           636: GS
        !           637: DVIPS
        !           638: LATEX
        !           639: TEX
        !           640: SED
        !           641: RANLIB
        !           642: LN_S
        !           643: RUNPATH
        !           644: LIBTOOLIZE
        !           645: PROFILAGE
        !           646: X_EXTRA_LIBS
        !           647: X_LIBS
        !           648: X_PRE_LIBS
        !           649: X_CFLAGS
        !           650: CPP
        !           651: XMKMF
        !           652: ac_ct_FC
        !           653: FCFLAGS
        !           654: FC
        !           655: ac_ct_F77
        !           656: FFLAGS
        !           657: F77
        !           658: am__fastdepCXX_FALSE
        !           659: am__fastdepCXX_TRUE
        !           660: CXXDEPMODE
        !           661: ac_ct_CXX
        !           662: CXXFLAGS
        !           663: CXX
        !           664: am__fastdepCC_FALSE
        !           665: am__fastdepCC_TRUE
        !           666: CCDEPMODE
        !           667: AMDEPBACKSLASH
        !           668: AMDEP_FALSE
        !           669: AMDEP_TRUE
        !           670: am__quote
        !           671: am__include
        !           672: DEPDIR
        !           673: OBJEXT
        !           674: EXEEXT
        !           675: ac_ct_CC
        !           676: CPPFLAGS
        !           677: LDFLAGS
        !           678: CFLAGS
        !           679: CC
        !           680: am__untar
        !           681: am__tar
        !           682: AMTAR
        !           683: am__leading_dot
        !           684: SET_MAKE
        !           685: AWK
        !           686: mkdir_p
        !           687: MKDIR_P
        !           688: INSTALL_STRIP_PROGRAM
        !           689: STRIP
        !           690: install_sh
        !           691: MAKEINFO
        !           692: AUTOHEADER
        !           693: AUTOMAKE
        !           694: AUTOCONF
        !           695: ACLOCAL
        !           696: VERSION
        !           697: PACKAGE
        !           698: CYGPATH_W
        !           699: am__isrc
        !           700: INSTALL_DATA
        !           701: INSTALL_SCRIPT
        !           702: INSTALL_PROGRAM
        !           703: target_os
        !           704: target_vendor
        !           705: target_cpu
        !           706: target
        !           707: host_os
        !           708: host_vendor
        !           709: host_cpu
        !           710: host
        !           711: build_os
        !           712: build_vendor
        !           713: build_cpu
        !           714: build
        !           715: target_alias
        !           716: host_alias
        !           717: build_alias
        !           718: LIBS
        !           719: ECHO_T
        !           720: ECHO_N
        !           721: ECHO_C
        !           722: DEFS
        !           723: mandir
        !           724: localedir
        !           725: libdir
        !           726: psdir
        !           727: pdfdir
        !           728: dvidir
        !           729: htmldir
        !           730: infodir
        !           731: docdir
        !           732: oldincludedir
        !           733: includedir
        !           734: localstatedir
        !           735: sharedstatedir
        !           736: sysconfdir
        !           737: datadir
        !           738: datarootdir
        !           739: libexecdir
        !           740: sbindir
        !           741: bindir
        !           742: program_transform_name
        !           743: prefix
        !           744: exec_prefix
        !           745: PACKAGE_URL
        !           746: PACKAGE_BUGREPORT
        !           747: PACKAGE_STRING
        !           748: PACKAGE_VERSION
        !           749: PACKAGE_TARNAME
        !           750: PACKAGE_NAME
1.14      bertrand  751: PATH_SEPARATOR
1.15    ! bertrand  752: SHELL'
        !           753: ac_subst_files=''
        !           754: ac_user_opts='
        !           755: enable_option_checking
        !           756: enable_dependency_tracking
        !           757: with_x
        !           758: enable_optimization
        !           759: enable_final_encoding
        !           760: enable_tex
        !           761: enable_vim
        !           762: enable_embedded_gnuplot
        !           763: enable_gnuplot
        !           764: enable_motif
        !           765: enable_experimental
        !           766: enable_debug
        !           767: enable_profile
        !           768: enable_final_run_path
        !           769: with_mysql
        !           770: with_postgresql
        !           771: with_openssl_arch
        !           772: '
        !           773:       ac_precious_vars='build_alias
1.1       bertrand  774: host_alias
                    775: target_alias
                    776: CC
                    777: CFLAGS
                    778: LDFLAGS
1.15    ! bertrand  779: LIBS
1.1       bertrand  780: CPPFLAGS
                    781: CXX
                    782: CXXFLAGS
1.15    ! bertrand  783: CCC
1.1       bertrand  784: F77
                    785: FFLAGS
                    786: FC
                    787: FCFLAGS
                    788: XMKMF
                    789: CPP'
                    790: ac_subdirs_all='tools/$NCURSES
                    791: tools/$READLINE
                    792: tools/$UNITS
                    793: tools/$GSL
                    794: tools/$GPP
                    795: tools/$FILE
                    796: tools/$ICONV
1.9       bertrand  797: tools/$SQLITE
1.1       bertrand  798: tools/$GNUPLOT'
                    799: 
                    800: # Initialize some variables set by options.
                    801: ac_init_help=
                    802: ac_init_version=false
1.15    ! bertrand  803: ac_unrecognized_opts=
        !           804: ac_unrecognized_sep=
1.1       bertrand  805: # The variables have the same names as the options, with
                    806: # dashes changed to underlines.
                    807: cache_file=/dev/null
                    808: exec_prefix=NONE
                    809: no_create=
                    810: no_recursion=
                    811: prefix=NONE
                    812: program_prefix=NONE
                    813: program_suffix=NONE
                    814: program_transform_name=s,x,x,
                    815: silent=
                    816: site=
                    817: srcdir=
                    818: verbose=
                    819: x_includes=NONE
                    820: x_libraries=NONE
                    821: 
                    822: # Installation directory options.
                    823: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    824: # and all the variables that are supposed to be based on exec_prefix
                    825: # by default will actually change.
                    826: # Use braces instead of parens because sh, perl, etc. also accept them.
                    827: # (The list follows the same order as the GNU Coding Standards.)
                    828: bindir='${exec_prefix}/bin'
                    829: sbindir='${exec_prefix}/sbin'
                    830: libexecdir='${exec_prefix}/libexec'
                    831: datarootdir='${prefix}/share'
                    832: datadir='${datarootdir}'
                    833: sysconfdir='${prefix}/etc'
                    834: sharedstatedir='${prefix}/com'
                    835: localstatedir='${prefix}/var'
                    836: includedir='${prefix}/include'
                    837: oldincludedir='/usr/include'
                    838: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    839: infodir='${datarootdir}/info'
                    840: htmldir='${docdir}'
                    841: dvidir='${docdir}'
                    842: pdfdir='${docdir}'
                    843: psdir='${docdir}'
                    844: libdir='${exec_prefix}/lib'
                    845: localedir='${datarootdir}/locale'
                    846: mandir='${datarootdir}/man'
                    847: 
                    848: ac_prev=
                    849: ac_dashdash=
                    850: for ac_option
                    851: do
                    852:   # If the previous option needs an argument, assign it.
                    853:   if test -n "$ac_prev"; then
                    854:     eval $ac_prev=\$ac_option
                    855:     ac_prev=
                    856:     continue
                    857:   fi
                    858: 
                    859:   case $ac_option in
                    860:   *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    861:   *)   ac_optarg=yes ;;
                    862:   esac
                    863: 
                    864:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    865: 
                    866:   case $ac_dashdash$ac_option in
                    867:   --)
                    868:     ac_dashdash=yes ;;
                    869: 
                    870:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    871:     ac_prev=bindir ;;
                    872:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    873:     bindir=$ac_optarg ;;
                    874: 
                    875:   -build | --build | --buil | --bui | --bu)
                    876:     ac_prev=build_alias ;;
                    877:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    878:     build_alias=$ac_optarg ;;
                    879: 
                    880:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    881:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    882:     ac_prev=cache_file ;;
                    883:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    884:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    885:     cache_file=$ac_optarg ;;
                    886: 
                    887:   --config-cache | -C)
                    888:     cache_file=config.cache ;;
                    889: 
                    890:   -datadir | --datadir | --datadi | --datad)
                    891:     ac_prev=datadir ;;
                    892:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    893:     datadir=$ac_optarg ;;
                    894: 
                    895:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    896:   | --dataroo | --dataro | --datar)
                    897:     ac_prev=datarootdir ;;
                    898:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    899:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    900:     datarootdir=$ac_optarg ;;
                    901: 
                    902:   -disable-* | --disable-*)
1.15    ! bertrand  903:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       bertrand  904:     # Reject names that are not valid shell variable names.
1.15    ! bertrand  905:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !           906:       as_fn_error "invalid feature name: $ac_useropt"
        !           907:     ac_useropt_orig=$ac_useropt
        !           908:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !           909:     case $ac_user_opts in
        !           910:       *"
        !           911: "enable_$ac_useropt"
        !           912: "*) ;;
        !           913:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
        !           914:     ac_unrecognized_sep=', ';;
        !           915:     esac
        !           916:     eval enable_$ac_useropt=no ;;
1.1       bertrand  917: 
                    918:   -docdir | --docdir | --docdi | --doc | --do)
                    919:     ac_prev=docdir ;;
                    920:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    921:     docdir=$ac_optarg ;;
                    922: 
                    923:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    924:     ac_prev=dvidir ;;
                    925:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    926:     dvidir=$ac_optarg ;;
                    927: 
                    928:   -enable-* | --enable-*)
1.15    ! bertrand  929:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       bertrand  930:     # Reject names that are not valid shell variable names.
1.15    ! bertrand  931:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !           932:       as_fn_error "invalid feature name: $ac_useropt"
        !           933:     ac_useropt_orig=$ac_useropt
        !           934:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !           935:     case $ac_user_opts in
        !           936:       *"
        !           937: "enable_$ac_useropt"
        !           938: "*) ;;
        !           939:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
        !           940:     ac_unrecognized_sep=', ';;
        !           941:     esac
        !           942:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       bertrand  943: 
                    944:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    945:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    946:   | --exec | --exe | --ex)
                    947:     ac_prev=exec_prefix ;;
                    948:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    949:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    950:   | --exec=* | --exe=* | --ex=*)
                    951:     exec_prefix=$ac_optarg ;;
                    952: 
                    953:   -gas | --gas | --ga | --g)
                    954:     # Obsolete; use --with-gas.
                    955:     with_gas=yes ;;
                    956: 
                    957:   -help | --help | --hel | --he | -h)
                    958:     ac_init_help=long ;;
                    959:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    960:     ac_init_help=recursive ;;
                    961:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    962:     ac_init_help=short ;;
                    963: 
                    964:   -host | --host | --hos | --ho)
                    965:     ac_prev=host_alias ;;
                    966:   -host=* | --host=* | --hos=* | --ho=*)
                    967:     host_alias=$ac_optarg ;;
                    968: 
                    969:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    970:     ac_prev=htmldir ;;
                    971:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    972:   | --ht=*)
                    973:     htmldir=$ac_optarg ;;
                    974: 
                    975:   -includedir | --includedir | --includedi | --included | --include \
                    976:   | --includ | --inclu | --incl | --inc)
                    977:     ac_prev=includedir ;;
                    978:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    979:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    980:     includedir=$ac_optarg ;;
                    981: 
                    982:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    983:     ac_prev=infodir ;;
                    984:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    985:     infodir=$ac_optarg ;;
                    986: 
                    987:   -libdir | --libdir | --libdi | --libd)
                    988:     ac_prev=libdir ;;
                    989:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    990:     libdir=$ac_optarg ;;
                    991: 
                    992:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    993:   | --libexe | --libex | --libe)
                    994:     ac_prev=libexecdir ;;
                    995:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    996:   | --libexe=* | --libex=* | --libe=*)
                    997:     libexecdir=$ac_optarg ;;
                    998: 
                    999:   -localedir | --localedir | --localedi | --localed | --locale)
                   1000:     ac_prev=localedir ;;
                   1001:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1002:     localedir=$ac_optarg ;;
                   1003: 
                   1004:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1005:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1006:     ac_prev=localstatedir ;;
                   1007:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1008:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1009:     localstatedir=$ac_optarg ;;
                   1010: 
                   1011:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1012:     ac_prev=mandir ;;
                   1013:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1014:     mandir=$ac_optarg ;;
                   1015: 
                   1016:   -nfp | --nfp | --nf)
                   1017:     # Obsolete; use --without-fp.
                   1018:     with_fp=no ;;
                   1019: 
                   1020:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1021:   | --no-cr | --no-c | -n)
                   1022:     no_create=yes ;;
                   1023: 
                   1024:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1025:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1026:     no_recursion=yes ;;
                   1027: 
                   1028:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1029:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1030:   | --oldin | --oldi | --old | --ol | --o)
                   1031:     ac_prev=oldincludedir ;;
                   1032:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1033:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1034:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1035:     oldincludedir=$ac_optarg ;;
                   1036: 
                   1037:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1038:     ac_prev=prefix ;;
                   1039:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1040:     prefix=$ac_optarg ;;
                   1041: 
                   1042:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1043:   | --program-pre | --program-pr | --program-p)
                   1044:     ac_prev=program_prefix ;;
                   1045:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1046:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1047:     program_prefix=$ac_optarg ;;
                   1048: 
                   1049:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1050:   | --program-suf | --program-su | --program-s)
                   1051:     ac_prev=program_suffix ;;
                   1052:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1053:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1054:     program_suffix=$ac_optarg ;;
                   1055: 
                   1056:   -program-transform-name | --program-transform-name \
                   1057:   | --program-transform-nam | --program-transform-na \
                   1058:   | --program-transform-n | --program-transform- \
                   1059:   | --program-transform | --program-transfor \
                   1060:   | --program-transfo | --program-transf \
                   1061:   | --program-trans | --program-tran \
                   1062:   | --progr-tra | --program-tr | --program-t)
                   1063:     ac_prev=program_transform_name ;;
                   1064:   -program-transform-name=* | --program-transform-name=* \
                   1065:   | --program-transform-nam=* | --program-transform-na=* \
                   1066:   | --program-transform-n=* | --program-transform-=* \
                   1067:   | --program-transform=* | --program-transfor=* \
                   1068:   | --program-transfo=* | --program-transf=* \
                   1069:   | --program-trans=* | --program-tran=* \
                   1070:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1071:     program_transform_name=$ac_optarg ;;
                   1072: 
                   1073:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1074:     ac_prev=pdfdir ;;
                   1075:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1076:     pdfdir=$ac_optarg ;;
                   1077: 
                   1078:   -psdir | --psdir | --psdi | --psd | --ps)
                   1079:     ac_prev=psdir ;;
                   1080:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1081:     psdir=$ac_optarg ;;
                   1082: 
                   1083:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1084:   | -silent | --silent | --silen | --sile | --sil)
                   1085:     silent=yes ;;
                   1086: 
                   1087:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1088:     ac_prev=sbindir ;;
                   1089:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1090:   | --sbi=* | --sb=*)
                   1091:     sbindir=$ac_optarg ;;
                   1092: 
                   1093:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1094:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1095:   | --sharedst | --shareds | --shared | --share | --shar \
                   1096:   | --sha | --sh)
                   1097:     ac_prev=sharedstatedir ;;
                   1098:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1099:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1100:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1101:   | --sha=* | --sh=*)
                   1102:     sharedstatedir=$ac_optarg ;;
                   1103: 
                   1104:   -site | --site | --sit)
                   1105:     ac_prev=site ;;
                   1106:   -site=* | --site=* | --sit=*)
                   1107:     site=$ac_optarg ;;
                   1108: 
                   1109:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1110:     ac_prev=srcdir ;;
                   1111:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1112:     srcdir=$ac_optarg ;;
                   1113: 
                   1114:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1115:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1116:     ac_prev=sysconfdir ;;
                   1117:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1118:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1119:     sysconfdir=$ac_optarg ;;
                   1120: 
                   1121:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1122:     ac_prev=target_alias ;;
                   1123:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1124:     target_alias=$ac_optarg ;;
                   1125: 
                   1126:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1127:     verbose=yes ;;
                   1128: 
                   1129:   -version | --version | --versio | --versi | --vers | -V)
                   1130:     ac_init_version=: ;;
                   1131: 
                   1132:   -with-* | --with-*)
1.15    ! bertrand 1133:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       bertrand 1134:     # Reject names that are not valid shell variable names.
1.15    ! bertrand 1135:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1136:       as_fn_error "invalid package name: $ac_useropt"
        !          1137:     ac_useropt_orig=$ac_useropt
        !          1138:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1139:     case $ac_user_opts in
        !          1140:       *"
        !          1141: "with_$ac_useropt"
        !          1142: "*) ;;
        !          1143:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
        !          1144:     ac_unrecognized_sep=', ';;
        !          1145:     esac
        !          1146:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       bertrand 1147: 
                   1148:   -without-* | --without-*)
1.15    ! bertrand 1149:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       bertrand 1150:     # Reject names that are not valid shell variable names.
1.15    ! bertrand 1151:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1152:       as_fn_error "invalid package name: $ac_useropt"
        !          1153:     ac_useropt_orig=$ac_useropt
        !          1154:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1155:     case $ac_user_opts in
        !          1156:       *"
        !          1157: "with_$ac_useropt"
        !          1158: "*) ;;
        !          1159:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
        !          1160:     ac_unrecognized_sep=', ';;
        !          1161:     esac
        !          1162:     eval with_$ac_useropt=no ;;
1.1       bertrand 1163: 
                   1164:   --x)
                   1165:     # Obsolete; use --with-x.
                   1166:     with_x=yes ;;
                   1167: 
                   1168:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1169:   | --x-incl | --x-inc | --x-in | --x-i)
                   1170:     ac_prev=x_includes ;;
                   1171:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1172:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1173:     x_includes=$ac_optarg ;;
                   1174: 
                   1175:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1176:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1177:     ac_prev=x_libraries ;;
                   1178:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1179:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1180:     x_libraries=$ac_optarg ;;
                   1181: 
1.15    ! bertrand 1182:   -*) as_fn_error "unrecognized option: \`$ac_option'
        !          1183: Try \`$0 --help' for more information."
1.1       bertrand 1184:     ;;
                   1185: 
                   1186:   *=*)
                   1187:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1188:     # Reject names that are not valid shell variable names.
1.15    ! bertrand 1189:     case $ac_envvar in #(
        !          1190:       '' | [0-9]* | *[!_$as_cr_alnum]* )
        !          1191:       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
        !          1192:     esac
1.1       bertrand 1193:     eval $ac_envvar=\$ac_optarg
                   1194:     export $ac_envvar ;;
                   1195: 
                   1196:   *)
                   1197:     # FIXME: should be removed in autoconf 3.0.
1.15    ! bertrand 1198:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       bertrand 1199:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.15    ! bertrand 1200:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1       bertrand 1201:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
                   1202:     ;;
                   1203: 
                   1204:   esac
                   1205: done
                   1206: 
                   1207: if test -n "$ac_prev"; then
                   1208:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.15    ! bertrand 1209:   as_fn_error "missing argument to $ac_option"
        !          1210: fi
        !          1211: 
        !          1212: if test -n "$ac_unrecognized_opts"; then
        !          1213:   case $enable_option_checking in
        !          1214:     no) ;;
        !          1215:     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
        !          1216:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
        !          1217:   esac
1.1       bertrand 1218: fi
                   1219: 
1.15    ! bertrand 1220: # Check all directory arguments for consistency.
1.1       bertrand 1221: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1222:        datadir sysconfdir sharedstatedir localstatedir includedir \
                   1223:        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1224:        libdir localedir mandir
                   1225: do
                   1226:   eval ac_val=\$$ac_var
1.15    ! bertrand 1227:   # Remove trailing slashes.
        !          1228:   case $ac_val in
        !          1229:     */ )
        !          1230:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
        !          1231:       eval $ac_var=\$ac_val;;
        !          1232:   esac
        !          1233:   # Be sure to have absolute directory names.
1.1       bertrand 1234:   case $ac_val in
                   1235:     [\\/$]* | ?:[\\/]* )  continue;;
                   1236:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1237:   esac
1.15    ! bertrand 1238:   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1.1       bertrand 1239: done
                   1240: 
                   1241: # There might be people who depend on the old broken behavior: `$host'
                   1242: # used to hold the argument of --host etc.
                   1243: # FIXME: To remove some day.
                   1244: build=$build_alias
                   1245: host=$host_alias
                   1246: target=$target_alias
                   1247: 
                   1248: # FIXME: To remove some day.
                   1249: if test "x$host_alias" != x; then
                   1250:   if test "x$build_alias" = x; then
                   1251:     cross_compiling=maybe
1.15    ! bertrand 1252:     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.1       bertrand 1253:     If a cross compiler is detected then cross compile mode will be used." >&2
                   1254:   elif test "x$build_alias" != "x$host_alias"; then
                   1255:     cross_compiling=yes
                   1256:   fi
                   1257: fi
                   1258: 
                   1259: ac_tool_prefix=
                   1260: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1261: 
                   1262: test "$silent" = yes && exec 6>/dev/null
                   1263: 
                   1264: 
                   1265: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1266: ac_ls_di=`ls -di .` &&
                   1267: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.15    ! bertrand 1268:   as_fn_error "working directory cannot be determined"
1.1       bertrand 1269: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.15    ! bertrand 1270:   as_fn_error "pwd does not report name of working directory"
1.1       bertrand 1271: 
                   1272: 
                   1273: # Find the source files, if location was not specified.
                   1274: if test -z "$srcdir"; then
                   1275:   ac_srcdir_defaulted=yes
                   1276:   # Try the directory containing this script, then the parent directory.
1.15    ! bertrand 1277:   ac_confdir=`$as_dirname -- "$as_myself" ||
        !          1278: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          1279:     X"$as_myself" : 'X\(//\)[^/]' \| \
        !          1280:     X"$as_myself" : 'X\(//\)$' \| \
        !          1281:     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
        !          1282: $as_echo X"$as_myself" |
1.1       bertrand 1283:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1284:        s//\1/
                   1285:        q
                   1286:      }
                   1287:      /^X\(\/\/\)[^/].*/{
                   1288:        s//\1/
                   1289:        q
                   1290:      }
                   1291:      /^X\(\/\/\)$/{
                   1292:        s//\1/
                   1293:        q
                   1294:      }
                   1295:      /^X\(\/\).*/{
                   1296:        s//\1/
                   1297:        q
                   1298:      }
                   1299:      s/.*/./; q'`
                   1300:   srcdir=$ac_confdir
                   1301:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1302:     srcdir=..
                   1303:   fi
                   1304: else
                   1305:   ac_srcdir_defaulted=no
                   1306: fi
                   1307: if test ! -r "$srcdir/$ac_unique_file"; then
                   1308:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.15    ! bertrand 1309:   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1.1       bertrand 1310: fi
                   1311: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1312: ac_abs_confdir=`(
1.15    ! bertrand 1313:    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1.1       bertrand 1314:    pwd)`
                   1315: # When building in place, set srcdir=.
                   1316: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1317:   srcdir=.
                   1318: fi
                   1319: # Remove unnecessary trailing slashes from srcdir.
                   1320: # Double slashes in file names in object file debugging info
                   1321: # mess up M-x gdb in Emacs.
                   1322: case $srcdir in
                   1323: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1324: esac
                   1325: for ac_var in $ac_precious_vars; do
                   1326:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1327:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1328:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1329:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1330: done
                   1331: 
                   1332: #
                   1333: # Report the --help message.
                   1334: #
                   1335: if test "$ac_init_help" = "long"; then
                   1336:   # Omit some internal or obsolete options to make the list less imposing.
                   1337:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1338:   cat <<_ACEOF
1.10      bertrand 1339: \`configure' configures rpl 4.0.13 to adapt to many kinds of systems.
1.1       bertrand 1340: 
                   1341: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1342: 
                   1343: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1344: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1345: 
                   1346: Defaults for the options are specified in brackets.
                   1347: 
                   1348: Configuration:
                   1349:   -h, --help              display this help and exit
                   1350:       --help=short        display options specific to this package
                   1351:       --help=recursive    display the short help of all the included packages
                   1352:   -V, --version           display version information and exit
                   1353:   -q, --quiet, --silent   do not print \`checking...' messages
                   1354:       --cache-file=FILE   cache test results in FILE [disabled]
                   1355:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1356:   -n, --no-create         do not create output files
                   1357:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1358: 
                   1359: Installation directories:
                   1360:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.15    ! bertrand 1361:                           [$ac_default_prefix]
1.1       bertrand 1362:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.15    ! bertrand 1363:                           [PREFIX]
1.1       bertrand 1364: 
                   1365: By default, \`make install' will install all the files in
                   1366: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1367: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1368: for instance \`--prefix=\$HOME'.
                   1369: 
                   1370: For better control, use the options below.
                   1371: 
                   1372: Fine tuning of the installation directories:
1.15    ! bertrand 1373:   --bindir=DIR            user executables [EPREFIX/bin]
        !          1374:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
        !          1375:   --libexecdir=DIR        program executables [EPREFIX/libexec]
        !          1376:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
        !          1377:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
        !          1378:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
        !          1379:   --libdir=DIR            object code libraries [EPREFIX/lib]
        !          1380:   --includedir=DIR        C header files [PREFIX/include]
        !          1381:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
        !          1382:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
        !          1383:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
        !          1384:   --infodir=DIR           info documentation [DATAROOTDIR/info]
        !          1385:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
        !          1386:   --mandir=DIR            man documentation [DATAROOTDIR/man]
        !          1387:   --docdir=DIR            documentation root [DATAROOTDIR/doc/rpl]
        !          1388:   --htmldir=DIR           html documentation [DOCDIR]
        !          1389:   --dvidir=DIR            dvi documentation [DOCDIR]
        !          1390:   --pdfdir=DIR            pdf documentation [DOCDIR]
        !          1391:   --psdir=DIR             ps documentation [DOCDIR]
1.1       bertrand 1392: _ACEOF
                   1393: 
                   1394:   cat <<\_ACEOF
                   1395: 
                   1396: Program names:
                   1397:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1398:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1399:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1400: 
                   1401: X features:
                   1402:   --x-includes=DIR    X include files are in DIR
                   1403:   --x-libraries=DIR   X library files are in DIR
                   1404: 
                   1405: System types:
                   1406:   --build=BUILD     configure for building on BUILD [guessed]
                   1407:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1408:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1409: _ACEOF
                   1410: fi
                   1411: 
                   1412: if test -n "$ac_init_help"; then
                   1413:   case $ac_init_help in
1.10      bertrand 1414:      short | recursive ) echo "Configuration of rpl 4.0.13:";;
1.1       bertrand 1415:    esac
                   1416:   cat <<\_ACEOF
                   1417: 
                   1418: Optional Features:
1.15    ! bertrand 1419:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       bertrand 1420:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1421:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1422:   --disable-dependency-tracking  speeds up one-time build
                   1423:   --enable-dependency-tracking   do not reject slow dependency extractors
                   1424:   --enable-optimization   set compiler flags [default=environment variables -O3]
                   1425:   --enable-final-encoding force final encoding [default=guessed]
                   1426:   --enable-tex            provide the TeX support [default=guessed]
                   1427:   --enable-vim            provide the vim support [default=guessed]
                   1428:   --enable-embedded-gnuplot build gnuplot provided by this package [default=yes]
                   1429:   --enable-gnuplot        provide the GnuPlot support [default=guessed]
                   1430:   --enable-motif          provide the Motif support [default=guessed]
                   1431:   --enable-experimental   enable experimental code [default=no]
                   1432:   --enable-debug          enable debug code [default=no]
                   1433:   --enable-profile        enable profile code [default=no]
                   1434:   --enable-final-run-path=PATH enable another final run path than PREFIX
                   1435: 
                   1436: Optional Packages:
                   1437:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1438:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1439:   --with-x                use the X Window System
                   1440:   --with-mysql=PATH         specify directory for installed mysql
                   1441:   --with-postgresql=PATH    specify directory for installed postgresql
1.15    ! bertrand 1442:   --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
1.1       bertrand 1443: 
                   1444: Some influential environment variables:
                   1445:   CC          C compiler command
                   1446:   CFLAGS      C compiler flags
                   1447:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1448:               nonstandard directory <lib dir>
                   1449:   LIBS        libraries to pass to the linker, e.g. -l<library>
1.15    ! bertrand 1450:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.1       bertrand 1451:               you have headers in a nonstandard directory <include dir>
                   1452:   CXX         C++ compiler command
                   1453:   CXXFLAGS    C++ compiler flags
                   1454:   F77         Fortran 77 compiler command
                   1455:   FFLAGS      Fortran 77 compiler flags
                   1456:   FC          Fortran compiler command
                   1457:   FCFLAGS     Fortran compiler flags
                   1458:   XMKMF       Path to xmkmf, Makefile generator for X Window System
                   1459:   CPP         C preprocessor
                   1460: 
                   1461: Use these variables to override the choices made by `configure' or to help
                   1462: it to find libraries and programs with nonstandard names/locations.
                   1463: 
1.15    ! bertrand 1464: Report bugs to the package provider.
1.1       bertrand 1465: _ACEOF
                   1466: ac_status=$?
                   1467: fi
                   1468: 
                   1469: if test "$ac_init_help" = "recursive"; then
                   1470:   # If there are subdirs, report their specific --help.
                   1471:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.15    ! bertrand 1472:     test -d "$ac_dir" ||
        !          1473:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
        !          1474:       continue
1.1       bertrand 1475:     ac_builddir=.
                   1476: 
                   1477: case "$ac_dir" in
                   1478: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1479: *)
1.15    ! bertrand 1480:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 1481:   # A ".." for each directory in $ac_dir_suffix.
1.15    ! bertrand 1482:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 1483:   case $ac_top_builddir_sub in
                   1484:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1485:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1486:   esac ;;
                   1487: esac
                   1488: ac_abs_top_builddir=$ac_pwd
                   1489: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1490: # for backward compatibility:
                   1491: ac_top_builddir=$ac_top_build_prefix
                   1492: 
                   1493: case $srcdir in
                   1494:   .)  # We are building in place.
                   1495:     ac_srcdir=.
                   1496:     ac_top_srcdir=$ac_top_builddir_sub
                   1497:     ac_abs_top_srcdir=$ac_pwd ;;
                   1498:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1499:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1500:     ac_top_srcdir=$srcdir
                   1501:     ac_abs_top_srcdir=$srcdir ;;
                   1502:   *) # Relative name.
                   1503:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1504:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1505:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1506: esac
                   1507: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1508: 
                   1509:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1510:     # Check for guested configure.
                   1511:     if test -f "$ac_srcdir/configure.gnu"; then
                   1512:       echo &&
                   1513:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1514:     elif test -f "$ac_srcdir/configure"; then
                   1515:       echo &&
                   1516:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1517:     else
1.15    ! bertrand 1518:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1       bertrand 1519:     fi || ac_status=$?
                   1520:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1521:   done
                   1522: fi
                   1523: 
                   1524: test -n "$ac_init_help" && exit $ac_status
                   1525: if $ac_init_version; then
                   1526:   cat <<\_ACEOF
1.10      bertrand 1527: rpl configure 4.0.13
1.15    ! bertrand 1528: generated by GNU Autoconf 2.65
1.1       bertrand 1529: 
1.15    ! bertrand 1530: Copyright (C) 2009 Free Software Foundation, Inc.
1.1       bertrand 1531: This configure script is free software; the Free Software Foundation
                   1532: gives unlimited permission to copy, distribute and modify it.
                   1533: _ACEOF
                   1534:   exit
                   1535: fi
                   1536: 
1.15    ! bertrand 1537: ## ------------------------ ##
        !          1538: ## Autoconf initialization. ##
        !          1539: ## ------------------------ ##
        !          1540: 
        !          1541: # ac_fn_c_try_compile LINENO
        !          1542: # --------------------------
        !          1543: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          1544: ac_fn_c_try_compile ()
        !          1545: {
        !          1546:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1547:   rm -f conftest.$ac_objext
        !          1548:   if { { ac_try="$ac_compile"
        !          1549: case "(($ac_try" in
        !          1550:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1551:   *) ac_try_echo=$ac_try;;
        !          1552: esac
        !          1553: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1554: $as_echo "$ac_try_echo"; } >&5
        !          1555:   (eval "$ac_compile") 2>conftest.err
        !          1556:   ac_status=$?
        !          1557:   if test -s conftest.err; then
        !          1558:     grep -v '^ *+' conftest.err >conftest.er1
        !          1559:     cat conftest.er1 >&5
        !          1560:     mv -f conftest.er1 conftest.err
        !          1561:   fi
        !          1562:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1563:   test $ac_status = 0; } && {
        !          1564:     test -z "$ac_c_werror_flag" ||
        !          1565:     test ! -s conftest.err
        !          1566:        } && test -s conftest.$ac_objext; then :
        !          1567:   ac_retval=0
        !          1568: else
        !          1569:   $as_echo "$as_me: failed program was:" >&5
        !          1570: sed 's/^/| /' conftest.$ac_ext >&5
        !          1571: 
        !          1572:    ac_retval=1
        !          1573: fi
        !          1574:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          1575:   as_fn_set_status $ac_retval
1.1       bertrand 1576: 
1.15    ! bertrand 1577: } # ac_fn_c_try_compile
1.1       bertrand 1578: 
1.15    ! bertrand 1579: # ac_fn_cxx_try_compile LINENO
        !          1580: # ----------------------------
        !          1581: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          1582: ac_fn_cxx_try_compile ()
1.1       bertrand 1583: {
1.15    ! bertrand 1584:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1585:   rm -f conftest.$ac_objext
        !          1586:   if { { ac_try="$ac_compile"
        !          1587: case "(($ac_try" in
        !          1588:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1589:   *) ac_try_echo=$ac_try;;
        !          1590: esac
        !          1591: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1592: $as_echo "$ac_try_echo"; } >&5
        !          1593:   (eval "$ac_compile") 2>conftest.err
        !          1594:   ac_status=$?
        !          1595:   if test -s conftest.err; then
        !          1596:     grep -v '^ *+' conftest.err >conftest.er1
        !          1597:     cat conftest.er1 >&5
        !          1598:     mv -f conftest.er1 conftest.err
        !          1599:   fi
        !          1600:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1601:   test $ac_status = 0; } && {
        !          1602:     test -z "$ac_cxx_werror_flag" ||
        !          1603:     test ! -s conftest.err
        !          1604:        } && test -s conftest.$ac_objext; then :
        !          1605:   ac_retval=0
        !          1606: else
        !          1607:   $as_echo "$as_me: failed program was:" >&5
        !          1608: sed 's/^/| /' conftest.$ac_ext >&5
        !          1609: 
        !          1610:    ac_retval=1
        !          1611: fi
        !          1612:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          1613:   as_fn_set_status $ac_retval
1.1       bertrand 1614: 
1.15    ! bertrand 1615: } # ac_fn_cxx_try_compile
1.1       bertrand 1616: 
1.15    ! bertrand 1617: # ac_fn_f77_try_compile LINENO
        !          1618: # ----------------------------
        !          1619: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          1620: ac_fn_f77_try_compile ()
        !          1621: {
        !          1622:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1623:   rm -f conftest.$ac_objext
        !          1624:   if { { ac_try="$ac_compile"
        !          1625: case "(($ac_try" in
        !          1626:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1627:   *) ac_try_echo=$ac_try;;
        !          1628: esac
        !          1629: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1630: $as_echo "$ac_try_echo"; } >&5
        !          1631:   (eval "$ac_compile") 2>conftest.err
        !          1632:   ac_status=$?
        !          1633:   if test -s conftest.err; then
        !          1634:     grep -v '^ *+' conftest.err >conftest.er1
        !          1635:     cat conftest.er1 >&5
        !          1636:     mv -f conftest.er1 conftest.err
        !          1637:   fi
        !          1638:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1639:   test $ac_status = 0; } && {
        !          1640:     test -z "$ac_f77_werror_flag" ||
        !          1641:     test ! -s conftest.err
        !          1642:        } && test -s conftest.$ac_objext; then :
        !          1643:   ac_retval=0
        !          1644: else
        !          1645:   $as_echo "$as_me: failed program was:" >&5
        !          1646: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1647: 
1.15    ! bertrand 1648:    ac_retval=1
        !          1649: fi
        !          1650:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          1651:   as_fn_set_status $ac_retval
1.1       bertrand 1652: 
1.15    ! bertrand 1653: } # ac_fn_f77_try_compile
1.1       bertrand 1654: 
1.15    ! bertrand 1655: # ac_fn_fc_try_compile LINENO
        !          1656: # ---------------------------
        !          1657: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          1658: ac_fn_fc_try_compile ()
        !          1659: {
        !          1660:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1661:   rm -f conftest.$ac_objext
        !          1662:   if { { ac_try="$ac_compile"
        !          1663: case "(($ac_try" in
        !          1664:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1665:   *) ac_try_echo=$ac_try;;
        !          1666: esac
        !          1667: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1668: $as_echo "$ac_try_echo"; } >&5
        !          1669:   (eval "$ac_compile") 2>conftest.err
        !          1670:   ac_status=$?
        !          1671:   if test -s conftest.err; then
        !          1672:     grep -v '^ *+' conftest.err >conftest.er1
        !          1673:     cat conftest.er1 >&5
        !          1674:     mv -f conftest.er1 conftest.err
        !          1675:   fi
        !          1676:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1677:   test $ac_status = 0; } && {
        !          1678:     test -z "$ac_fc_werror_flag" ||
        !          1679:     test ! -s conftest.err
        !          1680:        } && test -s conftest.$ac_objext; then :
        !          1681:   ac_retval=0
        !          1682: else
        !          1683:   $as_echo "$as_me: failed program was:" >&5
        !          1684: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1685: 
1.15    ! bertrand 1686:    ac_retval=1
        !          1687: fi
        !          1688:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          1689:   as_fn_set_status $ac_retval
1.1       bertrand 1690: 
1.15    ! bertrand 1691: } # ac_fn_fc_try_compile
1.1       bertrand 1692: 
1.15    ! bertrand 1693: # ac_fn_c_try_cpp LINENO
        !          1694: # ----------------------
        !          1695: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
        !          1696: ac_fn_c_try_cpp ()
        !          1697: {
        !          1698:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1699:   if { { ac_try="$ac_cpp conftest.$ac_ext"
        !          1700: case "(($ac_try" in
        !          1701:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1702:   *) ac_try_echo=$ac_try;;
        !          1703: esac
        !          1704: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1705: $as_echo "$ac_try_echo"; } >&5
        !          1706:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
        !          1707:   ac_status=$?
        !          1708:   if test -s conftest.err; then
        !          1709:     grep -v '^ *+' conftest.err >conftest.er1
        !          1710:     cat conftest.er1 >&5
        !          1711:     mv -f conftest.er1 conftest.err
        !          1712:   fi
        !          1713:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1714:   test $ac_status = 0; } >/dev/null && {
        !          1715:     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          1716:     test ! -s conftest.err
        !          1717:        }; then :
        !          1718:   ac_retval=0
        !          1719: else
        !          1720:   $as_echo "$as_me: failed program was:" >&5
        !          1721: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1722: 
1.15    ! bertrand 1723:     ac_retval=1
        !          1724: fi
        !          1725:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          1726:   as_fn_set_status $ac_retval
1.1       bertrand 1727: 
1.15    ! bertrand 1728: } # ac_fn_c_try_cpp
1.1       bertrand 1729: 
1.15    ! bertrand 1730: # ac_fn_c_try_link LINENO
        !          1731: # -----------------------
        !          1732: # Try to link conftest.$ac_ext, and return whether this succeeded.
        !          1733: ac_fn_c_try_link ()
        !          1734: {
        !          1735:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1736:   rm -f conftest.$ac_objext conftest$ac_exeext
        !          1737:   if { { ac_try="$ac_link"
        !          1738: case "(($ac_try" in
        !          1739:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1740:   *) ac_try_echo=$ac_try;;
        !          1741: esac
        !          1742: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1743: $as_echo "$ac_try_echo"; } >&5
        !          1744:   (eval "$ac_link") 2>conftest.err
        !          1745:   ac_status=$?
        !          1746:   if test -s conftest.err; then
        !          1747:     grep -v '^ *+' conftest.err >conftest.er1
        !          1748:     cat conftest.er1 >&5
        !          1749:     mv -f conftest.er1 conftest.err
        !          1750:   fi
        !          1751:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1752:   test $ac_status = 0; } && {
        !          1753:     test -z "$ac_c_werror_flag" ||
        !          1754:     test ! -s conftest.err
        !          1755:        } && test -s conftest$ac_exeext && {
        !          1756:     test "$cross_compiling" = yes ||
        !          1757:     $as_test_x conftest$ac_exeext
        !          1758:        }; then :
        !          1759:   ac_retval=0
        !          1760: else
        !          1761:   $as_echo "$as_me: failed program was:" >&5
        !          1762: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1763: 
1.15    ! bertrand 1764:    ac_retval=1
        !          1765: fi
        !          1766:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
        !          1767:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
        !          1768:   # interfere with the next link command; also delete a directory that is
        !          1769:   # left behind by Apple's compiler.  We do this before executing the actions.
        !          1770:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1771:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          1772:   as_fn_set_status $ac_retval
1.1       bertrand 1773: 
1.15    ! bertrand 1774: } # ac_fn_c_try_link
1.1       bertrand 1775: 
1.15    ! bertrand 1776: # ac_fn_c_check_func LINENO FUNC VAR
        !          1777: # ----------------------------------
        !          1778: # Tests whether FUNC exists, setting the cache variable VAR accordingly
        !          1779: ac_fn_c_check_func ()
        !          1780: {
        !          1781:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1782:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1783: $as_echo_n "checking for $2... " >&6; }
        !          1784: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          1785:   $as_echo_n "(cached) " >&6
        !          1786: else
        !          1787:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1788: /* end confdefs.h.  */
        !          1789: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
        !          1790:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          1791: #define $2 innocuous_$2
1.1       bertrand 1792: 
1.15    ! bertrand 1793: /* System header to define __stub macros and hopefully few prototypes,
        !          1794:     which can conflict with char $2 (); below.
        !          1795:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          1796:     <limits.h> exists even on freestanding compilers.  */
1.1       bertrand 1797: 
1.15    ! bertrand 1798: #ifdef __STDC__
        !          1799: # include <limits.h>
        !          1800: #else
        !          1801: # include <assert.h>
        !          1802: #endif
1.1       bertrand 1803: 
1.15    ! bertrand 1804: #undef $2
1.1       bertrand 1805: 
1.15    ! bertrand 1806: /* Override any GCC internal prototype to avoid an error.
        !          1807:    Use char because int might match the return type of a GCC
        !          1808:    builtin and then its argument prototype would still apply.  */
        !          1809: #ifdef __cplusplus
        !          1810: extern "C"
        !          1811: #endif
        !          1812: char $2 ();
        !          1813: /* The GNU C library defines this for functions which it implements
        !          1814:     to always fail with ENOSYS.  Some functions are actually named
        !          1815:     something starting with __ and the normal name is an alias.  */
        !          1816: #if defined __stub_$2 || defined __stub___$2
        !          1817: choke me
        !          1818: #endif
1.1       bertrand 1819: 
1.15    ! bertrand 1820: int
        !          1821: main ()
        !          1822: {
        !          1823: return $2 ();
        !          1824:   ;
        !          1825:   return 0;
        !          1826: }
1.1       bertrand 1827: _ACEOF
1.15    ! bertrand 1828: if ac_fn_c_try_link "$LINENO"; then :
        !          1829:   eval "$3=yes"
        !          1830: else
        !          1831:   eval "$3=no"
        !          1832: fi
        !          1833: rm -f core conftest.err conftest.$ac_objext \
        !          1834:     conftest$ac_exeext conftest.$ac_ext
        !          1835: fi
        !          1836: eval ac_res=\$$3
        !          1837:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1838: $as_echo "$ac_res" >&6; }
        !          1839:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.1       bertrand 1840: 
1.15    ! bertrand 1841: } # ac_fn_c_check_func
1.1       bertrand 1842: 
1.15    ! bertrand 1843: # ac_fn_c_try_run LINENO
        !          1844: # ----------------------
        !          1845: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
        !          1846: # that executables *can* be run.
        !          1847: ac_fn_c_try_run ()
        !          1848: {
        !          1849:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1850:   if { { ac_try="$ac_link"
        !          1851: case "(($ac_try" in
        !          1852:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1853:   *) ac_try_echo=$ac_try;;
        !          1854: esac
        !          1855: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1856: $as_echo "$ac_try_echo"; } >&5
        !          1857:   (eval "$ac_link") 2>&5
        !          1858:   ac_status=$?
        !          1859:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1860:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
        !          1861:   { { case "(($ac_try" in
        !          1862:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1863:   *) ac_try_echo=$ac_try;;
        !          1864: esac
        !          1865: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1866: $as_echo "$ac_try_echo"; } >&5
        !          1867:   (eval "$ac_try") 2>&5
        !          1868:   ac_status=$?
        !          1869:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1870:   test $ac_status = 0; }; }; then :
        !          1871:   ac_retval=0
        !          1872: else
        !          1873:   $as_echo "$as_me: program exited with status $ac_status" >&5
        !          1874:        $as_echo "$as_me: failed program was:" >&5
        !          1875: sed 's/^/| /' conftest.$ac_ext >&5
1.1       bertrand 1876: 
1.15    ! bertrand 1877:        ac_retval=$ac_status
        !          1878: fi
        !          1879:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1880:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          1881:   as_fn_set_status $ac_retval
1.1       bertrand 1882: 
1.15    ! bertrand 1883: } # ac_fn_c_try_run
1.1       bertrand 1884: 
1.15    ! bertrand 1885: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
        !          1886: # --------------------------------------------
        !          1887: # Tries to find the compile-time value of EXPR in a program that includes
        !          1888: # INCLUDES, setting VAR accordingly. Returns whether the value could be
        !          1889: # computed
        !          1890: ac_fn_c_compute_int ()
        !          1891: {
        !          1892:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1893:   if test "$cross_compiling" = yes; then
        !          1894:     # Depending upon the size, compute the lo and hi bounds.
        !          1895: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1896: /* end confdefs.h.  */
        !          1897: $4
        !          1898: int
        !          1899: main ()
        !          1900: {
        !          1901: static int test_array [1 - 2 * !(($2) >= 0)];
        !          1902: test_array [0] = 0
1.1       bertrand 1903: 
1.15    ! bertrand 1904:   ;
        !          1905:   return 0;
        !          1906: }
1.1       bertrand 1907: _ACEOF
1.15    ! bertrand 1908: if ac_fn_c_try_compile "$LINENO"; then :
        !          1909:   ac_lo=0 ac_mid=0
        !          1910:   while :; do
        !          1911:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1912: /* end confdefs.h.  */
        !          1913: $4
        !          1914: int
        !          1915: main ()
        !          1916: {
        !          1917: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
        !          1918: test_array [0] = 0
1.1       bertrand 1919: 
1.15    ! bertrand 1920:   ;
        !          1921:   return 0;
        !          1922: }
        !          1923: _ACEOF
        !          1924: if ac_fn_c_try_compile "$LINENO"; then :
        !          1925:   ac_hi=$ac_mid; break
        !          1926: else
        !          1927:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
        !          1928:            if test $ac_lo -le $ac_mid; then
        !          1929:              ac_lo= ac_hi=
        !          1930:              break
        !          1931:            fi
        !          1932:            as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
        !          1933: fi
        !          1934: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1935:   done
        !          1936: else
        !          1937:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1938: /* end confdefs.h.  */
        !          1939: $4
        !          1940: int
        !          1941: main ()
        !          1942: {
        !          1943: static int test_array [1 - 2 * !(($2) < 0)];
        !          1944: test_array [0] = 0
1.1       bertrand 1945: 
1.15    ! bertrand 1946:   ;
        !          1947:   return 0;
        !          1948: }
1.1       bertrand 1949: _ACEOF
1.15    ! bertrand 1950: if ac_fn_c_try_compile "$LINENO"; then :
        !          1951:   ac_hi=-1 ac_mid=-1
        !          1952:   while :; do
        !          1953:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1954: /* end confdefs.h.  */
        !          1955: $4
        !          1956: int
        !          1957: main ()
        !          1958: {
        !          1959: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
        !          1960: test_array [0] = 0
1.1       bertrand 1961: 
1.15    ! bertrand 1962:   ;
        !          1963:   return 0;
        !          1964: }
        !          1965: _ACEOF
        !          1966: if ac_fn_c_try_compile "$LINENO"; then :
        !          1967:   ac_lo=$ac_mid; break
        !          1968: else
        !          1969:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
        !          1970:            if test $ac_mid -le $ac_hi; then
        !          1971:              ac_lo= ac_hi=
        !          1972:              break
        !          1973:            fi
        !          1974:            as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
        !          1975: fi
        !          1976: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1977:   done
1.1       bertrand 1978: else
1.15    ! bertrand 1979:   ac_lo= ac_hi=
        !          1980: fi
        !          1981: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 1982: fi
1.15    ! bertrand 1983: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1984: # Binary search between lo and hi bounds.
        !          1985: while test "x$ac_lo" != "x$ac_hi"; do
        !          1986:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
        !          1987:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1988: /* end confdefs.h.  */
        !          1989: $4
        !          1990: int
        !          1991: main ()
        !          1992: {
        !          1993: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
        !          1994: test_array [0] = 0
1.1       bertrand 1995: 
1.15    ! bertrand 1996:   ;
        !          1997:   return 0;
        !          1998: }
        !          1999: _ACEOF
        !          2000: if ac_fn_c_try_compile "$LINENO"; then :
        !          2001:   ac_hi=$ac_mid
1.1       bertrand 2002: else
1.15    ! bertrand 2003:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1.1       bertrand 2004: fi
1.15    ! bertrand 2005: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2006: done
        !          2007: case $ac_lo in #((
        !          2008: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
        !          2009: '') ac_retval=1 ;;
        !          2010: esac
        !          2011:   else
        !          2012:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2013: /* end confdefs.h.  */
        !          2014: $4
        !          2015: static long int longval () { return $2; }
        !          2016: static unsigned long int ulongval () { return $2; }
        !          2017: #include <stdio.h>
        !          2018: #include <stdlib.h>
        !          2019: int
        !          2020: main ()
        !          2021: {
1.1       bertrand 2022: 
1.15    ! bertrand 2023:   FILE *f = fopen ("conftest.val", "w");
        !          2024:   if (! f)
        !          2025:     return 1;
        !          2026:   if (($2) < 0)
        !          2027:     {
        !          2028:       long int i = longval ();
        !          2029:       if (i != ($2))
        !          2030:    return 1;
        !          2031:       fprintf (f, "%ld", i);
        !          2032:     }
        !          2033:   else
        !          2034:     {
        !          2035:       unsigned long int i = ulongval ();
        !          2036:       if (i != ($2))
        !          2037:    return 1;
        !          2038:       fprintf (f, "%lu", i);
        !          2039:     }
        !          2040:   /* Do not output a trailing newline, as this causes \r\n confusion
        !          2041:      on some platforms.  */
        !          2042:   return ferror (f) || fclose (f) != 0;
        !          2043: 
        !          2044:   ;
        !          2045:   return 0;
        !          2046: }
        !          2047: _ACEOF
        !          2048: if ac_fn_c_try_run "$LINENO"; then :
        !          2049:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
        !          2050: else
        !          2051:   ac_retval=1
1.14      bertrand 2052: fi
1.15    ! bertrand 2053: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          2054:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          2055: rm -f conftest.val
1.14      bertrand 2056: 
1.15    ! bertrand 2057:   fi
        !          2058:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
        !          2059:   as_fn_set_status $ac_retval
1.14      bertrand 2060: 
1.15    ! bertrand 2061: } # ac_fn_c_compute_int
1.1       bertrand 2062: 
1.15    ! bertrand 2063: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
        !          2064: # -------------------------------------------------------
        !          2065: # Tests whether HEADER exists and can be compiled using the include files in
        !          2066: # INCLUDES, setting the cache variable VAR accordingly.
        !          2067: ac_fn_c_check_header_compile ()
        !          2068: {
        !          2069:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2070:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2071: $as_echo_n "checking for $2... " >&6; }
        !          2072: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          2073:   $as_echo_n "(cached) " >&6
        !          2074: else
        !          2075:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2076: /* end confdefs.h.  */
        !          2077: $4
        !          2078: #include <$2>
        !          2079: _ACEOF
        !          2080: if ac_fn_c_try_compile "$LINENO"; then :
        !          2081:   eval "$3=yes"
        !          2082: else
        !          2083:   eval "$3=no"
        !          2084: fi
        !          2085: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2086: fi
        !          2087: eval ac_res=\$$3
        !          2088:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2089: $as_echo "$ac_res" >&6; }
        !          2090:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.1       bertrand 2091: 
1.15    ! bertrand 2092: } # ac_fn_c_check_header_compile
1.1       bertrand 2093: 
1.15    ! bertrand 2094: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
        !          2095: # -------------------------------------------------------
        !          2096: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
        !          2097: # the include files in INCLUDES and setting the cache variable VAR
        !          2098: # accordingly.
        !          2099: ac_fn_c_check_header_mongrel ()
        !          2100: {
        !          2101:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2102:   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          2103:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2104: $as_echo_n "checking for $2... " >&6; }
        !          2105: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          2106:   $as_echo_n "(cached) " >&6
        !          2107: fi
        !          2108: eval ac_res=\$$3
        !          2109:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2110: $as_echo "$ac_res" >&6; }
        !          2111: else
        !          2112:   # Is the header compilable?
        !          2113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
        !          2114: $as_echo_n "checking $2 usability... " >&6; }
        !          2115: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2116: /* end confdefs.h.  */
        !          2117: $4
        !          2118: #include <$2>
        !          2119: _ACEOF
        !          2120: if ac_fn_c_try_compile "$LINENO"; then :
        !          2121:   ac_header_compiler=yes
        !          2122: else
        !          2123:   ac_header_compiler=no
        !          2124: fi
        !          2125: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
        !          2127: $as_echo "$ac_header_compiler" >&6; }
1.1       bertrand 2128: 
1.15    ! bertrand 2129: # Is the header present?
        !          2130: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
        !          2131: $as_echo_n "checking $2 presence... " >&6; }
        !          2132: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2133: /* end confdefs.h.  */
        !          2134: #include <$2>
        !          2135: _ACEOF
        !          2136: if ac_fn_c_try_cpp "$LINENO"; then :
        !          2137:   ac_header_preproc=yes
        !          2138: else
        !          2139:   ac_header_preproc=no
        !          2140: fi
        !          2141: rm -f conftest.err conftest.$ac_ext
        !          2142: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
        !          2143: $as_echo "$ac_header_preproc" >&6; }
1.1       bertrand 2144: 
1.15    ! bertrand 2145: # So?  What about this header?
        !          2146: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
        !          2147:   yes:no: )
        !          2148:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
        !          2149: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          2150:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
        !          2151: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
        !          2152:     ;;
        !          2153:   no:yes:* )
        !          2154:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
        !          2155: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
        !          2156:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
        !          2157: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
        !          2158:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
        !          2159: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
        !          2160:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
        !          2161: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          2162:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
        !          2163: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
        !          2164:     ;;
        !          2165: esac
        !          2166:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2167: $as_echo_n "checking for $2... " >&6; }
        !          2168: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          2169:   $as_echo_n "(cached) " >&6
        !          2170: else
        !          2171:   eval "$3=\$ac_header_compiler"
        !          2172: fi
        !          2173: eval ac_res=\$$3
        !          2174:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2175: $as_echo "$ac_res" >&6; }
        !          2176: fi
        !          2177:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.1       bertrand 2178: 
1.15    ! bertrand 2179: } # ac_fn_c_check_header_mongrel
1.1       bertrand 2180: 
1.15    ! bertrand 2181: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
        !          2182: # -------------------------------------------
        !          2183: # Tests whether TYPE exists after having included INCLUDES, setting cache
        !          2184: # variable VAR accordingly.
        !          2185: ac_fn_c_check_type ()
        !          2186: {
        !          2187:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2188:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2189: $as_echo_n "checking for $2... " >&6; }
        !          2190: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          2191:   $as_echo_n "(cached) " >&6
        !          2192: else
        !          2193:   eval "$3=no"
        !          2194:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2195: /* end confdefs.h.  */
        !          2196: $4
        !          2197: int
        !          2198: main ()
        !          2199: {
        !          2200: if (sizeof ($2))
        !          2201:     return 0;
        !          2202:   ;
        !          2203:   return 0;
        !          2204: }
        !          2205: _ACEOF
        !          2206: if ac_fn_c_try_compile "$LINENO"; then :
        !          2207:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2208: /* end confdefs.h.  */
        !          2209: $4
        !          2210: int
        !          2211: main ()
        !          2212: {
        !          2213: if (sizeof (($2)))
        !          2214:        return 0;
        !          2215:   ;
        !          2216:   return 0;
        !          2217: }
        !          2218: _ACEOF
        !          2219: if ac_fn_c_try_compile "$LINENO"; then :
1.1       bertrand 2220: 
1.15    ! bertrand 2221: else
        !          2222:   eval "$3=yes"
        !          2223: fi
        !          2224: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2225: fi
        !          2226: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2227: fi
        !          2228: eval ac_res=\$$3
        !          2229:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2230: $as_echo "$ac_res" >&6; }
        !          2231:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1.1       bertrand 2232: 
1.15    ! bertrand 2233: } # ac_fn_c_check_type
        !          2234: cat >config.log <<_ACEOF
        !          2235: This file contains any messages produced by compilers while
        !          2236: running configure, to aid debugging if configure makes a mistake.
1.1       bertrand 2237: 
1.15    ! bertrand 2238: It was created by rpl $as_me 4.0.13, which was
        !          2239: generated by GNU Autoconf 2.65.  Invocation command line was
1.1       bertrand 2240: 
1.15    ! bertrand 2241:   $ $0 $@
1.1       bertrand 2242: 
1.15    ! bertrand 2243: _ACEOF
        !          2244: exec 5>>config.log
        !          2245: {
        !          2246: cat <<_ASUNAME
        !          2247: ## --------- ##
        !          2248: ## Platform. ##
        !          2249: ## --------- ##
1.1       bertrand 2250: 
1.15    ! bertrand 2251: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
        !          2252: uname -m = `(uname -m) 2>/dev/null || echo unknown`
        !          2253: uname -r = `(uname -r) 2>/dev/null || echo unknown`
        !          2254: uname -s = `(uname -s) 2>/dev/null || echo unknown`
        !          2255: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.1       bertrand 2256: 
1.15    ! bertrand 2257: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
        !          2258: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.1       bertrand 2259: 
1.15    ! bertrand 2260: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
        !          2261: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
        !          2262: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
        !          2263: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
        !          2264: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
        !          2265: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
        !          2266: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1.1       bertrand 2267: 
1.15    ! bertrand 2268: _ASUNAME
1.1       bertrand 2269: 
1.15    ! bertrand 2270: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2271: for as_dir in $PATH
        !          2272: do
        !          2273:   IFS=$as_save_IFS
        !          2274:   test -z "$as_dir" && as_dir=.
        !          2275:     $as_echo "PATH: $as_dir"
        !          2276:   done
        !          2277: IFS=$as_save_IFS
1.1       bertrand 2278: 
1.15    ! bertrand 2279: } >&5
1.1       bertrand 2280: 
1.15    ! bertrand 2281: cat >&5 <<_ACEOF
1.1       bertrand 2282: 
                   2283: 
1.15    ! bertrand 2284: ## ----------- ##
        !          2285: ## Core tests. ##
        !          2286: ## ----------- ##
1.1       bertrand 2287: 
1.15    ! bertrand 2288: _ACEOF
1.1       bertrand 2289: 
                   2290: 
1.15    ! bertrand 2291: # Keep a trace of the command line.
        !          2292: # Strip out --no-create and --no-recursion so they do not pile up.
        !          2293: # Strip out --silent because we don't want to record it for future runs.
        !          2294: # Also quote any args containing shell meta-characters.
        !          2295: # Make two passes to allow for proper duplicate-argument suppression.
        !          2296: ac_configure_args=
        !          2297: ac_configure_args0=
        !          2298: ac_configure_args1=
        !          2299: ac_must_keep_next=false
        !          2300: for ac_pass in 1 2
        !          2301: do
        !          2302:   for ac_arg
        !          2303:   do
        !          2304:     case $ac_arg in
        !          2305:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
        !          2306:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !          2307:     | -silent | --silent | --silen | --sile | --sil)
        !          2308:       continue ;;
        !          2309:     *\'*)
        !          2310:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          2311:     esac
        !          2312:     case $ac_pass in
        !          2313:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
        !          2314:     2)
        !          2315:       as_fn_append ac_configure_args1 " '$ac_arg'"
        !          2316:       if test $ac_must_keep_next = true; then
        !          2317:    ac_must_keep_next=false # Got value, back to normal.
        !          2318:       else
        !          2319:    case $ac_arg in
        !          2320:      *=* | --config-cache | -C | -disable-* | --disable-* \
        !          2321:      | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
        !          2322:      | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
        !          2323:      | -with-* | --with-* | -without-* | --without-* | --x)
        !          2324:        case "$ac_configure_args0 " in
        !          2325:          "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
        !          2326:        esac
        !          2327:        ;;
        !          2328:      -* ) ac_must_keep_next=true ;;
        !          2329:    esac
        !          2330:       fi
        !          2331:       as_fn_append ac_configure_args " '$ac_arg'"
        !          2332:       ;;
        !          2333:     esac
        !          2334:   done
        !          2335: done
        !          2336: { ac_configure_args0=; unset ac_configure_args0;}
        !          2337: { ac_configure_args1=; unset ac_configure_args1;}
1.1       bertrand 2338: 
1.15    ! bertrand 2339: # When interrupted or exit'd, cleanup temporary files, and complete
        !          2340: # config.log.  We remove comments because anyway the quotes in there
        !          2341: # would cause problems or look ugly.
        !          2342: # WARNING: Use '\'' to represent an apostrophe within the trap.
        !          2343: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
        !          2344: trap 'exit_status=$?
        !          2345:   # Save into config.log some information that might help in debugging.
        !          2346:   {
        !          2347:     echo
1.1       bertrand 2348: 
1.15    ! bertrand 2349:     cat <<\_ASBOX
        !          2350: ## ---------------- ##
        !          2351: ## Cache variables. ##
        !          2352: ## ---------------- ##
        !          2353: _ASBOX
        !          2354:     echo
        !          2355:     # The following way of writing the cache mishandles newlines in values,
        !          2356: (
        !          2357:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
        !          2358:     eval ac_val=\$$ac_var
        !          2359:     case $ac_val in #(
        !          2360:     *${as_nl}*)
        !          2361:       case $ac_var in #(
        !          2362:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          2363: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
        !          2364:       esac
        !          2365:       case $ac_var in #(
        !          2366:       _ | IFS | as_nl) ;; #(
        !          2367:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          2368:       *) { eval $ac_var=; unset $ac_var;} ;;
        !          2369:       esac ;;
        !          2370:     esac
        !          2371:   done
        !          2372:   (set) 2>&1 |
        !          2373:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
        !          2374:     *${as_nl}ac_space=\ *)
        !          2375:       sed -n \
        !          2376:    "s/'\''/'\''\\\\'\'''\''/g;
        !          2377:      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
        !          2378:       ;; #(
        !          2379:     *)
        !          2380:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
        !          2381:       ;;
        !          2382:     esac |
        !          2383:     sort
        !          2384: )
        !          2385:     echo
1.1       bertrand 2386: 
1.15    ! bertrand 2387:     cat <<\_ASBOX
        !          2388: ## ----------------- ##
        !          2389: ## Output variables. ##
        !          2390: ## ----------------- ##
        !          2391: _ASBOX
        !          2392:     echo
        !          2393:     for ac_var in $ac_subst_vars
        !          2394:     do
        !          2395:       eval ac_val=\$$ac_var
        !          2396:       case $ac_val in
        !          2397:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          2398:       esac
        !          2399:       $as_echo "$ac_var='\''$ac_val'\''"
        !          2400:     done | sort
        !          2401:     echo
1.1       bertrand 2402: 
1.15    ! bertrand 2403:     if test -n "$ac_subst_files"; then
        !          2404:       cat <<\_ASBOX
        !          2405: ## ------------------- ##
        !          2406: ## File substitutions. ##
        !          2407: ## ------------------- ##
        !          2408: _ASBOX
        !          2409:       echo
        !          2410:       for ac_var in $ac_subst_files
        !          2411:       do
        !          2412:    eval ac_val=\$$ac_var
        !          2413:    case $ac_val in
        !          2414:    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          2415:    esac
        !          2416:    $as_echo "$ac_var='\''$ac_val'\''"
        !          2417:       done | sort
        !          2418:       echo
1.14      bertrand 2419:     fi
                   2420: 
1.15    ! bertrand 2421:     if test -s confdefs.h; then
        !          2422:       cat <<\_ASBOX
        !          2423: ## ----------- ##
        !          2424: ## confdefs.h. ##
        !          2425: ## ----------- ##
        !          2426: _ASBOX
        !          2427:       echo
        !          2428:       cat confdefs.h
        !          2429:       echo
        !          2430:     fi
        !          2431:     test "$ac_signal" != 0 &&
        !          2432:       $as_echo "$as_me: caught signal $ac_signal"
        !          2433:     $as_echo "$as_me: exit $exit_status"
        !          2434:   } >&5
        !          2435:   rm -f core *.core core.conftest.* &&
        !          2436:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
        !          2437:     exit $exit_status
        !          2438: ' 0
        !          2439: for ac_signal in 1 2 13 15; do
        !          2440:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
        !          2441: done
        !          2442: ac_signal=0
1.14      bertrand 2443: 
1.15    ! bertrand 2444: # confdefs.h avoids OS command line length limits that DEFS can exceed.
        !          2445: rm -f -r conftest* confdefs.h
1.14      bertrand 2446: 
1.15    ! bertrand 2447: $as_echo "/* confdefs.h */" > confdefs.h
1.14      bertrand 2448: 
1.15    ! bertrand 2449: # Predefined preprocessor variables.
1.14      bertrand 2450: 
1.15    ! bertrand 2451: cat >>confdefs.h <<_ACEOF
        !          2452: #define PACKAGE_NAME "$PACKAGE_NAME"
        !          2453: _ACEOF
1.14      bertrand 2454: 
1.15    ! bertrand 2455: cat >>confdefs.h <<_ACEOF
        !          2456: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1.14      bertrand 2457: _ACEOF
                   2458: 
1.15    ! bertrand 2459: cat >>confdefs.h <<_ACEOF
        !          2460: #define PACKAGE_VERSION "$PACKAGE_VERSION"
        !          2461: _ACEOF
1.14      bertrand 2462: 
1.15    ! bertrand 2463: cat >>confdefs.h <<_ACEOF
        !          2464: #define PACKAGE_STRING "$PACKAGE_STRING"
1.14      bertrand 2465: _ACEOF
                   2466: 
1.15    ! bertrand 2467: cat >>confdefs.h <<_ACEOF
        !          2468: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
        !          2469: _ACEOF
1.14      bertrand 2470: 
1.15    ! bertrand 2471: cat >>confdefs.h <<_ACEOF
        !          2472: #define PACKAGE_URL "$PACKAGE_URL"
        !          2473: _ACEOF
1.14      bertrand 2474: 
                   2475: 
1.15    ! bertrand 2476: # Let the site file select an alternate cache file if it wants to.
        !          2477: # Prefer an explicitly selected file to automatically selected ones.
        !          2478: ac_site_file1=NONE
        !          2479: ac_site_file2=NONE
        !          2480: if test -n "$CONFIG_SITE"; then
        !          2481:   ac_site_file1=$CONFIG_SITE
        !          2482: elif test "x$prefix" != xNONE; then
        !          2483:   ac_site_file1=$prefix/share/config.site
        !          2484:   ac_site_file2=$prefix/etc/config.site
1.14      bertrand 2485: else
1.15    ! bertrand 2486:   ac_site_file1=$ac_default_prefix/share/config.site
        !          2487:   ac_site_file2=$ac_default_prefix/etc/config.site
1.14      bertrand 2488: fi
1.15    ! bertrand 2489: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
        !          2490: do
        !          2491:   test "x$ac_site_file" = xNONE && continue
        !          2492:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
        !          2493:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
        !          2494: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
        !          2495:     sed 's/^/| /' "$ac_site_file" >&5
        !          2496:     . "$ac_site_file"
        !          2497:   fi
        !          2498: done
1.14      bertrand 2499: 
1.15    ! bertrand 2500: if test -r "$cache_file"; then
        !          2501:   # Some versions of bash will fail to source /dev/null (special files
        !          2502:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
        !          2503:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
        !          2504:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
        !          2505: $as_echo "$as_me: loading cache $cache_file" >&6;}
        !          2506:     case $cache_file in
        !          2507:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
        !          2508:       *)                      . "./$cache_file";;
        !          2509:     esac
        !          2510:   fi
1.14      bertrand 2511: else
1.15    ! bertrand 2512:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
        !          2513: $as_echo "$as_me: creating cache $cache_file" >&6;}
        !          2514:   >$cache_file
1.14      bertrand 2515: fi
                   2516: 
1.15    ! bertrand 2517: # Check that the precious variables saved in the cache have kept the same
        !          2518: # value.
        !          2519: ac_cache_corrupted=false
        !          2520: for ac_var in $ac_precious_vars; do
        !          2521:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
        !          2522:   eval ac_new_set=\$ac_env_${ac_var}_set
        !          2523:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
        !          2524:   eval ac_new_val=\$ac_env_${ac_var}_value
        !          2525:   case $ac_old_set,$ac_new_set in
        !          2526:     set,)
        !          2527:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
        !          2528: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
        !          2529:       ac_cache_corrupted=: ;;
        !          2530:     ,set)
        !          2531:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
        !          2532: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
        !          2533:       ac_cache_corrupted=: ;;
        !          2534:     ,);;
        !          2535:     *)
        !          2536:       if test "x$ac_old_val" != "x$ac_new_val"; then
        !          2537:    # differences in whitespace do not lead to failure.
        !          2538:    ac_old_val_w=`echo x $ac_old_val`
        !          2539:    ac_new_val_w=`echo x $ac_new_val`
        !          2540:    if test "$ac_old_val_w" != "$ac_new_val_w"; then
        !          2541:      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
        !          2542: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        !          2543:      ac_cache_corrupted=:
        !          2544:    else
        !          2545:      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
        !          2546: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
        !          2547:      eval $ac_var=\$ac_old_val
        !          2548:    fi
        !          2549:    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
        !          2550: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
        !          2551:    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
        !          2552: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
        !          2553:       fi;;
        !          2554:   esac
        !          2555:   # Pass precious variables to config.status.
        !          2556:   if test "$ac_new_set" = set; then
        !          2557:     case $ac_new_val in
        !          2558:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          2559:     *) ac_arg=$ac_var=$ac_new_val ;;
        !          2560:     esac
        !          2561:     case " $ac_configure_args " in
        !          2562:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
        !          2563:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
        !          2564:     esac
1.14      bertrand 2565:   fi
                   2566: done
1.15    ! bertrand 2567: if $ac_cache_corrupted; then
        !          2568:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2569: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2570:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
        !          2571: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          2572:   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
        !          2573: fi
        !          2574: ## -------------------- ##
        !          2575: ## Main body of script. ##
        !          2576: ## -------------------- ##
1.14      bertrand 2577: 
1.15    ! bertrand 2578: ac_ext=c
        !          2579: ac_cpp='$CPP $CPPFLAGS'
        !          2580: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2581: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2582: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.14      bertrand 2583: 
                   2584: 
1.15    ! bertrand 2585: ac_aux_dir=
        !          2586: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
        !          2587:   for ac_t in install-sh install.sh shtool; do
        !          2588:     if test -f "$ac_dir/$ac_t"; then
        !          2589:       ac_aux_dir=$ac_dir
        !          2590:       ac_install_sh="$ac_aux_dir/$ac_t -c"
        !          2591:       break 2
        !          2592:     fi
        !          2593:   done
1.14      bertrand 2594: done
1.15    ! bertrand 2595: if test -z "$ac_aux_dir"; then
        !          2596:   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
        !          2597: fi
1.14      bertrand 2598: 
1.15    ! bertrand 2599: # These three variables are undocumented and unsupported,
        !          2600: # and are intended to be withdrawn in a future Autoconf release.
        !          2601: # They can cause serious problems if a builder's source tree is in a directory
        !          2602: # whose full name contains unusual characters.
        !          2603: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
        !          2604: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
        !          2605: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1.14      bertrand 2606: 
                   2607: 
1.15    ! bertrand 2608: # Make sure we can run config.sub.
        !          2609: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
        !          2610:   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.14      bertrand 2611: 
1.15    ! bertrand 2612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
        !          2613: $as_echo_n "checking build system type... " >&6; }
        !          2614: if test "${ac_cv_build+set}" = set; then :
        !          2615:   $as_echo_n "(cached) " >&6
1.14      bertrand 2616: else
1.15    ! bertrand 2617:   ac_build_alias=$build_alias
        !          2618: test "x$ac_build_alias" = x &&
        !          2619:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
        !          2620: test "x$ac_build_alias" = x &&
        !          2621:   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
        !          2622: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
        !          2623:   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.14      bertrand 2624: 
                   2625: fi
1.15    ! bertrand 2626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
        !          2627: $as_echo "$ac_cv_build" >&6; }
        !          2628: case $ac_cv_build in
        !          2629: *-*-*) ;;
        !          2630: *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
        !          2631: esac
        !          2632: build=$ac_cv_build
        !          2633: ac_save_IFS=$IFS; IFS='-'
        !          2634: set x $ac_cv_build
        !          2635: shift
        !          2636: build_cpu=$1
        !          2637: build_vendor=$2
        !          2638: shift; shift
        !          2639: # Remember, the first character of IFS is used to create $*,
        !          2640: # except with old shells:
        !          2641: build_os=$*
        !          2642: IFS=$ac_save_IFS
        !          2643: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.14      bertrand 2644: 
                   2645: 
1.15    ! bertrand 2646: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
        !          2647: $as_echo_n "checking host system type... " >&6; }
        !          2648: if test "${ac_cv_host+set}" = set; then :
        !          2649:   $as_echo_n "(cached) " >&6
1.14      bertrand 2650: else
1.15    ! bertrand 2651:   if test "x$host_alias" = x; then
        !          2652:   ac_cv_host=$ac_cv_build
1.14      bertrand 2653: else
1.15    ! bertrand 2654:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
        !          2655:     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.14      bertrand 2656: fi
                   2657: 
                   2658: fi
1.15    ! bertrand 2659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
        !          2660: $as_echo "$ac_cv_host" >&6; }
        !          2661: case $ac_cv_host in
        !          2662: *-*-*) ;;
        !          2663: *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
        !          2664: esac
        !          2665: host=$ac_cv_host
        !          2666: ac_save_IFS=$IFS; IFS='-'
        !          2667: set x $ac_cv_host
        !          2668: shift
        !          2669: host_cpu=$1
        !          2670: host_vendor=$2
        !          2671: shift; shift
        !          2672: # Remember, the first character of IFS is used to create $*,
        !          2673: # except with old shells:
        !          2674: host_os=$*
        !          2675: IFS=$ac_save_IFS
        !          2676: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.14      bertrand 2677: 
                   2678: 
1.15    ! bertrand 2679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
        !          2680: $as_echo_n "checking target system type... " >&6; }
        !          2681: if test "${ac_cv_target+set}" = set; then :
        !          2682:   $as_echo_n "(cached) " >&6
        !          2683: else
        !          2684:   if test "x$target_alias" = x; then
        !          2685:   ac_cv_target=$ac_cv_host
1.14      bertrand 2686: else
1.15    ! bertrand 2687:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
        !          2688:     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
        !          2689: fi
1.14      bertrand 2690: 
                   2691: fi
1.15    ! bertrand 2692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
        !          2693: $as_echo "$ac_cv_target" >&6; }
        !          2694: case $ac_cv_target in
        !          2695: *-*-*) ;;
        !          2696: *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
        !          2697: esac
        !          2698: target=$ac_cv_target
        !          2699: ac_save_IFS=$IFS; IFS='-'
        !          2700: set x $ac_cv_target
        !          2701: shift
        !          2702: target_cpu=$1
        !          2703: target_vendor=$2
        !          2704: shift; shift
        !          2705: # Remember, the first character of IFS is used to create $*,
        !          2706: # except with old shells:
        !          2707: target_os=$*
        !          2708: IFS=$ac_save_IFS
        !          2709: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
        !          2710: 
1.14      bertrand 2711: 
1.15    ! bertrand 2712: # The aliases save the names the user supplied, while $host etc.
        !          2713: # will get canonicalized.
        !          2714: test -n "$target_alias" &&
        !          2715:   test "$program_prefix$program_suffix$program_transform_name" = \
        !          2716:     NONENONEs,x,x, &&
        !          2717:   program_prefix=${target_alias}-
1.1       bertrand 2718: 
1.15    ! bertrand 2719: am__api_version='1.11'
1.1       bertrand 2720: 
1.14      bertrand 2721: # Find a good install program.  We prefer a C program (faster),
                   2722: # so one script is as good as another.  But avoid the broken or
                   2723: # incompatible versions:
                   2724: # SysV /etc/install, /usr/sbin/install
                   2725: # SunOS /usr/etc/install
                   2726: # IRIX /sbin/install
                   2727: # AIX /bin/install
                   2728: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2729: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2730: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2731: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2732: # OS/2's system install, which has a completely different semantic
                   2733: # ./install, which can be erroneously created by make from ./install.sh.
1.15    ! bertrand 2734: # Reject install programs that cannot install multiple files.
        !          2735: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
        !          2736: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.14      bertrand 2737: if test -z "$INSTALL"; then
1.15    ! bertrand 2738: if test "${ac_cv_path_install+set}" = set; then :
        !          2739:   $as_echo_n "(cached) " >&6
1.14      bertrand 2740: else
                   2741:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2742: for as_dir in $PATH
                   2743: do
                   2744:   IFS=$as_save_IFS
                   2745:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand 2746:     # Account for people who put trailing slashes in PATH elements.
        !          2747: case $as_dir/ in #((
        !          2748:   ./ | .// | /[cC]/* | \
1.14      bertrand 2749:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.15    ! bertrand 2750:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.14      bertrand 2751:   /usr/ucb/* ) ;;
                   2752:   *)
                   2753:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2754:     # Don't use installbsd from OSF since it installs stuff as root
                   2755:     # by default.
                   2756:     for ac_prog in ginstall scoinst install; do
                   2757:       for ac_exec_ext in '' $ac_executable_extensions; do
                   2758:    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   2759:      if test $ac_prog = install &&
                   2760:        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2761:        # AIX install.  It has an incompatible calling convention.
                   2762:        :
                   2763:      elif test $ac_prog = install &&
                   2764:        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2765:        # program-specific install script used by HP pwplus--don't use.
                   2766:        :
                   2767:      else
1.15    ! bertrand 2768:        rm -rf conftest.one conftest.two conftest.dir
        !          2769:        echo one > conftest.one
        !          2770:        echo two > conftest.two
        !          2771:        mkdir conftest.dir
        !          2772:        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
        !          2773:          test -s conftest.one && test -s conftest.two &&
        !          2774:          test -s conftest.dir/conftest.one &&
        !          2775:          test -s conftest.dir/conftest.two
        !          2776:        then
        !          2777:          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          2778:          break 3
        !          2779:        fi
1.14      bertrand 2780:      fi
                   2781:    fi
                   2782:       done
                   2783:     done
                   2784:     ;;
                   2785: esac
1.15    ! bertrand 2786: 
        !          2787:   done
1.14      bertrand 2788: IFS=$as_save_IFS
1.1       bertrand 2789: 
1.15    ! bertrand 2790: rm -rf conftest.one conftest.two conftest.dir
1.1       bertrand 2791: 
1.14      bertrand 2792: fi
                   2793:   if test "${ac_cv_path_install+set}" = set; then
                   2794:     INSTALL=$ac_cv_path_install
                   2795:   else
                   2796:     # As a last resort, use the slow shell script.  Don't cache a
                   2797:     # value for INSTALL within a source directory, because that will
                   2798:     # break other packages using the cache if that directory is
                   2799:     # removed, or if the value is a relative name.
                   2800:     INSTALL=$ac_install_sh
                   2801:   fi
                   2802: fi
1.15    ! bertrand 2803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
        !          2804: $as_echo "$INSTALL" >&6; }
1.1       bertrand 2805: 
1.14      bertrand 2806: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2807: # It thinks the first close brace ends the variable substitution.
                   2808: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.1       bertrand 2809: 
1.14      bertrand 2810: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       bertrand 2811: 
1.14      bertrand 2812: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1       bertrand 2813: 
1.15    ! bertrand 2814: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
        !          2815: $as_echo_n "checking whether build environment is sane... " >&6; }
        !          2816: # Just in case
        !          2817: sleep 1
        !          2818: echo timestamp > conftest.file
        !          2819: # Reject unsafe characters in $srcdir or the absolute working directory
        !          2820: # name.  Accept space and tab only in the latter.
        !          2821: am_lf='
        !          2822: '
        !          2823: case `pwd` in
        !          2824:   *[\\\"\#\$\&\'\`$am_lf]*)
        !          2825:     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
        !          2826: esac
        !          2827: case $srcdir in
        !          2828:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
        !          2829:     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
        !          2830: esac
        !          2831: 
        !          2832: # Do `set' in a subshell so we don't clobber the current shell's
        !          2833: # arguments.  Must try -L first in case configure is actually a
        !          2834: # symlink; some systems play weird games with the mod time of symlinks
        !          2835: # (eg FreeBSD returns the mod time of the symlink's containing
        !          2836: # directory).
        !          2837: if (
        !          2838:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2839:    if test "$*" = "X"; then
        !          2840:       # -L didn't work.
        !          2841:       set X `ls -t "$srcdir/configure" conftest.file`
        !          2842:    fi
        !          2843:    rm -f conftest.file
        !          2844:    if test "$*" != "X $srcdir/configure conftest.file" \
        !          2845:       && test "$*" != "X conftest.file $srcdir/configure"; then
        !          2846: 
        !          2847:       # If neither matched, then we have a broken ls.  This can happen
        !          2848:       # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2849:       # broken ls alias from the environment.  This has actually
        !          2850:       # happened.  Such a system could not be considered "sane".
        !          2851:       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
        !          2852: alias in your environment" "$LINENO" 5
        !          2853:    fi
        !          2854: 
        !          2855:    test "$2" = conftest.file
        !          2856:    )
        !          2857: then
        !          2858:    # Ok.
        !          2859:    :
1.14      bertrand 2860: else
1.15    ! bertrand 2861:    as_fn_error "newly created file is older than distributed files!
        !          2862: Check your system clock" "$LINENO" 5
1.14      bertrand 2863: fi
1.15    ! bertrand 2864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          2865: $as_echo "yes" >&6; }
        !          2866: test "$program_prefix" != NONE &&
        !          2867:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
        !          2868: # Use a double $ so make ignores it.
        !          2869: test "$program_suffix" != NONE &&
        !          2870:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
        !          2871: # Double any \ or $.
        !          2872: # By default was `s,x,x', remove it if useless.
        !          2873: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
        !          2874: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
        !          2875: 
        !          2876: # expand $ac_aux_dir to an absolute path
        !          2877: am_aux_dir=`cd $ac_aux_dir && pwd`
1.1       bertrand 2878: 
1.15    ! bertrand 2879: if test x"${MISSING+set}" != xset; then
        !          2880:   case $am_aux_dir in
        !          2881:   *\ * | *\    *)
        !          2882:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1.14      bertrand 2883:   *)
1.15    ! bertrand 2884:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
        !          2885:   esac
1.14      bertrand 2886: fi
1.15    ! bertrand 2887: # Use eval to expand $SHELL
        !          2888: if eval "$MISSING --run true"; then
        !          2889:   am_missing_run="$MISSING --run "
1.14      bertrand 2890: else
1.15    ! bertrand 2891:   am_missing_run=
        !          2892:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
        !          2893: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
        !          2894: fi
        !          2895: 
        !          2896: if test x"${install_sh}" != xset; then
        !          2897:   case $am_aux_dir in
        !          2898:   *\ * | *\    *)
        !          2899:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
        !          2900:   *)
        !          2901:     install_sh="\${SHELL} $am_aux_dir/install-sh"
        !          2902:   esac
1.14      bertrand 2903: fi
1.15    ! bertrand 2904: 
        !          2905: # Installed binaries are usually stripped using `strip' when the user
        !          2906: # run `make install-strip'.  However `strip' might not be the right
        !          2907: # tool to use in cross-compilation environments, therefore Automake
        !          2908: # will honor the `STRIP' environment variable to overrule this program.
        !          2909: if test "$cross_compiling" != no; then
        !          2910:   if test -n "$ac_tool_prefix"; then
        !          2911:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
        !          2912: set dummy ${ac_tool_prefix}strip; ac_word=$2
        !          2913: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2914: $as_echo_n "checking for $ac_word... " >&6; }
        !          2915: if test "${ac_cv_prog_STRIP+set}" = set; then :
        !          2916:   $as_echo_n "(cached) " >&6
1.14      bertrand 2917: else
1.15    ! bertrand 2918:   if test -n "$STRIP"; then
        !          2919:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.14      bertrand 2920: else
                   2921: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2922: for as_dir in $PATH
                   2923: do
                   2924:   IFS=$as_save_IFS
                   2925:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand 2926:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 2927:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15    ! bertrand 2928:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
        !          2929:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 2930:     break 2
                   2931:   fi
                   2932: done
1.15    ! bertrand 2933:   done
1.14      bertrand 2934: IFS=$as_save_IFS
1.1       bertrand 2935: 
1.14      bertrand 2936: fi
                   2937: fi
1.15    ! bertrand 2938: STRIP=$ac_cv_prog_STRIP
        !          2939: if test -n "$STRIP"; then
        !          2940:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          2941: $as_echo "$STRIP" >&6; }
1.14      bertrand 2942: else
1.15    ! bertrand 2943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2944: $as_echo "no" >&6; }
1.14      bertrand 2945: fi
1.1       bertrand 2946: 
                   2947: 
1.14      bertrand 2948: fi
1.15    ! bertrand 2949: if test -z "$ac_cv_prog_STRIP"; then
        !          2950:   ac_ct_STRIP=$STRIP
        !          2951:   # Extract the first word of "strip", so it can be a program name with args.
        !          2952: set dummy strip; ac_word=$2
        !          2953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2954: $as_echo_n "checking for $ac_word... " >&6; }
        !          2955: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
        !          2956:   $as_echo_n "(cached) " >&6
1.14      bertrand 2957: else
1.15    ! bertrand 2958:   if test -n "$ac_ct_STRIP"; then
        !          2959:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       bertrand 2960: else
1.14      bertrand 2961: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2962: for as_dir in $PATH
1.1       bertrand 2963: do
1.14      bertrand 2964:   IFS=$as_save_IFS
                   2965:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand 2966:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 2967:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15    ! bertrand 2968:     ac_cv_prog_ac_ct_STRIP="strip"
        !          2969:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 2970:     break 2
1.1       bertrand 2971:   fi
                   2972: done
1.15    ! bertrand 2973:   done
1.14      bertrand 2974: IFS=$as_save_IFS
1.1       bertrand 2975: 
1.14      bertrand 2976: fi
                   2977: fi
1.15    ! bertrand 2978: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
        !          2979: if test -n "$ac_ct_STRIP"; then
        !          2980:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          2981: $as_echo "$ac_ct_STRIP" >&6; }
1.1       bertrand 2982: else
1.15    ! bertrand 2983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2984: $as_echo "no" >&6; }
1.1       bertrand 2985: fi
                   2986: 
1.15    ! bertrand 2987:   if test "x$ac_ct_STRIP" = x; then
        !          2988:     STRIP=":"
1.14      bertrand 2989:   else
                   2990:     case $cross_compiling:$ac_tool_warned in
                   2991: yes:)
1.15    ! bertrand 2992: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          2993: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.14      bertrand 2994: ac_tool_warned=yes ;;
                   2995: esac
1.15    ! bertrand 2996:     STRIP=$ac_ct_STRIP
1.1       bertrand 2997:   fi
1.14      bertrand 2998: else
1.15    ! bertrand 2999:   STRIP="$ac_cv_prog_STRIP"
1.1       bertrand 3000: fi
                   3001: 
1.15    ! bertrand 3002: fi
        !          3003: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.1       bertrand 3004: 
1.15    ! bertrand 3005: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
        !          3006: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
        !          3007: if test -z "$MKDIR_P"; then
        !          3008:   if test "${ac_cv_path_mkdir+set}" = set; then :
        !          3009:   $as_echo_n "(cached) " >&6
1.14      bertrand 3010: else
1.15    ! bertrand 3011:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3012: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1.14      bertrand 3013: do
                   3014:   IFS=$as_save_IFS
                   3015:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand 3016:     for ac_prog in mkdir gmkdir; do
        !          3017:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3018:       { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
        !          3019:       case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
        !          3020:         'mkdir (GNU coreutils) '* | \
        !          3021:         'mkdir (coreutils) '* | \
        !          3022:         'mkdir (fileutils) '4.1*)
        !          3023:           ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
        !          3024:           break 3;;
        !          3025:       esac
        !          3026:     done
        !          3027:        done
        !          3028:   done
1.14      bertrand 3029: IFS=$as_save_IFS
1.1       bertrand 3030: 
                   3031: fi
1.15    ! bertrand 3032: 
        !          3033:   test -d ./--version && rmdir ./--version
        !          3034:   if test "${ac_cv_path_mkdir+set}" = set; then
        !          3035:     MKDIR_P="$ac_cv_path_mkdir -p"
        !          3036:   else
        !          3037:     # As a last resort, use the slow shell script.  Don't cache a
        !          3038:     # value for MKDIR_P within a source directory, because that will
        !          3039:     # break other packages using the cache if that directory is
        !          3040:     # removed, or if the value is a relative name.
        !          3041:     MKDIR_P="$ac_install_sh -d"
        !          3042:   fi
1.14      bertrand 3043: fi
1.15    ! bertrand 3044: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
        !          3045: $as_echo "$MKDIR_P" >&6; }
1.1       bertrand 3046: 
1.15    ! bertrand 3047: mkdir_p="$MKDIR_P"
        !          3048: case $mkdir_p in
        !          3049:   [\\/$]* | ?:[\\/]*) ;;
        !          3050:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
        !          3051: esac
1.1       bertrand 3052: 
1.15    ! bertrand 3053: for ac_prog in gawk mawk nawk awk
        !          3054: do
        !          3055:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          3056: set dummy $ac_prog; ac_word=$2
        !          3057: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3058: $as_echo_n "checking for $ac_word... " >&6; }
        !          3059: if test "${ac_cv_prog_AWK+set}" = set; then :
        !          3060:   $as_echo_n "(cached) " >&6
1.1       bertrand 3061: else
1.15    ! bertrand 3062:   if test -n "$AWK"; then
        !          3063:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1       bertrand 3064: else
1.14      bertrand 3065: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3066: for as_dir in $PATH
                   3067: do
                   3068:   IFS=$as_save_IFS
                   3069:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand 3070:     for ac_exec_ext in '' $ac_executable_extensions; do
1.14      bertrand 3071:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15    ! bertrand 3072:     ac_cv_prog_AWK="$ac_prog"
        !          3073:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.14      bertrand 3074:     break 2
                   3075:   fi
                   3076: done
1.15    ! bertrand 3077:   done
1.14      bertrand 3078: IFS=$as_save_IFS
                   3079: 
                   3080: fi
1.1       bertrand 3081: fi
1.15    ! bertrand 3082: AWK=$ac_cv_prog_AWK
        !          3083: if test -n "$AWK"; then
        !          3084:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
        !          3085: $as_echo "$AWK" >&6; }
1.14      bertrand 3086: else
1.15    ! bertrand 3087:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3088: $as_echo "no" >&6; }
1.1       bertrand 3089: fi
                   3090: 
                   3091: 
1.15    ! bertrand 3092:   test -n "$AWK" && break
        !          3093: done
1.1       bertrand 3094: 
1.15    ! bertrand 3095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          3096: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
        !          3097: set x ${MAKE-make}
        !          3098: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
        !          3099: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          3100:   $as_echo_n "(cached) " >&6
1.14      bertrand 3101: else
1.15    ! bertrand 3102:   cat >conftest.make <<\_ACEOF
        !          3103: SHELL = /bin/sh
        !          3104: all:
        !          3105:    @echo '@@@%%%=$(MAKE)=@@@%%%'
        !          3106: _ACEOF
        !          3107: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
        !          3108: case `${MAKE-make} -f conftest.make 2>/dev/null` in
        !          3109:   *@@@%%%=?*=@@@%%%*)
        !          3110:     eval ac_cv_prog_make_${ac_make}_set=yes;;
        !          3111:   *)
        !          3112:     eval ac_cv_prog_make_${ac_make}_set=no;;
        !          3113: esac
        !          3114: rm -f conftest.make
        !          3115: fi
        !          3116: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
        !          3117:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3118: $as_echo "yes" >&6; }
        !          3119:   SET_MAKE=
1.1       bertrand 3120: else
1.15    ! bertrand 3121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3122: $as_echo "no" >&6; }
        !          3123:   SET_MAKE="MAKE=${MAKE-make}"
        !          3124: fi
1.1       bertrand 3125: 
1.15    ! bertrand 3126: rm -rf .tst 2>/dev/null
        !          3127: mkdir .tst 2>/dev/null
        !          3128: if test -d .tst; then
        !          3129:   am__leading_dot=.
        !          3130: else
        !          3131:   am__leading_dot=_
1.14      bertrand 3132: fi
1.15    ! bertrand 3133: rmdir .tst 2>/dev/null
        !          3134: 
        !          3135: if test "`cd $srcdir && pwd`" != "`pwd`"; then
        !          3136:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
        !          3137:   # is not polluted with repeated "-I."
        !          3138:   am__isrc=' -I$(srcdir)'
        !          3139:   # test to see if srcdir already configured
        !          3140:   if test -f $srcdir/config.status; then
        !          3141:     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
        !          3142:   fi
1.1       bertrand 3143: fi
1.15    ! bertrand 3144: 
        !          3145: # test whether we have cygpath
        !          3146: if test -z "$CYGPATH_W"; then
        !          3147:   if (cygpath --version) >/dev/null 2>/dev/null; then
        !          3148:     CYGPATH_W='cygpath -w'
        !          3149:   else
        !          3150:     CYGPATH_W=echo
        !          3151:   fi
1.1       bertrand 3152: fi
                   3153: 
                   3154: 
1.15    ! bertrand 3155: # Define the identity of the package.
        !          3156:  PACKAGE='rpl'
        !          3157:  VERSION='4.0.13'
        !          3158: 
        !          3159: 
        !          3160: cat >>confdefs.h <<_ACEOF
        !          3161: #define PACKAGE "$PACKAGE"
        !          3162: _ACEOF
        !          3163: 
        !          3164: 
        !          3165: cat >>confdefs.h <<_ACEOF
        !          3166: #define VERSION "$VERSION"
        !          3167: _ACEOF
        !          3168: 
        !          3169: # Some tools Automake needs.
        !          3170: 
        !          3171: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
        !          3172: 
        !          3173: 
        !          3174: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
        !          3175: 
        !          3176: 
        !          3177: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
        !          3178: 
        !          3179: 
        !          3180: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
        !          3181: 
        !          3182: 
        !          3183: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
        !          3184: 
        !          3185: # We need awk for the "check" target.  The system "awk" is bad on
        !          3186: # some platforms.
        !          3187: # Always define AMTAR for backward compatibility.
        !          3188: 
        !          3189: AMTAR=${AMTAR-"${am_missing_run}tar"}
        !          3190: 
        !          3191: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
        !          3192: 
        !          3193: 
        !          3194: 
        !          3195: 
1.1       bertrand 3196: 
                   3197: 
1.15    ! bertrand 3198: ac_config_headers="$ac_config_headers rplconfig.h"
1.1       bertrand 3199: 
                   3200: 
1.15    ! bertrand 3201: NCURSES=ncurses-5.7-20100206
        !          3202: READLINE=readline-6.1
        !          3203: UNITS=units-1.87
        !          3204: GSL=gsl-1.14
        !          3205: GPP=gpp-2.24
        !          3206: GNUPLOT=gnuplot-4.4.0
        !          3207: FILE=file-5.03
        !          3208: ICONV=libiconv-1.13.1
        !          3209: SQLITE=sqlite-3.6.23.1
        !          3210: OPENSSL=openssl-1.0.0
1.14      bertrand 3211: 
1.15    ! bertrand 3212: ac_ext=c
        !          3213: ac_cpp='$CPP $CPPFLAGS'
        !          3214: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3215: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3216: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3217: if test -n "$ac_tool_prefix"; then
        !          3218:   for ac_prog in gcc-4.4 gcc
        !          3219:   do
        !          3220:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          3221: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          3222: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3223: $as_echo_n "checking for $ac_word... " >&6; }
        !          3224: if test "${ac_cv_prog_CC+set}" = set; then :
        !          3225:   $as_echo_n "(cached) " >&6
1.1       bertrand 3226: else
1.15    ! bertrand 3227:   if test -n "$CC"; then
        !          3228:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.1       bertrand 3229: else
                   3230: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3231: for as_dir in $PATH
                   3232: do
                   3233:   IFS=$as_save_IFS
                   3234:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand 3235:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       bertrand 3236:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15    ! bertrand 3237:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
        !          3238:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       bertrand 3239:     break 2
                   3240:   fi
                   3241: done
1.15    ! bertrand 3242:   done
1.1       bertrand 3243: IFS=$as_save_IFS
                   3244: 
                   3245: fi
                   3246: fi
1.15    ! bertrand 3247: CC=$ac_cv_prog_CC
        !          3248: if test -n "$CC"; then
        !          3249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3250: $as_echo "$CC" >&6; }
1.1       bertrand 3251: else
1.15    ! bertrand 3252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3253: $as_echo "no" >&6; }
1.1       bertrand 3254: fi
                   3255: 
                   3256: 
1.15    ! bertrand 3257:     test -n "$CC" && break
        !          3258:   done
        !          3259: fi
        !          3260: if test -z "$CC"; then
        !          3261:   ac_ct_CC=$CC
        !          3262:   for ac_prog in gcc-4.4 gcc
        !          3263: do
        !          3264:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          3265: set dummy $ac_prog; ac_word=$2
        !          3266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3267: $as_echo_n "checking for $ac_word... " >&6; }
        !          3268: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
        !          3269:   $as_echo_n "(cached) " >&6
1.1       bertrand 3270: else
1.15    ! bertrand 3271:   if test -n "$ac_ct_CC"; then
        !          3272:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       bertrand 3273: else
                   3274: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3275: for as_dir in $PATH
                   3276: do
                   3277:   IFS=$as_save_IFS
                   3278:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand 3279:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       bertrand 3280:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.15    ! bertrand 3281:     ac_cv_prog_ac_ct_CC="$ac_prog"
        !          3282:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       bertrand 3283:     break 2
                   3284:   fi
                   3285: done
1.15    ! bertrand 3286:   done
1.1       bertrand 3287: IFS=$as_save_IFS
                   3288: 
                   3289: fi
                   3290: fi
1.15    ! bertrand 3291: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          3292: if test -n "$ac_ct_CC"; then
        !          3293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          3294: $as_echo "$ac_ct_CC" >&6; }
1.1       bertrand 3295: else
1.15    ! bertrand 3296:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3297: $as_echo "no" >&6; }
1.1       bertrand 3298: fi
                   3299: 
                   3300: 
1.15    ! bertrand 3301:   test -n "$ac_ct_CC" && break
        !          3302: done
1.1       bertrand 3303: 
1.15    ! bertrand 3304:   if test "x$ac_ct_CC" = x; then
        !          3305:     CC=""
        !          3306:   else
        !          3307:     case $cross_compiling:$ac_tool_warned in
        !          3308: yes:)
        !          3309: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3310: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          3311: ac_tool_warned=yes ;;
        !          3312: esac
        !          3313:     CC=$ac_ct_CC
1.1       bertrand 3314:   fi
                   3315: fi
                   3316: 
                   3317: 
1.15    ! bertrand 3318: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3319: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3320: as_fn_error "no acceptable C compiler found in \$PATH
        !          3321: See \`config.log' for more details." "$LINENO" 5; }
1.1       bertrand 3322: 
1.15    ! bertrand 3323: # Provide some information about the compiler.
        !          3324: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
        !          3325: set X $ac_compile
        !          3326: ac_compiler=$2
        !          3327: for ac_option in --version -v -V -qversion; do
        !          3328:   { { ac_try="$ac_compiler $ac_option >&5"
        !          3329: case "(($ac_try" in
        !          3330:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3331:   *) ac_try_echo=$ac_try;;
        !          3332: esac
        !          3333: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3334: $as_echo "$ac_try_echo"; } >&5
        !          3335:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
        !          3336:   ac_status=$?
        !          3337:   if test -s conftest.err; then
        !          3338:     sed '10a\
        !          3339: ... rest of stderr output deleted ...
        !          3340:          10q' conftest.err >conftest.er1
        !          3341:     cat conftest.er1 >&5
1.1       bertrand 3342:   fi
1.15    ! bertrand 3343:   rm -f conftest.er1 conftest.err
        !          3344:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3345:   test $ac_status = 0; }
1.1       bertrand 3346: done
                   3347: 
1.15    ! bertrand 3348: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3349: /* end confdefs.h.  */
        !          3350: 
        !          3351: int
        !          3352: main ()
        !          3353: {
1.14      bertrand 3354: 
1.15    ! bertrand 3355:   ;
        !          3356:   return 0;
        !          3357: }
        !          3358: _ACEOF
        !          3359: ac_clean_files_save=$ac_clean_files
        !          3360: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
        !          3361: # Try to create an executable without -o first, disregard a.out.
        !          3362: # It will help us diagnose broken compilers, and finding out an intuition
        !          3363: # of exeext.
        !          3364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
        !          3365: $as_echo_n "checking whether the C compiler works... " >&6; }
        !          3366: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.14      bertrand 3367: 
1.15    ! bertrand 3368: # The possible output files:
        !          3369: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1.1       bertrand 3370: 
1.15    ! bertrand 3371: ac_rmfiles=
        !          3372: for ac_file in $ac_files
1.1       bertrand 3373: do
1.15    ! bertrand 3374:   case $ac_file in
        !          3375:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
        !          3376:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
        !          3377:   esac
1.1       bertrand 3378: done
1.15    ! bertrand 3379: rm -f $ac_rmfiles
        !          3380: 
        !          3381: if { { ac_try="$ac_link_default"
        !          3382: case "(($ac_try" in
        !          3383:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3384:   *) ac_try_echo=$ac_try;;
        !          3385: esac
        !          3386: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3387: $as_echo "$ac_try_echo"; } >&5
        !          3388:   (eval "$ac_link_default") 2>&5
        !          3389:   ac_status=$?
        !          3390:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3391:   test $ac_status = 0; }; then :
        !          3392:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
        !          3393: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
        !          3394: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
        !          3395: # so that the user can short-circuit this test for compilers unknown to
        !          3396: # Autoconf.
        !          3397: for ac_file in $ac_files ''
        !          3398: do
        !          3399:   test -f "$ac_file" || continue
        !          3400:   case $ac_file in
        !          3401:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
        !          3402:    ;;
        !          3403:     [ab].out )
        !          3404:    # We found the default executable, but exeext='' is most
        !          3405:    # certainly right.
        !          3406:    break;;
        !          3407:     *.* )
        !          3408:    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
        !          3409:    then :; else
        !          3410:       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          3411:    fi
        !          3412:    # We set ac_cv_exeext here because the later test for it is not
        !          3413:    # safe: cross compilers may not add the suffix if given an `-o'
        !          3414:    # argument, so we may need to know it at that point already.
        !          3415:    # Even if this section looks crufty: it has the advantage of
        !          3416:    # actually working.
        !          3417:    break;;
        !          3418:     * )
        !          3419:    break;;
        !          3420:   esac
1.14      bertrand 3421: done
1.15    ! bertrand 3422: test "$ac_cv_exeext" = no && ac_cv_exeext=
1.1       bertrand 3423: 
1.14      bertrand 3424: else
1.15    ! bertrand 3425:   ac_file=''
1.1       bertrand 3426: fi
1.15    ! bertrand 3427: if test -z "$ac_file"; then :
        !          3428:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3429: $as_echo "no" >&6; }
        !          3430: $as_echo "$as_me: failed program was:" >&5
        !          3431: sed 's/^/| /' conftest.$ac_ext >&5
        !          3432: 
        !          3433: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3434: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3435: { as_fn_set_status 77
        !          3436: as_fn_error "C compiler cannot create executables
        !          3437: See \`config.log' for more details." "$LINENO" 5; }; }
        !          3438: else
        !          3439:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3440: $as_echo "yes" >&6; }
        !          3441: fi
        !          3442: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
        !          3443: $as_echo_n "checking for C compiler default output file name... " >&6; }
        !          3444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
        !          3445: $as_echo "$ac_file" >&6; }
        !          3446: ac_exeext=$ac_cv_exeext
1.1       bertrand 3447: 
1.15    ! bertrand 3448: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
        !          3449: ac_clean_files=$ac_clean_files_save
        !          3450: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
        !          3451: $as_echo_n "checking for suffix of executables... " >&6; }
        !          3452: if { { ac_try="$ac_link"
        !          3453: case "(($ac_try" in
        !          3454:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3455:   *) ac_try_echo=$ac_try;;
        !          3456: esac
        !          3457: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3458: $as_echo "$ac_try_echo"; } >&5
        !          3459:   (eval "$ac_link") 2>&5
        !          3460:   ac_status=$?
        !          3461:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3462:   test $ac_status = 0; }; then :
        !          3463:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
        !          3464: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
        !          3465: # work properly (i.e., refer to `conftest.exe'), while it won't with
        !          3466: # `rm'.
        !          3467: for ac_file in conftest.exe conftest conftest.*; do
        !          3468:   test -f "$ac_file" || continue
        !          3469:   case $ac_file in
        !          3470:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
        !          3471:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          3472:      break;;
        !          3473:     * ) break;;
        !          3474:   esac
        !          3475: done
1.14      bertrand 3476: else
1.15    ! bertrand 3477:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3478: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3479: as_fn_error "cannot compute suffix of executables: cannot compile and link
        !          3480: See \`config.log' for more details." "$LINENO" 5; }
        !          3481: fi
        !          3482: rm -f conftest conftest$ac_cv_exeext
        !          3483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
        !          3484: $as_echo "$ac_cv_exeext" >&6; }
        !          3485: 
        !          3486: rm -f conftest.$ac_ext
        !          3487: EXEEXT=$ac_cv_exeext
        !          3488: ac_exeext=$EXEEXT
        !          3489: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 3490: /* end confdefs.h.  */
1.15    ! bertrand 3491: #include <stdio.h>
1.14      bertrand 3492: int
                   3493: main ()
                   3494: {
1.15    ! bertrand 3495: FILE *f = fopen ("conftest.out", "w");
        !          3496:  return ferror (f) || fclose (f) != 0;
        !          3497: 
1.14      bertrand 3498:   ;
                   3499:   return 0;
                   3500: }
                   3501: _ACEOF
1.15    ! bertrand 3502: ac_clean_files="$ac_clean_files conftest.out"
        !          3503: # Check that the compiler produces executables we can run.  If not, either
        !          3504: # the compiler is broken, or we cross compile.
        !          3505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
        !          3506: $as_echo_n "checking whether we are cross compiling... " >&6; }
        !          3507: if test "$cross_compiling" != yes; then
        !          3508:   { { ac_try="$ac_link"
1.1       bertrand 3509: case "(($ac_try" in
                   3510:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3511:   *) ac_try_echo=$ac_try;;
                   3512: esac
1.15    ! bertrand 3513: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3514: $as_echo "$ac_try_echo"; } >&5
        !          3515:   (eval "$ac_link") 2>&5
        !          3516:   ac_status=$?
        !          3517:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3518:   test $ac_status = 0; }
        !          3519:   if { ac_try='./conftest$ac_cv_exeext'
        !          3520:   { { case "(($ac_try" in
        !          3521:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3522:   *) ac_try_echo=$ac_try;;
        !          3523: esac
        !          3524: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3525: $as_echo "$ac_try_echo"; } >&5
        !          3526:   (eval "$ac_try") 2>&5
1.1       bertrand 3527:   ac_status=$?
1.15    ! bertrand 3528:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3529:   test $ac_status = 0; }; }; then
        !          3530:     cross_compiling=no
        !          3531:   else
        !          3532:     if test "$cross_compiling" = maybe; then
        !          3533:    cross_compiling=yes
        !          3534:     else
        !          3535:    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3536: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3537: as_fn_error "cannot run C compiled programs.
        !          3538: If you meant to cross compile, use \`--host'.
        !          3539: See \`config.log' for more details." "$LINENO" 5; }
        !          3540:     fi
        !          3541:   fi
1.14      bertrand 3542: fi
1.15    ! bertrand 3543: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
        !          3544: $as_echo "$cross_compiling" >&6; }
1.14      bertrand 3545: 
1.15    ! bertrand 3546: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
        !          3547: ac_clean_files=$ac_clean_files_save
        !          3548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
        !          3549: $as_echo_n "checking for suffix of object files... " >&6; }
        !          3550: if test "${ac_cv_objext+set}" = set; then :
        !          3551:   $as_echo_n "(cached) " >&6
1.14      bertrand 3552: else
1.15    ! bertrand 3553:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 3554: /* end confdefs.h.  */
                   3555: 
                   3556: int
                   3557: main ()
                   3558: {
1.15    ! bertrand 3559: 
1.1       bertrand 3560:   ;
                   3561:   return 0;
                   3562: }
                   3563: _ACEOF
1.15    ! bertrand 3564: rm -f conftest.o conftest.obj
        !          3565: if { { ac_try="$ac_compile"
1.1       bertrand 3566: case "(($ac_try" in
                   3567:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3568:   *) ac_try_echo=$ac_try;;
                   3569: esac
1.15    ! bertrand 3570: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3571: $as_echo "$ac_try_echo"; } >&5
        !          3572:   (eval "$ac_compile") 2>&5
1.1       bertrand 3573:   ac_status=$?
1.15    ! bertrand 3574:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3575:   test $ac_status = 0; }; then :
        !          3576:   for ac_file in conftest.o conftest.obj conftest.*; do
        !          3577:   test -f "$ac_file" || continue;
        !          3578:   case $ac_file in
        !          3579:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
        !          3580:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
        !          3581:        break;;
        !          3582:   esac
        !          3583: done
1.14      bertrand 3584: else
1.15    ! bertrand 3585:   $as_echo "$as_me: failed program was:" >&5
1.14      bertrand 3586: sed 's/^/| /' conftest.$ac_ext >&5
                   3587: 
1.15    ! bertrand 3588: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3589: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3590: as_fn_error "cannot compute suffix of object files: cannot compile
        !          3591: See \`config.log' for more details." "$LINENO" 5; }
1.14      bertrand 3592: fi
1.15    ! bertrand 3593: rm -f conftest.$ac_cv_objext conftest.$ac_ext
        !          3594: fi
        !          3595: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
        !          3596: $as_echo "$ac_cv_objext" >&6; }
        !          3597: OBJEXT=$ac_cv_objext
        !          3598: ac_objext=$OBJEXT
        !          3599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
        !          3600: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
        !          3601: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
        !          3602:   $as_echo_n "(cached) " >&6
        !          3603: else
        !          3604:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3605: /* end confdefs.h.  */
        !          3606: 
        !          3607: int
        !          3608: main ()
        !          3609: {
        !          3610: #ifndef __GNUC__
        !          3611:        choke me
        !          3612: #endif
1.14      bertrand 3613: 
1.15    ! bertrand 3614:   ;
        !          3615:   return 0;
        !          3616: }
        !          3617: _ACEOF
        !          3618: if ac_fn_c_try_compile "$LINENO"; then :
        !          3619:   ac_compiler_gnu=yes
1.14      bertrand 3620: else
1.15    ! bertrand 3621:   ac_compiler_gnu=no
1.14      bertrand 3622: fi
1.15    ! bertrand 3623: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3624: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.14      bertrand 3625: 
1.15    ! bertrand 3626: fi
        !          3627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
        !          3628: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
        !          3629: if test $ac_compiler_gnu = yes; then
        !          3630:   GCC=yes
1.14      bertrand 3631: else
1.15    ! bertrand 3632:   GCC=
1.14      bertrand 3633: fi
1.15    ! bertrand 3634: ac_test_CFLAGS=${CFLAGS+set}
        !          3635: ac_save_CFLAGS=$CFLAGS
        !          3636: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
        !          3637: $as_echo_n "checking whether $CC accepts -g... " >&6; }
        !          3638: if test "${ac_cv_prog_cc_g+set}" = set; then :
        !          3639:   $as_echo_n "(cached) " >&6
        !          3640: else
        !          3641:   ac_save_c_werror_flag=$ac_c_werror_flag
        !          3642:    ac_c_werror_flag=yes
        !          3643:    ac_cv_prog_cc_g=no
        !          3644:    CFLAGS="-g"
        !          3645:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3646: /* end confdefs.h.  */
1.14      bertrand 3647: 
1.15    ! bertrand 3648: int
        !          3649: main ()
        !          3650: {
1.14      bertrand 3651: 
1.15    ! bertrand 3652:   ;
        !          3653:   return 0;
        !          3654: }
        !          3655: _ACEOF
        !          3656: if ac_fn_c_try_compile "$LINENO"; then :
        !          3657:   ac_cv_prog_cc_g=yes
        !          3658: else
        !          3659:   CFLAGS=""
        !          3660:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3661: /* end confdefs.h.  */
1.14      bertrand 3662: 
1.15    ! bertrand 3663: int
        !          3664: main ()
        !          3665: {
1.14      bertrand 3666: 
1.15    ! bertrand 3667:   ;
        !          3668:   return 0;
        !          3669: }
        !          3670: _ACEOF
        !          3671: if ac_fn_c_try_compile "$LINENO"; then :
1.14      bertrand 3672: 
1.15    ! bertrand 3673: else
        !          3674:   ac_c_werror_flag=$ac_save_c_werror_flag
        !          3675:     CFLAGS="-g"
        !          3676:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3677: /* end confdefs.h.  */
1.14      bertrand 3678: 
1.15    ! bertrand 3679: int
        !          3680: main ()
        !          3681: {
1.14      bertrand 3682: 
1.15    ! bertrand 3683:   ;
        !          3684:   return 0;
        !          3685: }
        !          3686: _ACEOF
        !          3687: if ac_fn_c_try_compile "$LINENO"; then :
        !          3688:   ac_cv_prog_cc_g=yes
        !          3689: fi
        !          3690: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3691: fi
        !          3692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3693: fi
        !          3694: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3695:    ac_c_werror_flag=$ac_save_c_werror_flag
        !          3696: fi
        !          3697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
        !          3698: $as_echo "$ac_cv_prog_cc_g" >&6; }
        !          3699: if test "$ac_test_CFLAGS" = set; then
        !          3700:   CFLAGS=$ac_save_CFLAGS
        !          3701: elif test $ac_cv_prog_cc_g = yes; then
        !          3702:   if test "$GCC" = yes; then
        !          3703:     CFLAGS="-g -O2"
        !          3704:   else
        !          3705:     CFLAGS="-g"
        !          3706:   fi
        !          3707: else
        !          3708:   if test "$GCC" = yes; then
        !          3709:     CFLAGS="-O2"
        !          3710:   else
        !          3711:     CFLAGS=
        !          3712:   fi
        !          3713: fi
        !          3714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
        !          3715: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
        !          3716: if test "${ac_cv_prog_cc_c89+set}" = set; then :
        !          3717:   $as_echo_n "(cached) " >&6
1.1       bertrand 3718: else
1.15    ! bertrand 3719:   ac_cv_prog_cc_c89=no
        !          3720: ac_save_CC=$CC
        !          3721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 3722: /* end confdefs.h.  */
1.15    ! bertrand 3723: #include <stdarg.h>
        !          3724: #include <stdio.h>
        !          3725: #include <sys/types.h>
        !          3726: #include <sys/stat.h>
        !          3727: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
        !          3728: struct buf { int x; };
        !          3729: FILE * (*rcsopen) (struct buf *, struct stat *, int);
        !          3730: static char *e (p, i)
        !          3731:      char **p;
        !          3732:      int i;
        !          3733: {
        !          3734:   return p[i];
        !          3735: }
        !          3736: static char *f (char * (*g) (char **, int), char **p, ...)
        !          3737: {
        !          3738:   char *s;
        !          3739:   va_list v;
        !          3740:   va_start (v,p);
        !          3741:   s = g (p, va_arg (v,int));
        !          3742:   va_end (v);
        !          3743:   return s;
        !          3744: }
        !          3745: 
        !          3746: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
        !          3747:    function prototypes and stuff, but not '\xHH' hex character constants.
        !          3748:    These don't provoke an error unfortunately, instead are silently treated
        !          3749:    as 'x'.  The following induces an error, until -std is added to get
        !          3750:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
        !          3751:    array size at least.  It's necessary to write '\x00'==0 to get something
        !          3752:    that's true only with -std.  */
        !          3753: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.14      bertrand 3754: 
1.15    ! bertrand 3755: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
        !          3756:    inside strings and character constants.  */
        !          3757: #define FOO(x) 'x'
        !          3758: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.1       bertrand 3759: 
1.15    ! bertrand 3760: int test (int i, double x);
        !          3761: struct s1 {int (*f) (int a);};
        !          3762: struct s2 {int (*f) (double a);};
        !          3763: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
        !          3764: int argc;
        !          3765: char **argv;
1.14      bertrand 3766: int
                   3767: main ()
                   3768: {
1.15    ! bertrand 3769: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1.14      bertrand 3770:   ;
                   3771:   return 0;
                   3772: }
                   3773: _ACEOF
1.15    ! bertrand 3774: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
        !          3775:    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
        !          3776: do
        !          3777:   CC="$ac_save_CC $ac_arg"
        !          3778:   if ac_fn_c_try_compile "$LINENO"; then :
        !          3779:   ac_cv_prog_cc_c89=$ac_arg
        !          3780: fi
        !          3781: rm -f core conftest.err conftest.$ac_objext
        !          3782:   test "x$ac_cv_prog_cc_c89" != "xno" && break
        !          3783: done
        !          3784: rm -f conftest.$ac_ext
        !          3785: CC=$ac_save_CC
        !          3786: 
        !          3787: fi
        !          3788: # AC_CACHE_VAL
        !          3789: case "x$ac_cv_prog_cc_c89" in
        !          3790:   x)
        !          3791:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          3792: $as_echo "none needed" >&6; } ;;
        !          3793:   xno)
        !          3794:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          3795: $as_echo "unsupported" >&6; } ;;
        !          3796:   *)
        !          3797:     CC="$CC $ac_cv_prog_cc_c89"
        !          3798:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
        !          3799: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1       bertrand 3800: esac
1.15    ! bertrand 3801: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.14      bertrand 3802: 
                   3803: fi
                   3804: 
1.15    ! bertrand 3805: ac_ext=c
        !          3806: ac_cpp='$CPP $CPPFLAGS'
        !          3807: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3808: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3809: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3810: DEPDIR="${am__leading_dot}deps"
        !          3811: 
        !          3812: ac_config_commands="$ac_config_commands depfiles"
        !          3813: 
        !          3814: 
        !          3815: am_make=${MAKE-make}
        !          3816: cat > confinc << 'END'
        !          3817: am__doit:
        !          3818:    @echo this is the am__doit target
        !          3819: .PHONY: am__doit
        !          3820: END
        !          3821: # If we don't find an include directive, just comment out the code.
        !          3822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
        !          3823: $as_echo_n "checking for style of include used by $am_make... " >&6; }
        !          3824: am__include="#"
        !          3825: am__quote=
        !          3826: _am_result=none
        !          3827: # First try GNU make style include.
        !          3828: echo "include confinc" > confmf
        !          3829: # Ignore all kinds of additional output from `make'.
        !          3830: case `$am_make -s -f confmf 2> /dev/null` in #(
        !          3831: *the\ am__doit\ target*)
        !          3832:   am__include=include
        !          3833:   am__quote=
        !          3834:   _am_result=GNU
        !          3835:   ;;
        !          3836: esac
        !          3837: # Now try BSD make style include.
        !          3838: if test "$am__include" = "#"; then
        !          3839:    echo '.include "confinc"' > confmf
        !          3840:    case `$am_make -s -f confmf 2> /dev/null` in #(
        !          3841:    *the\ am__doit\ target*)
        !          3842:      am__include=.include
        !          3843:      am__quote="\""
        !          3844:      _am_result=BSD
        !          3845:      ;;
        !          3846:    esac
1.14      bertrand 3847: fi
                   3848: 
                   3849: 
1.15    ! bertrand 3850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
        !          3851: $as_echo "$_am_result" >&6; }
        !          3852: rm -f confinc confmf
        !          3853: 
        !          3854: # Check whether --enable-dependency-tracking was given.
        !          3855: if test "${enable_dependency_tracking+set}" = set; then :
        !          3856:   enableval=$enable_dependency_tracking;
        !          3857: fi
        !          3858: 
        !          3859: if test "x$enable_dependency_tracking" != xno; then
        !          3860:   am_depcomp="$ac_aux_dir/depcomp"
        !          3861:   AMDEPBACKSLASH='\'
        !          3862: fi
        !          3863:  if test "x$enable_dependency_tracking" != xno; then
        !          3864:   AMDEP_TRUE=
        !          3865:   AMDEP_FALSE='#'
1.1       bertrand 3866: else
1.15    ! bertrand 3867:   AMDEP_TRUE='#'
        !          3868:   AMDEP_FALSE=
1.14      bertrand 3869: fi
1.1       bertrand 3870: 
1.14      bertrand 3871: 
                   3872: 
1.15    ! bertrand 3873: depcc="$CC"   am_compiler_list=
1.14      bertrand 3874: 
1.15    ! bertrand 3875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
        !          3876: $as_echo_n "checking dependency style of $depcc... " >&6; }
        !          3877: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
        !          3878:   $as_echo_n "(cached) " >&6
1.14      bertrand 3879: else
1.15    ! bertrand 3880:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
        !          3881:   # We make a subdir and do the tests there.  Otherwise we can end up
        !          3882:   # making bogus files that we don't know about and never remove.  For
        !          3883:   # instance it was reported that on HP-UX the gcc test will end up
        !          3884:   # making a dummy file named `D' -- because `-MD' means `put the output
        !          3885:   # in D'.
        !          3886:   mkdir conftest.dir
        !          3887:   # Copy depcomp to subdir because otherwise we won't find it if we're
        !          3888:   # using a relative directory.
        !          3889:   cp "$am_depcomp" conftest.dir
        !          3890:   cd conftest.dir
        !          3891:   # We will build objects and dependencies in a subdirectory because
        !          3892:   # it helps to detect inapplicable dependency modes.  For instance
        !          3893:   # both Tru64's cc and ICC support -MD to output dependencies as a
        !          3894:   # side effect of compilation, but ICC will put the dependencies in
        !          3895:   # the current directory while Tru64 will put them in the object
        !          3896:   # directory.
        !          3897:   mkdir sub
1.14      bertrand 3898: 
1.15    ! bertrand 3899:   am_cv_CC_dependencies_compiler_type=none
        !          3900:   if test "$am_compiler_list" = ""; then
        !          3901:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
        !          3902:   fi
        !          3903:   am__universal=false
        !          3904:   case " $depcc " in #(
        !          3905:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
        !          3906:      esac
1.14      bertrand 3907: 
1.15    ! bertrand 3908:   for depmode in $am_compiler_list; do
        !          3909:     # Setup a source with many dependencies, because some compilers
        !          3910:     # like to wrap large dependency lists on column 80 (with \), and
        !          3911:     # we should not choose a depcomp mode which is confused by this.
        !          3912:     #
        !          3913:     # We need to recreate these files for each test, as the compiler may
        !          3914:     # overwrite some of them when testing with obscure command lines.
        !          3915:     # This happens at least with the AIX C compiler.
        !          3916:     : > sub/conftest.c
        !          3917:     for i in 1 2 3 4 5 6; do
        !          3918:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
        !          3919:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
        !          3920:       # Solaris 8's {/usr,}/bin/sh.
        !          3921:       touch sub/conftst$i.h
        !          3922:     done
        !          3923:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.14      bertrand 3924: 
1.15    ! bertrand 3925:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
        !          3926:     # mode.  It turns out that the SunPro C++ compiler does not properly
        !          3927:     # handle `-M -o', and we need to detect this.  Also, some Intel
        !          3928:     # versions had trouble with output in subdirs
        !          3929:     am__obj=sub/conftest.${OBJEXT-o}
        !          3930:     am__minus_obj="-o $am__obj"
        !          3931:     case $depmode in
        !          3932:     gcc)
        !          3933:       # This depmode causes a compiler race in universal mode.
        !          3934:       test "$am__universal" = false || continue
        !          3935:       ;;
        !          3936:     nosideeffect)
        !          3937:       # after this tag, mechanisms are not by side-effect, so they'll
        !          3938:       # only be used when explicitly requested
        !          3939:       if test "x$enable_dependency_tracking" = xyes; then
        !          3940:    continue
        !          3941:       else
        !          3942:    break
        !          3943:       fi
        !          3944:       ;;
        !          3945:     msvisualcpp | msvcmsys)
        !          3946:       # This compiler won't grok `-c -o', but also, the minuso test has
        !          3947:       # not run yet.  These depmodes are late enough in the game, and
        !          3948:       # so weak that their functioning should not be impacted.
        !          3949:       am__obj=conftest.${OBJEXT-o}
        !          3950:       am__minus_obj=
        !          3951:       ;;
        !          3952:     none) break ;;
        !          3953:     esac
        !          3954:     if depmode=$depmode \
        !          3955:        source=sub/conftest.c object=$am__obj \
        !          3956:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
        !          3957:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
        !          3958:          >/dev/null 2>conftest.err &&
        !          3959:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
        !          3960:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
        !          3961:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
        !          3962:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
        !          3963:       # icc doesn't choke on unknown options, it will just issue warnings
        !          3964:       # or remarks (even with -Werror).  So we grep stderr for any message
        !          3965:       # that says an option was ignored or not supported.
        !          3966:       # When given -MP, icc 7.0 and 7.1 complain thusly:
        !          3967:       #   icc: Command line warning: ignoring option '-M'; no argument required
        !          3968:       # The diagnosis changed in icc 8.0:
        !          3969:       #   icc: Command line remark: option '-MP' not supported
        !          3970:       if (grep 'ignoring option' conftest.err ||
        !          3971:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
        !          3972:         am_cv_CC_dependencies_compiler_type=$depmode
        !          3973:         break
        !          3974:       fi
        !          3975:     fi
        !          3976:   done
1.14      bertrand 3977: 
1.15    ! bertrand 3978:   cd ..
        !          3979:   rm -rf conftest.dir
1.14      bertrand 3980: else
1.15    ! bertrand 3981:   am_cv_CC_dependencies_compiler_type=none
1.1       bertrand 3982: fi
                   3983: 
1.15    ! bertrand 3984: fi
        !          3985: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
        !          3986: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
        !          3987: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.14      bertrand 3988: 
1.15    ! bertrand 3989:  if
        !          3990:   test "x$enable_dependency_tracking" != xno \
        !          3991:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
        !          3992:   am__fastdepCC_TRUE=
        !          3993:   am__fastdepCC_FALSE='#'
1.1       bertrand 3994: else
1.15    ! bertrand 3995:   am__fastdepCC_TRUE='#'
        !          3996:   am__fastdepCC_FALSE=
        !          3997: fi
        !          3998: 
1.1       bertrand 3999: 
                   4000: 
1.15    ! bertrand 4001: if test x"$CC" != x""; then
        !          4002:    GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
        !          4003:            awk -F. '{ printf("%s", $1);}'`
        !          4004:    GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
        !          4005:            awk -F. '{ printf("%s", $2);}'`
        !          4006:    if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
        !          4007:        OPTIMISATION_C=-O3
        !          4008:    else
        !          4009:        if test $GCC_VERSION_MAJEURE -ge 5; then
        !          4010:            OPTIMISATION_C=-O3
        !          4011:        else
        !          4012:            OPTIMISATION_C=-O2
        !          4013:        fi
        !          4014:    fi
1.14      bertrand 4015: fi
                   4016: 
1.15    ! bertrand 4017: if test "x$CC" != xcc; then
        !          4018:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
        !          4019: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
1.14      bertrand 4020: else
1.15    ! bertrand 4021:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
        !          4022: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
1.1       bertrand 4023: fi
1.15    ! bertrand 4024: set dummy $CC; ac_cc=`$as_echo "$2" |
        !          4025:              sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
        !          4026: if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          4027:   $as_echo_n "(cached) " >&6
1.1       bertrand 4028: else
1.15    ! bertrand 4029:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 4030: /* end confdefs.h.  */
                   4031: 
                   4032: int
                   4033: main ()
                   4034: {
1.15    ! bertrand 4035: 
1.1       bertrand 4036:   ;
                   4037:   return 0;
                   4038: }
                   4039: _ACEOF
1.15    ! bertrand 4040: # Make sure it works both with $CC and with simple cc.
        !          4041: # We do the test twice because some compilers refuse to overwrite an
        !          4042: # existing .o file with -o, though they will create one.
        !          4043: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
        !          4044: rm -f conftest2.*
        !          4045: if { { case "(($ac_try" in
        !          4046:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4047:   *) ac_try_echo=$ac_try;;
        !          4048: esac
        !          4049: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4050: $as_echo "$ac_try_echo"; } >&5
        !          4051:   (eval "$ac_try") 2>&5
        !          4052:   ac_status=$?
        !          4053:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4054:   test $ac_status = 0; } &&
        !          4055:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
        !          4056:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4057:   *) ac_try_echo=$ac_try;;
        !          4058: esac
        !          4059: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4060: $as_echo "$ac_try_echo"; } >&5
        !          4061:   (eval "$ac_try") 2>&5
        !          4062:   ac_status=$?
        !          4063:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4064:   test $ac_status = 0; };
        !          4065: then
        !          4066:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
        !          4067:   if test "x$CC" != xcc; then
        !          4068:     # Test first that cc exists at all.
        !          4069:     if { ac_try='cc -c conftest.$ac_ext >&5'
        !          4070:   { { case "(($ac_try" in
        !          4071:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4072:   *) ac_try_echo=$ac_try;;
        !          4073: esac
        !          4074: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4075: $as_echo "$ac_try_echo"; } >&5
        !          4076:   (eval "$ac_try") 2>&5
        !          4077:   ac_status=$?
        !          4078:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4079:   test $ac_status = 0; }; }; then
        !          4080:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
        !          4081:       rm -f conftest2.*
        !          4082:       if { { case "(($ac_try" in
        !          4083:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4084:   *) ac_try_echo=$ac_try;;
        !          4085: esac
        !          4086: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4087: $as_echo "$ac_try_echo"; } >&5
        !          4088:   (eval "$ac_try") 2>&5
        !          4089:   ac_status=$?
        !          4090:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4091:   test $ac_status = 0; } &&
        !          4092:     test -f conftest2.$ac_objext && { { case "(($ac_try" in
1.14      bertrand 4093:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4094:   *) ac_try_echo=$ac_try;;
                   4095: esac
1.15    ! bertrand 4096: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4097: $as_echo "$ac_try_echo"; } >&5
        !          4098:   (eval "$ac_try") 2>&5
1.14      bertrand 4099:   ac_status=$?
1.15    ! bertrand 4100:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4101:   test $ac_status = 0; };
        !          4102:       then
        !          4103:    # cc works too.
        !          4104:    :
        !          4105:       else
        !          4106:    # cc exists but doesn't like -o.
        !          4107:    eval ac_cv_prog_cc_${ac_cc}_c_o=no
        !          4108:       fi
        !          4109:     fi
        !          4110:   fi
1.1       bertrand 4111: else
1.15    ! bertrand 4112:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
        !          4113: fi
        !          4114: rm -f core conftest*
1.14      bertrand 4115: 
1.1       bertrand 4116: fi
1.15    ! bertrand 4117: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
        !          4118:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4119: $as_echo "yes" >&6; }
        !          4120: else
        !          4121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4122: $as_echo "no" >&6; }
        !          4123: 
        !          4124: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
1.1       bertrand 4125: 
                   4126: fi
1.15    ! bertrand 4127: 
        !          4128: # FIXME: we rely on the cache variable name because
        !          4129: # there is no other way.
        !          4130: set dummy $CC
        !          4131: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
        !          4132: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
        !          4133: if test "$am_t" != yes; then
        !          4134:    # Losing compiler, so override with the script.
        !          4135:    # FIXME: It is wrong to rewrite CC.
        !          4136:    # But if we don't then we get into trouble of one sort or another.
        !          4137:    # A longer-term fix would be to have automake use am__CC in this case,
        !          4138:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
        !          4139:    CC="$am_aux_dir/compile $CC"
1.1       bertrand 4140: fi
1.14      bertrand 4141: 
                   4142: 
1.15    ! bertrand 4143: 
        !          4144: if test "$GCC" != yes; then
        !          4145:    as_fn_error "Cannot find gcc! You have to install it." "$LINENO" 5
        !          4146: fi
        !          4147: 
        !          4148: ac_ext=cpp
        !          4149: ac_cpp='$CXXCPP $CPPFLAGS'
        !          4150: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4151: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4152: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
        !          4153: if test -z "$CXX"; then
        !          4154:   if test -n "$CCC"; then
        !          4155:     CXX=$CCC
        !          4156:   else
        !          4157:     if test -n "$ac_tool_prefix"; then
        !          4158:   for ac_prog in g++-4.4 g++
        !          4159:   do
        !          4160:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          4161: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          4162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4163: $as_echo_n "checking for $ac_word... " >&6; }
        !          4164: if test "${ac_cv_prog_CXX+set}" = set; then :
        !          4165:   $as_echo_n "(cached) " >&6
1.1       bertrand 4166: else
1.15    ! bertrand 4167:   if test -n "$CXX"; then
        !          4168:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.14      bertrand 4169: else
1.15    ! bertrand 4170: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4171: for as_dir in $PATH
        !          4172: do
        !          4173:   IFS=$as_save_IFS
        !          4174:   test -z "$as_dir" && as_dir=.
        !          4175:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4176:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4177:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
        !          4178:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4179:     break 2
        !          4180:   fi
        !          4181: done
        !          4182:   done
        !          4183: IFS=$as_save_IFS
1.14      bertrand 4184: 
                   4185: fi
                   4186: fi
1.15    ! bertrand 4187: CXX=$ac_cv_prog_CXX
        !          4188: if test -n "$CXX"; then
        !          4189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
        !          4190: $as_echo "$CXX" >&6; }
1.14      bertrand 4191: else
1.15    ! bertrand 4192:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4193: $as_echo "no" >&6; }
1.14      bertrand 4194: fi
                   4195: 
                   4196: 
1.15    ! bertrand 4197:     test -n "$CXX" && break
        !          4198:   done
        !          4199: fi
        !          4200: if test -z "$CXX"; then
        !          4201:   ac_ct_CXX=$CXX
        !          4202:   for ac_prog in g++-4.4 g++
        !          4203: do
        !          4204:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          4205: set dummy $ac_prog; ac_word=$2
        !          4206: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4207: $as_echo_n "checking for $ac_word... " >&6; }
        !          4208: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
        !          4209:   $as_echo_n "(cached) " >&6
        !          4210: else
        !          4211:   if test -n "$ac_ct_CXX"; then
        !          4212:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
        !          4213: else
        !          4214: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4215: for as_dir in $PATH
        !          4216: do
        !          4217:   IFS=$as_save_IFS
        !          4218:   test -z "$as_dir" && as_dir=.
        !          4219:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4220:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4221:     ac_cv_prog_ac_ct_CXX="$ac_prog"
        !          4222:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4223:     break 2
        !          4224:   fi
        !          4225: done
        !          4226:   done
        !          4227: IFS=$as_save_IFS
1.14      bertrand 4228: 
1.15    ! bertrand 4229: fi
        !          4230: fi
        !          4231: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
        !          4232: if test -n "$ac_ct_CXX"; then
        !          4233:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
        !          4234: $as_echo "$ac_ct_CXX" >&6; }
1.1       bertrand 4235: else
1.15    ! bertrand 4236:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4237: $as_echo "no" >&6; }
1.14      bertrand 4238: fi
                   4239: 
                   4240: 
1.15    ! bertrand 4241:   test -n "$ac_ct_CXX" && break
        !          4242: done
1.14      bertrand 4243: 
1.15    ! bertrand 4244:   if test "x$ac_ct_CXX" = x; then
        !          4245:     CXX="g++"
        !          4246:   else
        !          4247:     case $cross_compiling:$ac_tool_warned in
        !          4248: yes:)
        !          4249: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4250: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4251: ac_tool_warned=yes ;;
        !          4252: esac
        !          4253:     CXX=$ac_ct_CXX
        !          4254:   fi
        !          4255: fi
1.1       bertrand 4256: 
1.15    ! bertrand 4257:   fi
        !          4258: fi
        !          4259: # Provide some information about the compiler.
        !          4260: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
        !          4261: set X $ac_compile
        !          4262: ac_compiler=$2
        !          4263: for ac_option in --version -v -V -qversion; do
        !          4264:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 4265: case "(($ac_try" in
                   4266:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4267:   *) ac_try_echo=$ac_try;;
                   4268: esac
1.15    ! bertrand 4269: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4270: $as_echo "$ac_try_echo"; } >&5
        !          4271:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 4272:   ac_status=$?
1.15    ! bertrand 4273:   if test -s conftest.err; then
        !          4274:     sed '10a\
        !          4275: ... rest of stderr output deleted ...
        !          4276:          10q' conftest.err >conftest.er1
        !          4277:     cat conftest.er1 >&5
        !          4278:   fi
        !          4279:   rm -f conftest.er1 conftest.err
        !          4280:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4281:   test $ac_status = 0; }
        !          4282: done
        !          4283: 
        !          4284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
        !          4285: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
        !          4286: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
        !          4287:   $as_echo_n "(cached) " >&6
1.14      bertrand 4288: else
1.15    ! bertrand 4289:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4290: /* end confdefs.h.  */
1.1       bertrand 4291: 
                   4292: int
                   4293: main ()
                   4294: {
1.15    ! bertrand 4295: #ifndef __GNUC__
        !          4296:        choke me
        !          4297: #endif
1.1       bertrand 4298: 
                   4299:   ;
                   4300:   return 0;
                   4301: }
                   4302: _ACEOF
1.15    ! bertrand 4303: if ac_fn_cxx_try_compile "$LINENO"; then :
        !          4304:   ac_compiler_gnu=yes
1.1       bertrand 4305: else
1.15    ! bertrand 4306:   ac_compiler_gnu=no
1.1       bertrand 4307: fi
1.14      bertrand 4308: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 4309: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 4310: 
1.15    ! bertrand 4311: fi
        !          4312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
        !          4313: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
        !          4314: if test $ac_compiler_gnu = yes; then
        !          4315:   GXX=yes
        !          4316: else
        !          4317:   GXX=
        !          4318: fi
        !          4319: ac_test_CXXFLAGS=${CXXFLAGS+set}
        !          4320: ac_save_CXXFLAGS=$CXXFLAGS
        !          4321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
        !          4322: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
        !          4323: if test "${ac_cv_prog_cxx_g+set}" = set; then :
        !          4324:   $as_echo_n "(cached) " >&6
        !          4325: else
        !          4326:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
        !          4327:    ac_cxx_werror_flag=yes
        !          4328:    ac_cv_prog_cxx_g=no
        !          4329:    CXXFLAGS="-g"
        !          4330:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 4331: /* end confdefs.h.  */
1.15    ! bertrand 4332: 
1.1       bertrand 4333: int
                   4334: main ()
                   4335: {
1.14      bertrand 4336: 
1.1       bertrand 4337:   ;
                   4338:   return 0;
                   4339: }
                   4340: _ACEOF
1.15    ! bertrand 4341: if ac_fn_cxx_try_compile "$LINENO"; then :
        !          4342:   ac_cv_prog_cxx_g=yes
1.14      bertrand 4343: else
1.15    ! bertrand 4344:   CXXFLAGS=""
        !          4345:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4346: /* end confdefs.h.  */
1.1       bertrand 4347: 
1.14      bertrand 4348: int
                   4349: main ()
                   4350: {
1.1       bertrand 4351: 
1.14      bertrand 4352:   ;
                   4353:   return 0;
                   4354: }
                   4355: _ACEOF
1.15    ! bertrand 4356: if ac_fn_cxx_try_compile "$LINENO"; then :
1.1       bertrand 4357: 
                   4358: else
1.15    ! bertrand 4359:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
        !          4360:     CXXFLAGS="-g"
        !          4361:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4362: /* end confdefs.h.  */
1.1       bertrand 4363: 
1.14      bertrand 4364: int
                   4365: main ()
                   4366: {
1.1       bertrand 4367: 
1.14      bertrand 4368:   ;
                   4369:   return 0;
                   4370: }
                   4371: _ACEOF
1.15    ! bertrand 4372: if ac_fn_cxx_try_compile "$LINENO"; then :
        !          4373:   ac_cv_prog_cxx_g=yes
        !          4374: fi
        !          4375: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4376: fi
        !          4377: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4378: fi
        !          4379: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4380:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
        !          4381: fi
        !          4382: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
        !          4383: $as_echo "$ac_cv_prog_cxx_g" >&6; }
        !          4384: if test "$ac_test_CXXFLAGS" = set; then
        !          4385:   CXXFLAGS=$ac_save_CXXFLAGS
        !          4386: elif test $ac_cv_prog_cxx_g = yes; then
        !          4387:   if test "$GXX" = yes; then
        !          4388:     CXXFLAGS="-g -O2"
        !          4389:   else
        !          4390:     CXXFLAGS="-g"
        !          4391:   fi
        !          4392: else
        !          4393:   if test "$GXX" = yes; then
        !          4394:     CXXFLAGS="-O2"
        !          4395:   else
        !          4396:     CXXFLAGS=
        !          4397:   fi
        !          4398: fi
        !          4399: ac_ext=c
        !          4400: ac_cpp='$CPP $CPPFLAGS'
        !          4401: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4402: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4403: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4404: 
        !          4405: depcc="$CXX"  am_compiler_list=
        !          4406: 
        !          4407: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
        !          4408: $as_echo_n "checking dependency style of $depcc... " >&6; }
        !          4409: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
        !          4410:   $as_echo_n "(cached) " >&6
        !          4411: else
        !          4412:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
        !          4413:   # We make a subdir and do the tests there.  Otherwise we can end up
        !          4414:   # making bogus files that we don't know about and never remove.  For
        !          4415:   # instance it was reported that on HP-UX the gcc test will end up
        !          4416:   # making a dummy file named `D' -- because `-MD' means `put the output
        !          4417:   # in D'.
        !          4418:   mkdir conftest.dir
        !          4419:   # Copy depcomp to subdir because otherwise we won't find it if we're
        !          4420:   # using a relative directory.
        !          4421:   cp "$am_depcomp" conftest.dir
        !          4422:   cd conftest.dir
        !          4423:   # We will build objects and dependencies in a subdirectory because
        !          4424:   # it helps to detect inapplicable dependency modes.  For instance
        !          4425:   # both Tru64's cc and ICC support -MD to output dependencies as a
        !          4426:   # side effect of compilation, but ICC will put the dependencies in
        !          4427:   # the current directory while Tru64 will put them in the object
        !          4428:   # directory.
        !          4429:   mkdir sub
        !          4430: 
        !          4431:   am_cv_CXX_dependencies_compiler_type=none
        !          4432:   if test "$am_compiler_list" = ""; then
        !          4433:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
        !          4434:   fi
        !          4435:   am__universal=false
        !          4436:   case " $depcc " in #(
        !          4437:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
        !          4438:      esac
        !          4439: 
        !          4440:   for depmode in $am_compiler_list; do
        !          4441:     # Setup a source with many dependencies, because some compilers
        !          4442:     # like to wrap large dependency lists on column 80 (with \), and
        !          4443:     # we should not choose a depcomp mode which is confused by this.
        !          4444:     #
        !          4445:     # We need to recreate these files for each test, as the compiler may
        !          4446:     # overwrite some of them when testing with obscure command lines.
        !          4447:     # This happens at least with the AIX C compiler.
        !          4448:     : > sub/conftest.c
        !          4449:     for i in 1 2 3 4 5 6; do
        !          4450:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
        !          4451:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
        !          4452:       # Solaris 8's {/usr,}/bin/sh.
        !          4453:       touch sub/conftst$i.h
        !          4454:     done
        !          4455:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
        !          4456: 
        !          4457:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
        !          4458:     # mode.  It turns out that the SunPro C++ compiler does not properly
        !          4459:     # handle `-M -o', and we need to detect this.  Also, some Intel
        !          4460:     # versions had trouble with output in subdirs
        !          4461:     am__obj=sub/conftest.${OBJEXT-o}
        !          4462:     am__minus_obj="-o $am__obj"
        !          4463:     case $depmode in
        !          4464:     gcc)
        !          4465:       # This depmode causes a compiler race in universal mode.
        !          4466:       test "$am__universal" = false || continue
        !          4467:       ;;
        !          4468:     nosideeffect)
        !          4469:       # after this tag, mechanisms are not by side-effect, so they'll
        !          4470:       # only be used when explicitly requested
        !          4471:       if test "x$enable_dependency_tracking" = xyes; then
        !          4472:    continue
        !          4473:       else
        !          4474:    break
        !          4475:       fi
        !          4476:       ;;
        !          4477:     msvisualcpp | msvcmsys)
        !          4478:       # This compiler won't grok `-c -o', but also, the minuso test has
        !          4479:       # not run yet.  These depmodes are late enough in the game, and
        !          4480:       # so weak that their functioning should not be impacted.
        !          4481:       am__obj=conftest.${OBJEXT-o}
        !          4482:       am__minus_obj=
        !          4483:       ;;
        !          4484:     none) break ;;
        !          4485:     esac
        !          4486:     if depmode=$depmode \
        !          4487:        source=sub/conftest.c object=$am__obj \
        !          4488:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
        !          4489:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
        !          4490:          >/dev/null 2>conftest.err &&
        !          4491:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
        !          4492:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
        !          4493:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
        !          4494:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
        !          4495:       # icc doesn't choke on unknown options, it will just issue warnings
        !          4496:       # or remarks (even with -Werror).  So we grep stderr for any message
        !          4497:       # that says an option was ignored or not supported.
        !          4498:       # When given -MP, icc 7.0 and 7.1 complain thusly:
        !          4499:       #   icc: Command line warning: ignoring option '-M'; no argument required
        !          4500:       # The diagnosis changed in icc 8.0:
        !          4501:       #   icc: Command line remark: option '-MP' not supported
        !          4502:       if (grep 'ignoring option' conftest.err ||
        !          4503:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
        !          4504:         am_cv_CXX_dependencies_compiler_type=$depmode
        !          4505:         break
        !          4506:       fi
        !          4507:     fi
        !          4508:   done
        !          4509: 
        !          4510:   cd ..
        !          4511:   rm -rf conftest.dir
        !          4512: else
        !          4513:   am_cv_CXX_dependencies_compiler_type=none
        !          4514: fi
        !          4515: 
        !          4516: fi
        !          4517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
        !          4518: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
        !          4519: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
        !          4520: 
        !          4521:  if
        !          4522:   test "x$enable_dependency_tracking" != xno \
        !          4523:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
        !          4524:   am__fastdepCXX_TRUE=
        !          4525:   am__fastdepCXX_FALSE='#'
        !          4526: else
        !          4527:   am__fastdepCXX_TRUE='#'
        !          4528:   am__fastdepCXX_FALSE=
        !          4529: fi
        !          4530: 
        !          4531: 
        !          4532: 
        !          4533: if test "$GXX" != yes; then
        !          4534:    as_fn_error "Cannot find g++! You have to install it." "$LINENO" 5
        !          4535: fi
        !          4536: 
        !          4537: ac_ext=f
        !          4538: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
        !          4539: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4540: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
        !          4541: if test -n "$ac_tool_prefix"; then
        !          4542:   for ac_prog in gfortran-4.4 gfortran
        !          4543:   do
        !          4544:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          4545: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          4546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4547: $as_echo_n "checking for $ac_word... " >&6; }
        !          4548: if test "${ac_cv_prog_F77+set}" = set; then :
        !          4549:   $as_echo_n "(cached) " >&6
        !          4550: else
        !          4551:   if test -n "$F77"; then
        !          4552:   ac_cv_prog_F77="$F77" # Let the user override the test.
        !          4553: else
        !          4554: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4555: for as_dir in $PATH
        !          4556: do
        !          4557:   IFS=$as_save_IFS
        !          4558:   test -z "$as_dir" && as_dir=.
        !          4559:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4560:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4561:     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
        !          4562:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4563:     break 2
        !          4564:   fi
        !          4565: done
        !          4566:   done
        !          4567: IFS=$as_save_IFS
        !          4568: 
        !          4569: fi
        !          4570: fi
        !          4571: F77=$ac_cv_prog_F77
        !          4572: if test -n "$F77"; then
        !          4573:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
        !          4574: $as_echo "$F77" >&6; }
        !          4575: else
        !          4576:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4577: $as_echo "no" >&6; }
        !          4578: fi
        !          4579: 
        !          4580: 
        !          4581:     test -n "$F77" && break
        !          4582:   done
        !          4583: fi
        !          4584: if test -z "$F77"; then
        !          4585:   ac_ct_F77=$F77
        !          4586:   for ac_prog in gfortran-4.4 gfortran
        !          4587: do
        !          4588:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          4589: set dummy $ac_prog; ac_word=$2
        !          4590: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4591: $as_echo_n "checking for $ac_word... " >&6; }
        !          4592: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
        !          4593:   $as_echo_n "(cached) " >&6
        !          4594: else
        !          4595:   if test -n "$ac_ct_F77"; then
        !          4596:   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
        !          4597: else
        !          4598: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4599: for as_dir in $PATH
        !          4600: do
        !          4601:   IFS=$as_save_IFS
        !          4602:   test -z "$as_dir" && as_dir=.
        !          4603:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4604:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4605:     ac_cv_prog_ac_ct_F77="$ac_prog"
        !          4606:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4607:     break 2
        !          4608:   fi
        !          4609: done
        !          4610:   done
        !          4611: IFS=$as_save_IFS
        !          4612: 
        !          4613: fi
        !          4614: fi
        !          4615: ac_ct_F77=$ac_cv_prog_ac_ct_F77
        !          4616: if test -n "$ac_ct_F77"; then
        !          4617:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
        !          4618: $as_echo "$ac_ct_F77" >&6; }
1.1       bertrand 4619: else
1.15    ! bertrand 4620:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4621: $as_echo "no" >&6; }
        !          4622: fi
        !          4623: 
        !          4624: 
        !          4625:   test -n "$ac_ct_F77" && break
        !          4626: done
1.1       bertrand 4627: 
1.15    ! bertrand 4628:   if test "x$ac_ct_F77" = x; then
        !          4629:     F77=""
        !          4630:   else
        !          4631:     case $cross_compiling:$ac_tool_warned in
        !          4632: yes:)
        !          4633: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4634: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4635: ac_tool_warned=yes ;;
        !          4636: esac
        !          4637:     F77=$ac_ct_F77
        !          4638:   fi
1.14      bertrand 4639: fi
1.1       bertrand 4640: 
                   4641: 
1.15    ! bertrand 4642: # Provide some information about the compiler.
        !          4643: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
        !          4644: set X $ac_compile
        !          4645: ac_compiler=$2
        !          4646: for ac_option in --version -v -V -qversion; do
        !          4647:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 4648: case "(($ac_try" in
                   4649:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4650:   *) ac_try_echo=$ac_try;;
                   4651: esac
1.15    ! bertrand 4652: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4653: $as_echo "$ac_try_echo"; } >&5
        !          4654:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 4655:   ac_status=$?
1.15    ! bertrand 4656:   if test -s conftest.err; then
        !          4657:     sed '10a\
        !          4658: ... rest of stderr output deleted ...
        !          4659:          10q' conftest.err >conftest.er1
        !          4660:     cat conftest.er1 >&5
        !          4661:   fi
        !          4662:   rm -f conftest.er1 conftest.err
        !          4663:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4664:   test $ac_status = 0; }
        !          4665: done
        !          4666: rm -f a.out
        !          4667: 
        !          4668: # If we don't use `.F' as extension, the preprocessor is not run on the
        !          4669: # input file.  (Note that this only needs to work for GNU compilers.)
        !          4670: ac_save_ext=$ac_ext
        !          4671: ac_ext=F
        !          4672: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
        !          4673: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
        !          4674: if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
        !          4675:   $as_echo_n "(cached) " >&6
1.1       bertrand 4676: else
1.15    ! bertrand 4677:   cat > conftest.$ac_ext <<_ACEOF
        !          4678:       program main
        !          4679: #ifndef __GNUC__
        !          4680:        choke me
        !          4681: #endif
1.14      bertrand 4682: 
1.15    ! bertrand 4683:       end
        !          4684: _ACEOF
        !          4685: if ac_fn_f77_try_compile "$LINENO"; then :
        !          4686:   ac_compiler_gnu=yes
        !          4687: else
        !          4688:   ac_compiler_gnu=no
1.1       bertrand 4689: fi
1.15    ! bertrand 4690: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4691: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 4692: 
                   4693: fi
1.15    ! bertrand 4694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
        !          4695: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
        !          4696: ac_ext=$ac_save_ext
        !          4697: ac_test_FFLAGS=${FFLAGS+set}
        !          4698: ac_save_FFLAGS=$FFLAGS
        !          4699: FFLAGS=
        !          4700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
        !          4701: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
        !          4702: if test "${ac_cv_prog_f77_g+set}" = set; then :
        !          4703:   $as_echo_n "(cached) " >&6
        !          4704: else
        !          4705:   FFLAGS=-g
        !          4706: cat > conftest.$ac_ext <<_ACEOF
        !          4707:       program main
1.1       bertrand 4708: 
1.15    ! bertrand 4709:       end
1.14      bertrand 4710: _ACEOF
1.15    ! bertrand 4711: if ac_fn_f77_try_compile "$LINENO"; then :
        !          4712:   ac_cv_prog_f77_g=yes
1.1       bertrand 4713: else
1.15    ! bertrand 4714:   ac_cv_prog_f77_g=no
1.1       bertrand 4715: fi
1.15    ! bertrand 4716: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 4717: 
                   4718: fi
1.15    ! bertrand 4719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
        !          4720: $as_echo "$ac_cv_prog_f77_g" >&6; }
        !          4721: if test "$ac_test_FFLAGS" = set; then
        !          4722:   FFLAGS=$ac_save_FFLAGS
        !          4723: elif test $ac_cv_prog_f77_g = yes; then
        !          4724:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
        !          4725:     FFLAGS="-g -O2"
        !          4726:   else
        !          4727:     FFLAGS="-g"
        !          4728:   fi
        !          4729: else
        !          4730:   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
        !          4731:     FFLAGS="-O2"
        !          4732:   else
        !          4733:     FFLAGS=
        !          4734:   fi
1.1       bertrand 4735: fi
                   4736: 
1.15    ! bertrand 4737: if test $ac_compiler_gnu = yes; then
        !          4738:   G77=yes
1.1       bertrand 4739: else
1.15    ! bertrand 4740:   G77=
1.1       bertrand 4741: fi
1.15    ! bertrand 4742: ac_ext=c
        !          4743: ac_cpp='$CPP $CPPFLAGS'
        !          4744: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4745: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4746: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       bertrand 4747: 
                   4748: 
1.15    ! bertrand 4749: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then
        !          4750:    as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
        !          4751: fi
1.14      bertrand 4752: 
1.15    ! bertrand 4753: ac_ext=${ac_fc_srcext-f}
        !          4754: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
        !          4755: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
        !          4756: ac_compiler_gnu=$ac_cv_fc_compiler_gnu
        !          4757: if test -n "$ac_tool_prefix"; then
        !          4758:   for ac_prog in gfortran-4.4 gfortran
        !          4759:   do
        !          4760:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          4761: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          4762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4763: $as_echo_n "checking for $ac_word... " >&6; }
        !          4764: if test "${ac_cv_prog_FC+set}" = set; then :
        !          4765:   $as_echo_n "(cached) " >&6
        !          4766: else
        !          4767:   if test -n "$FC"; then
        !          4768:   ac_cv_prog_FC="$FC" # Let the user override the test.
1.1       bertrand 4769: else
1.15    ! bertrand 4770: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4771: for as_dir in $PATH
        !          4772: do
        !          4773:   IFS=$as_save_IFS
        !          4774:   test -z "$as_dir" && as_dir=.
        !          4775:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4776:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4777:     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
        !          4778:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4779:     break 2
        !          4780:   fi
        !          4781: done
        !          4782:   done
        !          4783: IFS=$as_save_IFS
1.1       bertrand 4784: 
                   4785: fi
1.15    ! bertrand 4786: fi
        !          4787: FC=$ac_cv_prog_FC
        !          4788: if test -n "$FC"; then
        !          4789:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
        !          4790: $as_echo "$FC" >&6; }
1.14      bertrand 4791: else
1.15    ! bertrand 4792:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4793: $as_echo "no" >&6; }
1.14      bertrand 4794: fi
                   4795: 
1.1       bertrand 4796: 
1.15    ! bertrand 4797:     test -n "$FC" && break
        !          4798:   done
        !          4799: fi
        !          4800: if test -z "$FC"; then
        !          4801:   ac_ct_FC=$FC
        !          4802:   for ac_prog in gfortran-4.4 gfortran
        !          4803: do
        !          4804:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          4805: set dummy $ac_prog; ac_word=$2
        !          4806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4807: $as_echo_n "checking for $ac_word... " >&6; }
        !          4808: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
        !          4809:   $as_echo_n "(cached) " >&6
        !          4810: else
        !          4811:   if test -n "$ac_ct_FC"; then
        !          4812:   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
        !          4813: else
        !          4814: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4815: for as_dir in $PATH
        !          4816: do
        !          4817:   IFS=$as_save_IFS
        !          4818:   test -z "$as_dir" && as_dir=.
        !          4819:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4820:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4821:     ac_cv_prog_ac_ct_FC="$ac_prog"
        !          4822:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4823:     break 2
        !          4824:   fi
        !          4825: done
        !          4826:   done
        !          4827: IFS=$as_save_IFS
1.1       bertrand 4828: 
1.15    ! bertrand 4829: fi
        !          4830: fi
        !          4831: ac_ct_FC=$ac_cv_prog_ac_ct_FC
        !          4832: if test -n "$ac_ct_FC"; then
        !          4833:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
        !          4834: $as_echo "$ac_ct_FC" >&6; }
1.1       bertrand 4835: else
1.15    ! bertrand 4836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4837: $as_echo "no" >&6; }
1.1       bertrand 4838: fi
1.14      bertrand 4839: 
1.1       bertrand 4840: 
1.15    ! bertrand 4841:   test -n "$ac_ct_FC" && break
        !          4842: done
1.1       bertrand 4843: 
1.15    ! bertrand 4844:   if test "x$ac_ct_FC" = x; then
        !          4845:     FC=""
        !          4846:   else
        !          4847:     case $cross_compiling:$ac_tool_warned in
        !          4848: yes:)
        !          4849: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4850: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4851: ac_tool_warned=yes ;;
1.14      bertrand 4852: esac
1.15    ! bertrand 4853:     FC=$ac_ct_FC
        !          4854:   fi
1.14      bertrand 4855: fi
                   4856: 
                   4857: 
1.15    ! bertrand 4858: # Provide some information about the compiler.
        !          4859: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
        !          4860: set X $ac_compile
        !          4861: ac_compiler=$2
        !          4862: for ac_option in --version -v -V -qversion; do
        !          4863:   { { ac_try="$ac_compiler $ac_option >&5"
1.14      bertrand 4864: case "(($ac_try" in
                   4865:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4866:   *) ac_try_echo=$ac_try;;
                   4867: esac
1.15    ! bertrand 4868: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4869: $as_echo "$ac_try_echo"; } >&5
        !          4870:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.14      bertrand 4871:   ac_status=$?
1.15    ! bertrand 4872:   if test -s conftest.err; then
        !          4873:     sed '10a\
        !          4874: ... rest of stderr output deleted ...
        !          4875:          10q' conftest.err >conftest.er1
        !          4876:     cat conftest.er1 >&5
        !          4877:   fi
        !          4878:   rm -f conftest.er1 conftest.err
        !          4879:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4880:   test $ac_status = 0; }
        !          4881: done
        !          4882: rm -f a.out
        !          4883: 
        !          4884: # If we don't use `.F' as extension, the preprocessor is not run on the
        !          4885: # input file.  (Note that this only needs to work for GNU compilers.)
        !          4886: ac_save_ext=$ac_ext
        !          4887: ac_ext=F
        !          4888: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
        !          4889: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
        !          4890: if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
        !          4891:   $as_echo_n "(cached) " >&6
1.14      bertrand 4892: else
1.15    ! bertrand 4893:   cat > conftest.$ac_ext <<_ACEOF
        !          4894:       program main
        !          4895: #ifndef __GNUC__
        !          4896:        choke me
        !          4897: #endif
1.14      bertrand 4898: 
1.15    ! bertrand 4899:       end
        !          4900: _ACEOF
        !          4901: if ac_fn_fc_try_compile "$LINENO"; then :
        !          4902:   ac_compiler_gnu=yes
        !          4903: else
        !          4904:   ac_compiler_gnu=no
1.14      bertrand 4905: fi
                   4906: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 4907: ac_cv_fc_compiler_gnu=$ac_compiler_gnu
1.1       bertrand 4908: 
1.15    ! bertrand 4909: fi
        !          4910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
        !          4911: $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
        !          4912: ac_ext=$ac_save_ext
        !          4913: ac_test_FCFLAGS=${FCFLAGS+set}
        !          4914: ac_save_FCFLAGS=$FCFLAGS
        !          4915: FCFLAGS=
        !          4916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
        !          4917: $as_echo_n "checking whether $FC accepts -g... " >&6; }
        !          4918: if test "${ac_cv_prog_fc_g+set}" = set; then :
        !          4919:   $as_echo_n "(cached) " >&6
        !          4920: else
        !          4921:   FCFLAGS=-g
        !          4922: cat > conftest.$ac_ext <<_ACEOF
        !          4923:       program main
1.1       bertrand 4924: 
1.15    ! bertrand 4925:       end
1.1       bertrand 4926: _ACEOF
1.15    ! bertrand 4927: if ac_fn_fc_try_compile "$LINENO"; then :
        !          4928:   ac_cv_prog_fc_g=yes
1.1       bertrand 4929: else
1.15    ! bertrand 4930:   ac_cv_prog_fc_g=no
1.1       bertrand 4931: fi
1.14      bertrand 4932: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 4933: 
1.15    ! bertrand 4934: fi
        !          4935: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
        !          4936: $as_echo "$ac_cv_prog_fc_g" >&6; }
        !          4937: if test "$ac_test_FCFLAGS" = set; then
        !          4938:   FCFLAGS=$ac_save_FCFLAGS
        !          4939: elif test $ac_cv_prog_fc_g = yes; then
        !          4940:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
        !          4941:     FCFLAGS="-g -O2"
        !          4942:   else
        !          4943:     FCFLAGS="-g"
        !          4944:   fi
1.1       bertrand 4945: else
1.15    ! bertrand 4946:   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
        !          4947:     FCFLAGS="-O2"
        !          4948:   else
        !          4949:     FCFLAGS=
        !          4950:   fi
1.1       bertrand 4951: fi
                   4952: 
1.15    ! bertrand 4953: ac_ext=c
        !          4954: ac_cpp='$CPP $CPPFLAGS'
        !          4955: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4956: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4957: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       bertrand 4958: 
                   4959: 
1.15    ! bertrand 4960: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then
        !          4961:    as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5
1.1       bertrand 4962: fi
                   4963: 
1.15    ! bertrand 4964: if test x"$FC" != x""; then
        !          4965:    GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
        !          4966:            awk -F. '{ printf("%s", $1);}'`
        !          4967:    GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
        !          4968:            awk -F. '{ printf("%s", $2);}'`
        !          4969:    if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
        !          4970:        OPTIMISATION_F=-O3
        !          4971:    else
        !          4972:        if test $GCC_VERSION_MAJEURE -ge 5; then
        !          4973:            OPTIMISATION_F=-O3
        !          4974:        else
        !          4975:            OPTIMISATION_F=-O2
1.14      bertrand 4976:        fi
                   4977:    fi
                   4978: fi
1.1       bertrand 4979: 
                   4980: 
1.15    ! bertrand 4981: ac_ext=c
        !          4982: ac_cpp='$CPP $CPPFLAGS'
        !          4983: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4984: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4985: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4986: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
        !          4987: $as_echo_n "checking how to run the C preprocessor... " >&6; }
        !          4988: # On Suns, sometimes $CPP names a directory.
        !          4989: if test -n "$CPP" && test -d "$CPP"; then
        !          4990:   CPP=
        !          4991: fi
        !          4992: if test -z "$CPP"; then
        !          4993:   if test "${ac_cv_prog_CPP+set}" = set; then :
        !          4994:   $as_echo_n "(cached) " >&6
        !          4995: else
        !          4996:       # Double quotes because CPP needs to be expanded
        !          4997:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
        !          4998:     do
        !          4999:       ac_preproc_ok=false
        !          5000: for ac_c_preproc_warn_flag in '' yes
        !          5001: do
        !          5002:   # Use a header file that comes with gcc, so configuring glibc
        !          5003:   # with a fresh cross-compiler works.
        !          5004:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          5005:   # <limits.h> exists even on freestanding compilers.
        !          5006:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          5007:   # not just through cpp. "Syntax error" is here to catch this case.
        !          5008:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5009: /* end confdefs.h.  */
1.15    ! bertrand 5010: #ifdef __STDC__
        !          5011: # include <limits.h>
        !          5012: #else
        !          5013: # include <assert.h>
        !          5014: #endif
        !          5015:             Syntax error
1.1       bertrand 5016: _ACEOF
1.15    ! bertrand 5017: if ac_fn_c_try_cpp "$LINENO"; then :
        !          5018: 
1.1       bertrand 5019: else
1.15    ! bertrand 5020:   # Broken: fails on valid input.
        !          5021: continue
1.1       bertrand 5022: fi
1.15    ! bertrand 5023: rm -f conftest.err conftest.$ac_ext
1.1       bertrand 5024: 
1.15    ! bertrand 5025:   # OK, works on sane cases.  Now check whether nonexistent headers
        !          5026:   # can be detected and how.
        !          5027:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5028: /* end confdefs.h.  */
        !          5029: #include <ac_nonexistent.h>
        !          5030: _ACEOF
        !          5031: if ac_fn_c_try_cpp "$LINENO"; then :
        !          5032:   # Broken: success on invalid input.
        !          5033: continue
        !          5034: else
        !          5035:   # Passes both tests.
        !          5036: ac_preproc_ok=:
        !          5037: break
1.1       bertrand 5038: fi
1.15    ! bertrand 5039: rm -f conftest.err conftest.$ac_ext
1.14      bertrand 5040: 
1.15    ! bertrand 5041: done
        !          5042: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          5043: rm -f conftest.err conftest.$ac_ext
        !          5044: if $ac_preproc_ok; then :
        !          5045:   break
1.1       bertrand 5046: fi
                   5047: 
1.15    ! bertrand 5048:     done
        !          5049:     ac_cv_prog_CPP=$CPP
1.14      bertrand 5050: 
1.15    ! bertrand 5051: fi
        !          5052:   CPP=$ac_cv_prog_CPP
1.1       bertrand 5053: else
1.15    ! bertrand 5054:   ac_cv_prog_CPP=$CPP
        !          5055: fi
        !          5056: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
        !          5057: $as_echo "$CPP" >&6; }
        !          5058: ac_preproc_ok=false
        !          5059: for ac_c_preproc_warn_flag in '' yes
1.14      bertrand 5060: do
1.15    ! bertrand 5061:   # Use a header file that comes with gcc, so configuring glibc
        !          5062:   # with a fresh cross-compiler works.
        !          5063:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          5064:   # <limits.h> exists even on freestanding compilers.
        !          5065:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          5066:   # not just through cpp. "Syntax error" is here to catch this case.
        !          5067:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5068: /* end confdefs.h.  */
        !          5069: #ifdef __STDC__
        !          5070: # include <limits.h>
        !          5071: #else
        !          5072: # include <assert.h>
        !          5073: #endif
        !          5074:             Syntax error
        !          5075: _ACEOF
        !          5076: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       bertrand 5077: 
1.15    ! bertrand 5078: else
        !          5079:   # Broken: fails on valid input.
        !          5080: continue
        !          5081: fi
        !          5082: rm -f conftest.err conftest.$ac_ext
1.1       bertrand 5083: 
1.15    ! bertrand 5084:   # OK, works on sane cases.  Now check whether nonexistent headers
        !          5085:   # can be detected and how.
        !          5086:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5087: /* end confdefs.h.  */
        !          5088: #include <ac_nonexistent.h>
        !          5089: _ACEOF
        !          5090: if ac_fn_c_try_cpp "$LINENO"; then :
        !          5091:   # Broken: success on invalid input.
        !          5092: continue
        !          5093: else
        !          5094:   # Passes both tests.
        !          5095: ac_preproc_ok=:
        !          5096: break
        !          5097: fi
        !          5098: rm -f conftest.err conftest.$ac_ext
1.1       bertrand 5099: 
                   5100: done
1.15    ! bertrand 5101: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          5102: rm -f conftest.err conftest.$ac_ext
        !          5103: if $ac_preproc_ok; then :
1.1       bertrand 5104: 
1.15    ! bertrand 5105: else
        !          5106:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          5107: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          5108: as_fn_error "C preprocessor \"$CPP\" fails sanity check
        !          5109: See \`config.log' for more details." "$LINENO" 5; }
        !          5110: fi
1.14      bertrand 5111: 
1.15    ! bertrand 5112: ac_ext=c
        !          5113: ac_cpp='$CPP $CPPFLAGS'
        !          5114: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5115: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5116: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.14      bertrand 5117: 
                   5118: 
1.15    ! bertrand 5119: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
        !          5120: $as_echo_n "checking for X... " >&6; }
1.1       bertrand 5121: 
                   5122: 
1.15    ! bertrand 5123: # Check whether --with-x was given.
        !          5124: if test "${with_x+set}" = set; then :
        !          5125:   withval=$with_x;
1.1       bertrand 5126: fi
1.14      bertrand 5127: 
1.15    ! bertrand 5128: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
        !          5129: if test "x$with_x" = xno; then
        !          5130:   # The user explicitly disabled X.
        !          5131:   have_x=disabled
1.1       bertrand 5132: else
1.15    ! bertrand 5133:   case $x_includes,$x_libraries in #(
        !          5134:     *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
        !          5135:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
        !          5136:   $as_echo_n "(cached) " >&6
1.1       bertrand 5137: else
1.15    ! bertrand 5138:   # One or both of the vars are not set, and there is no cached value.
        !          5139: ac_x_includes=no ac_x_libraries=no
        !          5140: rm -f -r conftest.dir
        !          5141: if mkdir conftest.dir; then
        !          5142:   cd conftest.dir
        !          5143:   cat >Imakefile <<'_ACEOF'
        !          5144: incroot:
        !          5145:    @echo incroot='${INCROOT}'
        !          5146: usrlibdir:
        !          5147:    @echo usrlibdir='${USRLIBDIR}'
        !          5148: libdir:
        !          5149:    @echo libdir='${LIBDIR}'
        !          5150: _ACEOF
        !          5151:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
        !          5152:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
        !          5153:     for ac_var in incroot usrlibdir libdir; do
        !          5154:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
        !          5155:     done
        !          5156:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
        !          5157:     for ac_extension in a so sl dylib la dll; do
        !          5158:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
        !          5159:     test -f "$ac_im_libdir/libX11.$ac_extension"; then
        !          5160:    ac_im_usrlibdir=$ac_im_libdir; break
        !          5161:       fi
        !          5162:     done
        !          5163:     # Screen out bogus values from the imake configuration.  They are
        !          5164:     # bogus both because they are the default anyway, and because
        !          5165:     # using them would break gcc on systems where it needs fixed includes.
        !          5166:     case $ac_im_incroot in
        !          5167:    /usr/include) ac_x_includes= ;;
        !          5168:    *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
        !          5169:     esac
        !          5170:     case $ac_im_usrlibdir in
        !          5171:    /usr/lib | /usr/lib64 | /lib | /lib64) ;;
        !          5172:    *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
        !          5173:     esac
        !          5174:   fi
        !          5175:   cd ..
        !          5176:   rm -f -r conftest.dir
        !          5177: fi
        !          5178: 
        !          5179: # Standard set of common directories for X headers.
        !          5180: # Check X11 before X11Rn because it is often a symlink to the current release.
        !          5181: ac_x_header_dirs='
        !          5182: /usr/X11/include
        !          5183: /usr/X11R7/include
        !          5184: /usr/X11R6/include
        !          5185: /usr/X11R5/include
        !          5186: /usr/X11R4/include
1.1       bertrand 5187: 
1.15    ! bertrand 5188: /usr/include/X11
        !          5189: /usr/include/X11R7
        !          5190: /usr/include/X11R6
        !          5191: /usr/include/X11R5
        !          5192: /usr/include/X11R4
1.1       bertrand 5193: 
1.15    ! bertrand 5194: /usr/local/X11/include
        !          5195: /usr/local/X11R7/include
        !          5196: /usr/local/X11R6/include
        !          5197: /usr/local/X11R5/include
        !          5198: /usr/local/X11R4/include
1.1       bertrand 5199: 
1.15    ! bertrand 5200: /usr/local/include/X11
        !          5201: /usr/local/include/X11R7
        !          5202: /usr/local/include/X11R6
        !          5203: /usr/local/include/X11R5
        !          5204: /usr/local/include/X11R4
1.1       bertrand 5205: 
1.15    ! bertrand 5206: /usr/X386/include
        !          5207: /usr/x386/include
        !          5208: /usr/XFree86/include/X11
1.1       bertrand 5209: 
1.15    ! bertrand 5210: /usr/include
        !          5211: /usr/local/include
        !          5212: /usr/unsupported/include
        !          5213: /usr/athena/include
        !          5214: /usr/local/x11r5/include
        !          5215: /usr/lpp/Xamples/include
1.1       bertrand 5216: 
1.15    ! bertrand 5217: /usr/openwin/include
        !          5218: /usr/openwin/share/include'
1.1       bertrand 5219: 
1.15    ! bertrand 5220: if test "$ac_x_includes" = no; then
        !          5221:   # Guess where to find include files, by looking for Xlib.h.
        !          5222:   # First, try using that file with no special directory specified.
        !          5223:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5224: /* end confdefs.h.  */
        !          5225: #include <X11/Xlib.h>
        !          5226: _ACEOF
        !          5227: if ac_fn_c_try_cpp "$LINENO"; then :
        !          5228:   # We can compile using X headers with no special include directory.
        !          5229: ac_x_includes=
1.1       bertrand 5230: else
1.15    ! bertrand 5231:   for ac_dir in $ac_x_header_dirs; do
        !          5232:   if test -r "$ac_dir/X11/Xlib.h"; then
        !          5233:     ac_x_includes=$ac_dir
        !          5234:     break
        !          5235:   fi
        !          5236: done
1.1       bertrand 5237: fi
1.15    ! bertrand 5238: rm -f conftest.err conftest.$ac_ext
        !          5239: fi # $ac_x_includes = no
1.1       bertrand 5240: 
1.15    ! bertrand 5241: if test "$ac_x_libraries" = no; then
        !          5242:   # Check for the libraries.
        !          5243:   # See if we find them without any special options.
        !          5244:   # Don't add to $LIBS permanently.
        !          5245:   ac_save_LIBS=$LIBS
        !          5246:   LIBS="-lX11 $LIBS"
        !          5247:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5248: /* end confdefs.h.  */
1.15    ! bertrand 5249: #include <X11/Xlib.h>
1.14      bertrand 5250: int
                   5251: main ()
                   5252: {
1.15    ! bertrand 5253: XrmInitialize ()
1.14      bertrand 5254:   ;
                   5255:   return 0;
                   5256: }
1.1       bertrand 5257: _ACEOF
1.15    ! bertrand 5258: if ac_fn_c_try_link "$LINENO"; then :
        !          5259:   LIBS=$ac_save_LIBS
        !          5260: # We can link X programs with no special library path.
        !          5261: ac_x_libraries=
1.1       bertrand 5262: else
1.15    ! bertrand 5263:   LIBS=$ac_save_LIBS
        !          5264: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
        !          5265: do
        !          5266:   # Don't even attempt the hair of trying to link an X program!
        !          5267:   for ac_extension in a so sl dylib la dll; do
        !          5268:     if test -r "$ac_dir/libX11.$ac_extension"; then
        !          5269:       ac_x_libraries=$ac_dir
        !          5270:       break 2
        !          5271:     fi
        !          5272:   done
        !          5273: done
        !          5274: fi
        !          5275: rm -f core conftest.err conftest.$ac_objext \
        !          5276:     conftest$ac_exeext conftest.$ac_ext
        !          5277: fi # $ac_x_libraries = no
1.1       bertrand 5278: 
1.15    ! bertrand 5279: case $ac_x_includes,$ac_x_libraries in #(
        !          5280:   no,* | *,no | *\'*)
        !          5281:     # Didn't find X, or a directory has "'" in its name.
        !          5282:     ac_cv_have_x="have_x=no";; #(
        !          5283:   *)
        !          5284:     # Record where we found X for the cache.
        !          5285:     ac_cv_have_x="have_x=yes\
        !          5286:    ac_x_includes='$ac_x_includes'\
        !          5287:    ac_x_libraries='$ac_x_libraries'"
        !          5288: esac
1.1       bertrand 5289: fi
1.15    ! bertrand 5290: ;; #(
        !          5291:     *) have_x=yes;;
        !          5292:   esac
        !          5293:   eval "$ac_cv_have_x"
        !          5294: fi # $with_x != no
1.1       bertrand 5295: 
1.15    ! bertrand 5296: if test "$have_x" != yes; then
        !          5297:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
        !          5298: $as_echo "$have_x" >&6; }
        !          5299:   no_x=yes
1.14      bertrand 5300: else
1.15    ! bertrand 5301:   # If each of the values was on the command line, it overrides each guess.
        !          5302:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
        !          5303:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
        !          5304:   # Update the cache value to reflect the command line values.
        !          5305:   ac_cv_have_x="have_x=yes\
        !          5306:    ac_x_includes='$x_includes'\
        !          5307:    ac_x_libraries='$x_libraries'"
        !          5308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
        !          5309: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
1.14      bertrand 5310: fi
1.1       bertrand 5311: 
1.15    ! bertrand 5312: if test "$no_x" = yes; then
        !          5313:   # Not all programs may use this symbol, but it does not hurt to define it.
1.1       bertrand 5314: 
1.15    ! bertrand 5315: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
1.14      bertrand 5316: 
1.15    ! bertrand 5317:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
1.1       bertrand 5318: else
1.15    ! bertrand 5319:   if test -n "$x_includes"; then
        !          5320:     X_CFLAGS="$X_CFLAGS -I$x_includes"
        !          5321:   fi
        !          5322: 
        !          5323:   # It would also be nice to do this for all -L options, not just this one.
        !          5324:   if test -n "$x_libraries"; then
        !          5325:     X_LIBS="$X_LIBS -L$x_libraries"
        !          5326:     # For Solaris; some versions of Sun CC require a space after -R and
        !          5327:     # others require no space.  Words are not sufficient . . . .
        !          5328:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
        !          5329: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
        !          5330:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
        !          5331:     ac_xsave_c_werror_flag=$ac_c_werror_flag
        !          5332:     ac_c_werror_flag=yes
        !          5333:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5334: /* end confdefs.h.  */
1.1       bertrand 5335: 
1.15    ! bertrand 5336: int
        !          5337: main ()
        !          5338: {
1.1       bertrand 5339: 
1.15    ! bertrand 5340:   ;
        !          5341:   return 0;
        !          5342: }
        !          5343: _ACEOF
        !          5344: if ac_fn_c_try_link "$LINENO"; then :
        !          5345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5346: $as_echo "no" >&6; }
        !          5347:        X_LIBS="$X_LIBS -R$x_libraries"
1.1       bertrand 5348: else
1.15    ! bertrand 5349:   LIBS="$ac_xsave_LIBS -R $x_libraries"
        !          5350:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5351: /* end confdefs.h.  */
1.1       bertrand 5352: 
1.14      bertrand 5353: int
                   5354: main ()
                   5355: {
1.15    ! bertrand 5356: 
        !          5357:   ;
1.14      bertrand 5358:   return 0;
                   5359: }
                   5360: _ACEOF
1.15    ! bertrand 5361: if ac_fn_c_try_link "$LINENO"; then :
        !          5362:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5363: $as_echo "yes" >&6; }
        !          5364:      X_LIBS="$X_LIBS -R $x_libraries"
1.14      bertrand 5365: else
1.15    ! bertrand 5366:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
        !          5367: $as_echo "neither works" >&6; }
1.14      bertrand 5368: fi
1.15    ! bertrand 5369: rm -f core conftest.err conftest.$ac_objext \
        !          5370:     conftest$ac_exeext conftest.$ac_ext
1.14      bertrand 5371: fi
1.15    ! bertrand 5372: rm -f core conftest.err conftest.$ac_objext \
        !          5373:     conftest$ac_exeext conftest.$ac_ext
        !          5374:     ac_c_werror_flag=$ac_xsave_c_werror_flag
        !          5375:     LIBS=$ac_xsave_LIBS
        !          5376:   fi
1.1       bertrand 5377: 
1.15    ! bertrand 5378:   # Check for system-dependent libraries X programs must link with.
        !          5379:   # Do this before checking for the system-independent R6 libraries
        !          5380:   # (-lICE), since we may need -lsocket or whatever for X linking.
1.1       bertrand 5381: 
1.15    ! bertrand 5382:   if test "$ISC" = yes; then
        !          5383:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
        !          5384:   else
        !          5385:     # Martyn Johnson says this is needed for Ultrix, if the X
        !          5386:     # libraries were built with DECnet support.  And Karl Berry says
        !          5387:     # the Alpha needs dnet_stub (dnet does not exist).
        !          5388:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
        !          5389:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5390: /* end confdefs.h.  */
1.1       bertrand 5391: 
1.15    ! bertrand 5392: /* Override any GCC internal prototype to avoid an error.
        !          5393:    Use char because int might match the return type of a GCC
        !          5394:    builtin and then its argument prototype would still apply.  */
        !          5395: #ifdef __cplusplus
        !          5396: extern "C"
        !          5397: #endif
        !          5398: char XOpenDisplay ();
        !          5399: int
        !          5400: main ()
        !          5401: {
        !          5402: return XOpenDisplay ();
        !          5403:   ;
        !          5404:   return 0;
        !          5405: }
1.1       bertrand 5406: _ACEOF
1.15    ! bertrand 5407: if ac_fn_c_try_link "$LINENO"; then :
1.14      bertrand 5408: 
                   5409: else
1.15    ! bertrand 5410:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
        !          5411: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
        !          5412: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
        !          5413:   $as_echo_n "(cached) " >&6
        !          5414: else
        !          5415:   ac_check_lib_save_LIBS=$LIBS
        !          5416: LIBS="-ldnet  $LIBS"
        !          5417: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5418: /* end confdefs.h.  */
1.14      bertrand 5419: 
1.15    ! bertrand 5420: /* Override any GCC internal prototype to avoid an error.
        !          5421:    Use char because int might match the return type of a GCC
        !          5422:    builtin and then its argument prototype would still apply.  */
        !          5423: #ifdef __cplusplus
        !          5424: extern "C"
        !          5425: #endif
        !          5426: char dnet_ntoa ();
        !          5427: int
        !          5428: main ()
        !          5429: {
        !          5430: return dnet_ntoa ();
        !          5431:   ;
        !          5432:   return 0;
        !          5433: }
1.1       bertrand 5434: _ACEOF
1.15    ! bertrand 5435: if ac_fn_c_try_link "$LINENO"; then :
        !          5436:   ac_cv_lib_dnet_dnet_ntoa=yes
1.1       bertrand 5437: else
1.15    ! bertrand 5438:   ac_cv_lib_dnet_dnet_ntoa=no
1.14      bertrand 5439: fi
1.15    ! bertrand 5440: rm -f core conftest.err conftest.$ac_objext \
        !          5441:     conftest$ac_exeext conftest.$ac_ext
        !          5442: LIBS=$ac_check_lib_save_LIBS
1.14      bertrand 5443: fi
1.15    ! bertrand 5444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
        !          5445: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
        !          5446: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
        !          5447:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
1.14      bertrand 5448: fi
                   5449: 
1.15    ! bertrand 5450:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
        !          5451:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
        !          5452: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
        !          5453: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
        !          5454:   $as_echo_n "(cached) " >&6
1.14      bertrand 5455: else
1.15    ! bertrand 5456:   ac_check_lib_save_LIBS=$LIBS
        !          5457: LIBS="-ldnet_stub  $LIBS"
        !          5458: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5459: /* end confdefs.h.  */
1.15    ! bertrand 5460: 
        !          5461: /* Override any GCC internal prototype to avoid an error.
        !          5462:    Use char because int might match the return type of a GCC
        !          5463:    builtin and then its argument prototype would still apply.  */
        !          5464: #ifdef __cplusplus
        !          5465: extern "C"
        !          5466: #endif
        !          5467: char dnet_ntoa ();
1.1       bertrand 5468: int
                   5469: main ()
                   5470: {
1.15    ! bertrand 5471: return dnet_ntoa ();
1.1       bertrand 5472:   ;
                   5473:   return 0;
                   5474: }
                   5475: _ACEOF
1.15    ! bertrand 5476: if ac_fn_c_try_link "$LINENO"; then :
        !          5477:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
1.14      bertrand 5478: else
1.15    ! bertrand 5479:   ac_cv_lib_dnet_stub_dnet_ntoa=no
        !          5480: fi
        !          5481: rm -f core conftest.err conftest.$ac_objext \
        !          5482:     conftest$ac_exeext conftest.$ac_ext
        !          5483: LIBS=$ac_check_lib_save_LIBS
        !          5484: fi
        !          5485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
        !          5486: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
        !          5487: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
        !          5488:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
        !          5489: fi
1.14      bertrand 5490: 
1.15    ! bertrand 5491:     fi
1.1       bertrand 5492: fi
1.15    ! bertrand 5493: rm -f core conftest.err conftest.$ac_objext \
        !          5494:     conftest$ac_exeext conftest.$ac_ext
        !          5495:     LIBS="$ac_xsave_LIBS"
        !          5496: 
        !          5497:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
        !          5498:     # to get the SysV transport functions.
        !          5499:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
        !          5500:     # needs -lnsl.
        !          5501:     # The nsl library prevents programs from opening the X display
        !          5502:     # on Irix 5.2, according to T.E. Dickey.
        !          5503:     # The functions gethostbyname, getservbyname, and inet_addr are
        !          5504:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
        !          5505:     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
        !          5506: if test "x$ac_cv_func_gethostbyname" = x""yes; then :
1.1       bertrand 5507: 
                   5508: fi
                   5509: 
1.15    ! bertrand 5510:     if test $ac_cv_func_gethostbyname = no; then
        !          5511:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
        !          5512: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
        !          5513: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
        !          5514:   $as_echo_n "(cached) " >&6
1.1       bertrand 5515: else
1.15    ! bertrand 5516:   ac_check_lib_save_LIBS=$LIBS
        !          5517: LIBS="-lnsl  $LIBS"
        !          5518: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5519: /* end confdefs.h.  */
1.15    ! bertrand 5520: 
        !          5521: /* Override any GCC internal prototype to avoid an error.
        !          5522:    Use char because int might match the return type of a GCC
        !          5523:    builtin and then its argument prototype would still apply.  */
        !          5524: #ifdef __cplusplus
        !          5525: extern "C"
        !          5526: #endif
        !          5527: char gethostbyname ();
1.1       bertrand 5528: int
                   5529: main ()
                   5530: {
1.15    ! bertrand 5531: return gethostbyname ();
1.1       bertrand 5532:   ;
                   5533:   return 0;
                   5534: }
                   5535: _ACEOF
1.15    ! bertrand 5536: if ac_fn_c_try_link "$LINENO"; then :
        !          5537:   ac_cv_lib_nsl_gethostbyname=yes
        !          5538: else
        !          5539:   ac_cv_lib_nsl_gethostbyname=no
        !          5540: fi
        !          5541: rm -f core conftest.err conftest.$ac_objext \
        !          5542:     conftest$ac_exeext conftest.$ac_ext
        !          5543: LIBS=$ac_check_lib_save_LIBS
        !          5544: fi
        !          5545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
        !          5546: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
        !          5547: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
        !          5548:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
        !          5549: fi
        !          5550: 
        !          5551:       if test $ac_cv_lib_nsl_gethostbyname = no; then
        !          5552:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
        !          5553: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
        !          5554: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
        !          5555:   $as_echo_n "(cached) " >&6
        !          5556: else
        !          5557:   ac_check_lib_save_LIBS=$LIBS
        !          5558: LIBS="-lbsd  $LIBS"
        !          5559: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5560: /* end confdefs.h.  */
1.15    ! bertrand 5561: 
        !          5562: /* Override any GCC internal prototype to avoid an error.
        !          5563:    Use char because int might match the return type of a GCC
        !          5564:    builtin and then its argument prototype would still apply.  */
        !          5565: #ifdef __cplusplus
        !          5566: extern "C"
        !          5567: #endif
        !          5568: char gethostbyname ();
1.1       bertrand 5569: int
                   5570: main ()
                   5571: {
1.15    ! bertrand 5572: return gethostbyname ();
1.1       bertrand 5573:   ;
                   5574:   return 0;
                   5575: }
                   5576: _ACEOF
1.15    ! bertrand 5577: if ac_fn_c_try_link "$LINENO"; then :
        !          5578:   ac_cv_lib_bsd_gethostbyname=yes
1.1       bertrand 5579: else
1.15    ! bertrand 5580:   ac_cv_lib_bsd_gethostbyname=no
        !          5581: fi
        !          5582: rm -f core conftest.err conftest.$ac_objext \
        !          5583:     conftest$ac_exeext conftest.$ac_ext
        !          5584: LIBS=$ac_check_lib_save_LIBS
        !          5585: fi
        !          5586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
        !          5587: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
        !          5588: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
        !          5589:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
        !          5590: fi
        !          5591: 
        !          5592:       fi
        !          5593:     fi
        !          5594: 
        !          5595:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
        !          5596:     # socket/setsockopt and other routines are undefined under SCO ODT
        !          5597:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
        !          5598:     # on later versions), says Simon Leinen: it contains gethostby*
        !          5599:     # variants that don't use the name server (or something).  -lsocket
        !          5600:     # must be given before -lnsl if both are needed.  We assume that
        !          5601:     # if connect needs -lnsl, so does gethostbyname.
        !          5602:     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
        !          5603: if test "x$ac_cv_func_connect" = x""yes; then :
1.14      bertrand 5604: 
1.1       bertrand 5605: fi
                   5606: 
1.15    ! bertrand 5607:     if test $ac_cv_func_connect = no; then
        !          5608:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
        !          5609: $as_echo_n "checking for connect in -lsocket... " >&6; }
        !          5610: if test "${ac_cv_lib_socket_connect+set}" = set; then :
        !          5611:   $as_echo_n "(cached) " >&6
1.14      bertrand 5612: else
1.15    ! bertrand 5613:   ac_check_lib_save_LIBS=$LIBS
        !          5614: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
        !          5615: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5616: /* end confdefs.h.  */
1.1       bertrand 5617: 
1.15    ! bertrand 5618: /* Override any GCC internal prototype to avoid an error.
        !          5619:    Use char because int might match the return type of a GCC
        !          5620:    builtin and then its argument prototype would still apply.  */
        !          5621: #ifdef __cplusplus
        !          5622: extern "C"
        !          5623: #endif
        !          5624: char connect ();
1.14      bertrand 5625: int
                   5626: main ()
                   5627: {
1.15    ! bertrand 5628: return connect ();
1.14      bertrand 5629:   ;
                   5630:   return 0;
                   5631: }
                   5632: _ACEOF
1.15    ! bertrand 5633: if ac_fn_c_try_link "$LINENO"; then :
        !          5634:   ac_cv_lib_socket_connect=yes
        !          5635: else
        !          5636:   ac_cv_lib_socket_connect=no
        !          5637: fi
        !          5638: rm -f core conftest.err conftest.$ac_objext \
        !          5639:     conftest$ac_exeext conftest.$ac_ext
        !          5640: LIBS=$ac_check_lib_save_LIBS
        !          5641: fi
        !          5642: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
        !          5643: $as_echo "$ac_cv_lib_socket_connect" >&6; }
        !          5644: if test "x$ac_cv_lib_socket_connect" = x""yes; then :
        !          5645:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
        !          5646: fi
        !          5647: 
        !          5648:     fi
        !          5649: 
        !          5650:     # Guillermo Gomez says -lposix is necessary on A/UX.
        !          5651:     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
        !          5652: if test "x$ac_cv_func_remove" = x""yes; then :
        !          5653: 
        !          5654: fi
        !          5655: 
        !          5656:     if test $ac_cv_func_remove = no; then
        !          5657:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
        !          5658: $as_echo_n "checking for remove in -lposix... " >&6; }
        !          5659: if test "${ac_cv_lib_posix_remove+set}" = set; then :
        !          5660:   $as_echo_n "(cached) " >&6
        !          5661: else
        !          5662:   ac_check_lib_save_LIBS=$LIBS
        !          5663: LIBS="-lposix  $LIBS"
        !          5664: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 5665: /* end confdefs.h.  */
1.15    ! bertrand 5666: 
        !          5667: /* Override any GCC internal prototype to avoid an error.
        !          5668:    Use char because int might match the return type of a GCC
        !          5669:    builtin and then its argument prototype would still apply.  */
        !          5670: #ifdef __cplusplus
        !          5671: extern "C"
        !          5672: #endif
        !          5673: char remove ();
1.1       bertrand 5674: int
                   5675: main ()
                   5676: {
1.15    ! bertrand 5677: return remove ();
1.1       bertrand 5678:   ;
                   5679:   return 0;
                   5680: }
                   5681: _ACEOF
1.15    ! bertrand 5682: if ac_fn_c_try_link "$LINENO"; then :
        !          5683:   ac_cv_lib_posix_remove=yes
1.14      bertrand 5684: else
1.15    ! bertrand 5685:   ac_cv_lib_posix_remove=no
        !          5686: fi
        !          5687: rm -f core conftest.err conftest.$ac_objext \
        !          5688:     conftest$ac_exeext conftest.$ac_ext
        !          5689: LIBS=$ac_check_lib_save_LIBS
        !          5690: fi
        !          5691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
        !          5692: $as_echo "$ac_cv_lib_posix_remove" >&6; }
        !          5693: if test "x$ac_cv_lib_posix_remove" = x""yes; then :
        !          5694:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
1.14      bertrand 5695: fi
1.1       bertrand 5696: 
1.15    ! bertrand 5697:     fi
1.14      bertrand 5698: 
1.15    ! bertrand 5699:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
        !          5700:     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
        !          5701: if test "x$ac_cv_func_shmat" = x""yes; then :
1.14      bertrand 5702: 
                   5703: fi
                   5704: 
1.15    ! bertrand 5705:     if test $ac_cv_func_shmat = no; then
        !          5706:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
        !          5707: $as_echo_n "checking for shmat in -lipc... " >&6; }
        !          5708: if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
        !          5709:   $as_echo_n "(cached) " >&6
        !          5710: else
        !          5711:   ac_check_lib_save_LIBS=$LIBS
        !          5712: LIBS="-lipc  $LIBS"
        !          5713: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5714: /* end confdefs.h.  */
1.15    ! bertrand 5715: 
        !          5716: /* Override any GCC internal prototype to avoid an error.
        !          5717:    Use char because int might match the return type of a GCC
        !          5718:    builtin and then its argument prototype would still apply.  */
        !          5719: #ifdef __cplusplus
        !          5720: extern "C"
        !          5721: #endif
        !          5722: char shmat ();
1.1       bertrand 5723: int
                   5724: main ()
                   5725: {
1.15    ! bertrand 5726: return shmat ();
1.1       bertrand 5727:   ;
                   5728:   return 0;
                   5729: }
                   5730: _ACEOF
1.15    ! bertrand 5731: if ac_fn_c_try_link "$LINENO"; then :
        !          5732:   ac_cv_lib_ipc_shmat=yes
1.1       bertrand 5733: else
1.15    ! bertrand 5734:   ac_cv_lib_ipc_shmat=no
        !          5735: fi
        !          5736: rm -f core conftest.err conftest.$ac_objext \
        !          5737:     conftest$ac_exeext conftest.$ac_ext
        !          5738: LIBS=$ac_check_lib_save_LIBS
        !          5739: fi
        !          5740: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
        !          5741: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
        !          5742: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
        !          5743:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
        !          5744: fi
1.14      bertrand 5745: 
1.15    ! bertrand 5746:     fi
        !          5747:   fi
1.1       bertrand 5748: 
1.15    ! bertrand 5749:   # Check for libraries that X11R6 Xt/Xaw programs need.
        !          5750:   ac_save_LDFLAGS=$LDFLAGS
        !          5751:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
        !          5752:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
        !          5753:   # check for ICE first), but we must link in the order -lSM -lICE or
        !          5754:   # we get undefined symbols.  So assume we have SM if we have ICE.
        !          5755:   # These have to be linked with before -lX11, unlike the other
        !          5756:   # libraries we check for below, so use a different variable.
        !          5757:   # John Interrante, Karl Berry
        !          5758:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
        !          5759: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
        !          5760: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
        !          5761:   $as_echo_n "(cached) " >&6
1.1       bertrand 5762: else
1.15    ! bertrand 5763:   ac_check_lib_save_LIBS=$LIBS
        !          5764: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
        !          5765: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 5766: /* end confdefs.h.  */
1.15    ! bertrand 5767: 
        !          5768: /* Override any GCC internal prototype to avoid an error.
        !          5769:    Use char because int might match the return type of a GCC
        !          5770:    builtin and then its argument prototype would still apply.  */
        !          5771: #ifdef __cplusplus
        !          5772: extern "C"
        !          5773: #endif
        !          5774: char IceConnectionNumber ();
1.1       bertrand 5775: int
                   5776: main ()
                   5777: {
1.15    ! bertrand 5778: return IceConnectionNumber ();
1.1       bertrand 5779:   ;
                   5780:   return 0;
                   5781: }
                   5782: _ACEOF
1.15    ! bertrand 5783: if ac_fn_c_try_link "$LINENO"; then :
        !          5784:   ac_cv_lib_ICE_IceConnectionNumber=yes
1.1       bertrand 5785: else
1.15    ! bertrand 5786:   ac_cv_lib_ICE_IceConnectionNumber=no
        !          5787: fi
        !          5788: rm -f core conftest.err conftest.$ac_objext \
        !          5789:     conftest$ac_exeext conftest.$ac_ext
        !          5790: LIBS=$ac_check_lib_save_LIBS
        !          5791: fi
        !          5792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
        !          5793: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
        !          5794: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
        !          5795:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
        !          5796: fi
        !          5797: 
        !          5798:   LDFLAGS=$ac_save_LDFLAGS
        !          5799: 
        !          5800: fi
        !          5801: 
1.14      bertrand 5802: 
1.15    ! bertrand 5803: if test "$ac_x_includes" != "no"; then
        !          5804:    if test x"$ac_x_includes" != x; then
        !          5805:        X_CFLAGS="$X_CFLAGS -I$ac_x_includes"
        !          5806:        includeX="-I$ac_x_includes"
        !          5807:    fi
1.1       bertrand 5808: fi
1.15    ! bertrand 5809: if test "$ac_x_libraries" != "no"; then
        !          5810:    if test x"$ac_x_libraries" != x; then
        !          5811:        X_LIBS="$X_LIBS -L$ac_x_libraries"
        !          5812:    fi
1.1       bertrand 5813: fi
1.15    ! bertrand 5814: 
        !          5815: # Check whether --enable-optimization was given.
        !          5816: if test "${enable_optimization+set}" = set; then :
        !          5817:   enableval=$enable_optimization;
        !          5818: if test "$enableval" = "no"; then
        !          5819:    CFLAGS=
        !          5820:    FFLAGS=
        !          5821:    CXXFLAGS=
        !          5822:    FCFLAGS=
        !          5823: else
        !          5824:    CFLAGS="$CFLAGS $enable_optimization"
        !          5825:    FFLAGS="$FFLAGS $enable_optimization"
        !          5826:    FCFLAGS="$FCFLAGS $enable_optimization"
1.1       bertrand 5827: fi
1.15    ! bertrand 5828: else
1.14      bertrand 5829: 
1.15    ! bertrand 5830:    CFLAGS="$CFLAGS $OPTIMISATION_C"
        !          5831:    FFLAGS="$FFLAGS $OPTIMISATION_F"
        !          5832:    FCFLAGS="$FCFLAGS $OPTIMISATION_F"
1.1       bertrand 5833: 
                   5834: 
1.15    ! bertrand 5835: fi
1.1       bertrand 5836: 
                   5837: 
1.15    ! bertrand 5838: # Check whether --enable-final-encoding was given.
        !          5839: if test "${enable_final_encoding+set}" = set; then :
        !          5840:   enableval=$enable_final_encoding;
        !          5841: if test "$enableval" = "no"; then
        !          5842:    FINAL_ENCODING="\$(shell locale charmap | \
        !          5843:        \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
1.1       bertrand 5844: else
1.15    ! bertrand 5845:    FINAL_ENCODING="$enable_final_encoding"
        !          5846: fi
1.1       bertrand 5847: else
1.15    ! bertrand 5848:   FINAL_ENCODING="\$(shell locale charmap | \
        !          5849:    \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
        !          5850: fi
        !          5851: 
1.14      bertrand 5852: 
1.15    ! bertrand 5853: # Check whether --enable-tex was given.
        !          5854: if test "${enable_tex+set}" = set; then :
        !          5855:   enableval=$enable_tex;
        !          5856: if test "$enableval" = "no"; then
        !          5857:    TEX_SUPPORT=no
        !          5858: else
        !          5859:    TEX_SUPPORT=yes
1.1       bertrand 5860: fi
1.15    ! bertrand 5861: else
        !          5862:   TEX_SUPPORT=guessed
        !          5863: fi
        !          5864: 
1.14      bertrand 5865: 
1.15    ! bertrand 5866: # Check whether --enable-vim was given.
        !          5867: if test "${enable_vim+set}" = set; then :
        !          5868:   enableval=$enable_vim;
        !          5869: if test "$enableval" = "no"; then
        !          5870:    VIM_SUPPORT=no
        !          5871: else
        !          5872:    VIM_SUPPORT=yes
        !          5873: fi
        !          5874: else
        !          5875:   VIM_SUPPORT=guessed
1.1       bertrand 5876: fi
                   5877: 
1.15    ! bertrand 5878: 
        !          5879: # Check whether --enable-embedded-gnuplot was given.
        !          5880: if test "${enable_embedded_gnuplot+set}" = set; then :
        !          5881:   enableval=$enable_embedded_gnuplot;
        !          5882: if test "$enableval" = "no"; then
        !          5883:    MYGNUPLOT=no
        !          5884: else
        !          5885:    MYGNUPLOT=yes
        !          5886: fi
1.1       bertrand 5887: else
                   5888: 
1.15    ! bertrand 5889: MYGNUPLOT=yes
        !          5890: fi
        !          5891: 
1.14      bertrand 5892: 
1.15    ! bertrand 5893: # Check whether --enable-gnuplot was given.
        !          5894: if test "${enable_gnuplot+set}" = set; then :
        !          5895:   enableval=$enable_gnuplot;
        !          5896: if test "$enableval" = "no"; then
        !          5897:    GNUPLOT_SUPPORT=no
        !          5898:    MYGNUPLOT=no
        !          5899:    FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
        !          5900: else
        !          5901:    GNUPLOT_SUPPORT=yes
        !          5902:    FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
        !          5903: fi
1.1       bertrand 5904: else
                   5905: 
1.15    ! bertrand 5906: if test "$MYGNUPLOT" = "yes"; then
        !          5907:    GNUPLOT_SUPPORT=yes
        !          5908:    FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH
        !          5909: else
        !          5910:    GNUPLOT_SUPPORT=guessed
        !          5911:    FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH
        !          5912: fi
1.1       bertrand 5913: fi
                   5914: 
1.15    ! bertrand 5915: 
        !          5916: # Check whether --enable-motif was given.
        !          5917: if test "${enable_motif+set}" = set; then :
        !          5918:   enableval=$enable_motif;
        !          5919: if test "$enableval" = "no"; then
        !          5920:    MOTIF_SUPPORT="-UMOTIF_SUPPORT"
        !          5921: else
        !          5922:    CFLAGS_ORIG=$CFLAGS
        !          5923:    LIBS_ORIG=$LIBS
        !          5924:    CFLAGS="$CFLAGS $X_CFLAGS"
        !          5925:    LIBS="$LIB $X_LIBS"
        !          5926:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
        !          5927: $as_echo_n "checking for main in -lXm... " >&6; }
        !          5928: if test "${ac_cv_lib_Xm_main+set}" = set; then :
        !          5929:   $as_echo_n "(cached) " >&6
1.1       bertrand 5930: else
1.15    ! bertrand 5931:   ac_check_lib_save_LIBS=$LIBS
        !          5932: LIBS="-lXm  $LIBS"
        !          5933: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5934: /* end confdefs.h.  */
1.14      bertrand 5935: 
                   5936: 
1.1       bertrand 5937: int
                   5938: main ()
                   5939: {
1.15    ! bertrand 5940: return main ();
1.1       bertrand 5941:   ;
                   5942:   return 0;
                   5943: }
                   5944: _ACEOF
1.15    ! bertrand 5945: if ac_fn_c_try_link "$LINENO"; then :
        !          5946:   ac_cv_lib_Xm_main=yes
        !          5947: else
        !          5948:   ac_cv_lib_Xm_main=no
        !          5949: fi
        !          5950: rm -f core conftest.err conftest.$ac_objext \
        !          5951:     conftest$ac_exeext conftest.$ac_ext
        !          5952: LIBS=$ac_check_lib_save_LIBS
        !          5953: fi
        !          5954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
        !          5955: $as_echo "$ac_cv_lib_Xm_main" >&6; }
        !          5956: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
        !          5957:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
1.1       bertrand 5958: else
1.15    ! bertrand 5959:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
        !          5960: fi
1.14      bertrand 5961: 
1.15    ! bertrand 5962:    if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
        !          5963:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.
        !          5964: Motif flag is disabled.
        !          5965: " >&5
        !          5966: $as_echo "$as_me: WARNING: Can not find Motif! You may install it.
        !          5967: Motif flag is disabled.
        !          5968: " >&2;}
        !          5969:    fi
        !          5970:    LIBS=$LIBS_ORIG
        !          5971:    CFLAGS=$CFLAGS_ORIG
        !          5972: fi
        !          5973: else
        !          5974:   MOTIF_SUPPORT=guessed
1.1       bertrand 5975: fi
                   5976: 
1.15    ! bertrand 5977: 
        !          5978: # Check whether --enable-experimental was given.
        !          5979: if test "${enable_experimental+set}" = set; then :
        !          5980:   enableval=$enable_experimental;
        !          5981: if test "$enableval" = "no"; then
        !          5982:    EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
        !          5983: else
        !          5984:    EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE"
        !          5985: fi
1.14      bertrand 5986: else
1.15    ! bertrand 5987:   EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE"
        !          5988: fi
        !          5989: 
1.1       bertrand 5990: 
1.15    ! bertrand 5991: # Check whether --enable-debug was given.
        !          5992: if test "${enable_debug+set}" = set; then :
        !          5993:   enableval=$enable_debug;
        !          5994: if test "$enableval" = "no"; then
        !          5995:    DEBUG=""
        !          5996: else
        !          5997:    DEBUG="-DDEBUG_MEMOIRE"
        !          5998: fi
        !          5999: else
        !          6000:   DEBUG=""
1.14      bertrand 6001: fi
1.1       bertrand 6002: 
1.15    ! bertrand 6003: 
        !          6004: # Check whether --enable-profile was given.
        !          6005: if test "${enable_profile+set}" = set; then :
        !          6006:   enableval=$enable_profile;
        !          6007: if test "$enableval" = "no"; then
        !          6008:    PROFILAGE=""
        !          6009: else
        !          6010:    PROFILAGE="-pg"
        !          6011: fi
        !          6012: else
        !          6013:   PROFILAGE=""
1.1       bertrand 6014: fi
                   6015: 
1.14      bertrand 6016: 
                   6017: 
1.15    ! bertrand 6018: 
        !          6019: if test ! -d tools; then
        !          6020:    mkdir tools
        !          6021: fi
        !          6022: if test ! -d "$srcdir"/tools/$NCURSES; then
        !          6023:    gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
        !          6024:            (cd "$srcdir/tools" && tar -xf -)
        !          6025: fi
        !          6026: if test ! -d "$srcdir"/tools/$READLINE; then
        !          6027:    gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
        !          6028:            (cd "$srcdir/tools" && tar -xf -)
        !          6029: fi
        !          6030: if test ! -d "$srcdir"/tools/$UNITS; then
        !          6031:    gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \
        !          6032:            (cd "$srcdir/tools" && tar -xf -)
        !          6033: fi
        !          6034: if test ! -d "$srcdir"/tools/$GSL; then
        !          6035:    gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
        !          6036:            (cd "$srcdir/tools" && tar -xf -)
        !          6037: fi
        !          6038: if test ! -d "$srcdir"/tools/$GPP; then
        !          6039:    gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
        !          6040:            (cd "$srcdir/tools" && tar -xf -)
        !          6041: fi
        !          6042: if test ! -d "$srcdir"/tools/$FILE; then
        !          6043:    gunzip -c "$srcdir"/tools/$FILE.tar.gz | \
        !          6044:            (cd "$srcdir/tools" && tar -xf - )
        !          6045:    TMP=$(mktemp)
        !          6046:    (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1)
        !          6047:    sed 's/libmagic/librplfile/g' "$srcdir"/tools/$FILE/src/Makefile.am > $TMP
        !          6048:    sed 's/^bin_PROGRAMS = file/bin_PROGRAMS = rplfile/g' $TMP | \
        !          6049:        sed 's/^file_/rplfile_/g' > \
        !          6050:        "$srcdir"/tools/$FILE/src/Makefile.am
        !          6051:    sed 's/file$/rplfile/g' "$srcdir"/tools/$FILE/magic/Makefile.am > $TMP
        !          6052:    \mv -f $TMP "$srcdir"/tools/$FILE/magic/Makefile.am
        !          6053:    (cd "$srcdir"/tools/$FILE && libtoolize --copy --force \
        !          6054:        && aclocal && automake -af && autoconf);
        !          6055: fi
        !          6056: if test ! -d "$srcdir"/tools/$ICONV; then
        !          6057:    gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
        !          6058:            (cd "$srcdir/tools" && tar -xf -)
        !          6059: fi
        !          6060: if test ! -d "$srcdir"/tools/$SQLITE; then
        !          6061:    gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
        !          6062:            (cd "$srcdir/tools" && tar -xf -)
        !          6063: fi
        !          6064: if test ! -d tools/$OPENSSL; then
        !          6065:    gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
        !          6066:            (cd tools && tar -xf -)
1.1       bertrand 6067: fi
                   6068: 
1.15    ! bertrand 6069: # Extract the first word of "libtoolize", so it can be a program name with args.
        !          6070: set dummy libtoolize; ac_word=$2
        !          6071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6072: $as_echo_n "checking for $ac_word... " >&6; }
        !          6073: if test "${ac_cv_prog_LIBTOOLIZE+set}" = set; then :
        !          6074:   $as_echo_n "(cached) " >&6
        !          6075: else
        !          6076:   if test -n "$LIBTOOLIZE"; then
        !          6077:   ac_cv_prog_LIBTOOLIZE="$LIBTOOLIZE" # Let the user override the test.
        !          6078: else
        !          6079: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6080: for as_dir in $PATH
        !          6081: do
        !          6082:   IFS=$as_save_IFS
        !          6083:   test -z "$as_dir" && as_dir=.
        !          6084:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6085:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6086:     ac_cv_prog_LIBTOOLIZE="yes"
        !          6087:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6088:     break 2
        !          6089:   fi
1.14      bertrand 6090: done
1.15    ! bertrand 6091:   done
        !          6092: IFS=$as_save_IFS
1.14      bertrand 6093: 
1.15    ! bertrand 6094:   test -z "$ac_cv_prog_LIBTOOLIZE" && ac_cv_prog_LIBTOOLIZE="no"
1.1       bertrand 6095: fi
                   6096: fi
1.15    ! bertrand 6097: LIBTOOLIZE=$ac_cv_prog_LIBTOOLIZE
        !          6098: if test -n "$LIBTOOLIZE"; then
        !          6099:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBTOOLIZE" >&5
        !          6100: $as_echo "$LIBTOOLIZE" >&6; }
        !          6101: else
        !          6102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6103: $as_echo "no" >&6; }
1.1       bertrand 6104: fi
                   6105: 
                   6106: 
1.15    ! bertrand 6107: if test "$LIBTOOLIZE" = "no"; then
        !          6108:    as_fn_error "Cannot find libtoolize! You have to install it." "$LINENO" 5
        !          6109: fi
1.1       bertrand 6110: 
1.15    ! bertrand 6111: # Extract the first word of "aclocal", so it can be a program name with args.
        !          6112: set dummy aclocal; ac_word=$2
        !          6113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6114: $as_echo_n "checking for $ac_word... " >&6; }
        !          6115: if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
        !          6116:   $as_echo_n "(cached) " >&6
1.1       bertrand 6117: else
1.15    ! bertrand 6118:   if test -n "$ACLOCAL"; then
        !          6119:   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
1.1       bertrand 6120: else
1.15    ! bertrand 6121: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6122: for as_dir in $PATH
        !          6123: do
        !          6124:   IFS=$as_save_IFS
        !          6125:   test -z "$as_dir" && as_dir=.
        !          6126:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6127:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6128:     ac_cv_prog_ACLOCAL="yes"
        !          6129:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6130:     break 2
        !          6131:   fi
        !          6132: done
        !          6133:   done
        !          6134: IFS=$as_save_IFS
1.1       bertrand 6135: 
1.15    ! bertrand 6136:   test -z "$ac_cv_prog_ACLOCAL" && ac_cv_prog_ACLOCAL="no"
1.14      bertrand 6137: fi
1.1       bertrand 6138: fi
1.15    ! bertrand 6139: ACLOCAL=$ac_cv_prog_ACLOCAL
        !          6140: if test -n "$ACLOCAL"; then
        !          6141:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
        !          6142: $as_echo "$ACLOCAL" >&6; }
1.1       bertrand 6143: else
1.15    ! bertrand 6144:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6145: $as_echo "no" >&6; }
        !          6146: fi
1.1       bertrand 6147: 
                   6148: 
1.15    ! bertrand 6149: if test "$ACLOCAL" = "no"; then
        !          6150:    as_fn_error "Cannot find aclocal! You have to install it." "$LINENO" 5
1.1       bertrand 6151: fi
                   6152: 
1.15    ! bertrand 6153: # Extract the first word of "automake", so it can be a program name with args.
        !          6154: set dummy automake; ac_word=$2
        !          6155: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6156: $as_echo_n "checking for $ac_word... " >&6; }
        !          6157: if test "${ac_cv_prog_AUTOMAKE+set}" = set; then :
        !          6158:   $as_echo_n "(cached) " >&6
1.1       bertrand 6159: else
1.15    ! bertrand 6160:   if test -n "$AUTOMAKE"; then
        !          6161:   ac_cv_prog_AUTOMAKE="$AUTOMAKE" # Let the user override the test.
1.1       bertrand 6162: else
1.15    ! bertrand 6163: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6164: for as_dir in $PATH
        !          6165: do
        !          6166:   IFS=$as_save_IFS
        !          6167:   test -z "$as_dir" && as_dir=.
        !          6168:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6169:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6170:     ac_cv_prog_AUTOMAKE="yes"
        !          6171:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6172:     break 2
        !          6173:   fi
        !          6174: done
        !          6175:   done
        !          6176: IFS=$as_save_IFS
1.1       bertrand 6177: 
1.15    ! bertrand 6178:   test -z "$ac_cv_prog_AUTOMAKE" && ac_cv_prog_AUTOMAKE="no"
        !          6179: fi
1.1       bertrand 6180: fi
1.15    ! bertrand 6181: AUTOMAKE=$ac_cv_prog_AUTOMAKE
        !          6182: if test -n "$AUTOMAKE"; then
        !          6183:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOMAKE" >&5
        !          6184: $as_echo "$AUTOMAKE" >&6; }
1.1       bertrand 6185: else
1.15    ! bertrand 6186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6187: $as_echo "no" >&6; }
1.14      bertrand 6188: fi
1.1       bertrand 6189: 
                   6190: 
1.15    ! bertrand 6191: if test "$AUTOMAKE" = "no"; then
        !          6192:    as_fn_error "Cannot find automake! You have to install it." "$LINENO" 5
1.1       bertrand 6193: fi
                   6194: 
1.15    ! bertrand 6195: # Extract the first word of "autoconf", so it can be a program name with args.
        !          6196: set dummy autoconf; ac_word=$2
        !          6197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6198: $as_echo_n "checking for $ac_word... " >&6; }
        !          6199: if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
        !          6200:   $as_echo_n "(cached) " >&6
1.1       bertrand 6201: else
1.15    ! bertrand 6202:   if test -n "$AUTOCONF"; then
        !          6203:   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
1.1       bertrand 6204: else
1.15    ! bertrand 6205: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6206: for as_dir in $PATH
        !          6207: do
        !          6208:   IFS=$as_save_IFS
        !          6209:   test -z "$as_dir" && as_dir=.
        !          6210:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6211:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6212:     ac_cv_prog_AUTOCONF="yes"
        !          6213:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6214:     break 2
        !          6215:   fi
        !          6216: done
        !          6217:   done
        !          6218: IFS=$as_save_IFS
1.1       bertrand 6219: 
1.15    ! bertrand 6220:   test -z "$ac_cv_prog_AUTOCONF" && ac_cv_prog_AUTOCONF="no"
1.1       bertrand 6221: fi
                   6222: fi
1.15    ! bertrand 6223: AUTOCONF=$ac_cv_prog_AUTOCONF
        !          6224: if test -n "$AUTOCONF"; then
        !          6225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
        !          6226: $as_echo "$AUTOCONF" >&6; }
        !          6227: else
        !          6228:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6229: $as_echo "no" >&6; }
1.1       bertrand 6230: fi
                   6231: 
                   6232: 
1.15    ! bertrand 6233: if test "$AUTOCONF" = "no"; then
        !          6234:    as_fn_error "Cannot find autoconf! You have to install it." "$LINENO" 5
        !          6235: fi
        !          6236: 
1.1       bertrand 6237: 
                   6238: 
1.15    ! bertrand 6239: # Check whether --enable-final-run-path was given.
        !          6240: if test "${enable_final_run_path+set}" = set; then :
        !          6241:   enableval=$enable_final_run_path;
        !          6242:    if test "x$enable_final_run_path" = "x"; then
        !          6243:        { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
        !          6244: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
        !          6245:        as_fn_error "\"You should specify final path !\"" "$LINENO" 5
        !          6246:    else
        !          6247:        RUNPATH="$enable_final_run_path"
        !          6248:    fi
1.1       bertrand 6249: 
                   6250: else
1.15    ! bertrand 6251:   RUNPATH="\${prefix}"
1.1       bertrand 6252: 
                   6253: fi
                   6254: 
1.15    ! bertrand 6255: 
        !          6256: 
        !          6257: 
        !          6258: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
        !          6259: $as_echo_n "checking whether ln -s works... " >&6; }
        !          6260: LN_S=$as_ln_s
        !          6261: if test "$LN_S" = "ln -s"; then
        !          6262:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6263: $as_echo "yes" >&6; }
        !          6264: else
        !          6265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
        !          6266: $as_echo "no, using $LN_S" >&6; }
1.1       bertrand 6267: fi
                   6268: 
1.15    ! bertrand 6269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          6270: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
        !          6271: set x ${MAKE-make}
        !          6272: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
        !          6273: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          6274:   $as_echo_n "(cached) " >&6
1.1       bertrand 6275: else
1.15    ! bertrand 6276:   cat >conftest.make <<\_ACEOF
        !          6277: SHELL = /bin/sh
        !          6278: all:
        !          6279:    @echo '@@@%%%=$(MAKE)=@@@%%%'
1.14      bertrand 6280: _ACEOF
1.15    ! bertrand 6281: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
        !          6282: case `${MAKE-make} -f conftest.make 2>/dev/null` in
        !          6283:   *@@@%%%=?*=@@@%%%*)
        !          6284:     eval ac_cv_prog_make_${ac_make}_set=yes;;
        !          6285:   *)
        !          6286:     eval ac_cv_prog_make_${ac_make}_set=no;;
1.14      bertrand 6287: esac
1.15    ! bertrand 6288: rm -f conftest.make
        !          6289: fi
        !          6290: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
        !          6291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6292: $as_echo "yes" >&6; }
        !          6293:   SET_MAKE=
        !          6294: else
        !          6295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6296: $as_echo "no" >&6; }
        !          6297:   SET_MAKE="MAKE=${MAKE-make}"
        !          6298: fi
1.1       bertrand 6299: 
1.15    ! bertrand 6300: if test -n "$ac_tool_prefix"; then
        !          6301:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          6302: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          6303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6304: $as_echo_n "checking for $ac_word... " >&6; }
        !          6305: if test "${ac_cv_prog_RANLIB+set}" = set; then :
        !          6306:   $as_echo_n "(cached) " >&6
        !          6307: else
        !          6308:   if test -n "$RANLIB"; then
        !          6309:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.1       bertrand 6310: else
1.15    ! bertrand 6311: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6312: for as_dir in $PATH
        !          6313: do
        !          6314:   IFS=$as_save_IFS
        !          6315:   test -z "$as_dir" && as_dir=.
        !          6316:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6317:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6318:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          6319:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6320:     break 2
        !          6321:   fi
        !          6322: done
        !          6323:   done
        !          6324: IFS=$as_save_IFS
1.1       bertrand 6325: 
                   6326: fi
1.15    ! bertrand 6327: fi
        !          6328: RANLIB=$ac_cv_prog_RANLIB
        !          6329: if test -n "$RANLIB"; then
        !          6330:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
        !          6331: $as_echo "$RANLIB" >&6; }
        !          6332: else
        !          6333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6334: $as_echo "no" >&6; }
        !          6335: fi
        !          6336: 
1.1       bertrand 6337: 
1.15    ! bertrand 6338: fi
        !          6339: if test -z "$ac_cv_prog_RANLIB"; then
        !          6340:   ac_ct_RANLIB=$RANLIB
        !          6341:   # Extract the first word of "ranlib", so it can be a program name with args.
        !          6342: set dummy ranlib; ac_word=$2
        !          6343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6344: $as_echo_n "checking for $ac_word... " >&6; }
        !          6345: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
        !          6346:   $as_echo_n "(cached) " >&6
        !          6347: else
        !          6348:   if test -n "$ac_ct_RANLIB"; then
        !          6349:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
        !          6350: else
        !          6351: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6352: for as_dir in $PATH
        !          6353: do
        !          6354:   IFS=$as_save_IFS
        !          6355:   test -z "$as_dir" && as_dir=.
        !          6356:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6357:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6358:     ac_cv_prog_ac_ct_RANLIB="ranlib"
        !          6359:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6360:     break 2
        !          6361:   fi
        !          6362: done
1.14      bertrand 6363:   done
1.15    ! bertrand 6364: IFS=$as_save_IFS
        !          6365: 
        !          6366: fi
        !          6367: fi
        !          6368: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
        !          6369: if test -n "$ac_ct_RANLIB"; then
        !          6370:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
        !          6371: $as_echo "$ac_ct_RANLIB" >&6; }
        !          6372: else
        !          6373:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6374: $as_echo "no" >&6; }
        !          6375: fi
        !          6376: 
        !          6377:   if test "x$ac_ct_RANLIB" = x; then
        !          6378:     RANLIB=":"
        !          6379:   else
        !          6380:     case $cross_compiling:$ac_tool_warned in
        !          6381: yes:)
        !          6382: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6383: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6384: ac_tool_warned=yes ;;
        !          6385: esac
        !          6386:     RANLIB=$ac_ct_RANLIB
        !          6387:   fi
1.14      bertrand 6388: else
1.15    ! bertrand 6389:   RANLIB="$ac_cv_prog_RANLIB"
        !          6390: fi
1.1       bertrand 6391: 
                   6392: 
1.15    ! bertrand 6393: # Extract the first word of "nawk", so it can be a program name with args.
        !          6394: set dummy nawk; ac_word=$2
        !          6395: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6396: $as_echo_n "checking for $ac_word... " >&6; }
        !          6397: if test "${ac_cv_prog_AWK+set}" = set; then :
        !          6398:   $as_echo_n "(cached) " >&6
        !          6399: else
        !          6400:   if test -n "$AWK"; then
        !          6401:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
        !          6402: else
        !          6403: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6404: for as_dir in $PATH
        !          6405: do
        !          6406:   IFS=$as_save_IFS
        !          6407:   test -z "$as_dir" && as_dir=.
        !          6408:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6409:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6410:     ac_cv_prog_AWK="yes"
        !          6411:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6412:     break 2
        !          6413:   fi
        !          6414: done
        !          6415:   done
        !          6416: IFS=$as_save_IFS
1.1       bertrand 6417: 
1.15    ! bertrand 6418:   test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
        !          6419: fi
        !          6420: fi
        !          6421: AWK=$ac_cv_prog_AWK
        !          6422: if test -n "$AWK"; then
        !          6423:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
        !          6424: $as_echo "$AWK" >&6; }
1.1       bertrand 6425: else
1.15    ! bertrand 6426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6427: $as_echo "no" >&6; }
        !          6428: fi
        !          6429: 
1.1       bertrand 6430: 
1.15    ! bertrand 6431: if test "$AWK" = no; then
        !          6432:    as_fn_error "Can not find nawk !" "$LINENO" 5
1.1       bertrand 6433: fi
                   6434: 
1.15    ! bertrand 6435: # Extract the first word of "sed", so it can be a program name with args.
        !          6436: set dummy sed; ac_word=$2
        !          6437: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6438: $as_echo_n "checking for $ac_word... " >&6; }
        !          6439: if test "${ac_cv_prog_SED+set}" = set; then :
        !          6440:   $as_echo_n "(cached) " >&6
        !          6441: else
        !          6442:   if test -n "$SED"; then
        !          6443:   ac_cv_prog_SED="$SED" # Let the user override the test.
        !          6444: else
        !          6445: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6446: for as_dir in $PATH
        !          6447: do
        !          6448:   IFS=$as_save_IFS
        !          6449:   test -z "$as_dir" && as_dir=.
        !          6450:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6451:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6452:     ac_cv_prog_SED="yes"
        !          6453:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6454:     break 2
        !          6455:   fi
        !          6456: done
1.14      bertrand 6457:   done
1.15    ! bertrand 6458: IFS=$as_save_IFS
1.1       bertrand 6459: 
1.15    ! bertrand 6460:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no"
1.14      bertrand 6461: fi
1.15    ! bertrand 6462: fi
        !          6463: SED=$ac_cv_prog_SED
        !          6464: if test -n "$SED"; then
        !          6465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
        !          6466: $as_echo "$SED" >&6; }
        !          6467: else
        !          6468:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6469: $as_echo "no" >&6; }
1.14      bertrand 6470: fi
1.1       bertrand 6471: 
                   6472: 
1.15    ! bertrand 6473: if test "$SED" = no; then
        !          6474:    as_fn_error "Can not find sed !" "$LINENO" 5
        !          6475: fi
1.14      bertrand 6476: 
1.15    ! bertrand 6477: if test "$TEX_SUPPORT" = guessed; then
        !          6478:    POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
1.1       bertrand 6479: 
1.15    ! bertrand 6480:    # Extract the first word of "tex", so it can be a program name with args.
        !          6481: set dummy tex; ac_word=$2
        !          6482: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6483: $as_echo_n "checking for $ac_word... " >&6; }
        !          6484: if test "${ac_cv_prog_TEX+set}" = set; then :
        !          6485:   $as_echo_n "(cached) " >&6
1.1       bertrand 6486: else
1.15    ! bertrand 6487:   if test -n "$TEX"; then
        !          6488:   ac_cv_prog_TEX="$TEX" # Let the user override the test.
1.1       bertrand 6489: else
1.15    ! bertrand 6490: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6491: for as_dir in $PATH
        !          6492: do
        !          6493:   IFS=$as_save_IFS
        !          6494:   test -z "$as_dir" && as_dir=.
        !          6495:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6496:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6497:     ac_cv_prog_TEX="yes"
        !          6498:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6499:     break 2
        !          6500:   fi
        !          6501: done
        !          6502:   done
        !          6503: IFS=$as_save_IFS
1.1       bertrand 6504: 
1.15    ! bertrand 6505:   test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no"
1.1       bertrand 6506: fi
                   6507: fi
1.15    ! bertrand 6508: TEX=$ac_cv_prog_TEX
        !          6509: if test -n "$TEX"; then
        !          6510:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
        !          6511: $as_echo "$TEX" >&6; }
        !          6512: else
        !          6513:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6514: $as_echo "no" >&6; }
1.1       bertrand 6515: fi
1.14      bertrand 6516: 
                   6517: 
1.15    ! bertrand 6518:    if test "$TEX" = no; then
        !          6519:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it.
        !          6520: Download at http://tex.loria.fr/
        !          6521: " >&5
        !          6522: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it.
        !          6523: Download at http://tex.loria.fr/
        !          6524: " >&2;}
        !          6525:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
        !          6526:    fi
1.14      bertrand 6527: 
1.15    ! bertrand 6528:    # Extract the first word of "latex", so it can be a program name with args.
        !          6529: set dummy latex; ac_word=$2
        !          6530: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6531: $as_echo_n "checking for $ac_word... " >&6; }
        !          6532: if test "${ac_cv_prog_LATEX+set}" = set; then :
        !          6533:   $as_echo_n "(cached) " >&6
1.1       bertrand 6534: else
1.15    ! bertrand 6535:   if test -n "$LATEX"; then
        !          6536:   ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
1.1       bertrand 6537: else
1.15    ! bertrand 6538: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6539: for as_dir in $PATH
        !          6540: do
        !          6541:   IFS=$as_save_IFS
        !          6542:   test -z "$as_dir" && as_dir=.
        !          6543:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6544:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6545:     ac_cv_prog_LATEX="yes"
        !          6546:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6547:     break 2
        !          6548:   fi
        !          6549: done
        !          6550:   done
        !          6551: IFS=$as_save_IFS
1.1       bertrand 6552: 
1.15    ! bertrand 6553:   test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
1.1       bertrand 6554: fi
                   6555: fi
1.15    ! bertrand 6556: LATEX=$ac_cv_prog_LATEX
        !          6557: if test -n "$LATEX"; then
        !          6558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
        !          6559: $as_echo "$LATEX" >&6; }
        !          6560: else
        !          6561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6562: $as_echo "no" >&6; }
        !          6563: fi
1.14      bertrand 6564: 
1.1       bertrand 6565: 
1.15    ! bertrand 6566:    if test "$LATEX" = no; then
        !          6567:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it.
        !          6568: Download at http://tex.loria.fr/
        !          6569: " >&5
        !          6570: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it.
        !          6571: Download at http://tex.loria.fr/
        !          6572: " >&2;}
        !          6573:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
        !          6574:    fi
1.1       bertrand 6575: 
1.15    ! bertrand 6576:    # Extract the first word of "dvips", so it can be a program name with args.
        !          6577: set dummy dvips; ac_word=$2
        !          6578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6579: $as_echo_n "checking for $ac_word... " >&6; }
        !          6580: if test "${ac_cv_prog_DVIPS+set}" = set; then :
        !          6581:   $as_echo_n "(cached) " >&6
        !          6582: else
        !          6583:   if test -n "$DVIPS"; then
        !          6584:   ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
        !          6585: else
        !          6586: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6587: for as_dir in $PATH
        !          6588: do
        !          6589:   IFS=$as_save_IFS
        !          6590:   test -z "$as_dir" && as_dir=.
        !          6591:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6592:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6593:     ac_cv_prog_DVIPS="yes"
        !          6594:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6595:     break 2
        !          6596:   fi
        !          6597: done
        !          6598:   done
        !          6599: IFS=$as_save_IFS
1.1       bertrand 6600: 
1.15    ! bertrand 6601:   test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no"
        !          6602: fi
1.1       bertrand 6603: fi
1.15    ! bertrand 6604: DVIPS=$ac_cv_prog_DVIPS
        !          6605: if test -n "$DVIPS"; then
        !          6606:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
        !          6607: $as_echo "$DVIPS" >&6; }
1.1       bertrand 6608: else
1.15    ! bertrand 6609:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6610: $as_echo "no" >&6; }
        !          6611: fi
1.1       bertrand 6612: 
                   6613: 
1.15    ! bertrand 6614:    if test "$DVIPS" = no; then
        !          6615:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it.
        !          6616: Download at http://tex.loria.fr/
        !          6617: " >&5
        !          6618: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it.
        !          6619: Download at http://tex.loria.fr/
        !          6620: " >&2;}
        !          6621:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
        !          6622:    fi
1.1       bertrand 6623: 
1.15    ! bertrand 6624:    # Extract the first word of "gs", so it can be a program name with args.
        !          6625: set dummy gs; ac_word=$2
        !          6626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6627: $as_echo_n "checking for $ac_word... " >&6; }
        !          6628: if test "${ac_cv_prog_GS+set}" = set; then :
        !          6629:   $as_echo_n "(cached) " >&6
        !          6630: else
        !          6631:   if test -n "$GS"; then
        !          6632:   ac_cv_prog_GS="$GS" # Let the user override the test.
1.1       bertrand 6633: else
1.15    ! bertrand 6634: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6635: for as_dir in $PATH
        !          6636: do
        !          6637:   IFS=$as_save_IFS
        !          6638:   test -z "$as_dir" && as_dir=.
        !          6639:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6640:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6641:     ac_cv_prog_GS="yes"
        !          6642:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6643:     break 2
        !          6644:   fi
        !          6645: done
        !          6646:   done
        !          6647: IFS=$as_save_IFS
1.1       bertrand 6648: 
1.15    ! bertrand 6649:   test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no"
        !          6650: fi
        !          6651: fi
        !          6652: GS=$ac_cv_prog_GS
        !          6653: if test -n "$GS"; then
        !          6654:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
        !          6655: $as_echo "$GS" >&6; }
        !          6656: else
        !          6657:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6658: $as_echo "no" >&6; }
1.1       bertrand 6659: fi
                   6660: 
1.15    ! bertrand 6661: 
        !          6662:    if test "$GS" = no; then
        !          6663:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it.
        !          6664: Download at http://ftp.lip6.fr/
        !          6665: " >&5
        !          6666: $as_echo "$as_me: WARNING: Cannot find gs! You may install it.
        !          6667: Download at http://ftp.lip6.fr/
        !          6668: " >&2;}
        !          6669:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
        !          6670:    fi
        !          6671: 
        !          6672:    # Extract the first word of "gv", so it can be a program name with args.
        !          6673: set dummy gv; ac_word=$2
        !          6674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6675: $as_echo_n "checking for $ac_word... " >&6; }
        !          6676: if test "${ac_cv_prog_GV+set}" = set; then :
        !          6677:   $as_echo_n "(cached) " >&6
        !          6678: else
        !          6679:   if test -n "$GV"; then
        !          6680:   ac_cv_prog_GV="$GV" # Let the user override the test.
        !          6681: else
        !          6682: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6683: for as_dir in $PATH
        !          6684: do
        !          6685:   IFS=$as_save_IFS
        !          6686:   test -z "$as_dir" && as_dir=.
        !          6687:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6688:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6689:     ac_cv_prog_GV="yes"
        !          6690:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6691:     break 2
        !          6692:   fi
        !          6693: done
1.14      bertrand 6694:   done
1.15    ! bertrand 6695: IFS=$as_save_IFS
1.1       bertrand 6696: 
1.15    ! bertrand 6697:   test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no"
        !          6698: fi
1.1       bertrand 6699: fi
1.15    ! bertrand 6700: GV=$ac_cv_prog_GV
        !          6701: if test -n "$GV"; then
        !          6702:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
        !          6703: $as_echo "$GV" >&6; }
        !          6704: else
        !          6705:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6706: $as_echo "no" >&6; }
1.1       bertrand 6707: fi
1.14      bertrand 6708: 
                   6709: 
1.15    ! bertrand 6710:    if test "$GV" = no; then
        !          6711:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it.
        !          6712: Download at http://ftp.lip6.fr/
        !          6713: " >&5
        !          6714: $as_echo "$as_me: WARNING: Cannot find gv! You may install it.
        !          6715: Download at http://ftp.lip6.fr/
        !          6716: " >&2;}
        !          6717:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
        !          6718:    fi
1.1       bertrand 6719: else
1.15    ! bertrand 6720:    if test "$TEX_SUPPORT" = no; then
        !          6721:        POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT"
        !          6722:    else
        !          6723:        POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT"
        !          6724:    fi
1.1       bertrand 6725: fi
                   6726: 
1.15    ! bertrand 6727: if test "$GNUPLOT_SUPPORT" = guessed; then
        !          6728:    # Extract the first word of "gnuplot", so it can be a program name with args.
        !          6729: set dummy gnuplot; ac_word=$2
        !          6730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6731: $as_echo_n "checking for $ac_word... " >&6; }
        !          6732: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then :
        !          6733:   $as_echo_n "(cached) " >&6
1.14      bertrand 6734: else
1.15    ! bertrand 6735:   if test -n "$GNUPLOT_P"; then
        !          6736:   ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test.
1.1       bertrand 6737: else
1.15    ! bertrand 6738: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6739: for as_dir in $PATH
        !          6740: do
        !          6741:   IFS=$as_save_IFS
        !          6742:   test -z "$as_dir" && as_dir=.
        !          6743:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6744:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6745:     ac_cv_prog_GNUPLOT_P="yes"
        !          6746:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6747:     break 2
        !          6748:   fi
        !          6749: done
        !          6750:   done
        !          6751: IFS=$as_save_IFS
1.1       bertrand 6752: 
1.15    ! bertrand 6753:   test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no"
1.1       bertrand 6754: fi
                   6755: fi
1.15    ! bertrand 6756: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P
        !          6757: if test -n "$GNUPLOT_P"; then
        !          6758:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5
        !          6759: $as_echo "$GNUPLOT_P" >&6; }
        !          6760: else
        !          6761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6762: $as_echo "no" >&6; }
1.1       bertrand 6763: fi
                   6764: 
                   6765: 
1.15    ! bertrand 6766:    if test "$GNUPLOT_P" = no; then
        !          6767:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it.
        !          6768: Download at http://www.gnuplot.vt.edu/
        !          6769: " >&5
        !          6770: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it.
        !          6771: Download at http://www.gnuplot.vt.edu/
        !          6772: " >&2;}
        !          6773:        GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
        !          6774:    else
        !          6775:        GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
        !          6776:    fi
        !          6777: else
        !          6778:    if test "$GNUPLOT_SUPPORT" = no; then
        !          6779:        GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT"
        !          6780:    else
        !          6781:        GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT"
        !          6782:    fi
        !          6783: fi
1.1       bertrand 6784: 
1.15    ! bertrand 6785: if test "$VIM_SUPPORT" = guessed; then
        !          6786:    # Extract the first word of "vim", so it can be a program name with args.
        !          6787: set dummy vim; ac_word=$2
        !          6788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6789: $as_echo_n "checking for $ac_word... " >&6; }
        !          6790: if test "${ac_cv_prog_VIM+set}" = set; then :
        !          6791:   $as_echo_n "(cached) " >&6
1.1       bertrand 6792: else
1.15    ! bertrand 6793:   if test -n "$VIM"; then
        !          6794:   ac_cv_prog_VIM="$VIM" # Let the user override the test.
1.1       bertrand 6795: else
1.15    ! bertrand 6796: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6797: for as_dir in $PATH
        !          6798: do
        !          6799:   IFS=$as_save_IFS
        !          6800:   test -z "$as_dir" && as_dir=.
        !          6801:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6802:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6803:     ac_cv_prog_VIM="yes"
        !          6804:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6805:     break 2
        !          6806:   fi
        !          6807: done
        !          6808:   done
        !          6809: IFS=$as_save_IFS
1.1       bertrand 6810: 
1.15    ! bertrand 6811:   test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no"
1.1       bertrand 6812: fi
                   6813: fi
1.15    ! bertrand 6814: VIM=$ac_cv_prog_VIM
        !          6815: if test -n "$VIM"; then
        !          6816:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5
        !          6817: $as_echo "$VIM" >&6; }
1.1       bertrand 6818: else
1.15    ! bertrand 6819:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6820: $as_echo "no" >&6; }
        !          6821: fi
1.1       bertrand 6822: 
                   6823: 
1.15    ! bertrand 6824:    if test "$VIM" = no; then
        !          6825:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it.
        !          6826: Download at http://www.vim.org/
        !          6827: " >&5
        !          6828: $as_echo "$as_me: WARNING: Cannot find vim! You may install it.
        !          6829: Download at http://www.vim.org/
        !          6830: " >&2;}
        !          6831:        VIM_SUPPORT="-UVIM_SUPPORT"
        !          6832:    else
        !          6833:        VIM_SUPPORT="-DVIM_SUPPORT"
        !          6834:    fi
1.1       bertrand 6835: else
1.15    ! bertrand 6836:    if test "$VIM_SUPPORT" = no; then
        !          6837:        VIM_SUPPORT="-UVIM_SUPPORT"
        !          6838:    else
        !          6839:        VIM_SUPPORT="-DVIM_SUPPORT"
        !          6840:    fi
1.1       bertrand 6841: fi
                   6842: 
1.15    ! bertrand 6843: if test "$MOTIF_SUPPORT" = guessed; then
        !          6844:    CFLAGS_ORIG=$CFLAGS
        !          6845:    LIBS_ORIG=$LIBS
        !          6846:    CFLAGS="$CFLAGS $X_CFLAGS"
        !          6847:    LIBS="$LIB $X_LIBS"
        !          6848:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5
        !          6849: $as_echo_n "checking for main in -lXm... " >&6; }
        !          6850: if test "${ac_cv_lib_Xm_main+set}" = set; then :
        !          6851:   $as_echo_n "(cached) " >&6
1.1       bertrand 6852: else
1.15    ! bertrand 6853:   ac_check_lib_save_LIBS=$LIBS
        !          6854: LIBS="-lXm  $LIBS"
        !          6855: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6856: /* end confdefs.h.  */
1.1       bertrand 6857: 
                   6858: 
1.14      bertrand 6859: int
                   6860: main ()
                   6861: {
1.15    ! bertrand 6862: return main ();
1.14      bertrand 6863:   ;
                   6864:   return 0;
                   6865: }
                   6866: _ACEOF
1.15    ! bertrand 6867: if ac_fn_c_try_link "$LINENO"; then :
        !          6868:   ac_cv_lib_Xm_main=yes
1.1       bertrand 6869: else
1.15    ! bertrand 6870:   ac_cv_lib_Xm_main=no
        !          6871: fi
        !          6872: rm -f core conftest.err conftest.$ac_objext \
        !          6873:     conftest$ac_exeext conftest.$ac_ext
        !          6874: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 6875: fi
1.15    ! bertrand 6876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5
        !          6877: $as_echo "$ac_cv_lib_Xm_main" >&6; }
        !          6878: if test "x$ac_cv_lib_Xm_main" = x""yes; then :
        !          6879:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
1.1       bertrand 6880: else
1.15    ! bertrand 6881:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
1.1       bertrand 6882: fi
1.14      bertrand 6883: 
1.15    ! bertrand 6884:    if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then
        !          6885:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.
        !          6886: Motif flag is disabled.
        !          6887: " >&5
        !          6888: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.
        !          6889: Motif flag is disabled.
        !          6890: " >&2;}
        !          6891:    fi
        !          6892:    LIBS=$LIBS_ORIG
        !          6893:    CFLAGS=$CFLAGS_ORIG
1.1       bertrand 6894: fi
                   6895: 
1.15    ! bertrand 6896: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
        !          6897:    CFLAGS_ORIG=$CFLAGS
        !          6898:    LIBS_ORIG=$LIBS
        !          6899:    CFLAGS="$CFLAGS $X_CFLAGS"
        !          6900:    LIBS="$LIB $X_LIBS"
        !          6901:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
        !          6902: $as_echo_n "checking for main in -lXpm... " >&6; }
        !          6903: if test "${ac_cv_lib_Xpm_main+set}" = set; then :
        !          6904:   $as_echo_n "(cached) " >&6
        !          6905: else
        !          6906:   ac_check_lib_save_LIBS=$LIBS
        !          6907: LIBS="-lXpm  $LIBS"
        !          6908: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 6909: /* end confdefs.h.  */
                   6910: 
1.1       bertrand 6911: 
                   6912: int
                   6913: main ()
                   6914: {
1.15    ! bertrand 6915: return main ();
1.1       bertrand 6916:   ;
                   6917:   return 0;
                   6918: }
                   6919: _ACEOF
1.15    ! bertrand 6920: if ac_fn_c_try_link "$LINENO"; then :
        !          6921:   ac_cv_lib_Xpm_main=yes
1.1       bertrand 6922: else
1.15    ! bertrand 6923:   ac_cv_lib_Xpm_main=no
        !          6924: fi
        !          6925: rm -f core conftest.err conftest.$ac_objext \
        !          6926:     conftest$ac_exeext conftest.$ac_ext
        !          6927: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 6928: fi
1.15    ! bertrand 6929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
        !          6930: $as_echo "$ac_cv_lib_Xpm_main" >&6; }
        !          6931: if test "x$ac_cv_lib_Xpm_main" = x""yes; then :
        !          6932:   MOTIF_SUPPORT="-DMOTIF_SUPPORT"
        !          6933: else
        !          6934:   MOTIF_SUPPORT="-UMOTIF_SUPPORT"
1.1       bertrand 6935: fi
1.15    ! bertrand 6936: 
        !          6937:    if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
        !          6938:        libX="$X_LIBS -lXm -lXpm -lXt -lX11"
        !          6939:    else
        !          6940:        libX=""
        !          6941:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.
        !          6942: Motif flag is disabled.
        !          6943: " >&5
        !          6944: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.
        !          6945: Motif flag is disabled.
        !          6946: " >&2;}
        !          6947:    fi
        !          6948:    LIBS=$LIBS_ORIG
        !          6949:    CFLAGS=$CFLAGS_ORIG
        !          6950: else
        !          6951:    libX=""
1.1       bertrand 6952: fi
1.14      bertrand 6953: 
                   6954: 
                   6955: 
1.1       bertrand 6956: 
                   6957: 
1.15    ! bertrand 6958: 
        !          6959: 
        !          6960: 
        !          6961: 
        !          6962: 
        !          6963: 
        !          6964: DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
        !          6965: 
        !          6966: 
        !          6967: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
        !          6968: $as_echo_n "checking for main in -lm... " >&6; }
        !          6969: if test "${ac_cv_lib_m_main+set}" = set; then :
        !          6970:   $as_echo_n "(cached) " >&6
1.1       bertrand 6971: else
1.15    ! bertrand 6972:   ac_check_lib_save_LIBS=$LIBS
        !          6973: LIBS="-lm  $LIBS"
        !          6974: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 6975: /* end confdefs.h.  */
1.15    ! bertrand 6976: 
        !          6977: 
1.1       bertrand 6978: int
                   6979: main ()
                   6980: {
1.15    ! bertrand 6981: return main ();
1.1       bertrand 6982:   ;
                   6983:   return 0;
                   6984: }
                   6985: _ACEOF
1.15    ! bertrand 6986: if ac_fn_c_try_link "$LINENO"; then :
        !          6987:   ac_cv_lib_m_main=yes
1.1       bertrand 6988: else
1.15    ! bertrand 6989:   ac_cv_lib_m_main=no
        !          6990: fi
        !          6991: rm -f core conftest.err conftest.$ac_objext \
        !          6992:     conftest$ac_exeext conftest.$ac_ext
        !          6993: LIBS=$ac_check_lib_save_LIBS
        !          6994: fi
        !          6995: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
        !          6996: $as_echo "$ac_cv_lib_m_main" >&6; }
        !          6997: if test "x$ac_cv_lib_m_main" = x""yes; then :
        !          6998:   cat >>confdefs.h <<_ACEOF
        !          6999: #define HAVE_LIBM 1
        !          7000: _ACEOF
1.14      bertrand 7001: 
1.15    ! bertrand 7002:   LIBS="-lm $LIBS"
1.1       bertrand 7003: 
1.15    ! bertrand 7004: else
        !          7005:   as_fn_error "Can not find libm !" "$LINENO" 5
1.1       bertrand 7006: fi
                   7007: 
1.15    ! bertrand 7008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
        !          7009: $as_echo_n "checking for main in -lpthread... " >&6; }
        !          7010: if test "${ac_cv_lib_pthread_main+set}" = set; then :
        !          7011:   $as_echo_n "(cached) " >&6
1.1       bertrand 7012: else
1.15    ! bertrand 7013:   ac_check_lib_save_LIBS=$LIBS
        !          7014: LIBS="-lpthread  $LIBS"
        !          7015: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7016: /* end confdefs.h.  */
1.15    ! bertrand 7017: 
        !          7018: 
1.14      bertrand 7019: int
                   7020: main ()
                   7021: {
1.15    ! bertrand 7022: return main ();
1.14      bertrand 7023:   ;
                   7024:   return 0;
                   7025: }
                   7026: _ACEOF
1.15    ! bertrand 7027: if ac_fn_c_try_link "$LINENO"; then :
        !          7028:   ac_cv_lib_pthread_main=yes
        !          7029: else
        !          7030:   ac_cv_lib_pthread_main=no
        !          7031: fi
        !          7032: rm -f core conftest.err conftest.$ac_objext \
        !          7033:     conftest$ac_exeext conftest.$ac_ext
        !          7034: LIBS=$ac_check_lib_save_LIBS
        !          7035: fi
        !          7036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
        !          7037: $as_echo "$ac_cv_lib_pthread_main" >&6; }
        !          7038: if test "x$ac_cv_lib_pthread_main" = x""yes; then :
        !          7039:   cat >>confdefs.h <<_ACEOF
        !          7040: #define HAVE_LIBPTHREAD 1
1.14      bertrand 7041: _ACEOF
                   7042: 
1.15    ! bertrand 7043:   LIBS="-lpthread $LIBS"
        !          7044: 
1.1       bertrand 7045: else
1.15    ! bertrand 7046:   as_fn_error "Can not find libpthread !" "$LINENO" 5
        !          7047: fi
1.14      bertrand 7048: 
1.1       bertrand 7049: 
1.15    ! bertrand 7050: if test "$CYGWIN" != yes; then
        !          7051:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
        !          7052: $as_echo_n "checking for dlopen in -ldl... " >&6; }
        !          7053: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
        !          7054:   $as_echo_n "(cached) " >&6
1.1       bertrand 7055: else
1.15    ! bertrand 7056:   ac_check_lib_save_LIBS=$LIBS
        !          7057: LIBS="-ldl  $LIBS"
        !          7058: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7059: /* end confdefs.h.  */
                   7060: 
1.15    ! bertrand 7061: /* Override any GCC internal prototype to avoid an error.
        !          7062:    Use char because int might match the return type of a GCC
        !          7063:    builtin and then its argument prototype would still apply.  */
        !          7064: #ifdef __cplusplus
        !          7065: extern "C"
        !          7066: #endif
        !          7067: char dlopen ();
1.1       bertrand 7068: int
                   7069: main ()
                   7070: {
1.15    ! bertrand 7071: return dlopen ();
1.1       bertrand 7072:   ;
                   7073:   return 0;
                   7074: }
                   7075: _ACEOF
1.15    ! bertrand 7076: if ac_fn_c_try_link "$LINENO"; then :
        !          7077:   ac_cv_lib_dl_dlopen=yes
1.1       bertrand 7078: else
1.15    ! bertrand 7079:   ac_cv_lib_dl_dlopen=no
        !          7080: fi
        !          7081: rm -f core conftest.err conftest.$ac_objext \
        !          7082:     conftest$ac_exeext conftest.$ac_ext
        !          7083: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 7084: fi
1.15    ! bertrand 7085: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
        !          7086: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
        !          7087: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
        !          7088:   LIBS="$LIBS -ldl"
1.14      bertrand 7089: else
1.15    ! bertrand 7090:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5
        !          7091: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;}
1.1       bertrand 7092: fi
                   7093: 
1.14      bertrand 7094: fi
1.1       bertrand 7095: 
1.15    ! bertrand 7096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
        !          7097: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
        !          7098: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
        !          7099:   $as_echo_n "(cached) " >&6
        !          7100: else
        !          7101:   ac_check_lib_save_LIBS=$LIBS
        !          7102: LIBS="-lrt  $LIBS"
        !          7103: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7104: /* end confdefs.h.  */
1.15    ! bertrand 7105: 
        !          7106: /* Override any GCC internal prototype to avoid an error.
        !          7107:    Use char because int might match the return type of a GCC
        !          7108:    builtin and then its argument prototype would still apply.  */
        !          7109: #ifdef __cplusplus
        !          7110: extern "C"
        !          7111: #endif
        !          7112: char nanosleep ();
1.1       bertrand 7113: int
                   7114: main ()
                   7115: {
1.15    ! bertrand 7116: return nanosleep ();
1.1       bertrand 7117:   ;
                   7118:   return 0;
                   7119: }
                   7120: _ACEOF
1.15    ! bertrand 7121: if ac_fn_c_try_link "$LINENO"; then :
        !          7122:   ac_cv_lib_rt_nanosleep=yes
        !          7123: else
        !          7124:   ac_cv_lib_rt_nanosleep=no
        !          7125: fi
        !          7126: rm -f core conftest.err conftest.$ac_objext \
        !          7127:     conftest$ac_exeext conftest.$ac_ext
        !          7128: LIBS=$ac_check_lib_save_LIBS
        !          7129: fi
        !          7130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
        !          7131: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
        !          7132: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
        !          7133:   LIBS="$LIBS -lrt"
1.1       bertrand 7134: else
1.15    ! bertrand 7135:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5
        !          7136: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;}
        !          7137: fi
1.1       bertrand 7138: 
                   7139: 
1.15    ! bertrand 7140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
        !          7141: $as_echo_n "checking for bind in -lsocket... " >&6; }
        !          7142: if test "${ac_cv_lib_socket_bind+set}" = set; then :
        !          7143:   $as_echo_n "(cached) " >&6
1.1       bertrand 7144: else
1.15    ! bertrand 7145:   ac_check_lib_save_LIBS=$LIBS
        !          7146: LIBS="-lsocket  $LIBS"
        !          7147: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7148: /* end confdefs.h.  */
1.15    ! bertrand 7149: 
        !          7150: /* Override any GCC internal prototype to avoid an error.
        !          7151:    Use char because int might match the return type of a GCC
        !          7152:    builtin and then its argument prototype would still apply.  */
        !          7153: #ifdef __cplusplus
        !          7154: extern "C"
        !          7155: #endif
        !          7156: char bind ();
1.1       bertrand 7157: int
                   7158: main ()
                   7159: {
1.15    ! bertrand 7160: return bind ();
1.1       bertrand 7161:   ;
                   7162:   return 0;
                   7163: }
                   7164: _ACEOF
1.15    ! bertrand 7165: if ac_fn_c_try_link "$LINENO"; then :
        !          7166:   ac_cv_lib_socket_bind=yes
1.1       bertrand 7167: else
1.15    ! bertrand 7168:   ac_cv_lib_socket_bind=no
1.1       bertrand 7169: fi
1.15    ! bertrand 7170: rm -f core conftest.err conftest.$ac_objext \
        !          7171:     conftest$ac_exeext conftest.$ac_ext
        !          7172: LIBS=$ac_check_lib_save_LIBS
1.1       bertrand 7173: fi
1.15    ! bertrand 7174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
        !          7175: $as_echo "$ac_cv_lib_socket_bind" >&6; }
        !          7176: if test "x$ac_cv_lib_socket_bind" = x""yes; then :
        !          7177:   LIBS="$LIBS -lsocket"
        !          7178: else
        !          7179:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5
        !          7180: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;}
1.1       bertrand 7181: fi
                   7182: 
                   7183: 
1.15    ! bertrand 7184: MYSQL_SUPPORT="-UMYSQL_SUPPORT"
        !          7185: 
        !          7186: # Check whether --with-mysql was given.
        !          7187: if test "${with_mysql+set}" = set; then :
        !          7188:   withval=$with_mysql;
        !          7189: else
        !          7190:   with_mysql=check
        !          7191: fi
1.14      bertrand 7192: 
                   7193: 
1.15    ! bertrand 7194: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
        !          7195:    libMySQLinc="-I/usr/include"
        !          7196:    libMySQLlib="-L/usr/lib"
1.14      bertrand 7197: 
1.15    ! bertrand 7198:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
        !          7199: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
        !          7200:    saved_CFLAGS="$CFLAGS"
        !          7201:    CFLAGS="$CFLAGS $libMySQLinc"
        !          7202:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7203: /* end confdefs.h.  */
1.15    ! bertrand 7204: #include "mysql.h"
1.1       bertrand 7205: int
                   7206: main ()
                   7207: {
1.15    ! bertrand 7208: 
1.1       bertrand 7209:   ;
                   7210:   return 0;
                   7211: }
                   7212: _ACEOF
1.15    ! bertrand 7213: if ac_fn_c_try_compile "$LINENO"; then :
        !          7214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7215: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
        !          7216:                    libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7217: else
1.15    ! bertrand 7218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7219: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.1       bertrand 7220: fi
1.14      bertrand 7221: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 7222:    CFLAGS=$saved_CFLAGS
1.1       bertrand 7223: 
1.15    ! bertrand 7224:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
        !          7225:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5
        !          7226: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; }
        !          7227:        saved_CFLAGS="$CFLAGS"
        !          7228:        CFLAGS="$CFLAGS $libMySQLinc/mysql"
        !          7229:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7230: /* end confdefs.h.  */
1.15    ! bertrand 7231: #include "mysql.h"
1.1       bertrand 7232: int
                   7233: main ()
                   7234: {
                   7235: 
                   7236:   ;
                   7237:   return 0;
                   7238: }
                   7239: _ACEOF
1.15    ! bertrand 7240: if ac_fn_c_try_compile "$LINENO"; then :
        !          7241:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7242: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
        !          7243:                        libMySQLinc=$libMySQLinc
        !          7244: else
        !          7245:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7246: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
        !          7247: fi
        !          7248: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7249:        CFLAGS=$saved_CFLAGS
        !          7250:        libMySQLinc=$libMySQLinc/mysql
        !          7251:    fi
        !          7252: 
        !          7253:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
        !          7254:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5
        !          7255: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; }
        !          7256:        saved_CFLAGS="$CFLAGS"
        !          7257:        CFLAGS="$CFLAGS $libMySQLinc/../local/include"
        !          7258:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7259: /* end confdefs.h.  */
1.15    ! bertrand 7260: #include "mysql.h"
1.1       bertrand 7261: int
                   7262: main ()
                   7263: {
                   7264: 
                   7265:   ;
                   7266:   return 0;
                   7267: }
                   7268: _ACEOF
1.15    ! bertrand 7269: if ac_fn_c_try_compile "$LINENO"; then :
        !          7270:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7271: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
        !          7272:                        libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7273: else
1.15    ! bertrand 7274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7275: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.1       bertrand 7276: fi
                   7277: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 7278:        CFLAGS=$saved_CFLAGS
        !          7279:        libMySQLinc=$libMySQLinc/../local/include
        !          7280:        libMySQLlib=$libMySQLlib/../local/lib
        !          7281:    fi
1.1       bertrand 7282: 
1.15    ! bertrand 7283:    if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
        !          7284:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5
        !          7285: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; }
        !          7286:        saved_CFLAGS="$CFLAGS"
        !          7287:        CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql"
        !          7288:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7289: /* end confdefs.h.  */
1.15    ! bertrand 7290: #include "mysql.h"
1.1       bertrand 7291: int
                   7292: main ()
                   7293: {
                   7294: 
                   7295:   ;
                   7296:   return 0;
                   7297: }
                   7298: _ACEOF
1.15    ! bertrand 7299: if ac_fn_c_try_compile "$LINENO"; then :
        !          7300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7301: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
        !          7302:                        libMySQLinc=$libMySQLinc/mysql
        !          7303: else
        !          7304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7305: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
        !          7306: fi
        !          7307: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7308:        CFLAGS=$saved_CFLAGS
        !          7309:        libMySQLinc=$libMySQLinc/../local/include/mysql
        !          7310:        libMySQLlib=$libMySQLlib/../local/lib
        !          7311:    fi
        !          7312: else
        !          7313:    if test "x$with_mysql" != xno; then
        !          7314:        libMySQLinc="-I$with_mysql/include"
        !          7315:        libMySQLlib="-L$with_mysql/lib"
        !          7316: 
        !          7317:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
        !          7318: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
        !          7319:        saved_CFLAGS="$CFLAGS"
        !          7320:        CFLAGS="$CFLAGS $libMySQLinc"
        !          7321:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7322: /* end confdefs.h.  */
1.15    ! bertrand 7323: #include "mysql.h"
1.1       bertrand 7324: int
                   7325: main ()
                   7326: {
                   7327: 
                   7328:   ;
                   7329:   return 0;
                   7330: }
                   7331: _ACEOF
1.15    ! bertrand 7332: if ac_fn_c_try_compile "$LINENO"; then :
        !          7333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7334: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
        !          7335:                        libMySQLinc=$libMySQLinc/mysql
1.1       bertrand 7336: else
1.15    ! bertrand 7337:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7338: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
1.14      bertrand 7339: fi
                   7340: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 7341:        CFLAGS=$saved_CFLAGS
1.1       bertrand 7342: 
1.15    ! bertrand 7343:        if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then
        !          7344:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5
        !          7345: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; }
        !          7346:            saved_CFLAGS="$CFLAGS"
        !          7347:            CFLAGS="$CFLAGS $libMySQLinc/mysql"
        !          7348:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7349: /* end confdefs.h.  */
1.15    ! bertrand 7350: #include "mysql.h"
1.1       bertrand 7351: int
                   7352: main ()
                   7353: {
                   7354: 
                   7355:   ;
                   7356:   return 0;
                   7357: }
                   7358: _ACEOF
1.15    ! bertrand 7359: if ac_fn_c_try_compile "$LINENO"; then :
        !          7360:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7361: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT";
        !          7362:                            libMySQLinc=$libMySQLinc
1.1       bertrand 7363: else
1.15    ! bertrand 7364:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7365: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT"
        !          7366: fi
        !          7367: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7368:            CFLAGS=$saved_CFLAGS
        !          7369:            libMySQLinc=$libMySQLinc/mysql
        !          7370:        fi
        !          7371:    else
        !          7372:        MYSQL_SUPPORT="-UMYSQL_SUPPORT"
        !          7373:    fi
        !          7374: fi
1.14      bertrand 7375: 
1.15    ! bertrand 7376: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
        !          7377:    MYSQL_LIB=no
1.14      bertrand 7378: 
1.15    ! bertrand 7379:    if test $MYSQL_LIB = no; then
        !          7380:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
        !          7381: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
        !          7382:        saved_LIBS="$LIBS"
        !          7383:        LIBS="$LIBS $libMySQLlib $libMySQLinc -lmysqlclient_r"
        !          7384:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7385: /* end confdefs.h.  */
1.15    ! bertrand 7386: #include "mysql.h"
1.1       bertrand 7387: int
                   7388: main ()
                   7389: {
1.15    ! bertrand 7390: MYSQL mysql; mysql_init(&mysql);
1.1       bertrand 7391:   ;
                   7392:   return 0;
                   7393: }
                   7394: _ACEOF
1.15    ! bertrand 7395: if ac_fn_c_try_link "$LINENO"; then :
        !          7396:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7397: $as_echo "yes" >&6; }; MYSQL_LIB="yes"
1.1       bertrand 7398: else
1.15    ! bertrand 7399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7400: $as_echo "no" >&6; }; MYSQL_LIB="no"
        !          7401: fi
        !          7402: rm -f core conftest.err conftest.$ac_objext \
        !          7403:     conftest$ac_exeext conftest.$ac_ext
        !          7404:        LIBS=$saved_LIBS;
        !          7405:        libMySQLlib="$libMySQLlib -lmysqlclient_r"
        !          7406:    fi
1.14      bertrand 7407: 
1.15    ! bertrand 7408:    if test $MYSQL_LIB = no; then
        !          7409:        MYSQL_SUPPORT="-UMYSQL_SUPPORT"
        !          7410:    fi
1.14      bertrand 7411: fi
1.15    ! bertrand 7412: 
        !          7413: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
        !          7414:    libMySQLinc=
        !          7415:    libMySQLlib=
1.1       bertrand 7416: fi
1.14      bertrand 7417: 
                   7418: 
                   7419: 
1.1       bertrand 7420: 
                   7421: 
1.15    ! bertrand 7422: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT
        !          7423: 
        !          7424: # Check whether --with-postgresql was given.
        !          7425: if test "${with_postgresql+set}" = set; then :
        !          7426:   withval=$with_postgresql;
1.14      bertrand 7427: else
1.15    ! bertrand 7428:   with_postgresql=check
        !          7429: fi
        !          7430: 
        !          7431: 
        !          7432: # with_postgresql : check [pas défini], yes [uniquement --with],
        !          7433: # no [--without], valeur [--with=valeur].
        !          7434: 
        !          7435: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
        !          7436:    libPgSQLinc="-I/usr/include"
        !          7437:    libPgSQLlib="-L/usr/lib"
        !          7438: 
        !          7439:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
        !          7440: $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
        !          7441:    saved_CFLAGS="$CFLAGS"
        !          7442:    CFLAGS="$CFLAGS $libPgSQLinc"
        !          7443:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7444: /* end confdefs.h.  */
1.15    ! bertrand 7445: #include "libpq-fe.h"
1.1       bertrand 7446: int
                   7447: main ()
                   7448: {
1.15    ! bertrand 7449: 
1.1       bertrand 7450:   ;
                   7451:   return 0;
                   7452: }
                   7453: _ACEOF
1.15    ! bertrand 7454: if ac_fn_c_try_compile "$LINENO"; then :
        !          7455:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7456: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7457: else
1.15    ! bertrand 7458:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7459: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7460: fi
1.14      bertrand 7461: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 7462:    CFLAGS=$saved_CFLAGS
1.1       bertrand 7463: 
1.15    ! bertrand 7464:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
        !          7465:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5
        !          7466: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; }
        !          7467:        saved_CFLAGS="$CFLAGS"
        !          7468:        CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
        !          7469:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7470: /* end confdefs.h.  */
1.15    ! bertrand 7471: #include "libpq-fe.h"
1.1       bertrand 7472: int
                   7473: main ()
                   7474: {
                   7475: 
                   7476:   ;
                   7477:   return 0;
                   7478: }
                   7479: _ACEOF
1.15    ! bertrand 7480: if ac_fn_c_try_compile "$LINENO"; then :
        !          7481:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7482: $as_echo "yes" >&6; };
        !          7483:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
        !          7484: else
        !          7485:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7486: $as_echo "no" >&6; };
        !          7487:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
        !          7488: fi
        !          7489: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7490:        CFLAGS=$saved_CFLAGS
        !          7491:        libPgSQLinc=$libPgSQLinc/postgresql
        !          7492:    fi
        !          7493: 
        !          7494:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
        !          7495:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5
        !          7496: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; }
        !          7497:        saved_CFLAGS="$CFLAGS"
        !          7498:        CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
        !          7499:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7500: /* end confdefs.h.  */
1.15    ! bertrand 7501: #include "libpq-fe.h"
1.1       bertrand 7502: int
                   7503: main ()
                   7504: {
                   7505: 
                   7506:   ;
                   7507:   return 0;
                   7508: }
                   7509: _ACEOF
1.15    ! bertrand 7510: if ac_fn_c_try_compile "$LINENO"; then :
        !          7511:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7512: $as_echo "yes" >&6; };
        !          7513:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7514: else
1.15    ! bertrand 7515:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7516: $as_echo "no" >&6; };
        !          7517:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7518: fi
                   7519: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 7520:        CFLAGS=$saved_CFLAGS
        !          7521:        libPgSQLinc=$libPgSQLinc/pgsql
        !          7522:    fi
1.1       bertrand 7523: 
1.15    ! bertrand 7524:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
        !          7525:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5
        !          7526: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; }
        !          7527:        saved_CFLAGS="$CFLAGS"
        !          7528:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include"
        !          7529:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7530: /* end confdefs.h.  */
1.15    ! bertrand 7531: #include "libpq-fe.h"
1.1       bertrand 7532: int
                   7533: main ()
                   7534: {
                   7535: 
                   7536:   ;
                   7537:   return 0;
                   7538: }
                   7539: _ACEOF
1.15    ! bertrand 7540: if ac_fn_c_try_compile "$LINENO"; then :
        !          7541:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7542: $as_echo "yes" >&6; };
        !          7543:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
        !          7544: else
        !          7545:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7546: $as_echo "no" >&6; };
        !          7547:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
        !          7548: fi
        !          7549: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7550:        CFLAGS=$saved_CFLAGS
        !          7551:        libPgSQLinc=$libPgSQLinc/../local/include
        !          7552:        libPgSQLlib=$libPgSQLlib/../local/lib
        !          7553:    fi
        !          7554: 
        !          7555:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
        !          7556:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5
        !          7557: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; }
        !          7558:        saved_CFLAGS="$CFLAGS"
        !          7559:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql"
        !          7560:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7561: /* end confdefs.h.  */
1.15    ! bertrand 7562: #include "libpq-fe.h"
1.1       bertrand 7563: int
                   7564: main ()
                   7565: {
                   7566: 
                   7567:   ;
                   7568:   return 0;
                   7569: }
                   7570: _ACEOF
1.15    ! bertrand 7571: if ac_fn_c_try_compile "$LINENO"; then :
        !          7572:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7573: $as_echo "yes" >&6; };
        !          7574:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.14      bertrand 7575: else
1.15    ! bertrand 7576:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7577: $as_echo "no" >&6; };
        !          7578:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.14      bertrand 7579: fi
                   7580: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 7581:        CFLAGS=$saved_CFLAGS
        !          7582:        libPgSQLinc=$libPgSQLinc/../local/include/postgresql
        !          7583:        libPgSQLlib=$libPgSQLlib/../local/lib
        !          7584:    fi
1.14      bertrand 7585: 
1.15    ! bertrand 7586:    if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
        !          7587:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5
        !          7588: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; }
        !          7589:        saved_CFLAGS="$CFLAGS"
        !          7590:        CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql"
        !          7591:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7592: /* end confdefs.h.  */
1.15    ! bertrand 7593: #include "libpq-fe.h"
1.1       bertrand 7594: int
                   7595: main ()
                   7596: {
                   7597: 
                   7598:   ;
                   7599:   return 0;
                   7600: }
                   7601: _ACEOF
1.15    ! bertrand 7602: if ac_fn_c_try_compile "$LINENO"; then :
        !          7603:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7604: $as_echo "yes" >&6; };
        !          7605:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7606: else
1.15    ! bertrand 7607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7608: $as_echo "no" >&6; };
        !          7609:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7610: fi
                   7611: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 7612:        CFLAGS=$saved_CFLAGS
        !          7613:        libPgSQLinc=$libPgSQLinc/local/include/pgsql
        !          7614:        libPgSQLlib=$libPgSQLlib/../local/lib
        !          7615:    fi
1.14      bertrand 7616: else
1.15    ! bertrand 7617:    if test "x$with_postgresql" != xno; then
        !          7618:        libPgSQLinc="-I$with_postgresql/include"
        !          7619:        libPgSQLlib="-L$with_postgresql/lib"
        !          7620: 
        !          7621:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
        !          7622: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
        !          7623:        saved_CFLAGS="$CFLAGS"
        !          7624:        CFLAGS="$CFLAGS $libPgSQLinc"
        !          7625:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7626: /* end confdefs.h.  */
1.15    ! bertrand 7627: #include "libpq-fe.h"
1.1       bertrand 7628: int
                   7629: main ()
                   7630: {
                   7631: 
                   7632:   ;
                   7633:   return 0;
                   7634: }
                   7635: _ACEOF
1.15    ! bertrand 7636: if ac_fn_c_try_compile "$LINENO"; then :
        !          7637:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7638: $as_echo "yes" >&6; };
        !          7639:                POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7640: else
1.15    ! bertrand 7641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7642: $as_echo "no" >&6; };
        !          7643:                POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.14      bertrand 7644: fi
1.15    ! bertrand 7645: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7646:        CFLAGS=$saved_CFLAGS
1.14      bertrand 7647: 
1.15    ! bertrand 7648:        if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
        !          7649:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5
        !          7650: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; }
        !          7651:            saved_CFLAGS="$CFLAGS"
        !          7652:            CFLAGS="$CFLAGS $libPgSQLinc/postgresql"
        !          7653:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 7654: /* end confdefs.h.  */
1.15    ! bertrand 7655: #include "libpq-fe.h"
1.1       bertrand 7656: int
                   7657: main ()
                   7658: {
1.15    ! bertrand 7659: 
1.1       bertrand 7660:   ;
                   7661:   return 0;
                   7662: }
                   7663: _ACEOF
1.15    ! bertrand 7664: if ac_fn_c_try_compile "$LINENO"; then :
        !          7665:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7666: $as_echo "yes" >&6; };
        !          7667:                    POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7668: else
1.15    ! bertrand 7669:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7670: $as_echo "no" >&6; };
        !          7671:                    POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7672: fi
                   7673: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.15    ! bertrand 7674:            CFLAGS=$saved_CFLAGS
        !          7675:            libPgSQLinc=$libPgSQLinc/postgresql
        !          7676:        fi
1.14      bertrand 7677: 
1.15    ! bertrand 7678:        if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then
        !          7679:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5
        !          7680: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; }
        !          7681:            saved_CFLAGS="$CFLAGS"
        !          7682:            CFLAGS="$CFLAGS $libPgSQLinc/pgsql"
        !          7683:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7684: /* end confdefs.h.  */
1.15    ! bertrand 7685: #include "libpq-fe.h"
1.1       bertrand 7686: int
                   7687: main ()
                   7688: {
1.15    ! bertrand 7689: 
1.1       bertrand 7690:   ;
                   7691:   return 0;
                   7692: }
                   7693: _ACEOF
1.15    ! bertrand 7694: if ac_fn_c_try_compile "$LINENO"; then :
        !          7695:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7696: $as_echo "yes" >&6; };
        !          7697:                    POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT"
1.1       bertrand 7698: else
1.15    ! bertrand 7699:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7700: $as_echo "no" >&6; };
        !          7701:                    POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
1.1       bertrand 7702: fi
1.15    ! bertrand 7703: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7704:            CFLAGS=$saved_CFLAGS
        !          7705:            libPgSQLinc=$libPgSQLinc/pgsql
        !          7706:        fi
        !          7707:    else
        !          7708:        POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT"
        !          7709:    fi
1.1       bertrand 7710: fi
                   7711: 
1.15    ! bertrand 7712: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then
        !          7713:    POSTGRESQL_LIB=no
1.1       bertrand 7714: 
1.15    ! bertrand 7715:    if test $POSTGRESQL_LIB = no; then
        !          7716:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
        !          7717: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
        !          7718:        saved_LIBS="$LIBS"
        !          7719:        LIBS="$LIBS $libPgSQLlib $libPgSQLinc -lpq"
        !          7720:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7721: /* end confdefs.h.  */
1.15    ! bertrand 7722: #include "libpq-fe.h"
1.1       bertrand 7723: int
                   7724: main ()
                   7725: {
1.15    ! bertrand 7726: PGconn *conn; const char *conninfo="dbname=postgres"; conn =
        !          7727:             PQconnectdb(conninfo);
1.1       bertrand 7728:   ;
                   7729:   return 0;
                   7730: }
                   7731: _ACEOF
1.15    ! bertrand 7732: if ac_fn_c_try_link "$LINENO"; then :
        !          7733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7734: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes"
1.1       bertrand 7735: else
1.15    ! bertrand 7736:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7737: $as_echo "no" >&6; }; POSTGRESQL_LIB="no"
        !          7738: fi
        !          7739: rm -f core conftest.err conftest.$ac_objext \
        !          7740:     conftest$ac_exeext conftest.$ac_ext
        !          7741:        LIBS=$saved_LIBS;
        !          7742:        libPgSQLlib="$libPgSQLlib -lpq"
        !          7743:    fi
        !          7744: fi
        !          7745: 
        !          7746: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
        !          7747:    libPgSQLinc=
        !          7748:    libPgSQLlib=
        !          7749: fi
        !          7750: 
        !          7751: 
        !          7752: 
        !          7753: 
1.14      bertrand 7754: 
1.15    ! bertrand 7755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
        !          7756: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
        !          7757: if test "${ac_cv_path_GREP+set}" = set; then :
        !          7758:   $as_echo_n "(cached) " >&6
        !          7759: else
        !          7760:   if test -z "$GREP"; then
        !          7761:   ac_path_GREP_found=false
        !          7762:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7763:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7764: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          7765: do
        !          7766:   IFS=$as_save_IFS
        !          7767:   test -z "$as_dir" && as_dir=.
        !          7768:     for ac_prog in grep ggrep; do
        !          7769:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7770:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
        !          7771:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
        !          7772: # Check for GNU ac_path_GREP and select it if it is found.
        !          7773:   # Check for GNU $ac_path_GREP
        !          7774: case `"$ac_path_GREP" --version 2>&1` in
        !          7775: *GNU*)
        !          7776:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
        !          7777: *)
        !          7778:   ac_count=0
        !          7779:   $as_echo_n 0123456789 >"conftest.in"
        !          7780:   while :
        !          7781:   do
        !          7782:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          7783:     mv "conftest.tmp" "conftest.in"
        !          7784:     cp "conftest.in" "conftest.nl"
        !          7785:     $as_echo 'GREP' >> "conftest.nl"
        !          7786:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          7787:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          7788:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          7789:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
        !          7790:       # Best one so far, save it but keep looking for a better one
        !          7791:       ac_cv_path_GREP="$ac_path_GREP"
        !          7792:       ac_path_GREP_max=$ac_count
        !          7793:     fi
        !          7794:     # 10*(2^10) chars as input seems more than enough
        !          7795:     test $ac_count -gt 10 && break
        !          7796:   done
        !          7797:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          7798: esac
1.14      bertrand 7799: 
1.15    ! bertrand 7800:       $ac_path_GREP_found && break 3
        !          7801:     done
        !          7802:   done
        !          7803:   done
        !          7804: IFS=$as_save_IFS
        !          7805:   if test -z "$ac_cv_path_GREP"; then
        !          7806:     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          7807:   fi
        !          7808: else
        !          7809:   ac_cv_path_GREP=$GREP
1.1       bertrand 7810: fi
                   7811: 
                   7812: fi
1.15    ! bertrand 7813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
        !          7814: $as_echo "$ac_cv_path_GREP" >&6; }
        !          7815:  GREP="$ac_cv_path_GREP"
        !          7816: 
        !          7817: 
        !          7818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
        !          7819: $as_echo_n "checking for egrep... " >&6; }
        !          7820: if test "${ac_cv_path_EGREP+set}" = set; then :
        !          7821:   $as_echo_n "(cached) " >&6
        !          7822: else
        !          7823:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
        !          7824:    then ac_cv_path_EGREP="$GREP -E"
        !          7825:    else
        !          7826:      if test -z "$EGREP"; then
        !          7827:   ac_path_EGREP_found=false
        !          7828:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7829:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7830: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          7831: do
        !          7832:   IFS=$as_save_IFS
        !          7833:   test -z "$as_dir" && as_dir=.
        !          7834:     for ac_prog in egrep; do
        !          7835:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7836:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
        !          7837:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
        !          7838: # Check for GNU ac_path_EGREP and select it if it is found.
        !          7839:   # Check for GNU $ac_path_EGREP
        !          7840: case `"$ac_path_EGREP" --version 2>&1` in
        !          7841: *GNU*)
        !          7842:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
        !          7843: *)
        !          7844:   ac_count=0
        !          7845:   $as_echo_n 0123456789 >"conftest.in"
        !          7846:   while :
        !          7847:   do
        !          7848:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          7849:     mv "conftest.tmp" "conftest.in"
        !          7850:     cp "conftest.in" "conftest.nl"
        !          7851:     $as_echo 'EGREP' >> "conftest.nl"
        !          7852:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          7853:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          7854:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          7855:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
        !          7856:       # Best one so far, save it but keep looking for a better one
        !          7857:       ac_cv_path_EGREP="$ac_path_EGREP"
        !          7858:       ac_path_EGREP_max=$ac_count
        !          7859:     fi
        !          7860:     # 10*(2^10) chars as input seems more than enough
        !          7861:     test $ac_count -gt 10 && break
        !          7862:   done
        !          7863:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          7864: esac
        !          7865: 
        !          7866:       $ac_path_EGREP_found && break 3
        !          7867:     done
        !          7868:   done
        !          7869:   done
        !          7870: IFS=$as_save_IFS
        !          7871:   if test -z "$ac_cv_path_EGREP"; then
        !          7872:     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          7873:   fi
1.1       bertrand 7874: else
1.15    ! bertrand 7875:   ac_cv_path_EGREP=$EGREP
1.1       bertrand 7876: fi
                   7877: 
1.15    ! bertrand 7878:    fi
1.1       bertrand 7879: fi
1.15    ! bertrand 7880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
        !          7881: $as_echo "$ac_cv_path_EGREP" >&6; }
        !          7882:  EGREP="$ac_cv_path_EGREP"
1.1       bertrand 7883: 
                   7884: 
1.15    ! bertrand 7885: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
        !          7886: $as_echo_n "checking for ANSI C header files... " >&6; }
        !          7887: if test "${ac_cv_header_stdc+set}" = set; then :
        !          7888:   $as_echo_n "(cached) " >&6
1.1       bertrand 7889: else
1.15    ! bertrand 7890:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7891: /* end confdefs.h.  */
                   7892: #include <stdlib.h>
                   7893: #include <stdarg.h>
                   7894: #include <string.h>
                   7895: #include <float.h>
                   7896: 
                   7897: int
                   7898: main ()
                   7899: {
                   7900: 
                   7901:   ;
                   7902:   return 0;
                   7903: }
                   7904: _ACEOF
1.15    ! bertrand 7905: if ac_fn_c_try_compile "$LINENO"; then :
1.1       bertrand 7906:   ac_cv_header_stdc=yes
                   7907: else
1.15    ! bertrand 7908:   ac_cv_header_stdc=no
1.1       bertrand 7909: fi
                   7910: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7911: 
                   7912: if test $ac_cv_header_stdc = yes; then
                   7913:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.15    ! bertrand 7914:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7915: /* end confdefs.h.  */
                   7916: #include <string.h>
                   7917: 
                   7918: _ACEOF
                   7919: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.15    ! bertrand 7920:   $EGREP "memchr" >/dev/null 2>&1; then :
        !          7921: 
1.1       bertrand 7922: else
                   7923:   ac_cv_header_stdc=no
                   7924: fi
                   7925: rm -f conftest*
                   7926: 
                   7927: fi
                   7928: 
                   7929: if test $ac_cv_header_stdc = yes; then
                   7930:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.15    ! bertrand 7931:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7932: /* end confdefs.h.  */
                   7933: #include <stdlib.h>
                   7934: 
                   7935: _ACEOF
                   7936: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.15    ! bertrand 7937:   $EGREP "free" >/dev/null 2>&1; then :
        !          7938: 
1.1       bertrand 7939: else
                   7940:   ac_cv_header_stdc=no
                   7941: fi
                   7942: rm -f conftest*
                   7943: 
                   7944: fi
                   7945: 
                   7946: if test $ac_cv_header_stdc = yes; then
                   7947:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.15    ! bertrand 7948:   if test "$cross_compiling" = yes; then :
1.1       bertrand 7949:   :
                   7950: else
1.15    ! bertrand 7951:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 7952: /* end confdefs.h.  */
                   7953: #include <ctype.h>
                   7954: #include <stdlib.h>
                   7955: #if ((' ' & 0x0FF) == 0x020)
                   7956: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7957: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7958: #else
                   7959: # define ISLOWER(c) \
                   7960:           (('a' <= (c) && (c) <= 'i') \
                   7961:             || ('j' <= (c) && (c) <= 'r') \
                   7962:             || ('s' <= (c) && (c) <= 'z'))
                   7963: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7964: #endif
                   7965: 
                   7966: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7967: int
                   7968: main ()
                   7969: {
                   7970:   int i;
                   7971:   for (i = 0; i < 256; i++)
                   7972:     if (XOR (islower (i), ISLOWER (i))
                   7973:    || toupper (i) != TOUPPER (i))
                   7974:       return 2;
                   7975:   return 0;
                   7976: }
                   7977: _ACEOF
1.15    ! bertrand 7978: if ac_fn_c_try_run "$LINENO"; then :
        !          7979: 
1.14      bertrand 7980: else
1.15    ! bertrand 7981:   ac_cv_header_stdc=no
        !          7982: fi
        !          7983: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          7984:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          7985: fi
1.1       bertrand 7986: 
                   7987: fi
                   7988: fi
1.15    ! bertrand 7989: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
        !          7990: $as_echo "$ac_cv_header_stdc" >&6; }
        !          7991: if test $ac_cv_header_stdc = yes; then
1.1       bertrand 7992: 
1.15    ! bertrand 7993: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.14      bertrand 7994: 
1.1       bertrand 7995: fi
                   7996: 
1.15    ! bertrand 7997: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
        !          7998: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
        !          7999:          inttypes.h stdint.h unistd.h
        !          8000: do :
        !          8001:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          8002: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
        !          8003: "
        !          8004: eval as_val=\$$as_ac_Header
        !          8005:    if test "x$as_val" = x""yes; then :
        !          8006:   cat >>confdefs.h <<_ACEOF
        !          8007: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.14      bertrand 8008: _ACEOF
1.1       bertrand 8009: 
                   8010: fi
                   8011: 
1.15    ! bertrand 8012: done
        !          8013: 
        !          8014: 
        !          8015: # The cast to long int works around a bug in the HP C Compiler
        !          8016: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8017: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8018: # This bug is HP SR number 8606223364.
        !          8019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
        !          8020: $as_echo_n "checking size of void *... " >&6; }
        !          8021: if test "${ac_cv_sizeof_void_p+set}" = set; then :
        !          8022:   $as_echo_n "(cached) " >&6
        !          8023: else
        !          8024:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
1.14      bertrand 8025: 
                   8026: else
1.15    ! bertrand 8027:   if test "$ac_cv_type_void_p" = yes; then
        !          8028:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8029: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8030: { as_fn_set_status 77
        !          8031: as_fn_error "cannot compute sizeof (void *)
        !          8032: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8033:    else
        !          8034:      ac_cv_sizeof_void_p=0
        !          8035:    fi
        !          8036: fi
1.1       bertrand 8037: 
                   8038: fi
1.15    ! bertrand 8039: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
        !          8040: $as_echo "$ac_cv_sizeof_void_p" >&6; }
        !          8041: 
1.1       bertrand 8042: 
                   8043: 
1.15    ! bertrand 8044: cat >>confdefs.h <<_ACEOF
        !          8045: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
1.14      bertrand 8046: _ACEOF
1.1       bertrand 8047: 
1.15    ! bertrand 8048: 
        !          8049: # The cast to long int works around a bug in the HP C Compiler
        !          8050: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8051: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8052: # This bug is HP SR number 8606223364.
        !          8053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
        !          8054: $as_echo_n "checking size of char... " >&6; }
        !          8055: if test "${ac_cv_sizeof_char+set}" = set; then :
        !          8056:   $as_echo_n "(cached) " >&6
        !          8057: else
        !          8058:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
        !          8059: 
        !          8060: else
        !          8061:   if test "$ac_cv_type_char" = yes; then
        !          8062:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8063: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8064: { as_fn_set_status 77
        !          8065: as_fn_error "cannot compute sizeof (char)
        !          8066: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8067:    else
        !          8068:      ac_cv_sizeof_char=0
        !          8069:    fi
        !          8070: fi
        !          8071: 
1.1       bertrand 8072: fi
1.15    ! bertrand 8073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
        !          8074: $as_echo "$ac_cv_sizeof_char" >&6; }
1.1       bertrand 8075: 
                   8076: 
                   8077: 
1.15    ! bertrand 8078: cat >>confdefs.h <<_ACEOF
        !          8079: #define SIZEOF_CHAR $ac_cv_sizeof_char
        !          8080: _ACEOF
1.1       bertrand 8081: 
                   8082: 
1.15    ! bertrand 8083: # The cast to long int works around a bug in the HP C Compiler
        !          8084: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8085: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8086: # This bug is HP SR number 8606223364.
        !          8087: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5
        !          8088: $as_echo_n "checking size of short int... " >&6; }
        !          8089: if test "${ac_cv_sizeof_short_int+set}" = set; then :
        !          8090:   $as_echo_n "(cached) " >&6
        !          8091: else
        !          8092:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int"        "$ac_includes_default"; then :
1.1       bertrand 8093: 
1.15    ! bertrand 8094: else
        !          8095:   if test "$ac_cv_type_short_int" = yes; then
        !          8096:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8097: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8098: { as_fn_set_status 77
        !          8099: as_fn_error "cannot compute sizeof (short int)
        !          8100: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8101:    else
        !          8102:      ac_cv_sizeof_short_int=0
        !          8103:    fi
        !          8104: fi
1.1       bertrand 8105: 
1.15    ! bertrand 8106: fi
        !          8107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5
        !          8108: $as_echo "$ac_cv_sizeof_short_int" >&6; }
1.1       bertrand 8109: 
                   8110: 
                   8111: 
1.15    ! bertrand 8112: cat >>confdefs.h <<_ACEOF
        !          8113: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
        !          8114: _ACEOF
1.1       bertrand 8115: 
                   8116: 
1.15    ! bertrand 8117: # The cast to long int works around a bug in the HP C Compiler
        !          8118: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8119: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8120: # This bug is HP SR number 8606223364.
        !          8121: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
        !          8122: $as_echo_n "checking size of int... " >&6; }
        !          8123: if test "${ac_cv_sizeof_int+set}" = set; then :
        !          8124:   $as_echo_n "(cached) " >&6
        !          8125: else
        !          8126:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
1.1       bertrand 8127: 
1.15    ! bertrand 8128: else
        !          8129:   if test "$ac_cv_type_int" = yes; then
        !          8130:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8131: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8132: { as_fn_set_status 77
        !          8133: as_fn_error "cannot compute sizeof (int)
        !          8134: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8135:    else
        !          8136:      ac_cv_sizeof_int=0
        !          8137:    fi
        !          8138: fi
1.1       bertrand 8139: 
1.15    ! bertrand 8140: fi
        !          8141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
        !          8142: $as_echo "$ac_cv_sizeof_int" >&6; }
1.1       bertrand 8143: 
                   8144: 
                   8145: 
1.15    ! bertrand 8146: cat >>confdefs.h <<_ACEOF
        !          8147: #define SIZEOF_INT $ac_cv_sizeof_int
        !          8148: _ACEOF
1.1       bertrand 8149: 
                   8150: 
1.15    ! bertrand 8151: # The cast to long int works around a bug in the HP C Compiler
        !          8152: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8153: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8154: # This bug is HP SR number 8606223364.
        !          8155: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
        !          8156: $as_echo_n "checking size of long int... " >&6; }
        !          8157: if test "${ac_cv_sizeof_long_int+set}" = set; then :
        !          8158:   $as_echo_n "(cached) " >&6
        !          8159: else
        !          8160:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
1.1       bertrand 8161: 
1.14      bertrand 8162: else
1.15    ! bertrand 8163:   if test "$ac_cv_type_long_int" = yes; then
        !          8164:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8165: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8166: { as_fn_set_status 77
        !          8167: as_fn_error "cannot compute sizeof (long int)
        !          8168: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8169:    else
        !          8170:      ac_cv_sizeof_long_int=0
        !          8171:    fi
        !          8172: fi
1.1       bertrand 8173: 
                   8174: fi
1.15    ! bertrand 8175: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
        !          8176: $as_echo "$ac_cv_sizeof_long_int" >&6; }
        !          8177: 
1.1       bertrand 8178: 
                   8179: 
1.15    ! bertrand 8180: cat >>confdefs.h <<_ACEOF
        !          8181: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
1.14      bertrand 8182: _ACEOF
1.15    ! bertrand 8183: 
        !          8184: 
        !          8185: # The cast to long int works around a bug in the HP C Compiler
        !          8186: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8187: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8188: # This bug is HP SR number 8606223364.
        !          8189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
        !          8190: $as_echo_n "checking size of long long int... " >&6; }
        !          8191: if test "${ac_cv_sizeof_long_long_int+set}" = set; then :
        !          8192:   $as_echo_n "(cached) " >&6
        !          8193: else
        !          8194:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
        !          8195: 
1.14      bertrand 8196: else
1.15    ! bertrand 8197:   if test "$ac_cv_type_long_long_int" = yes; then
        !          8198:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8199: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8200: { as_fn_set_status 77
        !          8201: as_fn_error "cannot compute sizeof (long long int)
        !          8202: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8203:    else
        !          8204:      ac_cv_sizeof_long_long_int=0
        !          8205:    fi
        !          8206: fi
1.1       bertrand 8207: 
1.14      bertrand 8208: fi
1.15    ! bertrand 8209: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
        !          8210: $as_echo "$ac_cv_sizeof_long_long_int" >&6; }
        !          8211: 
        !          8212: 
        !          8213: 
        !          8214: cat >>confdefs.h <<_ACEOF
        !          8215: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
        !          8216: _ACEOF
1.1       bertrand 8217: 
                   8218: 
1.15    ! bertrand 8219: # The cast to long int works around a bug in the HP C Compiler
        !          8220: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8221: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8222: # This bug is HP SR number 8606223364.
        !          8223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
        !          8224: $as_echo_n "checking size of float... " >&6; }
        !          8225: if test "${ac_cv_sizeof_float+set}" = set; then :
        !          8226:   $as_echo_n "(cached) " >&6
        !          8227: else
        !          8228:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
1.1       bertrand 8229: 
                   8230: else
1.15    ! bertrand 8231:   if test "$ac_cv_type_float" = yes; then
        !          8232:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8233: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8234: { as_fn_set_status 77
        !          8235: as_fn_error "cannot compute sizeof (float)
        !          8236: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8237:    else
        !          8238:      ac_cv_sizeof_float=0
        !          8239:    fi
1.14      bertrand 8240: fi
                   8241: 
1.1       bertrand 8242: fi
1.15    ! bertrand 8243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
        !          8244: $as_echo "$ac_cv_sizeof_float" >&6; }
        !          8245: 
        !          8246: 
        !          8247: 
        !          8248: cat >>confdefs.h <<_ACEOF
        !          8249: #define SIZEOF_FLOAT $ac_cv_sizeof_float
1.14      bertrand 8250: _ACEOF
1.1       bertrand 8251: 
                   8252: 
1.15    ! bertrand 8253: # The cast to long int works around a bug in the HP C Compiler
        !          8254: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8255: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8256: # This bug is HP SR number 8606223364.
        !          8257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
        !          8258: $as_echo_n "checking size of double... " >&6; }
        !          8259: if test "${ac_cv_sizeof_double+set}" = set; then :
        !          8260:   $as_echo_n "(cached) " >&6
        !          8261: else
        !          8262:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
1.1       bertrand 8263: 
1.15    ! bertrand 8264: else
        !          8265:   if test "$ac_cv_type_double" = yes; then
        !          8266:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8267: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8268: { as_fn_set_status 77
        !          8269: as_fn_error "cannot compute sizeof (double)
        !          8270: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8271:    else
        !          8272:      ac_cv_sizeof_double=0
        !          8273:    fi
        !          8274: fi
1.1       bertrand 8275: 
1.15    ! bertrand 8276: fi
        !          8277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
        !          8278: $as_echo "$ac_cv_sizeof_double" >&6; }
1.14      bertrand 8279: 
1.1       bertrand 8280: 
                   8281: 
1.15    ! bertrand 8282: cat >>confdefs.h <<_ACEOF
        !          8283: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
1.14      bertrand 8284: _ACEOF
1.15    ! bertrand 8285: 
        !          8286: 
        !          8287: # The cast to long int works around a bug in the HP C Compiler
        !          8288: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8289: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8290: # This bug is HP SR number 8606223364.
        !          8291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
        !          8292: $as_echo_n "checking size of long double... " >&6; }
        !          8293: if test "${ac_cv_sizeof_long_double+set}" = set; then :
        !          8294:   $as_echo_n "(cached) " >&6
        !          8295: else
        !          8296:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
        !          8297: 
1.14      bertrand 8298: else
1.15    ! bertrand 8299:   if test "$ac_cv_type_long_double" = yes; then
        !          8300:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8301: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8302: { as_fn_set_status 77
        !          8303: as_fn_error "cannot compute sizeof (long double)
        !          8304: See \`config.log' for more details." "$LINENO" 5; }; }
        !          8305:    else
        !          8306:      ac_cv_sizeof_long_double=0
        !          8307:    fi
        !          8308: fi
1.1       bertrand 8309: 
                   8310: fi
1.15    ! bertrand 8311: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
        !          8312: $as_echo "$ac_cv_sizeof_long_double" >&6; }
        !          8313: 
1.1       bertrand 8314: 
                   8315: 
1.15    ! bertrand 8316: cat >>confdefs.h <<_ACEOF
        !          8317: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
1.1       bertrand 8318: _ACEOF
                   8319: 
                   8320: 
1.15    ! bertrand 8321: 
        !          8322: ac_header_dirent=no
        !          8323: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
        !          8324:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
        !          8325: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
        !          8326: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
        !          8327: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
        !          8328:   $as_echo_n "(cached) " >&6
1.1       bertrand 8329: else
1.15    ! bertrand 8330:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 8331: /* end confdefs.h.  */
                   8332: #include <sys/types.h>
1.15    ! bertrand 8333: #include <$ac_hdr>
1.1       bertrand 8334: 
1.15    ! bertrand 8335: int
        !          8336: main ()
        !          8337: {
        !          8338: if ((DIR *) 0)
        !          8339: return 0;
        !          8340:   ;
        !          8341:   return 0;
        !          8342: }
1.1       bertrand 8343: _ACEOF
1.15    ! bertrand 8344: if ac_fn_c_try_compile "$LINENO"; then :
        !          8345:   eval "$as_ac_Header=yes"
1.1       bertrand 8346: else
1.15    ! bertrand 8347:   eval "$as_ac_Header=no"
        !          8348: fi
        !          8349: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 8350: fi
1.15    ! bertrand 8351: eval ac_res=\$$as_ac_Header
        !          8352:           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          8353: $as_echo "$ac_res" >&6; }
        !          8354: eval as_val=\$$as_ac_Header
        !          8355:    if test "x$as_val" = x""yes; then :
        !          8356:   cat >>confdefs.h <<_ACEOF
        !          8357: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
        !          8358: _ACEOF
1.1       bertrand 8359: 
1.15    ! bertrand 8360: ac_header_dirent=$ac_hdr; break
1.1       bertrand 8361: fi
                   8362: 
1.15    ! bertrand 8363: done
        !          8364: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
        !          8365: if test $ac_header_dirent = dirent.h; then
        !          8366:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
        !          8367: $as_echo_n "checking for library containing opendir... " >&6; }
        !          8368: if test "${ac_cv_search_opendir+set}" = set; then :
        !          8369:   $as_echo_n "(cached) " >&6
        !          8370: else
        !          8371:   ac_func_search_save_LIBS=$LIBS
        !          8372: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8373: /* end confdefs.h.  */
        !          8374: 
        !          8375: /* Override any GCC internal prototype to avoid an error.
        !          8376:    Use char because int might match the return type of a GCC
        !          8377:    builtin and then its argument prototype would still apply.  */
        !          8378: #ifdef __cplusplus
        !          8379: extern "C"
        !          8380: #endif
        !          8381: char opendir ();
        !          8382: int
        !          8383: main ()
        !          8384: {
        !          8385: return opendir ();
        !          8386:   ;
        !          8387:   return 0;
        !          8388: }
1.14      bertrand 8389: _ACEOF
1.15    ! bertrand 8390: for ac_lib in '' dir; do
        !          8391:   if test -z "$ac_lib"; then
        !          8392:     ac_res="none required"
        !          8393:   else
        !          8394:     ac_res=-l$ac_lib
        !          8395:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          8396:   fi
        !          8397:   if ac_fn_c_try_link "$LINENO"; then :
        !          8398:   ac_cv_search_opendir=$ac_res
        !          8399: fi
        !          8400: rm -f core conftest.err conftest.$ac_objext \
        !          8401:     conftest$ac_exeext
        !          8402:   if test "${ac_cv_search_opendir+set}" = set; then :
        !          8403:   break
        !          8404: fi
        !          8405: done
        !          8406: if test "${ac_cv_search_opendir+set}" = set; then :
1.1       bertrand 8407: 
1.15    ! bertrand 8408: else
        !          8409:   ac_cv_search_opendir=no
        !          8410: fi
        !          8411: rm conftest.$ac_ext
        !          8412: LIBS=$ac_func_search_save_LIBS
        !          8413: fi
        !          8414: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
        !          8415: $as_echo "$ac_cv_search_opendir" >&6; }
        !          8416: ac_res=$ac_cv_search_opendir
        !          8417: if test "$ac_res" != no; then :
        !          8418:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.1       bertrand 8419: 
1.14      bertrand 8420: fi
1.1       bertrand 8421: 
                   8422: else
1.15    ! bertrand 8423:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
        !          8424: $as_echo_n "checking for library containing opendir... " >&6; }
        !          8425: if test "${ac_cv_search_opendir+set}" = set; then :
        !          8426:   $as_echo_n "(cached) " >&6
        !          8427: else
        !          8428:   ac_func_search_save_LIBS=$LIBS
        !          8429: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8430: /* end confdefs.h.  */
1.15    ! bertrand 8431: 
        !          8432: /* Override any GCC internal prototype to avoid an error.
        !          8433:    Use char because int might match the return type of a GCC
        !          8434:    builtin and then its argument prototype would still apply.  */
        !          8435: #ifdef __cplusplus
        !          8436: extern "C"
        !          8437: #endif
        !          8438: char opendir ();
1.1       bertrand 8439: int
                   8440: main ()
                   8441: {
1.15    ! bertrand 8442: return opendir ();
1.1       bertrand 8443:   ;
                   8444:   return 0;
                   8445: }
                   8446: _ACEOF
1.15    ! bertrand 8447: for ac_lib in '' x; do
        !          8448:   if test -z "$ac_lib"; then
        !          8449:     ac_res="none required"
        !          8450:   else
        !          8451:     ac_res=-l$ac_lib
        !          8452:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          8453:   fi
        !          8454:   if ac_fn_c_try_link "$LINENO"; then :
        !          8455:   ac_cv_search_opendir=$ac_res
        !          8456: fi
        !          8457: rm -f core conftest.err conftest.$ac_objext \
        !          8458:     conftest$ac_exeext
        !          8459:   if test "${ac_cv_search_opendir+set}" = set; then :
        !          8460:   break
        !          8461: fi
        !          8462: done
        !          8463: if test "${ac_cv_search_opendir+set}" = set; then :
        !          8464: 
1.1       bertrand 8465: else
1.15    ! bertrand 8466:   ac_cv_search_opendir=no
        !          8467: fi
        !          8468: rm conftest.$ac_ext
        !          8469: LIBS=$ac_func_search_save_LIBS
1.1       bertrand 8470: fi
1.15    ! bertrand 8471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
        !          8472: $as_echo "$ac_cv_search_opendir" >&6; }
        !          8473: ac_res=$ac_cv_search_opendir
        !          8474: if test "$ac_res" != no; then :
        !          8475:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.14      bertrand 8476: 
1.1       bertrand 8477: fi
                   8478: 
                   8479: fi
                   8480: 
1.15    ! bertrand 8481: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
        !          8482: $as_echo_n "checking for ANSI C header files... " >&6; }
        !          8483: if test "${ac_cv_header_stdc+set}" = set; then :
        !          8484:   $as_echo_n "(cached) " >&6
1.1       bertrand 8485: else
1.15    ! bertrand 8486:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8487: /* end confdefs.h.  */
1.15    ! bertrand 8488: #include <stdlib.h>
        !          8489: #include <stdarg.h>
        !          8490: #include <string.h>
        !          8491: #include <float.h>
        !          8492: 
1.1       bertrand 8493: int
                   8494: main ()
                   8495: {
1.15    ! bertrand 8496: 
1.1       bertrand 8497:   ;
                   8498:   return 0;
                   8499: }
                   8500: _ACEOF
1.15    ! bertrand 8501: if ac_fn_c_try_compile "$LINENO"; then :
        !          8502:   ac_cv_header_stdc=yes
1.14      bertrand 8503: else
1.15    ! bertrand 8504:   ac_cv_header_stdc=no
        !          8505: fi
        !          8506: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8507: 
        !          8508: if test $ac_cv_header_stdc = yes; then
        !          8509:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        !          8510:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8511: /* end confdefs.h.  */
        !          8512: #include <string.h>
        !          8513: 
        !          8514: _ACEOF
        !          8515: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          8516:   $EGREP "memchr" >/dev/null 2>&1; then :
1.14      bertrand 8517: 
1.15    ! bertrand 8518: else
        !          8519:   ac_cv_header_stdc=no
1.1       bertrand 8520: fi
1.15    ! bertrand 8521: rm -f conftest*
1.14      bertrand 8522: 
1.1       bertrand 8523: fi
                   8524: 
1.15    ! bertrand 8525: if test $ac_cv_header_stdc = yes; then
        !          8526:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        !          8527:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8528: /* end confdefs.h.  */
        !          8529: #include <stdlib.h>
        !          8530: 
1.14      bertrand 8531: _ACEOF
1.15    ! bertrand 8532: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          8533:   $EGREP "free" >/dev/null 2>&1; then :
        !          8534: 
        !          8535: else
        !          8536:   ac_cv_header_stdc=no
        !          8537: fi
        !          8538: rm -f conftest*
1.1       bertrand 8539: 
                   8540: fi
                   8541: 
1.15    ! bertrand 8542: if test $ac_cv_header_stdc = yes; then
        !          8543:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          8544:   if test "$cross_compiling" = yes; then :
        !          8545:   :
1.1       bertrand 8546: else
1.15    ! bertrand 8547:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8548: /* end confdefs.h.  */
1.15    ! bertrand 8549: #include <ctype.h>
        !          8550: #include <stdlib.h>
        !          8551: #if ((' ' & 0x0FF) == 0x020)
        !          8552: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          8553: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          8554: #else
        !          8555: # define ISLOWER(c) \
        !          8556:           (('a' <= (c) && (c) <= 'i') \
        !          8557:             || ('j' <= (c) && (c) <= 'r') \
        !          8558:             || ('s' <= (c) && (c) <= 'z'))
        !          8559: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
        !          8560: #endif
1.1       bertrand 8561: 
1.15    ! bertrand 8562: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.1       bertrand 8563: int
                   8564: main ()
                   8565: {
1.15    ! bertrand 8566:   int i;
        !          8567:   for (i = 0; i < 256; i++)
        !          8568:     if (XOR (islower (i), ISLOWER (i))
        !          8569:    || toupper (i) != TOUPPER (i))
        !          8570:       return 2;
1.1       bertrand 8571:   return 0;
                   8572: }
                   8573: _ACEOF
1.15    ! bertrand 8574: if ac_fn_c_try_run "$LINENO"; then :
        !          8575: 
1.14      bertrand 8576: else
1.15    ! bertrand 8577:   ac_cv_header_stdc=no
        !          8578: fi
        !          8579: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          8580:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          8581: fi
1.14      bertrand 8582: 
1.1       bertrand 8583: fi
                   8584: fi
1.15    ! bertrand 8585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
        !          8586: $as_echo "$ac_cv_header_stdc" >&6; }
        !          8587: if test $ac_cv_header_stdc = yes; then
1.1       bertrand 8588: 
1.15    ! bertrand 8589: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       bertrand 8590: 
                   8591: fi
                   8592: 
1.15    ! bertrand 8593: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
        !          8594: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
        !          8595: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
        !          8596:   $as_echo_n "(cached) " >&6
1.1       bertrand 8597: else
1.15    ! bertrand 8598:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8599: /* end confdefs.h.  */
1.14      bertrand 8600: #include <sys/types.h>
1.15    ! bertrand 8601: #include <sys/wait.h>
        !          8602: #ifndef WEXITSTATUS
        !          8603: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
        !          8604: #endif
        !          8605: #ifndef WIFEXITED
        !          8606: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
        !          8607: #endif
1.1       bertrand 8608: 
                   8609: int
                   8610: main ()
                   8611: {
1.15    ! bertrand 8612:   int s;
        !          8613:   wait (&s);
        !          8614:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1.1       bertrand 8615:   ;
                   8616:   return 0;
                   8617: }
                   8618: _ACEOF
1.15    ! bertrand 8619: if ac_fn_c_try_compile "$LINENO"; then :
        !          8620:   ac_cv_header_sys_wait_h=yes
1.1       bertrand 8621: else
1.15    ! bertrand 8622:   ac_cv_header_sys_wait_h=no
        !          8623: fi
        !          8624: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8625: fi
        !          8626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
        !          8627: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
        !          8628: if test $ac_cv_header_sys_wait_h = yes; then
1.1       bertrand 8629: 
1.15    ! bertrand 8630: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
1.1       bertrand 8631: 
                   8632: fi
                   8633: 
1.15    ! bertrand 8634: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \
        !          8635:        time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \
        !          8636:        sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h
        !          8637: do :
        !          8638:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          8639: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          8640: eval as_val=\$$as_ac_Header
        !          8641:    if test "x$as_val" = x""yes; then :
        !          8642:   cat >>confdefs.h <<_ACEOF
        !          8643: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       bertrand 8644: _ACEOF
                   8645: 
                   8646: fi
                   8647: 
1.15    ! bertrand 8648: done
        !          8649: 
1.1       bertrand 8650: 
1.15    ! bertrand 8651: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
        !          8652: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
        !          8653: if test "${ac_cv_c_const+set}" = set; then :
        !          8654:   $as_echo_n "(cached) " >&6
1.1       bertrand 8655: else
1.15    ! bertrand 8656:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8657: /* end confdefs.h.  */
                   8658: 
                   8659: int
                   8660: main ()
                   8661: {
1.15    ! bertrand 8662: /* FIXME: Include the comments suggested by Paul. */
        !          8663: #ifndef __cplusplus
        !          8664:   /* Ultrix mips cc rejects this.  */
        !          8665:   typedef int charset[2];
        !          8666:   const charset cs;
        !          8667:   /* SunOS 4.1.1 cc rejects this.  */
        !          8668:   char const *const *pcpcc;
        !          8669:   char **ppc;
        !          8670:   /* NEC SVR4.0.2 mips cc rejects this.  */
        !          8671:   struct point {int x, y;};
        !          8672:   static struct point const zero = {0,0};
        !          8673:   /* AIX XL C 1.02.0.0 rejects this.
        !          8674:      It does not let you subtract one const X* pointer from another in
        !          8675:      an arm of an if-expression whose if-part is not a constant
        !          8676:      expression */
        !          8677:   const char *g = "string";
        !          8678:   pcpcc = &g + (g ? g-g : 0);
        !          8679:   /* HPUX 7.0 cc rejects these. */
        !          8680:   ++pcpcc;
        !          8681:   ppc = (char**) pcpcc;
        !          8682:   pcpcc = (char const *const *) ppc;
        !          8683:   { /* SCO 3.2v4 cc rejects this.  */
        !          8684:     char *t;
        !          8685:     char const *s = 0 ? (char *) 0 : (char const *) 0;
        !          8686: 
        !          8687:     *t++ = 0;
        !          8688:     if (s) return 0;
        !          8689:   }
        !          8690:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
        !          8691:     int x[] = {25, 17};
        !          8692:     const int *foo = &x[0];
        !          8693:     ++foo;
        !          8694:   }
        !          8695:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
        !          8696:     typedef const int *iptr;
        !          8697:     iptr p = 0;
        !          8698:     ++p;
        !          8699:   }
        !          8700:   { /* AIX XL C 1.02.0.0 rejects this saying
        !          8701:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
        !          8702:     struct s { int j; const int *ap[3]; };
        !          8703:     struct s *b; b->j = 5;
        !          8704:   }
        !          8705:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
        !          8706:     const int foo = 10;
        !          8707:     if (!foo) return 0;
        !          8708:   }
        !          8709:   return !cs[0] && !zero.x;
        !          8710: #endif
        !          8711: 
1.14      bertrand 8712:   ;
1.1       bertrand 8713:   return 0;
                   8714: }
                   8715: _ACEOF
1.15    ! bertrand 8716: if ac_fn_c_try_compile "$LINENO"; then :
        !          8717:   ac_cv_c_const=yes
1.14      bertrand 8718: else
1.15    ! bertrand 8719:   ac_cv_c_const=no
1.1       bertrand 8720: fi
1.14      bertrand 8721: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 8722: fi
1.15    ! bertrand 8723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
        !          8724: $as_echo "$ac_cv_c_const" >&6; }
        !          8725: if test $ac_cv_c_const = no; then
1.1       bertrand 8726: 
1.15    ! bertrand 8727: $as_echo "#define const /**/" >>confdefs.h
1.1       bertrand 8728: 
1.15    ! bertrand 8729: fi
1.1       bertrand 8730: 
1.15    ! bertrand 8731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
        !          8732: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
        !          8733: if test "${ac_cv_type_uid_t+set}" = set; then :
        !          8734:   $as_echo_n "(cached) " >&6
1.1       bertrand 8735: else
1.15    ! bertrand 8736:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8737: /* end confdefs.h.  */
1.15    ! bertrand 8738: #include <sys/types.h>
        !          8739: 
1.1       bertrand 8740: _ACEOF
1.15    ! bertrand 8741: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          8742:   $EGREP "uid_t" >/dev/null 2>&1; then :
        !          8743:   ac_cv_type_uid_t=yes
1.1       bertrand 8744: else
1.15    ! bertrand 8745:   ac_cv_type_uid_t=no
        !          8746: fi
        !          8747: rm -f conftest*
1.14      bertrand 8748: 
1.1       bertrand 8749: fi
1.15    ! bertrand 8750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
        !          8751: $as_echo "$ac_cv_type_uid_t" >&6; }
        !          8752: if test $ac_cv_type_uid_t = no; then
1.1       bertrand 8753: 
1.15    ! bertrand 8754: $as_echo "#define uid_t int" >>confdefs.h
1.1       bertrand 8755: 
                   8756: 
1.15    ! bertrand 8757: $as_echo "#define gid_t int" >>confdefs.h
1.1       bertrand 8758: 
                   8759: fi
                   8760: 
1.15    ! bertrand 8761: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
        !          8762: if test "x$ac_cv_type_pid_t" = x""yes; then :
1.1       bertrand 8763: 
                   8764: else
1.15    ! bertrand 8765: 
        !          8766: cat >>confdefs.h <<_ACEOF
        !          8767: #define pid_t int
1.14      bertrand 8768: _ACEOF
                   8769: 
1.15    ! bertrand 8770: fi
1.14      bertrand 8771: 
1.15    ! bertrand 8772: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
        !          8773: if test "x$ac_cv_type_size_t" = x""yes; then :
1.14      bertrand 8774: 
1.15    ! bertrand 8775: else
1.1       bertrand 8776: 
1.15    ! bertrand 8777: cat >>confdefs.h <<_ACEOF
        !          8778: #define size_t unsigned int
1.1       bertrand 8779: _ACEOF
1.14      bertrand 8780: 
1.1       bertrand 8781: fi
                   8782: 
1.15    ! bertrand 8783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
        !          8784: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
        !          8785: if test "${ac_cv_header_time+set}" = set; then :
        !          8786:   $as_echo_n "(cached) " >&6
1.1       bertrand 8787: else
1.15    ! bertrand 8788:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8789: /* end confdefs.h.  */
1.15    ! bertrand 8790: #include <sys/types.h>
        !          8791: #include <sys/time.h>
        !          8792: #include <time.h>
1.1       bertrand 8793: 
1.14      bertrand 8794: int
                   8795: main ()
                   8796: {
1.15    ! bertrand 8797: if ((struct tm *) 0)
        !          8798: return 0;
1.14      bertrand 8799:   ;
                   8800:   return 0;
                   8801: }
1.1       bertrand 8802: _ACEOF
1.15    ! bertrand 8803: if ac_fn_c_try_compile "$LINENO"; then :
        !          8804:   ac_cv_header_time=yes
1.1       bertrand 8805: else
1.15    ! bertrand 8806:   ac_cv_header_time=no
1.1       bertrand 8807: fi
1.15    ! bertrand 8808: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 8809: fi
1.15    ! bertrand 8810: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
        !          8811: $as_echo "$ac_cv_header_time" >&6; }
        !          8812: if test $ac_cv_header_time = yes; then
1.1       bertrand 8813: 
1.15    ! bertrand 8814: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.1       bertrand 8815: 
                   8816: fi
                   8817: 
1.15    ! bertrand 8818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
        !          8819: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
        !          8820: if test "${ac_cv_struct_tm+set}" = set; then :
        !          8821:   $as_echo_n "(cached) " >&6
1.1       bertrand 8822: else
1.15    ! bertrand 8823:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.14      bertrand 8824: /* end confdefs.h.  */
1.15    ! bertrand 8825: #include <sys/types.h>
        !          8826: #include <time.h>
1.1       bertrand 8827: 
                   8828: int
                   8829: main ()
                   8830: {
1.15    ! bertrand 8831: struct tm tm;
        !          8832:                     int *p = &tm.tm_sec;
        !          8833:                     return !p;
1.1       bertrand 8834:   ;
                   8835:   return 0;
                   8836: }
                   8837: _ACEOF
1.15    ! bertrand 8838: if ac_fn_c_try_compile "$LINENO"; then :
        !          8839:   ac_cv_struct_tm=time.h
1.1       bertrand 8840: else
1.15    ! bertrand 8841:   ac_cv_struct_tm=sys/time.h
        !          8842: fi
        !          8843: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8844: fi
        !          8845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
        !          8846: $as_echo "$ac_cv_struct_tm" >&6; }
        !          8847: if test $ac_cv_struct_tm = sys/time.h; then
        !          8848: 
        !          8849: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
1.14      bertrand 8850: 
1.1       bertrand 8851: fi
                   8852: 
                   8853: 
1.15    ! bertrand 8854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
        !          8855: $as_echo_n "checking return type of signal handlers... " >&6; }
        !          8856: if test "${ac_cv_type_signal+set}" = set; then :
        !          8857:   $as_echo_n "(cached) " >&6
1.1       bertrand 8858: else
1.15    ! bertrand 8859:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8860: /* end confdefs.h.  */
1.15    ! bertrand 8861: #include <sys/types.h>
        !          8862: #include <signal.h>
1.1       bertrand 8863: 
                   8864: int
                   8865: main ()
                   8866: {
1.15    ! bertrand 8867: return *(signal (0, 0)) (0) == 1;
1.1       bertrand 8868:   ;
                   8869:   return 0;
                   8870: }
                   8871: _ACEOF
1.15    ! bertrand 8872: if ac_fn_c_try_compile "$LINENO"; then :
        !          8873:   ac_cv_type_signal=int
1.1       bertrand 8874: else
1.15    ! bertrand 8875:   ac_cv_type_signal=void
1.1       bertrand 8876: fi
1.15    ! bertrand 8877: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       bertrand 8878: fi
1.15    ! bertrand 8879: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
        !          8880: $as_echo "$ac_cv_type_signal" >&6; }
1.14      bertrand 8881: 
1.15    ! bertrand 8882: cat >>confdefs.h <<_ACEOF
        !          8883: #define RETSIGTYPE $ac_cv_type_signal
1.14      bertrand 8884: _ACEOF
1.1       bertrand 8885: 
1.15    ! bertrand 8886: 
        !          8887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
        !          8888: $as_echo_n "checking for working strcoll... " >&6; }
        !          8889: if test "${ac_cv_func_strcoll_works+set}" = set; then :
        !          8890:   $as_echo_n "(cached) " >&6
        !          8891: else
        !          8892:   if test "$cross_compiling" = yes; then :
        !          8893:   ac_cv_func_strcoll_works=no
        !          8894: else
        !          8895:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8896: /* end confdefs.h.  */
        !          8897: $ac_includes_default
        !          8898: int
        !          8899: main ()
        !          8900: {
        !          8901: return (strcoll ("abc", "def") >= 0 ||
        !          8902:     strcoll ("ABC", "DEF") >= 0 ||
        !          8903:     strcoll ("123", "456") >= 0)
        !          8904:   ;
        !          8905:   return 0;
        !          8906: }
        !          8907: _ACEOF
        !          8908: if ac_fn_c_try_run "$LINENO"; then :
        !          8909:   ac_cv_func_strcoll_works=yes
        !          8910: else
        !          8911:   ac_cv_func_strcoll_works=no
        !          8912: fi
        !          8913: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          8914:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.14      bertrand 8915: fi
1.1       bertrand 8916: 
                   8917: fi
1.15    ! bertrand 8918: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
        !          8919: $as_echo "$ac_cv_func_strcoll_works" >&6; }
        !          8920: if test $ac_cv_func_strcoll_works = yes; then
1.14      bertrand 8921: 
1.15    ! bertrand 8922: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
1.1       bertrand 8923: 
1.15    ! bertrand 8924: fi
1.1       bertrand 8925: 
1.15    ! bertrand 8926: for ac_func in strftime
        !          8927: do :
        !          8928:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
        !          8929: if test "x$ac_cv_func_strftime" = x""yes; then :
        !          8930:   cat >>confdefs.h <<_ACEOF
        !          8931: #define HAVE_STRFTIME 1
        !          8932: _ACEOF
1.1       bertrand 8933: 
                   8934: else
1.15    ! bertrand 8935:   # strftime is in -lintl on SCO UNIX.
        !          8936: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
        !          8937: $as_echo_n "checking for strftime in -lintl... " >&6; }
        !          8938: if test "${ac_cv_lib_intl_strftime+set}" = set; then :
        !          8939:   $as_echo_n "(cached) " >&6
        !          8940: else
        !          8941:   ac_check_lib_save_LIBS=$LIBS
        !          8942: LIBS="-lintl  $LIBS"
        !          8943: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       bertrand 8944: /* end confdefs.h.  */
                   8945: 
                   8946: /* Override any GCC internal prototype to avoid an error.
                   8947:    Use char because int might match the return type of a GCC
                   8948:    builtin and then its argument prototype would still apply.  */
                   8949: #ifdef __cplusplus
                   8950: extern "C"
                   8951: #endif
1.15    ! bertrand 8952: char strftime ();
1.1       bertrand 8953: int
                   8954: main ()
                   8955: {
1.15    ! bertrand 8956: return strftime ();
1.1       bertrand 8957:   ;
                   8958:   return 0;
                   8959: }
                   8960: _ACEOF
1.15    ! bertrand 8961: if ac_fn_c_try_link "$LINENO"; then :
        !          8962:   ac_cv_lib_intl_strftime=yes
1.1       bertrand 8963: else
1.15    ! bertrand 8964:   ac_cv_lib_intl_strftime=no
        !          8965: fi
        !          8966: rm -f core conftest.err conftest.$ac_objext \
        !          8967:     conftest$ac_exeext conftest.$ac_ext
        !          8968: LIBS=$ac_check_lib_save_LIBS
        !          8969: fi
        !          8970: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
        !          8971: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
        !          8972: if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
        !          8973:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
        !          8974: 
        !          8975: LIBS="-lintl $LIBS"
        !          8976: fi
        !          8977: 
        !          8978: fi
        !          8979: done
        !          8980: 
        !          8981: for ac_func in vprintf
        !          8982: do :
        !          8983:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
        !          8984: if test "x$ac_cv_func_vprintf" = x""yes; then :
        !          8985:   cat >>confdefs.h <<_ACEOF
        !          8986: #define HAVE_VPRINTF 1
        !          8987: _ACEOF
        !          8988: 
        !          8989: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
        !          8990: if test "x$ac_cv_func__doprnt" = x""yes; then :
        !          8991: 
        !          8992: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
1.1       bertrand 8993: 
                   8994: fi
                   8995: 
                   8996: fi
1.15    ! bertrand 8997: done
        !          8998: 
        !          8999: 
        !          9000: for ac_func in ftime getcwd putenv select strcspn strdup \
        !          9001:        strerror strspn strstr strtod
        !          9002: do :
        !          9003:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          9004: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          9005: eval as_val=\$$as_ac_var
        !          9006:    if test "x$as_val" = x""yes; then :
1.1       bertrand 9007:   cat >>confdefs.h <<_ACEOF
1.15    ! bertrand 9008: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       bertrand 9009: _ACEOF
                   9010: 
                   9011: fi
                   9012: done
                   9013: 
                   9014: 
1.15    ! bertrand 9015: 
        !          9016: 
1.1       bertrand 9017: subdirs="$subdirs tools/$NCURSES"
                   9018: 
                   9019: subdirs="$subdirs tools/$READLINE"
                   9020: 
                   9021: subdirs="$subdirs tools/$UNITS"
                   9022: 
                   9023: subdirs="$subdirs tools/$GSL"
                   9024: 
                   9025: subdirs="$subdirs tools/$GPP"
                   9026: 
                   9027: subdirs="$subdirs tools/$FILE"
                   9028: 
                   9029: subdirs="$subdirs tools/$ICONV"
                   9030: 
1.9       bertrand 9031: subdirs="$subdirs tools/$SQLITE"
                   9032: 
1.15    ! bertrand 9033: 
        !          9034: 
        !          9035: # Check whether --with-openssl_arch was given.
        !          9036: if test "${with_openssl_arch+set}" = set; then :
        !          9037:   withval=$with_openssl_arch;
        !          9038: else
        !          9039:   with_openssl_arch=none
        !          9040: fi
        !          9041: 
        !          9042: 
        !          9043: if test "x$with_openssl_arch" = xnone; then
        !          9044:    (cd tools/$OPENSSL && ./config)
        !          9045: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
        !          9046:    (cd tools/$OPENSSL && ./Configure)
        !          9047:    as_fn_error "OS/COMP informations are required!" "$LINENO" 5
        !          9048: elif test "x$with_openssl_arch" = xlist; then
        !          9049:    (cd tools/$OPENSSL && ./Configure)
        !          9050:    as_fn_error "Please specify OS and Architecture" "$LINENO" 5
        !          9051: else
        !          9052:    (cd tools/$OPENSSL && ./Configure $with_openssl_arch)
        !          9053: fi
1.1       bertrand 9054: 
                   9055: if test "$MYGNUPLOT" = "yes"; then
                   9056:    if test ! -d "$srcdir"/tools/$GNUPLOT; then
                   9057:        gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
                   9058:                (cd "$srcdir/tools" && tar -xf -)
                   9059:    fi
                   9060:    subdirs="$subdirs tools/$GNUPLOT"
                   9061: 
                   9062:    GNUPLOT_COMPILATION=$GNUPLOT
                   9063: else
                   9064:    GNUPLOT_COMPILATION=
                   9065: fi
                   9066: 
                   9067: 
                   9068: 
                   9069: case $host_cpu in
                   9070: 
                   9071:     i?86)
                   9072:    CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
                   9073:            -Wno-pointer-sign"
                   9074:    FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   9075:    FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   9076:    break ;;
                   9077: 
                   9078:    x86_64*)
                   9079:    CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \
                   9080:            -Wno-pointer-sign"
                   9081:    FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   9082:    FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"
                   9083:    break ;;
                   9084: 
                   9085:     alpha*)
                   9086:    CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \
                   9087:            -Wno-pointer-sign"
                   9088:    FFLAGS="$FFLAGS -mieee -Wall"
                   9089:    FCFLAGS="$FCFLAGS -mieee -Wall"
                   9090:    break ;;
                   9091: 
                   9092:     sparc*)
                   9093:    CFLAGS="$CFLAGS -Wall -funsigned-char \
                   9094:            -Wno-pointer-sign"
                   9095:    FFLAGS="$FFLAGS -Wall"
                   9096:    FCFLAGS="$FCFLAGS -Wall"
                   9097:    break ;;
                   9098: 
                   9099: esac
                   9100: 
1.8       bertrand 9101: case $host_os in
                   9102: 
                   9103:    cygwin*)
                   9104:        OS=Cygwin
                   9105:    break ;;
                   9106: 
                   9107:    interix*)
                   9108:        OS=Interix
                   9109:    break ;;
                   9110: 
                   9111:    *)
                   9112:        OS=$(uname)
                   9113:    break ;;
                   9114: 
                   9115: esac
                   9116: 
                   9117: 
                   9118: 
1.1       bertrand 9119: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
                   9120: DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
                   9121: 
                   9122: if test $(uname) = "SunOS"; then
                   9123:    LIBMTMALLOC=-lmtmalloc
                   9124: else
                   9125:    LIBMTMALLOC=
                   9126: fi
                   9127: 
                   9128: 
                   9129: 
                   9130: 
                   9131: 
                   9132: 
                   9133: 
                   9134: 
                   9135: 
                   9136: 
                   9137: 
                   9138: 
                   9139: 
                   9140: 
                   9141: 
                   9142: 
                   9143: 
                   9144: 
                   9145: 
                   9146: 
1.9       bertrand 9147: 
                   9148: 
1.1       bertrand 9149: ac_config_files="$ac_config_files Makefile"
                   9150: 
                   9151: ac_config_files="$ac_config_files COPYING"
                   9152: 
                   9153: ac_config_files="$ac_config_files tools/Makefile"
                   9154: 
                   9155: ac_config_files="$ac_config_files src/Makefile"
                   9156: 
                   9157: ac_config_files="$ac_config_files man/Makefile"
                   9158: 
                   9159: ac_config_files="$ac_config_files man/fr_FR/Makefile"
                   9160: 
                   9161: ac_config_files="$ac_config_files doc/Makefile"
                   9162: 
                   9163: ac_config_files="$ac_config_files scripts/Makefile"
                   9164: 
                   9165: ac_config_files="$ac_config_files scripts/mkrplso"
                   9166: 
                   9167: ac_config_files="$ac_config_files scripts/rplcc"
                   9168: 
                   9169: ac_config_files="$ac_config_files scripts/rpllink"
                   9170: 
                   9171: ac_config_files="$ac_config_files rpltags/Makefile"
                   9172: 
                   9173: ac_config_files="$ac_config_files rpliconv/Makefile"
                   9174: 
1.9       bertrand 9175: ac_config_files="$ac_config_files rplsums/Makefile"
                   9176: 
1.1       bertrand 9177: ac_config_files="$ac_config_files lapack/lapack/Makefile"
                   9178: 
                   9179: ac_config_files="$ac_config_files lapack/blas/Makefile"
                   9180: 
                   9181: 
                   9182: ac_config_files="$ac_config_files man/rpl.1"
                   9183: 
                   9184: ac_config_files="$ac_config_files man/rplcc.1"
                   9185: 
                   9186: ac_config_files="$ac_config_files man/rpllink.1"
                   9187: 
                   9188: ac_config_files="$ac_config_files man/rpltags.1"
                   9189: 
                   9190: ac_config_files="$ac_config_files man/mkrplso.1"
                   9191: 
                   9192: ac_config_files="$ac_config_files man/fr_FR/rpl.1"
                   9193: 
                   9194: ac_config_files="$ac_config_files man/fr_FR/rplcc.1"
                   9195: 
                   9196: ac_config_files="$ac_config_files man/fr_FR/rpllink.1"
                   9197: 
                   9198: ac_config_files="$ac_config_files man/fr_FR/rpltags.1"
                   9199: 
                   9200: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
                   9201: 
                   9202: 
                   9203: cat >confcache <<\_ACEOF
                   9204: # This file is a shell script that caches the results of configure
                   9205: # tests run on this system so they can be shared between configure
                   9206: # scripts and configure runs, see configure's option --config-cache.
                   9207: # It is not useful on other systems.  If it contains results you don't
                   9208: # want to keep, you may remove or edit it.
                   9209: #
                   9210: # config.status only pays attention to the cache file if you give it
                   9211: # the --recheck option to rerun configure.
                   9212: #
                   9213: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   9214: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   9215: # following values.
                   9216: 
                   9217: _ACEOF
                   9218: 
                   9219: # The following way of writing the cache mishandles newlines in values,
                   9220: # but we know of no workaround that is simple, portable, and efficient.
                   9221: # So, we kill variables containing newlines.
                   9222: # Ultrix sh set writes to stderr and can't be redirected directly,
                   9223: # and sets the high bit in the cache file unless we assign to the vars.
                   9224: (
                   9225:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   9226:     eval ac_val=\$$ac_var
                   9227:     case $ac_val in #(
                   9228:     *${as_nl}*)
                   9229:       case $ac_var in #(
1.15    ! bertrand 9230:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          9231: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       bertrand 9232:       esac
                   9233:       case $ac_var in #(
                   9234:       _ | IFS | as_nl) ;; #(
1.15    ! bertrand 9235:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          9236:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       bertrand 9237:       esac ;;
                   9238:     esac
                   9239:   done
                   9240: 
                   9241:   (set) 2>&1 |
                   9242:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   9243:     *${as_nl}ac_space=\ *)
1.15    ! bertrand 9244:       # `set' does not quote correctly, so add quotes: double-quote
        !          9245:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1       bertrand 9246:       sed -n \
                   9247:    "s/'/'\\\\''/g;
                   9248:      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   9249:       ;; #(
                   9250:     *)
                   9251:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   9252:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   9253:       ;;
                   9254:     esac |
                   9255:     sort
                   9256: ) |
                   9257:   sed '
                   9258:      /^ac_cv_env_/b end
                   9259:      t clear
                   9260:      :clear
                   9261:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   9262:      t end
                   9263:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   9264:      :end' >>confcache
                   9265: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   9266:   if test -w "$cache_file"; then
                   9267:     test "x$cache_file" != "x/dev/null" &&
1.15    ! bertrand 9268:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
        !          9269: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.1       bertrand 9270:     cat confcache >$cache_file
                   9271:   else
1.15    ! bertrand 9272:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
        !          9273: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       bertrand 9274:   fi
                   9275: fi
                   9276: rm -f confcache
                   9277: 
                   9278: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   9279: # Let make expand exec_prefix.
                   9280: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   9281: 
                   9282: DEFS=-DHAVE_CONFIG_H
                   9283: 
                   9284: ac_libobjs=
                   9285: ac_ltlibobjs=
                   9286: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   9287:   # 1. Remove the extension, and $U if already installed.
                   9288:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.15    ! bertrand 9289:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.1       bertrand 9290:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   9291:   #    will be set to the directory where LIBOBJS objects are built.
1.15    ! bertrand 9292:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
        !          9293:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1       bertrand 9294: done
                   9295: LIBOBJS=$ac_libobjs
                   9296: 
                   9297: LTLIBOBJS=$ac_ltlibobjs
                   9298: 
                   9299: 
1.15    ! bertrand 9300:  if test -n "$EXEEXT"; then
        !          9301:   am__EXEEXT_TRUE=
        !          9302:   am__EXEEXT_FALSE='#'
        !          9303: else
        !          9304:   am__EXEEXT_TRUE='#'
        !          9305:   am__EXEEXT_FALSE=
        !          9306: fi
        !          9307: 
1.1       bertrand 9308: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.15    ! bertrand 9309:   as_fn_error "conditional \"AMDEP\" was never defined.
        !          9310: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9311: fi
                   9312: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.15    ! bertrand 9313:   as_fn_error "conditional \"am__fastdepCC\" was never defined.
        !          9314: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9315: fi
                   9316: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.15    ! bertrand 9317:   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
        !          9318: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       bertrand 9319: fi
                   9320: 
                   9321: : ${CONFIG_STATUS=./config.status}
1.15    ! bertrand 9322: ac_write_fail=0
1.1       bertrand 9323: ac_clean_files_save=$ac_clean_files
                   9324: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.15    ! bertrand 9325: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
        !          9326: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
        !          9327: as_write_fail=0
        !          9328: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1       bertrand 9329: #! $SHELL
                   9330: # Generated by $as_me.
                   9331: # Run this file to recreate the current configuration.
                   9332: # Compiler output produced by configure, useful for debugging
                   9333: # configure, is in config.log if it exists.
                   9334: 
                   9335: debug=false
                   9336: ac_cs_recheck=false
                   9337: ac_cs_silent=false
1.15    ! bertrand 9338: 
1.14      bertrand 9339: SHELL=\${CONFIG_SHELL-$SHELL}
1.15    ! bertrand 9340: export SHELL
        !          9341: _ASEOF
        !          9342: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
        !          9343: ## -------------------- ##
        !          9344: ## M4sh Initialization. ##
        !          9345: ## -------------------- ##
1.1       bertrand 9346: 
                   9347: # Be more Bourne compatible
                   9348: DUALCASE=1; export DUALCASE # for MKS sh
1.15    ! bertrand 9349: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       bertrand 9350:   emulate sh
                   9351:   NULLCMD=:
1.15    ! bertrand 9352:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       bertrand 9353:   # is contrary to our usage.  Disable this feature.
                   9354:   alias -g '${1+"$@"}'='"$@"'
                   9355:   setopt NO_GLOB_SUBST
                   9356: else
1.15    ! bertrand 9357:   case `(set -o) 2>/dev/null` in #(
        !          9358:   *posix*) :
        !          9359:     set -o posix ;; #(
        !          9360:   *) :
        !          9361:      ;;
1.1       bertrand 9362: esac
                   9363: fi
                   9364: 
                   9365: 
1.15    ! bertrand 9366: as_nl='
        !          9367: '
        !          9368: export as_nl
        !          9369: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !          9370: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          9371: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !          9372: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !          9373: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !          9374: # but without wasting forks for bash or zsh.
        !          9375: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !          9376:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          9377:   as_echo='print -r --'
        !          9378:   as_echo_n='print -rn --'
        !          9379: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          9380:   as_echo='printf %s\n'
        !          9381:   as_echo_n='printf %s'
        !          9382: else
        !          9383:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        !          9384:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        !          9385:     as_echo_n='/usr/ucb/echo -n'
        !          9386:   else
        !          9387:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !          9388:     as_echo_n_body='eval
        !          9389:       arg=$1;
        !          9390:       case $arg in #(
        !          9391:       *"$as_nl"*)
        !          9392:    expr "X$arg" : "X\\(.*\\)$as_nl";
        !          9393:    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !          9394:       esac;
        !          9395:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !          9396:     '
        !          9397:     export as_echo_n_body
        !          9398:     as_echo_n='sh -c $as_echo_n_body as_echo'
        !          9399:   fi
        !          9400:   export as_echo_body
        !          9401:   as_echo='sh -c $as_echo_body as_echo'
        !          9402: fi
1.14      bertrand 9403: 
                   9404: # The user is always right.
                   9405: if test "${PATH_SEPARATOR+set}" != set; then
1.15    ! bertrand 9406:   PATH_SEPARATOR=:
        !          9407:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
        !          9408:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
        !          9409:       PATH_SEPARATOR=';'
        !          9410:   }
1.1       bertrand 9411: fi
                   9412: 
                   9413: 
                   9414: # IFS
                   9415: # We need space, tab and new line, in precisely that order.  Quoting is
                   9416: # there to prevent editors from complaining about space-tab.
                   9417: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   9418: # splitting by setting IFS to empty value.)
                   9419: IFS=" ""   $as_nl"
                   9420: 
                   9421: # Find who we are.  Look in the path if we contain no directory separator.
1.15    ! bertrand 9422: case $0 in #((
1.1       bertrand 9423:   *[\\/]* ) as_myself=$0 ;;
                   9424:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9425: for as_dir in $PATH
                   9426: do
                   9427:   IFS=$as_save_IFS
                   9428:   test -z "$as_dir" && as_dir=.
1.15    ! bertrand 9429:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          9430:   done
1.1       bertrand 9431: IFS=$as_save_IFS
                   9432: 
                   9433:      ;;
                   9434: esac
                   9435: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   9436: # in which case we are not to be found in the path.
                   9437: if test "x$as_myself" = x; then
                   9438:   as_myself=$0
                   9439: fi
                   9440: if test ! -f "$as_myself"; then
1.15    ! bertrand 9441:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !          9442:   exit 1
1.1       bertrand 9443: fi
                   9444: 
1.15    ! bertrand 9445: # Unset variables that we do not need and which cause bugs (e.g. in
        !          9446: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !          9447: # suppresses any "Segmentation fault" message there.  '((' could
        !          9448: # trigger a bug in pdksh 5.2.14.
        !          9449: for as_var in BASH_ENV ENV MAIL MAILPATH
        !          9450: do eval test x\${$as_var+set} = xset \
        !          9451:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       bertrand 9452: done
                   9453: PS1='$ '
                   9454: PS2='> '
                   9455: PS4='+ '
                   9456: 
                   9457: # NLS nuisances.
1.15    ! bertrand 9458: LC_ALL=C
        !          9459: export LC_ALL
        !          9460: LANGUAGE=C
        !          9461: export LANGUAGE
        !          9462: 
        !          9463: # CDPATH.
        !          9464: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !          9465: 
        !          9466: 
        !          9467: # as_fn_error ERROR [LINENO LOG_FD]
        !          9468: # ---------------------------------
        !          9469: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !          9470: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !          9471: # script with status $?, using 1 if that was 0.
        !          9472: as_fn_error ()
        !          9473: {
        !          9474:   as_status=$?; test $as_status -eq 0 && as_status=1
        !          9475:   if test "$3"; then
        !          9476:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          9477:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
        !          9478:   fi
        !          9479:   $as_echo "$as_me: error: $1" >&2
        !          9480:   as_fn_exit $as_status
        !          9481: } # as_fn_error
        !          9482: 
        !          9483: 
        !          9484: # as_fn_set_status STATUS
        !          9485: # -----------------------
        !          9486: # Set $? to STATUS, without forking.
        !          9487: as_fn_set_status ()
        !          9488: {
        !          9489:   return $1
        !          9490: } # as_fn_set_status
        !          9491: 
        !          9492: # as_fn_exit STATUS
        !          9493: # -----------------
        !          9494: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !          9495: as_fn_exit ()
        !          9496: {
        !          9497:   set +e
        !          9498:   as_fn_set_status $1
        !          9499:   exit $1
        !          9500: } # as_fn_exit
        !          9501: 
        !          9502: # as_fn_unset VAR
        !          9503: # ---------------
        !          9504: # Portably unset VAR.
        !          9505: as_fn_unset ()
        !          9506: {
        !          9507:   { eval $1=; unset $1;}
        !          9508: }
        !          9509: as_unset=as_fn_unset
        !          9510: # as_fn_append VAR VALUE
        !          9511: # ----------------------
        !          9512: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !          9513: # advantage of any shell optimizations that allow amortized linear growth over
        !          9514: # repeated appends, instead of the typical quadratic growth present in naive
        !          9515: # implementations.
        !          9516: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !          9517:   eval 'as_fn_append ()
        !          9518:   {
        !          9519:     eval $1+=\$2
        !          9520:   }'
        !          9521: else
        !          9522:   as_fn_append ()
        !          9523:   {
        !          9524:     eval $1=\$$1\$2
        !          9525:   }
        !          9526: fi # as_fn_append
        !          9527: 
        !          9528: # as_fn_arith ARG...
        !          9529: # ------------------
        !          9530: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !          9531: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !          9532: # must be portable across $(()) and expr.
        !          9533: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !          9534:   eval 'as_fn_arith ()
        !          9535:   {
        !          9536:     as_val=$(( $* ))
        !          9537:   }'
        !          9538: else
        !          9539:   as_fn_arith ()
        !          9540:   {
        !          9541:     as_val=`expr "$@" || test $? -eq 1`
        !          9542:   }
        !          9543: fi # as_fn_arith
        !          9544: 
1.1       bertrand 9545: 
                   9546: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   9547:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   9548:   as_expr=expr
                   9549: else
                   9550:   as_expr=false
                   9551: fi
                   9552: 
                   9553: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   9554:   as_basename=basename
                   9555: else
                   9556:   as_basename=false
                   9557: fi
                   9558: 
1.15    ! bertrand 9559: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !          9560:   as_dirname=dirname
        !          9561: else
        !          9562:   as_dirname=false
        !          9563: fi
1.1       bertrand 9564: 
                   9565: as_me=`$as_basename -- "$0" ||
                   9566: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   9567:     X"$0" : 'X\(//\)$' \| \
                   9568:     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.15    ! bertrand 9569: $as_echo X/"$0" |
1.1       bertrand 9570:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   9571:        s//\1/
                   9572:        q
                   9573:      }
                   9574:      /^X\/\(\/\/\)$/{
                   9575:        s//\1/
                   9576:        q
                   9577:      }
                   9578:      /^X\/\(\/\).*/{
                   9579:        s//\1/
                   9580:        q
                   9581:      }
1.14      bertrand 9582:      s/.*/./; q'`
                   9583: 
1.15    ! bertrand 9584: # Avoid depending upon Character Ranges.
        !          9585: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !          9586: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !          9587: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !          9588: as_cr_digits='0123456789'
        !          9589: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       bertrand 9590: 
                   9591: ECHO_C= ECHO_N= ECHO_T=
1.15    ! bertrand 9592: case `echo -n x` in #(((((
1.1       bertrand 9593: -n*)
1.15    ! bertrand 9594:   case `echo 'xy\c'` in
1.1       bertrand 9595:   *c*) ECHO_T='    ';; # ECHO_T is single tab character.
1.15    ! bertrand 9596:   xy)  ECHO_C='\c';;
        !          9597:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !          9598:        ECHO_T='    ';;
1.1       bertrand 9599:   esac;;
                   9600: *)
                   9601:   ECHO_N='-n';;
                   9602: esac
                   9603: 
                   9604: rm -f conf$$ conf$$.exe conf$$.file
                   9605: if test -d conf$$.dir; then
                   9606:   rm -f conf$$.dir/conf$$.file
                   9607: else
                   9608:   rm -f conf$$.dir
1.15    ! bertrand 9609:   mkdir conf$$.dir 2>/dev/null
1.1       bertrand 9610: fi
1.15    ! bertrand 9611: if (echo >conf$$.file) 2>/dev/null; then
        !          9612:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !          9613:     as_ln_s='ln -s'
        !          9614:     # ... but there are two gotchas:
        !          9615:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !          9616:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !          9617:     # In both cases, we have to default to `cp -p'.
        !          9618:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
        !          9619:       as_ln_s='cp -p'
        !          9620:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !          9621:     as_ln_s=ln
        !          9622:   else
1.1       bertrand 9623:     as_ln_s='cp -p'
1.15    ! bertrand 9624:   fi
1.1       bertrand 9625: else
                   9626:   as_ln_s='cp -p'
                   9627: fi
                   9628: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   9629: rmdir conf$$.dir 2>/dev/null
                   9630: 
1.15    ! bertrand 9631: 
        !          9632: # as_fn_mkdir_p
        !          9633: # -------------
        !          9634: # Create "$as_dir" as a directory, including parents if necessary.
        !          9635: as_fn_mkdir_p ()
        !          9636: {
        !          9637: 
        !          9638:   case $as_dir in #(
        !          9639:   -*) as_dir=./$as_dir;;
        !          9640:   esac
        !          9641:   test -d "$as_dir" || eval $as_mkdir_p || {
        !          9642:     as_dirs=
        !          9643:     while :; do
        !          9644:       case $as_dir in #(
        !          9645:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !          9646:       *) as_qdir=$as_dir;;
        !          9647:       esac
        !          9648:       as_dirs="'$as_qdir' $as_dirs"
        !          9649:       as_dir=`$as_dirname -- "$as_dir" ||
        !          9650: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          9651:     X"$as_dir" : 'X\(//\)[^/]' \| \
        !          9652:     X"$as_dir" : 'X\(//\)$' \| \
        !          9653:     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !          9654: $as_echo X"$as_dir" |
        !          9655:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          9656:        s//\1/
        !          9657:        q
        !          9658:      }
        !          9659:      /^X\(\/\/\)[^/].*/{
        !          9660:        s//\1/
        !          9661:        q
        !          9662:      }
        !          9663:      /^X\(\/\/\)$/{
        !          9664:        s//\1/
        !          9665:        q
        !          9666:      }
        !          9667:      /^X\(\/\).*/{
        !          9668:        s//\1/
        !          9669:        q
        !          9670:      }
        !          9671:      s/.*/./; q'`
        !          9672:       test -d "$as_dir" && break
        !          9673:     done
        !          9674:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !          9675:   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
        !          9676: 
        !          9677: 
        !          9678: } # as_fn_mkdir_p
1.1       bertrand 9679: if mkdir -p . 2>/dev/null; then
1.15    ! bertrand 9680:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       bertrand 9681: else
                   9682:   test -d ./-p && rmdir ./-p
                   9683:   as_mkdir_p=false
                   9684: fi
                   9685: 
                   9686: if test -x / >/dev/null 2>&1; then
                   9687:   as_test_x='test -x'
                   9688: else
                   9689:   if ls -dL / >/dev/null 2>&1; then
                   9690:     as_ls_L_option=L
                   9691:   else
                   9692:     as_ls_L_option=
                   9693:   fi
                   9694:   as_test_x='
                   9695:     eval sh -c '\''
                   9696:       if test -d "$1"; then
1.15    ! bertrand 9697:    test -d "$1/.";
1.1       bertrand 9698:       else
1.15    ! bertrand 9699:    case $1 in #(
        !          9700:    -*)set "./$1";;
1.1       bertrand 9701:    esac;
1.15    ! bertrand 9702:    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1       bertrand 9703:    ???[sx]*):;;*)false;;esac;fi
                   9704:     '\'' sh
                   9705:   '
                   9706: fi
                   9707: as_executable_p=$as_test_x
                   9708: 
                   9709: # Sed expression to map a string onto a valid CPP name.
                   9710: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   9711: 
                   9712: # Sed expression to map a string onto a valid variable name.
                   9713: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   9714: 
                   9715: 
                   9716: exec 6>&1
1.15    ! bertrand 9717: ## ----------------------------------- ##
        !          9718: ## Main body of $CONFIG_STATUS script. ##
        !          9719: ## ----------------------------------- ##
        !          9720: _ASEOF
        !          9721: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       bertrand 9722: 
1.15    ! bertrand 9723: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          9724: # Save the log message, to keep $0 and so on meaningful, and to
1.1       bertrand 9725: # report actual input values of CONFIG_FILES etc. instead of their
                   9726: # values after options handling.
                   9727: ac_log="
1.10      bertrand 9728: This file was extended by rpl $as_me 4.0.13, which was
1.15    ! bertrand 9729: generated by GNU Autoconf 2.65.  Invocation command line was
1.1       bertrand 9730: 
                   9731:   CONFIG_FILES    = $CONFIG_FILES
                   9732:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   9733:   CONFIG_LINKS    = $CONFIG_LINKS
                   9734:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   9735:   $ $0 $@
                   9736: 
                   9737: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   9738: "
                   9739: 
                   9740: _ACEOF
                   9741: 
1.15    ! bertrand 9742: case $ac_config_files in *"
        !          9743: "*) set x $ac_config_files; shift; ac_config_files=$*;;
        !          9744: esac
        !          9745: 
        !          9746: case $ac_config_headers in *"
        !          9747: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
        !          9748: esac
        !          9749: 
        !          9750: 
        !          9751: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 9752: # Files that config.status was made for.
                   9753: config_files="$ac_config_files"
                   9754: config_headers="$ac_config_headers"
                   9755: config_commands="$ac_config_commands"
                   9756: 
                   9757: _ACEOF
                   9758: 
1.15    ! bertrand 9759: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 9760: ac_cs_usage="\
1.15    ! bertrand 9761: \`$as_me' instantiates files and other configuration actions
        !          9762: from templates according to the current configuration.  Unless the files
        !          9763: and actions are specified as TAGs, all are instantiated by default.
1.1       bertrand 9764: 
1.15    ! bertrand 9765: Usage: $0 [OPTION]... [TAG]...
1.1       bertrand 9766: 
                   9767:   -h, --help       print this help, then exit
                   9768:   -V, --version    print version number and configuration settings, then exit
1.15    ! bertrand 9769:       --config     print configuration, then exit
        !          9770:   -q, --quiet, --silent
        !          9771:                    do not print progress messages
1.1       bertrand 9772:   -d, --debug      don't remove temporary files
                   9773:       --recheck    update $as_me by reconfiguring in the same conditions
1.15    ! bertrand 9774:       --file=FILE[:TEMPLATE]
        !          9775:                    instantiate the configuration file FILE
        !          9776:       --header=FILE[:TEMPLATE]
        !          9777:                    instantiate the configuration header FILE
1.1       bertrand 9778: 
                   9779: Configuration files:
                   9780: $config_files
                   9781: 
                   9782: Configuration headers:
                   9783: $config_headers
                   9784: 
                   9785: Configuration commands:
                   9786: $config_commands
                   9787: 
1.15    ! bertrand 9788: Report bugs to the package provider."
1.1       bertrand 9789: 
                   9790: _ACEOF
1.15    ! bertrand 9791: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          9792: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1       bertrand 9793: ac_cs_version="\\
1.10      bertrand 9794: rpl config.status 4.0.13
1.15    ! bertrand 9795: configured by $0, generated by GNU Autoconf 2.65,
        !          9796:   with options \\"\$ac_cs_config\\"
1.1       bertrand 9797: 
1.15    ! bertrand 9798: Copyright (C) 2009 Free Software Foundation, Inc.
1.1       bertrand 9799: This config.status script is free software; the Free Software Foundation
                   9800: gives unlimited permission to copy, distribute and modify it."
                   9801: 
                   9802: ac_pwd='$ac_pwd'
                   9803: srcdir='$srcdir'
                   9804: INSTALL='$INSTALL'
                   9805: MKDIR_P='$MKDIR_P'
1.15    ! bertrand 9806: AWK='$AWK'
        !          9807: test -n "\$AWK" || AWK=awk
1.1       bertrand 9808: _ACEOF
                   9809: 
1.15    ! bertrand 9810: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          9811: # The default lists apply if the user does not specify any file.
1.1       bertrand 9812: ac_need_defaults=:
                   9813: while test $# != 0
                   9814: do
                   9815:   case $1 in
                   9816:   --*=*)
                   9817:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   9818:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   9819:     ac_shift=:
                   9820:     ;;
                   9821:   *)
                   9822:     ac_option=$1
                   9823:     ac_optarg=$2
                   9824:     ac_shift=shift
                   9825:     ;;
                   9826:   esac
                   9827: 
                   9828:   case $ac_option in
                   9829:   # Handling of the options.
                   9830:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   9831:     ac_cs_recheck=: ;;
                   9832:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.15    ! bertrand 9833:     $as_echo "$ac_cs_version"; exit ;;
        !          9834:   --config | --confi | --conf | --con | --co | --c )
        !          9835:     $as_echo "$ac_cs_config"; exit ;;
1.1       bertrand 9836:   --debug | --debu | --deb | --de | --d | -d )
                   9837:     debug=: ;;
                   9838:   --file | --fil | --fi | --f )
                   9839:     $ac_shift
1.15    ! bertrand 9840:     case $ac_optarg in
        !          9841:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          9842:     esac
        !          9843:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1       bertrand 9844:     ac_need_defaults=false;;
                   9845:   --header | --heade | --head | --hea )
                   9846:     $ac_shift
1.15    ! bertrand 9847:     case $ac_optarg in
        !          9848:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          9849:     esac
        !          9850:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1       bertrand 9851:     ac_need_defaults=false;;
                   9852:   --he | --h)
                   9853:     # Conflict between --help and --header
1.15    ! bertrand 9854:     as_fn_error "ambiguous option: \`$1'
        !          9855: Try \`$0 --help' for more information.";;
1.1       bertrand 9856:   --help | --hel | -h )
1.15    ! bertrand 9857:     $as_echo "$ac_cs_usage"; exit ;;
1.1       bertrand 9858:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   9859:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   9860:     ac_cs_silent=: ;;
                   9861: 
                   9862:   # This is an error.
1.15    ! bertrand 9863:   -*) as_fn_error "unrecognized option: \`$1'
        !          9864: Try \`$0 --help' for more information." ;;
1.1       bertrand 9865: 
1.15    ! bertrand 9866:   *) as_fn_append ac_config_targets " $1"
1.1       bertrand 9867:      ac_need_defaults=false ;;
                   9868: 
                   9869:   esac
                   9870:   shift
                   9871: done
                   9872: 
                   9873: ac_configure_extra_args=
                   9874: 
                   9875: if $ac_cs_silent; then
                   9876:   exec 6>/dev/null
                   9877:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   9878: fi
                   9879: 
                   9880: _ACEOF
1.15    ! bertrand 9881: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 9882: if \$ac_cs_recheck; then
1.15    ! bertrand 9883:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
        !          9884:   shift
        !          9885:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
        !          9886:   CONFIG_SHELL='$SHELL'
1.1       bertrand 9887:   export CONFIG_SHELL
1.15    ! bertrand 9888:   exec "\$@"
1.1       bertrand 9889: fi
                   9890: 
                   9891: _ACEOF
1.15    ! bertrand 9892: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 9893: exec 5>>config.log
                   9894: {
                   9895:   echo
                   9896:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   9897: ## Running $as_me. ##
                   9898: _ASBOX
1.15    ! bertrand 9899:   $as_echo "$ac_log"
1.1       bertrand 9900: } >&5
                   9901: 
                   9902: _ACEOF
1.15    ! bertrand 9903: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 9904: #
                   9905: # INIT-COMMANDS
                   9906: #
                   9907: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   9908: 
                   9909: _ACEOF
                   9910: 
1.15    ! bertrand 9911: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 9912: 
                   9913: # Handling of arguments.
                   9914: for ac_config_target in $ac_config_targets
                   9915: do
                   9916:   case $ac_config_target in
                   9917:     "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;;
                   9918:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   9919:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   9920:     "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;;
                   9921:     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
                   9922:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   9923:     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
                   9924:     "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;;
                   9925:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   9926:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
                   9927:     "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;;
                   9928:     "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;;
                   9929:     "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;;
                   9930:     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
                   9931:     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
1.9       bertrand 9932:     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
1.1       bertrand 9933:     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
                   9934:     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
                   9935:     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
                   9936:     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
                   9937:     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;
                   9938:     "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;;
                   9939:     "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;;
                   9940:     "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;;
                   9941:     "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;;
                   9942:     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
                   9943:     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
                   9944:     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
                   9945: 
1.15    ! bertrand 9946:   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       bertrand 9947:   esac
                   9948: done
                   9949: 
                   9950: 
                   9951: # If the user did not use the arguments to specify the items to instantiate,
                   9952: # then the envvar interface is used.  Set only those that are not.
                   9953: # We use the long form for the default assignment because of an extremely
                   9954: # bizarre bug on SunOS 4.1.3.
                   9955: if $ac_need_defaults; then
                   9956:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   9957:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   9958:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   9959: fi
                   9960: 
                   9961: # Have a temporary directory for convenience.  Make it in the build tree
                   9962: # simply because there is no reason against having it here, and in addition,
                   9963: # creating and moving files from /tmp can sometimes cause problems.
                   9964: # Hook for its removal unless debugging.
                   9965: # Note that there is a small window in which the directory will not be cleaned:
                   9966: # after its creation but before its name has been assigned to `$tmp'.
                   9967: $debug ||
                   9968: {
                   9969:   tmp=
                   9970:   trap 'exit_status=$?
                   9971:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
                   9972: ' 0
1.15    ! bertrand 9973:   trap 'as_fn_exit 1' 1 2 13 15
1.1       bertrand 9974: }
                   9975: # Create a (secure) tmp directory for tmp files.
                   9976: 
                   9977: {
                   9978:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   9979:   test -n "$tmp" && test -d "$tmp"
                   9980: }  ||
                   9981: {
                   9982:   tmp=./conf$$-$RANDOM
                   9983:   (umask 077 && mkdir "$tmp")
1.15    ! bertrand 9984: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
        !          9985: 
        !          9986: # Set up the scripts for CONFIG_FILES section.
        !          9987: # No need to generate them if there are no CONFIG_FILES.
        !          9988: # This happens for instance with `./config.status config.h'.
        !          9989: if test -n "$CONFIG_FILES"; then
1.14      bertrand 9990: 
1.1       bertrand 9991: 
1.15    ! bertrand 9992: ac_cr=`echo X | tr X '\015'`
        !          9993: # On cygwin, bash can eat \r inside `` if the user requested igncr.
        !          9994: # But we know of no other shell where ac_cr would be empty at this
        !          9995: # point, so we can use a bashism as a fallback.
        !          9996: if test "x$ac_cr" = x; then
        !          9997:   eval ac_cr=\$\'\\r\'
        !          9998: fi
        !          9999: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
        !          10000: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
        !          10001:   ac_cs_awk_cr='\r'
        !          10002: else
        !          10003:   ac_cs_awk_cr=$ac_cr
        !          10004: fi
1.1       bertrand 10005: 
1.15    ! bertrand 10006: echo 'BEGIN {' >"$tmp/subs1.awk" &&
1.14      bertrand 10007: _ACEOF
                   10008: 
                   10009: 
1.15    ! bertrand 10010: {
        !          10011:   echo "cat >conf$$subs.awk <<_ACEOF" &&
        !          10012:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
        !          10013:   echo "_ACEOF"
        !          10014: } >conf$$subs.sh ||
        !          10015:   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
        !          10016: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
1.14      bertrand 10017: ac_delim='%!_!# '
                   10018: for ac_last_try in false false false false false :; do
1.15    ! bertrand 10019:   . ./conf$$subs.sh ||
        !          10020:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
1.14      bertrand 10021: 
1.15    ! bertrand 10022:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
        !          10023:   if test $ac_delim_n = $ac_delim_num; then
1.14      bertrand 10024:     break
                   10025:   elif $ac_last_try; then
1.15    ! bertrand 10026:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
1.14      bertrand 10027:   else
                   10028:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   10029:   fi
                   10030: done
1.15    ! bertrand 10031: rm -f conf$$subs.sh
1.1       bertrand 10032: 
1.15    ! bertrand 10033: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          10034: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
        !          10035: _ACEOF
        !          10036: sed -n '
        !          10037: h
        !          10038: s/^/S["/; s/!.*/"]=/
        !          10039: p
        !          10040: g
        !          10041: s/^[^!]*!//
        !          10042: :repl
        !          10043: t repl
        !          10044: s/'"$ac_delim"'$//
        !          10045: t delim
        !          10046: :nl
        !          10047: h
        !          10048: s/\(.\{148\}\)..*/\1/
        !          10049: t more1
        !          10050: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
        !          10051: p
        !          10052: n
        !          10053: b repl
        !          10054: :more1
        !          10055: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          10056: p
        !          10057: g
        !          10058: s/.\{148\}//
        !          10059: t nl
        !          10060: :delim
        !          10061: h
        !          10062: s/\(.\{148\}\)..*/\1/
        !          10063: t more2
        !          10064: s/["\\]/\\&/g; s/^/"/; s/$/"/
        !          10065: p
        !          10066: b
        !          10067: :more2
        !          10068: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          10069: p
        !          10070: g
        !          10071: s/.\{148\}//
        !          10072: t delim
        !          10073: ' <conf$$subs.awk | sed '
        !          10074: /^[^""]/{
        !          10075:   N
        !          10076:   s/\n//
        !          10077: }
        !          10078: ' >>$CONFIG_STATUS || ac_write_fail=1
        !          10079: rm -f conf$$subs.awk
        !          10080: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          10081: _ACAWK
        !          10082: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
        !          10083:   for (key in S) S_is_set[key] = 1
        !          10084:   FS = ""
1.1       bertrand 10085: 
1.15    ! bertrand 10086: }
        !          10087: {
        !          10088:   line = $ 0
        !          10089:   nfields = split(line, field, "@")
        !          10090:   substed = 0
        !          10091:   len = length(field[1])
        !          10092:   for (i = 2; i < nfields; i++) {
        !          10093:     key = field[i]
        !          10094:     keylen = length(key)
        !          10095:     if (S_is_set[key]) {
        !          10096:       value = S[key]
        !          10097:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
        !          10098:       len += length(value) + length(field[++i])
        !          10099:       substed = 1
        !          10100:     } else
        !          10101:       len += 1 + keylen
        !          10102:   }
1.1       bertrand 10103: 
1.15    ! bertrand 10104:   print line
        !          10105: }
1.1       bertrand 10106: 
1.15    ! bertrand 10107: _ACAWK
1.14      bertrand 10108: _ACEOF
1.15    ! bertrand 10109: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          10110: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
        !          10111:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
        !          10112: else
        !          10113:   cat
        !          10114: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
        !          10115:   || as_fn_error "could not setup config files machinery" "$LINENO" 5
1.1       bertrand 10116: _ACEOF
                   10117: 
                   10118: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   10119: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   10120: # trailing colons and then remove the whole line if VPATH becomes empty
                   10121: # (actually we leave an empty line to preserve line numbers).
                   10122: if test "x$srcdir" = x.; then
                   10123:   ac_vpsub='/^[     ]*VPATH[    ]*=/{
                   10124: s/:*\$(srcdir):*/:/
                   10125: s/:*\${srcdir}:*/:/
                   10126: s/:*@srcdir@:*/:/
                   10127: s/^\([^=]*=[    ]*\):*/\1/
                   10128: s/:*$//
                   10129: s/^[^=]*=[  ]*$//
                   10130: }'
                   10131: fi
                   10132: 
1.15    ! bertrand 10133: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10134: fi # test -n "$CONFIG_FILES"
                   10135: 
1.15    ! bertrand 10136: # Set up the scripts for CONFIG_HEADERS section.
        !          10137: # No need to generate them if there are no CONFIG_HEADERS.
        !          10138: # This happens for instance with `./config.status Makefile'.
        !          10139: if test -n "$CONFIG_HEADERS"; then
        !          10140: cat >"$tmp/defines.awk" <<\_ACAWK ||
        !          10141: BEGIN {
        !          10142: _ACEOF
        !          10143: 
        !          10144: # Transform confdefs.h into an awk script `defines.awk', embedded as
        !          10145: # here-document in config.status, that substitutes the proper values into
        !          10146: # config.h.in to produce config.h.
        !          10147: 
        !          10148: # Create a delimiter string that does not exist in confdefs.h, to ease
        !          10149: # handling of long lines.
        !          10150: ac_delim='%!_!# '
        !          10151: for ac_last_try in false false :; do
        !          10152:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
        !          10153:   if test -z "$ac_t"; then
        !          10154:     break
        !          10155:   elif $ac_last_try; then
        !          10156:     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
        !          10157:   else
        !          10158:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
        !          10159:   fi
        !          10160: done
        !          10161: 
        !          10162: # For the awk script, D is an array of macro values keyed by name,
        !          10163: # likewise P contains macro parameters if any.  Preserve backslash
        !          10164: # newline sequences.
        !          10165: 
        !          10166: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
        !          10167: sed -n '
        !          10168: s/.\{148\}/&'"$ac_delim"'/g
        !          10169: t rset
        !          10170: :rset
        !          10171: s/^[    ]*#[    ]*define[   ][  ]*/ /
        !          10172: t def
        !          10173: d
        !          10174: :def
        !          10175: s/\\$//
        !          10176: t bsnl
        !          10177: s/["\\]/\\&/g
        !          10178: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
        !          10179: D["\1"]=" \3"/p
        !          10180: s/^ \('"$ac_word_re"'\)[    ]*\(.*\)/D["\1"]=" \2"/p
        !          10181: d
        !          10182: :bsnl
        !          10183: s/["\\]/\\&/g
        !          10184: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
        !          10185: D["\1"]=" \3\\\\\\n"\\/p
        !          10186: t cont
        !          10187: s/^ \('"$ac_word_re"'\)[    ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
        !          10188: t cont
        !          10189: d
        !          10190: :cont
        !          10191: n
        !          10192: s/.\{148\}/&'"$ac_delim"'/g
        !          10193: t clear
        !          10194: :clear
        !          10195: s/\\$//
        !          10196: t bsnlc
        !          10197: s/["\\]/\\&/g; s/^/"/; s/$/"/p
        !          10198: d
        !          10199: :bsnlc
        !          10200: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
        !          10201: b cont
        !          10202: ' <confdefs.h | sed '
        !          10203: s/'"$ac_delim"'/"\\\
        !          10204: "/g' >>$CONFIG_STATUS || ac_write_fail=1
        !          10205: 
        !          10206: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          10207:   for (key in D) D_is_set[key] = 1
        !          10208:   FS = ""
        !          10209: }
        !          10210: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
        !          10211:   line = \$ 0
        !          10212:   split(line, arg, " ")
        !          10213:   if (arg[1] == "#") {
        !          10214:     defundef = arg[2]
        !          10215:     mac1 = arg[3]
        !          10216:   } else {
        !          10217:     defundef = substr(arg[1], 2)
        !          10218:     mac1 = arg[2]
        !          10219:   }
        !          10220:   split(mac1, mac2, "(") #)
        !          10221:   macro = mac2[1]
        !          10222:   prefix = substr(line, 1, index(line, defundef) - 1)
        !          10223:   if (D_is_set[macro]) {
        !          10224:     # Preserve the white space surrounding the "#".
        !          10225:     print prefix "define", macro P[macro] D[macro]
        !          10226:     next
        !          10227:   } else {
        !          10228:     # Replace #undef with comments.  This is necessary, for example,
        !          10229:     # in the case of _POSIX_SOURCE, which is predefined and required
        !          10230:     # on some systems where configure will not decide to define it.
        !          10231:     if (defundef == "undef") {
        !          10232:       print "/*", prefix defundef, macro, "*/"
        !          10233:       next
        !          10234:     }
        !          10235:   }
        !          10236: }
        !          10237: { print }
        !          10238: _ACAWK
        !          10239: _ACEOF
        !          10240: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          10241:   as_fn_error "could not setup config headers machinery" "$LINENO" 5
        !          10242: fi # test -n "$CONFIG_HEADERS"
        !          10243: 
1.1       bertrand 10244: 
1.15    ! bertrand 10245: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
        !          10246: shift
        !          10247: for ac_tag
1.1       bertrand 10248: do
                   10249:   case $ac_tag in
                   10250:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   10251:   esac
                   10252:   case $ac_mode$ac_tag in
                   10253:   :[FHL]*:*);;
1.15    ! bertrand 10254:   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       bertrand 10255:   :[FH]-) ac_tag=-:-;;
                   10256:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   10257:   esac
                   10258:   ac_save_IFS=$IFS
                   10259:   IFS=:
                   10260:   set x $ac_tag
                   10261:   IFS=$ac_save_IFS
                   10262:   shift
                   10263:   ac_file=$1
                   10264:   shift
                   10265: 
                   10266:   case $ac_mode in
                   10267:   :L) ac_source=$1;;
                   10268:   :[FH])
                   10269:     ac_file_inputs=
                   10270:     for ac_f
                   10271:     do
                   10272:       case $ac_f in
                   10273:       -) ac_f="$tmp/stdin";;
                   10274:       *) # Look for the file first in the build tree, then in the source tree
                   10275:     # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   10276:     # because $ac_f cannot contain `:'.
                   10277:     test -f "$ac_f" ||
                   10278:       case $ac_f in
                   10279:       [\\/$]*) false;;
                   10280:       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   10281:       esac ||
1.15    ! bertrand 10282:       as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       bertrand 10283:       esac
1.15    ! bertrand 10284:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
        !          10285:       as_fn_append ac_file_inputs " '$ac_f'"
1.1       bertrand 10286:     done
                   10287: 
                   10288:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   10289:     # use $as_me), people would be surprised to read:
                   10290:     #    /* config.h.  Generated by config.status.  */
1.15    ! bertrand 10291:     configure_input='Generated from '`
        !          10292:      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
        !          10293:    `' by configure.'
1.1       bertrand 10294:     if test x"$ac_file" != x-; then
                   10295:       configure_input="$ac_file.  $configure_input"
1.15    ! bertrand 10296:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
        !          10297: $as_echo "$as_me: creating $ac_file" >&6;}
1.1       bertrand 10298:     fi
1.15    ! bertrand 10299:     # Neutralize special characters interpreted by sed in replacement strings.
        !          10300:     case $configure_input in #(
        !          10301:     *\&* | *\|* | *\\* )
        !          10302:        ac_sed_conf_input=`$as_echo "$configure_input" |
        !          10303:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
        !          10304:     *) ac_sed_conf_input=$configure_input;;
        !          10305:     esac
1.1       bertrand 10306: 
                   10307:     case $ac_tag in
1.15    ! bertrand 10308:     *:-:* | *:-) cat >"$tmp/stdin" \
        !          10309:       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
1.1       bertrand 10310:     esac
                   10311:     ;;
                   10312:   esac
                   10313: 
                   10314:   ac_dir=`$as_dirname -- "$ac_file" ||
                   10315: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10316:     X"$ac_file" : 'X\(//\)[^/]' \| \
                   10317:     X"$ac_file" : 'X\(//\)$' \| \
                   10318:     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.15    ! bertrand 10319: $as_echo X"$ac_file" |
1.1       bertrand 10320:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10321:        s//\1/
                   10322:        q
                   10323:      }
                   10324:      /^X\(\/\/\)[^/].*/{
                   10325:        s//\1/
                   10326:        q
                   10327:      }
                   10328:      /^X\(\/\/\)$/{
                   10329:        s//\1/
                   10330:        q
                   10331:      }
                   10332:      /^X\(\/\).*/{
                   10333:        s//\1/
                   10334:        q
                   10335:      }
                   10336:      s/.*/./; q'`
1.15    ! bertrand 10337:   as_dir="$ac_dir"; as_fn_mkdir_p
1.1       bertrand 10338:   ac_builddir=.
                   10339: 
                   10340: case "$ac_dir" in
                   10341: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   10342: *)
1.15    ! bertrand 10343:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 10344:   # A ".." for each directory in $ac_dir_suffix.
1.15    ! bertrand 10345:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 10346:   case $ac_top_builddir_sub in
                   10347:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   10348:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   10349:   esac ;;
                   10350: esac
                   10351: ac_abs_top_builddir=$ac_pwd
                   10352: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   10353: # for backward compatibility:
                   10354: ac_top_builddir=$ac_top_build_prefix
                   10355: 
                   10356: case $srcdir in
                   10357:   .)  # We are building in place.
                   10358:     ac_srcdir=.
                   10359:     ac_top_srcdir=$ac_top_builddir_sub
                   10360:     ac_abs_top_srcdir=$ac_pwd ;;
                   10361:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   10362:     ac_srcdir=$srcdir$ac_dir_suffix;
                   10363:     ac_top_srcdir=$srcdir
                   10364:     ac_abs_top_srcdir=$srcdir ;;
                   10365:   *) # Relative name.
                   10366:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   10367:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   10368:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   10369: esac
                   10370: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   10371: 
                   10372: 
                   10373:   case $ac_mode in
                   10374:   :F)
                   10375:   #
                   10376:   # CONFIG_FILE
                   10377:   #
                   10378: 
                   10379:   case $INSTALL in
                   10380:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   10381:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   10382:   esac
                   10383:   ac_MKDIR_P=$MKDIR_P
                   10384:   case $MKDIR_P in
                   10385:   [\\/$]* | ?:[\\/]* ) ;;
                   10386:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   10387:   esac
                   10388: _ACEOF
                   10389: 
1.15    ! bertrand 10390: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10391: # If the template does not know about datarootdir, expand it.
                   10392: # FIXME: This hack should be removed a few years after 2.60.
                   10393: ac_datarootdir_hack=; ac_datarootdir_seen=
1.15    ! bertrand 10394: ac_sed_dataroot='
        !          10395: /datarootdir/ {
1.1       bertrand 10396:   p
                   10397:   q
                   10398: }
                   10399: /@datadir@/p
                   10400: /@docdir@/p
                   10401: /@infodir@/p
                   10402: /@localedir@/p
1.15    ! bertrand 10403: /@mandir@/p'
        !          10404: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.1       bertrand 10405: *datarootdir*) ac_datarootdir_seen=yes;;
                   10406: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.15    ! bertrand 10407:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
        !          10408: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       bertrand 10409: _ACEOF
1.15    ! bertrand 10410: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       bertrand 10411:   ac_datarootdir_hack='
                   10412:   s&@datadir@&$datadir&g
                   10413:   s&@docdir@&$docdir&g
                   10414:   s&@infodir@&$infodir&g
                   10415:   s&@localedir@&$localedir&g
                   10416:   s&@mandir@&$mandir&g
1.15    ! bertrand 10417:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.1       bertrand 10418: esac
                   10419: _ACEOF
                   10420: 
                   10421: # Neutralize VPATH when `$srcdir' = `.'.
                   10422: # Shell code in configure.ac might set extrasub.
                   10423: # FIXME: do we really want to maintain this feature?
1.15    ! bertrand 10424: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          10425: ac_sed_extra="$ac_vpsub
1.1       bertrand 10426: $extrasub
                   10427: _ACEOF
1.15    ! bertrand 10428: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       bertrand 10429: :t
                   10430: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.15    ! bertrand 10431: s|@configure_input@|$ac_sed_conf_input|;t t
1.1       bertrand 10432: s&@top_builddir@&$ac_top_builddir_sub&;t t
1.15    ! bertrand 10433: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.1       bertrand 10434: s&@srcdir@&$ac_srcdir&;t t
                   10435: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   10436: s&@top_srcdir@&$ac_top_srcdir&;t t
                   10437: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   10438: s&@builddir@&$ac_builddir&;t t
                   10439: s&@abs_builddir@&$ac_abs_builddir&;t t
                   10440: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   10441: s&@INSTALL@&$ac_INSTALL&;t t
                   10442: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   10443: $ac_datarootdir_hack
1.15    ! bertrand 10444: "
        !          10445: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
        !          10446:   || as_fn_error "could not create $ac_file" "$LINENO" 5
1.1       bertrand 10447: 
                   10448: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   10449:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
                   10450:   { ac_out=`sed -n '/^[     ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1.15    ! bertrand 10451:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1       bertrand 10452: which seems to be undefined.  Please make sure it is defined." >&5
1.15    ! bertrand 10453: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1       bertrand 10454: which seems to be undefined.  Please make sure it is defined." >&2;}
                   10455: 
                   10456:   rm -f "$tmp/stdin"
                   10457:   case $ac_file in
1.15    ! bertrand 10458:   -) cat "$tmp/out" && rm -f "$tmp/out";;
        !          10459:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
        !          10460:   esac \
        !          10461:   || as_fn_error "could not create $ac_file" "$LINENO" 5
1.1       bertrand 10462:  ;;
                   10463:   :H)
                   10464:   #
                   10465:   # CONFIG_HEADER
                   10466:   #
                   10467:   if test x"$ac_file" != x-; then
1.15    ! bertrand 10468:     {
        !          10469:       $as_echo "/* $configure_input  */" \
        !          10470:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
        !          10471:     } >"$tmp/config.h" \
        !          10472:       || as_fn_error "could not create $ac_file" "$LINENO" 5
        !          10473:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
        !          10474:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
        !          10475: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.1       bertrand 10476:     else
1.15    ! bertrand 10477:       rm -f "$ac_file"
        !          10478:       mv "$tmp/config.h" "$ac_file" \
        !          10479:    || as_fn_error "could not create $ac_file" "$LINENO" 5
1.1       bertrand 10480:     fi
                   10481:   else
1.15    ! bertrand 10482:     $as_echo "/* $configure_input  */" \
        !          10483:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
        !          10484:       || as_fn_error "could not create -" "$LINENO" 5
1.1       bertrand 10485:   fi
1.15    ! bertrand 10486: # Compute "$ac_file"'s index in $config_headers.
        !          10487: _am_arg="$ac_file"
1.1       bertrand 10488: _am_stamp_count=1
                   10489: for _am_header in $config_headers :; do
                   10490:   case $_am_header in
                   10491:     $_am_arg | $_am_arg:* )
                   10492:       break ;;
                   10493:     * )
                   10494:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   10495:   esac
                   10496: done
                   10497: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   10498: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10499:     X"$_am_arg" : 'X\(//\)[^/]' \| \
                   10500:     X"$_am_arg" : 'X\(//\)$' \| \
                   10501:     X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.15    ! bertrand 10502: $as_echo X"$_am_arg" |
1.1       bertrand 10503:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10504:        s//\1/
                   10505:        q
                   10506:      }
                   10507:      /^X\(\/\/\)[^/].*/{
                   10508:        s//\1/
                   10509:        q
                   10510:      }
                   10511:      /^X\(\/\/\)$/{
                   10512:        s//\1/
                   10513:        q
                   10514:      }
                   10515:      /^X\(\/\).*/{
                   10516:        s//\1/
                   10517:        q
                   10518:      }
                   10519:      s/.*/./; q'`/stamp-h$_am_stamp_count
                   10520:  ;;
                   10521: 
1.15    ! bertrand 10522:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
        !          10523: $as_echo "$as_me: executing $ac_file commands" >&6;}
1.1       bertrand 10524:  ;;
                   10525:   esac
                   10526: 
                   10527: 
                   10528:   case $ac_file$ac_mode in
1.15    ! bertrand 10529:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
        !          10530:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
        !          10531:   # are listed without --file.  Let's play safe and only enable the eval
        !          10532:   # if we detect the quoting.
        !          10533:   case $CONFIG_FILES in
        !          10534:   *\'*) eval set x "$CONFIG_FILES" ;;
        !          10535:   *)   set x $CONFIG_FILES ;;
        !          10536:   esac
        !          10537:   shift
        !          10538:   for mf
        !          10539:   do
        !          10540:     # Strip MF so we end up with the name of the file.
        !          10541:     mf=`echo "$mf" | sed -e 's/:.*$//'`
        !          10542:     # Check whether this is an Automake generated Makefile or not.
        !          10543:     # We used to match only the files named `Makefile.in', but
        !          10544:     # some people rename them; so instead we look at the file content.
        !          10545:     # Grep'ing the first line is not enough: some people post-process
        !          10546:     # each Makefile.in and add a new line on top of each file to say so.
        !          10547:     # Grep'ing the whole file is not good either: AIX grep has a line
        !          10548:     # limit of 2048, but all sed's we know have understand at least 4000.
        !          10549:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
        !          10550:       dirpart=`$as_dirname -- "$mf" ||
1.1       bertrand 10551: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10552:     X"$mf" : 'X\(//\)[^/]' \| \
                   10553:     X"$mf" : 'X\(//\)$' \| \
                   10554:     X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.15    ! bertrand 10555: $as_echo X"$mf" |
1.1       bertrand 10556:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10557:        s//\1/
                   10558:        q
                   10559:      }
                   10560:      /^X\(\/\/\)[^/].*/{
                   10561:        s//\1/
                   10562:        q
                   10563:      }
                   10564:      /^X\(\/\/\)$/{
                   10565:        s//\1/
                   10566:        q
                   10567:      }
                   10568:      /^X\(\/\).*/{
                   10569:        s//\1/
                   10570:        q
                   10571:      }
                   10572:      s/.*/./; q'`
1.15    ! bertrand 10573:     else
        !          10574:       continue
        !          10575:     fi
        !          10576:     # Extract the definition of DEPDIR, am__include, and am__quote
        !          10577:     # from the Makefile without running `make'.
        !          10578:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
        !          10579:     test -z "$DEPDIR" && continue
        !          10580:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
        !          10581:     test -z "am__include" && continue
        !          10582:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
        !          10583:     # When using ansi2knr, U may be empty or an underscore; expand it
        !          10584:     U=`sed -n 's/^U = //p' < "$mf"`
        !          10585:     # Find all dependency output files, they are included files with
        !          10586:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
        !          10587:     # simplest approach to changing $(DEPDIR) to its actual value in the
        !          10588:     # expansion.
        !          10589:     for file in `sed -n "
        !          10590:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
        !          10591:     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
        !          10592:       # Make sure the directory exists.
        !          10593:       test -f "$dirpart/$file" && continue
        !          10594:       fdir=`$as_dirname -- "$file" ||
1.1       bertrand 10595: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10596:     X"$file" : 'X\(//\)[^/]' \| \
                   10597:     X"$file" : 'X\(//\)$' \| \
                   10598:     X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.15    ! bertrand 10599: $as_echo X"$file" |
1.1       bertrand 10600:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10601:        s//\1/
                   10602:        q
                   10603:      }
                   10604:      /^X\(\/\/\)[^/].*/{
                   10605:        s//\1/
                   10606:        q
                   10607:      }
                   10608:      /^X\(\/\/\)$/{
                   10609:        s//\1/
                   10610:        q
                   10611:      }
                   10612:      /^X\(\/\).*/{
                   10613:        s//\1/
                   10614:        q
                   10615:      }
                   10616:      s/.*/./; q'`
1.15    ! bertrand 10617:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
        !          10618:       # echo "creating $dirpart/$file"
        !          10619:       echo '# dummy' > "$dirpart/$file"
1.1       bertrand 10620:     done
                   10621:   done
1.15    ! bertrand 10622: }
1.1       bertrand 10623:  ;;
                   10624: 
                   10625:   esac
                   10626: done # for ac_tag
                   10627: 
                   10628: 
1.15    ! bertrand 10629: as_fn_exit 0
1.1       bertrand 10630: _ACEOF
                   10631: ac_clean_files=$ac_clean_files_save
                   10632: 
1.15    ! bertrand 10633: test $ac_write_fail = 0 ||
        !          10634:   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
        !          10635: 
1.1       bertrand 10636: 
                   10637: # configure is writing to config.log, and then calls config.status.
                   10638: # config.status does its own redirection, appending to config.log.
                   10639: # Unfortunately, on DOS this fails, as config.log is still kept open
                   10640: # by configure, so config.status won't be able to write to it; its
                   10641: # output is simply discarded.  So we exec the FD to /dev/null,
                   10642: # effectively closing config.log, so it can be properly (re)opened and
                   10643: # appended to by config.status.  When coming back to configure, we
                   10644: # need to make the FD available again.
                   10645: if test "$no_create" != yes; then
                   10646:   ac_cs_success=:
                   10647:   ac_config_status_args=
                   10648:   test "$silent" = yes &&
                   10649:     ac_config_status_args="$ac_config_status_args --quiet"
                   10650:   exec 5>/dev/null
                   10651:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   10652:   exec 5>>config.log
                   10653:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   10654:   # would make configure fail if this is the last instruction.
1.15    ! bertrand 10655:   $ac_cs_success || as_fn_exit $?
1.1       bertrand 10656: fi
                   10657: 
                   10658: #
                   10659: # CONFIG_SUBDIRS section.
                   10660: #
                   10661: if test "$no_recursion" != yes; then
                   10662: 
1.15    ! bertrand 10663:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
        !          10664:   # so they do not pile up.
1.1       bertrand 10665:   ac_sub_configure_args=
                   10666:   ac_prev=
                   10667:   eval "set x $ac_configure_args"
                   10668:   shift
                   10669:   for ac_arg
                   10670:   do
                   10671:     if test -n "$ac_prev"; then
                   10672:       ac_prev=
                   10673:       continue
                   10674:     fi
                   10675:     case $ac_arg in
                   10676:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   10677:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   10678:       ac_prev=cache_file ;;
                   10679:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   10680:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   10681:     | --c=*)
                   10682:       ;;
                   10683:     --config-cache | -C)
                   10684:       ;;
                   10685:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   10686:       ac_prev=srcdir ;;
                   10687:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   10688:       ;;
                   10689:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   10690:       ac_prev=prefix ;;
                   10691:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   10692:       ;;
1.15    ! bertrand 10693:     --disable-option-checking)
        !          10694:       ;;
1.1       bertrand 10695:     *)
                   10696:       case $ac_arg in
1.15    ! bertrand 10697:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       bertrand 10698:       esac
1.15    ! bertrand 10699:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       bertrand 10700:     esac
                   10701:   done
                   10702: 
                   10703:   # Always prepend --prefix to ensure using the same prefix
                   10704:   # in subdir configurations.
                   10705:   ac_arg="--prefix=$prefix"
                   10706:   case $ac_arg in
1.15    ! bertrand 10707:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       bertrand 10708:   esac
                   10709:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   10710: 
                   10711:   # Pass --silent
                   10712:   if test "$silent" = yes; then
                   10713:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   10714:   fi
                   10715: 
1.15    ! bertrand 10716:   # Always prepend --disable-option-checking to silence warnings, since
        !          10717:   # different subdirs can have different --enable and --with options.
        !          10718:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
        !          10719: 
1.1       bertrand 10720:   ac_popdir=`pwd`
                   10721:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
                   10722: 
                   10723:     # Do not complain, so a configure script can configure whichever
                   10724:     # parts of a large source tree are present.
                   10725:     test -d "$srcdir/$ac_dir" || continue
                   10726: 
                   10727:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
1.15    ! bertrand 10728:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
        !          10729:     $as_echo "$ac_msg" >&6
        !          10730:     as_dir="$ac_dir"; as_fn_mkdir_p
1.1       bertrand 10731:     ac_builddir=.
                   10732: 
                   10733: case "$ac_dir" in
                   10734: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   10735: *)
1.15    ! bertrand 10736:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       bertrand 10737:   # A ".." for each directory in $ac_dir_suffix.
1.15    ! bertrand 10738:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       bertrand 10739:   case $ac_top_builddir_sub in
                   10740:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   10741:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   10742:   esac ;;
                   10743: esac
                   10744: ac_abs_top_builddir=$ac_pwd
                   10745: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   10746: # for backward compatibility:
                   10747: ac_top_builddir=$ac_top_build_prefix
                   10748: 
                   10749: case $srcdir in
                   10750:   .)  # We are building in place.
                   10751:     ac_srcdir=.
                   10752:     ac_top_srcdir=$ac_top_builddir_sub
                   10753:     ac_abs_top_srcdir=$ac_pwd ;;
                   10754:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   10755:     ac_srcdir=$srcdir$ac_dir_suffix;
                   10756:     ac_top_srcdir=$srcdir
                   10757:     ac_abs_top_srcdir=$srcdir ;;
                   10758:   *) # Relative name.
                   10759:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   10760:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   10761:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   10762: esac
                   10763: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   10764: 
                   10765: 
                   10766:     cd "$ac_dir"
                   10767: 
                   10768:     # Check for guested configure; otherwise get Cygnus style configure.
                   10769:     if test -f "$ac_srcdir/configure.gnu"; then
                   10770:       ac_sub_configure=$ac_srcdir/configure.gnu
                   10771:     elif test -f "$ac_srcdir/configure"; then
                   10772:       ac_sub_configure=$ac_srcdir/configure
                   10773:     elif test -f "$ac_srcdir/configure.in"; then
                   10774:       # This should be Cygnus configure.
                   10775:       ac_sub_configure=$ac_aux_dir/configure
                   10776:     else
1.15    ! bertrand 10777:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
        !          10778: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       bertrand 10779:       ac_sub_configure=
                   10780:     fi
                   10781: 
                   10782:     # The recursion is here.
                   10783:     if test -n "$ac_sub_configure"; then
                   10784:       # Make the cache file name correct relative to the subdirectory.
                   10785:       case $cache_file in
                   10786:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
                   10787:       *) # Relative name.
                   10788:    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
                   10789:       esac
                   10790: 
1.15    ! bertrand 10791:       { $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
        !          10792: $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 10793:       # The eval makes quoting arguments work.
                   10794:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   10795:       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
1.15    ! bertrand 10796:    as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       bertrand 10797:     fi
                   10798: 
                   10799:     cd "$ac_popdir"
                   10800:   done
                   10801: fi
1.15    ! bertrand 10802: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
        !          10803:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
        !          10804: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
        !          10805: fi
1.1       bertrand 10806: 

CVSweb interface <joel.bertrand@systella.fr>